SPARC: fix nearbyint on sNaN input
[glibc.git] / ChangeLog
bloba7ca1ff16e9c9a79f7fac2cf67cb6de17ac3d276
1 2016-07-01  Aurelien Jarno  <aurelien@aurel32.net>
3         * sparc/sparc32/sparcv9/fpu/s_nearbyint.S (__nearbyint): Trigger an
4         invalid exception for a sNaN input.
5         * sparc/sparc32/sparcv9/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
6         * sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S
7         (__nearbyint_vis3): Likewise
8         * sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S
9         (__nearbyintf_vis3): Likewise
10         * sparc/sparc64/fpu/s_nearbyint.S (__nearbyint): Likewise.
11         * sparc/sparc64/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
12         * sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S (__nearbyint_vis3):
13         Likewise.
14         * sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S (__nearbyintf_vis3):
15         Likewise.
17 2016-07-01  H.J. Lu  <hongjiu.lu@intel.com>
19         [BZ #20139]
20         * config.h.in (HAVE_AVX512_ASM_SUPPORT): Renamed to ...
21         (HAVE_AVX512DQ_ASM_SUPPORT): This.
22         * sysdeps/x86_64/configure.ac: Require assembler from binutils
23         2.24 or above.
24         (HAVE_AVX512_ASM_SUPPORT): Removed.
25         (HAVE_AVX512DQ_ASM_SUPPORT): New.
26         * sysdeps/x86_64/configure: Regenerated.
27         * sysdeps/x86_64/dl-trampoline.S: Make HAVE_AVX512_ASM_SUPPORT
28         check unconditional.
29         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
30         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
31         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
32         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
33         Likewise.
34         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
35         Likewise.
36         * sysdeps/x86_64/multiarch/memmove.S: Likewise.
37         * sysdeps/x86_64/multiarch/memmove_chk.S: Likewise.
38         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
39         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
40         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S:
41         Likewise.
42         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
43         Likewise.
44         * sysdeps/x86_64/multiarch/memset.S: Likewise.
45         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
46         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Check
47         HAVE_AVX512DQ_ASM_SUPPORT instead of HAVE_AVX512_ASM_SUPPORT.
48         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S:
49         Likewise.
50         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S:
51         Likewise.
52         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S:
53         Likewise.
54         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S:
55         Likewise.
56         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.:
57         Likewise.
58         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S:
59         Likewise.
60         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S:
61         Likewise.
62         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S:
63         Likewise.
64         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S:
65         Likewise.
66         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx51:
67         Likewise.
68         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S:
69         Likewise.
71 2016-07-01  Andrew Senkevich  <andrew.senkevich@intel.com>
73         [BZ #20024]
74         * sysdeps/x86/fpu/test-math-vector-sincos.h: New.
75         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Fixed ABI
76         of this implementation of vector function.
77         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
78         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
79         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
80         Likewise.
81         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
82         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
83         * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: Likewise.
84         * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: Likewise.
85         * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: Likewise.
86         * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: Likewise.
87         * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S: Likewise.
88         * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S: Likewise.
89         * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S: Likewise.
90         * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S: Likewise.
91         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Use another wrapper
92         for testing vector sincos with fixed ABI.
93         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
94         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
95         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
96         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
97         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
98         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
99         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
100         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx.c: New test.
101         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx2.c: Likewise.
102         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx512.c: Likewise.
103         * sysdeps/x86_64/fpu/test-double-libmvec-sincos.c: Likewise.
104         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx.c: Likewise.
105         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx2.c: Likewise.
106         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx512.c: Likewise.
107         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf.c: Likewise.
108         * sysdeps/x86_64/fpu/Makefile: Added new tests.
110 2016-06-30  Aurelien Jarno  <aurelien@aurel32.net>
112         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Add _Qp_cmp.
114 2016-06-30  Anton Blanchard  <anton@samba.org>
116         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
117         [$(subdir) = math] (libm-sysdep_routines): Add s_sinf-power8 and
118         s_sinf-ppc64.
119         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-power8.S: New file.
120         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Likewise.
121         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf.c: Likewise.
122         * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Likewise.
124 2016-06-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
126         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
127         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
128         [$(subdir) = math] (libm-sysdep_routines): Add e_expf-power8 and
129         e_expf-ppc64.
130         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-power8.S: New file.
131         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-ppc64.c: Likewise.
132         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf.c: Likewise.
133         * sysdeps/powerpc/powerpc64/power8/fpu/e_expf.S: Likewise.
135 2016-06-30  John David Anglin  <danglin@gcc.gnu.org>
137         [BZ #20277]
138         * sysdeps/hppa/start.S (_start): Correct loading of global pointer
139         when SHARED is defined.
141 2016-06-30  H.J. Lu  <hongjiu.lu@intel.com>
143         * sysdeps/x86/cpu-features.h (bit_arch_Prefer_ERMS): New.
144         (index_arch_Prefer_ERMS): Likewise.
145         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Return
146         __memcpy_erms for Prefer_ERMS.
147         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
148         (__memmove_erms): Enabled for libc.a.
149         * ysdeps/x86_64/multiarch/memmove.S (__libc_memmove): Return
150         __memmove_erms or Prefer_ERMS.
151         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Return
152         __mempcpy_erms for Prefer_ERMS.
153         * sysdeps/x86_64/multiarch/memset.S (memset): Return
154         __memset_erms for Prefer_ERMS.
156 2016-06-30  Andreas Schwab  <schwab@suse.de>
158         [BZ #20262]
159         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn): Return
160         NSS_STATUS_SUCCESS when done.  Return NSS_STATUS_TRYAGAIN when out
161         of memory.
163 2016-06-29  H.J. Lu  <hongjiu.lu@intel.com>
165         [BZ #18645]
166         * nptl/Makefile (extra-test-objs): Add tst-cleanupx4aux.o.
167         (test-extras): Add tst-cleanupx4aux.
168         (CFLAGS-tst-cleanupx4aux.c): New.  Set to -fexceptions.
169         ($(objpfx)tst-cleanupx4): Replace tst-cleanup4aux.o with
170         tst-cleanupx4aux.o.
171         * nptl/tst-cleanupx4aux.c: New file.
173 2016-06-30  Aurelien Jarno  <aurelien@aurel32.net>
175         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
177 2016-06-29  Andreas Schwab  <schwab@suse.de>
179         [BZ #20260]
180         * sysdeps/x86/bits/string.h (__strncat_g) [!__i686__]: Compute the
181         address before the beginning of the string as an integer to avoid
182         array-bounds warning.
184 2016-06-28  Richard Henderson  <rth@redhat.com>
186         * elf/elf.h (EM_BPF): New.
187         (EM_NUM): Update.
188         (R_BPF_NONE, R_BPF_MAP_FD): New.
190         * elf/elf.h (EM_IAMCU, EM_SPU, EM_PDP10, EM_PDP11, EM_ARC_COMPACT,
191         EM_VIDEOCORE, EM_TMM_GPP, EM_NS32K, EM_TPC, EM_SNP1K, EM_ST200,
192         EM_IP2K, EM_MAX, EM_CR, EM_F2MC16, EM_MSP430, EM_BLACKFIN, EM_SE_C33,
193         EM_SEP, EM_ARCA, EM_UNICORE, EM_EXCESS, EM_DXP, EM_ALTERA_NIOS2,
194         EM_CRX, EM_XGATE, EM_C166, EM_M16C, EM_DSPIC30F, EM_CE, EM_M32C,
195         EM_TSK3000, EM_RS08, EM_SHARC, EM_ECOG2, EM_SCORE7, EM_DSP24,
196         EM_VIDEOCORE3, EM_LATTICEMICO32, EM_SE_C17, EM_TI_C6000, EM_TI_C2000,
197         EM_TI_C5500, EM_TI_ARP32, EM_TI_PRU, EM_MMDSP_PLUS, EM_CYPRESS_M8C,
198         EM_R32C, EM_TRIMEDIA, EM_QDSP6, EM_8051, EM_STXP7X, EM_NDS32,
199         EM_ECOG1X, EM_MAXQ30, EM_XIMO16, EM_MANIK, EM_CRAYNV2, EM_RX,
200         EM_METAG, EM_MCST_ELBRUS, EM_ECOG16, EM_CR16, EM_ETPU, EM_SLE9X,
201         EM_L10M, EM_K10M, EM_AVR32, EM_STM8, EM_TILE64, EM_CUDA,
202         EM_CLOUDSHIELD, EM_COREA_1ST, EM_COREA_2ND, EM_ARC_COMPACT2,
203         EM_OPEN8, EM_RL78, EM_VIDEOCORE5, EM_78KOR, EM_56800EX, EM_BA1,
204         EM_BA2, EM_XCORE, EM_MCHP_PIC, EM_KM32, EM_KMX32, EM_EMX16, EM_EMX8,
205         EM_KVARC, EM_CDP, EM_COGE, EM_COOL, EM_NORC, EM_CSR_KALIMBA, EM_Z80,
206         EM_VISIUM, EM_FT32, EM_MOXIE, EM_AMDGPU, EM_RISCV, EM_BPF): New.
207         (EM_NUM): Update.
209 2016-06-28  Stefan Liebler  <stli@linux.vnet.ibm.com>
211         [BZ #18960]
212         * locale/localeinfo.h (_NL_CURRENT_DEFINE):
213         Set _nl_current_LC_CATEGORY_used to two instead of one.
215 2016-06-27  Aurelien Jarno  <aurelien@aurel32.net>
217         * sysdeps/mips/tst-mode-switch-1.c (main): Converted to ...
218         (do_test): ... this.
219         (TEST_FUNCTION): New macro.
220          Include test-skeleton.c.
221         * sysdeps/mips/tst-mode-switch-2.c (main): Likewise.
222         * sysdeps/mips/tst-mode-switch-3.c (main): Likewise.
224 2016-06-27  Joseph Myers  <joseph@codesourcery.com>
226         [BZ #15479]
227         * sysdeps/i386/fpu/s_trunc.S (__trunc): Save and restore
228         floating-point environment rather than just control word.
229         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
230         * sysdeps/i386/fpu/s_truncl.S (__truncl): Save and restore
231         floating-point environment, with "invalid" exceptions merged in,
232         rather than just control word.
233         * sysdeps/x86_64/fpu/s_truncl.S (__truncl): Likewise.
234         * math/libm-test.inc (trunc_test_data): Do not allow spurious
235         "inexact" exceptions.
237         [BZ #15479]
238         * sysdeps/i386/fpu/s_floor.S (__floor): Save and restore
239         floating-point environment rather than just control word.
240         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
241         * sysdeps/i386/fpu/s_floorl.S (__floorl): Save and restore
242         floating-point environment, with "invalid" exceptions merged in,
243         rather than just control word.
244         * sysdeps/x86_64/fpu/s_floorl.S (__floorl): Likewise.
245         * math/libm-test.inc (floor_test_data): Do not allow spurious
246         "inexact" exceptions.
248         [BZ #15479]
249         * sysdeps/i386/fpu/s_ceil.S (__ceil): Save and restore
250         floating-point environment rather than just control word.
251         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
252         * sysdeps/i386/fpu/s_ceill.S (__ceill): Save and restore
253         floating-point environment, with "invalid" exceptions merged in,
254         rather than just control word.
255         * sysdeps/x86_64/fpu/s_ceill.S (__ceill): Likewise.
256         * math/libm-test.inc (ceil_test_data): Do not allow spurious
257         "inexact" exceptions.
259 2016-06-21  Aurelien Jarno  <aurelien@aurel32.net>
261         * sysdeps/unix/sysv/linux/mips/vfork.S (__vfork): Rename into
262         __libc_vfork.
263         (__vfork) [IS_IN (libc)]: Remove alias.
264         (__libc_vfork) [IS_IN (libc)]: Define as an alias.
265         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
266         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
268 2016-06-24  Torvald Riegel  <triegel@redhat.com>
270         * nscd/cache.c (cache_add): Use new C11-like atomic operation instead
271         of atomic_compare_and_exchange_bool_rel.
272         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
273         * include/atomic.h (atomic_compare_and_exchange_bool_rel,
274         catomic_compare_and_exchange_bool_rel): Remove.
275         * sysdeps/aarch64/atomic-machine.h
276         (atomic_compare_and_exchange_bool_rel): Likewise.
277         * sysdeps/alpha/atomic-machine.h
278         (atomic_compare_and_exchange_bool_rel): Likewise.
279         * sysdeps/arm/atomic-machine.h
280         (atomic_compare_and_exchange_bool_rel): Likewise.
281         * sysdeps/mips/atomic-machine.h
282         (atomic_compare_and_exchange_bool_rel): Likewise.
283         * sysdeps/microblaze/atomic-machine.h
284         ( __arch_compare_and_exchange_bool_8_rel,
285         __arch_compare_and_exchange_bool_16_rel): Likewise.
286         * sysdeps/powerpc/atomic-machine.h
287         ( __arch_compare_and_exchange_bool_8_rel,
288         __arch_compare_and_exchange_bool_16_rel): Likewise.
289         * sysdeps/powerpc/powerpc32/atomic-machine.h
290         ( __arch_compare_and_exchange_bool_32_rel,
291         __arch_compare_and_exchange_bool_64_rel): Likewise.
292         * sysdeps/powerpc/powerpc64/atomic-machine.h
293         ( __arch_compare_and_exchange_bool_32_rel,
294         __arch_compare_and_exchange_bool_64_rel): Likewise.
295         * sysdeps/tile/atomic-machine.h
296         (atomic_compare_and_exchange_bool_rel): Likewise.
298 2016-06-23  Joseph Myers  <joseph@codesourcery.com>
300         [BZ #20296]
301         * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Add arguments
302         when either argument is a NaN.
303         * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
304         * math/libm-test.inc (scalb_test_data): Add sNaN tests.
306         * math/libm-test.inc (snan_value_ld): New macro.
307         (isgreater_test_data): Add sNaN tests.
308         (isgreaterequal_test_data): Likewise.
309         (isless_test_data): Likewise.
310         (islessequal_test_data): Likewise.
311         (islessgreater_test_data): Likewise.
312         (isunordered_test_data): Likewise.
313         (nextafter_test_data): Likewise.
314         (nexttoward_test_data): Likewise.
315         (remainder_test_data): Likewise.
316         (remquo_test_data): Likewise.
317         (significand_test_data): Likewise.
318         * math/gen-libm-test.pl (%beautify): Add snan_value_ld.
320 2016-06-23  Siddhesh Poyarekar  <siddhesh@sourceware.org>
322         * posix/getconf.c: Define ALL_ENVIRONMENTS_DEFINED if all
323         environment macros are defined.
324         (main): Avoid execve if ALL_ENVIRONMENTS_DEFINED is defined.
326 2016-06-23  Florian Weimer  <fweimer@redhat.com>
328         [BZ #20191]
329         Implement vtable verification in libio.
330         * Makerules (shlib.lds): Place __libc_IO_vtables section.
331         * debug/obprintf_chk.c (_IO_obstack_jumps): Define as vtable.
332         * debug/vdprintf_chk.c (__vdprintf_chk): Call
333         _IO_new_file_init_internal instead of _IO_file_init.
334         * debug/vsnprintf_chk.c (_IO_strn_jumps): Define as vtable.
335         * debug/vsprintf_chk.c (_IO_str_chk_jumps): Likewise.
336         * libio/Makefile (routines): Add vtables.
337         * libio/libioP.h (_IO_JUMPS_FUNC): Call IO_validate_vtable.
338         (_IO_init): Remove, not for internal use.
339         (_IO_init_internal): Declare, internal replacement for _IO_init.
340         (_IO_file_init): Remove, not for internal use.
341         (_IO_new_file_init): Remove, not for internal use.
342         (_IO_new_file_init_internal): Declare, internal replacement for
343         _IO_new_file_init.
344         (_IO_old_file_init): Remove, not for internal use.
345         (_IO_old_file_init_internal): Declare, internal replacement for
346         _IO_old_file_init.
347         (_IO_str_init_static, _IO_str_init_readonly): Remove, not for
348         internal use.
349         (__libc_IO_vtables, IO_accept_foreign_vtables, _IO_vtable_check):
350         Declare.
351         (libio_vtable): New macro.
352         (IO_set_accept_foreign_vtables, _IO_validate_vtable): New inline
353         functions.
354         * libio/fileops.c (_IO_new_file_init_internal): Rename from
355         _IO_new_file_init.
356         (_IO_new_file_init): New externally visible wrapper which disables
357         vtable verification.
358         (_IO_file_jumps, _IO_file_jumps_mmap, _IO_file_jumps_maybe_mmap):
359         Define as vtables.
360         * libio/genops.c (_IO_init_internal): Rename from _IO_init.
361         (_IO_init): New externally visible wrapper which disables
362         vtable verification.
363         * libio/iofdopen.c (_IO_new_fdopen): Call
364         _IO_new_file_init_internal instead of _IO_file_init.  Adjust
365         comment.
366         * libio/iofopen.c (__fopen_internal): Call
367         _IO_new_file_init_internal instead of _IO_file_init.
368         * libio/iofopncook.c (_IO_cookie_jumps, _IO_old_cookie_jumps):
369         Define as vtables.
370         (_IO_cookie_init): Call _IO_init_internal instead of _IO_init,
371         _IO_new_file_init_internal instead of _IO_file_init.
372         * libio/iopopen.c (_IO_new_popen): Likewise.
373         (_IO_proc_jumps): Define as vtable.
374         * libio/iovdprintf.c (_IO_vdprintf): Call
375         _IO_new_file_init_internal instead of _IO_file_init.
376         * libio/memstream.c (_IO_mem_jumps): Define as vtable.
377         (__open_memstream): Call _IO_init_internal instead of _IO_init.
378         * libio/obprintf.c (_IO_obstack_jumps): Define as vtable.
379         * libio/oldfileops.c (_IO_old_file_init_internal): Rename from
380         _IO_old_file_init.
381         (_IO_old_file_init): New externally visible wrapper which disables
382         vtable verification.
383         (_IO_old_file_jumps): Define as vtable.
384         * libio/oldiofdopen.c (_IO_old_fdopen): Call
385         _IO_old_file_init_internal instead of _IO_old_file_init.
386         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
387         * libio/oldiopopen.c (_IO_old_popen): Likewise.
388         (_IO_old_proc_jumps): Define as vtable.
389         * libio/strops.c (_IO_str_jumps, _IO_strn_jumps, _IO_wstrn_jumps):
390         Define as vtables.
391         * libio/vtables.c: New file.
392         * libio/wfileops.c (_IO_wfile_jumps, _IO_wfile_jumps_mmap)
393         (_IO_wfile_jumps_maybe_mmap): Define as vtables.
394         * libio/wmemstream.c (_IO_wmem_jumps): Define as vtable.
395         * libio/wstrops.c (_IO_wstr_jumps): Likewise.
396         * stdio-common/vfprintf.c (_IO_helper_jumps): Likewise.
397         * stdlib/strfmon_l.c (__vstrfmon_l): Call _IO_init_internal
398         instead of _IO_init.
400 2016-06-23  Florian Weimer  <fweimer@redhat.com>
402         * test-skeleton.c (xrealloc): Support deallocation with n == 0.
404 2016-06-23  Florian Weimer  <fweimer@redhat.com>
406         * test-skeleton.c (xmalloc, xcalloc, xrealloc): Mark as
407         potentially unused.
409 2016-06-22  Florian Weimer  <fweimer@redhat.com>
411         * test-skeleton.c (write_message): New function.
412         * malloc/tst-mallocfork2.c (write_message): Remove.
413         * debug/tst-longjmp_chk2.c (write_indented): New function.
414         (write_message): Remove.
415         (stackoverflow_handler): Call write_indented.
417 2016-06-22  Joseph Myers  <joseph@codesourcery.com>
419         * sysdeps/i386/fpu/s_nearbyint.S (__nearbyint): Do not mask
420         "inexact" exceptions after fnstenv.
421         * sysdeps/i386/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
422         * sysdeps/i386/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
423         * sysdeps/x86_64/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
425 2015-06-22  Zack Weinberg  <zackw@panix.com>
427         * sysdeps/generic/bits/hwcap.h: Moved to ...
428         * bits/hwcap.h: Here.
430 2016-06-22  Wilco Dijkstra  <wdijkstr@arm.com>
432         * sysdeps/aarch64/memcpy.S (memcpy):
433         Further tuning for performance.
435 2016-06-21  Florian Weimer  <fweimer@redhat.com>
437         [BZ #20284]
438         * malloc/arena.c (reused_arena): Do not return NULL if we start
439         out with a non-corrupted arena.
441 2016-06-21 Adhemerval Zanella  <adhemerval.zanella@linaro.org>
443         * misc/Makefile (tests): Add tst-preadvwritev and tst-preadvwritev64.
444         * misc/tst-preadvwritev.c: New file.
445         * misc/tst-preadvwritev64.c: Likewise.
446         * sysdeps/unix/sysv/linux/preadv.c (preadv): Remove SYSCALL_LL{64}
447         usage.
448         * sysdeps/unix/sysv/linux/preadv64.c (preadv64): Likewise.
449         * sysdeps/unix/sysv/linux/pwritev.c (pwritev): Likewise.
450         * sysdeps/unix/sysv/linux/pwritev64.c (pwritev64): Likewise.
451         * sysdeps/unix/sysv/linux/sysdep.h (LO_HI_LONG): New macro.
453 2016-06-20  Andrew Senkevich  <andrew.senkevich@intel.com>
455         [BZ #19654]
456         * sysdeps/x86_64/fpu/Makefile: Added new tests.
457         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx-main.c: New.
458         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx-mod.c: Likewise.
459         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx.c: Likewise.
460         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2-main.c: Likewise.
461         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2-mod.c: Likewise.
462         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2.c: Likewise.
463         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512-main.c: Likewise.
464         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512-mod.c: Likewise.
465         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512.c: Likewise.
466         * sysdeps/x86_64/fpu/test-double-libmvec-alias-main.c: Likewise.
467         * sysdeps/x86_64/fpu/test-double-libmvec-alias-mod.c: Likewise.
468         * sysdeps/x86_64/fpu/test-double-libmvec-alias.c: Likewise.
469         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx-main.c: Likewise.
470         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx-mod.c: Likewise.
471         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx.c: Likewise.
472         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2-main.c: Likewise.
473         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2-mod.c: Likewise.
474         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2.c: Likewise.
475         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512-main.c: Likewise.
476         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512-mod.c: Likewise.
477         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512.c: Likewise.
478         * sysdeps/x86_64/fpu/test-float-libmvec-alias-main.c: Likewise.
479         * sysdeps/x86_64/fpu/test-float-libmvec-alias-mod.c: Likewise.
480         * sysdeps/x86_64/fpu/test-float-libmvec-alias.c: Likewise.
481         * sysdeps/x86_64/fpu/test-libmvec-alias-mod.c: Likewise.
483 2016-06-20  Wilco Dijkstra  <wdijkstr@arm.com>
485         * sysdeps/aarch64/rawmemchr.S (__rawmemchr): New file.
486         * sysdeps/aarch64/strlen.S (__strlen): Change to __strlen to avoid PLT.
488 2016-06-20  Wilco Dijkstra  <wdijkstr@arm.com>
490         * sysdeps/aarch64/memcpy.S (memcpy):
491         Rewrite of optimized memcpy and memmove.
492         * sysdeps/aarch64/memmove.S (memmove): Remove
493         memmove code (merged into memcpy.S).
495 2016-06-20  Florian Weimer  <fweimer@redhat.com>
497         Consolidate machine-agnostic DTV definitions in <dl-dtv.h>.
498         * sysdeps/generic/dl-dtv.h: New file.
499         * sysdeps/aarch64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
500         * sysdeps/aarch64/nptl/tls.h: Include <dl-dtv.h>.
501         (dtv_t): Remove.
502         * sysdeps/alpha/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
503         * sysdeps/alpha/nptl/tls.h: Include <dl-dtv.h>.
504         (dtv_t): Remove.
505         * sysdeps/arm/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
506         * sysdeps/arm/nptl/tls.h: Include <dl-dtv.h>.
507         (dtv_t): Remove.
508         * sysdeps/hppa/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
509         * sysdeps/hppa/nptl/tls.h: Include <dl-dtv.h>.
510         (dtv_t): Remove.
511         * sysdeps/i386/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
512         * sysdeps/i386/nptl/tls.h: Include <dl-dtv.h>.
513         (dtv_t): Remove.
514         * sysdeps/ia64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
515         * sysdeps/ia64/nptl/tls.h: Include <dl-dtv.h>.
516         (dtv_t): Remove.
517         * sysdeps/m68k/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
518         * sysdeps/m68k/nptl/tls.h: Include <dl-dtv.h>.
519         (dtv_t): Remove.
520         * sysdeps/mach/hurd/i386/tls.h: Include <dl-dtv.h>.
521         (dtv_t): Remove.
522         * sysdeps/microblaze/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
523         * sysdeps/microblaze/nptl/tls.h: Include <dl-dtv.h>.
524         (dtv_t): Remove.
525         * sysdeps/mips/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
526         * sysdeps/mips/nptl/tls.h: Include <dl-dtv.h>.
527         (dtv_t): Remove.
528         * sysdeps/nios2/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
529         * sysdeps/nios2/nptl/tls.h: Include <dl-dtv.h>.
530         (dtv_t): Remove.
531         * sysdeps/powerpc/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
532         * sysdeps/powerpc/nptl/tls.h: Include <dl-dtv.h>.
533         (dtv_t): Remove.
534         * sysdeps/s390/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
535         * sysdeps/s390/nptl/tls.h: Include <dl-dtv.h>.
536         (dtv_t): Remove.
537         * sysdeps/sh/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
538         * sysdeps/sh/nptl/tls.h: Include <dl-dtv.h>.
539         (dtv_t): Remove.
540         * sysdeps/sparc/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
541         * sysdeps/sparc/nptl/tls.h: Include <dl-dtv.h>.
542         (dtv_t): Remove.
543         * sysdeps/x86_64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
544         * sysdeps/x86_64/nptl/tls.h: Include <dl-dtv.h>.
545         (dtv_t): Remove.
547 2016-06-20  Florian Weimer  <fweimer@redhat.com>
549         Revert symbol poisoning of  __malloc_initialize_hook.
550         * include/stdc-predef.h (__malloc_initialize_hook): Remove
551         poisoning.
552         * malloc/Makefile: Remove un-poisoning.
553         * malloc/arena.c (ptmalloc_init): Use __malloc_initialize_hook
554         instead of old__malloc_initialize_hook.
555         * malloc/malloc-hooks.h: Likewise.
556         * malloc/malloc.c: Likewise.
557         * malloc/mcheck-init.c: Likewise.
559 2016-06-19  Carlos O'Donell  <carlos@redhat.com>
561         * sysdeps/unix/sysv/linux/times.c (__times): Expand comments.
563 2016-06-18  Aurelien Jarno  <aurelien@aurel32.net>
565         * sysdeps/unix/sysv/linux/mips/vfork.S (__vfork): Conditionalize
566         hidden_def, weak_alias and strong_alias on [IS_IN (libc)].
567         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
568         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
570 2016-06-16  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
572         * NEWS: Mention addition of nextup and nextdown.
573         * manual/arith.texi: Document nextup and nextdown.
574         * manual/libm-err-tab.pl: Add nextup and nextdown.
575         * math/Makefile (libm-calls): Add s_nextdown and s_nextup.
576         * math/Versions (libm): Add GLIBC_2.24.
577         * math/bits/mathcalls.h: Add nextup and nextdown declaration.
578         * math/libm-test.inc (nextafter_test_data) [TEST_COND_intel96]:
579         Add new test.
580         (nextafter_test_data) [TEST_COND_binary32]: Likewise.
581         (nextafter_test_data) [TEST_COND_m68k96]: Likewise.
582         (nextafter_test_data) [TEST_COND_binary64]: Likewise.
583         (nextafter_test_data) [TEST_COND_binary128]: Likewise.
584         (nextup_test_data): Likewise.
585         (nextdown_test_data): Likewise.
586         * math/s_nextdown.c: New file.
587         * math/s_nextdownf.c: Likewise.
588         * math/s_nextdownl.c: Likewise.
589         * math/test-tgmath.c F(compile_test)): Add nextup and nextdown tests.
590         F(nextup): New function.
591         F(nextdown): Likewise.
592         * math/tgmath.h: Add nextup and nextdown.
593         * sysdeps/ieee754/flt-32/s_nextupf.c: New file.
594         * sysdeps/ieee754/dbl-64/s_nextup.c: Likewise.
595         * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
596         * sysdeps/ieee754/ldbl-128ibm/s_nextupl.c: Likewise.
597         * sysdeps/ieee754/ldbl-96/s_nextupl.c: Likewise.
598         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls):
599         Add nextup and nextdown.
600         (CFLAGS-nldbl-nextup.c): New variable.
601         (CFLAGS-nldbl-nextdown.c): Likewise.
602         * sysdeps/ieee754/ldbl-opt/nldbl-nextdown.c: New file.
603         * sysdeps/ieee754/ldbl-opt/nldbl-nextup.c: Likewise.
604         * sysdeps/nacl/libm.abilist: Update.
605         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
606         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
607         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
608         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
609         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
610         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
611         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
612         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
613         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
614         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
615         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
616         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
617         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
618         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
619         Likewise.
620         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
621         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
622         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
623         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
624         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
625         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
626         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
627         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: Likewise.
628         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: Likewise.
629         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
630         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
631         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: Likewise.
632         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
634 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
636         * manual/pattern.texi: Fix typos & grammar errors.
638 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
640         * manual/search.texi: Fix typos & grammar errors.
642 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
644         * manual/message.texi: Fix typos & grammar errors.
646 2016-06-16  Mike Frysinger  <vapier@gentoo.org>
648         * manual/contrib.texi: Fix spelling typos.
649         * manual/crypt.texi: Likewise.
650         * manual/filesys.texi: Likewise.
651         * manual/locale.texi: Likewise.
652         * manual/message.texi: Likewise.
653         * manual/nss.texi: Likewise.
654         * manual/string.texi: Likewise.
656 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
658         * manual/locale.texi: Fix typos & grammar errors.
660 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
662         * manual/charset.texi: Fix typos & grammar errors.
664 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
666         * manual/string.texi: Fix typos.
668 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
670         * manual/ctype.texi: Fix typos.
672 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
674         * manual/memory.texi: Fix various typos & grammar errors.
676 2016-06-14  Joseph Myers  <joseph@codesourcery.com>
678         [BZ #20255]
679         * sysdeps/i386/fpu/s_fdim.c: New file.  Based on math/s_fdim.c.
680         * math/libm-test.inc (fdim_test_data): Add another test.
682         [BZ #6796]
683         [BZ #20255]
684         [BZ #20256]
685         * math/s_fdim.c: Include <math_private.h>.
686         (__fdim): Use math_narrow_eval on result.
687         * math/s_fdimf.c: Include <math_private.h>.
688         (__fdimf): Use math_narrow_eval on result.
689         * sysdeps/i386/fpu/s_fdim.S: Remove file.
690         * sysdeps/i386/fpu/s_fdimf.S: Likewise.
691         * sysdeps/i386/fpu/s_fdiml.S: Likewise.
692         * sysdeps/i386/i686/fpu/s_fdim.S: Likewise.
693         * sysdeps/i386/i686/fpu/s_fdimf.S: Likewise.
694         * sysdeps/i386/i686/fpu/s_fdiml.S: Likewise.
695         * sysdeps/powerpc/fpu/s_fdim.c: Likewise.
696         * sysdeps/powerpc/fpu/s_fdimf.c: Likewise.
697         * sysdeps/powerpc/powerpc32/fpu/s_fdim.c: Likewise.
698         * sysdeps/powerpc/powerpc64/fpu/s_fdim.c: Likewise.
699         * sysdeps/x86_64/fpu/s_fdiml.S: Likewise.
700         * math/libm-test.inc (fdim_test_data): Expect errno setting on
701         overflow.  Add sNaN tests.
703         * math/s_fdim.c (__fdim): Use islessequal and isinf instead of
704         fpclassify.
705         * math/s_fdimf.c (__fdimf): Likewise.
706         * math/s_fdiml.c (__fdiml): Likewise.
708 2016-06-14  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
710         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
711         (sysdep_routines): Add P8 and PPC64 strcasecmp/strncasecmp targets.
712         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
713         (__libc_ifunc_impl_list): Add entries for P8 and PPC64
714         ifunc'ed strcasecmp/strncasecmp.
715         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S:
716         [EALIGN]: Removed.
717         [END]: Likewise.
718         [__strcasecmp]: Define instead of the above to control symbol name.
719         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Add IFUNC selector
720         for __strcasecmp_power8.
721         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Add IFUNC selector
722         for __strncasecmp_power8.
723         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power8.S: New File.
724         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-ppc64.c: Likewise.
725         * sysdeps/powerpc/powerpc64/multiarch/strncase-power8.S: Likewise.
726         * sysdeps/powerpc/powerpc64/multiarch/strncase-ppc64.c: Likewise.
727         * sysdeps/powerpc/powerpc64/power8/strcasecmp.S: Likewise.
728         * sysdeps/powerpc/powerpc64/power8/strncase.S: Likewise.
730 2016-06-13  Joseph Myers  <joseph@codesourcery.com>
732         [BZ #20252]
733         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Add both
734         arguments when second argument is a NaN.
735         * math/libm-test.inc (atan2_test_data): Add sNaN tests and more
736         qNaN tests.
738         * math/libm-test.inc (cimag_test_data): Add sNaN tests.
739         (conj_test_data): Likewise.
740         (copysign_test_data): Likewise.
741         (creal_test_data): Likewise.
742         (fma_test_data): Likewise.
743         (fmod_test_data): Likewise.
745         [BZ #20250]
746         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Add non-finite input to
747         itself.
748         * sysdeps/ieee754/dbl-64/s_frexp.c (__frexp): Add non-finite or
749         zero input to itself.
750         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp):
751         Likewise.
752         * sysdeps/ieee754/flt-32/s_frexpf.c (__frexpf): Likewise.
753         * sysdeps/ieee754/ldbl-128/s_frexpl.c (__frexpl): Likewise.
754         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
755         * sysdeps/ieee754/ldbl-96/s_frexpl.c (__frexpl): Likewise.
756         * math/libm-test.inc (frexp_test_data): Add sNaN tests.
758 2016-06-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
760         * nptl/Makefile (test): Add tst-cancel4_1 and tst-cancel4_2.
761         * nptl/tst-cancel4-common.c: New file.
762         * nptl/tst-cancel4-common.h: Likewise.
763         * nptl/tst-cancel4.c: Move common definitions to
764         tst-cancel4-common.{c,h} file.
765         * nptl/tst-cancel4_1.c: New test.
766         * nptl/tst-cancel4_2.c: New test.
768 2016-06-13  Florian Weimer  <fweimer@redhat.com>
770         [BZ #20248]
771         * debug/tst-longjmp_chk2.c (pass): Use volatile sig_atomic_t.
772         (write_message): New function.
773         (stackoverflow_handler): Call it instead of printf, to avoid
774         excessive stack usage by printf.
775         (do_test): Restore SIGSEGV, SIGBUS default handlers.
777 2016-06-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
779         * nptl/pthread_mutex_init.c [__ASSUME_FUTEX_LOCK_PI]
780         (prio_inherit_missing): Remove define.
781         * sysdeps/unix/sysv/linux/arm/kernel-features.h
782         (__ASSUME_FUTEX_LOCK_PI): Likewise.
783         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FUTEX_LOCK_PI):
784         Likewise.
785         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
786         (__ASSUME_FUTEX_LOCK_PI): Likewise.
787         * sysdeps/unix/sysv/linux/mips/kernel-features.h
788         (__ASSUME_FUTEX_LOCK_PI): Likewise.
789         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
790         (__ASSUME_FUTEX_LOCK_PI): Likewise.
792 2016-06-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
794         [BZ #19670]
795         [BZ #19672]
797         * io/test-lfs.c (do_prepare): Use xmalloc.
798         * io/tst-fcntl.c (do_prepare): Likewise.
799         * libio/tst-fopenloc.c (do_bz17916): Likewise.
800         * libio/tst-mmap2-eofsync.c (do_prepare): Likewise.
801         * login/tst-utmp.c (do_prepare): Likewise.
802         * posix/tst-exec.c (do_prepare): Likewise.
803         * posix/tst-pathconf.c (prepare): Likewise.
804         * posix/tst-spawn.c (do_prepare): Likewise.
805         * posix/tst-truncate.c (do_prepare): Likewise.
806         * rt/tst-aio.c (do_prepare): Likewise.
807         * rt/tst-aio64.c (do_prepare): Likewise.
809 2016-06-11  Florian Weimer  <fweimer@redhat.com>
811         [BZ #20237]
812         * nss/nss_db/db-XXX.c (set*ent): Reset entidx to NULL.
813         (get*ent): Set entidx to NULL during initialization.  If entidx is
814         NULL, start iteration from the beginning.
816 2016-06-11  Florian Weimer  <fweimer@redhat.com>
818         * malloc/malloc.c (musable): Return correct size for dumped fake
819         mmapped chunk.
821 2016-06-11  Florian Weimer  <fweimer@redhat.com>
823         [BZ #20222]
824         * libio/iofopncook.c (_IO_cookie_read): Demangle callback pointer.
825         (_IO_cookie_write): Likewise.
826         (_IO_cookie_seek): Likewise.
827         (_IO_cookie_close): Likewise.
828         (_IO_old_cookie_seek): Likewise.
829         (set_callbacks): New function.
830         (_IO_cookie_init): Call set_callbacks to copy callbacks.
832 2016-06-11  Marko Myllynen  <myllynen@redhat.com>
834         * locale/programs/localedef.c (oldstyle_tables): Remove.
835         * locale/programs/localedef.h (oldstyle_tables): Likewise.
837 2016-06-10  Joseph Myers  <joseph@codesourcery.com>
839         [BZ #20240]
840         * math/Makefile (CFLAGS-s_modf.c): New variable.
841         (CFLAGS-s_modff.c): Likewise.
842         (CFLAGS-s_modfl.c): Likewise.
843         * math/libm-test.inc (modf_test_data): Add sNaN tests.
845 2016-06-09  Carlos O'Donell  <carlos@redhat.com>
847         [BZ #20215]
848         * misc/sys/cdefs.h [__GNUC_PREREQ (3,2)]: Undef __always_inline first.
849         [!__GNUC_PREREQ (3,2)]: Likewise.
851 2016-06-10  Adhemerval Zanela  <adhemerval.zanella@linaro.org>
853         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Add xfail-.
854         (msghdr.msg_controllen): Likewise.
855         (cmsghdr.cmsg_len): Likewise.
856         * nptl/Makefile (libpthread-routines): Remove ptw-oldrecvmsg and
857         ptw-oldsendmsg.
858         (CFLAGS-oldrecvmsg.c): Remove rule.
859         (CFLAGS-oldsendmsg.c): Likewise.
860         (CFLAGS-recvmsg.c): Add rule.
861         (CFLAGS-sendmsg.c): Likewise.
862         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove
863         oldrecvmsg, oldsendmsg, oldrecvmmsg, oldsendmmsg.
864         (CFLAGS-recvmsg.c): Remove rule.
865         (CFLAGS-sendmsg.c): Likewise.
866         (CFLAGS-oldrecvmsg.c): Likewise.
867         (CFLAGS-oldsendmsg.c): Likewise.
868         (CFLAGS-recvmmsg.c): Likewise.
869         * sysdeps/unix/sysv/linux/bits/socket.h (msghdr.msg_iovlen): Revert
870         to kernel defined interfaces.
871         (msghdr.msg_controllen): Likewise.
872         (cmsghdr.cmsg_len): Likewise.
873         (msghdr.__glibc_reserved1): Remove member.
874         (msghdr.__glibc_reserved2): Likewise.
875         (cmsghdr.__glibc_reserved1): Likewise.
876         * sysdeps/unix/sysv/linux/oldrecvmmsg.c: Remove file.
877         * sysdeps/unix/sysv/linux/oldrecvmsg.c: Likewise.
878         * sysdeps/unix/sysv/linux/oldsendmmsg.c: Likewise.
879         * sysdeps/unix/sysv/linux/oldsendmsg.c: Likewise.
880         * sysdeps/unix/sysv/linux/recvmmsg.c: Revert back to previous
881         version.
882         * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
883         * sysdeps/unix/sysv/linux/sendmmsg.c: Likewise.
884         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
885         * sysdeps/unix/sysv/linux/aarch64/Versions [libc] (GLIBC_2.24):
886         Remove recvmsg and sendmsg.
887         * sysdeps/unix/sysv/linux/alpha/Versions [libc] (GLIBC_2.24):
888         Likewise.
889         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24):
890         Likewise.
891         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24): Likewise.
892         * sysdeps/unix/sysv/linux/m68k/Versions [libc] (GLIBC_2.24): Likewise.
893         * sysdeps/unix/sysv/linux/microblaze/Versions [libc] (GLIBC_2.24):
894         Likewise.
895         * sysdeps/unix/sysv/linux/mips/mips32/Versions [libc] (GLIBC_2.24):
896         Likewise.
897         * sysdeps/unix/sysv/linux/mips/mips64/n32/Versions
898         [libc] (GLIBC_2.24): Likewise.
899         * sysdeps/unix/sysv/linux/nios2/Versions [libc] (GLIBC_2.24):
900         Likewise.
901         * sysdeps/unix/sysv/linux/powerpc/Versions [libc] (GLIBC_2.24):
902         Likewise.
903         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
904         [libc] (GLIBC_2.24): Likewise.
905         * sysdeps/unix/sysv/linux/s390/s390-32/Versions [libc] (GLIBC_2.24):
906         Likewise.
907         * sysdeps/unix/sysv/linux/s390/s390-64/Versions [libc] (GLIBC_2.24):
908         Likewise.
909         * sysdeps/unix/sysv/linux/sh/Versions [libc] (GLIBC_2.24): Likewise.
910         * sysdeps/unix/sysv/linux/sparc/Versions [libc] (GLIBC_2.24):
911         Likewise.
912         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions [libc] (GLIBC_2.24):
913         Likewise.
914         * sysdeps/unix/sysv/linux/tile/Versions [libc] (GLIBC_2.24):
915         Likewise.
916         * sysdeps/unix/sysv/linux/x86_64/Versions [libc] (GLIBC_2.24):
917         Likewise.
918         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/Versions: Remove file
919         * sysdeps/unix/sysv/linux/x86_64/64/Versions: Likewise.
920         * sysdeps/unix/sysv/linux/mips/mips64/n64/Versions: Likewise.
921         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Remove new 2.24
922         version for {recv,send,recm,sendm}msg.
923         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
924         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
925         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
926         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
927         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
928         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
929         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
930         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
931         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
932         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
933         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
934         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
935         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
936         Likewise.
937         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
938         Likewise.
939         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
940         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
941         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
942         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
943         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
944         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
945         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
946         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
947         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
948         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
949         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
950         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
951         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
953 2016-06-10  Florian Weimer  <fweimer@redhat.com>
955         [BZ #19564]
956         Remove __malloc_initialize_hook from the API.
957         * malloc/malloc.h (__malloc_initialize_hook): Remove.
958         * include/stdc-predef.h (__malloc_initialize_hook): Poison with
959         #pragma GCC poison.
960         * malloc/malloc-hooks.h: New file.
961         * malloc/arena.c (ptmalloc_init): Use old__malloc_initialize_hook.
962         * malloc/malloc.c (HAVE_MALLOC_INIT_HOOK): New.
963         (old__malloc_initialize_hook): Rename from
964         __malloc_initialize_hook to evade poisoning.  Turn into compat
965         symbol.
966         * malloc/mcheck-init.c (old__malloc_initialize_hook): Rename from
967         __malloc_initialize_hook.
968         * malloc/Makefile (poisoned_apis, unpoisoned_api_defines): New.
969         (mallo.c, mcheck-init.c): Compile with unpoisoned symbol.
970         * manual/memory.texi (Hooks for Malloc): Remove
971         __malloc_initialize_hook.  Adjust hook example.
973 2016-06-09  Joseph Myers  <joseph@codesourcery.com>
975         [BZ #20235]
976         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Add NaN input to
977         itself.
978         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Likewise.
979         * math/libm-test.inc (log2_test_data): Add sNaN tests.
981         [BZ #20234]
982         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Add positive
983         infinity or NaN input to itself.
985         [BZ #20233]
986         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Add NaN input
987         to itself.
989         [BZ #20232]
990         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Add NaN input to
991         itself.
993 2016-06-09  H.J. Lu  <hongjiu.lu@intel.com>
995         * sysdeps/x86_64/start.S (_start): Always indirect branch to
996         __libc_start_main via GOT.
998 2016-06-09  H.J. Lu  <hongjiu.lu@intel.com>
1000         * sysdeps/x86_64/memcopy.h: New file.
1001         * sysdeps/x86_64/wordcopy.c: Likewise.
1003 2016-06-09  Florian Weimer  <fweimer@redhat.com>
1005         Prevent GCC 6 <cstdlib> from including /usr/include/stdlib.h.
1006         * stdlib/tst-quick_exit.cc: Include <stdlib.h> instead of
1007         <cstdlib>.
1008         (optimization_barrier): New.
1009         (do_test): Use it.  Call quick_exit in the global namespace.
1010         * stdlib/tst-thread-quick_exit.cc: Include <stdlib.h>, <pthread.h>
1011         instead of <cstdlib>, <thread>.
1012         (optimization_barrier): New.
1013         (non_main_thread): Adjust declaration.  Call optimization_barrier.
1014         Call quick_exit in the global namespace.
1015         (do_test): Call optimization_barrier.  Use pthread_create,
1016         pthread_join instead of std::thread.
1018 2016-06-09  Andreas Schwab  <schwab@suse.de>
1020         [BZ #19755]
1021         * nscd/pwdcache.c (cache_addpw): Lock prune_run_lock while adding
1022         new entries in auto-propagate mode.
1023         * nscd/grpcache.c (cache_addgr): Likewise.
1025 2016-06-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
1027         * test-skeleton.c (oom_error, xmalloc, xcalloc, xrealloc):
1028         New functions.
1029         (add_temp_file): Use them.
1031 2016-06-09  Samuel Thibault  <samuel.thibault@ens-lyon.org
1033         * mach/mach/mach_traps.h (mach_print): Add syscall declaration.
1035 2016-06-08  Joseph Myers  <joseph@codesourcery.com>
1037         [BZ #20229]
1038         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Add NaN input to itself.
1039         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Likewise.
1040         * math/libm-test.inc (log1p_test_data): Add sNaN tests.
1042         [BZ #20228]
1043         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Add NaN input to
1044         itself.
1045         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Likewise.
1046         * math/libm-test.inc (log10_test_data): Add sNaN tests.
1048         [BZ #20227]
1049         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Add NaN input to
1050         itself.
1051         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
1052         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
1053         * math/libm-test.inc (log_test_data): Add sNaN tests.
1055         [BZ #20226]
1056         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Add NaN argument to
1057         itself.
1058         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
1059         * math/libm-test.inc (exp_test_data): Add sNaN tests.
1060         (exp10_test_data): Likewise.
1061         (expm1_test_data): Likewise.
1063         [BZ #20225]
1064         * math/s_ldexp.c (__ldexp): Add non-finite or zero argument to
1065         itself.
1066         * math/s_ldexpf.c (__ldexpf): Likewise.
1067         * math/s_ldexpl.c (__ldexpl): Likewise.
1068         * math/w_scalbln.c (__w_scalbln): Likewise.
1069         * math/w_scalblnf.c (__w_scalblnf): Likewise.
1070         * math/w_scalblnl.c (__w_scalblnl): Likewise.
1071         * math/libm-test.inc (scalbn_test_data): Add sNaN tests.
1072         (scalbln_test_data): Likewise.
1074         [BZ #20224]
1075         * sysdeps/i386/fpu/s_cbrtl.S (__cbrtl): Add non-finite or zero
1076         argument to itself.
1077         * math/libm-test.inc (cbrt_test_data): Add sNaN tests.
1079 2016-06-08  H.J. Lu  <hongjiu.lu@intel.com>
1081         [BZ #19776]
1082         * sysdeps/x86_64/memcpy.S: Make it dummy.
1083         * sysdeps/x86_64/mempcpy.S: Likewise.
1084         * sysdeps/x86_64/memmove.S: New file.
1085         * sysdeps/x86_64/memmove_chk.S: Likewise.
1086         * sysdeps/x86_64/multiarch/memmove.S: Likewise.
1087         * sysdeps/x86_64/multiarch/memmove_chk.S: Likewise.
1088         * sysdeps/x86_64/memmove.c: Removed.
1089         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
1090         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
1091         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: Likewise.
1092         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S:
1093         Likewise.
1094         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
1095         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
1096         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
1097         memcpy-sse2-unaligned, memmove-avx-unaligned,
1098         memcpy-avx-unaligned and memmove-sse2-unaligned-erms.
1099         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
1100         (__libc_ifunc_impl_list): Replace
1101         __memmove_chk_avx512_unaligned_2 with
1102         __memmove_chk_avx512_unaligned.  Remove
1103         __memmove_chk_avx_unaligned_2.  Replace
1104         __memmove_chk_sse2_unaligned_2 with
1105         __memmove_chk_sse2_unaligned.  Remove __memmove_chk_sse2 and
1106         __memmove_avx_unaligned_2.  Replace __memmove_avx512_unaligned_2
1107         with __memmove_avx512_unaligned.  Replace
1108         __memmove_sse2_unaligned_2 with __memmove_sse2_unaligned.
1109         Remove __memmove_sse2.  Replace __memcpy_chk_avx512_unaligned_2
1110         with __memcpy_chk_avx512_unaligned.  Remove
1111         __memcpy_chk_avx_unaligned_2.  Replace
1112         __memcpy_chk_sse2_unaligned_2 with __memcpy_chk_sse2_unaligned.
1113         Remove __memcpy_chk_sse2.  Remove __memcpy_avx_unaligned_2.
1114         Replace __memcpy_avx512_unaligned_2 with
1115         __memcpy_avx512_unaligned.  Remove __memcpy_sse2_unaligned_2
1116         and __memcpy_sse2.  Replace __mempcpy_chk_avx512_unaligned_2
1117         with __mempcpy_chk_avx512_unaligned.  Remove
1118         __mempcpy_chk_avx_unaligned_2.  Replace
1119         __mempcpy_chk_sse2_unaligned_2 with
1120         __mempcpy_chk_sse2_unaligned.  Remove __mempcpy_chk_sse2.
1121         Replace __mempcpy_avx512_unaligned_2 with
1122         __mempcpy_avx512_unaligned.  Remove __mempcpy_avx_unaligned_2.
1123         Replace __mempcpy_sse2_unaligned_2 with
1124         __mempcpy_sse2_unaligned.  Remove __mempcpy_sse2.
1125         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Support
1126         __memcpy_avx512_unaligned_erms and __memcpy_avx512_unaligned.
1127         Use __memcpy_avx_unaligned_erms and __memcpy_sse2_unaligned_erms
1128         if processor has ERMS.  Default to __memcpy_sse2_unaligned.
1129         (ENTRY): Removed.
1130         (END): Likewise.
1131         (ENTRY_CHK): Likewise.
1132         (libc_hidden_builtin_def): Likewise.
1133         Don't include ../memcpy.S.
1134         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Support
1135         __memcpy_chk_avx512_unaligned_erms and
1136         __memcpy_chk_avx512_unaligned.  Use
1137         __memcpy_chk_avx_unaligned_erms and
1138         __memcpy_chk_sse2_unaligned_erms if if processor has ERMS.
1139         Default to __memcpy_chk_sse2_unaligned.
1140         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
1141         Change function suffix from unaligned_2 to unaligned.
1142         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Support
1143         __mempcpy_avx512_unaligned_erms and __mempcpy_avx512_unaligned.
1144         Use __mempcpy_avx_unaligned_erms and __mempcpy_sse2_unaligned_erms
1145         if processor has ERMS.  Default to __mempcpy_sse2_unaligned.
1146         (ENTRY): Removed.
1147         (END): Likewise.
1148         (ENTRY_CHK): Likewise.
1149         (libc_hidden_builtin_def): Likewise.
1150         Don't include ../mempcpy.S.
1151         (mempcpy): New.  Add a weak alias.
1152         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Support
1153         __mempcpy_chk_avx512_unaligned_erms and
1154         __mempcpy_chk_avx512_unaligned.  Use
1155         __mempcpy_chk_avx_unaligned_erms and
1156         __mempcpy_chk_sse2_unaligned_erms if if processor has ERMS.
1157         Default to __mempcpy_chk_sse2_unaligned.
1159 2016-06-08  H.J. Lu  <hongjiu.lu@intel.com>
1161         [BZ #19881]
1162         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Folded
1163         into ...
1164         * sysdeps/x86_64/memset.S: This.
1165         (__bzero): Removed.
1166         (__memset_tail): Likewise.
1167         (__memset_chk): Likewise.
1168         (memset): Likewise.
1169         (MEMSET_CHK_SYMBOL): New. Define only if MEMSET_SYMBOL isn't
1170         defined.
1171         (MEMSET_SYMBOL): Define only if MEMSET_SYMBOL isn't defined.
1172         * sysdeps/x86_64/multiarch/memset-avx2.S: Removed.
1173         (__memset_zero_constant_len_parameter): Check SHARED instead of
1174         PIC.
1175         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
1176         memset-avx2 and memset-sse2-unaligned-erms.
1177         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
1178         (__libc_ifunc_impl_list): Remove __memset_chk_sse2,
1179         __memset_chk_avx2, __memset_sse2 and __memset_avx2_unaligned.
1180         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
1181         (__bzero): Enabled.
1182         * sysdeps/x86_64/multiarch/memset.S (memset): Replace
1183         __memset_sse2 and __memset_avx2 with __memset_sse2_unaligned
1184         and __memset_avx2_unaligned.  Use __memset_sse2_unaligned_erms
1185         or __memset_avx2_unaligned_erms if processor has ERMS.  Support
1186         __memset_avx512_unaligned_erms and __memset_avx512_unaligned.
1187         (memset): Removed.
1188         (__memset_chk): Likewise.
1189         (MEMSET_SYMBOL): New.
1190         (libc_hidden_builtin_def): Replace __memset_sse2 with
1191         __memset_sse2_unaligned.
1192         * sysdeps/x86_64/multiarch/memset_chk.S (__memset_chk): Replace
1193         __memset_chk_sse2 and __memset_chk_avx2 with
1194         __memset_chk_sse2_unaligned and __memset_chk_avx2_unaligned_erms.
1195         Use __memset_chk_sse2_unaligned_erms or
1196         __memset_chk_avx2_unaligned_erms if processor has ERMS.  Support
1197         __memset_chk_avx512_unaligned_erms and
1198         __memset_chk_avx512_unaligned.
1200 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1202         * math/gen-auto-libm-test.c (fp_format_desc): remove
1203         suffix member.
1204         (output_generic_value): Remove usage of suffix member,
1205         and the resulting unuse of the fp_format argument.
1206         (output_for_one_input_case): Remove unused fp_format
1207         parameter.
1209         * math/auto-libm-test-out: Regenerate.
1211         * math/libm-test.inc (TEST_COND_ldbl_128ibm): replace
1212         usage with TEST_COND_ibm128.
1213         (TEST_COND_flt_32): Remove.
1214         (TEST_COND_dbl_64): Remove.
1215         (TEST_COND_ldbl_96_intel): Remove.
1216         (TEST_COND_ldbl_96_m68k): Remove.
1217         (TEST_COND_ldbl_128): Remove.
1219 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1221         * auto-libm-test-in:
1222         Replace flt-32 usage with binary32.
1223         Replace dbl-64 usage with binary64.
1224         Replace ldbl-intel-96 usage with intel96.
1225         Replace ldbl-m68k-96 usage with m68k96.
1226         Replace ldbl-128ibm usage with ibm128.
1227         Replace ldbl-128 usage with binary128.
1229         * auto-libm-test-out: Regenerate.
1231 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1233         * math/gen-libm-test.pl (all_floats_pfx): New lookup table.
1234         (parse_ulps): Dynamically generate type name matching
1235         string from all_floats.
1236         (get_ulps): Generate the ulps as an array instead.
1237         (output_ulps): Dynamically compose the type based
1238         on the number of supported formats, and print
1239         the indices as type specific helper macros.
1241         * math/libm-test.inc: Remove comment about CHOOSE.
1242         (ulp_data): Generate the type in libm-test-ulps.h.
1243         (ULP_IDX): New macro.
1244         (find_ulps): Update usage of max_ulp.
1246         * math/test-double-vlen2.h (CHOOSE): Remove.
1247         * math/test-double-vlen4.h (CHOOSE): Likewise.
1248         * math/test-double-vlen8.h (CHOOSE): Likewise.
1249         * math/test-float.c (CHOOSE): Likewise.
1250         * math/test-float-finite.c (CHOOSE): Likewise.
1251         * math/test-double.c (CHOOSE): Likewise.
1252         * math/test-double-finite.c (CHOOSE): Likewise.
1253         * math/test-idouble.c (CHOOSE): Likewise.
1254         * math/test-ifloat.c (CHOOSE): Likewise.
1255         * math/test-ildoubl.c (CHOOSE): Likewise.
1256         * math/test-ldouble-finite.c (CHOOSE): Likewise.
1257         * math/test-ldouble.c (CHOOSE): Likewise.
1259         * math/test-float.h (TEST_FLOAT): Remove.
1260         * math/test-double.h (TEST_DOUBLE): Likewise.
1261         * math/test-ldouble.h (TEST_LDOUBLE): Likewise.
1263 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1265         * math/gen-libm-test.pl: (apply_lit): New subroutine.
1266         (parse_args): Strip C suffix from floating point literals
1267         typed with 'f' and wrap them with LIT().
1269         * math/libm-tests.inc (RUN_TEST_LOOP_fj_f): New macro.
1270         (test_ff_f_data_nexttoward): Rename to
1271         (test_fj_f_data): New struct.
1272         (nexttoward_test_data): Relabel tests as
1273         TEST_fj_f instead of TEST_ff_f.
1275 2016-06-08  Florian Weimer  <fweimer@redhat.com>
1277         Emacs bug 23726.
1278         * malloc/malloc.c (dumped_main_arena_start): Update comment.
1279         (__libc_realloc): Correct size computation for dumped fake mmapped
1280         chunks.
1282 2016-06-07  Joseph Myers  <joseph@codesourcery.com>
1284         [BZ #20219]
1285         * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): Add NaN argument
1286         to itself.
1287         * math/libm-test.inc (atanh_test_data): Add sNaN tests.
1289         [BZ #20218]
1290         * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Add non-finite argument
1291         to itself.
1292         * math/libm-test.inc (asinh_test_data): Add sNaN tests.
1294 2016-06-07  H.J. Lu  <hongjiu.lu@intel.com>
1296         [BZ #20195]
1297         * sysdeps/x86/cpu-features.c (get_common_indeces): Move FMA4
1298         check to ...
1299         (init_cpu_features): Here.
1301 2016-06-07  Carlos O'Donell  <carlos@redhat.com>
1303         [BZ #20214]
1304         * sysdeps/unix/sysv/linux/bits/in.h
1305         [defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H
1306          || defined _LINUX_IN6_H || defined _IPV6_H] (__USE_KERNEL_IPV6_DEFS):
1307         Define to 1.
1308         [!(defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H
1309          || defined _LINUX_IN6_H || defined _IPV6_H)] (__USE_KERNEL_IPV6_DEFS):
1310         Define to 0.
1311         [!__USE_KERNEL_IPV6_DEFS] (IPV6_ADD_MEMBERSHIP): Define.
1312         [!__USE_KERNEL_IPV6_DEFS] (IPV6_DROP_MEMBERSHIP): Define.
1314 2016-06-06  Carlos O'Donell  <carlos@redhat.com>
1316         [BZ #20198]
1317         * stdlib/Makefile (tests): Add tst-quick_exit, and
1318         tst-thread-quick_exit.
1319         [ifeq ($(have-cxx-thread_local),yes)]
1320         (CFLAGS-tst-quick_exit.o): Use -stdc=c++11.
1321         (CFLAGS-tst-thread-quick_exit.o): Likewise.
1322         (LDLIBS-tst-quick_exit): Use -lstdc++ for C++ program.
1323         (LDLIBS-tst-thread-quick_exit): Likewise.
1324         [ifneq ($(have-cxx-thread_local),yes)]
1325         (tests-unsupported): Add tst-quick_exit, and tst-thread-quick_exit.
1326         * stdlib/exit.c (__run_exit_handlers): Add run_dtors argument.
1327         If run_dtors is true call __call_tls_dtors.
1328         (exit): Call __run_exit_handlers with run_dtors set to true.
1329         * stdlib/exit.h: Add run_dtors argument to __run_exit_handlers
1330         definition.
1331         * stdlib/quick_exit.c (quick_exit): Remove function.
1332         (__new_quick_exit): New function.
1333         [SHLIB_COMPAT(libc, GLIBC_2_10, GLIBC_2_24)] (__old_quick_exit): New
1334         function.
1335         * stdlib/tst-quick_exit.cc: New file.
1336         * stdlib/tst-thread-quick_exit.cc: New file.
1337         * stdlib/Versions: Add quick_exit@GLIBC_2.24.
1338         * sysdeps/arm/nacl/libc.abilist: Add 'GLIBC_2.24 quick_exit F'.
1339         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise
1340         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise
1341         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise
1342         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise
1343         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise
1344         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise
1345         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise
1346         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise
1347         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise
1348         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise
1349         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise
1350         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise
1351         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise
1352         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise
1353         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: Likewise
1354         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise
1355         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise
1356         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise
1357         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise
1358         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise
1359         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise
1360         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise
1361         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise
1362         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise
1363         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise
1364         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise
1365         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise
1366         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise
1368 2016-06-06  H.J. Lu  <hongjiu.lu@intel.com>
1370         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Fix
1371         a typo in comments.
1373 2016-06-06  Joseph Myers  <joseph@codesourcery.com>
1375         [BZ #20213]
1376         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Add NaN
1377         argument to itself.
1378         * math/libm-test.inc (asin_test_data): Add sNaN tests.
1380 2016-06-06  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1382         * misc/Makefile (CFLAGS-pwritev.c): New variable: add cancellation
1383         required flags.
1384         (CFLAGS-pwritev64.c): Likewise.
1385         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Remove file.
1386         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
1387         * sysdeps/unix/sysv/linux/mips/mips64/n64/pwritev64.c: Likewise.
1388         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
1389         * sysdeps/unix/sysv/linux/wordsize-64/pwritev64.: Likwise.
1390         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (pwritev): Remove
1391         syscall from auto-generation.
1392         * sysdeps/unix/sysv/linux/pwritev.c: Rewrite implementation.
1393         [WORDSIZE == 64] (pwritev64): Remove macro.
1394         [!PWRITEV] (PWRITEV): Likewise.
1395         [!PWRITEV] (PWRITEV_REPLACEMENT): Likewise.
1396         [!PWRITEV] (PWRITE): Likewise.
1397         [!PWRITEV] (OFF_T): Likewise.
1398         [!__ASSUME_PWRITEV] (PWRITEV_REPLACEMENT): Likewise.
1399         (LO_HI_LONG): Remove macro.
1400         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev): Add function.
1401         * sysdeps/unix/sysv/linux/pwritev64.c: Rewrite implementation.
1402         (PWRITEV): Remove macro.
1403         (PWRITEV_REPLACEMENTE): Likewise.
1404         (PWRITE): Likewise.
1405         (OFF_T): Likewise.
1406         (pwritev64): New function.
1407         * nptl/tst-cancel4.c (tf_writev): Add test.
1409         * misc/Makefile (CFLAGS-preadv.c): New variable: add cancellation
1410         required flags.
1411         (CFLAGS-preadv64.c): Likewise.
1412         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Remove file.
1413         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
1414         * sysdeps/unix/sysv/linux/mips/mips64/n64/preadv64.c: Likewise.
1415         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: Likewise.
1416         * sysdeps/unix/sysv/linux/wordsize-64/preadv64.: Likwise.
1417         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (preadv): Remove
1418         syscall from auto-generation.
1419         * sysdeps/unix/sysv/linux/preadv.c: Rewrite implementation.
1420         [WORDSIZE == 64] (preadv64): Remove macro.
1421         [!PREADV] (PREADV): Likewise.
1422         [!PREADV] (PREADV_REPLACEMENT): Likewise.
1423         [!PREADV] (PREAD): Likewise.
1424         [!PREADV] (OFF_T): Likewise.
1425         [!__ASSUME_PREADV] (PREADV_REPLACEMENT): Likewise.
1426         (LO_HI_LONG): Remove macro.
1427         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv): Add function.
1428         * sysdeps/unix/sysv/linux/preadv64.c: Rewrite implementation.
1429         (PREADV): Remove macro.
1430         (PREADV_REPLACEMENTE): Likewise.
1431         (PREAD): Likewise.
1432         (OFF_T): Likewise.
1433         (preadv64): New function.
1434         * nptl/tst-cancel4.c (tf_preadv): Add test.
1436 2016-06-06  Joseph Myers  <joseph@codesourcery.com>
1438         [BZ #20212]
1439         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_acos): Add NaN
1440         argument to itself.
1441         * math/libm-test.inc (acos_test_data): Add sNaN tests.
1443 2016-06-06  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
1445         * sysdeps/powerpc/powerpc64/power8/strcasestr.S (__strcasestr):
1446         New symbol defined as libc_hidden_def.
1447         (strcasestr): Became a weak alias to __strcasestr.
1448         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Handle memset calls
1449         according to multi-arch support.  Move __stpncpy hidden
1450         definition from here to...
1451         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: ...here.  Add
1452         symbol stpncpy.
1453         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Undefine
1454         libc_hidden_builtin_def.
1455         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: Specify which
1456         memset symbol to use when multi-arch support is available.
1458 2016-06-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
1460         * dlfcn/tst-rec-dlopen.c: Include string.h.
1462 2016-06-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
1464         * manual/install.texi: Remove mention of --without-tls
1465         * INSTALL: Regenerate.
1467 2016-06-05  Florian Weimer  <fweimer@redhat.com>
1469         * dlfcn/tst-rec-dlopen.c (custom_malloc_hook, old_malloc_hook):
1470         Remove.
1471         (call_function, interposed_malloc_called): New variables.
1472         (malloc): New function.
1473         (do_test): Do not change malloc hooks.  Initialize malloc.  Set
1474         and clear call_function as needed.
1476 2016-06-04  Andreas Schwab  <schwab@linux-m68k.org>
1478         * include/wchar.h (__wmemset): Use __typeof.
1480 2016-06-03  Carlos O'Donell  <carlos@redhat.com>
1482         * include/wchar.h (__wmemset): Declare function without typeof.
1484 2016-06-03  Joseph Myers  <joseph@codesourcery.com>
1486         [BZ #20205]
1487         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Do not adjust
1488         exponent when incrementing negative subnormal with low mantissa
1489         word zero.
1490         * math/libm-test.inc (nextafter_test_data) [TEST_COND_intel96]:
1491         Add another test.
1493 2016-06-03  Florian Weimer  <fweimer@redhat.com>
1495         * libio/wstrops.c (_IO_wstr_overflow, enlarge_userbuf): Use
1496         __wmemset instead of wmemset.
1498 2016-06-02  Carlos O'Donell  <carlos@redhat.com>
1500         * sysdeps/unix/sysv/linux/bits/in.h [defined _UAPI_LINUX_IN6_H ||
1501         defined _UAPI_IPV6_H]: Define __USE_KERNEL_IPV6_DEFS to 1.
1502         [!(defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H)]: Define
1503         __USE_KERNEL_IPV6_DEFS to 0.
1504         * inet/netinet/in.h: Use '#if !__USE_KERNEL_IPV6_DEFS'.
1505         Update comment.
1507 2016-06-01  Florian Weimer  <fweimer@redhat.com>
1509         [BZ #19861]
1510         Do not use IFUNC resolver with potentially unrelocated symbol.
1511         * nptl/pt-fork.c [HAVE_IFUNC]: Remove.
1512         (DEFINE_FORK): Remove macro and inline definition.
1513         (fork_alias): Renamed from fork_ifunc.
1514         (__fork_alias): Renamed from __fork_ifunc.
1516 2016-05-30  Paul Pluzhnikov  <ppluzhnikov@google.com>
1518         [BZ 19653]
1519         * inet/if_index.c (__protocol_available): Delete #if 0'd code.
1520         * inet/ruserpass.c (ruserpass): Delete #if 0'd code.
1522 2016-05-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
1524         * scripts/check-local-headers.sh (exclude): Add hurd/ihash.h, and
1525         include .*-.*/ in addition to .*-.*-.*/ (i.e. i386-gnu in addition to
1526         i386-linux-gnu).
1527         * sysdeps/mach/hurd/configure.ac (libc_cv_ld_gnu_indirect_function):
1528         Set to no.
1529         * sysdeps/mach/hurd/configure: Refresh.
1531 2016-05-30  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1533         [BZ #20178]
1534         * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Call _exit
1535         on failure instead of exit.
1537 2016-05-30  Roland McGrath  <roland@hack.frob.com>
1539         [BZ #3629]
1540         * manual/string.texi (Copying Strings and Arrays): stpcpy is part
1541         of POSIX.1-2008.
1543 2016-05-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
1545         * sysdeps/mach/hurd/i386/____longjmp_chk.S (____longjmp_chk) [PIC]:
1546           Use PLT entry for calling _hurd_self_sigstate.
1548 2016-05-27  H.J. Lu  <hongjiu.lu@intel.com>
1550         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Count number of
1551         available logical processors with SMT level type sharing L2
1552         cache for Intel processors.
1554 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
1556         [BZ #20160]
1557         * sysdeps/powerpc/powerpc64/fpu/s_ceil.S (__ceil): Add NaN
1558         argument to itself before returning the result.
1559         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S (__ceilf): Likewise.
1560         * sysdeps/powerpc/powerpc64/fpu/s_floor.S (__floor): Likewise.
1561         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S (__floorf): Likewise.
1562         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (__nearbyint):
1563         Likewise.
1564         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S (__nearbyintf):
1565         Likewise.
1566         * sysdeps/powerpc/powerpc64/fpu/s_rint.S (__rint): Likewise.
1567         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S (__rintf): Likewise.
1568         * sysdeps/powerpc/powerpc64/fpu/s_round.S (__round): Likewise.
1569         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S (__roundf): Likewise.
1570         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S (__trunc): Likewise.
1571         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S (__truncf): Likewise.
1573         [BZ #20160]
1574         * sysdeps/powerpc/powerpc32/fpu/s_ceil.S (__ceil): Add NaN
1575         argument to itself before returning the result.
1576         * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S (__ceilf): Likewise.
1577         * sysdeps/powerpc/powerpc32/fpu/s_floor.S (__floor): Likewise.
1578         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S (__floorf): Likewise.
1579         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint):
1580         Likewise.
1581         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
1582         Likewise.
1583         * sysdeps/powerpc/powerpc32/fpu/s_rint.S (__rint): Likewise.
1584         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S (__rintf): Likewise.
1585         * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Likewise.
1586         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise.
1587         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S (__trunc): Likewise.
1588         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S (__truncf): Likewise.
1590 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1592         * libm-test.inc: Replace usage of M_El with
1593         (lit_e): New macro.
1595 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1597         * libm-test.inc: Replace usage of M_PI_4l with
1598         (lit_pi_4_d): New macro.
1600 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1602         * libm-test.inc: Replace usage of M_PIl with
1603         (lit_pi): New macro.
1605 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1607         * libm-test.inc: Replace usage of M_PI2l with
1608         (lit_pi_2_d): New macro.
1610         * math/test-double.h (LITM): New macro.
1611         * math/test-float.h (LITM): Likewise.
1612         * math/test-ldouble.h (LITM): Likewise.
1614 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1616         * libm-test.inc (M_PI_34l): Rename to
1617         (lit_pi_3_m_4_d): New Macro.
1618         (M_PI_34_LOG10El): Rename to
1619         (lit_pi_3_m_4_ln10_m_d): New Macro.
1620         (M_PI2_LOG10El): Rename to
1621         (lit_pi_2_ln10_m_d):  New Macro.
1622         (M_PI4_LOG10El): Rename to
1623         (lit_pi_4_ln10_m_d):  New Macro.
1624         (M_PI_LOG10El): Rename to
1625         (lit_pi_ln10_d):  New Macro.
1627 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
1629         [BZ #20157]
1630         * sysdeps/powerpc/powerpc32/fpu/s_fabsl.S (__fabsl): Use fsel to
1631         determine whether to negate low half if [_ARCH_PPCGR], and integer
1632         comparison otherwise.
1633         * sysdeps/powerpc/powerpc64/fpu/s_fabsl.S (__fabsl): Use fsel to
1634         determine whether to negate low half.
1636         * math/libm-test.inc (NO_TEST_INLINE_FLOAT): Remove macro.
1637         (NO_TEST_INLINE_DOUBLE): Likewise.
1638         (TEST_COND_x86_64): Likewise.
1639         (TEST_COND_x86): Likewise.
1640         (M_PI_6l): Likewise.
1642 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1644         * math/libm-test.inc:
1645         (TEST_FLOAT): Change usage to TEST_COND_binary32.
1646         (TEST_DOUBLE): Change usage to TEST_COND_binary64.
1647         (TEST_LDOUBLE): Update usage to evaluate as true if
1648         the guarded tests match the property being tested.
1649         (LDBL_MAX_EXP): Change to MAX_EXP.
1650         (LDBL_MIN_EXP): Change to MIN_EXP.
1651         (LDBL_MANT_DIG): Change to MANT_DIG, except for
1652         nexttoward tests.
1654 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1656         * math/libm-test.inc:
1657         (TYPE_DECIMAL_DIG): Redefine using type supplied PREFIX macro.
1658         (TYPE_MIN): Likewise.
1659         (TYPE_TRUE_MIN): Likewise.
1660         (TYPE_MAX): Likewise.
1661         (MIN_EXP): Likewise.
1662         (MAX_EXP): Likewise.
1663         (MANT_DIG): Likewise.
1665         (FSTR_MAX): New macro.
1666         (__CONCATX): Likewise.
1667         (QTYPE_STR): Likewise.
1668         (TEST_COND_binary32): Likewise.
1669         (TEST_COND_binary64): Likewise.
1670         (TEST_COND_binary128): Likewise.
1671         (TEST_COND_ibm128): Likewise.
1672         (TEST_COND_intel96): Likewise.
1673         (TEST_COND_m68k96): Likewise.
1675         (TEST_COND_flt_32): Redefine as equivalent format test macro.
1676         (TEST_COND_dbl_64): Likewise.
1677         (TEST_COND_ldbl_96_intel): Likewise.
1678         (TEST_COND_ldbl_96_m68k): Likewise.
1679         (TEST_COND_ldbl_128): Likewise.
1680         (TEST_COND_ldbl_128ibm): Likewise.
1682         (plus_zero): Redefine using LIT macro.
1683         (minus_zero): Likewise.
1684         (plus_infty): Redefine as (INF).
1685         (minux_infty): Redefine as (-INF).
1686         (max_value): Redefine as TYPE_MAX.
1687         (min_value): Redefine as TYPE_MIN.
1688         (min_subnorm_value): Redefine as TYPE_TRUE_MIN.
1690         (print_float): Refactor to use snprintf to convert FLOAT values
1691         to string. This brings it closer to dropin replacement of strtof
1692         for the TS 18661 defined types.
1693         (update_stats): Likewise.
1694         (print_complex_function_ulps): Likewise.
1695         (print_max_error): Likewise.
1696         (print_complex_max_error): Likewise.
1697         (check_float_internal): Likewise.
1699         * math/test-float.h (PREFIX): New macro.
1700         (LIT): Likewise.
1701         (TYPE_STR): Likewise.
1702         (FTOSTR): Likewise.
1704         * math/test-double.h (PREFIX): New macro.
1705         (LIT): Likewise.
1706         (TYPE_STR): Likewise.
1707         (FTOSTR): Likewise.
1709         * math/test-ldouble.h (PREFIX): New macro.
1710         (LIT): Likewise.
1711         (TYPE_STR): Likewise.
1712         (FTOSTR): Likewise.
1714 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
1716         [BZ #20156]
1717         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (__ceill): Add high part
1718         to itself when zero or not finite.
1719         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (__floorl): Likewise.
1720         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
1721         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c (__roundl): Likewise.
1722         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Likewise.
1724 2016-05-26  Joseph Myers  <joseph@codesourcery.com>
1726         [BZ #20153]
1727         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Return
1728         x * x + x for infinities and NaNs.
1730         [BZ #20151]
1731         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Add NaN
1732         argument to itself before returning result.
1733         (__ieee754_y0l): Likewise.
1734         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
1735         (__ieee754_y1l).
1737         * math/libm-test.inc (acosh_test_data): Add sNaN tests.
1738         (atan_test_data): Likewise.
1739         (ceil_test_data): Likewise.
1740         (cos_test_data): Likewise.
1741         (cosh_test_data): Likewise.
1742         (erf_test_data): Likewise.
1743         (exp2_test_data): Likewise.
1744         (fabs_test_data): Likewise.
1745         (floor_test_data): Likewise.
1746         (ilogb_test_data): Likewise.
1747         (j0_test_data): Likewise.
1748         (j1_test_data): Likewise.
1749         (jn_test_data): Likewise.
1750         (lgamma_test_data): Likewise.
1751         (lrint_test_data): Likewise.
1752         (llrint_test_data): Likewise.
1753         (logb_test_data): Likewise.
1754         (lround_test_data): Likewise.
1755         (llround_test_data): Likewise.
1756         (nearbyint_test_data): Likewise.
1757         (rint_test_data): Likewise.
1758         (round_test_data): Likewise.
1759         (sin_test_data): Likewise.
1760         (sincos_test_data): Likewise.
1761         (sinh_test_data): Likewise.
1762         (sqrt_test_data): Likewise.
1763         (tan_test_data): Likewise.
1764         (tanh_test_data): Likewise.
1765         (tgamma_test_data): Likewise.
1766         (trunc_test_data): Likewise.
1767         (y0_test_data): Likewise.
1768         (y1_test_data): Likewise.
1769         (yn_test_data): Likewise.
1771         * math/libm-test.inc: Update comment about NaN testing.
1772         (TEST_SNAN): New macro.
1773         (snan_value): Likewise.
1774         (enable_test): Disable tests of sNaNs when SNAN_TESTS fails.
1775         (fpclassify_test_data): Add sNaN tests.
1776         (isfinite_test_data): Likewise.
1777         (isinf_test_data): Likewise.
1778         (isnan_test_data): Likewise.
1779         (isnormal_test_data): Likewise.
1780         (issignaling_test_data): Likewise.
1781         (signbit_test_data): Likewise.
1782         * math/gen-libm-test.pl (%beautify): Add snan_value.
1783         (show_exceptions): Add argument $test_snan.
1784         (parse_args): Handle snan_value as non-finite.  Update call to
1785         show_exceptions.
1786         * math/Makefile (libm-test-no-inline-cflags): Add
1787         -fsignaling-nans.
1789 2016-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1791         * nptl/Makefile (CFLAGS-oldrecvfrom.c): Remove rule.
1792         (CFLAGS-oldsendmsg.c): Add rule.
1793         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24):
1794         Correct recvmsg symbol name.
1795         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24):
1796         Likewise.
1798 2016-05-25  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1800         * sysdeps/unix/sysv/linux/Makefile
1801         [$(subdir) = socket] (sysdep_routines): Add oldrecvmmsg and
1802         oldsendmmsg.
1803         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add recvmmsg and
1804         sendmmsg.
1805         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
1806         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
1807         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
1808         * sysdeps/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
1809         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
1810         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
1811         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
1812         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
1813         Likewise.
1814         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
1815         * sysdeps/unix/sysv/linux/oldrecvmmsg.c: New file.
1816         * sysdeps/unix/sysv/linux/oldsendmmsg.c: Likewise.
1817         * sysdeps/unix/sysv/linux/recvmmsg.c (__recvmmsg): Adjust msghdr
1818         iovlen and controllen fields to adjust to POSIX specification.
1819         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
1821         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Remove xfail-
1822         and change to correct expected type.
1823         (msghdr.msg_controllen): Likewise.
1824         (cmsghdr.cmsg_len): Likewise.
1825         * sysdeps/unix/sysv/linux/bits/socket.h (msghdr.msg_iovlen): Fix
1826         expected POSIX assumption about the size.
1827         (msghdr.msg_controllen): Likewise.
1828         (msghdr.__glibc_reserved1): Likewise.
1829         (msghdr.__glibc_reserved2): Likewise.
1830         (cmsghdr.cmsg_len): Likewise.
1831         (cmsghdr.__glibc_reserved1): Likewise.
1832         * nptl/Makefile (libpthread-routines): Remove ptw-recvmsg and ptw-sendmsg.
1833         Add ptw-oldrecvmsg and ptw-oldsendmsg.
1834         (CFLAGS-sendmsg.c): Remove rule.
1835         (CFLAGS-recvmsg.c): Likewise.
1836         (CFLAGS-oldsendmsg.c): Add rule.
1837         (CFLAGS-oldrecvmsg.c): Likewise.
1838         * sysdeps/unix/sysv/linux/alpha/Versions [libc] (GLIBC_2.24): Add
1839         recvmsg and sendmsg.
1840         * sysdeps/unix/sysv/linux/aarch64/Version [libc] (GLIBC_2.24):
1841         Likewise.
1842         * sysdeps/unix/sysv/linux/arm/Versions [libc] (GLIBC_2.24): Likewise.
1843         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24): Likewise.
1844         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24): Likewise.
1845         * sysdeps/unix/sysv/linux/ia64/Versions [libc] (GLIBC_2.24): Likewise.
1846         * sysdeps/unix/sysv/linux/m68k/Versions [libc] (GLIBC_2.24): Likewise.
1847         * sysdeps/unix/sysv/linux/microblaze/Versions [libc] (GLIBC_2.24):
1848         Likewise.
1849         * sysdeps/unix/sysv/linux/mips/mips32/Versions [libc] (GLIBC_2.24):
1850         Likewise.
1851         * sysdeps/unix/sysv/linux/mips/mips64/n32/Versions [libc] (GLIBC_2.24):
1852         Likewise.
1853         * sysdeps/unix/sysv/linux/mips/mips64/Versions [libc] (GLIBC_2.24):
1854         Likewise.
1855         * sysdeps/unix/sysv/linux/nios2/Versions [libc] (GLIBC_2.24):
1856         Likewise.
1857         * sysdeps/unix/sysv/linux/powerpc/Versions [libc] (GLIBC_2.24):
1858         Likewise.
1859         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions [libc]
1860         (GLIBC_2.24): Likewise.
1861         * sysdeps/unix/sysv/linux/s390/s390-32/Versions [libc] (GLIBC_2.24):
1862         Likewise.
1863         * sysdeps/unix/sysv/linux/s390/s390-64/Versions [libc] (GLIBC_2.24):
1864         Likewise.
1865         * sysdeps/unix/sysv/linux/sh/Versions [libc] (GLIBC_2.24): Likewise.
1866         * sysdeps/unix/sysv/linux/sparc/Versions [libc] (GLIBC_2.24):
1867         Likewise.
1868         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions [libc] (GLIBC_2.24):
1869         Likewise.
1870         ( sysdeps/unix/sysv/linux/tile/Versions [libc] (GLIBC_2.24):
1871         Likewise.
1872         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/Versions [libc]
1873         (GLIBC_2.24): Likewise.
1874         ( sysdeps/unix/sysv/linux/x86_64/64/Versions [libc] (GLIBC_2.24):
1875         Likewise.
1876         * sysdeps/unix/sysv/linux/x84_64/Versions [libc] (GLIBC_2.24):
1877         Likewise.
1878         * sysdeps/unix/sysv/linux/Makefile
1879         [$(subdir) = socket)] (sysdep_headers): Add oldrecvmsg and oldsendmsg.
1880         (CFLAGS-sendmsg.c): Add rule.
1881         (CFLAGS-recvmsg.c): Likewise.
1882         (CFLAGS-oldsendmsg.c): Likewise.
1883         (CFLAGS-oldrecvmsg.c): Likewise.
1884         * sysdeps/unix/sysv/linux/check_native.c (__check_native): Fix msghdr
1885         initialization.
1886         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Likewise.
1887         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Likewise.
1888         * sysdeps/unix/sysv/linux/oldrecvmsg.c: New file.
1889         * sysdeps/unix/sysv/linux/oldsendmsg.c: Likewise.
1890         * sysdeps/unix/sysv/linux/recvmsg.c (__libc_recvmsg): Adjust msghdr
1891         iovlen and controllen fields to adjust to POSIX specification.
1892         * sysdeps/unix/sysv/linux/sendmsg.c (__libc_sendmsg): Likewise.
1893         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: New version and
1894         added recvmsg and sendmsg.
1895         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
1896         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
1897         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
1898         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
1899         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
1900         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
1901         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
1902         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
1903         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
1904         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
1905         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
1906         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise
1907         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
1908         Likewise.
1909         * sysdeps/unix/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
1910         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
1911         * sysdepe/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
1912         Likewise.
1913         Likewise.
1914         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
1915         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
1916         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
1917         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
1918         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
1919         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
1920         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
1921         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
1922         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
1923         Likewise.
1924         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
1925         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
1927         * sysdeps/unix/sysv/linux/alpha/syscalls.list (recvmsg): Remove
1928         from auto-generation.
1929         (sendmsg): Likewise.
1930         * sysdeps/unix/sysv/linux/arm/syscalls.list (recvmsg): Likewise.
1931         (sendmsg): Likewise.
1932         * sysdeps/unix/sysv/linux/generic/syscalls.list (recvmsg): Likewise.
1933         (sendmsg): Likewise.
1934         * sysdeps/unix/sysv/linux/hppa/syscalls.list (recvmsg): Likewise.
1935         (sendmsg): Likewise.
1936         * sysdeps/unix/sysv/linux/ia64/syscalls.list (recvmsg): Likewise.
1937         (sendmsg): Likewise.
1938         * sysdeps/unix/sysv/linux/mips/syscalls.list (recvmsg): Likewise.
1939         (sendmsg): Likewise.
1940         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (recvmsg):
1941         Likewise.
1942         (sendmsg): Likewise.
1943         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (recvmsg): Likewise.
1944         (sendmsg): Likewise.
1945         * sysdeps/unix/sysv/linux/i386/kernel-features.h
1946         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
1947         Remove.
1948         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
1949         Likewise.
1950         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
1951         Undefine.
1952         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
1953         Likewise.
1954         * sysdeps/unix/sysv/linux/kernel-features.h
1955         (__ASSUME_SENDMSG_SYSCALL): Define.
1956         (__ASSUME_RECVMSG_SYSCALL): Likewise.
1957         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
1958         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
1959         Remove.
1960         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
1961         Likewise.
1962         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
1963         Undefine.
1964         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
1965         Likewise.
1966         * sysdeps/unix/sysv/linux/s390/kernel-features.h
1967         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
1968         Remove.
1969         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
1970         Likewise.
1971         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
1972         Undefine.
1973         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
1974         Likewise.
1975         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
1976         (__ASSUME_SENDMSG_SYSCALL): Undefine.
1977         (__ASSUME_RECVMSG_SYSCALL): Likewise.
1978         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
1979         (__ASSUME_SENDMSG_SYSCALL): Likewise.
1980         (__ASSUME_RECVMSG_SYSCALL): Likewise.
1981         * sysdeps/unix/sysv/linux/sh/kernel-features.h
1982         (__ASSUME_SENDMSG_SYSCALL): Likewise.
1983         (__ASSUME_RECVMSG_SYSCALL): Likewise.
1985 2016-05-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1987         * stdlib/gen-tst-strtod-round.c: Add backslash to
1988         compile command in comment.
1989         (printfp): Remove the literal suffix, and define an infinite
1990         value as INF to avoid expansion clash with INFINITY.
1991         (round_str): Remove the literal suffix.
1992         (round_for_all): Likewise, remove the now duplicate ldbl-64
1993         entry, and remove some magic constants.
1995         * stdlib/tst-strtod-round.c: (TEST): Redefine to reduce
1996         duplication.  Remove duplicate dbl-64 and ldbl-64 entries.
1997         (ROUNDING_TESTS_long_double): Define as 0 for ibm128.
1998         (_CONCAT): New macro.
1999         (CONCAT): Likewise.
2000         (CHOOSE_ld): Likewise.
2001         (CHOOSE_f): Likewise.
2002         (CHOOSE_d): Likewise.
2003         (FTYPE_MEMBER): Likewise.
2004         (BOOL_MEMBER): Likewise.
2005         (STRUCT_FOREACH_FLOAT_FTYPE): Likewise.
2006         (STRUCT_FOREACH_FLOAT_BOOL): Likewise.
2007         (_XNTRY): Likewise.
2008         (XNTRY): Likewise.
2009         (_ENTRY): Likewise.
2010         (ENTRY): Likewise.
2011         (test_exactness): Generate members via macro.
2012         (test_results): Likewise.
2013         (test): Update members.
2014         (TEST): Redefine using new macros.
2015         (INF): New macro.
2016         (fetestmodes): New structure.
2017         (do_test): Refactor to be type generic.
2018         (test_in_one_mode): Refactor duplicate code into
2019         (GEN_ONE_TEST): New macro.
2021         * stdlib/tst-strtod-round-data.h: Regenerate.
2023         * stdlib/tst-strtod.h (GEN_TEST_STRTOD_FOREACH):
2024         Extend to pass additional arbitrary parameters to
2025         generators.
2027 2016-05-25  Joseph Myers  <joseph@codesourcery.com>
2029         [BZ #15479]
2030         * sysdeps/powerpc/powerpc64/fpu/s_ceil.S (__ceil): Move save of
2031         floating-point state after first floating-point operation on
2032         input.  Restore full floating-point state instead of just rounding
2033         mode.
2034         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S (__ceilf): Likewise.
2035         * sysdeps/powerpc/powerpc64/fpu/s_floor.S (__floor): Likewise.
2036         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S (__floorf): Likewise.
2037         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S (__trunc): Likewise.
2038         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S (__truncf): Likewise.
2040         [BZ #15479]
2041         * sysdeps/powerpc/powerpc32/fpu/s_ceil.S (__ceil): Move save of
2042         floating-point state after first floating-point operation on
2043         input.  Restore full floating-point state instead of just rounding
2044         mode.
2045         * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S (__ceilf): Likewise.
2046         * sysdeps/powerpc/powerpc32/fpu/s_floor.S (__floor): Likewise.
2047         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S (__floorf): Likewise.
2048         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S (__trunc): Likewise.
2049         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S (__truncf): Likewise.
2051 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
2053         [BZ #19727]
2054         * iconvdata/utf-16.c (BODY): Report an error if first word is not a
2055         valid high surrogate.
2056         * iconvdata/utf-32.c (BODY): Report an error if the value is in range
2057         of an utf16 surrogate.
2058         * iconv/gconv_simple.c (BODY): Likewise.
2059         * iconvdata/bug-iconv12.c: New file.
2060         * iconvdata/Makefile (tests): Add bug-iconv12.
2062 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
2064         [BZ #19726]
2065         * iconv/gconv_simple.c (ucs4le_internal_loop): Update inptrp and
2066         outptrp in case of an illegal input.
2067         * iconv/tst-iconv6.c: New file.
2068         * iconv/Makefile (tests): Add tst-iconv6.
2070 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
2072         * sysdeps/s390/utf16-utf32-z9.c: Disable cu42 instruction and report
2073         an error in case of a value in range of an utf16 low surrogate.
2075 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
2077         * sysdeps/s390/utf8-utf32-z9.c: Disable cu41 instruction and report
2078         an error in case of a value in range of an utf16 low surrogate.
2080 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
2082         * sysdeps/s390/s390-64/Makefile (iconvdata-subdirectory):
2083         Move to ...
2084         * sysdeps/s390/Makefile: ... here.
2085         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c: Move to ...
2086         * sysdeps/s390/iso-8859-1_cp037_z900.c: ... here.
2087         (BRANCH_ON_COUNT): New define.
2088         (TR_LOOP): Use BRANCH_ON_COUNT instead of brctg.
2089         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Move to ...
2090         * sysdeps/s390/utf16-utf32-z9.c: ... here and adjust to
2091         run on s390-32, too.
2092         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Move to ...
2093         * sysdeps/s390/utf8-utf16-z9.c: ... here and adjust to
2094         run on s390-32, too.
2095         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Move to ...
2096         * sysdeps/s390/utf8-utf32-z9.c: ... here and adjust to
2097         run on s390-32, too.
2099 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
2101         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Use ifunc to select c,
2102         etf3eh or new vector loop-variant.
2104 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
2106         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Use ifunc to select c,
2107         etf3eh or new vector loop-variant.
2109 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
2111         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Use ifunc to select c, etf3eh
2112         or new vector loop-variant.
2114 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
2116         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c (TROO_LOOP):
2117         Rename to TR_LOOP and usage of tr instead of troo instruction.
2119 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
2121         * sysdeps/s390/multiarch/gconv_simple.c: New File.
2122         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add gconv_simple.
2124 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
2126         * sysdeps/s390/multiarch/8bit-generic.c: New File.
2127         * sysdeps/s390/multiarch/gen-8bit.sh: New File.
2128         * sysdeps/s390/multiarch/Makefile (generate-8bit-table):
2129         New override define.
2130         * sysdeps/s390/multiarch/iconv/skeleton.c: Likewise.
2132 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
2134         * config.h.in (HAVE_S390_VX_GCC_SUPPORT): New macro undefine.
2135         * sysdeps/s390/configure.ac: Add test for S390 vector register
2136         support in gcc.
2137         * sysdeps/s390/configure: Regenerated.
2139 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
2141         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules):
2142         Install file from $(objpfx)gconv-modules.
2143         ($(objpfx)gconv-modules): Concatenate architecture specific file
2144         in variable sysdeps-gconv-modules and gconv-modules in src dir.
2145         * sysdeps/s390/gconv-modules: New file.
2146         * sysdeps/s390/s390-64/Makefile: ($(inst_gconvdir)/gconv-modules):
2147         Deleted.
2148         ($(objpfx)gconv-modules-s390): Deleted.
2149         (sysdeps-gconv-modules): New variable.
2151 2016-05-24  Joseph Myers  <joseph@codesourcery.com>
2153         [BZ #15479]
2154         * sysdeps/x86_64/fpu/multiarch/s_ceil.S (__ceil_sse41): Set bit 3
2155         of immediate operand to rounding instruction.
2156         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S (__ceilf_sse41):
2157         Likewise.
2158         * sysdeps/x86_64/fpu/multiarch/s_floor.S (__floor_sse41):
2159         Likewise.
2160         * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf_sse41):
2161         Likewise.
2163 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2165         * math/libm-test.inc (MIN_EXP): Directly define as
2166         (DBL|LDBL|FLT)_MIN_EXP and fixup usage.
2168 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2170         * math/libm-test.inc (MANT_DIG): Directly define as
2171         (DBL|LDBL|FLT)_MANT_DIG and fixup usage.
2173 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2175         * stdlib/gen-tst-strtod-round.c (main):
2176           Change usage to more closely match the generated
2177           output.  Add usage and compilation instructions.
2178           (string_to_fp): Add and use FILE* parameter as
2179           output target.
2180           (print_fp): Likewise.
2181           (round_str): Likewise.
2182           (round_for_all): Likewise.
2183         * stdlib/tst-strtod-round.c (tests): Move into
2184         * stdlib/tst-strtod-round-data.h: New file.
2186 2016-05-24  Joseph Myers  <joseph@codesourcery.com>
2188         [BZ #15479]
2189         * sysdeps/ieee754/dbl-64/s_round.c (huge): Remove variable.
2190         (__round): Do not force "inexact" exception.
2191         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (huge): Remove
2192         variable.
2193         (__round): Do not force "inexact" exception.
2194         * sysdeps/ieee754/flt-32/s_roundf.c (huge): Remove variable.
2195         (__roundf): Do not force "inexact" exception.
2196         * sysdeps/ieee754/ldbl-128/s_roundl.c (huge): Remove variable.
2197         (__roundl): Do not force "inexact" exception.
2198         * sysdeps/ieee754/ldbl-96/s_roundl.c (huge): Remove variable.
2199         (__roundl): Do not force "inexact" exception.
2200         * math/libm-test.inc (round_test_data): Do not allow spurious
2201         "inexact" exceptions.
2203         [BZ #15479]
2204         * sysdeps/ieee754/dbl-64/s_floor.c: Do not mention "inexact"
2205         exception in comment.
2206         (huge): Remove variable.
2207         (__floor): Do not force "inexact" exception.
2208         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Do not mention
2209         "inexact" exception in comment.
2210         (huge): Remove variable.
2211         (__floor): Do not force "inexact" exception.
2212         * sysdeps/ieee754/flt-32/s_floorf.c: Do not mention "inexact"
2213         exception in comment.
2214         (huge): Remove variable.
2215         (__floorf): Do not force "inexact" exception.
2216         * sysdeps/ieee754/ldbl-128/s_floorl.c: Do not mention "inexact"
2217         exception in comment.
2218         (huge): Remove variable.
2219         (__floorl): Do not force "inexact" exception.
2221         [BZ #15479]
2222         * sysdeps/ieee754/dbl-64/s_ceil.c: Do not mention "inexact"
2223         exception in comment.
2224         (huge): Remove variable.
2225         (__ceil): Do not force "inexact" exception.
2226         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Do not mention
2227         "inexact" exception in comment.
2228         (huge): Remove variable.
2229         (__ceil): Do not force "inexact" exception.
2230         * sysdeps/ieee754/flt-32/s_ceilf.c (huge): Remove variable.
2231         (__ceilf): Do not force "inexact" exception.
2232         * sysdeps/ieee754/ldbl-128/s_ceill.c: Do not mention "inexact"
2233         exception in comment.
2234         (huge): Remove variable.
2235         (__ceill): Do not force "inexact" exception.
2237 2016-05-24  H.J. Lu  <hongjiu.lu@intel.com>
2239         * config.h.in (BIND_NOW): New.
2240         * configure.ac (BIND_NOW): New.  Defined for --enable-bind-now.
2241         * configure: Regenerated.
2242         * sysdeps/x86_64/sysdep.h (JUMPTARGET)[BIND_NOW]: Defined to
2243         indirect branch via the GOT slot.
2245 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
2247         [BZ #19765]
2248         * sysdeps/s390/mempcpy.S: New File.
2249         * sysdeps/s390/multiarch/mempcpy.c: Likewise.
2250         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add mempcpy.
2251         * sysdeps/s390/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
2252         Add mempcpy variants.
2253         * sysdeps/s390/s390-32/memcpy.S: Add mempcpy entry point.
2254         (memcpy): Adjust to be usable from mempcpy entry point.
2255         (__memcpy_mvcle): Likewise.
2256         * sysdeps/s390/s390-64/memcpy.S: Likewise.
2257         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Add entry points
2258         ____mempcpy_z196, ____mempcpy_z10 and add __GI_ symbols for mempcpy.
2259         (__memcpy_z196): Adjust to be usable from mempcpy entry point.
2260         (__memcpy_z10): Likewise.
2261         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Likewise.
2263 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
2265         * sysdeps/s390/multiarch/ifunc-resolve.h (s390_libc_ifunc):
2266         Remove __GI_ symbol.
2267         * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: Add __GI_memcmp symbol.
2268         * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: Likewise.
2269         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Add __GI_memcpy symbol.
2270         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Likewise.
2271         * sysdeps/s390/s390-32/multiarch/memset-s390.S: Add __GI_memset symbol.
2272         * sysdeps/s390/s390-64/multiarch/memset-s390x.S: Likewise.
2274 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
2276         * sysdeps/s390/s390-64/memcpy.S (memcpy):
2277         Use cghi instead of chi to compare 64bit value.
2279 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
2281         * sysdeps/s390/s390-32/memcpy.S (memcpy):
2282         Jump to 1MB check before executing mvc-loop.
2284 2016-05-24  Florian Weimer  <fweimer@redhat.com>
2286         [BZ #6527]
2287         * malloc/malloc.c (MALLOC_ALIGNMENT): Use correct alignment
2288         unconditionally.
2289         * malloc/hooks.c (MALLOC_STATE_VERSION): Increase state version.
2291 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2293         * stdlib/tst-strtod6.c (do_test): Use new type generic
2294         invocation of the test function.
2295         (test): Refactor into ...
2296         (TEST_STRTOD): New macro base function.
2298 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2300         * stdlib/bug-strtod2.c (do_test): Refactor strtod usage into ...
2301         (TEST_STRTOD): New macro.
2302         (TEST_FUNCTION): Redefine to use STRTOD_TEST_FOREACH
2304 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2306         * stdlib/tst-strtod6.c (do_test): Use new type generic
2307         invocation of the test function.
2308         (test): Refactor into ...
2309         (TEST_STRTOD): New macro base function.
2311 2016-05-23  Florian Weimer  <fweimer@redhat.com>
2313         CVE-2016-4429
2314         [BZ #20112]
2315         * sunrpc/clnt_udp.c (clntudp_call): Use malloc/free for the error
2316         payload.
2318 2016-05-23  Florian Weimer  <fweimer@redhat.com>
2320         [BZ #20111]
2321         * bits/sockaddr.h (_SS_SIZE): Define.
2322         * bits/socket.h (_SS_SIZE): Remove.
2323         (_SS_PADSIZE): Adjust to account for all padding.
2324         (struct sockaddr_storage): Update comment.  Avoid implicit
2325         padding.
2326         * sysdeps/mach/hurd/bits/socket.h (_SS_SIZE): Remove.
2327         (_SS_PADSIZE): Adjust to account for all padding.
2328         (struct sockaddr_storage): Update comment.  Avoid implicit
2329         padding.
2330         * sysdeps/unix/bsd/bits/sockaddr.h (_SS_SIZE): Define.
2331         * sysdeps/unix/sysv/linux/bits/socket.h (_SS_SIZE): Remove.
2332         (_SS_PADSIZE): Adjust to account for all padding.
2333         (struct sockaddr_storage): Update comment.  Avoid implicit
2334         padding.
2335         * sysdeps/unix/sysv/linux/m68k/bits/sockaddr.h: New file.
2336         __SS_SIZE is 126 in this version.
2337         * inet/tst-sockaddr.c: New file.
2338         * inet/Makefile (tests): Add tst-sockaddr.c
2339         (tst-sockaddr.c): Compile with non-strict aliasing.
2341 2016-05-23  Joseph Myers  <joseph@codesourcery.com>
2343         * conform/data/limits.h-data (CHARCLASS_NAME_MAX): Also expect for
2344         [XPG3 || XPG4].
2345         (NL_ARGMAX): Also expect for [XPG3].
2346         (NL_LANGMAX): Likewise.
2347         (NL_MSGMAX): Likewise.
2348         (NL_NMAX): Likewise.
2349         (NL_SETMAX): Likewise.
2350         (NL_TEXTMAX): Likewise.
2351         (NZERO): Likewise.
2352         (TMP_MAX): Likewise.
2353         * conform/Makefile (test-xfail-XPG3/limits.h/conform): Remove
2354         variable.
2356         * sysdeps/unix/sysv/linux/bits/socket.h (PF_KCM): New macro.
2357         (PF_MAX): Update value.
2358         (AF_KCM): New macro.
2359         (SOL_NETBEUI): Likewise.
2360         (SOL_LLC): Likewise.
2361         (SOL_DCCP): Likewise.
2362         (SOL_NETLINK): Likewise.
2363         (SOL_TIPC): Likewise.
2364         (SOL_RXRPC): Likewise.
2365         (SOL_PPPOL2TP): Likewise.
2366         (SOL_BLUETOOTH): Likewise.
2367         (SOL_PNPIPE): Likewise.
2368         (SOL_RDS): Likewise.
2369         (SOL_IUCV): Likewise.
2370         (SOL_CAIF): Likewise.
2371         (SOL_ALG): Likewise.
2372         (SOL_NFC): Likewise.
2373         (SOL_KCM): Likewise.
2374         (MSG_BATCH): New enum value and macro.
2376 2016-05-20  H.J. Lu  <hongjiu.lu@intel.com>
2378         [BZ #18185]
2379         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Don't limit threads
2380         sharing L2 cache to 2 for Knights Landing.
2382 2016-05-20  Joseph Myers  <joseph@codesourcery.com>
2384         * conform/data/ftw.h-data (struct FTW): Do not expect for [XPG3].
2385         (FTW_DP): Do not expect for [XPG3 || XPG4].
2386         (FTW_SL): Do not expect for [XPG3].
2387         (FTW_SLN): Likewise.
2388         (FTW_PHYS): Likewise.
2389         (FTW_MOUNT): Likewise.
2390         (FTW_DEPTH): Likewise.
2391         (FTW_CHDIR): Likewise.
2392         (nftw): Likewise.
2393         * conform/Makefile (test-xfail-XPG3/ftw.h/conform): Remove
2394         variable.
2396 2016-05-19  Rical Jasan  <ricaljasan@pacific.net>
2398         * manual/errno.texi: Fix various typos & grammar errors.
2400 2016-05-19  Rical Jasan  <ricaljasan@pacific.net>
2402         * manual/intro.texi: Fix duplicated typo.
2404 2016-05-19  Joseph Myers  <joseph@codesourcery.com>
2406         [BZ #13304]
2407         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Include <fenv.h>,
2408         <float.h>, <math_private.h> and <stdlib.h>.
2409         (add_split): New function.
2410         (mul_split): Likewise.
2411         (ext_val): New typedef.
2412         (store_ext_val): New function.
2413         (mul_ext_val): New function.
2414         (compare): New function.
2415         (add_split_ext): New function.
2416         (__fmal): After checking for Inf, NaN and zero, compute result as
2417         an exact sum of scaled double values in round-to-nearest before
2418         adding those up and adjusting for other rounding modes.
2419         * math/auto-libm-test-in: Remove xfail-rounding:ldbl-128ibm from
2420         tests of fma.
2421         * math/auto-libm-test-out: Regenerated.
2423 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
2425         [BZ #20119]
2426         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Correct Intel
2427         processor level type mask for CPUID with EAX == 11.
2429 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
2431         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Skip counting
2432         logical threads if the HTT bit is 0.
2433         * sysdeps/x86/cpu-features.h (bit_cpu_HTT): New.
2434         (index_cpu_HTT): Likewise.
2435         (reg_HTT): Likewise.
2437 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
2439         [BZ #20115]
2440         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S (__memset):
2441         Remove alignments on jump targets.
2443 2016-05-19  Joseph Myers  <joseph@codesourcery.com>
2445         * conform/data/pwd.h-data (endpwent): Do not expect for [XPG3].
2446         (getpwent): Likewise.
2447         (setpwent): Likewise.
2448         * conform/Makefile (test-xfail-XPG3/pwd.h/conform): Remove
2449         variable.
2451         * conform/data/search.h-data (insque): Do not expect for [XPG3].
2452         (remque): Likewise.
2453         * conform/Makefile (test-xfail-XPG3/search.h/conform): Remove
2454         variable.
2456 2016-05-18  Joseph Myers  <joseph@codesourcery.com>
2458         * math/libm-test.inc: Update comment not to refer to signs of NaNs
2459         not being tested.
2461 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
2463         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
2464         (__condvar_cleanup2): Remove JUMPTARGET from  _Unwind_Resume
2465         call.
2466         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
2467         (__condvar_cleanup1): Likewise.
2469 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
2471         * sysdeps/unix/sysv/linux/x86_64/cancellation.S (PTHREAD_UNWIND):
2472         New
2473         (__pthread_unwind): Renamed to ...
2474         (PTHREAD_UNWIND): This.
2475         (__pthread_enable_asynccancel): Replace
2476         JUMPTARGET(__pthread_unwind) with PTHREAD_UNWIND.
2478 2016-05-18  Joseph Myers  <joseph@codesourcery.com>
2480         * sysdeps/unix/sysv/linux/bits/sched.h [__USE_GNU]
2481         (CLONE_NEWCGROUP): New macro.
2483         * sysdeps/unix/sysv/linux/sys/quota.h [_LINUX_QUOTA_VERSION >= 2]
2484         (Q_GETNEXTQUOTA): New macro.
2486 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
2488         [BZ #19907]
2489         * benchtests/bench-memcpy.c (do_one_test): Clear the destination
2490         buffer updated by the previous run.
2491         * string/test-memcpy.c (do_one_test): Likewise.
2492         * benchtests/bench-memmove.c (do_one_test): Add a comment.
2493         * string/test-memmove.c (do_one_test): Likewise.
2495 2016-05-17  Joseph Myers  <joseph@codesourcery.com>
2497         [BZ #20094]
2498         * stdlib/stdlib.h (grantpt): Declare if [__USE_XOPEN_EXTENDED],
2499         not [__USE_XOPEN].
2500         (unlockpt): Likewise.
2501         (ptsname): Likewise.
2502         * conform/Makefile (test-xfail-XPG3/stdlib.h/conform): Remove
2503         variable.
2505         [BZ #20076]
2506         * io/sys/stat.h (S_IFSOCK): Define for [__USE_XOPEN_EXTENDED]
2507         instead of [__USE_UNIX98].
2508         (S_ISSOCK): Likewise.
2509         * conform/Makefile (test-xfail-XPG4/sys/stat.h/conform): Remove
2510         variable.
2512         [BZ #20074]
2513         * stdlib/stdlib.h (rand_r): Declare if [__USE_POSIX199506], not if
2514         [__USE_POSIX].
2515         * conform/Makefile (test-xfail-XPG4/stdlib.h/conform): Remove
2516         variable.
2518         [BZ #20051]
2519         * posix/unistd.h [__USE_XOPEN_EXTENDED && !__USE_UNIX98]
2520         (ttyslot): Do not declare.
2521         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && !__USE_XOPEN2K]
2522         (ttyslot): New prototype.
2523         * conform/Makefile (test-xfail-XPG4/unistd.h/conform): Remove
2524         variable.
2525         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
2527 2016-05-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
2529         * nptl/tst-cancel17.c (do_test): Wait for finishing aio_read(&a).
2531 2016-05-13  Florian Weimer  <fweimer@redhat.com>
2533         Fix race condition in tst-mallocfork2, use fewer resources.
2534         * malloc/tst-mallocfork2.c (sigusr1_handler): Do not send SIGSTOP
2535         to current process group.
2536         (signal_sender): Yield in the non-sleeping case.
2538 2016-05-13  Joseph Myers  <joseph@codesourcery.com>
2540         * conform/data/stdlib.h-data (a64l): Do not expect for [XPG3].
2541         (ecvt): Likewise.
2542         (fcvt): Likewise.
2543         (gcvt): Likewise.
2544         (getsubopt): Likewise.
2545         (grantpt): Likewise.
2546         (initstate): Likewise.
2547         (l64a): Likewise.
2548         (mktemp): Likewise.
2549         (mkstemp): Likewise.
2550         (ptsname): Likewise.
2551         (random): Likewise.
2552         (realpath): Likewise.
2553         (setstate): Likewise.
2554         (srandom): Likewise.
2555         (ttyslot): Likewise.
2556         (unlockpt): Likewise.
2557         (valloc): Likewise.
2559         * conform/data/string.h-data (strdup): Do not expect for [XPG3].
2560         * conform/Makefile (test-xfail-XPG3/string.h/conform): Remove
2561         variable.
2563 2016-05-13  H.J. Lu  <hongjiu.lu@intel.com>
2565         [BZ #20072]
2566         * sysdeps/i386/dl-machine.h (dl_platform_init): Call
2567         init_cpu_features only if SHARED is defined.
2568         * sysdeps/x86_64/dl-machine.h (dl_platform_init): Likewise.
2570 2016-05-13  H.J. Lu  <hongjiu.lu@intel.com>
2572         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Check and support
2573         non-inclusive caches on Intel processors.
2575 2016-05-13  Florian Weimer  <fweimer@redhat.com>
2577         * malloc/malloc.c (dumped_main_arena_start)
2578         (dumped_main_arena_end): New variables.
2579         (DUMPED_MAIN_ARENA_CHUNK): New macro.
2580         (do_check_chunk): Skip dumped fake mmapped chunks.
2581         (munmap_chunk): Likewise.
2582         (__libc_free): Do not adjust statistics for fake mmapped chunks.
2583         (__libc_realloc): Adjust hardening check.  Always copy dumped fake
2584         mmapped chunks.
2585         * malloc/hooks.c (__malloc_set_state): Do not update main_arena.
2586         Mark dumped chunks as using mmap.  Update dumped_main_arena_start
2587         and dumped_main_arena_end to cover the dumped heap.
2589 2016-05-12  Joseph Myers  <joseph@codesourcery.com>
2591         * conform/data/time.h-data (getdate_err): Do not expect for
2592         [XPG3].
2593         (getdate): Likewise.
2594         * conform/Makefile (test-xfail-XPG3/time.h/conform): Remove
2595         variable.
2597         * conform/data/unistd.h-data (F_LOCK): Do not expect for [XPG3].
2598         (F_ULOCK): Likewise.
2599         (F_TEST): Likewise.
2600         (F_TLOCK): Likewise.
2601         (useconds_t): Likewise.
2602         (intptr_t): Do not expect for [XPG3] or [XPG4].
2603         (brk): Do not expect for [XPG3]
2604         (fchown): Likewise.
2605         (fchdir): Likewise.
2606         (ftruncate): Likewise.
2607         (getdtablesize): Likewise.
2608         (gethostid): Likewise.
2609         (getpagesize): Likewise.
2610         (getpgid): Likewise.
2611         (getsid): Likewise.
2612         (getwd): Likewise.
2613         (lchown): Likewise.
2614         (lockf): Likewise.
2615         (readlink): Likewise.
2616         (sbrk): Likewise.
2617         (setpgrp): Likewise.
2618         (setregid): Likewise.
2619         (setreuid): Likewise.
2620         (symlink): Likewise.
2621         (sync): Likewise.
2622         (truncate): Likewise.
2623         (ualarm): Likewise.
2624         (usleep): Likewise.
2625         (vfork): Likewise.
2626         * conform/Makefile (test-xfail-XPG3/unistd.h/conform): Remove
2627         variable.
2629         [BZ #20054]
2630         * posix/unistd.h (gethostname): Declare if [__USE_XOPEN_EXTENDED],
2631         not [__USE_UNIX98].
2632         * conform/data/unistd.h-data (gethostname): Do not expect for
2633         [XPG3].
2635         * conform/data/fcntl.h-data [!POSIX] (S_IFMT): Do not expect.
2636         [!POSIX] (S_IFBLK): Likewise.
2637         [!POSIX] (S_IFCHR): Likewise.
2638         [!POSIX] (S_IFIFO): Likewise.
2639         [!POSIX] (S_IFREG): Likewise.
2640         [!POSIX] (S_IFDIR): Likewise.
2641         [!POSIX] (S_IFLNK): Likewise.
2642         [!POSIX] (S_IFSOCK): Likewise.
2643         * conform/Makefile (test-xfail-XPG3/fcntl.h/conform): Remove
2644         variable.
2645         (test-xfail-XPG4/fcntl.h/conform): Likewise.
2647 2016-05-12  Wilco Dijkstra  <wdijkstr@arm.com>
2649         * sysdeps/aarch64/memset.S (__memset):
2650         Rewrite of optimized memset.
2652 2016-05-12  Florian Weimer  <fweimer@redhat.com>
2654         [BZ #19703]
2655         Partially async-signal-safe fork for single-threaded processes.
2656         * sysdeps/nptl/fork.c (__libc_fork): Introduce multiple_threads
2657         variable.  Do not acquire and reset/release malloc and libio locks
2658         in single-threaded processes.
2659         * malloc/tst-mallocfork2.c: New file.
2660         * malloc/Makefile (tests): Add it.
2662 2016-05-12  Florian Weimer  <fweimer@redhat.com>
2664         * sysdeps/posix/getaddrinfo.c (gaih_inet_serv): Add tmpbuf
2665         argument.  Use scratch buffer instead of extend_alloca.
2666         (gethosts): Use scratch buffer instead of extend_alloca.
2667         (gaih_inet): Add tmpbuf argument.  Use scratch buffer instead of
2668         extend_alloca.
2669         (getaddrinfo): Allocate scratch buffer and pass it to gaih_inet.
2671 2016-05-11  Joseph Myers  <joseph@codesourcery.com>
2673         [BZ #20055]
2674         * termios/termios.h (pid_t): Define for [__USE_XOPEN_EXTENDED]
2675         instead of [__USE_UNIX98].
2676         (tcgetsid): Declare for [__USE_XOPEN_EXTENDED] instead of
2677         [__USE_UNIX98].
2678         * conform/data/termios.h-data (tcgetsid): Do not expect for
2679         [XPG3].
2680         * conform/Makefile (test-xfail-XPG3/termios.h/conform): Remove
2681         variable.
2682         (test-xfail-XPG4/termios.h/conform): Likewise.
2684 2016-05-11  Florian Weimer  <fweimer@redhat.com>
2686         Do not use mcheck in localedef.
2687         * locale/programs/localedef.c (turn_on_mcheck)
2688         (__malloc_initialize_hook): Remove.
2690 2016-05-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
2692         * sysdeps/s390/s390-32/Makefile (pic-ccflag): Remove.
2693         * sysdeps/s390/s390-64/Makefile: Likewise.
2695 2016-05-11  H.J. Lu  <hongjiu.lu@intel.com>
2697         * sysdeps/i386/i686/multiarch/Makefile (gen-as-const-headers):
2698         Remove ifunc-defines.sym.
2699         * sysdeps/x86_64/multiarch/Makefile (gen-as-const-headers):
2700         Likewise.
2701         * sysdeps/i386/i686/multiarch/ifunc-defines.sym: Removed.
2702         * sysdeps/x86/rtld-global-offsets.sym: Likewise.
2703         * sysdeps/x86_64/multiarch/ifunc-defines.sym: Likewise.
2704         * sysdeps/x86/Makefile (gen-as-const-headers): Remove
2705         rtld-global-offsets.sym.
2706         * sysdeps/x86_64/multiarch/ifunc-defines.sym: Merged with ...
2707         * sysdeps/x86/cpu-features-offsets.sym: This.
2708         * sysdeps/x86/cpu-features.h: Include <cpu-features-offsets.h>
2709         instead of <ifunc-defines.h> and <rtld-global-offsets.h>.
2711 2016-05-10  Joseph Myers  <joseph@codesourcery.com>
2713         [BZ #20073]
2714         * io/sys/stat.h (fchmod): Declare for
2715         [__USE_POSIX199309 || __USE_XOPEN_EXTENDED], not [__USE_POSIX].
2716         * conform/Makefile (test-xfail-XPG3/sys/stat.h/conform): Remove
2717         variable.
2719         * conform/data/sys/stat.h-data [XPG3] (S_IFLNK): Do not expect.
2720         [XPG3] (S_IFSOCK): Likewise.
2721         [XPG3] (S_ISVTX): Likewise.
2722         [XPG3] (S_ISLNK): Likewise.
2723         [XPG3] (S_ISSOCK): Likewise.
2724         [XPG3] (fchmod): Likewise.
2725         [XPG3] (lstat): Likewise.
2726         [XPG3] (mknod): Likewise.
2728         * conform/data/sys/stat.h-data (st_blksize): Do not expect for
2729         [XPG3].  Expect type long and XFAIL for [XPG4].
2730         (st_blocks): Likewise.
2732         [BZ #20044]
2733         * posix/unistd.h [__USE_UNIX98 && !__USE_XOPEN2K]
2734         (pthread_atfork): New prototype.
2735         * conform/Makefile (test-xfail-UNIX98/unistd.h/conform): Remove
2736         variable.
2738         [BZ #20043]
2739         * posix/unistd.h [__USE_XOPEN && !__USE_XOPEN2K] (cuserid): New
2740         prototype.
2742 2016-05-10  Florian Weimer  <fweimer@redhat.com>
2744         [BZ #20017]
2745         * resolv/res_debug.c (p_secstodate): Call __gmtime_r instead of
2746         gmtime.
2748 2016-05-10  Florian Weimer  <fweimer@redhat.com>
2750         [BZ #19994]
2751         * sysdeps/posix/getaddrinfo.c (gethosts): Restore RES_USE_INET6
2752         flag in _res.options.
2754 2016-05-09  Joseph Myers  <joseph@codesourcery.com>
2756         * conform/data/sys/types.h-data (blkcnt_t): Do not expect for
2757         [XPG3 || XPG4].
2758         (blksize_t): Likewise.
2759         (clockid_t): Likewise.
2760         * conform/Makefile (test-xfail-XPG3/sys/types.h/conform): Remove
2761         variable.
2762         (test-xfail-XPG4/sys/types.h/conform): Likewise.
2764 2016-05-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
2766         * sysdeps/unix/sysv/linux/s390/init-first.c:
2767         Add VDSO_SYMBOL(getcpu).
2768         (_libc_vdso_platform_setup): Initialize VDSO_SYMBOL(getcpu).
2769         * sysdeps/unix/sysv/linux/s390/libc-vdso.h:
2770         Add VDSO_SYMBOL(getcpu).
2771         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h:
2772         New define HAVE_GETCPU_VSYSCALL.
2773         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
2775 2016-05-08  H.J. Lu  <hongjiu.lu@intel.com>
2777         * sysdeps/i386/cacheinfo.c: Include <sysdeps/x86/cacheinfo.c>
2778         instead of <sysdeps/x86_64/cacheinfo.c>.
2779         * sysdeps/x86_64/cacheinfo.c: Moved to ...
2780         * sysdeps/x86/cacheinfo.c: Here.
2782 2016-05-04  Florian Weimer  <fweimer@redhat.com>
2784         * malloc/malloc-internal.h: Adjust header file guard.
2786 2016-05-04  Florian Weimer  <fweimer@redhat.com>
2788         [BZ #19787]
2789         * inet/getnameinfo.c (check_sprintf_result): New function.
2790         (CHECKED_SNPRINTF): New macro.
2791         (gni_host_inet_numeric): Use CHECKED_SNPRINTF to write the scope
2792         to the host buffer.
2793         (gni_host_local): Use checked_copy to copy the host name.
2794         (gni_serv_inet): Use CHECKED_SNPRINTF to write the service name.
2795         (gni_serv_local): Use checked_copy to copy the service name.
2796         (getnameinfo): Remove unnecessary truncation of result buffers.
2798 2016-05-04  Florian Weimer  <fweimer@redhat.com>
2800         * inet/getnameinfo.c (gni_host_inet_numeric): Return EAI_OVERFLOW
2801         in case of inet_ntop failure.
2803 2016-05-04  Florian Weimer  <fweimer@redhat.com>
2805         * inet/getnameinfo.c (gni_host_inet_name): Use temporaries to
2806         avoid long lines.
2807         (gni_host_inet_numeric): Likewise.  Reduce scope of local
2808         variables.
2809         (gni_host_inet, gni_host_local): Add comment.
2810         (gni_host): Add comment.  Use temporary to avoid long lines.
2812 2016-05-04  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
2814         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Fix use of condition
2815         registers specifiers where general purpose registers specifiers should
2816         have been used.
2818 2016-05-04  Florian Weimer  <fweimer@redhat.com>
2820         [BZ #19779]
2821         CVE-2016-1234
2822         Avoid copying names of directory entries.
2823         * posix/glob.c (DIRENT_MUST_BE, DIRENT_MIGHT_BE_SYMLINK)
2824         (DIRENT_MIGHT_BE_DIR, CONVERT_D_INO, CONVERT_D_TYPE)
2825         (CONVERT_DIRENT_DIRENT64, REAL_DIR_ENTRY): Remove macros.
2826         (struct readdir_result): New type.
2827         (D_TYPE_TO_RESULT, D_INO_TO_RESULT, READDIR_RESULT_INITIALIZER)
2828         (GL_READDIR): New macros.
2829         (readdir_result_might_be_symlink, readdir_result_might_be_dir)
2830         (convert_dirent, convert_dirent64): New functions.
2831         (glob_in_dir): Use struct readdir_result.  Call convert_dirent or
2832         convert_dirent64.  Adjust references to the readdir result.
2833         * sysdeps/unix/sysv/linux/i386/glob64.c:
2834         (convert_dirent, GL_READDIR): Redefine for second file inclusion.
2835         * posix/bug-glob2.c (LONG_NAME): Define.
2836         (filesystem): Add LONG_NAME.
2837         (my_DIR): Increase the size of room_for_dirent.
2839 2016-05-03  Joseph Myers  <joseph@codesourcery.com>
2841         [BZ #20041]
2842         * misc/sys/select.h (__need_timespec): Only define if
2843         [__USE_XOPEN2K].
2844         * conform/Makefile (test-xfail-XPG4/sys/time.h/conform): Remove
2845         variable.
2846         (test-xfail-XPG4/utmpx.h/conform): Likewise.
2847         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
2848         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
2850 2016-05-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2851             Segher Boessenkool  <segher@gcc.gnu.org>
2853         [BZ #20004]
2854         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S:
2855         (__novec_swapcontext): Add missing load.
2857 2016-05-02  Joseph Myers  <joseph@codesourcery.com>
2859         [BZ #20023]
2860         * io/fcntl.h [__USE_XOPEN && !__USE_XOPEN2K8]: Do not include
2861         <time.h>.
2862         * conform/Makefile (test-xfail-UNIX98/fcntl.h/conform): Remove
2863         variable.
2864         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
2866 2016-05-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2868         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone): Fix
2869         flags CLONE_VM compare.
2871 2016-05-02  Florian Weimer  <fweimer@redhat.com>
2873         [BZ #20031]
2874         * hesiod/hesiod.c (get_txt_records): Return error if TXT record is
2875         completely empty.
2877 2016-05-02  Florian Weimer  <fweimer@redhat.com>
2879         [BZ #19573]
2880         * hesiod/Makefile (libnss_hesiod-routines): Remove hesiod-init.
2881         * hesiod/nss_hesiod/hesiod-init.c: Remove file.
2882         * hesiod/nss_hesiod/nss_hesiod.h: Likewise.
2883         * hesiod/hesiod.h (__hesiod_res_get, __hesiod_res_set): Remove.
2884         (hesiod_init, hesiod_end, hesiod_to_bind, hesiod_resolve)
2885         (hesiod_free_list): Mark as hidden.
2886         * hesiod/hesiod_p (struct hesiod_p): Remove res, free_res,
2887         res_set, res_get.
2888         * hesiod/hesiod.c: Remove unnecessary forward declarations.
2889         (init, __hesiod_res_get, __hesiod_res_set): Remove.
2890         (hesiod_init): Remove obsolete res_ninit call.
2891         (hesiod_end): Do not free resolver state.  Do not invoke callback.
2892         (hesiod_bind): Do not call init.
2893         (get_txt_records): Use res_mkquery, res_send instead of
2894         res_nmkquery, res_nsend.
2895         * hesiod/nss_hesiod/hesiod-grp.c (lookup): Call hesiod_init
2896         instead of _nss_hesiod_init.
2897         (_nss_hesiod_initgroups_dyn): Likewise.
2898         * hesiod/nss_hesiod/hesiod-proto.c (lookup): Likewise.
2899         * hesiod/nss_hesiod/hesiod-pwd.c (lookup): Likewise.
2900         * hesiod/nss_hesiod/hesiod-service.c (lookup): Likewise.
2902 2016-05-02  Florian Weimer  <fweimer@redhat.com>
2904         * hesiod/hesiod_p.h (DEF_RHS): Remove.
2905         * hesiod/hesiod.c (hesiod_init): Remove code for handling DEF_RHS.
2907 2016-05-02  Florian Weimer  <fweimer@redhat.com>
2909         * hesiod/hesiod.h: Remove RCS keyword.
2910         * hesiod/hesiod_p.h: Likewise.
2912         * hesiod/hesiod.c: Likewise.
2914 2016-05-01  Arnas Udovičius  <arnas.udovicius@gmail.com>
2916         [BZ #12450]
2917         * locale/iso-639.def: Add Samogitian/sgs.
2919 2016-04-30  Andreas Schwab  <schwab@linux-m68k.org>
2921         * sysdeps/m68k/Makefile (CFLAGS-gmon-start.c): Define.
2923         * sysdeps/unix/sysv/linux/m68k/clone.S: Localize labels.
2925 2016-04-29  Stephen Gallagher  <sgallagh@redhat.com>
2926             Carlos O'Donell  <carlos@redhat.com>
2928         [BZ #19072]
2929         * grp/Makefile (headers): Add grp-merge.h
2930         (routines): Add grp-merge.
2931         * grp/getgrgid_r.c: Include grp-merge.h.
2932         (DEEPCOPY_FN): Define.
2933         (MERGE_FN): Define.
2934         * grp/getgrname_r.c: Include grp-merge.h.
2935         (DEEPCOPY_FN): Define.
2936         (MERGE_FN): Define.
2937         * grp/grp-merge.c: New file.
2938         * grp/grp-merge.h: New file.
2939         * include/grp-merge.h: New file.
2940         * grp/Versions: Define __merge_grp@GLIBC_PRIVATE, and
2941         __copy_grp@GLIBC_PRIVATE.
2942         * manual/nss.texi (Actions in the NSS configuration): Describe
2943         return, continue, and merge.
2944         * nscd/getgrgid_r.c: Include grp/grp-merge.h.
2945         (DEEPCOPY_FN): Define.
2946         (MERGE_FN): Define.
2947         * nscd/getgrnam_r.c: Include grp/grp-merge.h.
2948         (DEEPCOPY_FN): Define.
2949         (MERGE_FN): Define.
2950         * nss/getXXbyYY_r.c [!DEEPCOPY_FN]: Define __copy_einval.
2951         [!MERGE_FN]: Define __merge_einval.
2952         (CHECK_MERGE): Define.
2953         (REENTRANT_NAME): Process merge if do_merge is true.
2954         * nss/getnssent_r.c (__nss_setent): Process NSS_ACTION_MERGE.
2955         (__nss_getent_r): Likewise.
2956         * nss/nsswitch.c (nss_parse_service_list): Likewise.
2957         * nss/nsswitch.h (lookup_actions): Define NSS_ACTION_MERGE.
2959 2016-04-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2961         [BZ #20012]
2962         * libio/fmemopen.c (fmemopen_read): Use buffer maximum position, not
2963         length to calculate the buffer to read.
2964         (fmemopen_write): Set the buffer position based on bytes written.
2965         (fmemopen_seek): Return EINVAL for invalid whence modes.
2967         [BZ #19957]
2968         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == nptl] (test): Remove
2969         tst-getpid2.
2970         (test): Add tst-clone2.
2971         * sysdeps/unix/sysv/linux/tst-clone2.c: New file.
2972         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Do not change
2973         pid/tid fields for CLONE_VM.
2974         * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise.
2975         * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise.
2976         * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise.
2977         * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone): Likewise,
2978         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Likewise.
2979         * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise.
2980         * sysdeps/unix/sysv/linux/m68k/clone.S (__clone): Likewise.
2981         * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise.
2982         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone):
2983         Likewise.
2984         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
2985         Likewise.
2986         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (__clone): Likewise.
2987         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Likewise.
2988         * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Likewise.
2989         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
2990         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise.
2991         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise.
2992         * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise.
2993         * sysdeps/unix/sysv/linux/tst-getpid2.c: Remove file.
2995 2016-04-29  Florian Weimer  <fweimer@redhat.com>
2997         [BZ #19642]
2998         * inet/getnameinfo.c (gni_host_inet_name, gni_host_inet_numeric)
2999         (gni_host_inet, gni_host_local, gni_host, gni_serv_inet)
3000         (gni_serv_local, gni_serv): New functions extracted from
3001         getnameinfo.
3002         (getnameinfo): Call gni_host and gni_serv to perform the
3003         processing.  Always free scratch buffer.
3005 2016-04-29  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
3007         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Call memset to pad the
3008         remaining bytes in the dest string, with zeros.
3010 2016-04-29  Florian Weimer  <fweimer@redhat.com>
3012         [BZ #20010]
3013         CVE-2016-3706
3014         * sysdeps/posix/getaddrinfo.c
3015         (convert_hostent_to_gaih_addrtuple): New function.
3016         (gethosts): Call convert_hostent_to_gaih_addrtuple.
3017         (gaih_inet): Use convert_hostent_to_gaih_addrtuple to convert
3018         AF_INET data.
3020 2016-04-29  Florian Weimer  <fweimer@redhat.com>
3022         glob: Simplify and document the interface for the GLOB_ALTDIRFUNC
3023         callback function gl_readdir.
3024         * posix/glob.c (NAMELEN, CONVERT_D_NAMLEN): Remove.
3025         (CONVERT_DIRENT_DIRENT64): Use strcpy instead of memcpy.
3026         (glob_in_dir): Remove len.  Use strdup instead of malloc and
3027         memcpy to copy the name.
3028         * manual/pattern.texi (Calling Glob): Document requirements for
3029         implementations of the gl_readdir callback function.
3030         * manual/examples/mkdirent.c: New example.
3031         * posix/bug-glob2.c (my_readdir): Set d_ino to 1 unconditionally,
3032         per the manual guidance.
3033         * posix/tst-gnuglob.c (my_readdir): Likewise.
3035 2016-04-28  Joseph Myers  <joseph@codesourcery.com>
3037         [BZ #20014]
3038         * libio/stdio.h (getc_unlocked): Declare if [__USE_POSIX199506],
3039         not [__USE_POSIX].
3040         (getchar_unlocked): Likewise.
3041         (putc_unlocked): Likewise.
3042         (putchar_unlocked): Likewise.
3043         (flockfile): Likewise.
3044         (ftrylockfile): Likewise.
3045         (funlockfile): Likewise.
3046         * conform/Makefile (test-xfail-XPG3/stdio.h/conform): Remove
3047         variable.
3048         (test-xfail-XPG4/stdio.h/conform): Likewise.
3050         * conform/data/langinfo.h-data [XPG3 || XPG4 || UNIX98] (YESSTR):
3051         Expect constant.
3052         [XPG3 || XPG4 || UNIX98] (NOSTR): Likewise.
3053         * conform/Makefile (test-xfail-XPG3/langinfo.h/conform): Remove
3054         variable.
3055         (test-xfail-XPG4/langinfo.h/conform): Likewise.
3056         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
3058         * libio/stdio.h (off_t): Also define if [__USE_UNIX98].
3059         [__USE_LARGEFILE64] (off64_t): Likewise.
3060         * conform/Makefile (test-xfail-UNIX98/stdio.h/conform): Remove
3061         variable.
3063 2016-04-28  Florian Weimer  <fweimer@redhat.com>
3065         * inet/getnameinfo.c (getnameinfo): Do not preserve errno.
3067 2016-04-28  Florian Weimer  <fweimer@redhat.com>
3069         * resolv/inet_addr.c: Reindent preprocessor conditionals.
3070         * resolv/res_init.c: Likewise.
3071         * resolv/res_mkquery.c: Likewise.
3073 2016-04-28  Florian Weimer  <fweimer@redhat.com>
3075         * resolv/res_init.c (isascii): Do not define.  Use definition in
3076         <ctype.h>.
3077         * resolv/gethnamaddr.c: Remove USE_OPTIONS_H conditional.
3078         (LOG_AUTH): Remove.
3079         (SPRINTF): Remove, adjust caller.
3080         (MULTI_PTRS_ARE_ALIASES): Remove, always defined.
3082 2016-04-28  Florian Weimer  <fweimer@redhat.com>
3084         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Remove
3085         SUNSECURITY conditional.
3086         * resolv/gethnamaddr.c (gethostbyaddr): Likewise.
3088 2016-04-28  Florian Weimer  <fweimer@redhat.com>
3090         * resolv/arpa/nameser.h: Include <sys/types.h> unconditionally.
3091         * resolv/gethnamaddr.c: Use include files from conf/portability.h.
3092         Remove BSD-related preprocessor conditionals.
3093         * conf/portability.h: Remove.
3095 2016-04-28  Florian Weimer  <fweimer@redhat.com>
3097         * resolv/resolv.h: Remove __BIND_NOSTATIC conditional.
3098         * resolv/res_data.c: Likewise.
3100 2016-04-28  Florian Weimer  <fweimer@redhat.com>
3102         * resolv/res_comp.c: Remove code conditional on __ultrix__.
3103         * resolv/res_data.c: Remove code conditional on ultrix.
3105 2016-04-28  Florian Weimer  <fweimer@redhat.com>
3107         * resolv/res_init.c (RFC1535): Do not define.  Remove
3108         RFC1535 preprocessor conditionals.
3109         * resolv/README: Update.  Do not claim strict RFC 1535 compliance
3110         because there configuration options which make the resolver
3111         behavior different.
3113 2016-04-28  Florian Weimer  <fweimer@redhat.com>
3115         * resolv/gethnamaddr.c (RESOLVSORT): Do not define.  Remove
3116         RESOLVSORT preprocessor conditionals.
3117         * resolv/nss_dns/dns-host.c: Likewise.
3118         * resolv/res_init.c: Likewise.
3120 2016-04-28  Florian Weimer  <fweimer@redhat.com>
3122         * resolv/res_data.c: Remove code conditional on BIND_UPDATE.  It
3123         is never defined.
3125 2016-04-28  Florian Weimer  <fweimer@redhat.com>
3127         * inet/inet_lnaof.c: Remove SCSS keyword.
3128         * inet/inet_mkadr.c: Likewise.
3129         * inet/inet_net.c: Likewise.
3130         * inet/inet_netof.c: Likewise.
3131         * inet/rcmd.c: Likewise.
3132         * inet/rexec.c: Likewise.
3133         * inet/ruserpass.c: Likewise.
3135 2016-04-28  Florian Weimer  <fweimer@redhat.com>
3137         * resolv/inet_addr.c: Remove _LIBC conditionals.
3138         * resolv/res_data.c: Likewise.
3139         * resolv/res_init.c: Likewise.
3140         * resolv/res_mkquery.c: Likewise.
3141         * resolv/res_libc.c: Update comment.
3142         * resolv/README: Update.
3144 2016-04-28  Florian Weimer  <fweimer@redhat.com>
3146         * resolv/gethnamaddr.c: Remove SCSS keyword.
3147         * resolv/herror.c: Likewise.
3148         * resolv/inet_addr.c: Likewise.
3149         * resolv/inet_net_ntop.c: Likewise.
3150         * resolv/inet_net_pton.c: Likewise.
3151         * resolv/inet_neta.c: Likewise.
3152         * resolv/inet_ntop.c: Likewise.
3153         * resolv/inet_pton.c: Likewise.
3154         * resolv/ns_date.c: Remove RCS keyword.
3155         * resolv/ns_name.c: Likewise.
3156         * resolv/ns_netint.c: Likewise.
3157         * resolv/ns_parse.c: Likewise.
3158         * resolv/ns_print.c: Likewise.
3159         * resolv/ns_samedomain.c: Likewise.
3160         * resolv/ns_ttl.c: Likewise.
3161         * resolv/nsap_addr.c: Likewise.
3162         * resolv/res_comp.c: Remove SCSS and RCS keyword.
3163         * resolv/res_data.c: Remove RCS keyword.
3164         * resolv/res_debug.c: Remove SCSS and RCS keyword.
3165         * resolv/res_init.c: Likewise.
3166         * resolv/res_mkquery.c: Likewise.
3167         * resolv/res_query.c: Likewise.
3168         * resolv/res_send.c: Likewise.
3170 2016-04-27  Joseph Myers  <joseph@codesourcery.com>
3172         * conform/data/stdio.h-data (fdopen): Expect also for
3173         [XPG3 || XPG4].
3175         * conform/data/stdio.h-data (flockfile): Also expect for [UNIX98].
3176         (fseeko): Likewise.
3177         (ftello): Likewise.
3178         (ftrylockfile): Likewise.
3179         (funlockfile): Likewise.
3180         (getc_unlocked): Likewise.
3181         (getchar_unlocked): Likewise.
3182         (putc_unlocked): Likewise.
3183         (putchar_unlocked): Likewise.
3185 2016-04-27  Florian Weimer  <fweimer@redhat.com>
3187         [BZ #19868]
3188         * resolv/nss_dns/dns-network.c (getanswer_r): Implement additional
3189         DNS packet syntax checks (which were not needed before).  Skip
3190         over non-PTR records.
3192 2016-04-27  Florian Weimer  <fweimer@redhat.com>
3194         * resolv/nss_dns/dns-network.c (offsetof): Remove macro
3195         definition.  Include <stddef.h> instead.
3197 2016-04-27  Florian Weimer  <fweimer@redhat.com>
3199         [BZ #19831]
3200         * resolv/nss_dns/dns-host.c (rrtype_to_rdata_length): New
3201         function.
3202         (getanswer_r): Check RDATA length against RRTYPE and QTYPE.
3203         (gaih_getanswer_slice): Check RDATA length against RRTYPE.
3205 2016-04-27  Florian Weimer  <fweimer@redhat.com>
3207         [BZ #19862]
3208         * resolv/nss_dns/dns-host.c (AskedForGot): Remove.
3209         (getanswer_r): Do not call syslog.
3210         (gaih_getanswer_slice): Likewise.
3211         * resolv/gethnamaddr.c (AskedForGot): Remove.
3212         (getanswer): Do not call syslog.
3213         (gethostbyaddr): Likewise.
3215 2016-04-27  Joseph Myers  <joseph@codesourcery.com>
3217         * conform/data/signal.h-data (union sigval): Expect also if
3218         [XOPEN2K].
3219         (struct sigevent): Likewise.
3220         (SIGEV_NONE): Likewise.
3221         (SIGEV_SIGNAL): Likewise.
3222         (SIGEV_THREAD): Likewise.
3223         (SIGRTMIN): Likewise.
3224         (SIGRTMAX): Likewise.
3225         * conform/Makefile (test-xfail-XOPEN2K/aio.h/conform): Remove
3226         variable.
3227         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
3229 2016-04-27  Florian Weimer  <fweimer@redhat.com>
3231         [BZ #19830]
3232         * resolv/nss_dns/dns-host.c (getanswer_r): Check RDATA length.
3233         (gaih_getanswer_slice): Likewise.
3234         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Likewise.
3235         Also check for availability of RR metadata.
3237 2016-04-27  Florian Weimer  <fweimer@redhat.com>
3239         [BZ #19825]
3240         * resolv/res_send.c (send_vc): Remove early *resplen2
3241         initialization.  Set *resplen2 on socket error.  Call
3242         close_and_return_error for other errors.
3244 2016-04-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
3246         * sysdeps/unix/sysv/linux/netiucv/iucv.h
3247         (SOL_IUCV, SO_IPRMDATA_MSG, SO_MSGLIMIT, SO_MSGSIZE)
3248         (SCM_IUCV_TRGCLS): New define.
3250 2016-04-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3252         [BZ #20005]
3253         * libio/fmemopen.c (fmemopen_write): Update internal position after
3254         write.
3255         * stdio-common/Makefile (tests): Add tst-fmemopen4.c.
3256         * stdio-common/tst-fmemopen4.c: New file..
3258 2016-04-26  Joseph Myers  <joseph@codesourcery.com>
3260         [BZ #19996]
3261         * locale/langinfo.h (nl_langinfo_l): Declare if [__USE_XOPEN2K8],
3262         not [__USE_XOPEN2K].
3263         * conform/Makefile (test-xfail-XOPEN2K/langinfo.h/conform): Remove
3264         variable.
3266         * conform/data/stdarg.h-data [XOPEN2K] (va_copy): Require macro.
3267         * conform/Makefile (test-xfail-XOPEN2K/stdarg.h/conform): Remove
3268         variable.
3270         * libio/stdio.h (off_t): Define if [__USE_XOPEN2K], not
3271         [__USE_XOPEN2K8].
3272         [__USE_LARGEFILE64] (off64_t): Likewise.
3273         * conform/Makefile (test-xfail-XOPEN2K/stdio.h/conform): Remove
3274         variable.
3276 2016-04-25  Joseph Myers  <joseph@codesourcery.com>
3278         [BZ #19989]
3279         * libio/stdio.h (cuserid): Do not declare if
3280         [__USE_XOPEN2K && !__USE_GNU].
3281         * conform/Makefile (test-xfail-XOPEN2K8/stdio.h/conform): Remove
3282         variable.
3284 2016-04-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3286         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
3287         (sysdep_routines): Add P8 and PPC64 strcspn targets.
3288         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
3289         (__libc_ifunc_impl_list): Add entries for P8 and PPC64
3290         ifunc'ed strcspn.
3291         * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S:
3292         [EALIGN]: Removed.
3293         [END]: Likewise
3294         [STRSPN]: Define instead of the above to control symbol name.
3295         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power8.S:
3296         New file.
3297         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c:
3298         Likewise.
3299         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c:
3300         Likewise.
3301         * sysdeps/powerpc/powerpc64/power8/strcspn.S:
3302         Likewise.
3303         * sysdeps/powerpc/powerpc64/power8/strspn.S:
3304         [INITIAL_MASK]: New macro.
3305         [STRCSPN]: Likewise.
3306         [UPDATE_MASK]: Likewise.
3307         [USE_AS_STRCSPN]: Lisewise.
3309 2016-04-25  Florian Weimer  <fweimer@redhat.com>
3311         [BZ #19931]
3312         * stdio-common/tst-vfprintf-width-prec.c: New file.
3313         * stdio-common/Makefile (tests): Add tst-vfprintf-width-prec.
3314         (tests-special): Add tst-vfprintf-width-prec-mem.out.
3315         (generated): Add mtrace-related files.
3316         (tst-vfprintf-width-prec-ENV): Set MALLOC_TRACE.
3317         (tst-%-mem.out): New pattern rule, replaces
3318         tst-printf-bz18872-mem.out.
3319         * stdio-common/vfprintf.c (vfprintf): When handling a precision
3320         specifier, deallocate any previously allocated work buffer.
3322 2016-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
3324         * sysdeps/unix/sysv/linux/nios2/setcontext.S (__startcontext):
3325         Add nop before __startcontext, add explaining comments.
3327 2016-04-25  Samuel thibault  <samuel.thibault@ens-lyon.org>
3329         RFC2292 macros were obsoleted by RFC3542, and should not be exposed
3330         any more. Notably since IPV6_PKTINFO has been reintroduced with a
3331         completely different API.
3333         * bits/in.h (IPV6_PKTINFO): Rename to IPV6_2292PKTINFO.
3334         (IPV6_HOPOPTS): Rename to IPV6_2292HOPOPTS.
3335         (IPV6_DSTOPTS): Rename to IPV6_2292DSTOPTS.
3336         (IPV6_RTHDR): Rename to IPV6_2292RTHDR.
3337         (IPV6_PKTOPTIONS): Rename to IPV6_2292PKTOPTIONS.
3338         (IPV6_HOPLIMIT): Rename to IPV6_2292HOPLIMIT.
3339         (IPV6_RECVPKTINFO, IPV6_PKTINFO, IPV6_RECVHOPLIMIT, IPV6_HOPLIMIT,
3340         IPV6_RECVHOPOPTS, IPV6_HOPOPTS, IPV6_RTHDRDSTOPTS, IPV6_RECVRTHDR,
3341         IPV6_RTHDR, IPV6_RECVDSTOPTS, IPV6_DSTOPTS, IPV6_RECVPATHMTU,
3342         IPV6_PATHMTU, IPV6_DONTFRAG): New macros.
3344 2016-04-23  H.J. Lu  <hongjiu.lu@intel.com>
3346         * elf/dl-minimal.c (__libc_memalign): Mmap one extra page.
3348 2016-04-23  Mike Frysinger  <vapier@gentoo.org>
3350         * locale/programs/ld-time.c (time_finish): Set week_1stweek to 7
3351         when it is the default of 0.
3353 2016-04-22  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
3355         * sysdeps/powerpc/locale-defines.sym:  Add new macros.
3356         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
3357         (sysdep_routines): Add new strcasestr targets.
3358         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
3359         (__libc_ifunc_impl_list): Likewise.
3360         * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: New file.
3361         * sysdeps/powerpc/powerpc64/multiarch/strcasestr-ppc64.c: New file.
3362         * sysdeps/powerpc/powerpc64/multiarch/strcasestr.c: New file.
3363         * sysdeps/powerpc/powerpc64/power8/Makefile:
3364         New file to add strcasestr-ppc64 to sysdep_routines.
3365         * sysdeps/powerpc/powerpc64/power8/strcasestr-ppc64.c: New file.
3366         * sysdeps/powerpc/powerpc64/power8/strcasestr.S: New file.
3368 2016-04-20  Siddhesh Poyarekar  <sid@reserved-bit.com>
3370         * benchtests/Makefile (wcsmbs-benchset): Include only for
3371         native builds and runs.
3372         (LOCALES): Likewise.
3373         (bench-build): Build timing-type here instead of the bench
3374         target.  Generate locale only for native builds.
3375         * benchtests/README: Add note for cross-building.
3377         * benchtests/Makefile (bench-clean): Clean up extra-objs.
3379         * benchtests/README: Update README to include instructions on
3380         using bench-build.
3382         * Makefile.in (bench-build): New target.
3383         * Rules (PHONY): Add bench-build target.
3384         * benchtests/Makefile (bench): Depend on bench-build.
3385         (bench-build): New target.
3387 2016-04-19  Samuel Thibault  <samuel.thibault@ens-lyon.org>
3389         * sysdeps/mach/hurd/profil.c (update_waiter): Initialize
3390         profil_reply_port.
3391         (profile_waiter): Do not initialize profil_reply_port.
3392         * sysdeps/mach/hurd/profil.c (__profile_frequency): Return tick
3393         frequency instead of tick length in us.
3395 2016-04-18  Wilco Dijkstra  <wdijkstr@arm.com>
3397         [BZ #18712]
3398         * string/string-inlines.c (__STRING2_COPY_TYPE): Add, moved from string2.h.
3399         (__old_mempcpy_small): Likewise.
3400         (__old_strcpy_small): Likewise.
3401         (__old_stpcpy_small): Likewise.
3402         (__old_strpbrk_c2): Fix compat symbol name.
3403         (__old_strpbrk_c3): Likewise.
3404         * string/bits/string2.h (__STRING2_COPY_TYPE): Remove.
3405         (__mempcpy_small): Remove.
3406         (__strcpy_small): Remove.
3407         (__stpcpy_small): Remove.
3409 2016-04-16  Robin van der Vliet <info@robinvandervliet.com>
3411         [BZ #19400]
3412         * locale/iso-639.def: Add the Talossan/tzl language.
3414 2016-04-16  Mike Frysinger  <vapier@gentoo.org>
3416         [BZ #16983]
3417         * locale/programs/ld-address.c (address_finish): Update postal_fmt
3418         comment.  Add "ln" to strchr check on postal_fmt.
3420 2016-04-16  Mike Frysinger  <vapier@gentoo.org>
3422         * locale/programs/ld-telephone.c (telephone_finish): Add %t to the
3423         default tel_int_fmt.  Add "Cet" to strchr check on tel_int_fmt and
3424         tel_dom_fmt.
3426 2016-04-15  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
3428         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
3429         (sysdep_routines): Added __strlen_power8.
3430         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Added
3431         __strlen_power8 entry.
3432         * sysdeps/powerpc/powerpc64/multiarch/strlen-power8.S: New file.
3433         Implementation for POWER8.
3434         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Added IFUNC selector
3435         for __strlen_power8.
3436         * sysdeps/powerpc/powerpc64/power8/strlen.S: New file.
3437         Implementation for POWER8.
3439 2016-04-15  Mike Frysinger  <vapier@gentoo.org>
3441         * locale/iso-4217.def: Add SSP and change ZMK to ZMW.
3443 2016-04-15   H.J. Lu  <hongjiu.lu@intel.com>
3445         * sysdeps/x86/cpu-features.c (init_cpu_features): Detect Intel
3446         Goldmont and Airmont processors.
3448 2016-04-15  Wilco Dijkstra  <wdijkstr@arm.com>
3450         * string/string.h: Use __GNUC_PREREQ(3,4) for bits/string2.h.
3451         * string/bits/string2.h (__STRING2_SMALL_GET16): Remove.
3452         (__STRING2_SMALL_GET32): Remove.
3453         (memset): Remove.
3454         (__memset_1): Remove.
3455         (__memset_gc): Remove.
3456         (__mempcpy): Remove.
3457         (mempcpy): Remove.
3458         (__mempcpy_args): Remove.
3459         (strchr): Remove.
3460         (strcpy): Remove.
3461         (strcpy_args): Remove.
3462         (__stpcpy_args): Remove.
3463         (__strcmp_cc): Remove.
3464         (__strcmp_gc): Remove.
3465         (strstr): Remove.
3467 2016-04-15  Yvan Roux  <yvan.roux@linaro.org>
3469         * stdlib/setenv.c (unsetenv): Fix ambiguous 'else'.
3470         * nis/nis_call.c (nis_server_cache_add): Likewise.
3472 2016-04-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3474         * sysdeps/unix/sysv/linux/sysdep.h: Include kernel-features.h.
3476 2016-04-14  Florian Weimer  <fweimer@redhat.com>
3478         * malloc/arena.c (__malloc_fork_lock_parent)
3479         (__malloc_fork_unlock_parent, __malloc_fork_unlock_child): Add
3480         internal_function attribute.
3482 2016-04-14  Stefan Liebler  <stli@linux.vnet.ibm.com>
3484         * stdio-common/printf_fp.c (__printf_fp_l):
3485         Rename ___printf_fp_l to __printf_fp_l and
3486         remove strong alias. Use libc_hidden_def instead
3487         of ldbl_hidden_def macro.
3489 2016-04-14  Florian Weimer  <fweimer@redhat.com>
3491         Remove malloc hooks from fork handler.  They are no longer needed
3492         because malloc runs right before fork, and no malloc calls from
3493         other fork handlers are not possible anymore.
3494         * malloc/malloc.c (malloc_atfork, free_atfork): Remove
3495         declarations.
3496         * malloc/arena.c (save_malloc_hook, save_free_hook, save_arena)
3497         (ATFORK_ARENA_PTR, malloc_atfork, free_atfork)
3498         (atfork_recursive_cntr): Remove.
3499         (__malloc_fork_lock_parent): Do not override malloc hooks and
3500         thread_arena.
3501         (__malloc_fork_unlock_parent): Do not restore malloc hooks and
3502         thread_arena.
3503         (__malloc_fork_unlock_child): Do not restore malloc hooks.  Use
3504         thread_arena instead of save_arena.
3506 2016-04-14  Florian Weimer  <fweimer@redhat.com>
3508         * sysdeps/nptl/malloc-machine.h (ATFORK_MEM, __dso_handle)
3509         (thread_atfork, thread_atfork_static): Remove.
3510         * sysdeps/mach/hurd/malloc-machine.h:
3511         (thread_atfork, thread_atfork_static): Remove.
3513 2016-04-14  Florian Weimer  <fweimer@redhat.com>
3515         [BZ #19431]
3516         Run the malloc fork handler as late as possible to avoid deadlocks.
3517         * malloc/malloc-internal.h: New file.
3518         * malloc/malloc.c: Include it.
3519         * malloc/arena.c (ATFORK_MEM): Remove.
3520         (__malloc_fork_lock_parent): Rename from ptmalloc_lock_all.
3521         Update comment.
3522         (__malloc_fork_unlock_parent): Rename from ptmalloc_unlock_all.
3523         (__malloc_fork_unlock_child): Rename from ptmalloc_unlock_all2.
3524         Remove outdated comment.
3525         (ptmalloc_init): Do not call thread_atfork.  Remove
3526         thread_atfork_static.
3527         * malloc/tst-malloc-fork-deadlock.c: New file.
3528         * Makefile (tests): Add tst-malloc-fork-deadlock.
3529         (tst-malloc-fork-deadlock): Link against libpthread.
3530         * manual/memory.texi (Aligned Memory Blocks): Update safety
3531         annotation comments.
3532         * sysdeps/nptl/fork.c (__libc_fork): Call
3533         __malloc_fork_lock_parent, __malloc_fork_unlock_parent,
3534         __malloc_fork_unlock_child.
3535         * sysdeps/mach/hurd/fork.c (__fork): Likewise.
3537 2016-04-14  Florian Weimer  <fweimer@redhat.com>
3539         [BZ #19613]
3540         Remove union wait.
3541         * bits/waitstatus.h (union wait, w_termsig, w_coredump, w_retcode)
3542         (w_stopsig, w_stopval): Remove.
3543         * include/sys/wait.h (__wait, __wait3, __wait4): Use int * for the
3544         stat_loc argument.
3545         * posix/sys/wait.h (__WAIT_INT, __WAIT_STATUS)
3546         (__WAIT_STATUS_DEFN): Remove.
3547         (WEXITSTATUS, WTERMSIG, WSTOPSIG, WIFEXITED, WIFSIGNALED)
3548         (WIFSTOPPED, WIFCONTINUED, WCOREDUMP): Remove __WAIT_INT.
3549         (wait, wait3, wait4): Use int * for the stat_loc argument.
3550         * posix/wait.c (__wait): Likewise.
3551         * posix/wait3.c (__wait3): Likewise.
3552         * posix/wait4.c (__wait4): Likewise.
3553         * stdlib/stdlib.h (__WAIT_INT, __WAIT_STATUS)
3554         (__WAIT_STATUS_DEFN): Remove.
3555         (WEXITSTATUS, WTERMSIG, WSTOPSIG, WIFEXITED, WIFSIGNALED)
3556         (WIFSTOPPED, WIFCONTINUED): Remove __WAIT_INT.
3557         * sysdeps/mach/hurd/wait4.c (__wait4): Use int * for the stat_loc
3558         argument.
3559         * sysdeps/posix/wait.c (__libc_wait): Likewise.
3560         * sysdeps/posix/wait3.c (__wait3): Likewise.
3561         * sysdeps/unix/bsd/wait.c (__libc_wait): Likewise.
3562         * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
3563         * sysdeps/unix/bsd/waitpid.c (__waitpid): Remove cast.
3564         * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Use int * for the
3565         stat_loc argument.
3566         * manual/process.texi (BSD Wait Functions): Remove union wait.
3568 2016-04-13  Andreas Schwab  <schwab@suse.de>
3570         * elf/Makefile (extra-test-objs): Add tst-tlsalign-vars.o.
3571         (test-extras): Add tst-tlsalign-vars.
3572         * math/Makefile: Wrap long lines.
3573         (libm-vec-test-wrappers): Define.
3574         (test-extras): Add $(libm-vec-test-wrappers).
3575         (extra-test-objs): Add $(libm-vec-test-wrappers) objects.
3576         * nss/Makefile (extra-test-objs): Add nss_test1.os.
3577         * stdlib/Makefile (extra-test-objs): Add $(modules-names) objects.
3578         * sysdeps/x86_64/Makefile (test-extras): Add tst-quadmod1pie
3579         tst-quadmod2pie tst-audit4-aux tst-audit10-aux.
3580         (extra-test-objs): Add corresponding objects.
3582 2016-04-12   H.J. Lu  <hongjiu.lu@intel.com>
3584         [BZ #19928]
3585         * sysdeps/x86_64/cacheinfo.c (__x86_shared_non_temporal_threshold):
3586         New.
3587         (init_cacheinfo): Set __x86_shared_non_temporal_threshold to 6
3588         times of shared cache size.
3589         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S
3590         (VMOVNT): New.
3591         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S
3592         (VMOVNT): Likewise.
3593         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S
3594         (VMOVNT): Likewise.
3595         (VMOVU): Changed to movups for smaller code sizes.
3596         (VMOVA): Changed to movaps for smaller code sizes.
3597         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Update
3598         comments.
3599         (PREFETCH): New.
3600         (PREFETCH_SIZE): Likewise.
3601         (PREFETCHED_LOAD_SIZE): Likewise.
3602         (PREFETCH_ONE_SET): Likewise.
3603         Rewrite to use forward and backward loops, which move 4 vector
3604         registers at a time, to support overlapping addresses and use
3605         non temporal store if size is above the threshold and there is
3606         no overlap between destination and source.
3608 2016-04-12  Alex Smith  <alex.smith@imgtec.com>
3610         * sysdeps/unix/sysv/linux/mips/Makefile (sysdep_routines):
3611         Include dl-vdso.
3612         * sysdeps/unix/sysv/linux/mips/Versions: Add
3613         __vdso_clock_gettime.
3614         * sysdeps/unix/sysv/linux/mips/init-first.c: New file.
3615         * sysdeps/unix/sysv/linux/mips/libc-vdso.h: New file.
3616         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h:
3617         (INTERNAL_VSYSCALL_CALL): Define to be compatible with MIPS
3618         definitions of INTERNAL_SYSCALL_{ERROR_P,ERRNO}.
3619         (HAVE_CLOCK_GETTIME_VSYSCALL): Define.
3620         (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
3621         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
3622         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
3624 2016-04-11  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3626         * sysdeps/unix/sysv/linux/arm/pwrite.c: Remove file.
3627         * sysdeps/unix/sysv/linux/arm/pwrite64.c: Likewise.
3628         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
3629         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
3630         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
3631         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
3632         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
3633         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
3634         * sysdeps/unix/sysv/linux/wordsize-64/pwrite64.c: Likewise.
3635         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (prite): Remove
3636         syscalls generation.
3637         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
3638         [__NR_pwrite64] (__NR_write): Remove define.
3639         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
3640         [__NR_pwrite64] (__NR_write): Remove define.
3641         * sysdeps/unix/sysv/linux/pwrite.c [__NR_pwrite64] (__NR_pwrite):
3642         Remove define.
3643         (__libc_pwrite): Use SYSCALL_LL macro on offset argument.
3644         * sysdeps/unix/sysv/linux/pwrite64.c [__NR_pwrite64] (__NR_pwrite):
3645         Remove define.
3646         (__libc_pwrite64): Use SYSCALL_LL64 macro on offset argument.
3647         * sysdeps/unix/sysv/linux/sh/pwrite.c: Rewrite using default
3648         Linux implementation as base.
3649         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
3651         * sysdeps/unix/sysv/linux/arm/pread.c: Remove file.
3652         * sysdeps/unix/sysv/linux/arm/pread64.c: Likewise.
3653         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
3654         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
3655         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise,
3656         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
3657         * sysdeps/unix/sysv/linux/wordsize-64/pread64.c: Likewise.
3658         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (pread): Remove
3659         syscall generation.
3660         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
3661         [__NR_pread64] (__NR_pread): Remove define.
3662         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
3663         [__NR_pread64] (__NR_pread): Likewise.
3664         * sysdeps/unix/sysv/linux/pread.c [__NR_pread64] (__NR_pread): Remove
3665         define.
3666         (__libc_pread): Use SYSCALL_LL macro on offset argument.
3667         * sysdeps/unix/sysv/linux/pread64.c [__NR_pread64] (__NR_pread):
3668         Remove define.
3669         (__libc_pread64): Use SYSCALL_LL64 macro on offset argument.
3670         * sysdeps/unix/sysv/linux/sh/pread.c: Rewrite using default
3671         Linux implementation as base.
3672         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
3673         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
3674         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
3676         * sysdeps/unix/sysv/linux/generic/sysdep.h (__ALIGNMENT_ARG): Move
3677         definition.
3678         (__ALIGNMENT_COUNT): Likewise.
3679         * sysdeps/unix/sysv/linux/sysdep.h (__ALIGNMENT_ARG): To here.
3680         (__ALIGNMENT_COUNT): Likewise.
3681         (SYSCALL_LL): New define.
3682         (SYSCALL_LL64): Likewise.
3683         * sysdeps/unix/sysv/linux/mips/kernel-features.h:
3684         [_MIPS_SIM == _ABIO32] (__ASSUME_WORDSIZE64_ILP32): Define.
3685         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h:
3686         [ILP32] (__ASUME_WORDSIZE64_ILP32): Likewise.
3688         * sysdeps/unix/sysv/linux/arm/kernel-features.h
3689         (__ASSUME_ALIGNED_REGISTER_PAIRS): Define.
3690         * sysdeps/unix/sysv/linux/mips/kernel-features.h
3691         [_MIPS_SIM == _ABIO32] (__ASSUME_ALIGNED_REGISTER_PAIRS): Likewise.
3692         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
3693         [!__powerpc64__] (__ASSUME_ALIGNED_REGISTER_PAIRS): Likewise.
3695 2016-04-11  Florian Weimer  <fweimer@redhat.com>
3697         [BZ #19865]
3698         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Restore
3699         original buffer before retry.
3701 2016-04-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
3703         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro)
3704         [!HAVE_AUX_VECTOR]: Do not define _dl_auxv field.
3705         * misc/getauxval.c (__getauxval) [!HAVE_AUX_VECTOR]: Do not go through
3706         GLRO(dl_auxv) list.
3707         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_VECTOR): Define before
3708         including <ldsodefs.h>.
3709         * sysdeps/nacl/ldsodefs.h (HAVE_AUX_VECTOR): Likewise.
3711 2016-04-09  Nick Alcock  <nick.alcock@oracle.com>
3713         * elf/rtld-Rules (rtld-compile-command.c): Add $(rtld-CFLAGS).
3714         * scripts/sysd-rules.awk: Substitute in $(CFLAGS) as well as
3715         $(CPPFLAGS).
3717 2016-04-09  Khem Raj  <raj.khem@gmail.com>
3719         [BZ #17950]
3720         * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os):
3721         Add -mfpmath=387.
3723 2016-04-09  Mike Frysinger  <vapier@gentoo.org>
3725         * sysdeps/i386/configure.ac: Change == to = when calling test.
3726         * sysdeps/x86_64/configure.ac: Likewise.
3727         * sysdeps/i386/configure: Regenerated.
3728         * sysdeps/x86_64/configure: Likewise.
3730 2016-04-08  Mike Frysinger  <vapier@gentoo.org>
3732         [BZ #16137]
3733         * benchtests/Makefile (LOCALES): Change iw_IL to he_IL.
3734         * benchtests/bench-strcoll.c (input_files): Likewise.
3735         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
3736         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Rename to ...
3737         * benchtests/strcoll-inputs/lorem_ipsum#he_IL.UTF-8: ... here.
3739 2016-04-08  Joseph Myers  <joseph@codesourcery.com>
3741         [BZ #19929]
3742         * include/bits/xopen_lim.h (NL_NMAX): Do not define if
3743         [__USE_XOPEN2K8 && !__USE_GNU].
3744         * conform/Makefile (test-xfail-XOPEN2K8/limits.h/conform): Remove
3745         variable.
3747         [BZ #19925]
3748         * sysdeps/unix/sysv/linux/alpha/bits/termios.h (XCASE): Do not
3749         define if [!__USE_MISC && __USE_XOPEN2K].
3750         * sysdeps/unix/sysv/linux/bits/termios.h (XCASE): Likewise.
3751         * sysdeps/unix/sysv/linux/mips/bits/termios.h (XCASE): Likewise.
3752         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (XCASE):
3753         Likewise.
3754         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (XCASE): Likewise.
3755         * conform/Makefile (test-xfail-XOPEN2K/termios.h/conform): Remove
3756         variable.
3757         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
3759 2016-04-07  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3761         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
3762         (sysdep_routines): Add new strspn targets.
3763         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
3764         (__libc_ifunc_impl_list): Add strspn.
3765         * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S:
3766         New file.
3767         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c:
3768         Likewise.
3769         * sysdeps/powerpc/powerpc64/multiarch/strspn.c:
3770         Likewise.
3771         * sysdeps/powerpc/powerpc64/power8/strspn.S:
3772         Likewise.
3774 2016-04-07  Florian Weimer  <fweimer@redhat.com>
3776         * misc/hsearch_r.c: Include <limits.h>.
3778 2016-04-07  Florian Weimer  <fweimer@redhat.com>
3780         * malloc/scratch_buffer_set_array_size.c: Include <limits.h>.
3782 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
3784         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
3785         (MEMCPY_SYMBOL): New.
3786         (MEMPCPY_SYMBOL): Likewise.
3787         (MEMMOVE_CHK_SYMBOL): Likewise.
3788         Replace MEMMOVE_SYMBOL with MEMMOVE_CHK_SYMBOL on __mempcpy_chk
3789         symbols.  Replace MEMMOVE_SYMBOL with MEMPCPY_SYMBOL on
3790         __mempcpy symbols.  Provide alias for __memcpy_chk in libc.a.
3791         Provide alias for memcpy in libc.a and ld.so.
3793 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
3795         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
3796         (MEMSET_CHK_SYMBOL): New.  Define if not defined.
3797         (__bzero): Check VEC_SIZE == 16 instead of USE_MULTIARCH.
3798         Disabled fro now.
3799         Replace MEMSET_SYMBOL with MEMSET_CHK_SYMBOL on __memset_chk
3800         symbols.  Properly check USE_MULTIARCH on __memset symbols.
3802 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
3804         * benchtests/Makefile (string-benchset): Add memcpy-large,
3805         memmove-large and memset-large.
3806         * benchtests/bench-memcpy-large.c: New file.
3807         * benchtests/bench-memmove-large.c: Likewise.
3808         * benchtests/bench-memmove-large.c: Likewise.
3809         * benchtests/bench-string.h (TIMEOUT): Don't redefine.
3811 2016-04-05   H.J. Lu  <hongjiu.lu@intel.com>
3813         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S: Force
3814         32-bit displacement to avoid long nop between instructions.
3816 2016-04-05   H.J. Lu  <hongjiu.lu@intel.com>
3818         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Add
3819         a comment on VMOVU and VMOVA.
3821 2016-04-04  Florian Weimer  <fweimer@redhat.com>
3823         [BZ #19633]
3824         Use specified locale for number formatting in strfmon_l.
3825         * locale/localeinfo.h (__nl_lookup, _nl_lookup_wstr)
3826         (__nl_lookup_word): New inline functions.
3827         * include/printf.h (__print_fp_l): Declare.
3828         * stdio-common/printf_fp.c (___printf_fp_l): Renamed from
3829         ___printf_fp.  Add locale argument.  Replace _NL_CURRENT with
3830         _nl_lookup and _NL_CURRENT_WORD with _nl_lookup_word.
3831         (___printf_fp): New function.
3832         * stdlib/strfmon_l.c (__printf_fp): Remove declaration.
3833         (__vstrfmon_l): Call __printf_fp_l instead of printf_fp.
3834         * stdlib/tst-strfmon_l.c (do_test): New test.
3835         * stdlib/Makefile (tests): Add kt.
3836         (LOCALES): Build additional locales.
3837         (tst-strfmon_l.out): Require locales.
3839 2016-04-03   H.J. Lu  <hongjiu.lu@intel.com>
3841         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S: Skip
3842         if not in libc.
3843         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
3844         Likewise.
3845         * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S:
3846         Likewise.
3847         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
3848         Likewise.
3850 2016-04-03   H.J. Lu  <hongjiu.lu@intel.com>
3852         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
3853         (__mempcpy_erms, __memmove_erms): Moved before __mempcpy_chk
3854         with unaligned_erms.
3855         (__memmove_erms): Skip if source == destination.
3856         (__memmove_unaligned_erms): Don't check source == destination
3857         first.
3859 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
3861         * sysdeps/x86/cpu-features.c (init_cpu_features): Don't set
3862         bit_arch_Fast_Copy_Backward for Intel Core proessors.
3864 2016-04-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3866         * string/strcspn.c (strcspn): Use PTR_ALIGN_DOWN.
3867         * string/strspn.c (strspn): Likewise.
3869 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
3871         * benchtests/bench-memset.c (do_test): Support 64-byte
3872         alignment.
3873         (test_main): Test 64-byte alignment.
3875 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
3877         * benchtests/bench-memmove.c (test_main): Test 64-byte
3878         alignment.
3880 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
3882         * benchtests/bench-memcpy.c (test_main): Test 64-byte alignment.
3884 2016-04-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3886         * sysdeps/powerpc/powerpc64/strcspn.S: Remove file.
3887         * sysdeps/powerpc/powerpc64/strpbrk.S: Remove file.
3888         * sysdeps/powerpc/powerpc64/strspn.S: Remove file.
3890         * string/strpbrk.c (strpbrk): Rewrite function.
3891         * string/bits/string2.h (strpbrk): Use __builtin_strpbrk.
3892         (__strpbrk_c2): Likewise.
3893         (__strpbrk_c3): Likewise.
3894         * string/string-inlines.c
3895         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strpbrk_c2):
3896         Likewise.
3897         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strpbrk_c3):
3898         Likewise.
3900         * string/strspn.c (strcspn): Rewrite function.
3901         * string/bits/string2.h (strspn): Use __builtin_strcspn.
3902         (__strspn_c1): Remove inline function.
3903         (__strspn_c2): Likewise.
3904         (__strspn_c3): Likewise.
3905         * string/string-inlines.c
3906         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c1): Add
3907         compatibility symbol.
3908         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c2):
3909         Likewise.
3910         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c3):
3911         Likewise.
3912         * string/string-inlines.c: Include generic version.
3914 2016-04-01  Wilco Dijkstra  <wdijkstr@arm.com>
3915             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3917         * string/Version (libc): Add GLIBC_2.24.
3918         * string/strcspn.c (strcspn): Rewrite function.
3919         * string/bits/string2.h (strcspn): Use __builtin_strcspn.
3920         (__strcspn_c1): Remove inline function.
3921         (__strcspn_c2): Likewise.
3922         (__strcspn_c3): Likewise.
3923         * string/string-inline.c
3924         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c1): Add
3925         compatibility symbol.
3926         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c2):
3927         Likewise.
3928         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c3):
3929         Likewise.
3930         * sysdeps/i386/string-inlines.c: Include generic string-inlines.c.
3932 2016-04-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
3934         * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
3935         Use ahi instead of aghi to adjust stack pointer.
3937 2016-03-31  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3939         [BZ #19853]
3940         * stdio-common/tst-sprintf3.c [TEST_N]: Refactor
3941         TEST to take significant digits as second parameter.
3942         [TEST]: Redefine in terms of TEST_N taking 30
3943         significant digits.
3944         (do_test): Add test case to demonstrate precision
3945         failure in the ldbl-128ibm printf.
3946         * sysdeps/ieee754/ldbl-128ibm/ldbl2pm.c:
3947         (__mpn_extract_long_double): Carry 7 extra intermediate
3948         bits of precision to aide computing difference when
3949         signs differ.
3951 2016-03-31   H.J. Lu  <hongjiu.lu@intel.com>
3953         [BZ #19881]
3954         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
3955         memset-sse2-unaligned-erms, memset-avx2-unaligned-erms and
3956         memset-avx512-unaligned-erms.
3957         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
3958         (__libc_ifunc_impl_list): Test __memset_chk_sse2_unaligned,
3959         __memset_chk_sse2_unaligned_erms, __memset_chk_avx2_unaligned,
3960         __memset_chk_avx2_unaligned_erms, __memset_chk_avx512_unaligned,
3961         __memset_chk_avx512_unaligned_erms, __memset_sse2_unaligned,
3962         __memset_sse2_unaligned_erms, __memset_erms,
3963         __memset_avx2_unaligned, __memset_avx2_unaligned_erms,
3964         __memset_avx512_unaligned_erms and __memset_avx512_unaligned.
3965         * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S: New
3966         file.
3967         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
3968         Likewise.
3969         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S:
3970         Likewise.
3971         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S:
3972         Likewise.
3974 2016-03-31   H.J. Lu  <hongjiu.lu@intel.com>
3976         [BZ #19776]
3977         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
3978         memmove-sse2-unaligned-erms, memmove-avx-unaligned-erms and
3979         memmove-avx512-unaligned-erms.
3980         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
3981         (__libc_ifunc_impl_list): Test
3982         __memmove_chk_avx512_unaligned_2,
3983         __memmove_chk_avx512_unaligned_erms,
3984         __memmove_chk_avx_unaligned_2, __memmove_chk_avx_unaligned_erms,
3985         __memmove_chk_sse2_unaligned_2,
3986         __memmove_chk_sse2_unaligned_erms, __memmove_avx_unaligned_2,
3987         __memmove_avx_unaligned_erms, __memmove_avx512_unaligned_2,
3988         __memmove_avx512_unaligned_erms, __memmove_erms,
3989         __memmove_sse2_unaligned_2, __memmove_sse2_unaligned_erms,
3990         __memcpy_chk_avx512_unaligned_2,
3991         __memcpy_chk_avx512_unaligned_erms,
3992         __memcpy_chk_avx_unaligned_2, __memcpy_chk_avx_unaligned_erms,
3993         __memcpy_chk_sse2_unaligned_2, __memcpy_chk_sse2_unaligned_erms,
3994         __memcpy_avx_unaligned_2, __memcpy_avx_unaligned_erms,
3995         __memcpy_avx512_unaligned_2, __memcpy_avx512_unaligned_erms,
3996         __memcpy_sse2_unaligned_2, __memcpy_sse2_unaligned_erms,
3997         __memcpy_erms, __mempcpy_chk_avx512_unaligned_2,
3998         __mempcpy_chk_avx512_unaligned_erms,
3999         __mempcpy_chk_avx_unaligned_2, __mempcpy_chk_avx_unaligned_erms,
4000         __mempcpy_chk_sse2_unaligned_2, __mempcpy_chk_sse2_unaligned_erms,
4001         __mempcpy_avx512_unaligned_2, __mempcpy_avx512_unaligned_erms,
4002         __mempcpy_avx_unaligned_2, __mempcpy_avx_unaligned_erms,
4003         __mempcpy_sse2_unaligned_2, __mempcpy_sse2_unaligned_erms and
4004         __mempcpy_erms.
4005         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S: New
4006         file.
4007         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
4008         Likwise.
4009         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S:
4010         Likwise.
4011         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
4012         Likwise.
4014 2016-03-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
4016         * sysdeps/s390/bits/link.h: (La_s390_vr) New typedef.
4017         (La_s390_32_regs): Append vector register lr_v24-lr_v31.
4018         (La_s390_64_regs): Likewise.
4019         (La_s390_32_retval): Append vector register lrv_v24.
4020         (La_s390_64_retval): Likeweise.
4021         * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
4022         Handle extended structs La_s390_32_regs and La_s390_32_retval.
4023         * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
4024         Handle extended structs La_s390_64_regs and La_s390_64_retval.
4026 2016-03-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
4028         [BZ #19916]
4029         * sysdeps/s390/s390-32/dl-trampoline.S: Include dl-trampoline.h twice
4030         to create a non-vector/vector version for _dl_runtime_resolve and
4031         _dl_runtime_profile. Move implementation to ...
4032         * sysdeps/s390/s390-32/dl-trampoline.h: ... here.
4033         (_dl_runtime_resolve) Save and restore fpr/vrs.
4034         (_dl_runtime_profile) Save and restore vrs and fix some issues
4035         if _dl_call_pltexit is called.
4036         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup):
4037         Choose the correct resolver function if running on a machine with vx.
4038         * sysdeps/s390/s390-64/dl-trampoline.S: Include dl-trampoline.h twice
4039         to create a non-vector/vector version for _dl_runtime_resolve and
4040         _dl_runtime_profile. Move implementation to ...
4041         * sysdeps/s390/s390-64/dl-trampoline.h: ... here.
4042         (_dl_runtime_resolve) Save and restore fpr/vrs.
4043         (_dl_runtime_profile) Save and restore vrs and fix some issues
4044         * sysdeps/s390/s390-64/dl-machine.h: (elf_machine_runtime_setup):
4045         Choose the correct resolver function if running on a machine with vx.
4047 2016-03-31  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4049         * elf/tst-dlsym-error.c: Include <string.h> for strchrnul.
4051 2016-03-31  Florian Weimer  <fweimer@redhat.com>
4053         [BZ #19509]
4054         * elf/dl-lookup.c (_dl_lookup_symbol_x): Report error even if
4055         skip_map != NULL.
4056         * elf/tst-dlsym-error.c: New file.
4057         * elf/Makefile (tests): Add tst-dlsym-error.
4058         (tst-dlsym-error): Link against libdl.
4060 2016-03-29  Joseph Myers  <joseph@codesourcery.com>
4062         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
4063         (__ASSUME_FUTIMESAT): Remove macro.
4064         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: Remove file.
4066 2016-03-29  Florian Weimer  <fweimer@redhat.com>
4068         [BZ #19879]
4069         CVE-2016-3075
4070         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Do not
4071         copy name.
4073 2016-03-29  Florian Weimer  <fweimer@redhat.com>
4075         [BZ #19837]
4076         * nss/nss_db/db-XXX.c (_nss_db_getENTNAME_r): Propagate ERANGE
4077         error if parse_line fails.
4079 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
4081         * sysdeps/x86/cpu-features.h (bit_cpu_ERMS): New.
4082         (index_cpu_ERMS): Likewise.
4083         (reg_ERMS): Likewise.
4085 2016-03-28  Aurelien Jarno  <aurelien@aurel32.net>
4087         * sysdeps/unix/sysv/linux/sys/personality.h (UNAME26, FDPIC_FUNCPTRS,
4088         PER_LINUX_FDPIC): Add.
4090 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
4092         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
4093         memcpy-avx512-no-vzeroupper.
4094         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: Renamed
4095         to ...
4096         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: This.
4097         (MEMCPY): Don't define.
4098         (MEMCPY_CHK): Likewise.
4099         (MEMPCPY): Likewise.
4100         (MEMPCPY_CHK): Likewise.
4101         (MEMPCPY_CHK): Renamed to ...
4102         (__mempcpy_chk_avx512_no_vzeroupper): This.
4103         (MEMPCPY_CHK): Renamed to ...
4104         (__mempcpy_chk_avx512_no_vzeroupper): This.
4105         (MEMCPY_CHK): Renamed to ...
4106         (__memmove_chk_avx512_no_vzeroupper): This.
4107         (MEMCPY): Renamed to ...
4108         (__memmove_avx512_no_vzeroupper): This.
4109         (__memcpy_avx512_no_vzeroupper): New alias.
4110         (__memcpy_chk_avx512_no_vzeroupper): Likewise.
4112 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
4114         [BZ #18858]
4115         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
4116         mempcpy-ssse3, mempcpy-ssse3-back, mempcpy-avx-unaligned
4117         and mempcpy-avx512-no-vzeroupper.
4118         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S (MEMPCPY_CHK):
4119         New.
4120         (MEMPCPY): Likewise.
4121         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S
4122         (MEMPCPY_CHK): New.
4123         (MEMPCPY): Likewise.
4124         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S (MEMPCPY_CHK): New.
4125         (MEMPCPY): Likewise.
4126         * sysdeps/x86_64/multiarch/memcpy-ssse3.S (MEMPCPY_CHK): New.
4127         (MEMPCPY): Likewise.
4128         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: Removed.
4129         * sysdeps/x86_64/multiarch/mempcpy-avx512-no-vzeroupper.S:
4130         Likewise.
4131         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: Likewise.
4132         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: Likewise.
4134 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
4135              Amit Pawar  <Amit.Pawar@amd.com>
4137         [BZ #19583]
4138         * sysdeps/x86/cpu-features.c (init_cpu_features): Set
4139         Fast_Unaligned_Copy with Fast_Unaligned_Load for Intel
4140         processors.  Set Fast_Copy_Backward for AMD Excavator
4141         processors.
4142         * sysdeps/x86/cpu-features.h (bit_arch_Fast_Unaligned_Copy):
4143         New.
4144         (index_arch_Fast_Unaligned_Copy): Likewise.
4145         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check
4146         Fast_Unaligned_Copy instead of Fast_Unaligned_Load.
4148 2016-03-25  Florian Weimer  <fweimer@redhat.com>
4150         [BZ #19791]
4151         * resolv/res_send.c (close_and_return_error): New function.
4152         (send_dg): Initialize *resplen2 after reopen failure.  Call
4153         close_and_return_error for error returns.  On error paths without
4154         __res_iclose, initialze *resplen2 explicitly.  Update comment for
4155         successful return.
4157 2016-03-25  Florian Weimer  <fweimer@redhat.com>
4159         [BZ# 19860]
4160         * sysdeps/x86_64/tst-audit10.c (avx512_enabled): Always return
4161         zero if the compiler does not provide the AVX512F bit.
4163 2016-03-24  Joseph Myers  <joseph@codesourcery.com>
4165         [BZ #19848]
4166         * sysdeps/i386/fpu/e_powl.S (p3): Rename to p2 and change value
4167         from 8 to 4.
4168         (__ieee754_powl): Compare integer exponent against 4 not 8.
4169         * sysdeps/x86_64/fpu/e_powl.S (p3): Rename to p2 and change value
4170         from 8 to 4.
4171         (__ieee754_powl): Compare integer exponent against 4 not 8.
4172         * math/auto-libm-test-in: Add more tests of pow.
4173         * math/auto-libm-test-out: Regenerated.
4174         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update.
4175         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4177 2016-03-23  Aurelien Jarno  <aurelien@aurel32.net>
4179         * sysdeps/unix/sysv/linux/futimens.c (futimens) [__NR_utimensat]:
4180         Make code unconditional.
4181         [!__NR_utimensat]: Remove conditional code.
4182         * sysdeps/unix/sysv/linux/lutimes.c (lutimes) [__NR_utimensat]:
4183         Make code unconditional.
4184         [!__NR_utimensat]: Remove conditional code.
4185         * sysdeps/unix/sysv/linux/utimensat.c (utimensat) [__NR_utimensat]:
4186         Make code unconditional.
4187         [!__NR_utimensat]: Remove conditional code.
4189 2016-03-23  Aurelien Jarno  <aurelien@aurel32.net>
4191         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64) [__NR_openat]:
4192         Make code unconditional.
4194 2016-03-23  Nick Alcock  <nick.alcock@oracle.com>
4196         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Reload
4197         call-clobbered %eax on retry path.
4198         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
4200 2016-03-22  H.J. Lu  <hongjiu.lu@intel.com>
4202         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S (MEMCPY):
4203         Don't set %rcx twice before "rep movsb".
4205 2016-03-22  H.J. Lu  <hongjiu.lu@intel.com>
4207         [BZ #19583]
4208         * sysdeps/x86/cpu-features.c (get_common_indeces): Remove
4209         inline.  Check family before setting family, model and
4210         extended_model.  Set AVX, AVX2, AVX512, FMA and FMA4 usable
4211         bits here.
4212         (init_cpu_features): Replace HAS_CPU_FEATURE and
4213         HAS_ARCH_FEATURE with CPU_FEATURES_CPU_P and
4214         CPU_FEATURES_ARCH_P.  Set index_arch_AVX_Fast_Unaligned_Load
4215         for Intel processors with usable AVX2.  Call get_common_indeces
4216         for other processors with family == NULL.
4217         * sysdeps/x86/cpu-features.h (CPU_FEATURES_CPU_P): New macro.
4218         (CPU_FEATURES_ARCH_P): Likewise.
4219         (HAS_CPU_FEATURE): Use CPU_FEATURES_CPU_P.
4220         (HAS_ARCH_FEATURE): Use CPU_FEATURES_ARCH_P.
4222 2016-03-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
4224         * malloc/Makefile ($(objpfx)tst-malloc-backtrace,
4225         $(objpfx)tst-malloc-thread-exit, $(objpfx)tst-malloc-thread-fail): Use
4226         $(shared-thread-library) instead of hardcoding the path to libpthread.
4228 2016-03-22  Joseph Myers  <joseph@codesourcery.com>
4230         * sysdeps/unix/sysv/linux/kernel-features.h
4231         (__ASSUME_GETDENTS64_SYSCALL): Remove macro.
4232         * sysdeps/unix/sysv/linux/getdents.c
4233         [!__ASSUME_GETDENTS64_SYSCALL]: Remove conditional code.
4234         [!have_no_getdents64_defined]: Likewise.
4235         (__GETDENTS): Remove __have_no_getdents64 conditional.
4237 2016-03-21  Joseph Myers  <joseph@codesourcery.com>
4239         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_SIGNALFD4):
4240         Remove macro.
4241         * sysdeps/unix/sysv/linux/signalfd.c: Do not include
4242         <kernel-features.h>.
4243         (signalfd) [__NR_signalfd4]: Make code unconditional.
4244         (signalfd) [!__ASSUME_SIGNALFD4]: Remove conditional code.
4246 2016-03-21  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4248         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Fix implict checks
4249         style.
4251 2016-03-21  H.J. Lu  <hongjiu.lu@intel.com>
4253         * sysdeps/unix/sysv/linux/x86_64/cancellation.S
4254         (__pthread_enable_asynccancel): Use JUMPTARGET to call
4255         __pthread_unwind.
4256         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
4257         (__condvar_cleanup2): Use JUMPTARGET to call _Unwind_Resume.
4258         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
4259         (__condvar_cleanup1): Likewise.
4261 2016-03-21  Dylan Alex Simon  <dylan-sourceware@dylex.net>
4263         [BZ #19822]
4264         * math/Makefile ($(inst_libdir)/libm.so): Write output to $@.tmp and
4265         move it to the final $@ location.
4267 2016-03-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4269         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Fix invalid memory
4270         access where posix_spawn success and pid argument is null.
4271         * posix/tst-spawn.c (do_test): Add posix_spawn null pid argument for
4272         success case.
4274 2016-03-20  Samuel Thibault  <samuel.thibault@ens-lyon.org>:
4276         * sysdeps/mach/hurd/i386/c++-types.data: New file.
4278         * sysdeps/mach/hurd/libc-lock.h (_IO_lock_inexpensive): Define to 1.
4280         * sysdeps/generic/dl-fcntl.h: New file, adds attribute_hidden to __open
4281         and __fcntl.
4282         * sysdeps/mach/hurd/dl-fcntl.h: New file, adds attribute_hidden to
4283         __fcntl only.
4284         * include/fcntl.h [IS_IN (rtld)]: Include <dl-fcntl.h> instead of
4285         adding attribute_hidden to __open and __fcntl.
4287         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Strip
4288         "-include $(common-objpfx)libc-modules.h" from CPPFLAGS, and do not
4289         depend on libc-modules.h,
4290         * mach/Makefile ($(objpfx)mach-syscalls.mk): Depend on libc-modules.h.
4292 2016-03-17  Joseph Myers  <joseph@codesourcery.com>
4294         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_EVENTFD2):
4295         Remove macro.
4296         * sysdeps/unix/sysv/linux/eventfd.c: Remove file.
4297         * sysdeps/unix/sysv/linux/syscalls.list (eventfd): New syscall
4298         entry.
4300         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FALLOCATE):
4301         Remove macro.
4302         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c: Do not
4303         include <kernel-features.h>.
4304         [!__ASSUME_FALLOCATE]: Remove conditional code.
4305         (posix_fallocate) [__NR_fallocate]: Make code unconditional.
4307 2016-03-16  H.J. Lu  <hongjiu.lu@intel.com>
4309         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S
4310         (_ZGVbN2v_cos_sse4): Use JUMPTARGET to call cos.
4311         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S
4312         (_ZGVdN4v_cos_avx2): Likewise.
4313         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S
4314         (_ZGVdN4v_cos): Likewise.
4315         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S
4316         (_ZGVbN2v_exp_sse4): Use JUMPTARGET to call exp.
4317         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S
4318         (_ZGVdN4v_exp_avx2): Likewise.
4319         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S
4320         (_ZGVdN4v_exp): Likewise.
4321         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S
4322         (_ZGVbN2v_log_sse4): Use JUMPTARGET to call log.
4323         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S
4324         (_ZGVdN4v_log_avx2): Likewise.
4325         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S
4326         (_ZGVdN4v_log): Likewise.
4327         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S
4328         (_ZGVbN2vv_pow_sse4): Use JUMPTARGET to call pow.
4329         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S
4330         (_ZGVdN4vv_pow_avx2): Likewise.
4331         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S
4332         (_ZGVdN4vv_pow): Likewise.
4333         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S
4334         (_ZGVbN2v_sin_sse4): Use JUMPTARGET to call sin.
4335         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S
4336         (_ZGVdN4v_sin_avx2): Likewise.
4337         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S
4338         (_ZGVdN4v_sin): Likewise.
4339         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S
4340         (_ZGVbN2vvv_sincos_sse4): Use JUMPTARGET to call sin and cos.
4341         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S
4342         (_ZGVdN4vvv_sincos_avx2): Likewise.
4343         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S
4344         (_ZGVdN4vvv_sincos): Likewise.
4345         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S
4346         (_ZGVdN8v_cosf): Use JUMPTARGET to call cosf.
4347         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S
4348         (_ZGVbN4v_cosf_sse4): Likewise.
4349         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S
4350         (_ZGVdN8v_cosf_avx2): Likewise.
4351         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S
4352         (_ZGVdN8v_expf): Use JUMPTARGET to call expf.
4353         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S
4354         (_ZGVbN4v_expf_sse4): Likewise.
4355         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S
4356         (_ZGVdN8v_expf_avx2): Likewise.
4357         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S
4358         (_ZGVdN8v_logf): Use JUMPTARGET to call logf.
4359         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S
4360         (_ZGVbN4v_logf_sse4): Likewise.
4361         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S
4362         (_ZGVdN8v_logf_avx2): Likewise.
4363         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S
4364         (_ZGVdN8vv_powf): Use JUMPTARGET to call powf.
4365         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S
4366         (_ZGVbN4vv_powf_sse4): Likewise.
4367         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S
4368         (_ZGVdN8vv_powf_avx2): Likewise.
4369         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
4370         (_ZGVdN8vv_powf): Use JUMPTARGET to call sinf and cosf.
4371         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
4372         (_ZGVbN4vvv_sincosf_sse4): Likewise.
4373         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
4374         (_ZGVdN8vvv_sincosf_avx2): Likewise.
4375         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S
4376         (_ZGVdN8v_sinf): Use JUMPTARGET to call sinf.
4377         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S
4378         (_ZGVbN4v_sinf_sse4): Likewise.
4379         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S
4380         (_ZGVdN8v_sinf_avx2): Likewise.
4381         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h (WRAPPER_IMPL_SSE2):
4382         Use JUMPTARGET to call callee.
4383         (WRAPPER_IMPL_SSE2_ff): Likewise.
4384         (WRAPPER_IMPL_SSE2_fFF): Likewise.
4385         (WRAPPER_IMPL_AVX): Likewise.
4386         (WRAPPER_IMPL_AVX_ff): Likewise.
4387         (WRAPPER_IMPL_AVX_fFF): Likewise.
4388         (WRAPPER_IMPL_AVX512): Likewise.
4389         (WRAPPER_IMPL_AVX512_ff): Likewise.
4390         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h (WRAPPER_IMPL_SSE2):
4391         Likewise.
4392         (WRAPPER_IMPL_SSE2_ff): Likewise.
4393         (WRAPPER_IMPL_SSE2_fFF): Likewise.
4394         (WRAPPER_IMPL_AVX): Likewise.
4395         (WRAPPER_IMPL_AVX_ff): Likewise.
4396         (WRAPPER_IMPL_AVX_fFF): Likewise.
4397         (WRAPPER_IMPL_AVX512): Likewise.
4398         (WRAPPER_IMPL_AVX512_ff): Likewise.
4399         (WRAPPER_IMPL_AVX512_fFF): Likewise.
4401 2016-03-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
4403         * sysdeps/mach/hurd/openat.c (__openat): Add missing ellipsis.
4404         * resolv/gai_sigqueue.c (__gai_sigqueue): Add missing internal_function
4405         qualifier.
4406         * /rt/aio_sigqueue.c (__aio_sigqueue): Add missing attribute_hidden
4407         internal_function qualifiers.
4409 2016-03-15  Carlos O'Donell <carlos@redhat.com>
4411         * catgets/tst-catgets.c (do_bz17905): Mark result unused.
4412         * dlfcn/bug-dl-leaf-lib.c (check_val_fini): Mark ret unused.
4413         * math/atest-exp.c (exp_mpn): Mark chk unused.
4414         * math/atest-exp2.c (exp_mpn): Likwise.
4415         * sysdeps/arm/dl-machine.h (elf_machine_rela): Mark td unused.
4416         * sysdeps/i386/i686/dl-hash.h: Mark _dl_elf_hash unused.
4418 2016-03-15  Joseph Myers  <joseph@codesourcery.com>
4420         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_PPOLL):
4421         Remove macro.
4422         * sysdeps/unix/sysv/linux/ppoll.c: Do not include
4423         <kernel-features.h>.
4424         [__NR_ppoll]: Make code unconditional.
4425         [!__ASSUME_PPOLL]: Remove conditional code.
4427         * sysdeps/unix/sysv/linux/kernel-features.h
4428         (__ASSUME_ACCEPT4_SYSCALL): Define unconditionally.
4429         (__ASSUME_ACCEPT4): Likewise.
4430         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
4431         Define.
4432         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG):
4433         Likewise.
4434         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
4435         Likewise.
4436         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG):
4437         Likewise.
4438         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h: Remove file.
4439         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: Likewise.
4440         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
4441         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
4442         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
4443         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
4444         * sysdeps/unix/sysv/linux/arm/kernel-features.h
4445         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
4446         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
4447         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
4448         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
4449         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
4450         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
4451         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
4452         * sysdeps/unix/sysv/linux/i386/kernel-features.h
4453         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
4454         Likewise.
4455         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
4456         Likewise.
4457         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
4458         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
4459         0x040300].
4460         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
4461         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
4462         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
4463         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
4464         0x030300] instead of defining if [__LINUX_KERNEL_VERSION >=
4465         0x030300].
4466         [__LINUX_KERNEL_VERSION < 0x030300] (__ASSUME_ACCEPT4): Undefine.
4467         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
4468         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
4469         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
4470         0x040300].
4471         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
4472         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
4473         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
4474         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
4475         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
4476         (__ASSUME_SENDMMSG_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
4477         0x030300] instead of defining if [__LINUX_KERNEL_VERSION >=
4478         0x030300].
4479         * sysdeps/unix/sysv/linux/mips/kernel-features.h
4480         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
4481         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
4482         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
4483         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
4484         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
4485         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
4486         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
4487         * sysdeps/unix/sysv/linux/s390/kernel-features.h
4488         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
4489         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
4490         0x040300].
4491         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
4492         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
4493         * sysdeps/unix/sysv/linux/sh/kernel-features.h
4494         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
4495         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
4496         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
4497         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
4498         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
4499         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
4500         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
4501         * sysdeps/unix/sysv/linux/tile/kernel-features.h
4502         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
4503         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
4504         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
4505         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h
4506         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
4507         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
4508         Likewise.
4509         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
4510         Likewise.
4512 2016-03-15  Andreas Schwab  <schwab@suse.de>
4514         [BZ #19257]
4515         * resolv/res_init.c (__res_iclose): Use statp->nscount instead of
4516         statp->_u._ext.nscount as loop count.
4518 2016-03-14  Andreas Schwab  <schwab@linux-m68k.org>
4520         * math/test-signgam-finite-c99.c: Also #undef
4521         __LIBC_INTERNAL_MATH_INLINES.
4522         * math/test-signgam-main.c: Likewise.
4524 2016-03-14  Joseph Myers  <joseph@codesourcery.com>
4526         * bits/mman-linux.h [__USE_MISC] (MADV_FREE): New macro.
4527         * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
4528         (MADV_FREE): Likewise.
4529         * sysdeps/unix/sysv/linux/bits/in.h (IPV6_HDRINCL): Likewise.
4530         * sysdeps/unix/sysv/linux/sys/epoll.h (enum EPOLL_EVENTS): Add
4531         EPOLLEXCLUSIVE.
4533 2016-03-14  Carlos O'Donell  <carlos@redhat.com>
4535         * timezone/README: Remove mention of checktab.awk. Mention wiki
4536         SharedSourceFiles.
4538 2016-03-13  Samuel Thibault  <samuel.thibault@ens-lyon.org
4540         * sysdeps/posix/waitid.c (OUR_WAITID): Test against WSTOPPED instead of
4541         WUNTRACED.
4543 2016-03-11  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
4545         * malloc/malloc.c (malloc_consolidate): Replace 0 by NULL in
4546         order to match the type of p when calling atomic_exchange_acq().
4548 2016-03-11  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
4550         * sysdeps/powerpc/powerpc32/power4/memcmp.S (memcmp): Rearrange
4551         cfi_offset calls.
4552         * sysdeps/powerpc/powerpc32/power6/memcpy.S (memcpy): Likewise.
4553         * sysdeps/powerpc/powerpc32/power7/memcmp.S (memcmp): Likewise.
4554         * sysdeps/powerpc/powerpc64/power4/memcmp.S (memcmp): Likewise.
4555         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Likewise.
4556         * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Likewise.
4558 2016-03-10  Carlos O'Donell  <carlos@redhat.com>
4560         * timezone/checktab.awk: Removed.
4562 2016-03-10  Joseph Myers  <joseph@codesourcery.com>
4564         * manual/math.texi (Errors in Math Functions): Document relaxed
4565         accuracy goals for IBM long double.
4566         * math/libm-test.inc (test_exceptions): Always allow spurious
4567         "underflow" and "inexact" exceptions for IBM long double.
4569 2016-03-10  H.J. Lu  <hongjiu.lu@intel.com>
4571         [BZ #19762]
4572         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
4573         (EXTRA_LD_ENVVARS): Add _arch_ to index_*/bit_*.
4574         * sysdeps/x86/cpu-features.c (init_cpu_features): Likewise.
4575         * sysdeps/x86/cpu-features.h (bit_*): Renamed to ...
4576         (bit_arch_*): This for feature array.
4577         (bit_*): Renamed to ...
4578         (bit_cpu_*): This for cpu array.
4579         (index_*): Renamed to ...
4580         (index_arch_*): This for feature array.
4581         (index_*): Renamed to ...
4582         (index_cpu_*): This for cpu array.
4583         [__ASSEMBLER__] (HAS_FEATURE): Add and use field.
4584         [__ASSEMBLER__] (HAS_CPU_FEATURE)): Pass cpu to HAS_FEATURE.
4585         [__ASSEMBLER__] (HAS_ARCH_FEATURE)): Pass arch to HAS_FEATURE.
4586         [!__ASSEMBLER__] (HAS_CPU_FEATURE): Replace index_##name and
4587         bit_##name with index_cpu_##name and bit_cpu_##name.
4588         [!__ASSEMBLER__] (HAS_ARCH_FEATURE): Replace index_##name and
4589         bit_##name with index_arch_##name and bit_arch_##name.
4591 2016-03-09  Aurelien Jarno  <aurelien@aurel32.net>
4593         [BZ #19792]
4594         * sysdeps/unix/sysv/linux/mips/makecontext.S (__makecontext):
4595         Terminate FDE before return label.
4597 2016-03-09  Joseph Myers  <joseph@codesourcery.com>
4599         [BZ #19790]
4600         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c [USE_AS_NEARBYINTL]
4601         (rintl): Define as macro.
4602         [USE_AS_NEARBYINTL] (__rintl): Likewise.
4603         (__rintl) [USE_AS_NEARBYINTL]: Use SET_RESTORE_ROUND_NOEX instead
4604         of fesetround.  Ensure results are evaluated before end of scope.
4605         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Define
4606         USE_AS_NEARBYINTL and include s_rintl.c.
4607         * sysdeps/powerpc/fpu/fenv_private.h (libc_feholdsetround_ppc):
4608         Disable exception traps in new environment.
4609         (libc_feholdsetround_ppc_ctx): Likewise.
4611 2016-03-08  Roland McGrath  <roland@hack.frob.com>
4613         * sysdeps/x86_64/tst-audit10.c: #include <cpu-features.h>.
4614         * sysdeps/x86_64/tst-audit10-aux.c: Move audit_test extern decl ...
4615         (tst_audit10_aux) [__AVX512F__]: ... here.
4617 2016-03-08  Aurelien Jarno  <aurelien@aurel32.net>
4619         * include/sys/auxv.h: New file.
4621 2016-03-08  H.J. Lu  <hongjiu.lu@intel.com>
4623         [BZ #19759]
4624         * sysdeps/x86/bits/string.h (_HAVE_STRING_ARCH_mempcpy): New.
4626 2016-03-08  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
4628         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Remove use of %s
4629         operand modifier.
4630         (feclearexcept): Likewise.
4632 2016-03-08  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
4634         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Updated
4635         to reflect the entire 32-bit HWCAP.
4636         * sysdeps/powerpc/dl-procinfo.h: Code cleanup.
4637         (_DL_HWCAP_FIRST): Removed.  Replaced by 0 accordingly.
4639 2016-03-08  H.J. Lu  <hongjiu.lu@intel.com>
4641         [BZ #19783]
4642         * benchtests/Makefile (run-bench): Replace $(rtld-prefix) with
4643         $(test-via-rtld-prefix).
4644         ($(binaries-bench)): Replace $(+link) with $(+link-tests).
4646 2016-03-08  Florian Weimer  <fweimer@redhat.com>
4648         * sunrpc/key_call.c (key_call_keyenvoy): Use int status instead of
4649         union wait.  Report any non-zero exit status as error.
4651 2016-03-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4653         * posix/tst-execvpe5.c (do_test): Fix fix test invocation when
4654         configured with --enable-hardcoded-path-in-tests.
4656 2016-03-08  Joseph Myers  <joseph@codesourcery.com>
4658         [BZ #19677]
4659         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
4660         (__ieee754_remainderl): Put zero low parts in canonical form.
4661         * sysdeps/ieee754/ldbl-128ibm/test-fmodrem-ldbl-128ibm.c: New
4662         file.  Based on
4663         sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c.
4664         * sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c: Replace
4665         with wrapper round test-fmodrem-ldbl-128ibm.c.
4666         * sysdeps/ieee754/ldbl-128ibm/test-remainderl-ldbl-128ibm.c: New
4667         file.
4668         * sysdeps/ieee754/ldbl-128ibm/test-remquol-ldbl-128ibm.c:
4669         Likewise.
4670         * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Add
4671         test-remainderl-ldbl-128ibm and test-remquol-ldbl-128ibm.
4673 2016-03-07  Florian Weimer  <fweimer@redhat.com>
4675         [BZ #19610]
4676         * elf/ldconfig.c (opt_link): Update comment.
4677         (options): Update help string for option -X.
4678         (search_dir): Unlink stale symbolic link only if updating symbolic
4679         links.
4680         * elf/tst-ldconfig-X.sh: New file.
4681         * elf/Makefile (tests-special): Add tst-ldconfig-X.out.
4682         (tst-ldconfig-X.out): New rule to run tst-ldconfig-X.sh.
4684 2016-03-07  Andreas Schwab  <schwab@suse.de>
4686         * iconv/gconv_builtin.h ("=ascii->INTERNAL"): Correct min/max
4687         needed arguments.
4689 2016-03-07  Hongjiu Zhang  <noctuorare@gmail.com>
4691         [BZ #15333]
4692         * elf/sln.c (makesymlink): Change struct stat to stat64, and lstat
4693         to lstat64.
4695 2016-03-07  Florian Weimer  <fweimer@redhat.com>
4697         * libio/filedoalloc.c (isatty): Remove.
4698         (local_isatty): Add comment.  Call __isatty directly.
4699         (_IO_file_doallocate): Update comment.  Assume _LIBC.
4700         * libio/wfiledoalloc.c (isatty): Remove.
4701         (_IO_wfile_doallocate): Update comment.
4703 2016-03-07  Florian Weimer  <fweimer@redhat.com>
4705         [BZ #19269]
4706         * sysdeps/x86_64/Makefile (tst-audit4): Depend on
4707         tst-audit4-aux.o.
4708         (tst-audit10): Depend on tst-audit10-aux.o.
4709         (CFLAGS-tst-audit4-aux.c): Compile with AVX enabled.
4710         (CFLAGS-tst-audit10-aux.c): Compile with AVX512 enabled.
4711         * sysdeps/x86_64/tst-audit4.c (do_test): Call tst_audit4_aux
4712         instead of inline AVX code.
4713         * sysdeps/x86_64/tst-audit10.c (do_test): Call tst_audit10_aux
4714         instead of inline AVX512 code.
4715         * sysdeps/x86_64/tst-audit4-aux.c: New file
4716         * sysdeps/x86_64/tst-audit10-aux.c: New file
4718         [BZ #19648]
4719         * test-skeleton.c (main): Do not set RLIMIT_DATA.
4721 2016-03-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4723         [BZ #14750]
4724         [BZ #10354]
4725         [BZ #18433]
4726         * include/sched.h (__clone): Add hidden prototype.
4727         (__clone2): Likewise.
4728         * include/unistd.h (__dup): Likewise.
4729         * posix/Makefile (tests): Add tst-spawn2.
4730         * posix/tst-spawn2.c: New file.
4731         * sysdeps/posix/dup.c (__dup): Add hidden definition.
4732         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Likewise.
4733         * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise.
4734         * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise.
4735         * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise.
4736         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Likewise.
4737         * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone): Likewise.
4738         * sysdeps/unix/sysv/linux/m68k/clone.S (__clone): Likewise.
4739         * sysdeps/unix/sysv/linux/microblaze/clone.S (__clone): Likewise.
4740         * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise.
4741         * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise.
4742         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone):
4743         Likewise.
4744         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
4745         Likewise.
4746         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (__clone): Likewise.
4747         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Likewise.
4748         * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Likewise.
4749         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
4750         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise.
4751         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise.
4752         * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise.
4753         * sysdeps/unix/sysv/linux/nptl-signals.h
4754         (____nptl_is_internal_signal): New function.
4755         * sysdeps/unix/sysv/linux/spawni.c: New file.
4757         * posix/execvpe.c (__execvpe): Remove dynamic allocation.
4758         * posix/Makefile (tests): Add tst-execvpe{1,2,3,4,5,6}.
4759         * posix/tst-execvp1.c (do_test): Use a macro to call execvp.
4760         * posix/tst-execvp2.c (do_test): Likewise.
4761         * posix/tst-execvp3.c (do_test): Likewise.
4762         * posix/tst-execvp4.c (do_test): Likewise.
4763         * posix/tst-execvpe1.c: New file.
4764         * posix/tst-execvpe2.c: Likewise.
4765         * posix/tst-execvpe3.c: Likewise.
4766         * posix/tst-execvpe4.c: Likewise.
4767         * posix/tst-execvpe5.c: Likewise.
4768         * posix/tst-execvpe6.c: Likewise.
4770         [BZ #19534]
4771         * posix/execl.c (execl): Remove dynamic memory allocation.
4772         * posix/execle.c (execle): Likewise.
4773         * posix/execlp.c (execlp): Likewise.
4775 2016-03-06  H.J. Lu  <hongjiu.lu@intel.com>
4777         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S:
4778         Replace .text with .text.avx512.
4779         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S:
4780         Likewise.
4782 2016-03-07  Aurelien Jarno  <aurelien@aurel32.net>
4784         * sysdeps/generic/libnsl.abilist: New file.
4785         * sysdeps/generic/libutil.abilist: New file.
4787 2016-03-06  H.J. Lu  <hongjiu.lu@intel.com>
4789         [BZ #19762]
4790         * sysdeps/i386/i686/multiarch/bcopy.S (bcopy): Use
4791         HAS_ARCH_FEATURE with Fast_Rep_String.
4792         * sysdeps/i386/i686/multiarch/bzero.S (__bzero): Likewise.
4793         * sysdeps/i386/i686/multiarch/memcpy.S (memcpy): Likewise.
4794         * sysdeps/i386/i686/multiarch/memcpy_chk.S (__memcpy_chk):
4795         Likewise.
4796         * sysdeps/i386/i686/multiarch/memmove_chk.S (__memmove_chk):
4797         Likewise.
4798         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy): Likewise.
4799         * sysdeps/i386/i686/multiarch/mempcpy_chk.S (__mempcpy_chk):
4800         Likewise.
4801         * sysdeps/i386/i686/multiarch/memset.S (memset): Likewise.
4802         * sysdeps/i386/i686/multiarch/memset_chk.S (__memset_chk):
4803         Likewise.
4805 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
4807         [BZ #19745]
4808         * sysdeps/x86_64/crti.S (_init): Replace PREINIT_FUNCTION@PLT
4809         with *%rax in call.
4811 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
4813         [BZ #19745]
4814         * sysdeps/x86_64/start.S (_start): Replace __libc_start_main@PLT
4815         with *__libc_start_main@GOTPCREL(%rip) in call.
4817 2016-03-04  Roland McGrath  <roland@hack.frob.com>
4819         * Makefile (tests-special): Add $(objpfx)c++-types-check.out only
4820         inside conditional for nonempty $(CXX).
4822         * math/Makefile (tests): Add test-math-isinff only if $(CXX) is
4823         nonempty.
4825         * Makefile ($(objpfx)c++-types-check.out): Fix conditionalization
4826         to test for empty $(CXX) rather than $(CXX) of "no".
4828 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
4830         * sysdeps/x86_64/Makefile (sysdep_noprof): Add comments.
4832 2016-03-04  Amit Pawar  <Amit.Pawar@amd.com>
4833             H.J. Lu  <hongjiu.lu@intel.com>
4835         [BZ #18880]
4836         * sysdeps/x86_64/multiarch/memcpy.S: Check Fast_Unaligned_Load,
4837         instead of Slow_BSF, and also check for Fast_Copy_Backward to
4838         enable __memcpy_ssse3_back.
4840 2016-03-03  H.J. Lu  <hongjiu.lu@intel.com>
4842         [BZ #19758]
4843         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
4844         (EXTRA_LD_ENVVARS): Or in bit_Prefer_MAP_32BIT_EXEC.
4846 2016-03-03  Paul Pluzhnikov  <ppluzhnikov@google.com>
4848         [BZ #19490]
4849         * sysdeps/x86_64/_mcount.S (_mcount): Add unwind descriptor.
4850         (__fentry__): Likewise.
4852 2016-03-03  H.J. Lu  <hongjiu.lu@intel.com>
4854         * gmon/Makefile (noprof): Add $(sysdep_noprof).
4855         * sysdeps/x86_64/Makefile (sysdep_noprof): Add _mcount.
4857 2016-03-01  H.J. Lu  <hongjiu.lu@intel.com>
4859         * sysdeps/x86_64/_mcount.S (C_LABEL(_mcount)): Call
4860         __mcount_internal directly.
4861         (C_LABEL(__fentry__)): Likewise.
4862         * sysdeps/x86_64/setjmp.S __sigsetjmp): Call __sigjmp_save
4863         directly.
4865 2016-03-01  H.J. Lu  <hongjiu.lu@intel.com>
4867         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
4868         (__start_context): Call __setcontext directly.
4870 2016-02-26  Joseph Myers  <joseph@codesourcery.com>
4872         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
4873         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
4874         [__LINUX_KERNEL_VERSION >= 0x030200]: Likewise.
4875         [__LINUX_KERNEL_VERSION < 0x020621]: Remove conditional code.
4876         * sysdeps/unix/sysv/linux/arm/kernel-features.h
4877         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
4878         [__LINUX_KERNEL_VERSION >= 0x020624]: Likewise.
4879         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
4880         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
4881         [__LINUX_KERNEL_VERSION >= 0x020622]: Likewise.
4882         [__LINUX_KERNEL_VERSION >= 0x030100]: Likewise.
4883         [__LINUX_KERNEL_VERSION < 0x020625]: Remove conditional code.
4884         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
4885         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
4886         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
4887         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
4888         [__LINUX_KERNEL_VERSION < 0x030000]: Remove conditional code.
4889         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
4890         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
4891         [__LINUX_KERNEL_VERSION < 0x020621]: Remove conditional code.
4892         [__LINUX_KERNEL_VERSION < 0x020625]: Likewise.
4893         * sysdeps/unix/sysv/linux/mips/kernel-features.h
4894         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
4895         [__LINUX_KERNEL_VERSION >= 0x030100]: Likewise.
4896         [_MIPS_SIM == _ABIN32 && __LINUX_KERNEL_VERSION < 0x020623]:
4897         Remove conditional code.
4898         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
4899         [__LINUX_KERNEL_VERSION >= 0x020625]: Make code unconditional.
4900         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
4901         * sysdeps/unix/sysv/linux/sh/kernel-features.h
4902         [__LINUX_KERNEL_VERSION >= 0x020625]: Likewise.
4903         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
4904         [__LINUX_KERNEL_VERSION < 0x020625]: Remove conditional code.
4905         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
4906         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
4907         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
4908         * sysdeps/unix/sysv/linux/tile/kernel-features.h
4909         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
4911 2016-02-24  Marko Myllynen  <myllynen@redhat.com>
4913         * NEWS (2.23): Fix typo in bug 19048 text.
4915 2016-02-24  Carlos O'Donell  <carlos@redhat.com>
4917         [BZ #14259]
4918         * Makeconfig: Rename msgcatdir to localedir.
4919         Rename inst_msgcatdir to inst_localedir.
4920         * catgets/Makefile (catgets-CPPFLAGS): Use localedir.
4921         * config.make.in: Add localedir.
4922         * elf/Makefile ($(objpfx)sotruss): Use localedir.
4923         (ldd-rewrite): Likewise.
4924         * intl/Makefile: Rename inst_msgcatdir to inst_localedir.
4925         (install-others): Use inst_localedir.
4926         (CPPFLAGS): Use localedir.
4927         * locale/Makefile (locale-CPPFLAGS): Likewise.
4928         * po/Makefile (mo-installed): Use inst_localedir.
4930         [BZ #19575]
4931         * localedata/charmaps/GB18030: Update comments regarding PAU to
4932         non-PUA mappings.
4934 2016-02-24  Joseph Myers  <joseph@codesourcery.com>
4936         * sysdeps/unix/sysv/linux/configure.ac (linux/fanotify.h): Do not
4937         test for header.
4938         * sysdeps/unix/sysv/linux/configure: Regenerated.
4939         * config.h.in (HAVE_LINUX_FANOTIFY_H): Remove #undef.
4940         * sysdeps/unix/sysv/linux/tst-fanotify.c [!HAVE_LINUX_FANOTIFY_H]:
4941         Remove conditional code.
4942         [HAVE_LINUX_FANOTIFY_H]: Make code unconditional.
4944         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
4945         Define to 3.2.0.
4946         (arch_minimum_kernel): Likewise.
4947         * sysdeps/unix/sysv/linux/configure: Regenerated.
4948         * sysdeps/unix/sysv/linux/i386/configure.ac (arch_minimum_kernel):
4949         Define to 2.6.32.
4950         * sysdeps/unix/sysv/linux/i386/configure: Regenerated.
4951         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac
4952         (arch_minimum_kernel): Define to 2.6.32.
4953         * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerated.
4954         * README: Document Linux 3.2 requirement.
4955         * manual/install.texi (Linux): Document Linux 3.2 headers
4956         requirement.
4957         * INSTALL: Regenerated.
4959 2016-02-24  Andreas Schwab  <schwab@suse.de>
4961         * math/test-math-isinff.cc (do_test): Only call isinfl and isnanl
4962         if !NO_LONG_DOUBLE.
4964 2016-02-22  Roland McGrath  <roland@hack.frob.com>
4966         * sysdeps/arm/nacl/libc.abilist (GLIBC_2.23): Add GLIBC_2.23,
4967         fts64_children, fts64_close, fts64_open, fts64_read and fts64_set.
4969 2016-02-22  Dmitry V. Levin  <ldv@altlinux.org>
4971         [BZ #19512]
4972         * config.h.in (HAVE_BUILTIN_EXPECT): New macro.
4974 2016-02-22  Stefan Liebler  <stli@linux.vnet.ibm.com>
4976         * posix/tst-dir.c: Include libc-internal.h.
4978 2016-02-20  Florian Weimer  <fweimer@redhat.com>
4980         [BZ #19056]
4981         * dirent/dirent.h (readdir_r, readdir64_r): Mark as deprecated.
4982         * manual/filesys.texi (Reading/Closing Directory): Mention
4983         deprecaion.
4984         * posix/tst-dir.c (main): Disable deprecation warning in test.
4986 2016-02-19  H.J. Lu  <hongjiu.lu@intel.com>
4988         [BZ #19679]
4989         * sysdeps/x86_64/dl-trampoline.S (DL_RUNIME_UNALIGNED_VEC_SIZE):
4990         Renamed to ...
4991         (DL_RUNTIME_UNALIGNED_VEC_SIZE): This.  Set to 8.
4992         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
4993         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.  Updated.
4994         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
4995         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.
4996         * sysdeps/x86_64/dl-trampoline.h
4997         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
4998         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.
5000 2016-02-19  Mark Wielaard  <mjw@redhat.com>
5002         * elf/elf.h: Add NT_ARM_SYSTEM_CALL.
5004 2016-02-19  Mark Wielaard  <mjw@redhat.com>
5006         * elf/elf.h (R_386_GOT32X): New.
5007         (R_386_NUM): Update.
5008         (R_X86_64_GOTPCRELX: New.
5009         (R_X86_64_REX_GOTPCRELX): New.
5010         (R_X86_64_NUM): Update.
5012 2016-02-19  Mike Frysinger  <vapier@gentoo.org>
5014         * test-skeleton.c (TIMEOUT): Change to 20 and adjust comment.
5016 2016-02-19  Carlos O'Donell  <carlos@systemhalted.org>
5018         * nptl/allocatestack.c (allocate_stack): Declare new stackaddr,
5019         assign attr->stackaddr to it, and adjust it down when
5020         _STACK_GROWS_UP.  Change all attr->stackaddr to stackaddr.
5021         [_STACK_GROWS_UP]: Delete assert.
5022         * nptl/pthread_create.c (START_THREAD_DEFN) [!_STACK_GROWS_DOWN]:
5023         Implement stack grows up logic.
5024         * nptl/pthread_getattr_np.c (pthread_getattr_np): Implement
5025         stack grows up logic.
5027 2016-02-19  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5029         * NEWS: Update with 2.24 template.
5031 2016-02-19  Joseph Myers  <joseph@codesourcery.com>
5033         [BZ #19678]
5034         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
5035         Ensure +0.0 is returned when taking the next value below the least
5036         positive value.
5038 2016-02-19  Florian Weimer  <fweimer@redhat.com>
5040         * sysdeps/generic/malloc-machine.h: Assume mutex_init is always
5041         available.  Do not define NO_THREADS.
5042         * malloc/malloc.c: Do not check NO_THREADS.
5043         * malloc/arena.c: Likewise.
5045 2016-02-19  Florian Weimer  <fweimer@redhat.com>
5047         * malloc/malloc.c (__libc_mallinfo): Update comment.
5048         (struct malloc_par): Remove max_total_mem member, it was always 0.
5049         (int_mallinfo): Store 0 into usmblks (no functional change).
5050         * malloc/hooks.c (struct malloc_state): Document that
5051         max_total_mem is always 0.
5052         * malloc/malloc.h (struct mallinfo): Dcoument that usmblks is
5053         always 0.
5054         * manual/memory.texi (Statistics of Malloc): Likewise.
5056 2016-02-19  Florian Weimer  <fweimer@redhat.com>
5058         * malloc/malloc.c (sysmalloc): Do not update arena_max.
5059         * malloc/arena.c (arena_max): Remove.
5060         (heap_trim, _int_new_arena): Do not update arena_max.
5062 2016-02-19  Florian Weimer  <fweimer@redhat.com>
5064         * resolv/res_init.c (res_ninit): Update comment.
5066 2016-02-19  Florian Weimer  <fweimer@redhat.com>
5068         [BZ #19505]
5069         * posix/spawn_int.h: Add headers and include guard.
5070         (__spawn_valid_fd): New function.
5071         * posix/spawn_faction_addopen.c
5072         (posix_spawn_file_actions_addopen): Use __spawn_valid_fd.
5073         * posix/spawn_faction_addclose.c
5074         (posix_spawn_file_actions_addclose): Likewise.
5075         * posix/spawn_faction_adddup2.c
5076         (posix_spawn_file_actions_adddup2): Likewise.  Add check for
5077         second file descriptor.
5078         * posix/spawn_valid_fd.c: New file.
5079         * posix/tst-posix_spawn-fd.c: New file.
5080         * posix/Makefile (routines): Add spawn_valid_fd.
5081         (tests): Add tst-posix_spawn-fd.
5083 2016-02-19  Florian Weimer  <fweimer@redhat.com>
5085         * malloc/tst-malloc-thread-exit.c: Include test-skeleton.c early.
5086         (do_test): Limit the number of arenas, so that we can use fewer
5087         outer threads.  Limit timeout to 3 seconds, in preparation for a
5088         larger TIMEOUT value.
5090 2016-02-19  Joseph Myers  <joseph@codesourcery.com>
5092         [BZ #19674]
5093         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Include
5094         sign in overflowing and underflowing results when overflow or
5095         underflow is detected early.  Include sign in result before rather
5096         than after scaling.
5098         [BZ #19603]
5099         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
5100         (__ieee754_remainderl): Adjust sign of integer version of low part
5101         when taking absolute value of high part.
5102         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
5103         * math/libm-test.inc (remainder_test_data): Add another test.
5104         (remquo_test_data): Likewise.
5106 2016-02-18  Joseph Myers  <joseph@codesourcery.com>
5108         [BZ #19602]
5109         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Handle
5110         equal high parts and both low parts zero specially.
5111         * sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c: New test.
5112         * sysdeps/ieee754/ldbl-128ibm/Makefile [$(subdir) = math] (tests):
5113         Add test-fmodl-ldbl-128ibm.
5115         [BZ #19595]
5116         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Use
5117         common logic for all cases of shifting subnormal results.  Do not
5118         insert sign bit in shifted mantissa.  Always pass -1023 as biased
5119         exponent to ldbl_insert_mantissa in subnormal case.
5121         [BZ #19594]
5122         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c (__roundl): Use __round
5123         on high and low parts then adjust result and use
5124         ldbl_canonicalize_int if needed.
5126         [BZ #19593]
5127         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Use __trunc
5128         on high part and __floor or __ceil on low part then use
5129         ldbl_canonicalize_int if needed.
5131         [BZ #19592]
5132         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (__ceill): Use __ceil on
5133         high and low parts then use ldbl_canonicalize_int if needed.
5135         [BZ #17899]
5136         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_canonicalize_int):
5137         New function.
5138         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (__floorl): Use __floor
5139         on high and low parts then use ldbl_canonicalize_int if needed.
5141 2016-02-18  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5143         * configure: Regenerated.
5145         * po/libc.pot: Regenerated.
5147         * po/be.po: Updated translation.
5148         * po/bg.po: Likewise.
5149         * po/ca.po: Likewise.
5150         * po/cs.po: Likewise.
5151         * po/da.po: Likewise.
5152         * po/el.po: Likewise.
5153         * po/eo.po: Likewise.
5154         * po/es.po: Likewise.
5155         * po/fi.po: Likewise.
5156         * po/fr.po: Likewise.
5157         * po/gl.po: Likewise.
5158         * po/hr.po: Likewise.
5159         * po/hu.po: Likewise.
5160         * po/ia.po: Likewise.
5161         * po/id.po: Likewise.
5162         * po/it.po: Likewise.
5163         * po/ja.po: Likewise.
5164         * po/lt.po: Likewise.
5165         * po/nb.po: Likewise.
5166         * po/nl.po: Likewise.
5167         * po/pt_BR.po: Likewise.
5168         * po/rw.po: Likewise.
5169         * po/sk.po: Likewise.
5170         * po/sl.po: Likewise.
5171         * po/sv.po: Likewise.
5172         * po/tr.po: Likewise.
5173         * po/zh_CN.po: Likewise.
5174         * po/zh_TW.po: Likewise.
5176         * version.h (RELEAES): Set to "development".
5177         (VERSION): Set to 2.23.90.
5179         * version.h (RELEASE): Set to "stable".
5180         (VERSION): Set to 2.23.
5181         * include/feature.h (__GLIBC_MINOR__): Set to 23.
5183         * NEWS: Updated fixed bugs.
5185 2016-02-18  H.J. Lu  <hongjiu.lu@intel.com>
5186             Wilco Dijkstra  <wdijkstr@arm.com>
5188         [BZ #19462]
5189         * bits/string.h (_STRING_ARCH_unaligned): Renamed to ...
5190         (_STRING_INLINE_unaligned): This.
5191         * include/string.h: Include <string_private.h>.
5192         * string/bits/string2.h: Replace _STRING_ARCH_unaligned with
5193         _STRING_INLINE_unaligned.
5194         * sysdeps/aarch64/bits/string.h (_STRING_ARCH_unaligned): Removed.
5195         (_STRING_INLINE_unaligned): New.
5196         * sysdeps/aarch64/string_private.h: New file.
5197         * sysdeps/generic/string_private.h: Likewise.
5198         * sysdeps/m68k/m680x0/m68020/string_private.h: Likewise.
5199         * sysdeps/s390/string_private.h: Likewise.
5200         * sysdeps/x86/string_private.h: Likewise.
5201         * sysdeps/m68k/m680x0/m68020/bits/string.h
5202         (_STRING_ARCH_unaligned): Renamed to ...
5203         (_STRING_INLINE_unaligned): This.
5204         * sysdeps/s390/bits/string.h (_STRING_ARCH_unaligned): Renamed
5205         to ...
5206         (_STRING_INLINE_unaligned): This.
5207         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Renamed
5208         to ...
5209         (_STRING_INLINE_unaligned): This.
5210         * sysdeps/x86/bits/string.h (_STRING_ARCH_unaligned): Renamed
5211         to ...
5212         (_STRING_INLINE_unaligned): This.
5214 2016-02-17  Andrew Senkevich  <andrew.senkevich@intel.com>
5215             H.J. Lu  <hongjiu.lu@intel.com>
5217         [BZ #19590]
5218         * sysdeps/x86_64/fpu/svml_finite_alias.S (ALIAS_IMPL): Use PIC
5219         relocation.
5221 2016-02-15  Carlos O'Donell  <carlos@redhat.com>
5223         [BZ #18665]
5224         * resolv/nss_dns/dns-host.c (gaih_getanswer_slice): Always set
5225         *herrno_p.
5226         (gaih_getanswer): Document functional behviour. Return tryagain
5227         if any result is tryagain.
5228         * resolv/res_query.c (__libc_res_nsearch): Set buffer size to zero
5229         when freed.
5230         * resolv/res_send.c: Add copyright text.
5231         (__libc_res_nsend): Document that MAXPACKET is expected.
5232         (send_vc): Document. Remove buffer reuse.
5233         (send_dg): Document. Remove buffer reuse. Set *thisanssizp to set the
5234         size of the buffer. Add Dprint for truncated UDP buffer.
5236 2016-02-14  Carlos O'Donell  <carlos@redhat.com>
5238         * manual/install.texi: Latest tested is GCC 5.3, texinfo 6.0, gawk
5239         4.1.3, and sed 4.2.2. Remove po2test.sed comments.
5240         * INSTALL: Regenerate.
5242 2016-02-14  Jakub Jelinek  <jakub@redhat.com>
5243             Jonathan Wakely  <jwakely@redhat.com>
5244             Carlos O'Donell  <carlos@redhat.com>
5246         [BZ 19439]
5247         * math/Makefile (tests): Add test-math-isinff.
5248         (CFLAGS-test-math-isinff.cc): Use -std=gnu++11.
5249         * math/bits/mathcalls.h [__USE_MISC]: Use
5250         '|| __MATH_DECLARING_DOUBLE == 0' to relax definition of
5251         functions not in C++11 and which don't conflict e.g. isinff,
5252         isinfl etc.
5253         * math/test-math-isinff.cc: New file.
5255 2016-02-12  Florian Weimer  <fweimer@redhat.com>
5257         * misc/bug18240.c (do_test): Set RLIMIT_AS.
5259 2016-02-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>
5261         [BZ #19529]
5262         * stdlib/Makefile (CFLAGS-tst-makecontext.c): Add -funwind-tables.
5264 2016-02-04  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
5266         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
5268 2016-02-01  Joseph Myers  <joseph@codesourcery.com>
5270         [BZ #19550]
5271         * sysdeps/unix/sysv/linux/mips/mips32/mmap.c: New file.
5272         * sysdeps/unix/sysv/linux/mips/mips64/mmap64.c: Move to ....
5273         * sysdeps/unix/sysv/linux/mips/mips64/n64/mmap64.c: ... here.
5274         * sysdeps/unix/sysv/linux/mips/mips64/n32/mmap.c: New file.
5275         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (mmap64):
5276         New syscall entry.
5277         * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list (mmap):
5278         New syscall entry.
5279         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (mmap): Remove
5280         syscall entry.
5282 2016-01-27  Paul Eggert  <eggert@cs.ucla.edu>
5284         [BZ #18240]
5285         * misc/hsearch_r.c (isprime, __hcreate_r): Protect against
5286         unsigned int wraparound.
5288 2016-01-27  Florian Weimer  <fweimer@redhat.com>
5290         [BZ #18240]
5291         * misc/bug18240.c: New test.
5292         * misc/Makefile (tests): Add it.
5294 2016-01-28  Steve Ellcey  <sellcey@imgtec.com>
5295             Joseph Myers  <joseph@codesourcery.com>
5297         * sysdeps/mips/memcpy.S (MEMCPY_NAME) [USE_DOUBLE]: Avoid word
5298         load in branch delay slot when less than a word of input left.
5300 2016-01-27  Andreas Schwab  <schwab@suse.de>
5302         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (half): Remove.
5303         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (maxlog, big): Remove.
5304         * sysdeps/powerpc/fpu/s_cosf.c (one): Remove.
5305         * sysdeps/powerpc/fpu/e_hypotf.c (two30): Remove.
5307 2016-01-26  David S. Miller  <davem@davemloft.net>
5309         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Add _Q_cmp.
5311 2016-01-25  David S. Miller  <davem@davemloft.net>
5313         * sysdeps/sparc/sparc32/Versions (GLIBC_2.23): Add entry for
5314         __sqrtl_finite.
5315         * sysdeps/sparc/sparc32/fpu/e_sqrtl.c (__sqrtl_finite): Define
5316         instead using versioned_symbol.
5317         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Fix ordering
5318         of entries.
5320         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Move
5321         __sqrtl_finite to GLIBC_2.23
5323 2016-01-25  Ricchard Henderson  <rth@redhat.com>
5325         * sysdeps/alpha/fpu/libm-test-ulps: Update.
5327 2016-01-25  Andreas Schwab  <schwab@suse.de>
5329         [BZ #17514]
5330         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock)
5331         <case PTHREAD_MUTEX_ERRORCHECK_NP>: Don't do lock elision.
5332         * nptl/Makefile (tests): Add tst-mutex-errorcheck.
5333         * nptl/tst-mutex-errorcheck.c: New file.
5335 2016-01-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5337         [BZ #18560]
5338         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h (__ipc): Remove.
5339         (IPCOP_semop): Likewise.
5340         (IPCOP_semget): Likewise.
5341         (IPCOP_semctl): Likewise.
5342         (IPCOP_msgsnd): Likewise.
5343         (IPCOP_msgrcv): Likewise.
5344         (IPCOP_msgget): Likewise.
5345         (IPCOP_msgctl): Likewise.
5346         (IPCOP_shmat): Likewise.
5347         (IPCOP_shmdt): Likewise.
5348         (IPCOP_shmget): Likewise.
5349         (IPCOP_shmctl): Likewise.
5351 2016-01-22  Stefan Liebler  <stli@linux.vnet.ibm.com>
5353         * string/tst-endian.c: Include <libc-internal.h>.
5354         (do_test): Ignore tautological-compare warnings around
5355         "htobeXX (beXXtoh (i)) != i" and
5356         "htoleXX (leXXtoh (i)) != i" if-statements.
5358 2016-01-24  David S. Miller  <davem@davemloft.net>
5360         * sysdeps/sparc/sparc32/fpu/e_sqrtl.c: New file.
5361         * sysdeps/sparc/sparc32/soft-fp/q_sqrt.c (__ieee754_sqrtl): Remove
5362         alias.
5363         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
5364         __sqrtl_finite.
5366         * sysdeps/sparc/fpu/libm-test-ulps: Update.
5368 2016-01-25  Maciej W. Rozycki  <macro@imgtec.com>
5370         * sysdeps/unix/sysv/linux/mips/configure.ac: Set
5371         `arch_minimum_kernel' to 4.5.0 if 2008 NaN encoding is used.
5372         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
5374 2016-01-22  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5376         * nptl/tst-setuid3.c (is_invalid_barrier_ret): New function.
5377         (thread_func): Use new function to simplify barrier check.
5378         (do_test): Use new function to simplify checking barrier exit
5379         code, and actually join the child thread.
5381 2016-01-22  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5383         * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin): Remove
5384         semicolon.
5385         (__libc_tend): Likewise.
5386         (__libc_tabort): Likewise.
5388 2016-01-22  Chung-Lin Tang  <cltang@codesourcery.com>
5390         * sysdeps/nios2/libm-test-ulps: Update.
5391         * sysdeps/unix/sysv/linux/nios2/localplt.data (__gtdf2): Add.
5392         (__gtsf2): Likewise.
5393         (__unorddf2): Likewise.
5394         (__unordsf2): Likewise.
5395         (__ledf2): Likewise.
5397 2016-01-20  Chris Metcalf  <cmetcalf@ezchip.com>
5399         * nis/nis_table.c (__follow_path): Disable diagnostic for
5400         uninitialized variable that is a false positive for gcc 4.7.
5401         * stdio-common/vfscanf.c (_IO_vfwscanf): Likewise.
5403 2016-01-20  Roland McGrath  <roland@hack.frob.com>
5405         * sysdeps/nacl/lowlevellock-futex.h
5406         (lll_futex_wait, lll_futex_timed_wait, lll_futex_wake):
5407         Always evaluate PRIVATE argument.
5409 2016-01-20  Paul Pluzhnikov  <ppluzhnikov@google.com>
5411         [BZ #19490]
5412         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S
5413         (pthread_cond_broadcast): Use ENTRY/END
5414         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S
5415         (pthread_cond_signal): Likewise.
5416         * sysdeps/x86_64/nptl/pthread_spin_lock.S (pthread_spin_lock):
5417         Likewise.
5418         * sysdeps/x86_64/nptl/pthread_spin_trylock.S (pthread_spin_trylock):
5419         Likewise.
5420         * sysdeps/x86_64/nptl/pthread_spin_unlock.S (pthread_spin_unlock):
5421         Likewise.
5423 2016-01-20  Joseph Myers  <joseph@codesourcery.com>
5425         * sysdeps/ieee754/dbl-64/s_finite.c
5426         [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Define
5427         compat symbol at version GLIBC_2_1 and use GLIBC_2_1 in
5428         SHLIB_COMPAT condition for libm, not GLIBC_2_0.
5429         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c
5430         [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Likewise.
5432         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
5433         (__gtsf2): Add as optional for libc.so.
5434         (__unordsf2): Likewise.
5435         (__signbit): Remove for libc.so.
5436         (__signbitl): Likewise.
5438 2016-01-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
5440         * iconvdata/bug-iconv11.c (test_ibm93x):
5441         Use %zu printf format specifier for size_t argument.
5443 2016-01-19  Joseph Myers  <joseph@codesourcery.com>
5445         * math/gen-libm-test.pl (parse_ulps): Do not reduce
5446         already-recorded ulps.
5447         * sysdeps/arm/libm-test-ulps: Regenerated.
5448         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
5449         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
5450         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
5452 2016-01-19  Andrew Senkevich  <andrew.senkevich@intel.com>
5453             Paul Pluzhnikov  <ppluzhnikov@google.com>
5455         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Fixed build with
5456         assembler not supporting AVX-512.
5458 2016-01-18  Stefan Liebler  <stli@linux.vnet.ibm.com>
5460         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
5462 2016-01-18  Joseph Myers  <joseph@codesourcery.com>
5464         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
5465         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
5467         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
5469         * sysdeps/arm/libm-test-ulps: Regenerated.
5471 2016-01-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
5473         [BZ #19451]
5474         * math/Makefile (libm-vec-tests): Move libraries after wrappers.o
5476 2016-01-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
5478         [BZ #19486]
5479         * sysdeps/s390/fix-fp-int-convert-overflow.h: New File.
5480         * sysdeps/generic/fix-fp-int-convert-overflow.h
5481         (FIX_LDBL_LONG_CONVERT_OVERFLOW,
5482         FIX_LDBL_LLONG_CONVERT_OVERFLOW): New define.
5483         * sysdeps/arm/fix-fp-int-convert-overflow.h: Likewise.
5484         * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h:
5485         Likewise.
5486         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl):
5487         Avoid conversions to long int where inexact exceptions
5488         could be raised.
5489         * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl):
5490         Likewise.
5491         * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl):
5492         Avoid conversions to long long int where inexact exceptions
5493         could be raised.
5494         * sysdeps/ieee754/ldbl-128/s_llroundl.c (__llroundl):
5495         Likewise.
5497 2016-01-17  Mike Frysinger  <vapier@gentoo.org>
5499         * configure.ac: Rewrite error comment and use AC_MSG_ERROR.
5500         * configure: Regenerated.
5502 2016-01-16  Andrew Senkevich  <andrew.senkevich@intel.com>
5504         * sysdeps/x86_64/multiarch/memcpy_chk.S: Fixed typos.
5506 2016-01-16  Mike Frysinger  <vapier@gentoo.org>
5508         * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT): Move
5509         outside of comment.
5511 2016-01-15  Torvald Riegel  <triegel@redhat.com>
5513         * nptl/tst-barrier1.c: Add description on first line.
5514         * nptl/tst-barrier2.c: Likewise.
5515         * nptl/tst-barrier3.c: Likewise.
5516         * nptl/tst-barrier4.c: Likewise.
5517         * nptl/tst-barrier5.c: Likewise.
5519 2016-01-15  Torvald Riegel  <triegel@redhat.com>
5521         [BZ #18868]
5522         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Apply fix.
5524 2016-01-16  Andrew Senkevich  <andrew.senkevich@intel.com>
5526         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new files.
5527         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
5528         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: New file.
5529         * sysdeps/x86_64/multiarch/mempcpy-avx512-no-vzeroupper.S: Likewise.
5530         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: Likewise.
5531         * sysdeps/x86_64/multiarch/memcpy.S: Added new IFUNC branch.
5532         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
5533         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
5534         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
5535         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
5536         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
5538 2016-01-15  Torvald Riegel  <triegel@redhat.com>
5540         [BZ #13065]
5541         * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Replace with
5542         new implementation.
5543         * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy): Likewise.
5544         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Adapt.
5545         * sysdeps/nptl/internaltypes.h (pthread_barrier): Adapt.
5546         (BARRIER_IN_THRESHOLD): New macro.
5547         * nptl/pthread_barrierattr_setpshared.c
5548         (pthread_barrierattr_setpshared): Clean up.
5549         * nptl/tst-barrier4.c: Correct comment.
5550         * nptl/tst-barrier5.c: New file.
5551         * nptl/Makefile (tests): Add nptl/tst-barrier5.c.
5552         (gen-as-const-headers): Remove lowlevelbarrier.sym.
5553         * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Remove.
5554         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Remove.
5555         * nptl/lowlevelbarrier.sym: Remove.
5556         * nptl/DESIGN-barrier.txt: Remove.
5557         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Remove.
5558         * sysdeps/sparc/nptl/pthread_barrier_init.c: Remove.
5559         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Remove.
5560         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: Replace with build
5561         error.
5562         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: Use generic
5563         implementation.
5565 2016-01-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5567         * rt/tst-mqueue5.c (thr): Cleanup misleading comment.
5568         (do_child): Mask SIGRTMIN while thr is running.
5570 2016-01-15  Martin Sebor  <msebor@redhat.com>
5572         [BZ #19432]
5573         * iconvdata/Makefile: Add bug-iconv11.
5574         * iconvdata/bug-iconv11.c: New test.
5575         * iconvdata/ibm930.c: Do not reject redundant shift sequences.
5576         * iconvdata/ibm933.c: Same.
5577         * iconvdata/ibm935.c: Same.
5578         * iconvdata/ibm937.c: Same.
5579         * iconvdata/ibm939.c: Same.
5581 2016-01-15  Martin Sebor  <msebor@redhat.com>
5583         [BZ #19443]
5584         * crypt/crypt_util.c [DEBUG] (_ufc_prbits): Correct format string.
5585         [DEBUG] (_ufc_set_bits): Declare used.
5586         * iconv/gconv_dl.c [DEBUG]: Add a missing include directive.
5587         [DEBUG] (print_all): Declare used.
5588         * resolv/res_send.c [DEBUG] (__libc_res_nsend): Explicitly convert
5589         operands of the ternary ?: expression to target type.
5590         * stdlib/rshift.c [DEBUG] (mpn_rshift): Use assert() instead of
5591         calling the undeclared abort.
5592         * time/mktime.c [DEBUG] (DEBUG): Rename to DEBUG_MKTIME.
5594 2016-01-15  Martin Sebor  <msebor@redhat.com>
5596         [BZ #18755]
5597         * iconv/skeleton.c (FUNCTION_NAME): Suppress -Wunused-but-set-variable
5598         warnings.
5599         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread): Same.
5600         (__gai_create_helper_thread): Same.
5601         * nscd/nscd.c (do_exit): Suppress -Wunused-variable.
5602         * iconvdata/iso-2022-cn-ext.c (BODY): Initialize local variable
5603         to suppress -Wmaybe-uninitialized warnings.
5605 2016-01-15  H.J. Lu  <hongjiu.lu@intel.com>
5607         [BZ #19465]
5608         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Call math_opt_barrier
5609         inside if.
5610         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
5611         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
5612         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
5614 2016-01-14  H.J. Lu  <hongjiu.lu@intel.com>
5616         [BZ #19466]
5617         * time/tst-mktime2.c (time_t_max): Removed.
5618         (time_t_min): Likewise.
5619         (TYPE_SIGNED): New.
5620         (TYPE_MINIMUM): Likewise.
5621         (TYPE_MAXIMUM): Likewise.
5622         (TIME_T_MIN): Likewise.
5623         (TIME_T_MAX): Likewise.
5624         (mktime_test): Replace time_t_max and time_t_min with TIME_T_MAX
5625         and TIME_T_MIN.
5626         (do_test): Likewise.
5628 2016-01-14  Amit Pawar  <amit.pawar@amd.com>
5630         [BZ #19467]
5631         * sysdeps/x86/cpu-features.c (init_cpu_features): Set
5632         index_Fast_Unaligned_Load flag for Excavator family CPUs.
5634 2016-01-02  Marcin Kościelnicki  <koriakin@0x04.net>
5636         * sysdeps/s390/nptl/tls.h (struct tcbhead_t): Add __private_ss field.
5638 2016-01-13  Carlos O'Donell  <carlos@redhat.com>
5640         * benchtests/Makefile (PYTHON): Define.
5641         (bench-func): Use $(PYTHON) to run python scripts.
5642         ($(objpfx)bench-%.c): Likewise.
5644 2016-01-13  Flavio Cruz  <flaviocruz@gmail.com>
5646         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Do not remove
5647         leading slash when `file_name' is "/".
5649 2016-01-12  Joseph Myers  <joseph@codesourcery.com>
5651         * bits/mman-linux.h [!MCL_CURRENT] (MCL_ONFAULT): New macro.
5652         * sysdeps/unix/sysv/linux/alpha/bits/mman.h (MCL_ONFAULT):
5653         Likewise.
5654         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h (MCL_ONFAULT):
5655         Likewise.
5656         * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT):
5657         Likewise.
5658         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_GETSIGMASK): New
5659         enum constant and macro.
5660         (PTRACE_SETSIGMASK): Likewise.
5661         (PTRACE_SECCOMP_GET_FILTER): Likewise.
5662         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
5663         (PTRACE_GETSIGMASK): Likewise.
5664         (PTRACE_SETSIGMASK): Likewise.
5665         (PTRACE_SECCOMP_GET_FILTER): Likewise.
5666         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_GETSIGMASK):
5667         Likewise.
5668         (PTRACE_SETSIGMASK): Likewise.
5669         (PTRACE_SECCOMP_GET_FILTER): Likewise.
5670         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
5671         (PTRACE_GETSIGMASK): Likewise.
5672         (PTRACE_SETSIGMASK): Likewise.
5673         (PTRACE_SECCOMP_GET_FILTER): Likewise.
5674         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_GETSIGMASK):
5675         Likewise.
5676         (PTRACE_SETSIGMASK): Likewise.
5677         (PTRACE_SECCOMP_GET_FILTER): Likewise.
5678         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_GETSIGMASK):
5679         Likewise.
5680         (PTRACE_SETSIGMASK): Likewise.
5681         (PTRACE_SECCOMP_GET_FILTER): Likewise.
5682         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_GETSIGMASK):
5683         Likewise.
5684         (PTRACE_SETSIGMASK): Likewise.
5685         (PTRACE_SECCOMP_GET_FILTER): Likewise.
5687 2016-01-11  Jonathan Wakely  <jwakely.gcc@gmail.com>
5688             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5690         [BZ #19439]
5691         * math/bits/mathcalls.h
5692         [!__cplusplus || __cplusplus < 201103L] (isinf): Do not declare
5693         prototype.
5694         [!__cplusplus || __cplusplus < 201103L] (isnan): Likewise.
5696 2016-01-11  Andreas Schwab  <schwab@suse.de>
5698         [BZ #19253]
5699         * time/tzfile.c (__tzfile_default): Invalidate tzfile attribute
5700         cache when TZDEFRULES was used.
5701         * time/tst-tzname.c: New file.
5702         * time/Makefile (test): Add tst-tzname.
5703         (tst-tzname-ENV, CPPFLAGS-tst-tzname.c): Define.
5704         * timezone/Makefile (test-zones): Add $(posixrules-file).
5705         ($(testdata)/$(posixrules-file)): New rule.
5707 2016-01-10  Paul Eggert  <eggert@cs.ucla.edu>
5709         Fix doc quoting problems with Texinfo 5
5710         Without this change, in the info file output, Texinfo 5 quotes code
5711         in text with undirected single quotes 'like this' and generates
5712         code examples that with many PDF readers cannot be cut out of PDFs
5713         and pasted into code.
5714         * manual/libc.texinfo: Configure the libc manual like the GNU
5715         Emacs manual, by using @documentencoding and setting
5716         txicodequoteundirected and txicodequotebacktick.  This way,
5717         Texinfo 5 quotes code in text with directed single quotes ‘like
5718         this’ and produces examples that can be cut out of PDFs.  This
5719         change causes Texinfo 5 to generate info files that contain UTF-8
5720         characters in the set {'‘', '’', '“', '”', 'Ä', 'ä', 'ö', '−',
5721         '–', '—', '©', '⇒', '•', '…'}, which is OK nowadays.
5723 2016-01-08  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
5725         * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin,
5726         __libc_tabort, __libc_tend): New wrappers that enforce compiler
5727         barriers to their respective compiler built-ins.
5728         * sysdeps/powerpc/nptl/elide.h (__get_new_count, ELIDE_LOCK,
5729         ELIDE_TRYLOCK, __elide_unlock): Use the new wrappers.
5730         * sysdeps/powerpc/sysdep.h: Likewise.
5731         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: Likewise.
5732         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: Likewise.
5733         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: Likewise.
5735 2016-01-08  Marko Myllynen  <myllynen@redhat.com>
5737         * scripts/config.guess: Revert previous shebang change.
5738         * scripts/config.sub: Likewise.
5739         * scripts/mkinstalldirs: Likewise.
5741 2016-01-08  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
5743         * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_ARCH_3_00 and
5744         PPC_FEATURE2_HAS_IEEE128.
5745         * sysdeps/powerpc/dl-procinfo.c:
5746         (_dl_powerpc_cap_flags): Add corresponding names to new capabilities.
5748 2016-01-08  John David Anglin  <danglin@gcc.gnu.org>
5750         [BZ #19415]
5751         * sysdeps/hppa/dl-fptr.c (_dl_fixup): Declare.
5752         (elf_machine_resolve): New.  Return address of _dl_runtime_resolve.
5753         (_dl_lookup_address): Rewrite using function resolver trampoline.
5754         * sysdeps/hppa/dl-lookupcfg.h (DL_LOOKUP_ADDRESS): Don't clear bottom
5755         two bits in address.
5757 2016-01-07  Mike Frysinger  <vapier@gentoo.org>
5759         * longlong.h: Change !__SHMEDIA__ to
5760         (!defined (__SHMEDIA__) || !__SHMEDIA__).
5761         Change __SHMEDIA__ to defined (__SHMEDIA__) && __SHMEDIA__.
5763 2016-01-07  Daniel Jacobowitz  <dan@codesourcery.com>
5764             Joseph Myers  <joseph@codesourcery.com>
5765             Mark Shinwell  <shinwell@codesourcery.com>
5766             Andrew Stubbs  <ams@codesourcery.com>
5767             Rich Felker <dalias@libc.org>
5769         * longlong.h (udiv_qrnnd): Add FDPIC compatible version for SH.
5771 2016-01-07  Richard Henderson  <rth@redhat.com>
5773         * longlong.h [__alpha] (umul_ppmm): Disable for c++.
5775 2016-01-07  Mike Frysinger  <vapier@gentoo.org>
5777         * sysdeps/unix/sysv/linux/fxstat64.c (___fxstat64): Change
5778         __ASSUME_ST_INO_64_BIT == 0 to !defined __ASSUME_ST_INO_64_BIT.
5779         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
5780         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
5781         * sysdeps/unix/sysv/linux/xstatconv.c (__xstat32_conv): Likewise.
5783 2016-01-07  Paul Eggert  <eggert@cs.ucla.edu>
5784             Joseph Myers  <joseph@codesourcery.com>
5786         * timezone/private.h: Update from tzcode 2015g.
5787         * timezone/tzfile.h: Likewise.
5788         * timezone/tzselect.ksh: Likewise.
5789         * timezone/zdump.c: Likewise.
5790         * timezone/zic.c: Likewise.
5791         * timezone/ialloc.c: Remove file.
5792         * timezone/scheck.c: Likewise.
5793         * timezone/Makefile (extra-objs): Remove variable.
5794         ($(objpfx)zic): Do not depend on scheck.o and ialloc.o.
5795         (tz-cflags): Add -DHAVE_GETTEXT -DUSE_LTZ=0
5796         -Wno-maybe-uninitialized.
5797         (CFLAGS-zdump.c): Remove -fwrapv -DNOID -DHAVE_GETTEXT.
5798         (CFLAGS-zic.c): Remove -DNOID -DHAVE_GETTEXT.
5799         (CFLAGS-ialloc.c): Remove variable.
5800         (CFLAGS-scheck.c): Likewise.
5801         * timezone/README: Update list of files from tzcode.
5803 2016-01-07  Khem Raj  <raj.khem@gmail.com>
5805         * argp/argp-fmtstream.c (__argp_fmtstream_free): Use fwrite_unlocked
5806         instead of __fxprintf when _LIBC is undefined.
5808 2016-01-07  Marko Myllynen  <myllynen@redhat.com>
5810         * catgets/test-gencat.sh: Remove space after shebang.
5811         * conform/GlibcConform.pm: Likewise.
5812         * conform/check-header-lists.sh: Likewise.
5813         * conform/conformtest.pl: Likewise.
5814         * conform/linknamespace.pl: Likewise.
5815         * conform/list-header-symbols.pl: Likewise.
5816         * debug/catchsegv.sh: Likewise.
5817         * elf/genrtldtbl.awk: Likewise.
5818         * elf/tst-pathopt.sh: Likewise.
5819         * elf/tst-rtld-load-self.sh: Likewise.
5820         * grp/tst_fgetgrent.sh: Likewise.
5821         * iconvdata/gen-8bit-gap-1.sh: Likewise.
5822         * iconvdata/gen-8bit-gap.sh: Likewise.
5823         * iconvdata/gen-8bit.sh: Likewise.
5824         * iconvdata/run-iconv-test.sh: Likewise.
5825         * intl/tst-gettext.sh: Likewise.
5826         * intl/tst-gettext2.sh: Likewise.
5827         * intl/tst-gettext4.sh: Likewise.
5828         * intl/tst-gettext6.sh: Likewise.
5829         * intl/tst-translit.sh: Likewise.
5830         * io/ftwtest-sh: Likewise.
5831         * libio/test-freopen.sh: Likewise.
5832         * locale/gen-translit.pl: Likewise.
5833         * malloc/tst-mtrace.sh: Likewise.
5834         * manual/check-safety.sh: Likewise.
5835         * manual/libc-texinfo.sh: Likewise.
5836         * manual/tsort.awk: Likewise.
5837         * manual/xtract-typefun.awk: Likewise.
5838         * nptl/tst-cancel-wrappers.sh: Likewise.
5839         * nptl/tst-tls6.sh: Likewise.
5840         * posix/globtest.sh: Likewise.
5841         * posix/tst-getconf.sh: Likewise.
5842         * posix/wordexp-tst.sh: Likewise.
5843         * scripts/check-c++-types.sh: Likewise.
5844         * scripts/check-local-headers.sh: Likewise.
5845         * scripts/config.guess: Likewise.
5846         * scripts/config.sub: Likewise.
5847         * scripts/cpp: Likewise.
5848         * scripts/cross-test-ssh.sh: Likewise.
5849         * scripts/documented.sh: Likewise.
5850         * scripts/evaluate-test.sh: Likewise.
5851         * scripts/gen-libc-abis: Likewise.
5852         * scripts/gen-sorted.awk: Likewise.
5853         * scripts/list-fixed-bugs.py: Likewise.
5854         * scripts/merge-test-results.sh: Likewise.
5855         * scripts/mkinstalldirs: Likewise.
5856         * scripts/rellns-sh: Likewise.
5857         * scripts/test-installation.pl: Likewise.
5858         * scripts/update-copyrights: Likewise.
5859         * stdio-common/tst-printf.sh: Likewise.
5860         * stdio-common/tst-unbputc.sh: Likewise.
5861         * stdlib/tst-fmtmsg.sh: Likewise.
5862         * stdlib/tst-setcontext3.sh: Likewise.
5863         * sysdeps/i386/tst-ld-sse-use.sh: Likewise.
5864         * sysdeps/unix/make-syscalls.sh: Likewise.
5866 2016-01-06  John David Anglin  <dave.anglin@bell.net>
5868         * sysdeps/hppa/nptl/pthread_spin_init.c (pthread_spin_init): Replace
5869         asm stw with atomic_exchange_rel.  Add explanatory comment.
5870         * sysdeps/hppa/nptl/pthread_spin_unlock.c (pthread_spin_unlock):
5871         Likewise.
5873 2016-01-05  H.J. Lu  <hongjiu.lu@intel.com>
5875         [BZ #19122]
5876         * include/unistd.h [IS_IN (rtld)]: Include <dl-unistd.h>.
5877         * sysdeps/generic/dl-unistd.h: New file.
5878         * sysdeps/mach/hurd/dl-unistd.h: Likewise.
5880 2016-01-05  H.J. Lu  <hongjiu.lu@intel.com>
5882          [BZ #19122]
5883          * include/sys/mman.h [IS_IN (rtld)]: Include <dl-mman.h>.
5884          * sysdeps/generic/dl-mman.h: New file.
5885          * sysdeps/mach/hurd/dl-mman.h: Likewise.
5887 2016-01-05  Joseph Myers  <joseph@codesourcery.com>
5889         * manual/texinfo.tex: Update to version 2016-01-04.21 with
5890         trailing whitespace removed.
5891         * scripts/config.guess: Update to version 2016-01-01.
5892         * scripts/config.sub: Update to version 2016-01-01.
5893         * scripts/move-if-change: Update from gnulib.
5895 2016-01-04  Anton Blanchard  <anton@samba.org>
5897         * sysdeps/ieee754/dbl-64/e_pow.c (log1): Use unsigned int
5898         for array indices.
5899         * sysdeps/ieee754/dbl-64/e_pow.c (my_log2): Likewise.
5901 2016-01-04  Joseph Myers  <joseph@codesourcery.com>
5903         * NEWS: Update copyright dates.
5904         * catgets/gencat.c (print_version): Likewise.
5905         * csu/version.c (banner): Likewise.
5906         * debug/catchsegv.sh: Likewise.
5907         * debug/pcprofiledump.c (print_version): Likewise.
5908         * debug/xtrace.sh (do_version): Likewise.
5909         * elf/ldconfig.c (print_version): Likewise.
5910         * elf/ldd.bash.in: Likewise.
5911         * elf/pldd.c (print_version): Likewise.
5912         * elf/sotruss.sh: Likewise.
5913         * elf/sprof.c (print_version): Likewise.
5914         * iconv/iconv_prog.c (print_version): Likewise.
5915         * iconv/iconvconfig.c (print_version): Likewise.
5916         * locale/programs/locale.c (print_version): Likewise.
5917         * locale/programs/localedef.c (print_version): Likewise.
5918         * login/programs/pt_chown.c (print_version): Likewise.
5919         * malloc/memusage.sh (do_version): Likewise.
5920         * malloc/memusagestat.c (print_version): Likewise.
5921         * malloc/mtrace.pl: Likewise.
5922         * manual/libc.texinfo: Likewise.
5923         * nptl/version.c (banner): Likewise.
5924         * nscd/nscd.c (print_version): Likewise.
5925         * nss/getent.c (print_version): Likewise.
5926         * nss/makedb.c (print_version): Likewise.
5927         * posix/getconf.c (main): Likewise.
5928         * scripts/test-installation.pl: Likewise.
5929         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
5931         * All files with FSF copyright notices: Update copyright dates
5932         using scripts/update-copyrights.
5933         * intl/plural.c: Regenerated.
5934         * locale/programs/charmap-kw.h: Likewise.
5935         * locale/programs/locfile-kw.h: Likewise.
5937 2016-01-02  Helge Deller  <deller@gmx.de>
5939         [BZ #19285]
5940         * sysdeps/unix/sysv/linux/hppa/bits/mman.h (MAP_STACK): Define.
5941         (MAP_HUGETLB, MCL_ONFAULT): Likewise.
5942         (MADV_HUGEPAGE, MADV_NOHUGEPAGE, MADV_DONTDUMP, MADV_DODUMP): Likewise.
5943         (MADV_xxK_PAGES): Remove.
5945 2016-01-01  Mike Frysinger  <vapier@gentoo.org>
5947         [BZ #15421]
5948         * sysdeps/ia64/fpu/w_lgamma_main.c: Include math.h & math_private.h.
5949         [BUILD_LGAMMA]: Wrap all code by define.  Re-indent sub-preprocessor.
5950         * sysdeps/ia64/fpu/w_lgammaf_main.c: Likewise.
5951         * sysdeps/ia64/fpu/w_lgammal_main.c: Likewise.
5953 2015-12-30  Dmitry V. Levin  <ldv@altlinux.org>
5955         [BZ #19408]
5956         * sysdeps/unix/sysv/linux/personality.c: New file.
5957         * sysdeps/unix/sysv/linux/sparc/sparc64/personality.c: Likewise.
5958         * sysdeps/unix/sysv/linux/tst-personality.c: Likewise.
5959         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == misc]
5960         (sysdep_routines): Add personality.
5961         (tests): Add tst-personality.
5962         * sysdeps/unix/sysv/linux/syscalls.list (personality): Move ...
5963         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ... here.
5964         * sysdeps/unix/sysv/linux/arm/syscalls.list (personality): New entry.
5965         * sysdeps/unix/sysv/linux/hppa/syscalls.list (personality): Likewise.
5966         * sysdeps/unix/sysv/linux/i386/syscalls.list (personality): Likewise.
5967         * sysdeps/unix/sysv/linux/m68k/syscalls.list (personality): Likewise.
5968         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (personality):
5969         Likewise.
5970         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (personality):
5971         Likewise.
5972         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (personality):
5973         Likewise.
5974         * sysdeps/unix/sysv/linux/sh/syscalls.list (personality): Likewise.
5975         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (personality):
5976         Likewise.
5978 2015-12-30  Aurelien Jarno  <aurelien@aurel32.net>
5980         * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include <string.h>.
5981         (PATH_ARM_SYSTYPE): Remove.
5982         (PATH_CPUINFO): Likewise.
5983         (IO_BASE_FOOTBRIDGE): Likewise.
5984         (IO_SHIFT_FOOTBRIDGE): Likewise.
5985         (struct platform): Likewise.
5986         (init_iosys): Remove compatibility code for 2.4 kernels.
5987         * sysdeps/unix/sysv/linux/arm/localplt.data: Remove fscanf.
5989 2015-12-29  Florian Weimer  <fweimer@redhat.com>
5991         * malloc/tst-malloc-thread-fail.c: New file.
5992         * malloc/Makefile (tests): Add tst-malloc-thread-fail.
5993         (tst-malloc-thread-fail): Link against libpthread.
5995 2015-12-29  Mike Frysinger  <vapier@gentoo.org>
5997         * scripts/list-fixed-bugs.py: Import argparse.  Call main instead.
5998         (get_parser): New function.
5999         (main): New function.
6001 2015-12-29  Rob Wu  <rob@robwu.nl>
6003         [BZ #19369]
6004         * resolv/res_init.c (__res_vinit): Reset defdname before use.
6006 2015-12-29  John David Anglin  <danglin@gcc.gnu.org>
6008         [BZ #19270]
6009         * sysdeps/hppa/fpu/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
6011 2015-12-28  Mike Frysinger  <vapier@gentoo.org>
6013         [BZ #15421]
6014         * sysdeps/ia64/fpu/w_lgamma_main.c: Change gammaf to gamma.
6016 2015-12-23  Torvald Riegel  <triegel@redhat.com>
6018         [BZ #13690]
6019         * sysdeps/nptl/lowlevellock.h (__lll_unlock): Do not access the lock
6020         after releasing it.
6021         (__lll_robust_unlock): Likewise.
6022         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
6023         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (lll_unlock): Likewise.
6024         (lll_robust_unlock): Likewise.
6025         * sysdeps/unix/sysv/linux/lowlevellock-futex.h (__lll_private_flag):
6026         Prevent warnings in callers.
6028 2015-12-23  Florian Weimer  <fweimer@redhat.com>
6030         * malloc/arena.c (list_lock): Update comment.
6032 2015-12-22  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
6034         * sysdeps/powerpc/hwcapinfo.c: Export symbol
6035         __parse_hwcap_and_convert_at_platform to libc.a.
6037 2015-12-22  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
6039         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Added
6040         platform and feature support for POWER9.
6041         * sysdeps/powerpc/dl-procinfo.h: Likewise.
6042         * sysdeps/powerpc/powerpc32/power9/Implies: New file.
6043         * sysdeps/powerpc/powerpc32/power9/fpu/multiarch/Implies: Likewise.
6044         * sysdeps/powerpc/powerpc32/power9/multiarch/Implies: Likewise.
6045         * sysdeps/powerpc/powerpc64/power9/Implies: Likewise, for powerpc64.
6046         * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Likewise.
6047         * sysdeps/powerpc/powerpc64/power9/fpu/multiarch/Implies: Likewise.
6048         * sysdeps/powerpc/powerpc64/power9/multiarch/Implies: Likewise.
6050 2015-12-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
6052         Harmonize generic stdio-lock support with nptl
6054         This fixes build when _IO_funlockfile is a macro, fixes build where
6055         _IO_acquire_lock_clear_flags2 is used, and fixes unlocking on unexpected
6056         stack unwind.
6058         * sysdeps/generic/stdio-lock.h [__EXCEPTIONS] (_IO_acquire_lock,
6059         _IO_release_lock ): Use cleanup attribute on new
6060         _IO_acquire_lock_file variable instead of assuming that
6061         _IO_release_lock will be called.
6062         [!__EXCEPTIONS] (_IO_acquire_lock): Define to non-existing
6063         _IO_acquire_lock_needs_exceptions_enabled.
6064         (_IO_acquire_lock_clear_flags2): New macro.
6066 2015-12-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6068         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
6070 2015-12-21  Florian Weimer  <fweimer@redhat.com>
6072         [BZ #19182]
6073         * malloc/arena.c (list_lock): Document lock ordering requirements.
6074         (free_list_lock): New lock.
6075         (ptmalloc_lock_all): Comment on free_list_lock.
6076         (ptmalloc_unlock_all2): Reinitialize free_list_lock.
6077         (detach_arena): Update comment.  free_list_lock is now needed.
6078         (_int_new_arena): Use free_list_lock around detach_arena call.
6079         Acquire arena lock after list_lock.  Add comment, including FIXME
6080         about incorrect synchronization.
6081         (get_free_list): Switch to free_list_lock.
6082         (reused_arena): Acquire free_list_lock around detach_arena call
6083         and attached threads counter update.  Add two FIXMEs about
6084         incorrect synchronization.
6085         (arena_thread_freeres): Switch to free_list_lock.
6086         * malloc/malloc.c (struct malloc_state): Update comments to
6087         mention free_list_lock.
6089 2015-12-21  Siddhesh Poyarekar  <siddhesh.poyarekar@linaro.org>
6091         * sysdeps/ieee754/dbl-64/s_sin.c (csloww, csloww1, csloww2):
6092         Remove functions.
6093         (sloww, sloww1): Accept argument to offset quadrant.
6094         (sloww, sloww1, sloww2): Call __mpsin or __mpcos based on
6095         quadrant.
6096         (__sin, __cos): Consolidate common code into new functions.
6097         (reduce_sincos_1, do_sincos_1): New functions.
6098         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
6100         * sysdeps/ieee754/dbl-64/s_sin.c (__sin, __cos): Move common
6101         code to new functions.
6102         (reduce_sincos_2, do_sincos_2): New functions.
6103         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
6105         * sysdeps/ieee754/dbl-64/s_sin.c (__sin) [!IN_SINCOS]: Skip
6106         common code for sincos.
6107         (__cos) [!IN_SINCOS]: Likewise.
6108         * sysdeps/ieee754/dbl-64/s_sincos.c (reduce_and_compute_sincos):
6109         New function.
6110         (__sincos): Use it.
6112 2015-12-20  Aurelien Jarno  <aurelien@aurel32.net>
6114         * sysdeps/i386/fpu/libm-test-ulps: Move to ....
6115         * sysdeps/i386/i686/multiarch/fpu/libm-test-ulps: ...here.
6116         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
6118 2015-12-19  Andrew Senkevich  <andrew.senkevich@intel.com>
6120         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S: New file.
6121         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new file.
6122         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
6123         * sysdeps/x86_64/multiarch/memset.S: Added new IFUNC branch.
6124         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
6125         * sysdeps/x86/cpu-features.h (bit_Prefer_No_VZEROUPPER,
6126         index_Prefer_No_VZEROUPPER): New feature.
6127         * sysdeps/x86/cpu-features.c (init_cpu_features): Set the
6128         Prefer_No_VZEROUPPER for Knights Landing.
6130 015-12-18  Torvald Riegel  <triegel@redhat.com>
6132         * math/atest-exp2.c (mp_exp_m1): Remove.
6134 2015-12-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6136         * sysdeps/unix/sysdep.h (SYSCALL_CANCEL): Fix macro for zero argument
6137         syscalls.
6138         (__SYSCALL0): New macro.
6139         (__SYSCALL1): Likewise.
6140         (__SYSCALL2): Likewise.
6141         (__SYSCALL3): Likewise.
6142         (__SYSCALL4): Likewise.
6143         (__SYSCALL5): Likewise.
6144         (__SYSCALL6): Likewise.
6145         (__SYSCALL_CONCAT_X): Likewise.
6146         (__SYSCALL_CONCAT): Likewise.
6147         (__SYSCALL_DIST): Likewise.
6148         (__SYSCALL_CALL): Likewise.
6150 2015-12-17  H.J. Lu  <hongjiu.lu@intel.com>
6152         [BZ #19363]
6153         * sysdeps/unix/sysv/linux/x86_64/x32/times.c: New file.
6155 2015-12-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6157         [BZ #19375]
6158         * sysdeps/powerpc/power7/fpu/s_logb.c (__logb): Fix return for
6159         negative subnormals.
6161 2015-12-16  H.J. Lu  <hongjiu.lu@intel.com>
6163         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
6164         (REGISTERS_CLOBBERED_BY_SYSCALL): New.
6165         (INTERNAL_SYSCALL_NCS): Use it.
6166         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
6168 2015-12-16  Florian Weimer  <fweimer@redhat.com>
6170         [BZ #19243]
6171         * malloc/arena.c (get_free_list): Remove assert and adjust
6172         reference count handling.  Add comment about reused_arena
6173         interaction.
6174         (reused_arena): Add comments abount get_free_list interaction.
6175         * malloc/tst-malloc-thread-exit.c: New file.
6176         * malloc/Makefile (tests): Add tst-malloc-thread-exit.
6177         (tst-malloc-thread-exit): Link against libpthread.
6179 2015-12-15  H.J. Lu  <hongjiu.lu@intel.com>
6181         [BZ #19367]
6182         * sysdeps/unix/sysv/linux/wordsize-64/mmap.c: New file.
6183         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h: Likewise.
6184         * sysdeps/unix/sysv/linux/x86_64/64/mmap.c: Likewise.
6185         * sysdeps/x86/cpu-features.h (bit_Prefer_MAP_32BIT_EXEC): New.
6186         (index_Prefer_MAP_32BIT_EXEC): Likewise.
6188 2015-12-15  H.J. Lu  <hongjiu.lu@intel.com>
6190         * sysdeps/x86/cpu-features.c (init_cpu_features): Enable
6191         Silvermont optimizations for Knights Landing.
6193 2015-12-15  Andreas Schwab  <schwab@suse.de>
6195         [BZ #17197]
6196         * iconvdata/ibm930.c (BODY for TO_LOOP): Record current DBCS state
6197         immediately after emitting SI.
6198         * iconvdata/ibm933.c (BODY for TO_LOOP): Likewise.
6199         * iconvdata/ibm935.c (BODY for TO_LOOP): Likewise.
6200         * iconvdata/ibm937.c (BODY for TO_LOOP): Likewise.
6201         * iconvdata/ibm939.c (BODY for TO_LOOP): Likewise.
6202         * iconvdata/bug-iconv10.c: New file.
6203         * iconvdata/Makefile (tests): Add bug-iconv10.
6204         ($(objpfx)bug-iconv10.out): New rule.
6206 2015-12-15  Florian Weimer  <fweimer@redhat.com>
6208         * dlfcn/tst-rec-dlopen.c (call_func): Cast dlsym result, fixing an
6209         aliasing violation.
6211 2015-12-14  Joseph Myers  <joseph@codesourcery.com>
6213         [BZ #18472]
6214         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Handle entries
6215         for the form NAME@VERSION:OBSOLETED and generate SHLIB_COMPAT
6216         conditionals for them.
6217         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Likewise.
6218         * sysdeps/unix/sysv/linux/sys/kdaemon.h: Remove file.
6219         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Remove
6220         sys/kdaemon.h.
6221         * sysdeps/unix/sysv/linux/syscalls.list (bdflush): Make into
6222         compat-only syscall, obsoleted in glibc 2.23.
6223         (create_module): Likewise.
6224         (get_kernel_syms): Likewise.
6225         (query_module): Likewise.
6226         (uselib): Likewise.
6227         * manual/sysinfo.texi (System Parameters): Do not mention bdflush.
6229 2015-12-11  Aurelien Jarno  <aurelien@aurel32.net>
6231         * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include
6232         <linux/version.h>.
6233         [LINUX_VERSION_CODE >= KERNEL_VERSION(2,4,23)]: Remove
6234         conditional code.
6235         (init_iosys): Use CTL_BUS_ISA instead of BUS_ISA in iobase_name
6236         and ioshift_name initialization.
6238 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
6240         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
6241         Fix indentation.
6243 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
6245         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Fix indentation.
6247 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
6249         * stdlib/strtol_l.c (__strtol_l): Fix indentation.
6251 2015-12-10  Aurelien Jarno  <aurelien@aurel32.net>
6252             Jakub Wilk  <jwilk@debian.org>
6254         [BZ #19347]
6255         * sysdeps/unix/grantpt.c [!HAVE_PT_CHOWN] (grantpt): Do not try
6256         to change the group of the device to the tty group.
6258 2015-12-10  Paul Eggert  <eggert@cs.ucla.edu>
6260         Split large string section; add truncation advice
6261         * manual/examples/strncat.c: Remove.
6262         This example was misleading, as the code would have undefined
6263         behavior if "hello" was longer than SIZE.  Anyway, the manual
6264         shouldn't encourage strncpy+strncat for this sort of thing.
6265         * manual/string.texi (Copying Strings and Arrays): Split into
6266         three sections Copying Strings and Arrays, Concatenating Strings,
6267         and Truncating Strings, as this section was way too long.  All
6268         cross-referenced changed.  Add advice about string-truncation
6269         functions.  Remove misleading strncat example.
6271 2015-12-10  Carlos O'Donell  <carlos@redhat.com>
6273         * manual/nss.texi (NSS Modules Interface): Document
6274         NSS_STATUS_NOTFOUND and SUCCESS.
6276 2015-12-09  Mike FABIAN  <mfabian@redhat.com>
6278         [BZ 18568]
6279         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
6280         201505L, for Unicode 8.
6282 2015-12-09  Carlos O'Donell  <carlos@redhat.com>
6284         * locale/C-translit.h: Regenerate.
6286 2015-12-09  Mike FABIAN  <mfabian@redhat.com>
6288         * locale/C-translit.h.in: Remove duplicate transliterations for U+0152
6289         and U+0153.
6291 2015-12-09  Joseph Myers  <joseph@codesourcery.com>
6293         [BZ #19351]
6294         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): When
6295         expanding log(1+z), compare z rather than its square with epsilon
6296         to determine when to avoid evaluating the expansion.
6298         [BZ #19350]
6299         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
6300         Increase overflow threshold.
6302         [BZ #19349]
6303         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Return argument
6304         when small.
6306         * sysdeps/unix/sysv/linux/i386/kernel-features.h
6307         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
6308         New macro.
6309         [__LINUX_KERNEL_VERSION >= 0x040300]
6310         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
6311         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
6312         Likewise.
6313         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
6314         Likewise.
6315         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
6316         Likewise.
6317         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
6318         Likewise.
6319         [__LINUX_KERNEL_VERSION >= 0x040300]
6320         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
6321         [__LINUX_KERNEL_VERSION >= 0x040300]
6322         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
6323         [__LINUX_KERNEL_VERSION >= 0x040300]
6324         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
6325         [__LINUX_KERNEL_VERSION >= 0x040300]
6326         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
6327         [__LINUX_KERNEL_VERSION >= 0x040300]
6328         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
6329         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
6330         Likewise.
6331         [__LINUX_KERNEL_VERSION >= 0x040300]
6332         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
6333         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
6334         Likewise.
6335         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
6336         Likewise.
6337         [__LINUX_KERNEL_VERSION >= 0x040300]
6338         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
6339         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
6340         Likewise.
6341         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
6342         Likewise.
6343         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
6344         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMMSG_SYSCALL):
6345         Likewise.
6346         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMMSG_SYSCALL):
6347         Likewise.
6348         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
6349         Likewise.
6350         [__LINUX_KERNEL_VERSION >= 0x040300]
6351         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
6352         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
6353         Likewise.
6354         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
6355         Likewise.
6356         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
6357         Likewise.
6358         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
6359         Likewise.
6360         [__LINUX_KERNEL_VERSION >= 0x040300]
6361         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
6362         [__LINUX_KERNEL_VERSION >= 0x040300]
6363         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
6364         [__LINUX_KERNEL_VERSION >= 0x040300]
6365         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
6366         [__LINUX_KERNEL_VERSION >= 0x040300]
6367         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
6368         [__LINUX_KERNEL_VERSION >= 0x040300]
6369         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
6370         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
6371         Likewise.
6372         [__LINUX_KERNEL_VERSION >= 0x040300]
6373         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
6374         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
6375         Likewise.
6376         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
6377         Likewise.
6378         [__LINUX_KERNEL_VERSION >= 0x040300]
6379         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
6380         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
6381         Likewise.
6382         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
6383         Likewise.
6384         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
6385         (__ASSUME_SOCKET_SYSCALL): Likewise.
6386         (__ASSUME_BIND_SYSCALL): Likewise.
6387         (__ASSUME_CONNECT_SYSCALL): Likewise.
6388         (__ASSUME_LISTEN_SYSCALL): Likewise.
6389         (__ASSUME_ACCEPT_SYSCALL): Likewise.
6390         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
6391         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
6392         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
6393         (__ASSUME_SEND_SYSCALL): Likewise.
6394         (__ASSUME_SENDTO_SYSCALL): Likewise.
6395         (__ASSUME_RECV_SYSCALL): Likewise.
6396         (__ASSUME_RECVFROM_SYSCALL): Likewise.
6397         (__ASSUME_SHUTDOWN_SYSCALL): Likewise.
6398         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
6399         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
6400         (__ASSUME_SENDMSG_SYSCALL): Likewise.
6401         (__ASSUME_RECVMSG_SYSCALL): Likewise.
6402         * sysdeps/unix/sysv/linux/sh/kernel-features.h
6403         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SOCKET_SYSCALL):
6404         Likewise.
6405         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_BIND_SYSCALL):
6406         Likewise.
6407         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_CONNECT_SYSCALL):
6408         Likewise.
6409         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_LISTEN_SYSCALL):
6410         Likewise.
6411         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_ACCEPT_SYSCALL):
6412         Likewise.
6413         [__LINUX_KERNEL_VERSION >= 0x020625]
6414         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
6415         [__LINUX_KERNEL_VERSION >= 0x020625]
6416         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
6417         [__LINUX_KERNEL_VERSION >= 0x020625]
6418         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
6419         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SEND_SYSCALL):
6420         Likewise.
6421         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDTO_SYSCALL):
6422         Likewise.
6423         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECV_SYSCALL):
6424         Likewise.
6425         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVFROM_SYSCALL):
6426         Likewise.
6427         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SHUTDOWN_SYSCALL):
6428         Likewise.
6429         [__LINUX_KERNEL_VERSION >= 0x020625]
6430         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
6431         [__LINUX_KERNEL_VERSION >= 0x020625]
6432         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
6433         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDMSG_SYSCALL):
6434         Likewise.
6435         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVMSG_SYSCALL):
6436         Likewise.
6438 2015-12-09  Aurelien Jarno  <aurelien@aurel32.net>
6440         * sysdeps/unix/sysv/linux/mips/configure.ac (has-mpf64): Define to
6441         record the current if the current ABI and CPU support the FP64
6442         extension.
6443         (has-modd-spreg): Define to record the current if the current ABI and
6444         CPU support 32-bit floating point values in odd FPU registers.
6445         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
6446         * sysdeps/mips/Makefile (tst-abi-fpxxomod): Only build when
6447         $(has-modd-spreg) equals yes.
6448         (tst-abi-fp64amod): Only build when $(has-mpf64) equals yes.
6449         (tst-abi-fp64mod): Only build when both $(has-mpf64) and
6450         $(has-modd-spreg) equal yes.
6452 2015-12-09  Aurelien Jarno  <aurelien@aurel32.net>
6454         * sysdeps/unix/grantpt.c (grantpt): Call__basename instead of
6455         basename.
6457 2015-12-08  Siddhesh Poyarekar  <sid@reserved-bit.com>
6459         * benchtests/Makefile (bench-math): Move ffs and ffsll...
6460         (bench-string): ... here.
6461         (bench): Add bench-string.
6462         (string-bench, wcsmbs-bench, stdlib-bench, stdio-common-bench): Rename
6463         to *-benchset to reflect what they are.
6464         (benchset): Adjust.
6466         * benchtests/sincos-inputs: Add inputs from sin-inputs and
6467         cos-inputs.
6469 2015-12-07  Andrew Senkevich  <andrew.senkevich@intel.com>
6471         * sysdeps/x86/fpu/bits/math-vector.h: W/o -fopenmp use GCC 6.*
6472         __attribute__ ((__simd__)) for vector math function declarations.
6474 2015-12-04  Paul Eggert  <eggert@cs.ucla.edu>
6476         Fix typo in strncat, wcsncat manual entries
6477         * manual/string.texi (Copying and Concatenation): Fix typos in
6478         sample implementations of strncat and wcsncat, by having them use
6479         the old value of the destination length, not the new one.
6481 2015-12-04  Joseph Myers  <joseph@codesourcery.com>
6483         [BZ #16961]
6484         [BZ #16962]
6485         * math/s_nan.c (__nan): Use __strtod_nan instead of constructing a
6486         string on the stack for strtod.
6487         * math/s_nanf.c (__nanf): Use __strtof_nan instead of constructing
6488         a string on the stack for strtof.
6489         * math/s_nanl.c (__nanl): Use __strtold_nan instead of
6490         constructing a string on the stack for strtold.
6491         * stdlib/Versions (libc): Add __strtof_nan, __strtod_nan and
6492         __strtold_nan to GLIBC_PRIVATE.
6493         * math/test-nan-overflow.c: New file.
6494         * math/test-nan-payload.c: Likewise.
6495         * math/Makefile (tests): Add test-nan-overflow and
6496         test-nan-payload.
6498 2015-12-04  Paul Eggert  <eggert@cs.ucla.edu>
6500         Consistency about byte vs character in string.texi
6501         * manual/string.texi (String and Array Utilities):
6502         Distinguish more carefully among bytes, multibyte characters,
6503         and wide characters.  Use "byte" when talking about C 'char',
6504         to distinguish it more clearly from multibyte characters.
6505         Say "wide character" or "multibyte character" instead of
6506         "character", when a wide or multibyte character is intended.
6507         Similarly for "multibyte string" versus "string".
6508         Define these terms more carefully.
6510 2015-12-03  Chris Metcalf  <cmetcalf@ezchip.com>
6512         * sysdeps/arm/math_private.h (LDBL_CLASSIFY_COMPAT): New symbol.
6513         * sysdeps/microblaze/math_private.h (LDBL_CLASSIFY_COMPAT):
6514         Likewise.
6515         * sysdeps/mips/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
6516         * sysdeps/nios2/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
6517         * sysdeps/sh/math_private.h: New file.
6518         * sysdeps/m68k/coldfire/fpu/math_private.h: Likewise.
6519         * sysdeps/ieee754/dbl-64/s_finite.c [defined NO_LONG_DOUBLE &&
6520         defined LDBL_CLASSIFY_COMPAT]: Create compat symbol for internal
6521         long double function name.
6522         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
6523         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
6524         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
6525         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
6526         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
6527         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
6528         Remove __finitel, __isinfl, and __isnanl.
6529         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
6530         Likewise.
6531         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
6532         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
6533         Remove __finitel.
6534         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
6535         Likewise.
6536         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
6538 2015-12-03  Andrew Senkevich  <andrew.senkevich@intel.com>
6540         * math/Makefile ($(inst_libdir)/libm.so): Corrected path to
6541         installed libmvec_nonshared.a.
6543 2015-12-03  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
6545         * sysdeps/powerpc/Makefile (sysdep-dl-routines): Add hwcapinfo.
6546         (sysdep_routines): Likewise.
6547         (sysdep-rtld-routines): Likewise.
6548         [$(subdir) = nptl](tests): Add test-get_hwcap and test-get_hwcap-static
6549         [$(subdir) = nptl](tests-static): test-get_hwcap-static
6550         * sysdeps/powerpc/Versions: Added new
6551         __parse_hwcap_and_convert_at_platform symbol to GLIBC-2.23.
6552         * sysdeps/powerpc/hwcapinfo.c: New file.
6553         (__tcb_parse_hwcap_and_convert_at_platform): New function to initialize
6554         and parse hwcap, hwcap2 and platform number information.
6555         * sysdeps/powerpc/hwcapinfo.h: New file.  Creates global variables
6556         to store HWCAP+HWCAP2 and platform number.
6557         * sysdeps/powerpc/nptl/tcb-offsets.sym: Added new offsets
6558         for HWCAP+HWCAP2 and platform number in the TCB.
6559         * sysdeps/powerpc/nptl/tls.h: New functionality.  Stores
6560         the HWCAP, HWCAP2 and platform number in the TCB.
6561         (dtv): Added new fields for HWCAP+HWCAP2 and platform number.
6562         (TLS_INIT_TP): Included calls to add the hwcap and
6563         at_platform values in the TCB in TP initialization.
6564         (TLS_DEFINE_INIT_TP): Likewise.
6565         (THREAD_GET_HWCAP): New macro.
6566         (THREAD_SET_HWCAP): Likewise.
6567         (THREAD_GET_AT_PLATFORM): Likewise.
6568         (THREAD_SET_AT_PLATFORM): Likewise.
6569         * sysdeps/powerpc/powerpc32/dl-machine.h:
6570         (dl_platform_init): New function that calls
6571         __parse_hwcap_and_convert_at_platform for the dymanic linking case for
6572         powerpc32.
6573         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise, for powerpc64.
6574         * sysdeps/powerpc/test-get_hwcap-static.c: New file.  Testcase for
6575         this functionality, static linking case.
6576         * sysdeps/powerpc/test-get_hwcap.c: New file.  Likewise, dynamic
6577         linking case.
6578         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Added call to
6579         __parse_hwcap_and_convert_at_platform for the static linking case.
6580         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist:
6581         Included the new __parse_hwcap_and_convert_at_platform symbol in the
6582         ABI list for GLIBC 2.23.
6583         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist:
6584         Likewise.
6585         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist:
6586         Likewise.
6588 2015-12-02  Ludovic Courtès  <ludo@gnu.org>
6590         * configure.ac: Use 'pwd -P' instead of '/bin/pwd'.
6591         * configure: Regenerate.
6592         * io/ftwtest-sh: Use 'pwd -P' instead of '/bin/pwd'.
6593         * scripts/rellns-sh: Likewise.  Remove 'pwd' variable.
6595 2015-12-02  Carlos O'Donell  <carlos@redhat.com>
6597         * iconvdata/ibm930.c: Add comment explaining encoding uses.
6598         * iconvdata/ibm933.c: Likewise.
6599         * iconvdata/ibm935.c: Likewise.
6600         * iconvdata/ibm937.c: Likewise.
6601         * iconvdata/ibm939.c: Likewise.
6603 2015-12-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6605         * nptl/tst-cancel20.c (do_one_test): Move the pipe closing after
6606         pthread_join.
6607         * nptl/tst-cancel21.c (tf): Likewise.
6609 2015-12-01  H.J. Lu  <hongjiu.lu@intel.com>
6611         [BZ #19313]
6612         * bits/typesizes.h (__CPU_MASK_TYPE): New.
6613         * sysdeps/mach/hurd/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
6614         * sysdeps/nacl/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
6615         * sysdeps/unix/sysv/linux/alpha/bits/typesizes.h (__CPU_MASK_TYPE):
6616         Likewise.
6617         * sysdeps/unix/sysv/linux/generic/bits/typesizes.h (__CPU_MASK_TYPE):
6618         Likewise.
6619         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h (__CPU_MASK_TYPE):
6620         Likewise.
6621         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h (__CPU_MASK_TYPE):
6622         Likewise.
6623         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h (__CPU_MASK_TYPE):
6624         * sysdeps/unix/sysv/linux/bits/sched.h (__cpu_mask): Replace
6625         unsigned long int with __CPU_MASK_TYPE.
6627 2015-12-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
6629         * sysdeps/aarch64/libm-test-ulps: Regenerated.
6631 2015-12-01  Joseph Myers  <joseph@codesourcery.com>
6633         * sysdeps/ieee754/dbl-64/e_sqrt.c: Do not include uroot.h.
6634         (__ieee754_sqrt): Use hex float constants instead of tm256.x and
6635         t512.x.
6636         * sysdeps/ieee754/dbl-64/uroot.h: Remove file.
6638 2015-11-30  Amit Pawar  <amit.pawar@amd.com>
6640         [BZ #19214]
6641         * sysdeps/x86/cpu-features.c (get_common_indeces): Add an
6642         argument to return extended model.  Update family and model
6643         with extended family and model when family == 0x0f.
6644         (init_cpu_features): Updated.
6646 2015-11-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
6648         The RPC interface used by mmap uses the unsigned vm_offset_t, not the
6649         signed off_t, so 32bit bigger than 2GiB values are fine actually.
6651         * sysdeps/mach/hurd/mmap64.c: New file.
6653 2015-11-29  Thomas Schwinge  <thomas@codesourcery.com>
6655         * sysdeps/mach/hurd/fork.c (__fork): Install correct number of send
6656         rights for its main user thread in NEWTASK.
6658 2015-11-28  Maciej W. Rozycki  <macro@imgtec.com>
6660         * sysdeps/mips/fpu_control.h (_FPU_RESERVED): Include ABS2008.
6661         (_FPU_DEFAULT, _FPU_IEEE) [__mips_nan2008]: Set ABS2008.
6663 2015-11-27  Carlos O'Donell  <carlos@redhat.com>
6665         [BZ #14259]
6666         * Makeconfig: Rename localedir to complocaledir.
6667         Rename inst_localedir to inst_complocaledir.
6668         * aclocal.m4: Rename libc_cv_localedir to libc_cv_complocaledir.
6669         * config.make.in: Use complocaledir and libc_cv_complocaledir.
6670         * configure.ac: Use libc_cv_complocaledir.
6671         * configure: Regenerate.
6672         * locale/Makefile: Use complocaledir. Rename define -DLOCALEDIR to
6673         -DCOMPLOCALEDIR.
6674         * locale/findlocale.c: Use COMPLOCALEDIR.
6675         * locale/loadarchive.c: Likewise.
6676         * locale/programs/locale.c: Likewise.
6677         * locale/programs/localedef.c: Likewise.
6678         * locale/programs/locarchive.c: Likewise.
6679         * localedata/Makefile: Use inst_complocaledir.
6680         * sysdeps/gnu/configure: Regenerate.
6681         * sysdeps/hppa/configure: Regenerate.
6682         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerate.
6683         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
6684         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
6685         * sysdeps/unix/sysv/linux/s390/s390-64/configure: Regenerate.
6686         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: Regenerate.
6687         * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerate.
6688         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Regenerate.
6690 2015-11-27  Andrew Senkevich  <andrew.senkevich@intel.com>
6692         [BZ #19058]
6693         * math/Makefile ($(inst_libdir)/libm.so): Added libmvec_nonshared.a to
6694         AS_NEEDED.
6695         * sysdeps/x86/fpu/bits/math-vector.h: Removed code with asm aliases
6696         workaround.
6697         * sysdeps/x86_64/fpu/Makefile (libmvec-support,
6698         libmvec-static-only-routines): Added new file.
6699         * sysdeps/x86_64/fpu/svml_finite_alias.S: New file.
6701 2015-11-25  Samuel Thibault  <samuel.thibault@ens-lyon.org>
6703         * hurd/sigunwind.c (_hurdsig_longjmp_from_handler): Destroy reply port
6704         of interrupted RPC instead of restoring it.
6706         * sysdeps/i386/setjmp.S (__sigsetjmp): Add hidden_def.
6707         * sysdeps/mach/hurd/accept4.c (__libc_accept4): Remove
6708         libc_hidden_def.
6709         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Initialize to get
6710         into initialized data instead of common. Define rtld_hidden_data_def.
6711         * sysdeps/mach/hurd/fxstatat64.c (__fxstatat64): Add libc_hidden_def.
6712         * sysdeps/mach/hurd/if_index.c (__if_freenameindex): Add
6713         libc_hidden_def.
6714         (if_freenameindex): Add libc_hidden_weak.
6715         (if_nameindex): Add libc_hidden_weak.
6716         * sysdeps/mach/hurd/open.c (_open64): Rename libc_hidden_weak into
6717         __open64.
6718         * sysdeps/mach/hurd/sigwait.c (__sigwait): Add libc_hidden_def.
6719         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Add libc_hidden_def.
6720         * sysdeps/mach/nanosleep.c: Include <time.h>
6721         (__nanosleep): Rename to __libc_nanosleep.
6722         (__nanosleep): Add weak_alias.
6723         (nanosleep): Update alias.
6725 2015-11-24  Joseph Myers  <joseph@codesourcery.com>
6727         * stdlib/strtod_nan.c: New file.
6728         * stdlib/strtod_nan_double.h: Likewise.
6729         * stdlib/strtod_nan_float.h: Likewise.
6730         * stdlib/strtod_nan_main.c: Likewise.
6731         * stdlib/strtod_nan_narrow.h: Likewise.
6732         * stdlib/strtod_nan_wide.h: Likewise.
6733         * stdlib/strtof_nan.c: Likewise.
6734         * stdlib/strtold_nan.c: Likewise.
6735         * sysdeps/ieee754/ldbl-128/strtod_nan_ldouble.h: Likewise.
6736         * sysdeps/ieee754/ldbl-128ibm/strtod_nan_ldouble.h: Likewise.
6737         * sysdeps/ieee754/ldbl-96/strtod_nan_ldouble.h: Likewise.
6738         * wcsmbs/wcstod_nan.c: Likewise.
6739         * wcsmbs/wcstof_nan.c: Likewise.
6740         * wcsmbs/wcstold_nan.c: Likewise.
6741         * stdlib/Makefile (routines): Add strtof_nan, strtod_nan and
6742         strtold_nan.
6743         * wcsmbs/Makefile (routines): Add wcstod_nan, wcstold_nan and
6744         wcstof_nan.
6745         * include/stdlib.h (__strtof_nan): Declare and use
6746         libc_hidden_proto.
6747         (__strtod_nan): Likewise.
6748         (__strtold_nan): Likewise.
6749         (__wcstof_nan): Likewise.
6750         (__wcstod_nan): Likewise.
6751         (__wcstold_nan): Likewise.
6752         * include/wchar.h (____wcstoull_l_internal): Declare.
6753         * stdlib/strtod_l.c: Do not include <ieee754.h>.
6754         (____strtoull_l_internal): Remove declaration.
6755         (STRTOF_NAN): Define macro.
6756         (SET_MANTISSA): Remove macro.
6757         (STRTOULL): Likewise.
6758         (____STRTOF_INTERNAL): Use STRTOF_NAN to parse NaN payload.
6759         * stdlib/strtof_l.c (____strtoull_l_internal): Remove declaration.
6760         (STRTOF_NAN): Define macro.
6761         (SET_MANTISSA): Remove macro.
6762         * sysdeps/ieee754/ldbl-128/strtold_l.c (STRTOF_NAN): Define macro.
6763         (SET_MANTISSA): Remove macro.
6764         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (STRTOF_NAN): Define
6765         macro.
6766         (SET_MANTISSA): Remove macro.
6767         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (STRTOF_NAN): Define
6768         macro.
6769         (SET_MANTISSA): Remove macro.
6770         * sysdeps/ieee754/ldbl-96/strtold_l.c (STRTOF_NAN): Define macro.
6771         (SET_MANTISSA): Remove macro.
6772         * wcsmbs/wcstod_l.c (____wcstoull_l_internal): Remove declaration.
6773         * wcsmbs/wcstof_l.c (____wcstoull_l_internal): Likewise.
6774         * wcsmbs/wcstold_l.c (____wcstoull_l_internal): Likewise.
6776         [BZ #19266]
6777         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check directly for
6778         upper case and lower case letters inside NAN(), not using TOLOWER.
6779         * stdlib/tst-strtod-nan-locale-main.c: New file.
6780         * stdlib/tst-strtod-nan-locale.c: Likewise.
6781         * stdlib/Makefile (tests): Add tst-strtod-nan-locale.
6782         [$(run-built-tests) = yes] ($(objpfx)tst-strtod-nan-locale.out):
6783         Depend on $(gen-locales).
6784         ($(objpfx)tst-strtod-nan-locale): Depend on $(libm).
6785         * wcsmbs/tst-wcstod-nan-locale.c: New file.
6786         * wcsmbs/Makefile (tests): Add tst-wcstod-nan-locale.
6787         [$(run-built-tests) = yes] ($(objpfx)tst-wcstod-nan-locale.out):
6788         Depend on $(gen-locales).
6789         ($(objpfx)tst-wcstod-nan-locale): Depend on $(libm).
6791 2015-11-24  Chris Metcalf  <cmetcalf@ezchip.com>
6793         * misc/tst-tsearch.c (TIMEOUT): Set to 10.
6795         * sysdeps/tile/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
6796         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Add
6797         __finitel, __isinfl, and __isnanl.
6798         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
6799         Likewise.
6800         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
6801         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: Add
6802         __finitel.
6803         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
6804         Likewise.
6805         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
6807 2015-11-24  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
6809         * malloc/memusage.c (me): Remove redundant getenv call.
6811 2015-10-24  Florian Weimer  <fweimer@redhat.com>
6813         [BZ #19143]
6814         [BZ #19164]
6815         * nptl/check-cpuset.h: Remove.
6816         * nptl/pthread_attr_setaffinity.c (__pthread_attr_setaffinity_new):
6817         Remove CPU set size check.
6818         * nptl/pthread_setattr_default_np.c (pthread_setattr_default_np):
6819         Likewise.
6820         * sysdeps/unix/sysv/linux/check-cpuset.h: Remove.
6821         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
6822         (__kernel_cpumask_size, __determine_cpumask_size): Remove.
6823         (__pthread_setaffinity_new): Remove CPU set size check.
6824         * sysdeps/unix/sysv/linux/sched_setaffinity.c
6825         (__kernel_cpumask_size): Remove.
6826         (__sched_setaffinity_new): Remove CPU set size check.
6827         * manual/threads.texi (Default Thread Attributes): Remove stale
6828         reference to check_cpuset_attr, determine_cpumask_size in comment.
6829         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == posix] (tests):
6830         Remove tst-getcpu.  Add tst-affinity, tst-affinity-pid.
6831         [$(subdir) == nptl] (tests): Add tst-thread-affinity-pthread,
6832         tst-thread-affinity-pthread2, tst-thread-affinity-sched.
6833         * sysdeps/unix/sysv/linux/tst-affinity.c: New file.
6834         * sysdeps/unix/sysv/linux/tst-affinity-pid.c: New file.
6835         * sysdeps/unix/sysv/linux/tst-skeleton-affinity.c: New skeleton test file.
6836         * sysdeps/unix/sysv/linux/tst-thread-affinity-sched.c: New file.
6837         * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread.c: New file.
6838         * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread2.c: New file.
6839         * sysdeps/unix/sysv/linux/tst-thread-skeleton-affinity.c: New
6840         skeleton test file.
6841         * sysdeps/unix/sysv/linux/tst-getcpu.c: Remove.  Superseded by
6842         tst-affinity-pid.
6844 2015-11-24  Florian Weimer  <fweimer@redhat.com>
6846         * scripts/update-abilist.sh: New file.
6847         * Makefile (+subdir_targets): Add subdir_update-all-abi.
6848         * Makerules (update-all-abi-%, update-all-abi)
6849         (subdir_update-all-abi): New targets.
6850         * elf/Makefile (update-all-abi): New target.
6852 2015-11-24  Florian Weimer  <fweimer@redhat.com>
6854         Replace MUTEX_INITIALIZER with _LIBC_LOCK_INITIALIZER in generic code.
6855         * sysdeps/mach/hurd/libc-lock.h (_LIBC_LOCK_INITIALIZER): Define.
6856         (__libc_lock_define_initialized): Use it.
6857         * sysdeps/nptl/libc-lockP.h (_LIBC_LOCK_INITIALIZER): Define.
6858         * malloc/arena.c (list_lock): Use _LIBC_LOCK_INITIALIZER.
6859         * malloc/malloc.c (main_arena): Likewise.
6860         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): Remove.
6861         * sysdeps/nptl/malloc-machine.h (MUTEX_INITIALIZER): Remove.
6863 2015-11-23  Joseph Myers  <joseph@codesourcery.com>
6865         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
6866         (PTRACE_O_EXITKILL): New value in enum __ptrace_setoptions.
6867         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
6868         (PTRACE_O_MASK): Update value.
6869         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_O_EXITKILL):
6870         New value in enum __ptrace_setoptions.
6871         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
6872         (PTRACE_O_MASK): Update value.
6873         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
6874         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
6875         (PTRACE_O_MASK): Update value.
6876         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h
6877         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
6878         (PTRACE_O_MASK): Update value.
6879         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h
6880         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
6881         (PTRACE_O_MASK): Update value.
6882         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_SUSPEND_SECCOMP):
6883         New value in enum __ptrace_setoptions.
6884         (PTRACE_O_MASK): Update value.
6885         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_O_EXITKILL):
6886         New value in enum __ptrace_setoptions.
6887         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
6888         (PTRACE_O_MASK): Update value.
6890         * sysdeps/unix/sysv/linux/netpacket/packet.h (PACKET_COPY_THRESH):
6891         New macro.
6892         (PACKET_AUXDATA): Likewise.
6893         (PACKET_ORIGDEV): Likewise.
6894         (PACKET_VERSION): Likewise.
6895         (PACKET_HDRLEN): Likewise.
6896         (PACKET_RESERVE): Likewise.
6897         (PACKET_TX_RING): Likewise.
6898         (PACKET_LOSS): Likewise.
6899         (PACKET_VNET_HDR): Likewise.
6900         (PACKET_TX_TIMESTAMP): Likewise.
6901         (PACKET_TIMESTAMP): Likewise.
6902         (PACKET_FANOUT): Likewise.
6903         (PACKET_TX_HAS_OFF): Likewise.
6904         (PACKET_QDISC_BYPASS): Likewise.
6905         (PACKET_ROLLOVER_STATS): Likewise.
6906         (PACKET_FANOUT_DATA): Likewise.
6907         (PACKET_MR_UNICAST): Likewise.
6909         [BZ #19242]
6910         * stdlib/strtol_l.c (ISALPHA): Use _nl_C_locobj_ptr for locale.
6911         (TOUPPER): Likewise.
6912         * stdlib/tst-strtol-locale-main.c: New file.
6913         * stdlib/tst-strtol-locale.c: Likewise.
6914         * stdlib/Makefile (tests): Add tst-strtol-locale.
6915         [$(run-built-tests) = yes] (LOCALES): Add tr_TR.ISO-8859-9.
6916         [$(run-built-tests) = yes] ($(objpfx)tst-strtol-locale.out):
6917         Depend on $(gen-locales).
6918         * wcsmbs/tst-wcstol-locale.c: New file.
6919         * wcsmbs/Makefile (tests): Add tst-wcstol-locale.
6920         [$(run-built-tests) = yes] (LOCALES): Add tr_TR.UTF-8 and
6921         tr_TR.ISO-8859-9.
6922         [$(run-built-tests) = yes] ($(objpfx)tst-wcstol-locale.out):
6923         Depend on $(gen-locales).
6925 2015-11-20  Roland McGrath  <roland@hack.frob.com>
6927         * sysdeps/nacl/dl-map-segments.h (_dl_map_segments): Use
6928         __glibc_likely instead of __builtin_expect.  After falling back to
6929         dyncode_create in a non-ET_DYN case, use the allocate_code_data
6930         system interface to register the code pages as occupied.
6932 2015-11-20  Joseph Myers  <joseph@codesourcery.com>
6934         * sysdeps/arm/math_private.h [!_MATH_PRIVATE_H]: Change guard to
6935         [!ARM_MATH_PRIVATE_H].
6936         [!ARM_MATH_PRIVATE_H] (ARM_MATH_PRIVATE_H): Define macro.
6937         * sysdeps/hppa/math_private.h [!_MATH_PRIVATE_H]: Change guard to
6938         [!HPPA_MATH_PRIVATE_H].
6939         [!HPPA_MATH_PRIVATE_H] (HPPA_MATH_PRIVATE_H): Define macro.
6940         * sysdeps/i386/fpu/math_private.h [!_MATH_PRIVATE_H]: Change guard
6941         to [!I386_MATH_PRIVATE_H].
6942         [!I386_MATH_PRIVATE_H] (I386_MATH_PRIVATE_H): Define macro.
6943         * sysdeps/m68k/m680x0/fpu/math_private.h [!_MATH_PRIVATE_H]:
6944         Change guard to [!M68K_MATH_PRIVATE_H].
6945         [!M68K_MATH_PRIVATE_H] (M68K_MATH_PRIVATE_H): Define macro.
6946         * sysdeps/microblaze/math_private.h [!_MATH_PRIVATE_H]: Change
6947         guard to [!MICROBLAZE_MATH_PRIVATE_H].
6948         [!MICROBLAZE_MATH_PRIVATE_H] (MICROBLAZE_MATH_PRIVATE_H): Define
6949         macro.
6950         * sysdeps/mips/math_private.h [!_MATH_PRIVATE_H]: Change guard to
6951         [!MIPS_MATH_PRIVATE_H].
6952         [!MIPS_MATH_PRIVATE_H] (MIPS_MATH_PRIVATE_H): Define macro.
6953         * sysdeps/nios2/math_private.h [!_MATH_PRIVATE_H]: Change guard to
6954         [!NIO2_MATH_PRIVATE_H].
6955         [!NIO2_MATH_PRIVATE_H] (NIO2_MATH_PRIVATE_H): Define macro.
6956         * sysdeps/tile/math_private.h [!_MATH_PRIVATE_H]: Change guard to
6957         [!TILE_MATH_PRIVATE_H].
6958         [!TILE_MATH_PRIVATE_H] (TILE_MATH_PRIVATE_H): Define macro.
6960         [BZ #15421]
6961         * sysdeps/ieee754/s_signgam.c (signgam): Rename to __signgam,
6962         initialize with 0 and define as weak alias of __signgam.
6963         * include/math.h [!_ISOMAC] (__signgam): Declare.
6964         * math/Makefile (libm-calls): Add w_lgamma_compat.
6965         (tests): Add test-signgam-uchar, test-signgam-uchar-init,
6966         test-signgam-uint, test-signgam-uint-init, test-signgam-ullong and
6967         test-signgam-ullong-init.
6968         (tests-static): Add test-signgam-uchar-static,
6969         test-signgam-uchar-init-static, test-signgam-uint-static,
6970         test-signgam-uint-init-static, test-signgam-ullong-static and
6971         test-signgam-ullong-init-static.
6972         (CFLAGS-test-signgam-uchar.c): New variable.
6973         (CFLAGS-test-signgam-uchar-init.c): Likewise.
6974         (CFLAGS-test-signgam-uchar-static.c): Likewise.
6975         (CFLAGS-test-signgam-uchar-init-static.c): Likewise.
6976         (CFLAGS-test-signgam-uint.c): Likewise.
6977         (CFLAGS-test-signgam-uint-init.c): Likewise.
6978         (CFLAGS-test-signgam-uint-static.c): Likewise.
6979         (CFLAGS-test-signgam-uint-init-static.c): Likewise.
6980         (CFLAGS-test-signgam-ullong.c): Likewise.
6981         (CFLAGS-test-signgam-ullong-init.c): Likewise.
6982         (CFLAGS-test-signgam-ullong-static.c): Likewise.
6983         (CFLAGS-test-signgam-ullong-init-static.c): Likewise.
6984         * math/Versions (libm): Add GLIBC_2.23.
6985         * math/lgamma-compat.h: New file.
6986         * math/test-signgam-main.c: Likewise.
6987         * math/test-signgam-uchar-init-static.c: Likewise.
6988         * math/test-signgam-uchar-init.c: Likewise.
6989         * math/test-signgam-uchar-static.c: Likewise.
6990         * math/test-signgam-uchar.c: Likewise.
6991         * math/test-signgam-uint-init-static.c: Likewise.
6992         * math/test-signgam-uint-init.c: Likewise.
6993         * math/test-signgam-uint-static.c: Likewise.
6994         * math/test-signgam-uint.c: Likewise.
6995         * math/test-signgam-ullong-init-static.c: Likewise.
6996         * math/test-signgam-ullong-init.c: Likewise.
6997         * math/test-signgam-ullong-static.c: Likewise.
6998         * math/test-signgam-ullong.c: Likewise.
6999         * math/w_lgamma.c: Rename to w_lgamma_main.c and replace by
7000         wrapper of w_lgamma_main.c.
7001         * math/w_lgamma_compat.c: New file.
7002         * math/w_lgamma_compatf.c: Likewise.
7003         * math/w_lgamma_compatl.c: Likewise.
7004         * math/w_lgamma_main.c: New file.  Based on w_lgamma.c.  Include
7005         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
7006         defining compatibility symbols.
7007         (__lgamma): Change to LGFUNC (__lgamma).  Use CALL_LGAMMA.
7008         * math/w_lgammaf.c: Rename to w_lgammaf_main.c and replace by
7009         wrapper of w_lgammaf_main.c.
7010         * math/w_lgammaf_main.c: New file.  Based on w_lgammaf.c.  Include
7011         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
7012         defining compatibility symbols.
7013         (__lgammaf): Change to LGFUNC (__lgammaf).  Use CALL_LGAMMA.
7014         * math/w_lgammal.c: Rename to w_lgammal_main.c and replace by
7015         wrapper of w_lgammal_main.c.
7016         * math/w_lgammal_main.c: New file.  Based on w_lgammal.c.  Include
7017         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
7018         defining compatibility symbols.
7019         (__lgammal): Change to LGFUNC (__lgammal).  Use CALL_LGAMMA.
7020         * sysdeps/ia64/fpu/lgamma-compat.h: New file.
7021         * sysdeps/ia64/fpu/w_lgamma.c: Move to ....
7022         * sysdeps/ia64/fpu/w_lgamma_main.c: ...here.  Include
7023         <lgamma-compat.h>.
7024         (__ieee754_lgamma): Change to LGFUNC (lgamma).  Use CALL_LGAMMA.
7025         (__ieee754_gamma): Define as alias.
7026         * sysdeps/ia64/fpu/w_lgammaf.c: Move to ....
7027         * sysdeps/ia64/fpu/w_lgammaf_main.c: ...here.  Include
7028         <lgamma-compat.h>.
7029         (__ieee754_lgammaf): Change to LGFUNC (lgammaf).  Use CALL_LGAMMA.
7030         (__ieee754_gammaf): Define as alias.
7031         * sysdeps/ia64/fpu/w_lgammal.c: Move to ....
7032         * sysdeps/ia64/fpu/w_lgammal_main.c: ...here.  Include
7033         <lgamma-compat.h>.
7034         (__ieee754_lgammal): Change to LGFUNC (lgammal).  Use CALL_LGAMMA.
7035         (__ieee754_gammal): Define as alias.
7036         * sysdeps/ieee754/ldbl-opt/w_lgamma.c: Move to ....
7037         * sysdeps/ieee754/ldbl-opt/w_lgamma_compat.c: ...here.  Include
7038         <math/w_lgamma_compat.c>.
7039         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__lgammal_dbl_compat):
7040         Define as alias of __lgamma_compat and use in defining lgammal.
7041         * sysdeps/ieee754/ldbl-opt/w_lgammal.c: Move to ....
7042         * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c: ...here.  Include
7043         <math/lgamma-compat.h> and <math/w_lgamma_compatl.c>.
7044         (USE_AS_COMPAT): New macro.
7045         (LGAMMA_OLD_VER): Undefine and redefine.
7046         (lgammal): Do not define here.
7047         (gammal): Only define here if [GAMMA_ALIAS].
7048         * conform/linknamespace.pl (@whitelist): Remove signgam.
7049         * sysdeps/nacl/libm.abilist: Update.
7050         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
7051         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
7052         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
7053         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
7054         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
7055         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
7056         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
7057         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
7058         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
7059         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
7060         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
7061         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
7062         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
7063         Likewise.
7064         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
7065         Likewise.
7066         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
7067         Likewise.
7068         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
7069         Likewise.
7070         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
7071         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
7072         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
7073         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
7074         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
7075         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
7076         Likewise.
7077         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
7078         Likewise.
7079         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
7080         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
7081         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
7083 2015-11-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7085         [BZ #16364]
7086         * sysdeps/unix/sysv/linux/sleep.c: Remove file.
7087         * sysdeps/posix/sleep.c (__sleep): Simplify cancellation handling.
7089 2015-11-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
7091         * sysdeps/s390/fpu/bits/mathinline.h:
7092         Use __asm__ [__volatile__] instead of asm [volatile].
7093         * sysdeps/s390/abort-instr.h: Likewise.
7094         * sysdeps/s390/atomic-machine.h: Likewise.
7095         * sysdeps/s390/bits/string.h: Likewise.
7096         * sysdeps/s390/dl-tls.h: Likewise.
7097         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
7098         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
7099         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
7100         * sysdeps/s390/fpu/fesetround.c: Likewise.
7101         * sysdeps/s390/fpu/fpu_control.h: Likewise.
7102         * sysdeps/s390/fpu/s_fma.c: Likewise.
7103         * sysdeps/s390/fpu/s_fmaf.c: Likewise.
7104         * sysdeps/s390/memusage.h: Likewise.
7105         * sysdeps/s390/multiarch/ifunc-resolve.h: Likewise.
7106         * sysdeps/s390/nptl/pthread_spin_lock.c: Likewise.
7107         * sysdeps/s390/nptl/pthread_spin_trylock.c: Likewise.
7108         * sysdeps/s390/nptl/pthread_spin_unlock.c: Likewise.
7109         * sysdeps/s390/nptl/tls.h: Likewise.
7110         * sysdeps/s390/s390-32/__longjmp.c: Likewise.
7111         * sysdeps/s390/s390-32/backtrace.c: Likewise.
7112         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
7113         * sysdeps/s390/s390-32/multiarch/memcmp.c: Likewise.
7114         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
7115         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
7116         * sysdeps/s390/s390-64/__longjmp.c: Likewise.
7117         * sysdeps/s390/s390-64/backtrace.c: Likewise.
7118         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
7119         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c: Likewise.
7120         * sysdeps/s390/s390-64/multiarch/memcmp.c: Likewise.
7121         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
7122         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
7123         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Likewise.
7124         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
7125         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
7126         * sysdeps/unix/sysv/linux/s390/brk.c: Likewise.
7127         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
7128         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Likewise.
7129         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
7130         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c: Likewise.
7131         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
7132         * sysdeps/unix/sysv/linux/s390/sysconf.c: Likewise.
7134 2015-11-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7135             Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7137         * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
7138         Add lwarx hint, and use macro for acquire instruction.
7139         * sysdeps/powerpc/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
7140         Likewise.
7141         * sysdep/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Move to ...
7142         * sysdeps/powerpc/nptl/pthread_spin_unlock.c: ... here, and
7143         update to use new atomic macros.
7145 2015-11-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7147         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
7148         (__lll_trylock_elision): Fix setting of adapt_count.
7149         * sysdeps/unix/sysv/linux/powerpc/htm.h
7150         (_ABORT_PERSISTENT): Define to clarify persistent aborts.
7151         (_ABORT_NESTED_TRYLOCK): Renumber, and make persistent.
7152         (_ABORT_SYSCALL): Renumber, and clarify definition.
7153         (_ABORT_LOCK_BUSY): Renumber, make non-persistent.
7155 2015-11-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7157         * sysdeps/ieee754/ldbl-128ibm/mpn2ldl.c: Include gmp headers
7158         after system headers to prevent MIN/MAX redefinition.  Define
7159         HAVE_ALLOCA to preserve builtin alloca usage.
7161 2015-11-17  Siddhesh Poyarekar  <siddhesh.poyarekar@linaro.org>
7163         * sysdeps/ieee754/dbl-64/s_sin.c (__sin)[IN_SINCOS]: Mark function
7164         static and don't set or restore rounding.
7165         (__cos)[IN_SINCOS]: Likewise.
7166         * sysdeps/ieee754/dbl-64/s_sincos.c: Include s_sin.c.
7167         (__sincos): Set and restore rounding mode.  Remove check for infinite
7168         or NaN input.
7170         * sysdeps/ieee754/dbl-64/s_sin.c: Remove redundant else clauses.
7172         * benchtests/scripts/bench.py (_print_arg_data): Mark output variables
7173         as used.
7175 2015-11-16  Florian Weimer  <fweimer@redhat.com>
7177         * math/test-signgam-finite-c99.c (_Mlong_double_): Undefine.
7179 2015-11-14  H.J. Lu  <hongjiu.lu@intel.com>
7181         * config.make.in (have-glob-dat-reloc): New.
7182         * configure.ac (libc_cv_has_glob_dat): New.  Set to yes if
7183         target supports GLOB_DAT relocaton. AC_SUBST.
7184         * configure: Regenerated.
7185         * elf/Makefile (tests): Add tst-prelink.
7186         (tests-special): Add $(objpfx)tst-prelink-cmp.out.
7187         (tst-prelink-ENV): New.
7188         ($(objpfx)tst-prelink-conflict.out): Likewise.
7189         ($(objpfx)tst-prelink-cmp.out): Likewise.
7190         * sysdeps/x86/tst-prelink.c: Moved to ...
7191         * elf/tst-prelink.c: Here.
7192         * sysdeps/x86/tst-prelink.exp: Moved to ...
7193         * elf/tst-prelink.exp: Here.
7194         * sysdeps/x86/Makefile (tests): Don't add tst-prelink.
7195         (tst-prelink-ENV): Removed.
7196         ($(objpfx)tst-prelink-conflict.out): Likewise.
7197         ($(objpfx)tst-prelink-cmp.out): Likewise.
7198         (tests-special): Don't add $(objpfx)tst-prelink-cmp.out.
7200 2015-11-13  Joseph Myers  <joseph@codesourcery.com>
7202         [BZ #14551]
7203         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Include <errno.h>.
7204         (__mpn_construct_long_double): If high part overflows to infinity,
7205         set errno and recompute overflowed result of the correct sign.
7206         * sysdeps/ieee754/ldbl-128ibm/Makefile
7207         [$(subdir) = stdlib] (tests): Add tst-strtold-ldbl-128ibm.
7208         [$(subdir) = stdlib] ($(objpfx)tst-strtold-ldbl-128ibm): Depend on
7209         $(libm).
7210         * sysdeps/ieee754/ldbl-128ibm/tst-strtold-ldbl-128ibm.c: New file.
7212 2015-11-12  Joseph Myers  <joseph@codesourcery.com>
7214         [BZ #15479]
7215         [BZ #19238]
7216         * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Save
7217         floating-point state after first operation on input.  Restore full
7218         state rather than just rounding mode.
7219         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise.
7220         * sysdeps/powerpc/powerpc64/fpu/s_round.S (__round): Likewise.
7221         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S (__roundf): Likewise.
7223         [BZ #19235]
7224         * sysdeps/powerpc/powerpc64/fpu/s_llround.S (__llround): Do not
7225         add 0.5 to integer arguments.
7226         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S (__llroundf):
7227         Likewise.
7228         (.LC2): New object.
7230 2015-11-11  Mike Frysinger  <vapier@gentoo.org>
7232         * scripts/pylintrc (reports): Set to no.
7234 2015-11-10  Roland McGrath  <roland@hack.frob.com>
7236         * elf/dl-load.c (open_verify): Take new argument FD.
7237         Skip __open call if passed FD is not -1.
7238         (_dl_map_object, open_path): Update callers.
7239         * elf/dl-sysdep-open.h: New file.
7240         * elf/dl-load.c: Include it.
7241         (_dl_map_object): Try _dl_sysdep_open_object before ldconfig cache.
7242         * sysdeps/nacl/dl-sysdep.c (_dl_sysdep_open_object): New function.
7243         * sysdeps/nacl/dl-sysdep-open.h: New file.
7244         * sysdeps/nacl/nacl-interface-list.h: Move nacl_irt_resource_open
7245         from libc to rtld.
7247 2015-11-10  Joseph Myers  <joseph@codesourcery.com>
7249         [BZ #19228]
7250         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Save
7251         and restore full floating-point state.
7252         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
7253         Likewise.
7254         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (__nearbyint):
7255         Likewise.
7256         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S (__nearbyintf):
7257         Likewise.
7258         * math/test-nearbyint-except-2.c: New file.
7259         * math/Makefile (tests): Add test-nearbyint-except-2.
7261 2015-11-10  H.J. Lu  <hongjiu.lu@intel.com>
7263         [BZ #19178]
7264         * sysdeps/x86/Makefile (tests): Add tst-prelink.
7265         (tst-prelink-ENV): New.
7266         ($(objpfx)tst-prelink-conflict.out): Likewise.
7267         ($(objpfx)tst-prelink-cmp.out): Likewise.
7268         (tests-special): Add $(objpfx)tst-prelink-cmp.out.
7269         * sysdeps/x86/tst-prelink.c: New file.
7270         * sysdeps/x86/tst-prelink.exp: Likewise.
7272 2015-11-10  Joseph Myers  <joseph@codesourcery.com>
7274         * math/auto-libm-test-in: Add another test of pow.
7275         * math/auto-libm-test-out: Regenerated.
7276         * math/libm-test.inc (pow_test_data): Add another test.
7278 2015-11-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7280         [BZ #19219]
7281         * sysdeps/ia64/fpu/s_nearbyintl.S (__nearbyint): Define and
7282         weak_alias to nearbyintl.
7284 2015-11-10  Wilco Dijkstra  <wdijkstr@arm.com>
7286         * sysdeps/aarch64/bits/string.h: New file.
7287         (_STRING_ARCH_unaligned): Define.
7289 2015-11-10  Wilco Dijkstra  <wdijkstr@arm.com>
7291         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Remove __signbit*.
7292         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
7293         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
7294         * sysdeps/unix/sysv/linux/nios2/localplt.data: Likewise.
7295         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data: Likewise.
7297 2015-11-09  Ulrich Drepper  <drepper@gmail.com>
7299         * elf/dl-load.c (_dl_map_object_from_fd): Add additional parameter
7300         for original name of the DSO.  Add it to the name list of the DSO
7301         if it is actually given.
7302         (_dl_map_object): Keep track of whether an audit module rewrote
7303         the file name.  If yes, pass the original name to
7304         _dl_map_object_from_fd in a new parameter, otherwise NULL.  When
7305         debugging is enabled, log the change of the file name.
7306         * sysdeps/mach/hur/dl-sysdep.c: Adjust commented-out call to
7307         _dl_map_object_from_fd.
7308         * elf/Makefile: Build and run tst-audit11 and tst-audit12.
7309         * elf/tst-audit11.c: New file
7310         * elf/tst-auditmod11.c: New file.
7311         * elf/tst-audit11mod1.c: New file.
7312         * elf/tst-audit11mod2.c: New file.
7313         * elf/tst-audit11mod2.map: New file.
7314         * elf/tst-audit12.c: New file
7315         * elf/tst-auditmod12.c: New file.
7316         * elf/tst-audit12mod1.c: New file.
7317         * elf/tst-audit12mod2.c: New file.
7318         * elf/tst-audit12mod2.map: New file.
7319         * elf/tst-audit12mod3.c: New file.
7321 2015-11-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
7323         * sysdeps/s390/longjmp.c (longjmp, _longjmp, siglongjmp):
7324         Don't create weak aliases,
7325         because versioned symbols are created later.
7326         * sysdeps/s390/s390-32/setjmp.S
7327         (setjmp, _setjmp): Remove weak and rename to an unique name
7328         in SHARED case due to existing versioned symbols.
7329         * sysdeps/s390/s390-64/setjmp.S: Likewise.
7330         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S
7331         (getcontext): Create weak alias only in non SHARED case.
7332         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
7334 2015-11-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
7336         * sysdeps/unix/sysv/linux/s390/kernel-features.h:
7337         (__ASSUME_*_SYSCALL) Define new macros.
7338         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list:
7339         Remove socketcall syscalls.
7340         * sysdeps/unix/sysv/linux/accept.c (__libc_accept):
7341         Use accept4 if defined __ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL.
7342         * sysdeps/unix/sysv/linux/recv.c (__libc_recv):
7343         Use recvfrom if defined __ASSUME_RECVFROM_FOR_RECV_SYSCALL.
7344         * sysdeps/unix/sysv/linux/send.c (__libc_send):
7345         Use sendto if defined __ASSUME_SENDTO_FOR_SEND_SYSCALL.
7347 2015-11-09  Florian Weimer  <fweimer@redhat.com>
7349         [BZ #12926]
7350         Terminate process on invalid netlink response.
7351         * sysdeps/unix/sysv/linux/netlinkaccess.h
7352         (__netlink_assert_response): Declare.
7353         * sysdeps/unix/sysv/linux/netlink_assert_response.c: New file.
7354         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == inet]
7355         (sysdep_routines): Add netlink_assert_response.
7356         * sysdeps/unix/sysv/linux/check_native.c (__check_native): Call
7357         __netlink_assert_response.
7358         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Likewise.
7359         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Likewise.
7360         * sysdeps/unix/sysv/linux/Versions (GLIBC_PRIVATE): Add
7361         __netlink_assert_response.
7363 2015-11-07  H.J. Lu  <hongjiu.lu@intel.com>
7365         [BZ #19178]
7366         * elf/dl-lookup.c (RTYPE_CLASS_VALID): New.
7367         (RTYPE_CLASS_PLT): Likewise.
7368         (RTYPE_CLASS_COPY): Likewise.
7369         (RTYPE_CLASS_TLS): Likewise.
7370         (_dl_debug_bindings): Use RTYPE_CLASS_TLS and RTYPE_CLASS_VALID
7371         to set relocation type class for DL_DEBUG_PRELINK.  Keep only
7372         ELF_RTYPE_CLASS_PLT and ELF_RTYPE_CLASS_COPY bits for
7373         DL_DEBUG_PRELINK.
7375 2015-11-06  Joseph Myers  <joseph@codesourcery.com>
7377         * math/test-signgam-finite.c (RUN_TESTS): Correct messages about
7378         calls with argument -0.5.
7379         * math/test-signgam-finite-c99.c (RUN_TESTS): Likewise.
7381         * configure.ac (libc_cv_z_nodelete): Remove configure test.
7382         (libc_cv_z_nodlopen): Likewise.
7383         (libc_cv_z_initfirst): Likewise.
7384         * configure: Regenerated.
7386 2015-11-06  Florian Weimer  <fweimer@redhat.com>
7388         Simplify abilist format to be line-based.
7389         * scripts/abilist.awk: Collect descriptors in the descs variable.
7390         (emit): Write descs variable and sort it
7391         externally, with sort.
7392         * sysdeps/**/*.abilist: Convert to new format.
7394 2015-11-06  Mark Wielaard  <mjw@redhat.com>
7396         [BZ #11460]
7397         * io/Makefile (routines): Add fts64.
7398         (tests): Add tst-fts and tst-fts-lfs.
7399         (CFLAGS-fts64.c): New.
7400         * io/Versions (GLIBC_2.23): New.
7401         * io/fts.c: Replace FTS with FTSOBJ, FTSENT with FTSENTRY. Use
7402         function defines FTS_OPEN, FTS_CLOSE, FTS_READ, FTS_SET and
7403         FTS_CHILDREN. Define FTSOBJ, FTSENTRY, FTS_OPEN, FTS_CLOSE,
7404         FTS_READ, FTS_SET, FTS_CHILDREN, INO_T, STAT and LSTAT if necessary.
7405         * io/fts.h (FTS64): New if _USE_LARGEFILE64.
7406         (FTSENT64): Likewise.
7407         (fts64_children): Likewise.
7408         (fts64_close): Likewise.
7409         (fts64_open): Likewise.
7410         (fts64_read): Likewise.
7411         (fts64_set): Likewise.
7412         * io/fts64.c: New file.
7413         * io/tst-fts.c: New test.
7414         * io/tst-fts-lfs.c: Likewise.
7415         * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.23): Add
7416         GLIBC_2.23, fts64_children, fts64_close, fts64_open, fts64_read and
7417         fts64_set.
7418         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
7419         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
7420         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
7421         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
7422         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
7423         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
7424         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
7425         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
7426         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
7427         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
7428         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
7429         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
7430         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
7431         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
7432         Likewise.
7433         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
7434         Likewise.
7435         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
7436         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
7437         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
7438         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
7439         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
7440         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
7441         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
7442         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
7443         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
7444         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
7445         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
7446         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
7447         * sysdeps/wordsize-64/fts.c: New file.
7448         * sysdeps/wordsize-64/fts64.c: Likewise.
7449         * sysdeps/unix/sysv/linux/mips/mips64/n64/fts.c: Likewise.
7450         * sysdeps/unix/sysv/linux/mips/mips64/n64/fts64.c: Likewise.
7451         * sysdeps/unix/sysv/linux/x86_64/x32/fts.c: likewise.
7452         * sysdeps/unix/sysv/linux/x86_64/x32/fts64.c: likewise.
7454 2015-11-05  Joseph Myers  <joseph@codesourcery.com>
7456         * math/libm-test.inc (NON_FINITE): New macro.
7457         (enable_test): Do not run tests flagged NON_FINITE if TEST_FINITE.
7458         * math/gen-libm-test.pl (show_exceptions): Add argument
7459         $non_finite.
7460         (parse_args): Update call to show_exceptions.
7461         * math/test-math-finite.h: New file.
7462         * math/test-math-no-finite.h: Likewise.
7463         * math/test-double-finite.c: Likewise.
7464         * math/test-float-finite.c: Likewise.
7465         * math/test-ldouble-finite.c: Likewise.
7466         * math/test-double.c: Include "test-math-no-finite.h".
7467         * math/test-float.c: Include "test-math-no-finite.h".
7468         * math/test-ldouble.c: Include "test-math-no-finite.h".
7469         * math/test-math-inline.h (TEST_FINITE): New macro.
7470         * math/test-math-vector.h (TEST_FINITE): Likewise.
7471         * math/Makefile (test-longdouble-yes): Add test-ldouble-finite.
7472         (libm-tests): Add test-float-finite and test-double-finite.
7473         ($(objpfx)test-float-finite.o): New dependency on
7474         $(objpfx)libm-test.stmp.
7475         ($(objpfx)test-double-finite.o): Likewise.
7476         ($(objpfx)test-ldouble-finite.o): Likewise.
7477         (libm-test-no-inline-cflags): New variable.
7478         (libm-test-finite-cflags): Likewise.
7479         (CFLAGS-test-float-finite.c): Likewise.
7480         (CFLAGS-test-double-finite.c): Likewise.
7481         (CFLAGS-test-ldouble-finite.c): Likewise.
7482         (CFLAGS-test-float.c): Use $(libm-test-no-inline-cflags).
7483         (CFLAGS-test-double.c): Likewise.
7484         (CFLAGS-test-ldouble.c): Likewise.
7486 2015-11-05  Roland McGrath  <roland@hack.frob.com>
7488         * io/fcntl.c (__fcntl): Add ... to prototype.
7489         * misc/ioctl.c (__ioctl): Likewise.
7490         * misc/syscall.c (syscall): Likewise.
7492 2015-11-05  Joseph Myers  <joseph@codesourcery.com>
7494         * scripts/list-fixed-bugs.py: New file.
7496         [BZ #19213]
7497         * sysdeps/i386/fpu/e_log.S (__log_finite): Ensure +0 is always
7498         returned for argument 1.
7499         * sysdeps/i386/fpu/e_logf.S (__logf_finite): Likewise.
7500         * sysdeps/i386/fpu/e_logl.S (__logl_finite): Likewise.
7501         * sysdeps/i386/i686/fpu/e_logl.S (__logl_finite): Likewise.
7502         * sysdeps/x86_64/fpu/e_log10l.S (__log10l_finite): Likewise.
7503         * sysdeps/x86_64/fpu/e_log2l.S (__log2l_finite): Likewise.
7504         * sysdeps/x86_64/fpu/e_logl.S (__logl_finite): Likewise.
7506         [BZ #19211]
7507         * math/bits/math-finite.h (lgamma): Set signgam if [__USE_MISC ||
7508         __USE_XOPEN], not if [!__USE_ISOC99].
7509         (lgammaf): Likewise.
7510         (lgammal): Likewise.
7511         (gamma): Set signgam unconditionally, not if [!__USE_ISOC99].
7512         (gammaf): Likewise.
7513         (gammal): Likewise.
7514         * math/test-signgam-finite-c11.c: New file.
7515         * math/test-signgam-finite-c99.c: Likewise.
7516         * math/test-signgam-finite.c: Likewise.
7517         * math/Makefile (tests): Add test-signgam-finite,
7518         test-signgam-finite-c99 and test-signgam-finite-c11.
7519         (CFLAGS-test-signgam-finite.c): New variable.
7520         (CFLAGS-test-signgam-finite-c99.c): Likewise.
7521         (CFLAGS-test-signgam-finite-c11.c): Likewise.
7523         [BZ #19212]
7524         * include/features.h [(_XOPEN_SOURCE - 0) >= 500]: Change
7525         conditional to [defined _XOPEN_SOURCE && (_XOPEN_SOURCE - 0) >=
7526         500].
7527         [_POSIX_C_SOURCE >= 1]: Change conditional to [defined
7528         _POSIX_C_SOURCE && _POSIX_C_SOURCE >= 1].
7529         [(_POSIX_C_SOURCE - 0) >= 199309L]: Change conditional to [defined
7530         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199309L].
7531         [(_POSIX_C_SOURCE - 0) >= 199506L]: Change conditional to [defined
7532         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199506L].
7533         [(_POSIX_C_SOURCE - 0) >= 200112L]: Change conditional to [defined
7534         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200112L].
7535         [(_POSIX_C_SOURCE - 0) >= 200809L]: Change conditional to [defined
7536         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200809L].
7538         [BZ #19209]
7539         * math/bits/math-finite.h (ldexp): Remove declaration.
7540         (ldexpf): Likewise.
7541         (ldexpl): Likewise.
7543         [BZ #19205]
7544         * math/bits/math-finite.h (acosf): Condition declaration on
7545         [__USE_ISOC99].
7546         (acosl): Likewise.
7547         (acoshf): Likewise.
7548         (acoshl): Likewise.
7549         (asinf): Likewise.
7550         (asinl): Likewise.
7551         (atan2f): Likewise.
7552         (atan2l): Likewise.
7553         (atanhf): Likewise.
7554         (atanhl): Likewise.
7555         (coshf): Likewise.
7556         (coshl): Likewise.
7557         (expf): Likewise.
7558         (expl): Likewise.
7559         (fmodf): Likewise.
7560         (fmodl): Likewise.
7561         (hypot): Change condition to [__USE_XOPEN || __USE_ISOC99].
7562         (j0f): Change condition to [__USE_MISC && __USE_ISOC99].
7563         (j0l): Likewise.
7564         (y0f): Likewise.
7565         (y0l): Likewise.
7566         (j1f): Likewise.
7567         (j1l): Likewise.
7568         (y1f): Likewise.
7569         (y1l): Likewise.
7570         (jnf): Likewise.
7571         (jnl): Likewise.
7572         (ynf): Likewise.
7573         (ynl): Likewise.
7574         (lgammaf_r): Condition declaration on [__USE_ISOC99].
7575         (lgammal_r): Likewise.
7576         (__lgamma_r_finite): New declaration.
7577         (__lgammaf_r_finite): Likewise.
7578         (__lgammal_r_finite): Likewise.
7579         (lgamma): Use __lgamma_r_finite.
7580         (lgammaf): Condition definition on [__USE_ISOC99].  Use
7581         __lgammaf_r_finite.
7582         (lgammal): Condition definition on [__USE_ISOC99].  Use
7583         __lgammal_r_finite.
7584         (gamma): Do not define for [!__USE_MISC && __USE_XOPEN2K].  Use
7585         __lgamma_r_finite.
7586         (gammaf): Condition definition on [__USE_ISOC99].  Use
7587         __lgammaf_r_finite.
7588         (gammal): Condition definition on [__USE_ISOC99].  Use
7589         __lgammal_r_finite.
7590         (logf): Condition declaration on [__USE_ISOC99].
7591         (logl): Likewise.
7592         (log10f): Likewise.
7593         (log10l): Likewise.
7594         (ldexpf): Likewise.
7595         (ldexpl): Likewise.
7596         (powf): Likewise.
7597         (powl): Likewise.
7598         (remainder): Condition declaration on [__USE_XOPEN_EXTENDED ||
7599         __USE_ISOC99].
7600         (remainderf): Condition declaration on [__USE_ISOC99].
7601         (remainderl): Likewise.
7602         (scalb): Do not declare for [!__USE_MISC && __USE_XOPEN2K8].
7603         (scalbf): Change condition to [__USE_MISC && __USE_ISOC99].
7604         (scalbl): Likewise.
7605         (sinhf): Condition declaration on [__USE_ISOC99].
7606         (sinhl): Likewise.
7607         (sqrtf): Likewise.
7608         (sqrtl): Likewise.
7610 2015-11-04  Joseph Myers  <joseph@codesourcery.com>
7612         * sysdeps/arm/atomic-machine.h
7613         [__GNUC_PREREQ (4, 7) && __GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
7614         Change conditional to [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
7615         [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4 && !__GNUC_PREREQ (4, 7)]:
7616         Remove conditional code.
7617         [!__GNUC_PREREQ (4, 7) || !__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
7618         Change conditional to [!__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
7619         * sysdeps/i386/sysdep.h [__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]:
7620         Change conditional to [__ASSEMBLER__].
7621         [__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
7622         [!__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]: Change conditional to
7623         [!__ASSEMBLER__].
7624         [!__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional
7625         code.
7626         * sysdeps/unix/sysv/linux/sh/atomic-machine.h (rNOSP): Remove
7627         conditional macro definitions.
7628         (__arch_compare_and_exchange_val_8_acq): Use "u" instead of rNOSP.
7629         (__arch_compare_and_exchange_val_16_acq): Likewise.
7630         (__arch_compare_and_exchange_val_32_acq): Likewise.
7631         (atomic_exchange_and_add): Likewise.
7632         (atomic_add): Likewise.
7633         (atomic_add_negative): Likewise.
7634         (atomic_add_zero): Likewise.
7635         (atomic_bit_set): Likewise.
7636         (atomic_bit_test_set): Likewise.
7637         * sysdeps/x86_64/atomic-machine.h [__GNUC_PREREQ (4, 7)]: Make
7638         code unconditional.
7639         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
7641         * math/test-math-errno.h: New file.
7642         * math/test-math-inline.h (TEST_INLINE): Define to 1 instead of
7643         empty.
7644         (TEST_ERRNO): New macro.
7645         (TEST_EXCEPTIONS): Likewise.
7646         * math/test-math-no-inline.h (TEST_INLINE): Likewise.
7647         (TEST_EXCEPTIONS): Likewise.
7648         * math/test-math-vector.h (TEST_ERRNO): Likewise.
7649         * math/test-double.c: Include "test-math-errno.h".
7650         * math/test-float.c: Likewise.
7651         * math/test-ldouble.c: Likewise.
7652         * math/libm-test.inc (test_single_exception) [!TEST_INLINE]: Make
7653         code unconditional.
7654         (test_exceptions): Only run code if TEST_EXCEPTIONS.
7655         (test_single_errno) [!TEST_INLINE && !TEST_MATHVEC]: Make code
7656         unconditional.
7657         (test_errno): Only run code if TEST_ERRNO.
7658         (enable_test): Use "if" conditional on TEST_INLINE, not #ifdef.
7660 2015-11-04  Florian Weimer  <fweimer@redhat.com>
7662         * nptl/tst-once5.cc: Remove attribution.
7664 2015-11-04  Joseph Myers  <joseph@codesourcery.com>
7666         * math/auto-libm-test-in: Add more tests of sin, sincos, sinh,
7667         sqrt, tan, tanh, y0, y1 and yn.
7668         * math/auto-libm-test-out: Regenerated.
7669         * math/libm-test.inc (scalb_test_data): Add more tests.
7670         (scalbn_test_data): Likewise.
7671         (scalbln_test_data): Likewise.
7672         (signbit_test_data): Likewise.
7673         (sin_test_data): Likewise.
7674         (sincos_test_data): Likewise.
7675         (sinh_test_data): Likewise.
7676         (sqrt_test_data): Likewise.
7677         (tan_test_data): Likewise.
7678         (tanh_test_data): Likewise.
7679         (tgamma_test_data): Likewise.
7680         (y0_test_data): Likewise.
7681         (y1_test_data): Likewise.
7682         (yn_test_data): Likewise.
7683         (significand_test_data): Likewise.
7684         * sysdeps/i386/fpu/libm-test-ulps: Update.
7686 2015-11-03  David Kastrup  <dak@gnu.org>
7688         [BZ #18604]
7689         * assert/assert.h (assert): Don't macro-expand failed assertion
7690         expression in error message.
7691         * malloc/malloc.c (assert): Likewise.
7693 2015-11-03  Joseph Myers  <joseph@codesourcery.com>
7695         * configure.ac (libc_cv_ld_no_whole_archive): Remove configure
7696         test.
7697         * configure: Regenerated.
7699 2015-11-02  Joseph Myers  <joseph@codesourcery.com>
7701         * math/libm-test.inc (modf_test_data): Add more tests.
7702         (nearbyint_test_data): Likewise.
7703         (nextafter_test_data): Likewise.
7704         (nexttoward_test_data): Likewise.
7705         (pow_test_data): Likewise.
7706         (remainder_test_data): Likewise.
7707         (remquo_test_data): Likewise.
7708         (rint_test_data): Likewise.
7710         [BZ #19201]
7711         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
7712         Check for zero remainder in case of large exponents and ensure
7713         correct sign of result in that case.
7714         * math/libm-test.inc (remainder_test_data): Add more tests.
7716         [BZ #6799]
7717         * math/s_nextafter.c: Include <errno.h>.
7718         (__nextafter): Set errno on overflow and underflow.
7719         * math/s_nexttowardf.c: Include <errno.h>.
7720         (__nexttowardf): Set errno on overflow and underflow.
7721         * sysdeps/i386/fpu/s_nextafterl.c: Include <errno.h>.
7722         (__nextafterl): Set errno on overflow and underflow.
7723         * sysdeps/i386/fpu/s_nexttoward.c: Include <errno.h>.
7724         (__nexttoward): Set errno on overflow and underflow.
7725         * sysdeps/i386/fpu/s_nexttowardf.c: Include <errno.h>.
7726         (__nexttowardf): Set errno on overflow and underflow.
7727         * sysdeps/ieee754/flt-32/s_nextafterf.c: Include <errno.h>.
7728         (__nextafterf): Set errno on overflow and underflow.
7729         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Include <errno.h>.
7730         (__nextafterl): Set errno on overflow and underflow.
7731         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Include <errno.h>.
7732         (__nexttoward): Set errno on overflow and underflow.
7733         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Include <errno.h>.
7734         (__nexttowardf): Set errno on overflow and underflow.
7735         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <errno.h>.
7736         (__nextafterl): Set errno on overflow and underflow.
7737         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Include <errno.h>.
7738         (__nexttoward): Set errno on overflow and underflow.
7739         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Include <errno.h>.
7740         (__nexttowardf): Set errno on overflow and underflow.
7741         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Include <errno.h>.
7742         (__nexttoward): Set errno on overflow and underflow.
7743         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Include <errno.h>.
7744         (__nexttowardf): Set errno on overflow and underflow.
7745         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c: Include <errno.h>.
7746         (__nldbl_nexttowardf): Set errno on overflow and underflow.
7747         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c: Include <errno.h>.
7748         (__nextafterl): Set errno on overflow and underflow.
7749         * math/libm-test.inc (nextafter_test_data): Do not allow errno
7750         setting to be missing on overflow.  Add more tests.
7751         (nexttoward_test_data): Likewise.
7753         * configure.ac (libc_cv_initfini_array): Remove configure test.
7754         * configure: Regenerated.
7756 2015-10-29  Joseph Myers  <joseph@codesourcery.com>
7758         [BZ #19189]
7759         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Make check for
7760         non-finite argument handle arguments with negative sign.
7762         * math/libm-test.inc (j0_test_data): Do not test sign of zero
7763         result from infinite argument.
7764         (j1_test_data): Likewise.
7765         (jn_test_data): Likewise.
7766         (y0_test_data): Likewise.
7767         (y1_test_data): Likewise.
7768         (yn_test_data): Likewise.
7770         [BZ #16171]
7771         * math/w_remainder.c (drem): Define as weak alias of __remainder.
7772         [NO_LONG_DOUBLE] (dreml): Define as weak alias of __remainder.
7773         * math/w_remainderf.c (dremf): Define as weak alias of
7774         __remainderf.
7775         * math/w_remainderl.c (dreml): Define as weak alias of
7776         __remainderl.
7777         * sysdeps/ia64/fpu/e_remainder.S (drem): Define as weak alias of
7778         __remainder.
7779         * sysdeps/ia64/fpu/e_remainderf.S (dremf): Define as weak alias of
7780         __remainderf.
7781         * sysdeps/ia64/fpu/e_remainderl.S (dreml): Define as weak alias of
7782         __remainderl.
7783         * sysdeps/ieee754/ldbl-opt/nldbl-remainder.c (dreml): Define as
7784         weak alias of remainderl.
7785         * sysdeps/ieee754/ldbl-opt/w_remainder.c
7786         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__drem): Define as strong
7787         alias of __remainder.
7788         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (dreml): Use compat_symbol.
7789         * sysdeps/ieee754/ldbl-opt/w_remainderl.c (__dreml): Define as
7790         strong alias of __remainderl.
7791         (dreml): Use long_double_symbol.
7792         * math/Makefile (libm-calls): Remove w_drem.
7793         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Remove drem.
7794         (CFLAGS-nldbl-drem.c): Remove variable.
7795         (CFLAGS-nldbl-remainder.c): Add -fno-builtin-dreml.
7796         * math/w_drem.c: Remove file.
7797         * math/w_dremf.c: Likewise.
7798         * math/w_dreml.c: Likewise.
7799         * sysdeps/ieee754/ldbl-opt/nldbl-drem.c: Likewise.
7800         * sysdeps/ieee754/ldbl-opt/w_drem.c: Likewise.
7801         * sysdeps/ieee754/ldbl-opt/w_dreml.c: Likewise.
7803         * sysdeps/i386/configure.ac (cpuid.h): Do not test for header.
7804         * sysdeps/i386/configure: Regenerated.
7805         * sysdeps/x86_64/configure.ac (cpuid.h): Do not test for header.
7806         * sysdeps/x86_64/configure: Regenerated.
7808         * configure.ac (libc_cv_asm_protected_directive): Remove configure
7809         test.
7810         (libc_cv_visibility_attribute): Likewise.
7811         (libc_cv_protected_data): Test unconditionally.
7812         (libc_cv_broken_visibility_attribute): Remove configure test.
7813         (libc_cv_have_sdata_section): Test unconditionally.
7814         * configure: Regenerated.
7816         * include/libc-internal.h (libc_max_align_t): Remove typedef.
7817         * include/scratch_buffer.h: Include <stddef.h> instead of
7818         <libc-internal.h>.
7819         (struct scratch_buffer): Use max_align_t instead of
7820         libc_max_align_t.
7822 2015-10-29  Florian Weimer  <fweimer@redhat.com>
7824         * elf/dl-fini.c (_dl_fini): Rewrite to use variable-length array
7825         instead of extend_alloca.  Change control flow to avoid a goto.
7826         Remove assert which is trivially always true.
7828 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
7830         [BZ #16068]
7831         * sysdeps/i386/fpu/fesetenv.c: Include <fpu_control.h>.
7832         (FE_ALL_EXCEPT_X86): New macro.
7833         (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
7834         FE_ALL_EXCEPT.  Ensure precision control is included in
7835         floating-point state.  Ensure that FE_DFL_ENV and FE_NOMASK_ENV
7836         handle "denormal operand exception" and clear FZ and DAZ bits.
7837         * sysdeps/x86_64/fpu/fesetenv.c: Include <fpu_control.h>.
7838         (FE_ALL_EXCEPT_X86): New macro.
7839         (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
7840         FE_ALL_EXCEPT.  Ensure precision control is included in
7841         floating-point state.  Ensure that FE_DFL_ENV and FE_NOMASK_ENV
7842         handle "denormal operand exception" and clear FZ and DAZ bits.
7843         * sysdeps/x86/fpu/test-fenv-sse-2.c: New file.
7844         * sysdeps/x86/fpu/test-fenv-x87.c: Likewise.
7845         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
7846         test-fenv-x87 and test-fenv-sse-2.
7847         [$(subdir) = math] (CFLAGS-test-fenv-sse-2.c): New variable.
7849         * math/libm-test.inc (BUILD_COMPLEX): Remove macro.
7850         * math/test-double.h (BUILD_COMPLEX): New macro.
7851         * math/test-float.h (BUILD_COMPLEX): Likewise.
7852         * math/test-ldouble.h (BUILD_COMPLEX): Likewise.
7854         * math/libm-test.inc (min_subnorm_value): Use LDBL_TRUE_MIN,
7855         DBL_TRUE_MIN and FLT_TRUE_MIN instead of __LDBL_DENORM_MIN__,
7856         __DBL_DENORM_MIN__ and __FLT_DENORM_MIN__.
7857         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Refer to DBL_TRUE_MIN
7858         instead of DBL_DENORM_MIN in comment.
7859         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Refer to
7860         LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
7861         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <float.h>.
7862         (__nextafterl): Use LDBL_TRUE_MIN instead of __LDBL_DENORM_MIN__.
7863         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Refer to
7864         LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
7866 2015-10-28  Florian Weimer  <fweimer@redhat.com>
7868         [BZ# 19048]
7869         * malloc/malloc.c (struct malloc_state): Update comment.  Add
7870         attached_threads member.
7871         (main_arena): Initialize attached_threads.
7872         * malloc/arena.c (list_lock): Update comment.
7873         (ptmalloc_lock_all, ptmalloc_unlock_all): Likewise.
7874         (ptmalloc_unlock_all2): Reinitialize arena reference counts.
7875         (deattach_arena): New function.
7876         (_int_new_arena): Initialize arena reference count and deattach
7877         replaced arena.
7878         (get_free_list, reused_arena): Update reference count and deattach
7879         replaced arena.
7880         (arena_thread_freeres): Update arena reference count and only put
7881         unreferenced arenas on the free list.
7883 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
7885         [BZ #19181]
7886         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Clear already-raised
7887         SSE exceptions when argument is FE_DFL_ENV or FE_NOMASK_ENV.
7888         * sysdeps/x86_64/fpu/fesetenv.c (__fesetenv): Likewise.
7889         * math/test-fenv-clear-main.c: New file.
7890         * math/test-fenv-clear.c: Likewise.
7891         * math/Makefile (tests): Add test-fenv-clear.
7892         * sysdeps/x86/fpu/test-fenv-clear-sse.c: New file.
7893         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
7894         test-fenv-clear-sse.
7895         [$(subdir) = math] (CFLAGS-test-fenv-clear-sse.c): New variable.
7897         * math/libm-test.inc (TYPE_DECIMAL_DIG): Use LDBL_DECIMAL_DIG,
7898         DBL_DECIMAL_DIG and FLT_DECIMAL_DIG instead of __DECIMAL_DIG__,
7899         __DBL_DECIMAL_DIG__ and __FLT_DECIMAL_DIG__.
7901 2015-10-28  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
7903         * sysdeps/powerpc/libc-tls.c: New file. Provides __tls_get_addr () in
7904         static libc.
7906 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
7908         * sysdeps/i386/configure.ac (libc_cv_cc_avx2): Remove configure
7909         test.
7910         * sysdeps/i386/configure: Regenerated.
7911         * sysdeps/x86_64/configure.ac (libc_cv_cc_avx2): Remove configure
7912         test.
7913         * sysdeps/x86_64/configure: Regenerated.
7914         * config.h.in (HAVE_AVX2_SUPPORT): Remove #undef.
7915         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
7916         memset-avx2 unconditionally instead of conditionally on
7917         [$(config-cflags-avx2) = yes].
7918         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
7919         (__libc_ifunc_impl_list) [HAVE_AVX2_SUPPORT]: Make code
7920         unconditional.
7921         * sysdeps/x86_64/multiarch/memset.S [HAVE_AVX2_SUPPORT]: Likewise.
7922         * sysdeps/x86_64/multiarch/memset_chk.S
7923         [IS_IN (libc) && SHARED && HAVE_AVX2_SUPPORT]: Change conditional
7924         to [IS_IN (libc) && SHARED].
7926 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
7928         * sysdeps/arm/configure.ac (libc_cv_arm_tls_desc): Remove
7929         configure test.
7930         * sysdeps/arm/configure: Regenerated.
7931         * sysdeps/arm/Makefile [!have-arm-tls-desc] (have-arm-tls-desc):
7932         Define variable if not already defined.
7934         [BZ #17404]
7935         * sysdeps/mips/atomic-machine.h
7936         [__GNUC_PREREQ (4, 8) || (__mips16 && __GNUC_PREREQ (4, 7))]:
7937         Change conditional to [__GNUC_PREREQ (4, 8) || __mips16].
7938         [__mips16 && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
7940         * resolv/res_send.c (send_vc) [__GNUC_PREREQ (4, 7)]: Make code
7941         unconditional.
7942         * soft-fp/fmadf4.c [__GNUC_PREREQ (4, 7)]: Likewise.
7943         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
7944         * soft-fp/fmasf4.c [__GNUC_PREREQ (4, 7)]: Make code
7945         unconditional.
7946         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
7947         * soft-fp/fmatf4.c [__GNUC_PREREQ (4, 7)]: Make code
7948         unconditional.
7949         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
7950         * stdlib/setenv.c
7951         [((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7)]: Make
7952         code unconditional.
7953         [!(((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7))]:
7954         Remove conditional code.
7955         * sysdeps/ieee754/dbl-64/e_lgamma_r.c
7956         (__ieee754_lgamma_r) [__GNUC_PREREQ (4, 7)]: Make code
7957         unconditional.
7958         (__ieee754_lgamma_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
7959         code.
7960         * sysdeps/ieee754/flt-32/e_lgammaf_r.c
7961         (__ieee754_lgammaf_r) [__GNUC_PREREQ (4, 7)]: Make code
7962         unconditional.
7963         (__ieee754_lgammaf_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
7964         code.
7965         * sysdeps/ieee754/ldbl-128/k_tanl.c
7966         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
7967         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
7968         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c
7969         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
7970         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
7971         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c
7972         (__ieee754_lgammal_r) [__GNUC_PREREQ (4, 7)]: Make code
7973         unconditional.
7974         (__ieee754_lgammal_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
7975         code.
7976         * sysdeps/ieee754/ldbl-96/k_tanl.c
7977         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
7978         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
7980         * nptl/tst-initializers1-c11.c: New file.
7981         * nptl/tst-initializers1-gnu11.c: Likewise.
7982         * nptl/Makefile (tests): Add these new tests.
7983         (CFLAGS-tst-initializers1-c11.c): New variable.
7984         (CFLAGS-tst-initializers1-gnu11.c): Likewise.
7986         * Makeconfig (CFLAGS): Use -std=gnu11 instead of -std=gnu99.
7987         * Makefile ($(objpfx)c++-types-check.out): Filter out -std=gnu11
7988         instead of -std=gnu99.
7989         * configure.ac (systemtap): Test with -std=gnu11 instead of
7990         -std=gnu99.
7991         * configure: Regenerated.
7992         * math/gen-auto-libm-tests.c: Use -std=gnu11 instead of -std=gnu99
7993         in compilation command in comment.
7995         * sysdeps/nptl/configure.ac: Remove file.
7996         * sysdeps/nptl/configure: Remove generated file.
7997         * configure.ac (libc_cv_forced_unwind): Do not substitute.
7998         * configure: Regenerated.
7999         * config.h.in (HAVE_FORCED_UNWIND): Remove #undef.
8000         * config.make.in (have-forced-unwind): Remove variable.
8001         * nptl/Makefile [$(have-forced-unwind) = yes]: Make code
8002         unconditional.
8003         * nptl/descr.h [HAVE_FORCED_UNWIND]: Likewise.
8004         * nptl/unwind.c [HAVE_FORCED_UNWIND]: Likewise.
8005         (__pthread_unwind) [!HAVE_FORCED_UNWIND]: Remove conditional code.
8006         * nptl/version.c [HAVE_FORCED_UNWIND]: Make code unconditional.
8007         * sysdeps/nptl/Makefile [$(have-forced-unwind) = yes]: Make code
8008         unconditional.
8010 2015-10-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
8012         [BZ #19174]
8013         * sysdeps/powerpc/nptl/elide.h (__elide_lock): Fix usage of
8014         .skip_lock_out_of_tbegin_retries.
8015         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
8016         (__lll_lock_elision): Likewise, and respect a value of
8017         try_tbegin <= 0.
8019 2015-10-27  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
8021         * elf/dl-support.c (_dl_aux_init): Added AT_PLATFORM to the case
8022         statement.
8024 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
8026         * conform/Makefile (test-xfail-ISO11/complex.h/conform): Remove
8027         variable.
8028         (test-xfail-ISO11/stdalign.h/conform): Likewise.
8029         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
8031         * conform/GlibcConform.pm ($CFLAGS{"ISO11"}): Use -std=c11 instead
8032         of -std=c1x -D_ISOC11_SOURCE.
8034         * configure.ac (libc_cv_compiler_ok): Require GCC 4.7 or later.
8035         * configure: Regenerated.
8036         * manual/install.texi (Tools for Compilation): Document
8037         requirement for GCC 4.7 or later.
8038         * INSTALL: Regenerated.
8040 2015-10-27  Ludovic Courtès  <ludo@gnu.org>
8042         * locale/loadlocale.c (_nl_intern_locale_data): Change assertion
8043         on CNT to a conditional jump to 'puntdata'.
8045 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
8047         * configure.ac (libc_cv_gcc___thread): Remove configure test.
8048         (libc_cv_gcc_tls_model_attr): Likewise.
8049         * configure: Regenerated.
8051         * configure.ac (libc_cv_need_minus_P): Remove configure test.
8052         * configure: Regenerated.
8053         * Makeconfig (asm-CPPFLAGS): Remove reference to -P in comment.
8055 2015-10-26  Joseph Myers  <joseph@codesourcery.com>
8057         * configure.ac (old_glibc_headers): Remove configure test.
8058         * configure: Regenerated.
8059         * config.make.in (old-glibc-headers): Remove variable.
8060         * Makefile [!$(install_root) && $(old-glibc-headers) = yes]
8061         (install): Remove dependency on remove-old-headers.
8062         (headers2_0): Remove variable.
8063         (remove-old-headers): Remove rule.
8065         * configure.ac (libc_cv_dot_text): Remove configure test.
8066         (libc_cv_asm_set_directive): Use .text instead of
8067         ${libc_cv_dot_text} in configure test.
8068         * configure: Regenerated.
8070 2015-10-26  Florian Weimer  <fweimer@redhat.com>
8072         [BZ #19168]
8073         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
8075 2015-10-26  Florian Weimer  <fweimer@redhat.com>
8077         * configure.ac (CXX): Clear the variable if the C++ toolchain does
8078         not support static linking.
8079         * configure: Regenerate.
8081 2015-10-23  Joseph Myers  <joseph@codesourcery.com>
8083         * math/libm-test.inc (check_float_internal): Do not special-case
8084         errors up to 0.5 ulp.
8086         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
8087         log2.
8088         * math/auto-libm-test-out: Regenerated.
8089         * math/libm-test.inc (MAX_EXP): New macro.
8090         (ilogb_test_data): Add more tests.
8091         (isfinite_test_data): Likewise.
8092         (isgreater_test_data): Likewise.
8093         (isgreaterequal_test_data): Likewise.
8094         (isinf_test_data): Likewise.
8095         (isless_test_data): Likewise.
8096         (islessequal_test_data): Likewise.
8097         (islessgreater_test_data): Likewise.
8098         (isnan_test_data): Likewise.
8099         (isnormal_test_data): Likewise.
8100         (issignaling_test_data): Likewise.
8101         (isunordered_test_data): Likewise.
8102         (j0_test_data): Likewise.
8103         (j1_test_data): Likewise.
8104         (jn_test_data): Likewise.
8105         (lgamma_test_data): Likewise.
8106         (log_test_data): Likewise.
8107         (log10_test_data): Likewise.
8108         (log1p_test_data): Likewise.
8109         (log2_test_data): Likewise.
8110         (logb_test_data): Likewise.
8111         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8113         [BZ #18611]
8114         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Set errno and
8115         avoid excess range and precision on underflow.
8116         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
8117         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Likewise.
8118         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
8119         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Set errno on
8120         underflow.
8121         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
8122         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
8123         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
8124         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
8125         * math/auto-libm-test-in: Do not allow missing errno setting for
8126         tests of j1 and jn.
8127         * math/auto-libm-test-out: Regenerated.
8129 2015-10-22  Joseph Myers  <joseph@codesourcery.com>
8131         [BZ #15491]
8132         * sysdeps/i386/fpu/s_nearbyint.S (__nearbyint): Save and restore
8133         floating-point environment instead of clearing all exceptions.
8134         * sysdeps/i386/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
8135         * sysdeps/i386/fpu/s_nearbyintl.S (__nearbyintl): Likewise,
8136         merging in "invalid" exceptions from frndint.
8137         * sysdeps/x86_64/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
8138         * math/test-nearbyint-except.c: New file.
8139         * math/Makefile (tests): Add test-nearbyint-except.
8141 2015-10-22  Chris Metcalf  <cmetcalf@ezchip.com>
8143         * NEWS: Mention bug 18699 fixed by commit fe8c2b33aed0.
8145         * sysdeps/tile/libm-test-ulps: Regenerated.
8147 2015-10-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8149         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c
8150         (__NR_sync_file_range2): Assume it is always defined.
8151         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
8152         (__NR_sync_file_range): Assume it is always defined.
8154 2015-10-22  Andreas Schwab  <schwab@suse.de>
8156         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
8157         INTERNAL_SYSCALL_ERRNO.
8158         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
8159         * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
8160         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
8161         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
8162         Likewise.
8163         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
8165 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
8167         * io/tst-fcntl.c (fd): New static variable.
8168         (do_prepare): Open temporary file here....
8169         (do_test): ...not here.
8171         * io/ftwtest-sh: Also trap on exit to remove temporary files.
8173 2015-10-21  H.J. Lu  <hongjiu.lu@intel.com>
8175         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: Replace
8176         __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
8177         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
8178         Moved before "#ifdef __ASSEMBLER__".
8180 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
8182         [BZ #19156]
8183         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Return 1 for
8184         arguments very close to 0.
8186 2015-10-21  Chris Metcalf  <cmetcalf@ezchip.com>
8188         * sysdeps/unix/sysv/linux/tile/sysdep.h (PSEUDO_END)
8189         (PSEUDO_NOERRNO, PSEUDO_END_NOERRNO): Undef before defining.
8191 2015-10-21  H.J. Lu  <hongjiu.lu@intel.com>
8193         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
8194         New.  Defined for GCC 5 and above when not compiling for
8195         profiling.
8196         Replace __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
8198         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
8199         Renamed to ...
8200         (CFLAGS-epoll_pwait.o): This.
8201         (CFLAGS-mmap.c): Renamed to ...
8202         (CFLAGS-mmap.o): This.
8203         (CFLAGS-mmap64.c): Renamed to ...
8204         (CFLAGS-mmap64.o): This.
8205         (CFLAGS-epoll_pwait.os): New.
8206         (CFLAGS-mmap.os): Likewise.
8207         (CFLAGS-mmap64.os): Likewise.
8208         (CFLAGS-semtimedop.os): Likewise.
8209         (CFLAGS-semtimedop.c): Renamed to ...
8210         (CFLAGS-semtimedop.o): This.
8212 2015-10-21  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
8214         * debug/tst-backtrace4.c (handle_signal): Fix a comment and
8215         warning message.
8217 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
8219         * Makeconfig (+gccwarn-c): Add -Wold-style-definition.
8220         * Makefile ($(objpfx)c++-types-check.out): Filter out
8221         $(+gccwarn-c) instead of -Wstrict-prototypes.
8223         * io/fts.c (fts_open): Convert to prototype-style function
8224         definition.
8225         * malloc/mcheck.c (mcheck): Likewise.
8226         (mcheck_pedantic): Likewise.
8227         * posix/regexec.c (re_search_2_stub): Likewise.  Use
8228         internal_function.
8229         (re_search_internal): Likewise.
8230         * resolv/res_init.c [RESOLVSORT] (net_mask): Convert to
8231         prototype-style function definition.
8232         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
8233         * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
8234         * sunrpc/rpcsvc/rusers.x (xdr_utmp): Likewise.
8235         (xdr_utmpptr): Likewise.
8236         (xdr_utmparr): Likewise.
8237         (xdr_utmpidle): Likewise.
8238         (xdr_utmpidleptr): Likewise.
8239         (xdr_utmpidlearr): Likewise.
8241         * math/auto-libm-test-in: Add more tests of hypot, j0, j1, jn,
8242         log, log10 and log2.
8243         * math/auto-libm-test-out: Regenerated.
8244         * math/libm-test.inc (fmod_test_data): Add more tests.
8245         (fpclassify_test_data): Likewise.
8246         (frexp_test_data): Likewise.
8247         (hypot_test_data): Likewise.
8248         (ilogb_test_data): Likewise.
8250 2015-10-20  Joseph Myers  <joseph@codesourcery.com>
8252         * debug/fortify_fail.c (__fortify_fail): Convert to
8253         prototype-style function definition.  Use internal_function.
8254         * libio/genops.c (save_for_backup): Convert to prototype-style
8255         function definition.
8256         * libio/wgenops.c (save_for_wbackup): Likewise.
8257         * login/grantpt.c (grantpt): Likewise.
8258         * login/ptsname.c (ptsname): Likewise.
8259         (__ptsname_r): Likewise.
8260         * login/unlockpt.c (unlockpt): Likewise.
8261         * mach/msgserver.c (__mach_msg_server): Likewise.
8262         * misc/efgcvt.c (__APPEND (FUNC_PREFIX, fcvt)): Likewise.
8263         (__APPEND (FUNC_PREFIX, ecvt)): Likewise.
8264         (__APPEND (FUNC_PREFIX, gcvt)): Likewise.
8265         * misc/efgcvt_r.c (__APPEND (FUNC_PREFIX, fcvt_r)): Likewise.
8266         (__APPEND (FUNC_PREFIX, ecvt_r)): Likewise.
8267         * nptl/cleanup_compat.c (_pthread_cleanup_push): Likewise.
8268         * nptl/cleanup_defer_compat.c (_pthread_cleanup_push_defer):
8269         Likewise.
8270         * nptl/libc_pthread_init.c (__libc_pthread_init): Likewise.  Use
8271         internal_function.
8272         * nptl/pthread_atfork.c (__pthread_atfork): Convert to
8273         prototype-style function definition.
8274         * nptl/pthread_create.c (__pthread_create_2_1): Likewise.
8275         [SHLIB_COMPAT(libpthread, GLIBC_2_0, GLIBC_2_1)]
8276         (__pthread_create_2_0): Likewise.
8277         * nptl/pthread_key_create.c (__pthread_key_create): Likewise.
8278         * nptl/register-atfork.c (__register_atfork): Likewise.
8279         * posix/glob.c (glob): Likewise.
8280         * posix/regcomp.c (re_comp): Likewise.
8281         * posix/regexec.c (re_exec): Likewise.
8282         * stdlib/add_n.c [__STDC__]: Make code unconditional.
8283         [!__STDC__]: Remove conditional code.
8284         * stdlib/cmp.c [__STDC__]: Make code unconditional.
8285         [!__STDC__]: Remove conditional code.
8286         * stdlib/divmod_1.c [__STDC__]: Make code unconditional.
8287         [!__STDC__]: Remove conditional code.
8288         * stdlib/divrem.c [__STDC__]: Make code unconditional.
8289         [!__STDC__]: Remove conditional code.
8290         * stdlib/lshift.c [__STDC__]: Make code unconditional.
8291         [!__STDC__]: Remove conditional code.
8292         * stdlib/mod_1.c [__STDC__]: Make code unconditional.
8293         [!__STDC__]: Remove conditional code.
8294         * stdlib/mul.c [__STDC__]: Make code unconditional.
8295         [!__STDC__]: Remove conditional code.
8296         * stdlib/mul_n.c [__STDC__]: Make code unconditional.
8297         [!__STDC__]: Remove conditional code.
8298         * stdlib/rshift.c [__STDC__]: Make code unconditional.
8299         [!__STDC__]: Remove conditional code.
8300         * stdlib/strtod.c (INTERNAL (STRTOF)): Convert to prototype-style
8301         function definition.
8302         (STRTOF): Likewise.
8303         * stdlib/strtod_l.c (__STRTOF): Likewise.
8304         * stdlib/strtol.c (INTERNAL (strtol)): Likewise.
8305         * stdlib/strtol_l.c (INTERNAL (__strtol_l)): Likewise.
8306         (__strtol_l): Likewise.
8307         * stdlib/sub_n.c [__STDC__]: Make code unconditional.
8308         [!__STDC__]: Remove conditional code.
8309         * string/memrchr.c (MEMRCHR): Convert to prototype-style function
8310         definition.
8311         * string/strcasecmp.c (LOCALE_PARAM_DECL): Remove macro.
8312         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
8313         type.
8314         (__strcasecmp): Convert to prototype-style function definition.
8315         * string/strncase.c (LOCALE_PARAM_DECL): Remove macro.
8316         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
8317         type.
8318         (__strncasecmp): Convert to prototype-style function definition.
8319         * sunrpc/pm_getport.c (__libc_rpc_getport): Likewise.
8320         * sunrpc/xdr.c (xdr_union): Likewise.
8321         * sunrpc/xdr_array.c (xdr_array): Likewise.
8322         * sunrpc/xdr_ref.c (xdr_reference): Likewise.
8323         * sysdeps/m68k/m680x0/fpu/s_atan.c (__CONCATX(__,FUNC)): Likewise.
8324         * sysdeps/m68k/m680x0/fpu/s_isinf.c (__CONCATX(__,FUNC)):
8325         Likewise.
8326         * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(__scalbn,suffix):
8327         Likewise.
8328         * sysdeps/m68k/m680x0/fpu/s_sincos.c (CONCATX(__,FUNC)): Likewise.
8329         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
8330         Likewise.
8331         * time/strftime_l.c (LOCALE_PARAM_DECL): Remove macro.
8332         (LOCALE_PARAM_PROTO): Likewise.
8333         [_LIBC && USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include
8334         argument type.
8335         (ut_argument_spec): Remove macro.
8336         (ut_argument_spec_iso): Rename to ut_argument_spec.
8337         (memcpy_lowcase): Use LOCALE_PARAM in declaration.  Convert to
8338         prototype-style function definition.
8339         (memcpy_uppcase): Likewise.
8340         (__strftime_internal): Likewise.
8341         (my_strftime): Likewise.
8342         * time/strptime_l.c (LOCALE_PARAM_PROTO): Remove macro.
8343         (LOCALE_PARAM_DECL): Likewise.
8344         [_LIBC] (LOCALE_PARAM): Include argument type.
8345         (__strptime_internal): Convert to prototype-style function
8346         definition.
8347         (strptime): Likewise.
8348         * wcsmbs/wcscasecmp.c (LOCALE_PARAM_DECL): Remove macro.
8349         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
8350         type.
8351         (__wcscasecmp): Convert to prototype-style function definition.
8352         * wcsmbs/wcsncase.c (LOCALE_PARAM_DECL): Remove macro.
8353         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
8354         type.
8355         (__wcsncasecmp): Convert to prototype-style function definition.
8357         * crypt/md5-crypt.c (__md5_crypt_r): Convert to prototype-style
8358         function definition.
8359         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
8360         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
8361         * debug/backtracesyms.c (__backtrace_symbols): Likewise.
8362         * elf/dl-minimal.c (_itoa): Likewise.
8363         * hurd/hurdmalloc.c (malloc): Likewise.
8364         (free): Likewise.
8365         (realloc): Likewise.
8366         * inet/inet6_option.c (inet6_option_space): Likewise.
8367         (inet6_option_init): Likewise.
8368         (inet6_option_append): Likewise.
8369         (inet6_option_alloc): Likewise.
8370         (inet6_option_next): Likewise.
8371         (inet6_option_find): Likewise.
8372         * io/ftw.c (FTW_NAME): Likewise.
8373         (NFTW_NAME): Likewise.
8374         (NFTW_NEW_NAME): Likewise.
8375         (NFTW_OLD_NAME): Likewise.
8376         * libio/iofwide.c (_IO_fwide): Likewise.
8377         * libio/strops.c (_IO_str_init_static_internal): Likewise.
8378         (_IO_str_init_static): Likewise.
8379         (_IO_str_init_readonly): Likewise.
8380         (_IO_str_overflow): Likewise.
8381         (_IO_str_underflow): Likewise.
8382         (_IO_str_count): Likewise.
8383         (_IO_str_seekoff): Likewise.
8384         (_IO_str_pbackfail): Likewise.
8385         (_IO_str_finish): Likewise.
8386         * libio/wstrops.c (_IO_wstr_init_static): Likewise.
8387         (_IO_wstr_overflow): Likewise.
8388         (_IO_wstr_underflow): Likewise.
8389         (_IO_wstr_count): Likewise.
8390         (_IO_wstr_seekoff): Likewise.
8391         (_IO_wstr_pbackfail): Likewise.
8392         (_IO_wstr_finish): Likewise.
8393         * locale/programs/localedef.c (normalize_codeset): Likewise.
8394         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
8395         (add_locales_to_archive): Likewise.
8396         (delete_locales_from_archive): Likewise.
8397         * malloc/malloc.c (__libc_mallinfo): Likewise.
8398         * math/gen-auto-libm-tests.c (init_fp_formats): Likewise.
8399         * misc/tsearch.c (__tfind): Likewise.
8400         * nptl/pthread_attr_destroy.c (__pthread_attr_destroy): Likewise.
8401         * nptl/pthread_attr_getdetachstate.c
8402         (__pthread_attr_getdetachstate): Likewise.
8403         * nptl/pthread_attr_getguardsize.c (pthread_attr_getguardsize):
8404         Likewise.
8405         * nptl/pthread_attr_getinheritsched.c
8406         (__pthread_attr_getinheritsched): Likewise.
8407         * nptl/pthread_attr_getschedparam.c
8408         (__pthread_attr_getschedparam): Likewise.
8409         * nptl/pthread_attr_getschedpolicy.c
8410         (__pthread_attr_getschedpolicy): Likewise.
8411         * nptl/pthread_attr_getscope.c (__pthread_attr_getscope):
8412         Likewise.
8413         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack):
8414         Likewise.
8415         * nptl/pthread_attr_getstackaddr.c (__pthread_attr_getstackaddr):
8416         Likewise.
8417         * nptl/pthread_attr_getstacksize.c (__pthread_attr_getstacksize):
8418         Likewise.
8419         * nptl/pthread_attr_init.c (__pthread_attr_init_2_1): Likewise.
8420         (__pthread_attr_init_2_0): Likewise.
8421         * nptl/pthread_attr_setdetachstate.c
8422         (__pthread_attr_setdetachstate): Likewise.
8423         * nptl/pthread_attr_setguardsize.c (pthread_attr_setguardsize):
8424         Likewise.
8425         * nptl/pthread_attr_setinheritsched.c
8426         (__pthread_attr_setinheritsched): Likewise.
8427         * nptl/pthread_attr_setschedparam.c
8428         (__pthread_attr_setschedparam): Likewise.
8429         * nptl/pthread_attr_setschedpolicy.c
8430         (__pthread_attr_setschedpolicy): Likewise.
8431         * nptl/pthread_attr_setscope.c (__pthread_attr_setscope):
8432         Likewise.
8433         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack):
8434         Likewise.
8435         * nptl/pthread_attr_setstackaddr.c (__pthread_attr_setstackaddr):
8436         Likewise.
8437         * nptl/pthread_attr_setstacksize.c (__pthread_attr_setstacksize):
8438         Likewise.
8439         * nptl/pthread_condattr_setclock.c (pthread_condattr_setclock):
8440         Likewise.
8441         * nptl/pthread_create.c (__find_in_stack_list): Likewise.
8442         * nptl/pthread_getattr_np.c (pthread_getattr_np): Likewise.
8443         * nptl/pthread_mutex_cond_lock.c (__pthread_mutex_lock): Define to
8444         use internal_function.
8445         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Convert to
8446         prototype-style function definition.
8447         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Likewise.
8448         (__pthread_mutex_cond_lock_adjust): Likewise.  Use
8449         internal_function.
8450         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock):
8451         Convert to prototype-style function definition.
8452         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
8453         Likewise.
8454         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_usercnt):
8455         Likewise.
8456         (__pthread_mutex_unlock): Likewise.
8457         * nptl_db/td_ta_clear_event.c (td_ta_clear_event): Likewise.
8458         * nptl_db/td_ta_set_event.c (td_ta_set_event): Likewise.
8459         * nptl_db/td_thr_clear_event.c (td_thr_clear_event): Likewise.
8460         * nptl_db/td_thr_event_enable.c (td_thr_event_enable): Likewise.
8461         * nptl_db/td_thr_set_event.c (td_thr_set_event): Likewise.
8462         * nss/makedb.c (process_input): Likewise.
8463         * posix/fnmatch.c (__strchrnul): Likewise.
8464         (__wcschrnul): Likewise.
8465         (fnmatch): Likewise.
8466         * posix/fnmatch_loop.c (FCT): Likewise.
8467         * posix/glob.c (globfree): Likewise.
8468         (__glob_pattern_type): Likewise.
8469         (__glob_pattern_p): Likewise.
8470         * posix/regcomp.c (re_compile_pattern): Likewise.
8471         (re_set_syntax): Likewise.
8472         (re_compile_fastmap): Likewise.
8473         (regcomp): Likewise.
8474         (regerror): Likewise.
8475         (regfree): Likewise.
8476         * posix/regexec.c (regexec): Likewise.
8477         (re_match): Likewise.
8478         (re_search): Likewise.
8479         (re_match_2): Likewise.
8480         (re_search_2): Likewise.
8481         (re_search_stub): Likewise.  Use internal_function
8482         (re_copy_regs): Likewise.
8483         (re_set_registers): Convert to prototype-style function
8484         definition.
8485         (prune_impossible_nodes): Likewise.  Use internal_function.
8486         * resolv/inet_net_pton.c (inet_net_pton): Convert to
8487         prototype-style function definition.
8488         (inet_net_pton_ipv4): Likewise.
8489         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
8490         * sysdeps/pthread/aio_cancel.c (aio_cancel): Likewise.
8491         * sysdeps/pthread/aio_suspend.c (aio_suspend): Likewise.
8492         * sysdeps/pthread/timer_delete.c (timer_delete): Likewise.
8493         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
8494         Make variadic.
8495         * time/strptime_l.c (localtime_r): Convert to prototype-style
8496         function definition.
8497         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
8498         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
8499         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
8500         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
8502         * crypt/crypt.c (_ufc_doit_r): Convert to prototype-style function
8503         definition.
8504         (_ufc_doit_r): Likewise.
8505         * crypt/crypt_util.c (_ufc_copymem): Likewise.
8506         (_ufc_output_conversion_r): Likewise.
8507         * inet/inet_mkadr.c (__inet_makeaddr): Likewise.
8508         * inet/rcmd.c (rcmd_af): Likewise.
8509         (rcmd): Likewise.
8510         (ruserok_af): Likewise.
8511         (ruserok): Likewise.
8512         (ruserok2_sa): Likewise.
8513         (ruserok_sa): Likewise.
8514         (iruserok_af): Likewise.
8515         (iruserok): Likewise.
8516         (__ivaliduser): Likewise.
8517         (__validuser2_sa): Likewise.
8518         * inet/rexec.c (rexec_af): Likewise.
8519         (rexec): Likewise.
8520         * inet/ruserpass.c (ruserpass): Likewise.
8521         * locale/programs/xmalloc.c (xcalloc): Likewise.
8522         * manual/examples/timeval_subtract.c (timeval_subtract): Likewise.
8523         * math/w_drem.c (__drem): Likewise.
8524         * math/w_dremf.c (__dremf): Likewise.
8525         * math/w_dreml.c (__dreml): Likewise.
8526         * misc/daemon.c (daemon): Likewise.
8527         * resolv/res_debug.c (p_fqnname): Likewise.
8528         * stdlib/div.c (div): Likewise.
8529         * string/memcmp.c (memcmp_bytes): Likewise.
8530         * sunrpc/pmap_rmt.c (pmap_rmtcall): Likewise.
8531         * sunrpc/svc_udp.c (svcudp_bufcreate): Likewise.
8533         * crypt/cert.c (main): Convert to prototype-style function
8534         definition.
8535         * io/pipe.c (__pipe): Likewise.
8536         * io/pipe2.c (__pipe2): Likewise.
8537         * misc/futimesat.c (futimesat): Likewise.
8538         * misc/utimes.c (__utimes): Likewise.
8539         * posix/execve.c (__execve): Likewise.
8540         * posix/execvp.c (execvp): Likewise.
8541         * posix/execvpe.c (__execvpe): Likewise.
8542         * posix/fexecve.c (fexecve): Likewise.
8543         * socket/socketpair.c (socketpair): Likewise.
8544         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
8545         * stdlib/erand48.c (erand48): Likewise.
8546         * stdlib/erand48_r.c (__erand48_r): Likewise.
8547         * stdlib/jrand48.c (jrand48): Likewise.
8548         * stdlib/jrand48_r.c (__jrand48_r): Likewise.
8549         * stdlib/lcong48.c (lcong48): Likewise.
8550         * stdlib/lcong48_r.c (__lcong48_r): Likewise.
8551         * stdlib/nrand48.c (nrand48): Likewise.
8552         * stdlib/nrand48_r.c (__nrand48_r): Likewise.
8553         * stdlib/seed48.c (seed48): Likewise.
8554         * stdlib/seed48_r.c (__seed48_r): Likewise.
8555         * sysdeps/mach/hurd/execve.c (__execve): Likewise.
8556         * sysdeps/mach/hurd/utimes.c (__utimes): Likewise.
8557         * sysdeps/unix/sysv/linux/fexecve.c (fexecve): Likewise.
8559 2015-10-19  Joseph Myers  <joseph@codesourcery.com>
8561         * configure.ac (libc_cv_asm_unique_object): Remove configure test.
8562         * configure: Regenerated.
8563         * config.h.in (HAVE_ASM_UNIQUE_OBJECT): Remove #undef.
8564         * elf/tst-unique1.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Make code
8565         unconditional.
8566         * elf/tst-unique1mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
8567         * elf/tst-unique1mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
8568         * elf/tst-unique2.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
8569         (do_test) [!HAVE_ASM_UNIQUE_OBJECT]: Remove conditional code.
8570         * elf/tst-unique2mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Make code
8571         unconditional.
8572         * elf/tst-unique2mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
8574         * posix/Makefile (CFLAGS-regex.c): Remove variable.
8575         * resolv/Makefile (+cflags): Do not use -Wno-strict-prototypes.
8577         * crypt/crypt-entry.c (__crypt_r): Convert to prototype-style
8578         function definition.
8579         * crypt/crypt_util.c (__encrypt_r): Likewise.
8580         * libio/genops.c (_IO_no_init): Likewise.
8581         * libio/iofopncook.c (_IO_fopencookie): Likewise.
8582         (_IO_old_fopencookie): Likewise.
8583         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
8584         * libio/iogetline.c (_IO_getline): Likewise.
8585         (_IO_getline_info): Likewise.
8586         * libio/iogetwline.c (_IO_getwline): Likewise.
8587         (_IO_getwline_info): Likewise.
8588         * libio/vsnprintf.c (_IO_vsnprintf): Likewise.
8589         * libio/vswprintf.c (_IO_vswprintf): Likewise.
8590         * locale/programs/simple-hash.c (insert_entry_2): Likewise.
8591         (find_entry): Likewise.
8592         (iterate_table): Likewise.
8593         (lookup): Likewise.
8594         * login/forkpty.c (forkpty): Likewise.
8595         * misc/hsearch_r.c (__hsearch_r): Likewise.
8596         * misc/select.c (__select): Likewise.
8597         * nptl/cleanup_defer_compat.c (_pthread_cleanup_pop_restore):
8598         Likewise.
8599         * nptl/old_pthread_cond_init.c (__pthread_cond_init_2_0):
8600         Likewise.
8601         * nptl/old_pthread_cond_timedwait.c
8602         (__pthread_cond_timedwait_2_0): Likewise.
8603         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Likewise.
8604         * nptl/pthread_barrierattr_getpshared.c
8605         (pthread_barrierattr_getpshared): Likewise.
8606         * nptl/pthread_getschedparam.c (__pthread_getschedparam):
8607         Likewise.
8608         * nptl/pthread_mutex_setprioceiling.c
8609         (pthread_mutex_setprioceiling): Likewise.
8610         * nptl/pthread_mutexattr_getprioceiling.c
8611         (pthread_mutexattr_getprioceiling): Likewise.
8612         * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Likewise.
8613         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
8614         Likewise.
8615         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
8616         Likewise.
8617         * nptl/pthread_setschedparam.c (__pthread_setschedparam):
8618         Likewise.
8619         * socket/recvfrom.c (__recvfrom): Likewise.
8620         * socket/sendto.c (__sendto): Likewise.
8621         * socket/setsockopt.c (__setsockopt): Likewise.
8622         * stdio-common/_itoa.c (_itoa): Likewise.
8623         * stdio-common/_itowa.c (_itowa): Likewise.
8624         * stdio-common/reg-printf.c (__register_printf_specifier):
8625         Likewise.
8626         (__register_printf_function): Likewise.
8627         * stdio-common/tempname.c (__path_search): Likewise.
8628         * stdlib/addmul_1.c (mpn_addmul_1): Likewise.
8629         * stdlib/mul_1.c (mpn_mul_1): Likewise.
8630         * stdlib/random_r.c (__initstate_r): Likewise.
8631         * stdlib/setenv.c (__add_to_environ): Likewise.
8632         * stdlib/submul_1.c (mpn_submul_1): Likewise.
8633         * streams/getpmsg.c (getpmsg): Likewise.
8634         * streams/putmsg.c (putmsg): Likewise.
8635         * streams/putpmsg.c (putpmsg): Likewise.
8636         * sunrpc/clnt_raw.c (clntraw_call): Likewise.
8637         * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
8638         * sunrpc/clnt_udp.c (clntudp_create): Likewise.
8639         * sunrpc/clnt_unix.c (clntunix_call): Likewise.
8640         * sunrpc/pm_getport.c (pmap_getport): Likewise.
8641         * sunrpc/svc_udp.c (cache_get): Likewise.
8642         * sunrpc/xdr_array.c (xdr_vector): Likewise.
8643         * sysdeps/mach/hurd/getcwd.c
8644         (__canonicalize_directory_name_internal): Likewise.
8645         * sysdeps/mach/hurd/pselect.c (__pselect): Likewise.
8646         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Likewise.
8647         * sysdeps/mach/hurd/select.c (__select): Likewise.
8648         * sysdeps/posix/ttyname_r.c (getttyname_r): Likewise.
8649         * sysdeps/pthread/timer_settime.c (timer_settime): Likewise.
8650         * sysdeps/sparc/nptl/pthread_barrier_init.c
8651         (__pthread_barrier_init): Likewise.
8652         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c
8653         (__pthread_cond_timedwait): Likewise.
8654         * sysdeps/unix/sysv/linux/i386/putmsg.c (putmsg): Likewise.
8655         * sysdeps/unix/sysv/linux/s390/semtimedop.c (semtimedop):
8656         Likewise.
8657         * sysdeps/unix/sysv/linux/semtimedop.c (semtimedop): Likewise.
8658         * sysdeps/unix/sysv/linux/timer_settime.c (timer_settime):
8659         Likewise.
8660         * sysvipc/semtimedop.c (semtimedop): Likewise.
8661         * time/setitimer.c (__setitimer): Likewise.
8662         * time/strftime_l.c (emacs_strftime): Likewise.
8664 2015-10-19  Mike Frysinger  <vapier@gentoo.org>
8666         * config.make.in (have-ssp): Delete.
8667         (stack-protector): New variable.
8668         * configure.ac: Delete libc_cv_ssp export.  Add libc_cv_ssp_strong
8669         cache test for -fstack-protector-strong.  Export stack_protector to
8670         the best ssp flag.
8671         * configure: Regenerated.
8672         * login/Makefile (pt_chown-cflags): Always add $(stack-protector).
8673         * nscd/Makefile (CFLAGS-nscd): Likewise.
8674         * resolv/Makefile (CFLAGS-libresolv): Likewise.
8676 2015-10-16  H.J. Lu  <hongjiu.lu@intel.com>
8678         [BZ #19122]
8679         * include/sys/stat.h [IS_IN (rtld)] (__fxstatat64): Add
8680         attribute_hidden.
8682 2015-10-19  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
8684         [BZ #18743]
8685         * sysdeps/powerpc/nptl/elide.h (__elide_lock): Move most of this
8686         code to...
8687         (ELIDE_LOCK): ...here.
8688         (__get_new_count): New function with part of the code from
8689         __elide_lock that updates the value of adapt_count after a
8690         transaction abort.
8691         (__elided_trylock): Moved this code to...
8692         (ELIDE_TRYLOCK): ...here.
8694 2015-10-19  Mike Frysinger  <vapier@gentoo.org>
8696         * configure.ac (AC_ARG_ENABLE(timezone-tools)): Tweak help phrasing.
8697         * configure: Regenerate.
8698         * INSTALL: Regenerate.
8699         * manual/install.texi (--disable-timezone-tools): Use @theglibc{}
8700         and tweak grammar.
8702 2015-10-19  Geoffrey Thomas  <geofft@ldpreload.com>
8704         * login/programs/pt_chown.c: Include signal.h
8705         (main): Clear any signal mask from the parent process.
8707 2015-10-19  Joseph Myers  <joseph@codesourcery.com>
8709         * configure.ac (libc_cv_gnu89_inline): Remove configure test.
8710         * configure: Regenerated.
8711         * config.make.in (gnu89-inline-CFLAGS): Remove variable.
8712         * Makeconfig (CFLAGS): Use -fgnu89-inline instead of
8713         $(gnu89-inline-CFLAGS).
8715         * configure.ac (libc_cv_asm_weak_directive): Remove configure
8716         test.
8717         (libc_cv_asm_weakext_directive): Likewise.
8718         * configure: Regenerated.
8719         * config.h.in (HAVE_ASM_WEAK_DIRECTIVE): Remove #undef.
8720         (HAVE_ASM_WEAKEXT_DIRECTIVE): Likewise.
8721         * include/libc-symbols.h
8722         [!HAVE_ASM_WEAK_DIRECTIVE && !HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove
8723         #error.
8724         [HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove conditional code.
8725         [!HAVE_ASM_WEAKEXT_DIRECTIVE]: Make code unconditional.
8727         * sysdeps/arm/backtrace.c (__backtrace): Convert to
8728         prototype-style function definition.
8729         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
8730         * sysdeps/i386/ffs.c (__ffs): Likewise.
8731         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
8732         * sysdeps/ia64/nptl/pthread_spin_lock.c (pthread_spin_lock):
8733         Likewise.
8734         * sysdeps/ia64/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
8735         Likewise.
8736         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
8737         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
8738         Likewise.
8739         * sysdeps/m68k/ffs.c (__ffs): Likewise.
8740         * sysdeps/m68k/m680x0/fpu/e_acos.c (FUNC): Likewise.
8741         * sysdeps/m68k/m680x0/fpu/e_fmod.c (FUNC): Likewise.
8742         * sysdeps/mach/adjtime.c (__adjtime): Likewise.
8743         * sysdeps/mach/gettimeofday.c (__gettimeofday): Likewise.
8744         * sysdeps/mach/hurd/_exit.c (_exit): Likewise.
8745         * sysdeps/mach/hurd/access.c (__access): Likewise.
8746         * sysdeps/mach/hurd/adjtime.c (__adjtime): Likewise.
8747         * sysdeps/mach/hurd/chdir.c (__chdir): Likewise.
8748         * sysdeps/mach/hurd/chmod.c (__chmod): Likewise.
8749         * sysdeps/mach/hurd/chown.c (__chown): Likewise.
8750         * sysdeps/mach/hurd/cthreads.c (cthread_keycreate): Likewise.
8751         (cthread_getspecific): Likewise.
8752         (cthread_setspecific): Likewise.
8753         (__libc_getspecific): Likewise.
8754         * sysdeps/mach/hurd/euidaccess.c (__euidaccess): Likewise.
8755         * sysdeps/mach/hurd/faccessat.c (faccessat): Likewise.
8756         * sysdeps/mach/hurd/fchdir.c (__fchdir): Likewise.
8757         * sysdeps/mach/hurd/fchmod.c (__fchmod): Likewise.
8758         * sysdeps/mach/hurd/fchmodat.c (fchmodat): Likewise.
8759         * sysdeps/mach/hurd/fchown.c (__fchown): Likewise.
8760         * sysdeps/mach/hurd/fchownat.c (fchownat): Likewise.
8761         * sysdeps/mach/hurd/flock.c (__flock): Likewise.
8762         * sysdeps/mach/hurd/fsync.c (fsync): Likewise.
8763         * sysdeps/mach/hurd/ftruncate.c (__ftruncate): Likewise.
8764         * sysdeps/mach/hurd/getgroups.c (__getgroups): Likewise.
8765         * sysdeps/mach/hurd/gethostname.c (__gethostname): Likewise.
8766         * sysdeps/mach/hurd/getitimer.c (__getitimer): Likewise.
8767         * sysdeps/mach/hurd/getlogin_r.c (__getlogin_r): Likewise.
8768         * sysdeps/mach/hurd/getpgid.c (__getpgid): Likewise.
8769         * sysdeps/mach/hurd/getrusage.c (__getrusage): Likewise.
8770         * sysdeps/mach/hurd/getsockname.c (__getsockname): Likewise.
8771         * sysdeps/mach/hurd/group_member.c (__group_member): Likewise.
8772         * sysdeps/mach/hurd/isatty.c (__isatty): Likewise.
8773         * sysdeps/mach/hurd/lchown.c (__lchown): Likewise.
8774         * sysdeps/mach/hurd/link.c (__link): Likewise.
8775         * sysdeps/mach/hurd/linkat.c (linkat): Likewise.
8776         * sysdeps/mach/hurd/listen.c (__listen): Likewise.
8777         * sysdeps/mach/hurd/mkdir.c (__mkdir): Likewise.
8778         * sysdeps/mach/hurd/mkdirat.c (mkdirat): Likewise.
8779         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
8780         * sysdeps/mach/hurd/poll.c (__poll): Likewise.
8781         * sysdeps/mach/hurd/readlink.c (__readlink): Likewise.
8782         * sysdeps/mach/hurd/readlinkat.c (readlinkat): Likewise.
8783         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
8784         * sysdeps/mach/hurd/rename.c (rename): Likewise.
8785         * sysdeps/mach/hurd/renameat.c (renameat): Likewise.
8786         * sysdeps/mach/hurd/revoke.c (revoke): Likewise.
8787         * sysdeps/mach/hurd/rewinddir.c (__rewinddir): Likewise.
8788         * sysdeps/mach/hurd/rmdir.c (__rmdir): Likewise.
8789         * sysdeps/mach/hurd/seekdir.c (seekdir): Likewise.
8790         * sysdeps/mach/hurd/send.c (__send): Likewise.
8791         * sysdeps/mach/hurd/setdomain.c (setdomainname): Likewise.
8792         * sysdeps/mach/hurd/setegid.c (setegid): Likewise.
8793         * sysdeps/mach/hurd/seteuid.c (seteuid): Likewise.
8794         * sysdeps/mach/hurd/setgid.c (__setgid): Likewise.
8795         * sysdeps/mach/hurd/setgroups.c (setgroups): Likewise.
8796         * sysdeps/mach/hurd/sethostid.c (sethostid): Likewise.
8797         * sysdeps/mach/hurd/sethostname.c (sethostname): Likewise.
8798         * sysdeps/mach/hurd/setlogin.c (setlogin): Likewise.
8799         * sysdeps/mach/hurd/setpgid.c (__setpgid): Likewise.
8800         * sysdeps/mach/hurd/setregid.c (__setregid): Likewise.
8801         * sysdeps/mach/hurd/setreuid.c (__setreuid): Likewise.
8802         * sysdeps/mach/hurd/settimeofday.c (__settimeofday): Likewise.
8803         * sysdeps/mach/hurd/setuid.c (__setuid): Likewise.
8804         * sysdeps/mach/hurd/shutdown.c (shutdown): Likewise.
8805         * sysdeps/mach/hurd/sigaction.c (__sigaction): Likewise.
8806         * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
8807         * sysdeps/mach/hurd/sigpending.c (sigpending): Likewise.
8808         * sysdeps/mach/hurd/sigprocmask.c (__sigprocmask): Likewise.
8809         * sysdeps/mach/hurd/sigsuspend.c (__sigsuspend): Likewise.
8810         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
8811         * sysdeps/mach/hurd/symlink.c (__symlink): Likewise.
8812         * sysdeps/mach/hurd/symlinkat.c (symlinkat): Likewise.
8813         * sysdeps/mach/hurd/telldir.c (telldir): Likewise.
8814         * sysdeps/mach/hurd/truncate.c (__truncate): Likewise.
8815         * sysdeps/mach/hurd/umask.c (__umask): Likewise.
8816         * sysdeps/mach/hurd/unlink.c (__unlink): Likewise.
8817         * sysdeps/mach/hurd/unlinkat.c (unlinkat): Likewise.
8818         * sysdeps/mips/mips64/__longjmp.c (__longjmp): Likewise.
8819         * sysdeps/posix/alarm.c (alarm): Likewise.
8820         * sysdeps/posix/cuserid.c (cuserid): Likewise.
8821         * sysdeps/posix/dirfd.c (dirfd): Likewise.
8822         * sysdeps/posix/dup.c (__dup): Likewise.
8823         * sysdeps/posix/dup2.c (__dup2): Likewise.
8824         * sysdeps/posix/euidaccess.c (euidaccess): Likewise.
8825         (main): Likewise.
8826         * sysdeps/posix/flock.c (__flock): Likewise.
8827         * sysdeps/posix/fpathconf.c (__fpathconf): Likewise.
8828         * sysdeps/posix/getcwd.c (__getcwd): Likewise.
8829         * sysdeps/posix/gethostname.c (__gethostname): Likewise.
8830         * sysdeps/posix/gettimeofday.c (__gettimeofday): Likewise.
8831         * sysdeps/posix/isatty.c (__isatty): Likewise.
8832         * sysdeps/posix/killpg.c (killpg): Likewise.
8833         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
8834         * sysdeps/posix/mkfifoat.c (mkfifoat): Likewise.
8835         * sysdeps/posix/raise.c (raise): Likewise.
8836         * sysdeps/posix/remove.c (remove): Likewise.
8837         * sysdeps/posix/rename.c (rename): Likewise.
8838         * sysdeps/posix/rewinddir.c (__rewinddir): Likewise.
8839         * sysdeps/posix/seekdir.c (seekdir): Likewise.
8840         * sysdeps/posix/sigblock.c (__sigblock): Likewise.
8841         * sysdeps/posix/sigignore.c (sigignore): Likewise.
8842         * sysdeps/posix/sigintr.c (siginterrupt): Likewise.
8843         * sysdeps/posix/signal.c (__bsd_signal): Likewise.
8844         * sysdeps/posix/sigset.c (sigset): Likewise.
8845         * sysdeps/posix/sigsuspend.c (__sigsuspend): Likewise.
8846         * sysdeps/posix/sysconf.c (__sysconf): Likewise.
8847         * sysdeps/posix/sysv_signal.c (__sysv_signal): Likewise.
8848         * sysdeps/posix/time.c (time): Likewise.
8849         * sysdeps/posix/ttyname.c (getttyname): Likewise.
8850         (ttyname): Likewise.
8851         * sysdeps/posix/ttyname_r.c (__ttyname_r): Likewise.
8852         * sysdeps/posix/utime.c (utime): Likewise.
8853         * sysdeps/powerpc/fpu/s_isnan.c (__isnan): Likewise.
8854         * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
8855         Likewise.
8856         * sysdeps/powerpc/nptl/pthread_spin_trylock.c
8857         (pthread_spin_trylock): Likewise.
8858         * sysdeps/pthread/aio_error.c (aio_error): Likewise.
8859         * sysdeps/pthread/aio_read.c (aio_read): Likewise.
8860         * sysdeps/pthread/aio_read64.c (aio_read64): Likewise.
8861         * sysdeps/pthread/aio_write.c (aio_write): Likewise.
8862         * sysdeps/pthread/aio_write64.c (aio_write64): Likewise.
8863         * sysdeps/pthread/flockfile.c (__flockfile): Likewise.
8864         * sysdeps/pthread/ftrylockfile.c (__ftrylockfile): Likewise.
8865         * sysdeps/pthread/funlockfile.c (__funlockfile): Likewise.
8866         * sysdeps/pthread/timer_create.c (timer_create): Likewise.
8867         * sysdeps/pthread/timer_getoverr.c (timer_getoverrun): Likewise.
8868         * sysdeps/pthread/timer_gettime.c (timer_gettime): Likewise.
8869         * sysdeps/s390/ffs.c (__ffs): Likewise.
8870         * sysdeps/s390/nptl/pthread_spin_lock.c (pthread_spin_lock):
8871         Likewise.
8872         * sysdeps/s390/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
8873         Likewise.
8874         * sysdeps/sh/nptl/pthread_spin_lock.c (pthread_spin_lock):
8875         Likewise.
8876         * sysdeps/sparc/nptl/pthread_barrier_destroy.c
8877         (pthread_barrier_destroy): Likewise.
8878         * sysdeps/sparc/nptl/pthread_barrier_wait.c
8879         (__pthread_barrier_wait): Likewise.
8880         * sysdeps/sparc/sparc32/e_sqrt.c (__ieee754_sqrt): Likewise.
8881         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
8882         (__pthread_barrier_wait): Likewise.
8883         * sysdeps/sparc/sparc32/sem_init.c (__old_sem_init): Likewise.
8884         * sysdeps/tile/memcmp.c (memcmp_common_alignment): Likewise.
8885         (memcmp_not_common_alignment): Likewise.
8886         (MEMCMP): Likewise.
8887         * sysdeps/tile/wordcopy.c (_wordcopy_fwd_aligned): Likewise.
8888         (_wordcopy_fwd_dest_aligned): Likewise.
8889         (_wordcopy_bwd_aligned): Likewise.
8890         (_wordcopy_bwd_dest_aligned): Likewise.
8891         * sysdeps/unix/bsd/ftime.c (ftime): Likewise.
8892         * sysdeps/unix/bsd/gtty.c (gtty): Likewise.
8893         * sysdeps/unix/bsd/stty.c (stty): Likewise.
8894         * sysdeps/unix/bsd/tcflow.c (tcflow): Likewise.
8895         * sysdeps/unix/bsd/tcflush.c (tcflush): Likewise.
8896         * sysdeps/unix/bsd/tcgetattr.c (__tcgetattr): Likewise.
8897         * sysdeps/unix/bsd/tcgetpgrp.c (tcgetpgrp): Likewise.
8898         * sysdeps/unix/bsd/tcsendbrk.c (tcsendbreak): Likewise.
8899         * sysdeps/unix/bsd/tcsetattr.c (tcsetattr): Likewise.
8900         * sysdeps/unix/bsd/tcsetpgrp.c (tcsetpgrp): Likewise.
8901         * sysdeps/unix/bsd/ualarm.c (ualarm): Likewise.
8902         * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
8903         * sysdeps/unix/getlogin_r.c (__getlogin_r): Likewise.
8904         * sysdeps/unix/sockatmark.c (sockatmark): Likewise.
8905         * sysdeps/unix/stime.c (stime): Likewise.
8906         * sysdeps/unix/sysv/linux/_exit.c (_exit): Likewise.
8907         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue):
8908         Likewise.  Use internal_function.
8909         * sysdeps/unix/sysv/linux/arm/sigaction.c (__libc_sigaction):
8910         Convert to prototype-style function definition.
8911         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
8912         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
8913         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Likewise.
8914         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
8915         Likewise.  Use internal_function.
8916         * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Convert to
8917         prototype-style function definition
8918         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
8919         Likewise.
8920         (__getlogin_r): Likewise.
8921         * sysdeps/unix/sysv/linux/getpt.c (__posix_openpt): Likewise.
8922         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c
8923         (__pthread_cond_broadcast): Likewise.
8924         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c
8925         (__pthread_cond_destroy): Likewise.
8926         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c
8927         (__pthread_cond_init): Likewise.
8928         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c
8929         (__pthread_cond_signal): Likewise.
8930         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c
8931         (__pthread_cond_wait): Likewise.
8932         * sysdeps/unix/sysv/linux/i386/getmsg.c (getmsg): Likewise.
8933         * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
8934         * sysdeps/unix/sysv/linux/ia64/sigaction.c (__libc_sigaction):
8935         Likewise.
8936         * sysdeps/unix/sysv/linux/ia64/sigpending.c (sigpending):
8937         Likewise.
8938         * sysdeps/unix/sysv/linux/ia64/sigprocmask.c (__sigprocmask):
8939         Likewise.
8940         * sysdeps/unix/sysv/linux/mips/sigaction.c (__libc_sigaction):
8941         Likewise.
8942         * sysdeps/unix/sysv/linux/msgget.c (msgget): Likewise.
8943         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c
8944         (__ftruncate64): Likewise.
8945         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c
8946         (truncate64): Likewise.
8947         * sysdeps/unix/sysv/linux/pt-raise.c (raise): Likewise.
8948         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c
8949         (pthread_getcpuclockid): Likewise.
8950         * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
8951         Likewise.
8952         * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
8953         Likewise.
8954         * sysdeps/unix/sysv/linux/pthread_sigmask.c (pthread_sigmask):
8955         Likewise.
8956         * sysdeps/unix/sysv/linux/pthread_sigqueue.c (pthread_sigqueue):
8957         Likewise.
8958         * sysdeps/unix/sysv/linux/raise.c (raise): Likewise.
8959         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c
8960         (__libc_sigaction): Likewise.
8961         * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c (sigpending):
8962         Likewise.
8963         * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c
8964         (__sigprocmask): Likewise.
8965         * sysdeps/unix/sysv/linux/semget.c (semget): Likewise.
8966         * sysdeps/unix/sysv/linux/semop.c (semop): Likewise.
8967         * sysdeps/unix/sysv/linux/setrlimit64.c (setrlimit64): Likewise.
8968         * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
8969         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
8970         * sysdeps/unix/sysv/linux/shmget.c (shmget): Likewise.
8971         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
8972         Likewise.
8973         * sysdeps/unix/sysv/linux/sigpending.c (sigpending): Likewise.
8974         * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask): Likewise.
8975         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
8976         * sysdeps/unix/sysv/linux/sigstack.c (sigstack): Likewise.
8977         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c (sigpending):
8978         Likewise.
8979         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c
8980         (__sigprocmask): Likewise.
8981         * sysdeps/unix/sysv/linux/speed.c (cfgetospeed): Likewise.
8982         (cfgetispeed): Likewise.
8983         (cfsetospeed): Likewise.
8984         (cfsetispeed): Likewise.
8985         * sysdeps/unix/sysv/linux/tcflow.c (tcflow): Likewise.
8986         * sysdeps/unix/sysv/linux/tcflush.c (tcflush): Likewise.
8987         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
8988         * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
8989         * sysdeps/unix/sysv/linux/time.c (time): Likewise.
8990         * sysdeps/unix/sysv/linux/timer_create.c (timer_create): Likewise.
8991         * sysdeps/unix/sysv/linux/timer_delete.c (timer_delete): Likewise.
8992         * sysdeps/unix/sysv/linux/timer_getoverr.c (timer_getoverrun):
8993         Likewise.
8994         * sysdeps/unix/sysv/linux/timer_gettime.c (timer_gettime):
8995         Likewise.
8996         * sysdeps/unix/sysv/linux/x86_64/sigpending.c (sigpending):
8997         Likewise.
8998         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c (__sigprocmask):
8999         Likewise.
9000         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
9002 2015-10-17  Florian Weimer  <fweimer@redhat.com>
9004         sunrpc: Rewrite with explicit TLS access using __thread.
9005         * sunrpc/rpc_thread.c (thread_rpc_vars): New TLS variable.
9006         (__rpc_thread_destroy, rpc_thread_multi): Access thread_rpc_vars
9007         directly.
9008         (__rpc_thread_variables): Access thread_rpc_vars directly.
9009         Eliminate redundant assignment of the tvp variable.
9011 2015-10-17  Florian Weimer  <fweimer@redhat.com>
9013         malloc: Rewrite with explicit TLS access using __thread.
9014         * sysdeps/generic/malloc-machine.h (tsd_key_t, tsd_key_create)
9015         (tsd_setspecific, tsd_getspecific): Remove.
9016         * sysdeps/mach/hurd/malloc-machine.h (tsd_key_t, tsd_key_create)
9017         (tsd_setspecific, tsd_getspecific): Likewise.
9018         * sysdeps/nptl/malloc-machine.h (tsd_key_t, tsd_key_create)
9019         (tsd_setspecific, tsd_getspecific): Likewise.
9020         * malloc/arena.c (thread_arena): New TLS variable.
9021         (arena_key): Remove variable.
9022         (arena_get): Use thread_arena.
9023         (arena_lookup): Remove macro.
9024         (malloc_atfork, free_atfork, ptmalloc_lock_all)
9025         (ptmalloc_unlock_all, ptmalloc_unlock_all2, ptmalloc_init)
9026         (_int_new_arena, get_free_list, reused_arena)
9027         (arena_thread_freeres): Use thread_arena.
9028         * manual/memory.texi (Basic Allocation): Remove arena_lookup,
9029         tsd_getspecific, tsd_setspecific from safety annotations.
9030         (Allocating Cleared Space): Remove arena_lookup from safety
9031         annotations.
9033 2015-10-17  Florian Weimer  <fweimer@redhat.com>
9035         * stdio-common/vfprintf.c (printf_positional): Rewrite to use
9036         struct scratch_buffer instead of extend_alloca.
9038 2015-10-17  Florian Weimer  <fweimer@redhat.com>
9040         * sysdeps/unix/sysv/linux/kernel-features.h
9041         (__ASSUME_SOCK_CLOEXEC): Remove.
9042         * include/sys/socket.h (__have_sock_cloexec): Remove declaration.
9043         (__have_paccept): Remove unused macro.
9044         * include/unistd.h (__have_sock_cloexec): Remove declaration.
9045         * misc/syslog.c (openlog_internal): Remove fallback code for
9046         !__ASSUME_SOCK_CLOEXEC.
9047         * nis/ypclnt.c (yp_bind_client_create): Remove fallback code for
9048         missing SOCK_CLOEXEC.
9049         * nscd/connections.c (have_sock_cloexec): Remove definition.
9050         (nscd_init): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
9051         * nscd/nscd_helper.c (open_socket): Remove fallback code for
9052         !__ASSUME_SOCK_CLOEXEC.
9053         * resolv/res_send.c (__have_o_nonblock): Remove definition.
9054         (reopen): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
9055         * socket/have_sock_cloexec.c (__have_sock_cloexec): Remove
9056         definition.
9057         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Remove fallback
9058         code for !__ASSUME_SOCK_CLOEXEC.
9060 2015-10-17  Florian Weimer  <fweimer@redhat.com>
9062         [BZ #18982]
9063         * manual/stdio.texi (Variable Arguments Output): Add portability
9064         note, explaining that vfprintf clobbers the va_list pointer.
9066 2015-10-16  Joseph Myers  <joseph@codesourcery.com>
9068         * math/libm-test.inc (fabs_test_data): Add more tests.
9069         (fdim_test_data): Likewise.
9070         (fma_test_data): Likewise.
9071         (fmax_test_data): Likewise.
9072         (fmin_test_data): Likewise.
9073         (fmod_test_data): Likewise.
9075 2015-10-16  Steve Ellcey  <sellcey@imgtec.com>
9077         * sysdeps/mips/memcpy.S (memcpy):  Add word copies for small aligned
9078         data.
9080 2015-10-16  Joseph Myers  <joseph@codesourcery.com>
9082         * math/libm-test.inc (ceil_test_data): Add more tests and more
9083         expectations for "inexact".
9084         (floor_test_data): Add more tests.
9085         (round_test_data): Likewise.
9086         (trunc_test_data): Likewise.
9088         * crypt/cert.c (good_bye): Convert to prototype-style function
9089         definition.
9090         (get8): Likewise.
9091         (put8): Likewise.
9092         * crypt/crypt-entry.c (crypt): Likewise.
9093         (__fcrypt): Likewise.
9094         * crypt/crypt_util.c (_ufc_prbits): Likewise.
9095         (_ufc_set_bits): Likewise.
9096         (_ufc_clearmem): Likewise.
9097         (__init_des_r): Likewise.
9098         (shuffle_sb): Likewise.
9099         (shuffle_sb): Likewise.
9100         (_ufc_setup_salt_r): Likewise.
9101         (_ufc_mk_keytab_r): Likewise.
9102         (_ufc_dofinalperm_r): Likewise.
9103         (encrypt): Likewise.
9104         (__setkey_r): Likewise.
9105         (setkey): Likewise.
9106         * crypt/md5.c (md5_init_ctx): Likewise.
9107         (md5_read_ctx): Likewise.
9108         (md5_finish_ctx): Likewise.
9109         (md5_stream): Likewise.
9110         (md5_buffer): Likewise.
9111         (md5_process_bytes): Likewise.
9112         * crypt/sha256.c (__sha256_init_ctx): Likewise.
9113         (__sha256_finish_ctx): Likewise.
9114         (__sha256_process_bytes): Likewise.
9115         * crypt/sha512.c (__sha512_init_ctx): Likewise.
9116         (__sha512_finish_ctx): Likewise.
9117         (__sha512_process_bytes): Likewise.
9118         * ctype/isctype.c (__isctype): Likewise.
9119         * debug/backtrace.c (__backtrace): Likewise.
9120         * debug/backtracesymsfd.c (__backtrace_symbols_fd): Likewise.
9121         * debug/fgets_chk.c (__fgets_chk): Likewise.
9122         * debug/fgets_u_chk.c (__fgets_unlocked_chk): Likewise.
9123         * debug/memcpy_chk.c (__memcpy_chk): Likewise.
9124         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
9125         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
9126         * debug/memset_chk.c (__memset_chk): Likewise.
9127         * debug/strcat_chk.c (__strcat_chk): Likewise.
9128         * debug/strncat_chk.c (__strncat_chk): Likewise.
9129         * debug/strncpy_chk.c (__strncpy_chk): Likewise.
9130         * debug/vsprintf_chk.c (_IO_str_chk_overflow): Likewise.
9131         * dirent/dirfd.c (dirfd): Likewise.
9132         * dirent/getdents.c (__getdirentries): Likewise.
9133         * dirent/getdents64.c (getdirentries64): Likewise.
9134         * dirent/rewinddir.c (__rewinddir): Likewise.
9135         * dirent/seekdir.c (seekdir): Likewise.
9136         * dirent/telldir.c (telldir): Likewise.
9137         * elf/sln.c (makesymlinks): Likewise.
9138         (makesymlink): Likewise.
9139         * gmon/gmon.c (__moncontrol): Likewise.
9140         (__monstartup): Likewise.
9141         (write_hist): Likewise.
9142         (write_call_graph): Likewise.
9143         (write_bb_counts): Likewise.
9144         * grp/setgroups.c (setgroups): Likewise.
9145         * inet/inet_lnaof.c (inet_lnaof): Likewise.
9146         * inet/inet_net.c (inet_network): Likewise.
9147         * inet/inet_netof.c (inet_netof): Likewise.
9148         * inet/rcmd.c (rresvport_af): Likewise.
9149         (rresvport): Likewise.
9150         * io/access.c (__access): Likewise.
9151         * io/chdir.c (__chdir): Likewise.
9152         * io/chmod.c (__chmod): Likewise.
9153         * io/chown.c (__chown): Likewise.
9154         * io/close.c (__close): Likewise.
9155         * io/creat.c (creat): Likewise.
9156         * io/creat64.c (creat64): Likewise.
9157         * io/dup.c (__dup): Likewise.
9158         * io/dup2.c (__dup2): Likewise.
9159         * io/dup3.c (__dup3): Likewise.
9160         * io/euidaccess.c (__euidaccess): Likewise.
9161         * io/faccessat.c (faccessat): Likewise.
9162         * io/fchmod.c (__fchmod): Likewise.
9163         * io/fchmodat.c (fchmodat): Likewise.
9164         * io/fchown.c (__fchown): Likewise.
9165         * io/fchownat.c (fchownat): Likewise.
9166         * io/fcntl.c (__fcntl): Likewise.
9167         * io/flock.c (__flock): Likewise.
9168         * io/fts.c (fts_load): Likewise.
9169         (fts_close): Likewise.
9170         (fts_read): Likewise.
9171         (fts_set): Likewise.
9172         (fts_children): Likewise.
9173         (fts_build): Likewise.
9174         (fts_stat): Likewise.
9175         (fts_sort): Likewise.
9176         (fts_alloc): Likewise.
9177         (fts_lfree): Likewise.
9178         (fts_palloc): Likewise.
9179         (fts_padjust): Likewise.
9180         (fts_maxarglen): Likewise.
9181         (fts_safe_changedir): Likewise.
9182         * io/getwd.c (getwd): Likewise.
9183         * io/isatty.c (__isatty): Likewise.
9184         * io/lchown.c (__lchown): Likewise.
9185         * io/link.c (__link): Likewise.
9186         * io/linkat.c (linkat): Likewise.
9187         * io/lseek.c (__libc_lseek): Likewise.
9188         * io/mkdir.c (__mkdir): Likewise.
9189         * io/mkdirat.c (mkdirat): Likewise.
9190         * io/mkfifo.c (mkfifo): Likewise.
9191         * io/mkfifoat.c (mkfifoat): Likewise.
9192         * io/open.c (__libc_open): Likewise.
9193         * io/open64.c (__libc_open64): Likewise.
9194         * io/readlink.c (__readlink): Likewise.
9195         * io/readlinkat.c (readlinkat): Likewise.
9196         * io/rmdir.c (__rmdir): Likewise.
9197         * io/symlink.c (__symlink): Likewise.
9198         * io/symlinkat.c (symlinkat): Likewise.
9199         * io/ttyname.c (ttyname): Likewise.
9200         * io/ttyname_r.c (__ttyname_r): Likewise.
9201         * io/umask.c (__umask): Likewise.
9202         * io/unlink.c (__unlink): Likewise.
9203         * io/unlinkat.c (unlinkat): Likewise.
9204         * io/utime.c (utime): Likewise.
9205         * libio/clearerr.c (clearerr): Likewise.
9206         * libio/clearerr_u.c (clearerr_unlocked): Likewise.
9207         * libio/feof.c (_IO_feof): Likewise.
9208         * libio/feof_u.c (feof_unlocked): Likewise.
9209         * libio/ferror.c (_IO_ferror): Likewise.
9210         * libio/ferror_u.c (ferror_unlocked): Likewise.
9211         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
9212         * libio/fileno.c (__fileno): Likewise.
9213         * libio/fputc.c (fputc): Likewise.
9214         * libio/fputc_u.c (fputc_unlocked): Likewise.
9215         * libio/fputwc.c (fputwc): Likewise.
9216         * libio/fputwc_u.c (fputwc_unlocked): Likewise.
9217         * libio/freopen.c (freopen): Likewise.
9218         * libio/freopen64.c (freopen64): Likewise.
9219         * libio/fseek.c (fseek): Likewise.
9220         * libio/fseeko.c (fseeko): Likewise.
9221         * libio/fseeko64.c (fseeko64): Likewise.
9222         * libio/ftello.c (__ftello): Likewise.
9223         * libio/ftello64.c (ftello64): Likewise.
9224         * libio/fwide.c (fwide): Likewise.
9225         * libio/genops.c (_IO_un_link): Likewise.
9226         (_IO_link_in): Likewise.
9227         (_IO_least_marker): Likewise.
9228         (_IO_switch_to_main_get_area): Likewise.
9229         (_IO_switch_to_backup_area): Likewise.
9230         (_IO_switch_to_get_mode): Likewise.
9231         (_IO_free_backup_area): Likewise.
9232         (_IO_switch_to_put_mode): Likewise.
9233         (__overflow): Likewise.
9234         (__underflow): Likewise.
9235         (__uflow): Likewise.
9236         (_IO_setb): Likewise.
9237         (_IO_doallocbuf): Likewise.
9238         (_IO_default_underflow): Likewise.
9239         (_IO_default_uflow): Likewise.
9240         (_IO_default_xsputn): Likewise.
9241         (_IO_sgetn): Likewise.
9242         (_IO_default_xsgetn): Likewise.
9243         (_IO_sync): Likewise.
9244         (_IO_default_setbuf): Likewise.
9245         (_IO_default_seekpos): Likewise.
9246         (_IO_default_doallocate): Likewise.
9247         (_IO_init): Likewise.
9248         (_IO_old_init): Likewise.
9249         (_IO_default_sync): Likewise.
9250         (_IO_default_finish): Likewise.
9251         (_IO_default_seekoff): Likewise.
9252         (_IO_sputbackc): Likewise.
9253         (_IO_sungetc): Likewise.
9254         (_IO_set_column): Likewise.
9255         (_IO_set_column): Likewise.
9256         (_IO_adjust_column): Likewise.
9257         (_IO_get_column): Likewise.
9258         (_IO_init_marker): Likewise.
9259         (_IO_remove_marker): Likewise.
9260         (_IO_marker_difference): Likewise.
9261         (_IO_marker_delta): Likewise.
9262         (_IO_seekmark): Likewise.
9263         (_IO_unsave_markers): Likewise.
9264         (_IO_nobackup_pbackfail): Likewise.
9265         (_IO_default_pbackfail): Likewise.
9266         (_IO_default_seek): Likewise.
9267         (_IO_default_stat): Likewise.
9268         (_IO_default_read): Likewise.
9269         (_IO_default_write): Likewise.
9270         (_IO_default_showmanyc): Likewise.
9271         (_IO_default_imbue): Likewise.
9272         (_IO_iter_next): Likewise.
9273         (_IO_iter_file): Likewise.
9274         * libio/getc.c (_IO_getc): Likewise.
9275         * libio/getwc.c (_IO_getwc): Likewise.
9276         * libio/iofclose.c (_IO_new_fclose): Likewise.
9277         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
9278         * libio/iofflush.c (_IO_fflush): Likewise.
9279         * libio/iofflush_u.c (__fflush_unlocked): Likewise.
9280         * libio/iofgetpos.c (_IO_new_fgetpos): Likewise.
9281         * libio/iofgetpos64.c (_IO_new_fgetpos64): Likewise.
9282         * libio/iofgets.c (_IO_fgets): Likewise.
9283         * libio/iofgets_u.c (__fgets_unlocked): Likewise.
9284         * libio/iofgetws.c (fgetws): Likewise.
9285         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
9286         * libio/iofopen64.c (_IO_fopen64): Likewise.
9287         * libio/iofopncook.c (_IO_cookie_read): Likewise.
9288         (_IO_cookie_write): Likewise.
9289         (_IO_cookie_seek): Likewise.
9290         (_IO_cookie_close): Likewise.
9291         (_IO_cookie_seekoff): Likewise.
9292         (_IO_old_cookie_seek): Likewise.
9293         * libio/iofputs.c (_IO_fputs): Likewise.
9294         * libio/iofputs_u.c (__fputs_unlocked): Likewise.
9295         * libio/iofputws.c (fputws): Likewise.
9296         * libio/iofputws_u.c (fputws_unlocked): Likewise.
9297         * libio/iofread.c (_IO_fread): Likewise.
9298         * libio/iofread_u.c (__fread_unlocked): Likewise.
9299         * libio/iofsetpos.c (_IO_new_fsetpos): Likewise.
9300         * libio/iofsetpos64.c (_IO_new_fsetpos64): Likewise.
9301         * libio/ioftell.c (_IO_ftell): Likewise.
9302         * libio/iofwrite.c (_IO_fwrite): Likewise.
9303         * libio/iogetdelim.c (_IO_getdelim): Likewise.
9304         * libio/iogets.c (_IO_gets): Likewise.
9305         * libio/iopadn.c (_IO_padn): Likewise.
9306         * libio/iopopen.c (_IO_new_proc_open): Likewise.
9307         (_IO_new_popen): Likewise.
9308         (_IO_new_proc_close): Likewise.
9309         * libio/ioputs.c (_IO_puts): Likewise.
9310         * libio/ioseekoff.c (_IO_seekoff_unlocked): Likewise.
9311         (_IO_seekoff): Likewise.
9312         * libio/ioseekpos.c (_IO_seekpos_unlocked): Likewise.
9313         (_IO_seekpos): Likewise.
9314         * libio/iosetbuffer.c (_IO_setbuffer): Likewise.
9315         * libio/iosetvbuf.c (_IO_setvbuf): Likewise.
9316         * libio/ioungetc.c (_IO_ungetc): Likewise.
9317         * libio/ioungetwc.c (ungetwc): Likewise.
9318         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
9319         * libio/iovsscanf.c (_IO_vsscanf): Likewise.
9320         * libio/iowpadn.c (_IO_wpadn): Likewise.
9321         * libio/libc_fatal.c (__libc_fatal): Likewise.
9322         * libio/memstream.c (__open_memstream): Likewise.
9323         (_IO_mem_sync): Likewise.
9324         (_IO_mem_finish): Likewise.
9325         * libio/oldfileops.c (_IO_old_file_init): Likewise.
9326         (_IO_old_file_close_it): Likewise.
9327         (_IO_old_file_finish): Likewise.
9328         (_IO_old_file_fopen): Likewise.
9329         (_IO_old_file_attach): Likewise.
9330         (_IO_old_file_setbuf): Likewise.
9331         (_IO_old_do_write): Likewise.
9332         (old_do_write): Likewise.
9333         (_IO_old_file_underflow): Likewise.
9334         (_IO_old_file_overflow): Likewise.
9335         (_IO_old_file_sync): Likewise.
9336         (_IO_old_file_seekoff): Likewise.
9337         (_IO_old_file_write): Likewise.
9338         (_IO_old_file_xsputn): Likewise.
9339         * libio/oldiofclose.c (_IO_old_fclose): Likewise.
9340         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
9341         * libio/oldiofgetpos.c (_IO_old_fgetpos): Likewise.
9342         * libio/oldiofgetpos64.c (_IO_old_fgetpos64): Likewise.
9343         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
9344         * libio/oldiofsetpos.c (_IO_old_fsetpos): Likewise.
9345         * libio/oldiofsetpos64.c (_IO_old_fsetpos64): Likewise.
9346         * libio/oldiopopen.c (_IO_old_proc_open): Likewise.
9347         (_IO_old_popen): Likewise.
9348         (_IO_old_proc_close): Likewise.
9349         * libio/oldpclose.c (__old_pclose): Likewise.
9350         * libio/pclose.c (__new_pclose): Likewise.
9351         * libio/peekc.c (_IO_peekc_locked): Likewise.
9352         * libio/putc.c (_IO_putc): Likewise.
9353         * libio/putc_u.c (putc_unlocked): Likewise.
9354         * libio/putchar.c (putchar): Likewise.
9355         * libio/putchar_u.c (putchar_unlocked): Likewise.
9356         * libio/putwc.c (putwc): Likewise.
9357         * libio/putwc_u.c (putwc_unlocked): Likewise.
9358         * libio/putwchar.c (putwchar): Likewise.
9359         * libio/putwchar_u.c (putwchar_unlocked): Likewise.
9360         * libio/rewind.c (rewind): Likewise.
9361         * libio/setbuf.c (setbuf): Likewise.
9362         * libio/setlinebuf.c (setlinebuf): Likewise.
9363         * libio/vasprintf.c (_IO_vasprintf): Likewise.
9364         * libio/vscanf.c (_IO_vscanf): Likewise.
9365         * libio/vsnprintf.c (_IO_strn_overflow): Likewise.
9366         * libio/vswprintf.c (_IO_wstrn_overflow): Likewise.
9367         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
9368         * libio/wgenops.c (_IO_least_wmarker): Likewise.
9369         (_IO_switch_to_main_wget_area): Likewise.
9370         (_IO_switch_to_wbackup_area): Likewise.
9371         (_IO_wsetb): Likewise.
9372         (_IO_wdefault_pbackfail): Likewise.
9373         (_IO_wdefault_finish): Likewise.
9374         (_IO_wdefault_uflow): Likewise.
9375         (__woverflow): Likewise.
9376         (__wuflow): Likewise.
9377         (__wunderflow): Likewise.
9378         (_IO_wdefault_xsputn): Likewise.
9379         (_IO_wdefault_xsgetn): Likewise.
9380         (_IO_wdoallocbuf): Likewise.
9381         (_IO_wdefault_doallocate): Likewise.
9382         (_IO_switch_to_wget_mode): Likewise.
9383         (_IO_free_wbackup_area): Likewise.
9384         (_IO_switch_to_wput_mode): Likewise.
9385         (_IO_sputbackwc): Likewise.
9386         (_IO_sungetwc): Likewise.
9387         (_IO_adjust_wcolumn): Likewise.
9388         (_IO_init_wmarker): Likewise.
9389         (_IO_wmarker_delta): Likewise.
9390         (_IO_seekwmark): Likewise.
9391         (_IO_unsave_wmarkers): Likewise.
9392         * libio/wmemstream.c (open_wmemstream): Likewise.
9393         (_IO_wmem_sync): Likewise.
9394         (_IO_wmem_finish): Likewise.
9395         * locale/nl_langinfo.c (nl_langinfo): Likewise.
9396         * locale/nl_langinfo_l.c (__nl_langinfo_l): Likewise.
9397         * locale/programs/simple-hash.c (init_hash): Likewise.
9398         (delete_hash): Likewise.
9399         (insert_entry): Likewise.
9400         (set_entry): Likewise.
9401         (next_prime): Likewise.
9402         (is_prime): Likewise.
9403         * locale/programs/xmalloc.c (fixup_null_alloc): Likewise.
9404         (xmalloc): Likewise.
9405         (xrealloc): Likewise.
9406         * locale/programs/xstrdup.c (xstrdup): Likewise.
9407         * localedata/collate-test.c (xstrcoll): Likewise.
9408         * localedata/xfrm-test.c (xstrcmp): Likewise.
9409         * login/getlogin_r.c (__getlogin_r): Likewise.
9410         * login/getpt.c (__posix_openpt): Likewise.
9411         * login/login_tty.c (login_tty): Likewise.
9412         * login/setlogin.c (setlogin): Likewise.
9413         * mach/msg-destroy.c (__mach_msg_destroy): Likewise.
9414         (mach_msg_destroy_port): Likewise.
9415         (mach_msg_destroy_memory): Likewise.
9416         * malloc/mcheck.c (flood): Likewise.
9417         * misc/acct.c (acct): Likewise.
9418         * misc/brk.c (__brk): Likewise.
9419         * misc/chflags.c (chflags): Likewise.
9420         * misc/chroot.c (chroot): Likewise.
9421         * misc/fchflags.c (fchflags): Likewise.
9422         * misc/fstab.c (getfsspec): Likewise.
9423         (getfsfile): Likewise.
9424         * misc/fsync.c (fsync): Likewise.
9425         * misc/ftruncate.c (__ftruncate): Likewise.
9426         * misc/ftruncate64.c (__ftruncate64): Likewise.
9427         * misc/getdomain.c (getdomainname): Likewise.
9428         (getdomainname): Likewise.
9429         * misc/gethostname.c (__gethostname): Likewise.
9430         * misc/getpass.c (getpass): Likewise.
9431         * misc/getttyent.c (skip): Likewise.
9432         (value): Likewise.
9433         * misc/gtty.c (gtty): Likewise.
9434         * misc/hsearch.c (hsearch): Likewise.
9435         (hcreate): Likewise.
9436         * misc/hsearch_r.c (__hcreate_r): Likewise.
9437         (__hdestroy_r): Likewise.
9438         * misc/ioctl.c (__ioctl): Likewise.
9439         * misc/mkdtemp.c (mkdtemp): Likewise.
9440         * misc/mkostemp.c (mkostemp): Likewise.
9441         * misc/mkostemp64.c (mkostemp64): Likewise.
9442         * misc/mkostemps.c (mkostemps): Likewise.
9443         * misc/mkostemps64.c (mkostemps64): Likewise.
9444         * misc/mkstemp.c (mkstemp): Likewise.
9445         * misc/mkstemp64.c (mkstemp64): Likewise.
9446         * misc/mkstemps.c (mkstemps): Likewise.
9447         * misc/mkstemps64.c (mkstemps64): Likewise.
9448         * misc/mktemp.c (__mktemp): Likewise.
9449         * misc/preadv.c (preadv): Likewise.
9450         * misc/preadv64.c (preadv64): Likewise.
9451         * misc/pwritev.c (pwritev): Likewise.
9452         * misc/pwritev64.c (pwritev64): Likewise.
9453         * misc/readv.c (__readv): Likewise.
9454         * misc/revoke.c (revoke): Likewise.
9455         * misc/setdomain.c (setdomainname): Likewise.
9456         * misc/setegid.c (setegid): Likewise.
9457         * misc/seteuid.c (seteuid): Likewise.
9458         * misc/sethostid.c (sethostid): Likewise.
9459         * misc/sethostname.c (sethostname): Likewise.
9460         * misc/setregid.c (__setregid): Likewise.
9461         * misc/setreuid.c (__setreuid): Likewise.
9462         * misc/sstk.c (sstk): Likewise.
9463         * misc/stty.c (stty): Likewise.
9464         * misc/syscall.c (syscall): Likewise.
9465         * misc/syslog.c (setlogmask): Likewise.
9466         * misc/truncate.c (__truncate): Likewise.
9467         * misc/truncate64.c (truncate64): Likewise.
9468         * misc/ualarm.c (ualarm): Likewise.
9469         * misc/usleep.c (usleep): Likewise.
9470         * misc/ustat.c (ustat): Likewise.
9471         * misc/writev.c (__writev): Likewise.
9472         * nptl/cleanup_compat.c (_pthread_cleanup_pop): Likewise.
9473         * nptl/old_pthread_cond_broadcast.c
9474         (__pthread_cond_broadcast_2_0): Likewise.
9475         * nptl/old_pthread_cond_destroy.c (__pthread_cond_destroy_2_0):
9476         Likewise.
9477         * nptl/old_pthread_cond_signal.c (__pthread_cond_signal_2_0):
9478         Likewise.
9479         * nptl/old_pthread_cond_wait.c (__pthread_cond_wait_2_0):
9480         Likewise.
9481         * nptl/pt-raise.c (raise): Likewise.
9482         * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy):
9483         Likewise.
9484         * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Likewise.
9485         * nptl/pthread_barrierattr_destroy.c
9486         (pthread_barrierattr_destroy): Likewise.
9487         * nptl/pthread_barrierattr_init.c (pthread_barrierattr_init):
9488         Likewise.
9489         * nptl/pthread_barrierattr_setpshared.c
9490         (pthread_barrierattr_setpshared): Likewise.
9491         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
9492         Likewise.
9493         * nptl/pthread_cond_destroy.c (__pthread_cond_destroy): Likewise.
9494         * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
9495         * nptl/pthread_cond_signal.c (__pthread_cond_signal): Likewise.
9496         * nptl/pthread_condattr_destroy.c (__pthread_condattr_destroy):
9497         Likewise.
9498         * nptl/pthread_condattr_getclock.c (pthread_condattr_getclock):
9499         Likewise.
9500         * nptl/pthread_condattr_getpshared.c
9501         (pthread_condattr_getpshared): Likewise.
9502         * nptl/pthread_condattr_init.c (__pthread_condattr_init):
9503         Likewise.
9504         * nptl/pthread_condattr_setpshared.c
9505         (pthread_condattr_setpshared): Likewise.
9506         * nptl/pthread_detach.c (pthread_detach): Likewise.
9507         * nptl/pthread_equal.c (__pthread_equal): Likewise.
9508         * nptl/pthread_getcpuclockid.c (pthread_getcpuclockid): Likewise.
9509         * nptl/pthread_getspecific.c (__pthread_getspecific): Likewise.
9510         * nptl/pthread_key_delete.c (pthread_key_delete): Likewise.
9511         * nptl/pthread_mutex_consistent.c (pthread_mutex_consistent):
9512         Likewise.
9513         * nptl/pthread_mutex_destroy.c (__pthread_mutex_destroy):
9514         Likewise.
9515         * nptl/pthread_mutex_getprioceiling.c
9516         (pthread_mutex_getprioceiling): Likewise.
9517         * nptl/pthread_mutexattr_destroy.c (__pthread_mutexattr_destroy):
9518         Likewise.
9519         * nptl/pthread_mutexattr_getprotocol.c
9520         (pthread_mutexattr_getprotocol): Likewise.
9521         * nptl/pthread_mutexattr_getpshared.c
9522         (pthread_mutexattr_getpshared): Likewise.
9523         * nptl/pthread_mutexattr_getrobust.c
9524         (pthread_mutexattr_getrobust): Likewise.
9525         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
9526         Likewise.
9527         * nptl/pthread_mutexattr_init.c (__pthread_mutexattr_init):
9528         Likewise.
9529         * nptl/pthread_mutexattr_setprioceiling.c
9530         (pthread_mutexattr_setprioceiling): Likewise.
9531         * nptl/pthread_mutexattr_setprotocol.c
9532         (pthread_mutexattr_setprotocol): Likewise.
9533         * nptl/pthread_mutexattr_setpshared.c
9534         (pthread_mutexattr_setpshared): Likewise.
9535         * nptl/pthread_mutexattr_setrobust.c
9536         (pthread_mutexattr_setrobust): Likewise.
9537         * nptl/pthread_mutexattr_settype.c (__pthread_mutexattr_settype):
9538         Likewise.
9539         * nptl/pthread_rwlock_destroy.c (__pthread_rwlock_destroy):
9540         Likewise.
9541         * nptl/pthread_rwlockattr_destroy.c (pthread_rwlockattr_destroy):
9542         Likewise.
9543         * nptl/pthread_rwlockattr_getkind_np.c
9544         (pthread_rwlockattr_getkind_np): Likewise.
9545         * nptl/pthread_rwlockattr_getpshared.c
9546         (pthread_rwlockattr_getpshared): Likewise.
9547         * nptl/pthread_rwlockattr_init.c (pthread_rwlockattr_init):
9548         Likewise.
9549         * nptl/pthread_rwlockattr_setkind_np.c
9550         (pthread_rwlockattr_setkind_np): Likewise.
9551         * nptl/pthread_rwlockattr_setpshared.c
9552         (pthread_rwlockattr_setpshared): Likewise.
9553         * nptl/pthread_setcancelstate.c (__pthread_setcancelstate):
9554         Likewise.
9555         * nptl/pthread_setcanceltype.c (__pthread_setcanceltype):
9556         Likewise.
9557         * nptl/pthread_setconcurrency.c (pthread_setconcurrency):
9558         Likewise.
9559         * nptl/pthread_setschedprio.c (pthread_setschedprio): Likewise.
9560         * nptl/pthread_setspecific.c (__pthread_setspecific): Likewise.
9561         * nptl/pthread_spin_destroy.c (pthread_spin_destroy): Likewise.
9562         * nptl/pthread_tryjoin.c (pthread_tryjoin_np): Likewise.
9563         * nptl/sem_close.c (sem_close): Likewise.
9564         * nptl/sem_destroy.c (__new_sem_destroy): Likewise.
9565         * nptl/sem_init.c (__old_sem_init): Likewise.
9566         * nptl/sigaction.c (__sigaction): Likewise.
9567         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
9568         * posix/_exit.c (_exit): Likewise.
9569         * posix/alarm.c (alarm): Likewise.
9570         * posix/confstr.c (confstr): Likewise.
9571         * posix/fpathconf.c (__fpathconf): Likewise.
9572         * posix/getgroups.c (__getgroups): Likewise.
9573         * posix/getpgid.c (__getpgid): Likewise.
9574         * posix/group_member.c (__group_member): Likewise.
9575         * posix/pathconf.c (__pathconf): Likewise.
9576         * posix/sched_getaffinity.c (sched_getaffinity): Likewise.
9577         * posix/sched_setaffinity.c (sched_setaffinity): Likewise.
9578         * posix/setgid.c (__setgid): Likewise.
9579         * posix/setpgid.c (__setpgid): Likewise.
9580         * posix/setuid.c (__setuid): Likewise.
9581         * posix/sleep.c (__sleep): Likewise.
9582         * posix/sysconf.c (__sysconf): Likewise.
9583         * posix/times.c (__times): Likewise.
9584         * posix/uname.c (__uname): Likewise.
9585         * posix/waitid.c (__waitid): Likewise.
9586         * pwd/getpw.c (__getpw): Likewise.
9587         * resolv/base64.c (b64_pton): Likewise.
9588         * resolv/gai_sigqueue.c (__gai_sigqueue): Likewise.
9589         * resolv/gethnamaddr.c (Dprintf): Likewise.
9590         (gethostbyname): Likewise.
9591         (gethostbyname2): Likewise.
9592         (gethostbyaddr): Likewise.
9593         (_sethtent): Likewise.
9594         (_gethtbyname): Likewise.
9595         (_gethtbyname2): Likewise.
9596         (_gethtbyaddr): Likewise.
9597         (map_v4v6_address): Likewise.
9598         (map_v4v6_hostent): Likewise.
9599         (addrsort): Likewise.
9600         (ht_sethostent): Likewise.
9601         (ht_gethostbyname): Likewise.
9602         (ht_gethostbyaddr): Likewise.
9603         * resolv/inet_net_ntop.c (inet_net_ntop): Likewise.
9604         (inet_net_ntop_ipv4): Likewise.
9605         * resolv/inet_neta.c (inet_neta): Likewise.
9606         * resolv/inet_ntop.c (inet_ntop): Likewise.
9607         (inet_ntop4): Likewise.
9608         (inet_ntop6): Likewise.
9609         * resolv/inet_pton.c (__inet_pton): Likewise.
9610         (inet_pton4): Likewise.
9611         (inet_pton6): Likewise.
9612         * resolv/res_debug.c (loc_aton): Likewise.
9613         (loc_ntoa): Likewise.
9614         * resource/getpriority.c (__getpriority): Likewise.
9615         * resource/getrusage.c (__getrusage): Likewise.
9616         * resource/nice.c (nice): Likewise.
9617         * resource/setpriority.c (__setpriority): Likewise.
9618         * resource/setrlimit64.c (setrlimit64): Likewise.
9619         * resource/vlimit.c (vlimit): Likewise.
9620         * resource/vtimes.c (vtimes): Likewise.
9621         * rt/aio_error.c (aio_error): Likewise.
9622         * rt/aio_return.c (aio_return): Likewise.
9623         * rt/aio_sigqueue.c (__aio_sigqueue): Likewise.
9624         * signal/kill.c (__kill): Likewise.
9625         * signal/killpg.c (killpg): Likewise.
9626         * signal/raise.c (raise): Likewise.
9627         * signal/sigaction.c (__sigaction): Likewise.
9628         * signal/sigaddset.c (sigaddset): Likewise.
9629         * signal/sigaltstack.c (sigaltstack): Likewise.
9630         * signal/sigandset.c (sigandset): Likewise.
9631         * signal/sigblock.c (__sigblock): Likewise.
9632         * signal/sigdelset.c (sigdelset): Likewise.
9633         * signal/sigempty.c (sigemptyset): Likewise.
9634         * signal/sigfillset.c (sigfillset): Likewise.
9635         * signal/sighold.c (sighold): Likewise.
9636         * signal/sigignore.c (sigignore): Likewise.
9637         * signal/sigintr.c (siginterrupt): Likewise.
9638         * signal/sigisempty.c (sigisemptyset): Likewise.
9639         * signal/sigismem.c (sigismember): Likewise.
9640         * signal/signal.c (signal): Likewise.
9641         * signal/sigorset.c (sigorset): Likewise.
9642         * signal/sigpause.c (__sigpause): Likewise.
9643         * signal/sigpending.c (sigpending): Likewise.
9644         * signal/sigprocmask.c (__sigprocmask): Likewise.
9645         * signal/sigrelse.c (sigrelse): Likewise.
9646         * signal/sigreturn.c (__sigreturn): Likewise.
9647         * signal/sigset.c (sigset): Likewise.
9648         * signal/sigsetmask.c (__sigsetmask): Likewise.
9649         * signal/sigstack.c (sigstack): Likewise.
9650         * signal/sigsuspend.c (__sigsuspend): Likewise.
9651         * signal/sigvec.c (sigvec_wrapper_handler): Likewise.
9652         * signal/sysv_signal.c (__sysv_signal): Likewise.
9653         * socket/accept.c (accept): Likewise.
9654         * socket/accept4.c (__libc_accept4): Likewise.
9655         * socket/bind.c (__bind): Likewise.
9656         * socket/connect.c (__connect): Likewise.
9657         * socket/getpeername.c (getpeername): Likewise.
9658         * socket/getsockname.c (__getsockname): Likewise.
9659         * socket/getsockopt.c (getsockopt): Likewise.
9660         * socket/listen.c (__listen): Likewise.
9661         * socket/recv.c (__recv): Likewise.
9662         * socket/recvmsg.c (__recvmsg): Likewise.
9663         * socket/send.c (__send): Likewise.
9664         * socket/sendmsg.c (__sendmsg): Likewise.
9665         * socket/shutdown.c (shutdown): Likewise.
9666         * socket/sockatmark.c (sockatmark): Likewise.
9667         * socket/socket.c (__socket): Likewise.
9668         * stdio-common/ctermid.c (ctermid): Likewise.
9669         * stdio-common/cuserid.c (cuserid): Likewise.
9670         * stdio-common/printf-prs.c (parse_printf_format): Likewise.
9671         * stdio-common/remove.c (remove): Likewise.
9672         * stdio-common/rename.c (rename): Likewise.
9673         * stdio-common/renameat.c (renameat): Likewise.
9674         * stdio-common/tempname.c (__gen_tempname): Likewise.
9675         * stdio-common/xbug.c (InitBuffer): Likewise.
9676         (AppendToBuffer): Likewise.
9677         (ReadFile): Likewise.
9678         * stdlib/a64l.c (a64l): Likewise.
9679         * stdlib/drand48_r.c (drand48_r): Likewise.
9680         * stdlib/getcontext.c (getcontext): Likewise.
9681         * stdlib/getenv.c (getenv): Likewise.
9682         * stdlib/l64a.c (l64a): Likewise.
9683         * stdlib/llabs.c (llabs): Likewise.
9684         * stdlib/lldiv.c (lldiv): Likewise.
9685         * stdlib/lrand48_r.c (lrand48_r): Likewise.
9686         * stdlib/mrand48_r.c (mrand48_r): Likewise.
9687         * stdlib/putenv.c (putenv): Likewise.
9688         * stdlib/random.c (__srandom): Likewise.
9689         (__initstate): Likewise.
9690         (__setstate): Likewise.
9691         * stdlib/random_r.c (__srandom_r): Likewise.
9692         (__setstate_r): Likewise.
9693         (__random_r): Likewise.
9694         * stdlib/secure-getenv.c (__libc_secure_getenv): Likewise.
9695         * stdlib/setcontext.c (setcontext): Likewise.
9696         * stdlib/setenv.c (setenv): Likewise.
9697         (unsetenv): Likewise.
9698         * stdlib/srand48.c (srand48): Likewise.
9699         * stdlib/srand48_r.c (__srand48_r): Likewise.
9700         * stdlib/swapcontext.c (swapcontext): Likewise.
9701         * stdlib/system.c (__libc_system): Likewise.
9702         * stdlib/tst-strtod.c (expand): Likewise.
9703         * stdlib/tst-strtol.c (expand): Likewise.
9704         * stdlib/tst-strtoll.c (expand): Likewise.
9705         * streams/fattach.c (fattach): Likewise.
9706         * streams/fdetach.c (fdetach): Likewise.
9707         * streams/getmsg.c (getmsg): Likewise.
9708         * streams/isastream.c (isastream): Likewise.
9709         * string/ffs.c (__ffs): Likewise.
9710         * string/ffsll.c (ffsll): Likewise.
9711         * string/memcmp.c (memcmp_common_alignment): Likewise.
9712         (memcmp_not_common_alignment): Likewise.
9713         (MEMCMP): Likewise.
9714         * string/memcpy.c (memcpy): Likewise.
9715         * string/memmove.c (MEMMOVE): Likewise.
9716         * string/memset.c (memset): Likewise.
9717         * string/rawmemchr.c (RAWMEMCHR): Likewise.
9718         * string/strchrnul.c (STRCHRNUL): Likewise.
9719         * string/strerror.c (strerror): Likewise.
9720         * string/strndup.c (__strndup): Likewise.
9721         * string/strverscmp.c (__strverscmp): Likewise.
9722         * sunrpc/clnt_raw.c (clntraw_freeres): Likewise.
9723         * sunrpc/clnt_tcp.c (clnttcp_geterr): Likewise.
9724         (clnttcp_freeres): Likewise.
9725         * sunrpc/clnt_unix.c (clntunix_freeres): Likewise.
9726         * sunrpc/pmap_prot.c (xdr_pmap): Likewise.
9727         * sunrpc/pmap_prot2.c (xdr_pmaplist): Likewise.
9728         * sunrpc/pmap_rmt.c (xdr_rmtcallres): Likewise.
9729         * sunrpc/rpc_prot.c (xdr_replymsg): Likewise.
9730         (xdr_callhdr): Likewise.
9731         * sunrpc/rpcinfo.c (udpping): Likewise.
9732         (tcpping): Likewise.
9733         (pstatus): Likewise.
9734         (pmapdump): Likewise.
9735         (brdcst): Likewise.
9736         (deletereg): Likewise.
9737         (getprognum): Likewise.
9738         (getvers): Likewise.
9739         (get_inet_address): Likewise.
9740         * sunrpc/svc_raw.c (svcraw_recv): Likewise.
9741         * sunrpc/svc_udp.c (svcudp_create): Likewise.
9742         (svcudp_stat): Likewise.
9743         (svcudp_recv): Likewise.
9744         (svcudp_reply): Likewise.
9745         (svcudp_getargs): Likewise.
9746         (svcudp_freeargs): Likewise.
9747         (svcudp_destroy): Likewise.
9748         * sunrpc/xdr.c (xdr_bytes): Likewise.
9749         (xdr_netobj): Likewise.
9750         (xdr_string): Likewise.
9751         (xdr_wrapstring): Likewise.
9752         * sunrpc/xdr_float.c (xdr_float): Likewise.
9753         (xdr_double): Likewise.
9754         * sunrpc/xdr_mem.c (xdrmem_setpos): Likewise.
9755         * sunrpc/xdr_ref.c (xdr_pointer): Likewise.
9756         * sysvipc/ftok.c (ftok): Likewise.
9757         * sysvipc/msgctl.c (msgctl): Likewise.
9758         * sysvipc/msgget.c (msgget): Likewise.
9759         * sysvipc/msgrcv.c (msgrcv): Likewise.
9760         * sysvipc/msgsnd.c (msgsnd): Likewise.
9761         * sysvipc/semget.c (semget): Likewise.
9762         * sysvipc/semop.c (semop): Likewise.
9763         * sysvipc/shmat.c (shmat): Likewise.
9764         * sysvipc/shmctl.c (shmctl): Likewise.
9765         * sysvipc/shmdt.c (shmdt): Likewise.
9766         * sysvipc/shmget.c (shmget): Likewise.
9767         * termios/cfmakeraw.c (cfmakeraw): Likewise.
9768         * termios/speed.c (cfgetospeed): Likewise.
9769         (cfgetispeed): Likewise.
9770         (cfsetospeed): Likewise.
9771         (cfsetispeed): Likewise.
9772         * termios/tcflow.c (tcflow): Likewise.
9773         * termios/tcflush.c (tcflush): Likewise.
9774         * termios/tcgetattr.c (__tcgetattr): Likewise.
9775         * termios/tcgetpgrp.c (tcgetpgrp): Likewise.
9776         * termios/tcgetsid.c (tcgetsid): Likewise.
9777         * termios/tcsendbrk.c (tcsendbreak): Likewise.
9778         * termios/tcsetpgrp.c (tcsetpgrp): Likewise.
9779         * time/adjtime.c (__adjtime): Likewise.
9780         * time/dysize.c (dysize): Likewise.
9781         * time/ftime.c (ftime): Likewise.
9782         * time/getitimer.c (__getitimer): Likewise.
9783         * time/gettimeofday.c (__gettimeofday): Likewise.
9784         * time/gmtime.c (__gmtime_r): Likewise.
9785         (gmtime): Likewise.
9786         * time/localtime.c (__localtime_r): Likewise.
9787         (localtime): Likewise.
9788         * time/offtime.c (__offtime): Likewise.
9789         * time/settimeofday.c (__settimeofday): Likewise.
9790         * time/stime.c (stime): Likewise.
9791         * time/strftime_l.c (tm_diff): Likewise.
9792         (iso_week_days): Likewise.
9793         * time/strptime.c (strptime): Likewise.
9794         * time/time.c (time): Likewise.
9795         * time/timespec_get.c (timespec_get): Likewise.
9796         * time/tzset.c (tzset_internal): Likewise.
9797         (compute_change): Likewise.
9798         (__tz_compute): Likewise.
9799         * wcsmbs/btowc.c (__btowc): Likewise.
9800         * wcsmbs/mbrlen.c (__mbrlen): Likewise.
9801         * wcsmbs/mbsinit.c (__mbsinit): Likewise.
9802         * wcsmbs/mbsrtowcs.c (__mbsrtowcs): Likewise.
9803         * wcsmbs/wcpcpy.c (__wcpcpy): Likewise.
9804         * wcsmbs/wcpncpy.c (__wcpncpy): Likewise.
9805         * wcsmbs/wcscat.c (__wcscat): Likewise.
9806         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
9807         * wcsmbs/wcscmp.c (WCSCMP): Likewise.
9808         * wcsmbs/wcscpy.c (WCSCPY): Likewise.
9809         * wcsmbs/wcscspn.c (wcscspn): Likewise.
9810         * wcsmbs/wcsdup.c (wcsdup): Likewise.
9811         * wcsmbs/wcslen.c (__wcslen): Likewise.
9812         * wcsmbs/wcsncat.c (WCSNCAT): Likewise.
9813         * wcsmbs/wcsncmp.c (WCSNCMP): Likewise.
9814         * wcsmbs/wcsncpy.c (__wcsncpy): Likewise.
9815         * wcsmbs/wcsnlen.c (__wcsnlen): Likewise.
9816         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
9817         * wcsmbs/wcsrchr.c (WCSRCHR): Likewise.
9818         * wcsmbs/wcsspn.c (wcsspn): Likewise.
9819         * wcsmbs/wcsstr.c (wcsstr): Likewise.
9820         * wcsmbs/wcstok.c (wcstok): Likewise.
9821         * wcsmbs/wctob.c (wctob): Likewise.
9822         * wcsmbs/wmemchr.c (__wmemchr): Likewise.
9823         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
9824         * wcsmbs/wmemcpy.c (__wmemcpy): Likewise.
9825         * wcsmbs/wmemmove.c (__wmemmove): Likewise.
9826         * wcsmbs/wmempcpy.c (__wmempcpy): Likewise.
9827         * wcsmbs/wmemset.c (__wmemset): Likewise.
9828         * wctype/wcfuncs.c (__towlower): Likewise.
9829         (__towupper): Likewise.
9831         * sysdeps/unix/sysv/linux/i386/lowlevellock.h
9832         (lll_unlock_elision): Add adapt_count parameter.
9834 2015-10-15  Joseph Myers  <joseph@codesourcery.com>
9836         * sysdeps/nptl/configure.ac: Do not give errors based on the
9837         results of top-level configure tests.
9838         * sysdeps/nptl/configure: Regenerated.
9840         * configure.ac (libc_cv_Bgroup): Remove configure test.
9841         * configure: Regenerated.
9842         * config.make.in (have-Bgroup): Remove variable.
9844         * configure.ac (sizeof_long_double): Remove configure test.
9845         * configure: Regenerated.
9846         * config.make.in (sizeof-long-double): Remove variable.
9848         * configure.ac (libc_cv_gcc_exceptions): Remove configure test.
9849         * configure: Regenerated.
9850         * sysdeps/arm/configure.ac (libc_cv_gcc_exceptions): Do not set
9851         variable.
9852         (exceptions): Likewise.
9853         * sysdeps/arm/configure: Regenerated.
9854         * config.make.in (exceptions): Remove variable.
9855         * Makeconfig (uses-callbacks): Use -fexceptions instead of
9856         $(exceptions).
9857         * debug/Makefile (CFLAGS-dprintf_chk.c): Likewise.
9858         (CFLAGS-vdprintf_chk.c): Likewise.
9859         (CFLAGS-printf_chk.c): Likewise.
9860         (CFLAGS-fprintf_chk.c): Likewise.
9861         (CFLAGS-vprintf_chk.c): Likewise.
9862         (CFLAGS-vfprintf_chk.c): Likewise.
9863         (CFLAGS-gets_chk.c): Likewise.
9864         (CFLAGS-fgets_chk.c): Likewise.
9865         (CFLAGS-fgets_u_chk.c): Likewise.
9866         (CFLAGS-fread_chk.c): Likewise.
9867         (CFLAGS-fread_u_chk.c): Likewise.
9868         (CFLAGS-wprintf_chk.c): Likewise.
9869         (CFLAGS-fwprintf_chk.c): Likewise.
9870         (CFLAGS-vwprintf_chk.c): Likewise.
9871         (CFLAGS-vfwprintf_chk.c): Likewise.
9872         (CFLAGS-fgetws_chk.c): Likewise.
9873         (CFLAGS-fgetws_u_chk.c): Likewise.
9874         * libio/Makefile (CFLAGS-fileops.c): Likewise.
9875         (CFLAGS-fputc.c): Likewise.
9876         (CFLAGS-fputwc.c): Likewise.
9877         (CFLAGS-freopen64.c): Likewise.
9878         (CFLAGS-freopen.c): Likewise.
9879         (CFLAGS-fseek.c): Likewise.
9880         (CFLAGS-fseeko64.c): Likewise.
9881         (CFLAGS-fseeko.c): Likewise.
9882         (CFLAGS-ftello64.c): Likewise.
9883         (CFLAGS-ftello.c): Likewise.
9884         (CFLAGS-fwide.c): Likewise.
9885         (CFLAGS-genops.c): Likewise.
9886         (CFLAGS-getc.c): Likewise.
9887         (CFLAGS-getchar.c): Likewise.
9888         (CFLAGS-getwc.c): Likewise.
9889         (CFLAGS-getwchar.c): Likewise.
9890         (CFLAGS-iofclose.c): Likewise.
9891         (CFLAGS-iofflush.c): Likewise.
9892         (CFLAGS-iofgetpos64.c): Likewise.
9893         (CFLAGS-iofgetpos.c): Likewise.
9894         (CFLAGS-iofgets.c): Likewise.
9895         (CFLAGS-iofgetws.c): Likewise.
9896         (CFLAGS-iofputs.c): Likewise.
9897         (CFLAGS-iofputws.c): Likewise.
9898         (CFLAGS-iofread.c): Likewise.
9899         (CFLAGS-iofsetpos64.c): Likewise.
9900         (CFLAGS-iofsetpos.c): Likewise.
9901         (CFLAGS-ioftell.c): Likewise.
9902         (CFLAGS-iofwrite.c): Likewise.
9903         (CFLAGS-iogetdelim.c): Likewise.
9904         (CFLAGS-iogetline.c): Likewise.
9905         (CFLAGS-iogets.c): Likewise.
9906         (CFLAGS-iogetwline.c): Likewise.
9907         (CFLAGS-ioputs.c): Likewise.
9908         (CFLAGS-ioseekoff.c): Likewise.
9909         (CFLAGS-ioseekpos.c): Likewise.
9910         (CFLAGS-iosetbuffer.c): Likewise.
9911         (CFLAGS-iosetvbuf.c): Likewise.
9912         (CFLAGS-ioungetc.c): Likewise.
9913         (CFLAGS-ioungetwc.c): Likewise.
9914         (CFLAGS-oldfileops.c): Likewise.
9915         (CFLAGS-oldiofclose.c): Likewise.
9916         (CFLAGS-oldiofgetpos64.c): Likewise.
9917         (CFLAGS-oldiofgetpos.c): Likewise.
9918         (CFLAGS-oldiofsetpos64.c): Likewise.
9919         (CFLAGS-oldiofsetpos.c): Likewise.
9920         (CFLAGS-peekc.c): Likewise.
9921         (CFLAGS-putc.c): Likewise.
9922         (CFLAGS-putchar.c): Likewise.
9923         (CFLAGS-putwc.c): Likewise.
9924         (CFLAGS-putwchar.c): Likewise.
9925         (CFLAGS-rewind.c): Likewise.
9926         (CFLAGS-wfileops.c): Likewise.
9927         (CFLAGS-wgenops.c): Likewise.
9928         (CFLAGS-oldiofopen.c): Likewise.
9929         (CFLAGS-iofopen.c): Likewise.
9930         (CFLAGS-iofopen64.c): Likewise.
9931         (CFLAGS-oldtmpfile.c): Likewise.
9932         * stdio-common/Makefile (CFLAGS-vfprintf.c): Likewise.
9933         (CFLAGS-fprintf.c): Likewise.
9934         (CFLAGS-printf.c): Likewise.
9935         (CFLAGS-vfwprintf.c): Likewise.
9936         (CFLAGS-vfscanf.c): Likewise.
9937         (CFLAGS-vfwscanf.c): Likewise.
9938         (CFLAGS-fscanf.c): Likewise.
9939         (CFLAGS-scanf.c): Likewise.
9940         (CFLAGS-isoc99_vfscanf.c): Likewise.
9941         (CFLAGS-isoc99_vscanf.c): Likewise.
9942         (CFLAGS-isoc99_fscanf.c): Likewise.
9943         (CFLAGS-isoc99_scanf.c): Likewise.
9944         * wcsmbs/Makefile (CFLAGS-isoc99_wscanf.c): Likewise.
9945         (CFLAGS-isoc99_fwscanf.c): Likewise.
9946         (CFLAGS-isoc99_vwscanf.c): Likewise.
9947         (CFLAGS-isoc99_vfwscanf.c): Likewise.
9949         * io/test-lfs.c (do_prepare): Do not call add_temp_file until
9950         after mkstemp64.
9951         * login/tst-utmp.c (do_prepare): Likewise.
9952         * rt/tst-aio.c (do_prepare): Likewise.
9953         * rt/tst-aio64.c (do_prepare): Likewise.
9955 2015-10-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
9957         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
9958         (__lll_lock_elision): Remove adapt_count decrement...
9959         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
9960         (__lll_trylock_elision): Likewise.
9961         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
9962         (__lll_unlock_elision): ... to here. And utilize
9963         new adapt_count parameter.
9964         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
9965         (__lll_unlock_elision): Update to include adapt_count
9966         parameter.
9967         (lll_unlock_elision): Pass pointer to adapt_count
9968         variable.
9970 2015-10-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
9972         * nptl/pthread_mutex_unlock.c (lll_unlock_elision):
9973         Add elision adapt_count parameter to list of arguments.
9974         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
9975         (lll_unlock_elision): Update with new parameter list
9976         * sysdeps/unix/sysv/linux/s390/lowlevellock.h
9977         (lll_unlock_elision): Likewise.
9978         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h
9979         (lll_unlock_elision): Likewise.
9981 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
9983         [BZ #19122]
9984         * include/sys/utsname.h [IS_IN (rtld)] (__uname): Add
9985         attribute_hidden.
9987         * include/string.h [IS_IN (rtld)] (__stpcpy): Add
9988         attribute_hidden.
9989         [IS_IN (rtld)] (__strdup): Likewise.
9990         [IS_IN (rtld)] (__strerror_r): Likewise.
9991         [IS_IN (rtld)] (__strsep_g): Likewise.
9992         [IS_IN (rtld)] (memchr): Likewise.
9993         [IS_IN (rtld)] (memcmp): Likewise.
9994         [IS_IN (rtld)] (memcpy): Likewise.
9995         [IS_IN (rtld)] (memmove): Likewise.
9996         [IS_IN (rtld)] (memset): Likewise.
9997         [IS_IN (rtld)] (rawmemchr): Likewise.
9998         [IS_IN (rtld)] (stpcpy): Likewise.
9999         [IS_IN (rtld)] (strchr): Likewise.
10000         [IS_IN (rtld)] (strcmp): Likewise.
10001         [IS_IN (rtld)] (strlen): Likewise.
10002         [IS_IN (rtld)] (strnlen): Likewise.
10003         [IS_IN (rtld)] (strsep): Likewise.
10005         * include/stdlib.h [IS_IN (rtld)] (unsetenv): Add
10006         attribute_hidden.
10007         [IS_IN (rtld)] (__strtoul_internal): Likewise.
10009         * include/signal.h [IS_IN (rtld)] (__sigaction): Add
10010         attribute_hidden.
10011         [IS_IN (rtld)] (__libc_sigaction): Likewise.
10013         * include/setjmp.h (__longjmp): Add attribute_hidden.
10014         [IS_IN (rtld)] (__sigsetjmp): Likewise.
10016         * include/libc-internal.h [IS_IN (rtld)] (__profile_frequency):
10017         Add attribute_hidden.
10019         * include/fcntl.h (__libc_fcntl): Add attribute_hidden.
10020         [IS_IN (rtld)] (__open): Likewise.
10021         [IS_IN (rtld)] (__fcntl): Likewise.
10023         * include/dirent.h (__opendirat): Add attribute_hidden.
10024         (__getdents): Likewise.
10025         (__getdents64): Likewise.
10026         (__alloc_dir): Likewise.
10027         [IS_IN (rtld)] (__closedir): Likewise.
10028         [IS_IN (rtld)] (__fdopendir): Likewise.
10029         [IS_IN (rtld)] (__readdir): Likewise.
10030         [IS_IN (rtld)] (__readdir64): Likewise.
10031         [IS_IN (rtld)] (__rewinddir): Likewise.
10033         * include/dlfcn.h (_dl_catch_error): Moved to ...
10034         * sysdeps/generic/ldsodefs.h (_dl_catch_error): Add
10035         attribute_hidden.
10037         * sysdeps/generic/_itoa.h (_itoa): Add attribute_hidden.
10038         (_itoa_word): Likewise.
10040         * elf/dl-runtime.c (_dl_fixup): Add attribute_hidden.
10041         * elf/dynamic-link.h (_dl_try_allocate_static_tls): Likewise.
10042         * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): Likewise.
10043         * sysdeps/generic/ldsodefs.h (_dl_name_match_p): Likewise.
10044         (_dl_higher_prime_number): Likewise.
10045         (_dl_debug_printf_c): Likewise.
10046         (_dl_signal_cerror): Likewise.
10047         (_dl_receive_error): Likewise.
10048         (_dl_reloc_bad_type): Likewise.
10049         (_dl_resolve_conflicts): Likewise.
10050         (_dl_check_all_versions): Likewise.
10051         (_dl_check_map_versions): Likewise.
10052         (_dl_sort_fini): Likewise.
10053         (_dl_debug_initialize): Likewise.
10054         (_dl_init_paths): Likewise.
10055         (_dl_show_auxv): Likewise.
10056         (_dl_next_ld_env_entry): Likewise.
10057         (_dl_important_hwcaps): Likewise.
10058         (_dl_load_cache_lookup): Likewise.
10059         (_dl_update_slotinfo): Likewise.
10060         (_dl_show_scope): Likewise.
10062         * sysdeps/generic/memcopy.h (_wordcopy_fwd_aligned): Add
10063         attribute_hidden.
10064         (_wordcopy_fwd_dest_aligned): Likewise.
10065         (_wordcopy_bwd_aligned): Likewise.
10066         (_wordcopy_bwd_dest_aligned): Likewise.
10068         * sysdeps/i386/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
10069         * sysdeps/i386/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
10070         Likewise.
10071         * sysdeps/x86_64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
10072         Likewise.
10073         * sysdeps/x86_64/dl-lookupcfg.h (_dl_unmap): Likewise.
10075 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
10077         * sysdeps/unix/sysv/linux/i386/sysdep.h: Add comments for
10078         GCC 5 requirement.
10080 2015-10-15  Joseph Myers  <joseph@codesourcery.com>
10082         * sysdeps/i386/configure.ac (libc_cv_as_i686): Remove configure
10083         test.
10084         * sysdeps/i386/configure: Regenerated.
10085         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]: Make
10086         code unconditional.
10088         * configure.ac (libc_cv_asm_previous_directive): Remove configure
10089         test.
10090         (libc_cv_asm_popsection_directive): Likewise.
10091         * configure: Regenerated.
10092         * config.h.in (HAVE_ASM_PREVIOUS_DIRECTIVE): Remove #undef.
10093         (HAVE_ASM_POPSECTION_DIRECTIVE): Likewise.
10094         * include/libc-symbols.h [HAVE_ASM_PREVIOUS_DIRECTIVE]
10095         (__make_section_unallocated): Make definition unconditional.
10096         [HAVE_ASM_POPSECTION_DIRECTIVE] (__make_section_unallocated):
10097         Remove conditional definition.
10098         [!HAVE_ASM_PREVIOUS_DIRECTIVE && !HAVE_ASM_POPSECTION_DIRECTIVE]
10099         (__make_section_unallocated): Likewise.
10101         * configure.ac (libc_cv_gcc_static_libgcc): Remove configure test.
10102         * configure: Regenerated.
10103         * config.make.in (static-libgcc): Remove variable.
10104         * Makerules (build-shlib-helper): Use -static-libgcc instead of
10105         $(static-libgcc).
10106         (build-module-helper): Likewise.
10108         * configure.ac (libc_cv_friendly_stddef): Remove configure test.
10109         * configure: Regenerated.
10111 2015-10-15  Florian Weimer  <fweimer@redhat.com>
10113         * stdio-common/vfscanf.c (MEMCPY): Remove macro.
10114         (struct char_buffer): New type.
10115         (char_buffer_start, char_buffer_size, char_buffer_error)
10116         (char_buffer_rewind, char_buffer_add): New functions.
10117         (ADDW): Remove macro, replaced by the char_buffer_add function.
10118         (_IO_vfscanf_internal): Rewrite using struct char_buffer instead
10119         of extend_alloca.  Make control flow more explicit.
10121 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
10123         [BZ #19137]
10124         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
10125         Add -fomit-frame-pointer.
10126         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Remove file.
10128 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
10130         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S
10131         (__libc_do_syscall): Defined only if !__GNUC_PREREQ (5,0).
10132         * sysdeps/unix/sysv/linux/i386/sysdep.h: Define assembler macros
10133         only if !__GNUC_PREREQ (5,0).
10134         (INTERNAL_SYSCALL_MAIN_6): Optimize for GCC 5.
10135         (INTERNAL_SYSCALL_MAIN_INLINE): Likewise.
10136         (INTERNAL_SYSCALL_NCS): Likewise.
10137         (LOADREGS_0): New macro for GCC 5.
10138         (ASMARGS_0): Likewise.
10139         (LOADREGS_1): Likewise.
10140         (ASMARGS_1): Likewise.
10141         (LOADREGS_2): Likewise.
10142         (ASMARGS_2): Likewise.
10143         (LOADREGS_3): Likewise.
10144         (ASMARGS_3): Likewise.
10145         (LOADREGS_4): Likewise.
10146         (ASMARGS_4): Likewise.
10147         (LOADREGS_5): Likewise.
10148         (ASMARGS_5): Likewise.
10149         (LOADREGS_6): Likewise.
10150         (ASMARGS_6): Likewise.
10152 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
10154         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-mmap.c): Add
10155         -fomit-frame-pointer.
10156         (CFLAGS-mmap64.c): Likewise.
10157         (CFLAGS-semtimedop.c): Likewise.
10158         * sysdeps/unix/sysv/linux/i386/mmap.c: New file.
10159         * sysdeps/unix/sysv/linux/i386/mmap.S: Remove file.
10160         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
10161         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
10163 2015-10-15  Florian Weimer  <fweimer@redhat.com>
10165         [BZ #18928]
10166         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Remove
10167         _dl_pointer_guard member.
10168         * elf/rtld.c (_rtld_global_ro): Remove _dl_pointer_guard
10169         initializer.
10170         (security_init): Always set up pointer guard.
10171         (process_envvars): Do not process LD_POINTER_GUARD.
10173 2015-10-14  Joseph Myers  <joseph@codesourcery.com>
10175         [BZ #19134]
10176         * sysdeps/powerpc/powerpc32/fpu/s_lround.S (.LC1): New object.
10177         (.LC2): Likewise.
10178         (.LC3): Likewise.
10179         (__lround): Do not add 0.5 to integer or out-of-range arguments.
10181 2015-10-14  Szabolcs Nagy  <szabolcs.nagy@arm.com>
10183         [BZ #19129]
10184         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save and restore
10185         r0 and r1.
10187 2015-10-14  Namhyung Kim  <namhyung@gmail.com>
10189         * manaual/argp.texi (Specifying Argp Parsers): Fix typo.
10191 2015-10-14  Carlos O'Donell  <carlos@redhat.com>
10193         * include/stap-probe.h: Fix macro definition formatting.
10195 2015-10-14  Florian Weimer  <fweimer@redhat.com>
10197         [BZ #19074]
10198         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use atomics to
10199         load and store num_ifs.
10201 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
10203         [BZ #18822]
10204         * sysdeps/unix/sysv/linux/sched_getaffinity.c
10205         (__sched_getaffinity_new): Add libc_hidden_proto and
10206         libc_hidden_def.
10208 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
10210         [BZ #19007]
10211         * scripts/localplt.awk: Also allow GOT references.
10212         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark
10213         _Unwind_Find_FDE, calloc, memalign, realloc and __libc_memalign
10214         with "+ REL R_386_GLOB_DAT".
10215         * sysdeps/x86_64/localplt.data: Mark calloc, memalign, realloc
10216         and __libc_memalign with "+ RELA R_X86_64_GLOB_DAT".
10218 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
10220         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Use
10221         INLINE_SYSCALL_ERROR_RETURN_VALUE.
10222         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat):
10223         Likewise.
10224         * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
10225         * sysdeps/unix/sysv/linux/i386/seteuid.c (seteuid): Likewise.
10226         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
10227         INTERNAL_SYSCALLINTERNAL_SYSCALL and
10228         INLINE_SYSCALL_ERROR_RETURN_VALUE.
10229         * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
10230         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
10231         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
10232         Likewise.
10233         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
10235 2015-10-13  Joseph Myers  <joseph@codesourcery.com>
10237         [BZ #19125]
10238         * sysdeps/powerpc/powerpc32/fpu/s_llround.c: Include <limits.h>,
10239         <math_private.h> and <stdint.h>.
10240         (__llround): Avoid conversions to and from long long int, and
10241         subtractions, where those might raise spurious exceptions.
10242         * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: Include
10243         <math_private.h> and <stdint.h>.
10244         (__llroundf): Avoid conversions to and from long long int, and
10245         subtractions, where those might raise spurious exceptions.
10247 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
10249         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Use
10250         INLINE_SYSCALL_ERROR_RETURN_VALUE.
10251         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
10252         * sysdeps/unix/sysv/linux/eventfd.c (eventfd): Likewise.
10253         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
10254         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
10255         * sysdeps/unix/sysv/linux/fcntl.c (do_fcntl): Likewise.
10256         * sysdeps/unix/sysv/linux/futimens.c (futimens): Likewise.
10257         * sysdeps/unix/sysv/linux/futimes.c (__futimes): Likewise.
10258         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
10259         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
10260         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
10261         * sysdeps/unix/sysv/linux/lutimes.c (lutimes): Likewise.
10262         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
10263         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
10264         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Likewise.
10265         * sysdeps/unix/sysv/linux/mq_open.c (__mq_open): Likewise.
10266         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
10267         * sysdeps/unix/sysv/linux/prlimit.c (prlimit): Likewise.
10268         * sysdeps/unix/sysv/linux/readahead.c (__readahead): Likewise.
10269         * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
10270         * sysdeps/unix/sysv/linux/signalfd.c (signalfd): Likewise.
10271         * sysdeps/unix/sysv/linux/speed.c (cfsetospeed): Likewise.
10272         * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
10273         * sysdeps/unix/sysv/linux/ustat.c (ustat): Likewise.
10274         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
10275         * sysdeps/unix/sysv/linux/xmknod.c (__xmknod): Likewise.
10276         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
10277         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
10278         * sysdeps/unix/sysv/linux/xstatconv.c (__xstat_conv): Likewise.
10279         (__xstat64_conv): Likewise.
10280         (__xstat32_conv): Likewise.
10282 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
10284         * sysdeps/unix/sysv/linux/sysdep.h: New file.
10285         * sysdeps/unix/sysv/linux/i386/sysdep.c: Likewise.
10286         * sysdeps/unix/sysv/linux/alpha/sysdep.h: Include
10287         <sysdeps/unix/sysv/linux/sysdep.h>.
10288         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
10289         * sysdeps/unix/sysv/linux/generic/sysdep.h: Likewise.
10290         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Likewise.
10291         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
10292         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
10293         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Likewise.
10294         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: Likewise.
10295         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
10296         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
10297         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
10298         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
10299         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
10300         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
10301         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
10302         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
10303         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
10304         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) == csu]
10305         (sysdep-dl-routines): Add sysdep.
10306         [$(subdir) == nptl] (libpthread-routines): Likewise.
10307         [$(subdir) == rt] (librt-routines): Likewise.
10308         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Don't check
10309         PIC when branching to SYSCALL_ERROR_LABEL.
10310         * sysdeps/unix/sysv/linux/i386/sysdep.S: Removed.
10311         * sysdeps/unix/sysv/linux/i386/sysdep.h: Include
10312         <sysdeps/unix/sysv/linux/sysdep.h>.
10313         (SYSCALL_ERROR_LABEL): Changed to __syscall_error.
10314         (SYSCALL_ERROR_ERRNO): Removed.
10315         (SYSCALL_ERROR_HANDLER): Changed to empty.
10316         (SYSCALL_ERROR_HANDLER_TLS_STORE): Likewise.
10317         (__syscall_error): New prototype.
10318         [IS_IN (libc)] (INLINE_SYSCALL): New macro.
10319         (INLINE_SYSCALL_ERROR_RETURN_VALUE): Likewise.
10321 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
10323         [BZ #19124]
10324         * sysdeps/x86_64/dl-trampoline.S [!HAVE_AVX512_ASM_SUPPORT]
10325         (_dl_runtime_resolve_avx512): Make it a hidden alias of
10326         _dl_runtime_resolve_avx.
10327         (_dl_runtime_profile_avx512): Make it a hidden alias of
10328         _dl_runtime_profile_avx.
10330 2015-10-13  Joseph Myers  <joseph@codesourcery.com>
10332         * sysdeps/powerpc/fpu/s_llround.c: Move to ....
10333         * sysdeps/powerpc/powerpc32/fpu/s_llround.c: ...here.
10334         * sysdeps/powerpc/fpu/s_llroundf.c: Move to ....
10335         * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: ...here.
10337         [BZ #16422]
10338         * sysdeps/powerpc/powerpc32/fpu/configure.ac (libc_cv_ppc_fctidz):
10339         New configure test.
10340         * sysdeps/powerpc/powerpc32/fpu/configure: Regenerated.
10341         * config.h.in [_LIBC] (HAVE_PPC_FCTIDZ): New macro.
10342         * sysdeps/powerpc/powerpc32/fpu/s_llrint.c: Include <limits.h>,
10343         <math_private.h> and <stdint.h>.
10344         (__llrint): Avoid conversions to long long int where those might
10345         raise spurious exceptions.
10346         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Include
10347         <math_private.h> and <stdint.h>.
10348         (__llrintf): Avoid conversions to long long int where those might
10349         raise spurious exceptions.
10351 2015-10-12  Andreas Schwab  <schwab@suse.de>
10353         [BZ #18969]
10354         * debug/Makefile (LOCALES): Define.  Include gen-locales.mk.
10355         ($(objpfx)tst-chk1.out): Depend on $(gen-locales).
10356         * iconvdata/Makefile (LOCALES): Define.  Include gen-locales.mk.
10357         ($(objpfx)bug-iconv6.out, $(objpfx)tst-iconv7.out): Depend on
10358         $(gen-locales).
10359         * intl/Makefile (LOCALES): Define.  Include gen-locales.mk.
10360         ($(objpfx)tst-codeset.out, $(objpfx)tst-gettext.out)
10361         ($(objpfx)tst-gettext2.out, $(objpfx)tst-gettext3.out)
10362         ($(objpfx)tst-gettext4.out, $(objpfx)tst-gettext5.out)
10363         ($(objpfx)tst-gettext6.out, $(objpfx)tst-translit.out): Depend on
10364         $(gen-locales).
10365         * libio/Makefile (LOCALES): Define.  Include gen-locales.mk.
10366         ($(objpfx)bug-ftell.out, $(objpfx)bug-ungetwc1.out)
10367         ($(objpfx)bug-ungetwc2.out, $(objpfx)tst-fgetwc.out)
10368         ($(objpfx)tst-fgetws.out, $(objpfx)tst-fopenloc.out)
10369         ($(objpfx)tst-fputws.out, $(objpfx)tst-fseek.out)
10370         ($(objpfx)tst-ftell-active-handler.out)
10371         ($(objpfx)tst-ftell-append.out)
10372         ($(objpfx)tst-ftell-partial-wide.out, $(objpfx)tst-setvbuf1.out)
10373         ($(objpfx)tst-swscanf.out, $(objpfx)tst-ungetwc1.out)
10374         ($(objpfx)tst-ungetwc2.out, $(objpfx)tst-widetext.out)
10375         ($(objpfx)tst_wprintf2.out): Depend on $(gen-locales).
10376         * posix/Makefile (LOCALES): Define.  Include gen-locales.mk.
10377         ($(objpfx)bug-regex1.out, $(objpfx)bug-regex4.out)
10378         ($(objpfx)bug-regex5.out, $(objpfx)bug-regex6.out)
10379         ($(objpfx)bug-regex17.out, $(objpfx)bug-regex18.out)
10380         ($(objpfx)bug-regex19.out, $(objpfx)bug-regex20.out)
10381         ($(objpfx)bug-regex22.out, $(objpfx)bug-regex23.out)
10382         ($(objpfx)bug-regex25.out, $(objpfx)bug-regex26.out)
10383         ($(objpfx)bug-regex30.out, $(objpfx)bug-regex32.out)
10384         ($(objpfx)bug-regex33.out, $(objpfx)bug-regex34.out)
10385         ($(objpfx)bug-regex35.out, $(objpfx)tst-fnmatch.out)
10386         ($(objpfx)tst-fnmatch4.out, $(objpfx)tst-fnmatch5.out)
10387         ($(objpfx)tst-regex.out, $(objpfx)tst-regex2.out)
10388         ($(objpfx)tst-regexloc.out, $(objpfx)tst-rxspencer.out)
10389         ($(objpfx)tst-rxspencer-no-utf8.out): Depend on $(gen-locales).
10390         * stdio-common/Makefile (LOCALES): Define.  Include gen-locales.mk.
10391         ($(objpfx)bug14.out, $(objpfx)scanf13.out)
10392         ($(objpfx)test-vfprintf.out, $(objpfx)tst-grouping.out)
10393         ($(objpfx)tst-sprintf.out, $(objpfx)tst-sscanf.out)
10394         ($(objpfx)tst-swprintf.out): Depend on $(gen-locales).
10395         * stdlib/Makefile (LOCALES): Define.  Include gen-locales.mk.
10396         ($(objpfx)bug-strtod2.out, $(objpfx)testmb2.out)
10397         ($(objpfx)tst-strtod.out, $(objpfx)tst-strtod3.out)
10398         ($(objpfx)tst-strtod4.out, $(objpfx)tst-strtod5.out): Depend on
10399         $(gen-locales).
10400         * time/Makefile (LOCALES): Define.  Include gen-locales.mk.
10401         ($(objpfx)tst-ftime_l.out, $(objpfx)tst-strptime.out): Depend on
10402         $(gen-locales).
10403         * wcsmbs/Makefile (LOCALES): Define.  Include gen-locales.mk.
10404         ($(objpfx)tst-btowc.out, $(objpfx)tst-c16c32-1.out)
10405         ($(objpfx)tst-mbrtowc.out, $(objpfx)tst-mbrtowc2.out)
10406         ($(objpfx)tst-wcrtomb.out, $(objpfx)wcsmbs-tst1.out): Depend on
10407         $(gen-locales).
10408         * libio/tst_wprintf2.c (main): Use explicit locale.
10409         * wcsmbs/wcsmbs-tst1.c (main): Likewise.
10411 2015-10-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10413         * hurd/hurd-raise.c (_hurd_raise_signal): Return error returned by
10414         __msg_sig_post.
10415         * hurd/hurd/signal.h (_hurd_raise_signal): Add int return type.
10417 2015-10-09  Joseph Myers  <joseph@codesourcery.com>
10419         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
10420         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
10422         * sysdeps/arm/libm-test-ulps: Regenerated.
10424         [BZ #15470]
10425         * sysdeps/arm/fix-fp-int-convert-overflow.h: New file.
10427         [BZ #16399]
10428         * sysdeps/generic/fix-fp-int-convert-overflow.h: New file.
10429         * sysdeps/ieee754/dbl-64/s_llrint.c: Include <fenv.h>, <limits.h>
10430         and <fix-fp-int-convert-overflow.h>.
10431         (__llrint) [FE_INVALID]: Force FE_INVALID exception as needed if
10432         FIX_DBL_LLONG_CONVERT_OVERFLOW.
10433         * sysdeps/ieee754/dbl-64/s_llround.c: Include <fenv.h>, <limits.h>
10434         and <fix-fp-int-convert-overflow.h>.
10435         (__llround) [FE_INVALID]: Force FE_INVALID exception as needed if
10436         FIX_DBL_LLONG_CONVERT_OVERFLOW.
10437         * sysdeps/ieee754/dbl-64/s_lrint.c: Include
10438         <fix-fp-int-convert-overflow.h>.
10439         (__lrint) [FE_INVALID]: Force FE_INVALID exception as needed if
10440         FIX_DBL_LLONG_CONVERT_OVERFLOW.
10441         * sysdeps/ieee754/dbl-64/s_lround.c: Include
10442         <fix-fp-int-convert-overflow.h>.
10443         (__lround) [FE_INVALID]: Force FE_INVALID exception as needed if
10444         FIX_DBL_LLONG_CONVERT_OVERFLOW.
10445         * sysdeps/ieee754/flt-32/s_llrintf.c: Include <fenv.h>, <limits.h>
10446         and <fix-fp-int-convert-overflow.h>.
10447         (__llrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
10448         FIX_DBL_LLONG_CONVERT_OVERFLOW.
10449         * sysdeps/ieee754/flt-32/s_llroundf.c: Include <fenv.h>,
10450         <limits.h> and <fix-fp-int-convert-overflow.h>.
10451         (__llroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
10452         FIX_DBL_LLONG_CONVERT_OVERFLOW.
10453         * sysdeps/ieee754/flt-32/s_lrintf.c: Include <fenv.h>, <limits.h>
10454         and <fix-fp-int-convert-overflow.h>.
10455         (__lrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
10456         FIX_DBL_LLONG_CONVERT_OVERFLOW.
10457         * sysdeps/ieee754/flt-32/s_lroundf.c: Include <fenv.h>, <limits.h>
10458         and <fix-fp-int-convert-overflow.h>.
10459         (__lroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
10460         FIX_DBL_LLONG_CONVERT_OVERFLOW.
10461         * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h: New file.
10463 2015-10-09  Carlos O'Donell  <carlos@redhat.com>
10465         [BZ #18589]
10466         * string/bug-strcoll2.c: Adjust copyright, and remove contributed by.
10467         * string/Makefile ($(objpfx)bug-strcoll2.out): Depend on
10468         $(gen-locales).
10470 2015-10-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10471             Phil Blundell <pb@pbcl.net>
10473         * nptl/Makefile (tests): Add tst-cancel26.c and tst-cancel27.c.
10474         * nptl/tst-cancel26.c: New file.
10475         * nptl/tst-cancel27.c: Likewise.
10477 2015-10-09  H.J. Lu  <hongjiu.lu@intel.com>
10479         * sysdeps/x86_64/fpu/s_llrint.S (__lrint): Add alias only if
10480         __ILP32__ isn't defined.
10481         (lrint): Likewise.
10482         * sysdeps/x86_64/fpu/s_llrintf.S (__lrintf): Likewise.
10483         (lrintf): Likewise.
10484         * sysdeps/x86_64/fpu/s_llrintl.S (__lrintl): Likewise.
10485         (lrintl): Likewise.
10486         * sysdeps/x86_64/x32/fpu/s_lrint.S: New file.
10487         * sysdeps/x86_64/x32/fpu/s_lrintf.S: Likewise.
10488         * sysdeps/x86_64/x32/fpu/s_lrintl.S: Likewise.
10490 2015-10-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10492         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
10493         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
10495         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: Remove
10496         file.
10497         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Likewise.
10498         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
10500 2015-10-09  Joseph Myers  <joseph@codesourcery.com>
10502         * sysdeps/i386/configure.ac (libc_cv_cc_novzeroupper): Remove
10503         configure test.
10504         * sysdeps/i386/configure: Regenerated.
10505         * sysdeps/x86_64/configure.ac (libc_cv_cc_novzeroupper): Remove
10506         configure test.
10507         * sysdeps/x86_64/configure: Regenerated.
10508         * sysdeps/x86_64/Makefile [$(config-cflags-novzeroupper) = yes]:
10509         Make code unconditional.
10511         * sysdeps/i386/configure.ac (libc_cv_cc_fma4): Remove configure
10512         test.
10513         * sysdeps/i386/configure: Regenerated.
10514         * sysdeps/x86_64/configure.ac (libc_cv_cc_fma4): Remove configure
10515         test.
10516         * sysdeps/x86_64/configure: Regenerated.
10517         * sysdeps/x86_64/fpu/multiarch/Makefile [$(have-mfma4) = yes]:
10518         Make code unconditional.
10519         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
10520         Likewise.
10521         * sysdeps/x86_64/fpu/multiarch/e_atan2.c [HAVE_FMA4_SUPPORT]:
10522         Likewise.
10523         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
10524         * sysdeps/x86_64/fpu/multiarch/e_exp.c [HAVE_FMA4_SUPPORT]: Make
10525         code unconditional.
10526         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
10527         * sysdeps/x86_64/fpu/multiarch/e_log.c [HAVE_FMA4_SUPPORT]: Make
10528         code unconditional.
10529         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
10530         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]: Make
10531         code unconditional.
10532         * sysdeps/x86_64/fpu/multiarch/s_atan.c [HAVE_FMA4_SUPPORT]: Make
10533         code unconditional.
10534         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
10535         * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_FMA4_SUPPORT]: Make
10536         code unconditional.
10537         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
10538         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_FMA4_SUPPORT]: Make
10539         code unconditional.
10540         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
10541         * sysdeps/x86_64/fpu/multiarch/s_sin.c [HAVE_FMA4_SUPPORT]: Make
10542         code unconditional.
10543         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
10544         * sysdeps/x86_64/fpu/multiarch/s_tan.c [HAVE_FMA4_SUPPORT]: Make
10545         code unconditional.
10546         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
10547         * config.h.in (HAVE_FMA4_SUPPORT): Remove #undef.
10549         [BZ #19095]
10550         * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Cast low part of
10551         mantissa to long int before shifting left.
10553 2015-10-08  Joseph Myers  <joseph@codesourcery.com>
10555         [BZ #19094]
10556         * sysdeps/ieee754/dbl-64/s_lrint.c: Include <fenv.h> and
10557         <limits.h>.
10558         (__lrint) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
10559         when result overflows but exception would not result from cast.
10560         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Include <fenv.h> and
10561         <limits.h>.
10562         (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
10563         when result overflows but exception would not result from cast.
10564         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Include <fenv.h> and
10565         <limits.h>.
10566         (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
10567         when result overflows but exception would not result from cast.
10568         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Include <fenv.h> and
10569         <limits.h>.
10570         (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
10571         when result overflows but exception would not result from cast.
10572         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Include <fenv.h> and
10573         <limits.h>.
10574         (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
10575         when result overflows but exception would not result from cast.
10576         * math/libm-test.inc (lrint_test_data): Add more tests.
10577         (llrint_test_data): Likewise.
10579 2015-10-08  Roland McGrath  <roland@hack.frob.com>
10581         [BZ #18872]
10582         * stdio-common/Makefile ($(objpfx)tst-unbputc.out):
10583         Move out from under [$(run-built-tests) = yes] conditional.
10584         ($(objpfx)tst-printf.out, $(objpfx)tst-printf-bz18872.c): Likewise.
10585         ($(objpfx)tst-printf-bz18872-mem.out): Likewise.
10587 2015-10-08  Carlos O'Donell  <carlos@redhat.com>
10589         [BZ #18589]
10590         * string/Makefile (tests): Add bug-strcoll2.
10591         (LOCALES): Add cs_CZ.UTF-8.
10592         * string/bug-strcoll2.c (test_cs_CZ): Fix typo in FAIL string.
10594         [BZ #18589]
10595         * string/bug-strcoll2.c: New file.
10596         * locale/categories.def: Revert commit
10597         f13c2a8dff2329c6692a80176262ceaaf8a6f74e.
10598         * locale/langinfo.h: Likewise.
10599         * locale/localeinfo.h: Likewise.
10600         * locale/C-collate.c: Likewise.
10601         * locale/programs/ld-collate.c (collate_output): Likewise.
10602         * string/strcoll_l.c (STRDIFF): Likewise.
10603         (STRCOLL): Likewise.
10604         * wcsmbs/wcscoll_l.c: Likewise.
10606 2015-10-08  Joseph Myers  <joseph@codesourcery.com>
10608         * math/libm-test.inc (lround_test_data): Do not expect the absence
10609         of "inexact" for some tests with non-integer arguments.
10610         (llround_test_data): Likewise.
10612         * sysdeps/i386/configure.ac (libc_cv_cc_avx): Remove configure
10613         test.
10614         (libc_cv_cc_sse2avx): Likewise.
10615         * sysdeps/i386/configure: Regenerated.
10616         * sysdeps/i386/i686/multiarch/Makefile
10617         [$(subdir)$(config-cflags-avx) = mathyes]: Change conditional to
10618         [$(subdir) = math].
10619         * sysdeps/i386/i686/multiarch/s_fma-fma.c [HAVE_AVX_SUPPORT]: Make
10620         code unconditional.
10621         * sysdeps/i386/i686/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
10622         Likewise.
10623         * sysdeps/i386/i686/multiarch/s_fmaf-fma.c [HAVE_AVX_SUPPORT]:
10624         Likewise.
10625         * sysdeps/i386/i686/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
10626         Likewise.
10627         * sysdeps/x86_64/configure.ac (libc_cv_cc_avx): Remove configure
10628         test.
10629         (libc_cv_cc_sse2avx): Likewise.
10630         * sysdeps/x86_64/configure: Regenerated.
10631         * sysdeps/x86_64/Makefile [$(config-cflags-avx) = yes]: Make code
10632         unconditional.
10633         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_profile)
10634         [HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT]: Make code
10635         unconditional.
10636         (_dl_runtime_profile)
10637         [!(HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT)]: Remove
10638         conditional code.
10639         * sysdeps/x86_64/fpu/multiarch/Makefile
10640         [$(config-cflags-sse2avx) = yes]: Make code unconditional.
10641         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
10642         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
10643         * sysdeps/x86_64/fpu/multiarch/e_exp.c
10644         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
10645         * sysdeps/x86_64/fpu/multiarch/e_log.c
10646         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
10647         * sysdeps/x86_64/fpu/multiarch/s_atan.c
10648         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
10649         * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
10650         Likewise.
10651         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
10652         Likewise.
10653         * sysdeps/x86_64/fpu/multiarch/s_sin.c
10654         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
10655         * sysdeps/x86_64/fpu/multiarch/s_tan.c
10656         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
10657         * sysdeps/x86_64/multiarch/strcmp.S [HAVE_AVX_SUPPORT]: Likewise.
10658         * config.h.in (HAVE_AVX_SUPPORT): Remove #undef.
10659         (HAVE_SSE2AVX_SUPPORT): Likewise.
10661 2015-10-07  Paul Pluzhnikov  <ppluzhnikov@google.com>
10663         * stdio-common/tst-printf-bz18872.sh: Use attribute optimize
10664         instead of #pragma optimize.
10666 2015-10-07  Carlos O'Donell  <carlos@redhat.com>
10668         [BZ #17195]
10669         * malloc/arena.c (heap_trim): Apply trim_treshold to top_chunck size,
10670         as is similarly done in systrim and _int_free already.
10672 2015-10-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10674         * sysdeps/mach/configure.ac (mach_interface_list): Add task_notify.
10676 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
10678         [BZ #19088]
10679         * sysdeps/ieee754/dbl-64/s_lround.c: Include <fenv.h> and
10680         <limits.h>.
10681         (__lround) [FE_INVALID]: Force FE_INVALID exception when result
10682         overflows but exception would not result from cast.
10683         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Include <fenv.h>
10684         and <limits.h>.
10685         (__lround) [FE_INVALID]: Force FE_INVALID exception when result
10686         overflows but exception would not result from cast.
10687         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Include <fenv.h> and
10688         <limits.h>.
10689         (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
10690         overflows but exception would not result from cast.
10691         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Include <fenv.h> and
10692         <limits.h>.
10693         (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
10694         overflows but exception would not result from cast.
10695         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Include <fenv.h> and
10696         <limits.h>.
10697         (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
10698         overflows but exception would not result from cast.
10699         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Include <fenv.h> and
10700         <limits.h>.
10701         (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
10702         overflows but exception would not result from cast.
10703         * math/libm-test.inc (lround_test_data): Add more tests.
10704         (llround_test_data): Likewise.
10706 2015-10-07  Steve Ellcey  <sellcey@imgtec.com>
10708         * timezone/Makefile (CFLAGS-zic.c): Add -Wno-unused-variable.
10709         (CFLAGS-ialloc.c): Ditto.
10710         (CFLAGS-scheck.c): Ditto.
10712 2015-10-07  Carlos O'Donell  <carlos@redhat.com>
10714         [BZ #19086]
10715         * manual/filesys.texi (Storage Allocation): Fix argument order for
10716         posix_fallocate64.
10718 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
10720         [BZ #19085]
10721         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Move test for
10722         exponent below 48 inside case for non-overflowing exponent.
10723         * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl): Likewise.
10725 2015-10-07  Florian Weimer  <fweimer@redhat.com>
10727         * iconvdata/cp737.h (from_idx): Add const.
10728         * iconvdata/cp775.h (from_idx): Likewise.
10730 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
10732         * sysdeps/mips/mips64/Implies: Use ieee754/dbl-64/wordsize-64.
10733         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c
10734         (__issignaling) [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Remove #error.
10736         [BZ #19079]
10737         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Restore previous
10738         file, conditioned on [!_LP64].
10739         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c
10740         [!_LP64] (__lround): Do not define as function or alias.
10741         [!_LP64] (lround): Likewise.
10742         [!_LP64] (__lroundl): Likewise.
10743         [!_LP64] (lroundl): Likewise.
10744         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Remove
10745         macro.
10746         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
10747         Likewise.
10749 2015-10-06  Joseph Myers  <joseph@codesourcery.com>
10751         * math/libm-test.inc (lrint_test_data): Add more tests.
10752         (llrint_test_data): Likewise.
10753         (lround_test_data): Likewise.
10754         (llround_test_data): Likewise.
10756         * math/libm-test.inc (lrint_test_data): Add tests used for llrint.
10757         (llrint_test_data): Add tests used for lrint.
10759         * sysdeps/i386/configure.ac (libc_cv_cc_sse4): Remove configure
10760         test.
10761         * sysdeps/i386/configure: Regenerated.
10762         * sysdeps/i386/i686/multiarch/Makefile
10763         [$(config-cflags-sse4) = yes]: Make code unconditional.
10764         * sysdeps/i386/i686/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
10765         Likewise.
10766         * sysdeps/i386/i686/multiarch/strspn.S [HAVE_SSE4_SUPPORT]:
10767         Likewise.
10768         * sysdeps/x86_64/configure.ac (libc_cv_cc_sse4): Remove configure
10769         test.
10770         * sysdeps/x86_64/configure: Regenerated.
10771         * sysdeps/x86_64/multiarch/Makefile [$(config-cflags-sse4) = yes]:
10772         Make code unconditional.
10773         * sysdeps/x86_64/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
10774         Likewise.
10775         * sysdeps/x86_64/multiarch/strspn.S [HAVE_SSE4_SUPPORT]: Likewise.
10776         * config.h.in (HAVE_SSE4_SUPPORT): Remove #undef.
10778         * scripts/rpm2dynsym.sh: Remove file.
10780 2015-10-06  Florian Weimer  <fweimer@redhat.com>
10782         * configure.ac (libc_cv_cxx_thread_local): Define.
10783         * configure: Regenerate.
10784         * config.make.in (have-cxx-thread_local): Define.
10785         * nptl/Makefile (CFLAGS-tst-thread_local1.o):
10786         (LDLIBS-tst-thread_local1): Define.
10787         (tests): Add tst-thread_local1.
10788         [have-cxx-thread_local != yes] (tests-unsupported): Add
10789         tst-thread_local1.
10790         * nptl/tst-thread_local1.cc: New file.
10792 2015-10-06  Joseph Myers  <joseph@codesourcery.com>
10794         [BZ #19078]
10795         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (o_thres): Remove variable.
10796         (u_thres): Likewise.
10797         (__expl): Determine whether to call __kernel_standard_l based on
10798         value of result, not argument.
10800         * math/libm-test.inc (scalb_test_data): Add more expectations for
10801         the "inexact" exception.
10803         [BZ #19077]
10804         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Return
10805         0.0L for argument 1.0L.
10807         [BZ #19076]
10808         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Divide by
10809         constant 0.0L when computing infinite result.
10811 2015-10-06  Florian Weimer  <fweimer@redhat.com>
10813         [BZ #10432]
10814         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Remove call to
10815         malloc_usable_size.
10817 2015-10-06  Florian Weimer  <fweimer@redhat.com>
10819         [BZ #19018]
10820         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
10821         Mangle function pointer before storing it.
10822         (__call_tls_dtors): Demangle function pointer before calling it.
10824 2015-10-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
10826         [BZ #19012]
10827         * iconv/gconv_db.c (gen_steps): Check for additional errors.
10828         Clean up on failure.
10830 2015-10-05  Joseph Myers  <joseph@codesourcery.com>
10832         [BZ #19071]
10833         * sysdeps/ieee754/ldbl-96/s_lroundl.c (__lroundl): Use unsigned
10834         long int variable to store possibly incremented high part of
10835         mantissa.
10836         * math/libm-test.inc (lround_test_data): Add tests used for
10837         llround.  Use [LONG_MAX > 0x7fffffff] consistently as condition
10838         for tests requiring 64-bit long.  Do not condition tests on
10839         [TEST_FLOAT] unnecessarily.
10840         (llround_test_data): Add tests used for lround.  Add another
10841         expectation for the "inexact" exception.  Do not condition tests
10842         on [TEST_FLOAT] unnecessarily.
10844         [BZ #887]
10845         [BZ #19049]
10846         [BZ #19050]
10847         * sysdeps/generic/fix-int-fp-convert-zero.h: New file.
10848         * sysdeps/ieee754/dbl-64/e_log10.c: Include
10849         <fix-int-fp-convert-zero.h>.
10850         (__ieee754_log10): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
10851         * sysdeps/ieee754/dbl-64/e_log2.c: Include
10852         <fix-int-fp-convert-zero.h>.
10853         (__ieee754_log2): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
10854         * sysdeps/ieee754/dbl-64/s_erf.c: Include
10855         <fix-int-fp-convert-zero.h>.
10856         (__erfc): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
10857         * sysdeps/ieee754/dbl-64/s_logb.c: Include
10858         <fix-int-fp-convert-zero.h>.
10859         (__logb): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
10860         * sysdeps/ieee754/flt-32/e_log10f.c: Include
10861         <fix-int-fp-convert-zero.h>.
10862         (__ieee754_log10f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
10863         * sysdeps/ieee754/flt-32/e_log2f.c: Include
10864         <fix-int-fp-convert-zero.h>.
10865         (__ieee754_log2f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
10866         * sysdeps/ieee754/flt-32/s_erff.c: Include
10867         <fix-int-fp-convert-zero.h>.
10868         (__erfcf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
10869         * sysdeps/ieee754/flt-32/s_logbf.c: Include
10870         <fix-int-fp-convert-zero.h>.
10871         (__logbf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
10872         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include
10873         <fix-int-fp-convert-zero.h>.
10874         (__erfcl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
10875         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Include
10876         <fix-int-fp-convert-zero.h>.
10877         (__logbl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
10878         * sysdeps/powerpc/powerpc32/fpu/configure.ac: New file.
10879         * sysdeps/powerpc/powerpc32/fpu/configure: New generated file.
10880         * sysdeps/powerpc/powerpc32/fpu/fix-int-fp-convert-zero.h: New
10881         file.
10882         * config.h.in [_LIBC] (HAVE_PPC_FCFID): New macro.
10884 2015-10-03  Paul Pluzhnikov  <ppluzhnikov@google.com>
10886         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
10888 2015-10-02  Joseph Myers  <joseph@codesourcery.com>
10890         [BZ #19059]
10891         * math/s_nexttowardf.c (__nexttowardf): Do not return value from
10892         overflowing computation.
10893         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
10894         * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
10895         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
10896         Likewise.
10897         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
10898         Likewise.
10899         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
10900         Likewise.
10901         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
10902         Likewise.
10903         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
10904         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
10905         Likewise.
10906         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
10907         Likewise.
10908         * math/libm-test.inc (nexttoward_test_data): Add more tests.
10910         * nss/rewrite_field.c (__nss_rewrite_field): Use
10911         internal_function.
10912         * nss/valid_field.c (__nss_valid_field): Likewise.
10913         * nss/valid_list_field.c (__nss_valid_list_field): Likewise.
10915 2015-10-02  Florian Weimer  <fweimer@redhat.com>
10917         [BZ #18724]
10918         * include/nss.h (NSS_INVALID_FIELD_CHARACTERS): Define.
10919         (__nss_invalid_field_characters, __nss_valid_field)
10920         (__nss_valid_list_field, __nss_rewrite_field): Declare.
10921         * nss/valid_field.c, nss/valid_list_field, nss/rewrite_field.c,
10922         tst-field.c: New file.
10923         * nss/Makefile (routines): Add valid_field, rewrite_field.
10924         (tests-static): Define unconditionally.
10925         (tests): Include tests-static.
10926         [build-static-nss] (tests-static): Use append.
10927         [build-static-nss] (tests): Remove modification.
10928         * nss/getent.c (print_group): Call putgrent.  Report error.
10929         (print_gshadow): Call putsgent.  Report error.
10930         (print_passwd): Call putpwent.  Report error.
10931         (print_shadow): Call putspent.  Report error.
10932         * include/pwd.h: Include <nss.h> instead of <nss/nss.h>.
10933         * pwd/pwd.h (putpwent): Remove incorrect nonnull attribute.
10934         * pwd/putpwent.c (putpwent): Use ISO function definition.  Check
10935         name, password, directory, shell fields for valid syntax.  Rewrite
10936         GECOS field to match syntax.
10937         * pwd/Makefile (tests): Add tst-putpwent.
10938         * pwd/tst-putpwent.c: New file.
10939         * grp/putgrent.c (putgrent): Convert to ISO function definition.
10940         Check grName, grpasswd, gr_mem fields for valid syntax.
10941         Change loop variable i to size_t.
10942         * grp/Makefile (tests): Add tst-putgrent.
10943         * grp/tst-putgrent.c: New file.
10944         * shadow/putspent.c (putspent): Check sp_namp, sp_pwdp fields for
10945         valid syntax.
10946         * shadow/Makefile (tests): Add tst-putspent.
10947         * shadow/tst-putspent.c: New file.
10948         * gshadow/putsgent.c (putsgent): Check sg_namp, sg_passwd, sg_adm,
10949         sg_mem fields for valid syntax.
10950         * gshadow/Makefile (tests): Add tst-putsgent.
10951         * gshadow/tst-putsgent.c: New file.
10953 2015-10-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
10955         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Added comments to some
10956         assembly instructions.
10958 2015-10-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
10960         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Remove or add register
10961         prefix from operands.
10963 2015-10-01  Joseph Myers  <joseph@codesourcery.com>
10965         [BZ #16347]
10966         [BZ #19046]
10967         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Do not include
10968         <libc-internal.h>.
10969         (MAXLGM): Do not use diagnostic control macros.
10970         [LDBL_MANT_DIG == 106] (MAXLGM): Change value to overflow
10971         threshold for ldbl-128ibm.
10972         (__ieee754_lgammal_r): For large arguments, multiply by log - 1
10973         instead of multiplying by log then subtracting.
10974         * math/auto-libm-test-in: Add more tests of lgamma.
10975         * math/auto-libm-test-out: Regenerated.
10977         * math/libm-test.inc (TYPE_DECIMAL_DIG): New macro.
10978         (TYPE_HEX_DIG): Likewise.
10979         (print_float): Use TYPE_DECIMAL_DIG - 1 and TYPE_HEX_DIG - 1 as
10980         precisions when printing floating-point numbers.
10981         (check_float_internal): Likewise.
10983 2015-09-30  Joseph Myers  <joseph@codesourcery.com>
10985         [BZ #16620]
10986         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (log10_high): Use value
10987         of log (10) rounded downward to 48 bits.
10988         (log10_low): Use corresponding low part of log (10).
10990         [BZ #19032]
10991         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): For arguments < 1,
10992         compute result as (x - x) / (x - x) not as 0 / 0.
10993         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
10994         * math/libm-test.inc (acosh_test_data): Add another test of acosh.
10996         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
10997         atan, atan2, atanh, cbrt, cos, cosh, erf, erfc, exp, exp10, exp2
10998         and expm1.
10999         * math/auto-libm-test-out: Regenerated.
11000         * math/libm-test.inc (acos_test_data): Add more tests.
11001         (asin_test_data): Likewise.
11002         (asinh_test_data): Likewise.
11003         (atan_test_data): Likewise.
11004         (atanh_test_data): Likewise.
11005         (atan2_test_data): Likewise.
11006         (cbrt_test_data): Likewise.
11007         (ceil_test_data): Likewise.
11008         (copysign_test_data): Likewise.
11009         (cos_test_data): Likewise.
11010         (cosh_test_data): Likewise.
11011         (erf_test_data): Likewise.
11012         (erfc_test_data): Likewise.
11013         (exp_test_data): Likewise.
11014         (exp10_test_data): Likewise.
11015         (exp2_test_data): Likewise.
11016         (expm1_test_data): Likewise.
11017         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11019 2015-09-30  H.J. Lu  <hongjiu.lu@intel.com>
11021         [BZ #19006]
11022         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved
11023         to ...
11024         * sysdeps/unix/sysv/linux/i386/libc-lowlevellock.S: Here.
11025         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: Moved
11026         to ...
11027         * sysdeps/unix/sysv/linux/i386/lll_timedlock_wait.c: Here.
11028         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: Moved
11029         to ...
11030         * sysdeps/unix/sysv/linux/i386/lll_timedwait_tid.c: Here.
11031         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved to ...
11032         * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Here.
11033         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved
11034         to ...
11035         * sysdeps/unix/sysv/linux/i386/lowlevelrobustlock.S: Here.
11036         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
11037         Moved to ...
11038         * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Here.
11039         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
11040         Moved to ...
11041         * sysdeps/unix/sysv/linux/i386/pthread_cond_broadcast.S: Here.
11042         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: Moved
11043         to ...
11044         * sysdeps/unix/sysv/linux/i386/pthread_cond_signal.S: Here.
11045         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
11046         Moved to ...
11047         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Here.
11048         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved
11049         to ...
11050         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Here.
11051         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S:
11052         Removed.
11053         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c:
11054         Likewise.
11055         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c:
11056         Likewise.
11057         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Likewise.
11058         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S:
11059         Likewise.
11060         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
11061         Likewise.
11062         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
11063         Likewise.
11064         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
11065         Likewise.
11066         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
11067         Likewise.
11068         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S:
11069         Likewise.
11070         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S:
11071         Likewise.
11072         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c:
11073         Likewise.
11074         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c:
11075         Likewise.
11076         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Likewise.
11077         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S:
11078         Likewise.
11079         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
11080         Likewise.
11081         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
11082         Likewise.
11083         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
11084         Likewise.
11085         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S:
11086         Likewise.
11087         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
11088         Replace ../i486/pthread_cond_timedwait.S with
11089         ../pthread_cond_timedwait.S.
11091 2015-09-30  Joseph Myers  <joseph@codesourcery.com>
11093         * math/libm-test.inc (acos_test_data): Refine expectations for
11094         errno and "inexact" exceptions.
11095         (acosh_test_data): Likewise.
11096         (asin_test_data): Likewise.
11097         (asinh_test_data): Likewise.
11098         (atan_test_data): Likewise.
11099         (atanh_test_data): Likewise.
11100         (atan2_test_data): Likewise.
11101         (cbrt_test_data): Likewise.
11102         (ceil_test_data): Likewise.
11103         (copysign_test_data): Likewise.
11104         (cosh_test_data): Likewise.
11105         (erf_test_data): Likewise.
11106         (erfc_test_data): Likewise.
11107         (exp_test_data): Likewise.
11108         (exp10_test_data): Likewise.
11109         (exp2_test_data): Likewise.
11110         (expm1_test_data): Likewise.
11111         (fabs_test_data): Likewise.
11112         (floor_test_data): Likewise.
11113         (fma_test_data): Likewise.
11114         (fmax_test_data): Likewise.
11115         (fmin_test_data): Likewise.
11116         (fmod_test_data): Likewise.
11117         (fpclassify_test_data): Likewise.
11118         (frexp_test_data): Likewise.
11119         (hypot_test_data): Likewise.
11120         (ilogb_test_data): Likewise.
11121         (isgreater_test_data): Likewise.
11122         (isgreaterequal_test_data): Likewise.
11123         (isinf_test_data): Likewise.
11124         (isless_test_data): Likewise.
11125         (islessequal_test_data): Likewise.
11126         (islessgreater_test_data): Likewise.
11127         (isnan_test_data): Likewise.
11128         (isnormal_test_data): Likewise.
11129         (issignaling_test_data): Likewise.
11130         (isunordered_test_data): Likewise.
11131         (j0_test_data): Likewise.
11132         (j1_test_data): Likewise.
11133         (jn_test_data): Likewise.
11134         (lgamma_test_data): Likewise.
11135         (lrint_test_data): Likewise.
11136         (llrint_test_data): Likewise.
11137         (log_test_data): Likewise.
11138         (log10_test_data): Likewise.
11139         (log1p_test_data): Likewise.
11140         (log2_test_data): Likewise.
11141         (logb_test_data): Likewise.
11142         (lround_test_data): Likewise.
11143         (llround_test_data): Likewise.
11144         (modf_test_data): Likewise.
11145         (nearbyint_test_data): Likewise.
11146         (nextafter_test_data): Likewise.
11147         (nexttoward_test_data): Likewise.
11148         (pow_test_data): Likewise.
11149         (remainder_test_data): Likewise.
11150         (remquo_test_data): Likewise.
11151         (rint_test_data): Likewise.
11152         (round_test_data): Likewise.
11153         (signbit_test_data): Likewise.
11154         (sinh_test_data): Likewise.
11155         (sqrt_test_data): Likewise.
11156         (tanh_test_data): Likewise.
11157         (tgamma_test_data): Likewise.
11158         (trunc_test_data): Likewise.
11159         (y0_test_data): Likewise.
11160         (y1_test_data): Likewise.
11161         (yn_test_data): Likewise.
11162         (significand_test_data): Likewise.
11164 2015-09-29  Carlos O'Donell  <carlos@redhat.com>
11166         * manual/filesys.texi (Storage Allocation): Document that
11167         posix_fallocate emulation fails when fd is open with O_WRONLY.
11169 2015-09-28  Joseph Myers  <joseph@codesourcery.com>
11171         [BZ #19016]
11172         * sysdeps/generic/math_private.h (__x2y2m1f): Update comment to
11173         allow more cases with X^2 + Y^2 >= 0.5.
11174         * sysdeps/ieee754/dbl-64/x2y2m1.c (__x2y2m1): Likewise.  Add -1 as
11175         normal element in sum instead of special-casing based on values of
11176         arguments.
11177         * sysdeps/ieee754/dbl-64/x2y2m1f.c (__x2y2m1f): Update comment.
11178         * sysdeps/ieee754/ldbl-128/x2y2m1l.c (__x2y2m1l): Likewise.  Add
11179         -1 as normal element in sum instead of special-casing based on
11180         values of arguments.
11181         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c (__x2y2m1l): Likewise.
11182         * sysdeps/ieee754/ldbl-96/x2y2m1.c [FLT_EVAL_METHOD != 0]
11183         (__x2y2m1): Update comment.
11184         * sysdeps/ieee754/ldbl-96/x2y2m1l.c (__x2y2m1l): Likewise.  Add -1
11185         as normal element in sum instead of special-casing based on values
11186         of arguments.
11187         * math/s_clog.c (__clog): Handle more cases using log1p without
11188         hypot.
11189         * math/s_clog10.c (__clog10): Likewise.
11190         * math/s_clog10f.c (__clog10f): Likewise.
11191         * math/s_clog10l.c (__clog10l): Likewise.
11192         * math/s_clogf.c (__clogf): Likewise.
11193         * math/s_clogl.c (__clogl): Likewise.
11194         * math/auto-libm-test-in: Add more tests of clog and clog10.
11195         * math/auto-libm-test-out: Regenerated.
11196         * sysdeps/i386/fpu/libm-test-ulps: Update.
11197         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11199 2015-09-28  Martin Sebor  <msebor@redhat.com>
11201         [BZ #18969]
11202         * string/Makefile (LOCALES): Define.
11203         (gen-locales.mk): Include.
11204         (test-strcasecmp.out, test-strncasecmp.out, tst-strxfrm.out)
11205         (tst-strxfrm2.out): Add deppendency on $(gen-locales).
11206         * string/tst-strxfrm2.c (do_test): Print the name of the locale
11207         on setlocale failure.
11209 2015-09-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
11211         [BZ #18985]
11212         * time/strftime_l.c (a_wkday, f_wkday, a_month, f_month): Range check.
11213         (__strftime_internal): Likewise.
11214         * time/tst-strftime.c (do_bz18985): New test.
11215         (do_test): Call it.
11217 2015-09-26  Joseph Myers  <joseph@codesourcery.com>
11219         [BZ #18956]
11220         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Add 0x00400000
11221         not 0x0040000 for high bit of mantissa.  Mask with 0xfffff000 when
11222         extracting high part.
11223         * math/auto-libm-test-in: Add another test of pow.
11224         * math/auto-libm-test-out: Regenerated.
11225         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11227 2015-09-25  Joseph Myers  <joseph@codesourcery.com>
11229         [BZ #18825]
11230         * sysdeps/i386/fpu/i386-math-asm.h (FLT_NARROW_EVAL_UFLOW_NONNAN):
11231         New macro.
11232         (DBL_NARROW_EVAL_UFLOW_NONNAN): Likewise.
11233         (LDBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
11234         * sysdeps/i386/fpu/e_pow.S: Use DEFINE_DBL_MIN.
11235         (__ieee754_pow): Use DBL_NARROW_EVAL_UFLOW_NONNAN instead of
11236         DBL_NARROW_EVAL, reloading the PIC register as needed.
11237         * sysdeps/i386/fpu/e_powf.S: Use DEFINE_FLT_MIN.
11238         (__ieee754_powf): Use FLT_NARROW_EVAL_UFLOW_NONNAN instead of
11239         FLT_NARROW_EVAL.  Use separate return path for case when first
11240         argument is NaN.
11241         * sysdeps/i386/fpu/e_powl.S: Include <i386-math-asm.h>.  Use
11242         DEFINE_LDBL_MIN.
11243         (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN, reloading the
11244         PIC register.
11245         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use
11246         math_check_force_underflow_nonneg.
11247         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Force
11248         underflow for subnormal result.
11249         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
11250         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Use
11251         math_check_force_underflow_nonneg.
11252         * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Use
11253         math_check_force_underflow.
11254         * sysdeps/x86_64/fpu/x86_64-math-asm.h
11255         (LDBL_CHECK_FORCE_UFLOW_NONNAN): New macro.
11256         * sysdeps/x86_64/fpu/e_powl.S: Include <x86_64-math-asm.h>.  Use
11257         DEFINE_LDBL_MIN.
11258         (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN.
11259         * math/auto-libm-test-in: Add more tests of pow.
11260         * math/auto-libm-test-out: Regenerated.
11262 2015-09-25  Florian Weimer  <fweimer@redhat.com>
11264         * nss/bug17079.c (init_test_items): Add diagnostic for
11265         inconsistent entries.
11266         (test_buffer_size): Skip inconsistent entries.
11268 2015-09-25  Joseph Myers  <joseph@codesourcery.com>
11270         [BZ #13304]
11271         * sysdeps/m68k/coldfire/nofpu/s_fma.c: New file.
11272         * sysdeps/m68k/coldfire/nofpu/s_fmaf.c: Likewise.
11273         * sysdeps/m68k/coldfire/nofpu/sfp-machine.h: Likewise.
11275         [BZ #13304]
11276         * sysdeps/microblaze/s_fma.c: New file.
11277         * sysdeps/microblaze/s_fmaf.c: Likewise.
11278         * sysdeps/microblaze/sfp-machine.h: Likewise.
11280 2015-09-25  Maciej W. Rozycki  <macro@imgtec.com>
11282         [BZ #17250]
11283         * elf/dl-support.c (_dl_main_map): Don't initialize l_flags_1
11284         member.
11286 2015-09-24  Joseph Myers  <joseph@codesourcery.com>
11288         [BZ #18803]
11289         * sysdeps/i386/fpu/e_hypot.S: Use DEFINE_DBL_MIN.
11290         (MO): New macro.
11291         (__ieee754_hypot) [PIC]: Load PIC register.
11292         (__ieee754_hypot): Use DBL_NARROW_EVAL_UFLOW_NONNEG instead of
11293         DBL_NARROW_EVAL.
11294         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Use
11295         math_check_force_underflow_nonneg in case where result might be
11296         tiny.
11297         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
11298         Likewise.
11299         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
11300         Likewise.
11301         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
11302         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Likewise.
11303         * math/auto-libm-test-in: Add more tests of hypot.
11304         * math/auto-libm-test-out: Regenerated.
11306 2015-09-24  Steve Ellcey  <sellcey@imgtec.com>
11308         * sysdeps/mips/math_private.h (libc_fesetenv_mips): Mark cw as unused.
11310 2015-09-24  Joseph Myers  <joseph@codesourcery.com>
11312         * sysdeps/x86_64/fpu/x86_64-math-asm.h: New file.
11313         * sysdeps/x86_64/fpu/e_exp2l.S: Include <x86_64-math-asm.h>.
11314         (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
11315         (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
11316         * sysdeps/x86_64/fpu/e_expl.S: Include <x86_64-math-asm.h>.
11317         [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
11318         (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
11320         * sysdeps/i386/fpu/e_atanh.S (__ieee754_atanh) [PIC]: Use
11321         LOAD_PIC_REG.
11323         * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_LDBL_MIN): New macro.
11324         (FLT_CHECK_FORCE_UFLOW): Likewise.
11325         (DBL_CHECK_FORCE_UFLOW): Likewise.
11326         (FLT_CHECK_FORCE_UFLOW_NARROW): Likewise.
11327         (DBL_CHECK_FORCE_UFLOW_NARROW): Likewise.
11328         (LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN): Likewise.
11329         (FLT_CHECK_FORCE_UFLOW_NONNAN): Likewise.
11330         (DBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
11331         (FLT_CHECK_FORCE_UFLOW_NONNEG): Likewise.
11332         (DBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
11333         (LDBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
11334         * sysdeps/i386/fpu/e_asin.S: Include <i386-math-asm.h>.
11335         (dbl_min): Replace with use of DEFINE_DBL_MIN.
11336         (__ieee754_asin): Use DBL_CHECK_FORCE_UFLOW.
11337         * sysdeps/i386/fpu/e_asinf.S: Include <i386-math-asm.h>.
11338         (flt_min): Replace with use of DEFINE_FLT_MIN.
11339         (__ieee754_asinf): Use FLT_CHECK_FORCE_UFLOW.
11340         * sysdeps/i386/fpu/e_atan2.S: Include <i386-math-asm.h>.
11341         (dbl_min): Replace with use of DEFINE_DBL_MIN.
11342         (__ieee754_atan2): Use DBL_CHECK_FORCE_UFLOW_NARROW.
11343         * sysdeps/i386/fpu/e_atan2f.S: Include <i386-math-asm.h>.
11344         (flt_min): Replace with use of DEFINE_FLT_MIN.
11345         (__ieee754_atan2f): Use FLT_CHECK_FORCE_UFLOW_NARROW.
11346         * sysdeps/i386/fpu/e_atanh.S: Include <i386-math-asm.h>.
11347         (dbl_min): Replace with use of DEFINE_DBL_MIN.
11348         (__ieee754_atanh): Use DBL_CHECK_FORCE_UFLOW_NONNEG.
11349         * sysdeps/i386/fpu/e_atanhf.S: Include <i386-math-asm.h>.
11350         (flt_min): Replace with use of DEFINE_FLT_MIN.
11351         (__ieee754_atanhf): Use FLT_CHECK_FORCE_UFLOW_NONNEG.
11352         * sysdeps/i386/fpu/e_exp2l.S: Include <i386-math-asm.h>.
11353         (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
11354         (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
11355         * sysdeps/i386/fpu/e_expl.S: Include <i386-math-asm.h>.
11356         [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
11357         (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
11358         * sysdeps/i386/fpu/s_atan.S: Include <i386-math-asm.h>.
11359         (dbl_min): Replace with use of DEFINE_DBL_MIN.
11360         (__atan): Use DBL_CHECK_FORCE_UFLOW.
11361         * sysdeps/i386/fpu/s_atanf.S: Include <i386-math-asm.h>.
11362         (flt_min): Replace with use of DEFINE_FLT_MIN.
11363         (__atanf): Use FLT_CHECK_FORCE_UFLOW.
11364         * sysdeps/i386/fpu/s_expm1.S: Include <i386-math-asm.h>.
11365         (dbl_min): Replace with use of DEFINE_DBL_MIN.
11366         (__expm1): Use DBL_CHECK_FORCE_UFLOW.  Move underflow check after
11367         main computation.
11368         * sysdeps/i386/fpu/s_expm1f.S: Include <i386-math-asm.h>.
11369         (flt_min): Replace with use of DEFINE_FLT_MIN.
11370         (__expm1f): Use FLT_CHECK_FORCE_UFLOW.  Move underflow check after
11371         main computation.
11372         * sysdeps/i386/fpu/s_log1p.S: Include <i386-math-asm.h>.
11373         (dbl_min): Replace with use of DEFINE_DBL_MIN.
11374         (MO): New macro.
11375         (__log1p): Use MO.  Use DBL_CHECK_FORCE_UFLOW_NONNAN.
11376         * sysdeps/i386/fpu/s_log1pf.S: Include <i386-math-asm.h>.
11377         (flt_min): Replace with use of DEFINE_FLT_MIN.
11378         (MO): New macro.
11379         (__log1pf): Use MO.  Use FLT_CHECK_FORCE_UFLOW_NONNAN.
11380         * sysdeps/i386/fpu/s_log1pl.S (MO): New macro.
11381         (__log1pl): Use MO.
11383         [BZ #19003]
11384         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_pow-fma4.c): Add
11385         $(config-cflags-nofma).
11387 2015-09-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
11389         * sysdeps/aarch64/libm-test-ulps: Regenerated.
11391 2015-09-23  Joseph Myers  <joseph@codesourcery.com>
11393         * sysdeps/ieee754/flt-32/e_exp2f.c (TWOM100): Remove volatile.
11394         (TWO127): Likewise.
11396         * sysdeps/generic/math_private.h (fabs_tg): New macro.
11397         (min_of_type): Likewise.
11398         (math_check_force_underflow): Likewise.
11399         (math_check_force_underflow_nonneg): Likewise.
11400         (math_check_force_underflow_complex): Likewise.
11401         * math/e_exp2l.c (__ieee754_exp2l): Use
11402         math_check_force_underflow_nonneg.
11403         * math/k_casinh.c (__kernel_casinh): Likewise.
11404         * math/k_casinhf.c (__kernel_casinhf): Likewise.
11405         * math/k_casinhl.c (__kernel_casinhl): Likewise.
11406         * math/s_catan.c (__catan): Use
11407         math_check_force_underflow_complex.
11408         * math/s_catanf.c (__catanf): Likewise.
11409         * math/s_catanh.c (__catanh): Likewise.
11410         * math/s_catanhf.c (__catanhf): Likewise.
11411         * math/s_catanhl.c (__catanhl): Likewise.
11412         * math/s_catanl.c (__catanl): Likewise.
11413         * math/s_ccosh.c (__ccosh): Likewise.
11414         * math/s_ccoshf.c (__ccoshf): Likewise.
11415         * math/s_ccoshl.c (__ccoshl): Likewise.
11416         * math/s_cexp.c (__cexp): Likewise.
11417         * math/s_cexpf.c (__cexpf): Likewise.
11418         * math/s_cexpl.c (__cexpl): Likewise.
11419         * math/s_clog.c (__clog): Use math_check_force_underflow_nonneg.
11420         * math/s_clog10.c (__clog10): Likewise.
11421         * math/s_clog10f.c (__clog10f): Likewise.
11422         * math/s_clog10l.c (__clog10l): Likewise.
11423         * math/s_clogf.c (__clogf): Likewise.
11424         * math/s_clogl.c (__clogl): Likewise.
11425         * math/s_csin.c (__csin): Use math_check_force_underflow_complex.
11426         * math/s_csinf.c (__csinf): Likewise.
11427         * math/s_csinh.c (__csinh): Likewise.
11428         * math/s_csinhf.c (__csinhf): Likewise.
11429         * math/s_csinhl.c (__csinhl): Likewise.
11430         * math/s_csinl.c (__csinl): Likewise.
11431         * math/s_csqrt.c (__csqrt): Use math_check_force_underflow.
11432         * math/s_csqrtf.c (__csqrtf): Likewise.
11433         * math/s_csqrtl.c (__csqrtl): Likewise.
11434         * math/s_ctan.c (__ctan): Use math_check_force_underflow_complex.
11435         * math/s_ctanf.c (__ctanf): Likewise.
11436         * math/s_ctanh.c (__ctanh): Likewise.
11437         * math/s_ctanhf.c (__ctanhf): Likewise.
11438         * math/s_ctanhl.c (__ctanhl): Likewise.
11439         * math/s_ctanl.c (__ctanl): Likewise.
11440         * stdlib/strtod_l.c (round_and_return): Use math_force_eval
11441         instead of volatile.
11442         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use
11443         math_check_force_underflow.
11444         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
11445         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Do not use
11446         volatile when forcing underflow.
11447         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
11448         math_check_force_underflow_nonneg.
11449         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
11450         Likewise.
11451         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Use
11452         math_check_force_underflow.
11453         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
11454         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
11455         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
11456         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Use
11457         math_check_force_underflow_nonneg.
11458         * sysdeps/ieee754/dbl-64/s_erf.c (__erf): Use
11459         math_check_force_underflow.
11460         * sysdeps/ieee754/dbl-64/s_expm1.c (__expm1): Likewise.
11461         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval
11462         instead of volatile.
11463         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Use
11464         math_check_force_underflow.
11465         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
11466         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
11467         math_check_force_underflow_nonneg.
11468         * sysdeps/ieee754/dbl-64/s_tanh.c (__tanh): Use
11469         math_check_force_underflow.
11470         * sysdeps/ieee754/flt-32/e_asinf.c (__ieee754_asinf): Likewise.
11471         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
11472         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Use
11473         math_check_force_underflow_nonneg.
11474         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
11475         Likewise.
11476         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Use
11477         math_check_force_underflow.
11478         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
11479         * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
11480         * sysdeps/ieee754/flt-32/k_sinf.c (__kernel_sinf): Likewise.
11481         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Likewise.
11482         * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
11483         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Likewise.
11484         * sysdeps/ieee754/flt-32/s_erff.c (__erff): Likewise.
11485         * sysdeps/ieee754/flt-32/s_expm1f.c (__expm1f): Likewise.
11486         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
11487         * sysdeps/ieee754/flt-32/s_tanhf.c (__tanhf): Likewise.
11488         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Likewise.
11489         * sysdeps/ieee754/ldbl-128/e_atanhl.c (__ieee754_atanhl):
11490         Likewise.
11491         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Use
11492         math_check_force_underflow_nonneg.
11493         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
11494         Likewise.
11495         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Use
11496         math_check_force_underflow.
11497         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
11498         * sysdeps/ieee754/ldbl-128/e_sinhl.c (__ieee754_sinhl): Likewise.
11499         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
11500         Likewise.
11501         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Likewise.
11502         * sysdeps/ieee754/ldbl-128/k_tanl.c (__kernel_tanl): Likewise.
11503         * sysdeps/ieee754/ldbl-128/s_asinhl.c (__asinhl): Likewise.
11504         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Likewise.
11505         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Likewise.
11506         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Likewise.
11507         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use math_force_eval
11508         instead of volatile.
11509         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Use
11510         math_check_force_underflow.
11511         * sysdeps/ieee754/ldbl-128/s_tanhl.c (__tanhl): Likewise.
11512         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Use
11513         math_check_force_underflow.
11514         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl):
11515         Likewise.
11516         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
11517         Use math_check_force_underflow_nonneg.
11518         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Use
11519         math_check_force_underflow.
11520         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
11521         Likewise.
11522         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
11523         Likewise.
11524         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
11525         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
11526         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
11527         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
11528         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Likewise.
11529         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
11530         * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
11531         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Likewise.
11532         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r): Use
11533         math_check_force_underflow_nonneg.
11534         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Use
11535         math_check_force_underflow.
11536         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
11537         * sysdeps/ieee754/ldbl-96/e_sinhl.c (__ieee754_sinhl): Likewise.
11538         * sysdeps/ieee754/ldbl-96/k_sinl.c (__kernel_sinl): Likewise.
11539         * sysdeps/ieee754/ldbl-96/k_tanl.c (__kernel_tanl): Use
11540         math_check_force_underflow_nonneg.
11541         * sysdeps/ieee754/ldbl-96/s_asinhl.c (__asinhl): Use
11542         math_check_force_underflow.
11543         * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfl): Likewise.
11544         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Use math_force_eval
11545         instead of volatile.
11546         * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Use
11547         math_check_force_underflow.
11549         * math/s_nexttowardf.c (__nexttowardf): Use math_narrow_eval.
11550         * stdlib/strtod_l.c: Include <math_private.h>.
11551         (overflow_value): Use math_narrow_eval.
11552         (underflow_value): Likewise.
11553         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
11554         * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
11555         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Likewise.
11556         (__ieee754_gamma_r): Likewise.
11557         * sysdeps/ieee754/dbl-64/gamma_productf.c (__gamma_productf):
11558         Likewise.
11559         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
11560         Likewise.
11561         * sysdeps/ieee754/dbl-64/lgamma_neg.c (__lgamma_neg): Likewise.
11562         * sysdeps/ieee754/dbl-64/s_erf.c (__erfc): Likewise.
11563         * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Likewise.
11564         * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise.
11565         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
11566         (__ieee754_gammaf_r): Likewise.
11567         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
11568         Likewise.
11569         * sysdeps/ieee754/flt-32/lgamma_negf.c (__lgamma_negf): Likewise.
11570         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Likewise.
11571         * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise.
11572         * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise.
11573         * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Do not use
11574         volatile.
11575         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise.
11576         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward): Use
11577         math_narrow_eval.
11578         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
11579         Likewise.
11580         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
11581         Likewise.
11582         * sysdeps/ieee754/ldbl-96/gamma_product.c (__gamma_product):
11583         Likewise.
11584         * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Do not use
11585         volatile.
11586         * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise.
11587         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Use
11588         math_narrow_eval.
11589         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
11590         Likewise.
11591         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
11592         Likewise.
11594 2015-09-22  H.J. Lu  <hongjiu.lu@intel.com>
11596         * nptl/Versions: Remove ignored symbols.
11598 2015-09-22  Florian Weimer  <fweimer@redhat.com>
11600         * nss/bug17079.c: Renamed from nss/bug18287.c.  Add description.
11601         * nss/Makefile (tests): Update.
11603 2015-09-22  Florian Weimer  <fweimer@redhat.com>
11605         * nss/bug18287.c: New file.
11606         * nss/Makefile (tests): Add bug18287.
11608 2015-09-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
11610         * mach/Versions (__mach_host_self_): Add symbol.
11612 2015-09-21  Samuel Thibault  <samuel.thibault@ens-lyon.org>
11614         * sysdeps/mach/hurd/mmap.c (__mmap): Use __vm_page_size instead of
11615         vm_page_size.
11617 2015-09-19  Samuel Thibault  <samuel.thibault@ens-lyon.org>
11619         Really fix sysdeps/i386/fpu/s_scalbn.S build
11621         * math/Versions (libc: GLIBC_2_20): New (empty) version set.
11622         (libc: GLIBC_2_22): Remove unused version set.
11624 2015-09-18  Mike Frysinger  <vapier@gentoo.org>
11626         * config.make.in (enable-timezone-tools): New variable.
11627         * configure.ac (AC_ARG_ENABLE(timezone-tools)): New configure flag.
11628         (enable_timezone_tools): Export to generated files.
11629         * configure: Regenerate.
11630         * INSTALL: Regenerate.
11631         * manual/install.texi (--disable-timezone-tools): Document new flag.
11632         * timezone/Makefile (install-sbin, install-bin-script): Wrap in a
11633         ifeq ($(enable-timezone-tools),yes) check.
11635 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
11637         * timezone/Makefile: Revert previous change.
11639         [BZ #18980]
11640         * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_FLT_MIN): New macro.
11641         (DEFINE_DBL_MIN): Likewise.
11642         (FLT_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
11643         (DBL_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
11644         (FLT_NARROW_EVAL_UFLOW_NONNEG): Likewise.
11645         (DBL_NARROW_EVAL_UFLOW_NONNEG): Likewise.
11646         * sysdeps/i386/fpu/e_exp.S: Include <i386-math-asm.h>.
11647         (dbl_min): Replace with use of DEFINE_DBL_MIN.
11648         (__ieee754_exp): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
11649         (__exp_finite): Use DBL_NARROW_EVAL_UFLOW_NONNEG.
11650         * sysdeps/i386/fpu/e_exp10.S: Include <i386-math-asm.h>.
11651         (dbl_min): Replace with use of DEFINE_DBL_MIN.
11652         (__ieee754_exp10): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
11653         * sysdeps/i386/fpu/e_exp10f.S: Include <i386-math-asm.h>.
11654         (flt_min): Replace with use of DEFINE_FLT_MIN.
11655         (__ieee754_exp10f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
11656         * sysdeps/i386/fpu/e_exp2.S: Include <i386-math-asm.h>.
11657         (dbl_min): Replace with use of DEFINE_DBL_MIN.
11658         (__ieee754_exp2): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
11659         * sysdeps/i386/fpu/e_exp2f.S: Include <i386-math-asm.h>.
11660         (flt_min): Replace with use of DEFINE_FLT_MIN.
11661         (__ieee754_exp2f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
11662         * sysdeps/i386/fpu/e_expf.S: Include <i386-math-asm.h>.
11663         (flt_min): Replace with use of DEFINE_FLT_MIN.
11664         (__ieee754_expf): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
11665         (__expf_finite): Use FLT_NARROW_EVAL_UFLOW_NONNEG.
11666         * sysdeps/i386/fpu/e_hypot.S: Include <i386-math-asm.h>.
11667         (__ieee754_hypot): Use DBL_NARROW_EVAL.
11668         * sysdeps/i386/fpu/e_hypotf.S: Include <i386-math-asm.h>.
11669         (__ieee754_hypotf): Use FLT_NARROW_EVAL.
11670         * sysdeps/i386/fpu/e_pow.S: Include <i386-math-asm.h>.
11671         (__ieee754_pow): Use DBL_NARROW_EVAL.
11672         * sysdeps/i386/fpu/e_powf.S: Include <i386-math-asm.h>.
11673         (__ieee754_powf): Use FLT_NARROW_EVAL.
11674         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S
11675         (__ieee754_expf_sse2): Convert double-precision result to single
11676         precision.
11677         * sysdeps/i386/fpu/libm-test-ulps: Update.
11679 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
11681         * timezone/Makefile: Ignore unused variable errors due to private.h
11682         (time_t_min) and (time_t_max).
11683         * timezone/private.h (time_t_min): Revert removal.  (time_t_max):
11684         Likewise.
11686 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
11688         [BZ #18981]
11689         * sysdeps/i386/fpu/i386-math-asm.h: New file.
11690         * sysdeps/i386/fpu/e_scalb.S: Include <i386-math-asm.h>.
11691         (__ieee754_scalb): Use DBL_NARROW_EVAL.
11692         * sysdeps/i386/fpu/e_scalbf.S: Include <i386-math-asm.h>.
11693         (__ieee754_scalbf): Use FLT_NARROW_EVAL.
11694         * sysdeps/i386/fpu/s_scalbn.S: Include <i386-math-asm.h>.
11695         (__scalbn): Use DBL_NARROW_EVAL.
11696         * sysdeps/i386/fpu/s_scalbnf.S: Include <i386-math-asm.h>.
11697         (__scalbnf): Use FLT_NARROW_EVAL.
11699 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
11701         * math/w_tgamma.c (__ieee754_gamma_r): Use explicit sign check.
11702         * math/w_tgammaf.c (__ieee754_gammaf_r): Likewise.
11703         * math/w_tgammal.c (__ieee754_gammal_r): Likewise.
11704         * stdio-common/printf_fp.c (___printf_fp):
11705         Use signbit to get the sign. Use isinf macro to allow inlining.
11706         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.
11707         * stdio-common/printf_size.c (__printf_size): Likewise.
11709 2015-09-18  Mike Frysinger  <vapier@gentoo.org>
11711         * timezone/Makefile ($(testdata)/XT%): Call $(make-target-directory).
11713 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
11715         [BZ #18980]
11716         * sysdeps/generic/math_private.h: Include <float.h>.
11717         (math_narrow_eval): New macro.
11718         [FLT_EVAL_METHOD != 0] (excess_precision): Likewise.
11719         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Use
11720         math_narrow_eval on overflowing return value.
11721         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r):
11722         Likewise.
11723         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
11724         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Likewise.
11725         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r):
11726         Likewise.
11727         * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
11729 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
11731         * include/math.h: Remove __isinf_ns, __isinf_nsf, __isinf_nsl.
11732         * math/Makefile: Remove isinf_ns.c.
11733         * math/divtc3.c (__divtc3): Replace __isinf_nsl with isinf.
11734         * math/multc3.c (__multc3): Likewise.
11735         * math/s_casin.c (__casin): Likewise.
11736         * math/s_casinf.c (__casinf): Likewise.
11737         * math/s_casinl.c (__casinl): Likewise.
11738         * math/s_cproj.c (__cproj): Likewise.
11739         * math/s_cprojf.c (__cprojf): Likewise.
11740         * math/s_cprojl.c (__cprofl): Likewise.
11741         * math/s_ctan.c (__ctan): Likewise.
11742         * math/s_ctanf.c (__ctanf): Likewise.
11743         * math/s_ctanh.c (__ctanh): Likewise.
11744         * math/s_ctanhf.c (__ctanhf): Likewise.
11745         * math/s_ctanhl.c (__ctanhl): Likewise.
11746         * math/s_ctanl.c (__ctanl): Likewise.
11747         * math/w_fmod.c (__fmod): Likewise.
11748         * math/w_fmodf.c (__fmodf): Likewise.
11749         * math/w_fmodl.c (_fmodl): Likewise.
11750         * math/w_remainder.c (__remainder): Likewise.
11751         * math/w_remainderf.c (__remainderf): Likewise.
11752         * math/w_remainderl.c (__remainderl): Likewise.
11753         * math/w_scalb.c (__scalb): Likewise.
11754         * math/w_scalbf.c (__scalbf): Likewise.
11755         * math/w_scalbl.c (__scalbl): Likewise.
11756         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Deleted file.
11757         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Replace __isinf_ns
11758         with isinf.
11759         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Deleted file.
11760         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Deleted file.
11761         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Replace
11762         __isinf_nsf with isinf.
11763         * sysdeps/ieee754/flt-32/math_private.h: Deleted file.
11764         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Deleted file.
11765         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Deleted file.
11766         * sysdeps/ieee754/ldbl-128/s_sincosl.c (__sincosl): Replace __isinf_nsl
11767         with isinf.
11768         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c(__cprojll): Replace
11769         __isinf_nsl with isinf.
11770         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c(__ctanl): Replace __isinf_nsl
11771         with isinf.
11772         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Deleted file.
11773         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Replace
11774         __isinf_nsl with isinf.
11775         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Deleted file.
11776         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Replace __isinf_nsl
11777         with isinf.
11779 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
11781         * resolv/base64.c (rcsid): Remove unused static.
11782         * sysdeps/ieee754/dbl-64/atnat2.h (qpi1): Remove unused
11783         static.  (tqpi1): Likewise.
11784         * sysdeps/ieee754/dbl-64/uexp.h (one): Likewise.
11785         * sysdeps/ieee754/dbl-64/upow.h (sqrt_2): Likewise.
11786         * sysdeps/ieee754/flt-32/e_log10f.c (one): Likewise.
11787         * sysdeps/ieee754/flt-32/s_cosf.c (one): Likewise.
11788         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (zero): Likewise.
11789         * sysdeps/ieee754/ldbl-128/s_erfl.c (half): Likewise.
11790         * sysdeps/ieee754/ldbl-128/s_log1pl.c (maxlog): Likewise.
11791         * timezone/private.h (time_t_min): Likewise.  (time_t_max):
11792         Likewise.
11794 2015-09-18  H.J. Lu  <hongjiu.lu@intel.com>
11796         * sysdeps/nptl/jmp-unwind.c: Include <libc-lock.h> instead of
11797         <nptl/pthreadP.h>.
11798         (_longjmp_unwind): Use __libc_ptf_call.
11799         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Likewise.
11801 2015-09-18  David Lamparter  <equinox-gentoo@diac24.net>
11803         * sysdeps/arm/setjmp.S: Change PIC to SHARED.
11804         * sysdeps/arm/__longjmp.S: Likewise.
11806 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
11808         * sysdeps/ieee754/dbl-64/s_signbit.c (__signbit):
11809         Use __builtin_signbit.
11810         * sysdeps/ieee754/flt-32/s_signbitf.c (__signbitf):
11811         Use __builtin_signbitf.
11812         * sysdeps/ieee754/ldbl-128/s_signbitl.c (__signbitl):
11813         Use __builtin_signbitl.
11814         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
11815         * sysdeps/ieee754/ldbl-96/s_signbitl.c (__signbitl): Likewise.
11817 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
11819         [BZ #15367]
11820         [BZ #17441]
11822         * math/Makefile: Build test-snan.c with -fsignaling-nans.
11823         * math/math.h (fpclassify): Use __builtin_fpclassify when
11824         available.  (signbit): Use __builtin_signbit(f/l).
11825         (isfinite): Use__builtin_isfinite.  (isnormal): Use
11826         __builtin_isnormal.  (isnan): Use __builtin_isnan.
11827         (isinf): Use __builtin_isinf_sign.
11829 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
11831         * benchtests/Makefile: Add bench-math-inlines, link with libm.
11832         * benchtests/bench-math-inlines.c: New benchmark.
11833         * benchtests/bench-util.h: New file.
11834         * benchtests/bench-util.c: New file.
11835         * benchtests/bench-skeleton.c: Add include of bench-util.c/h.
11837 2015-09-18  Carlos O'Donell  <carlos@redhat.com>
11839         * elf/tst-dlmopen1.c: Define TEST_SO.
11840         (do_test): Use TEST_SO.
11842         * elf/dl-load.c: Include libc-internal.h.
11843         (_dl_map_object_from_fd): Use ALIGN_UP and ALIGN_DOWN.
11845 2015-09-18  Vincent Bernat  <vincent@bernat.im>
11847         [BZ #17887]
11848         * time/strptime_l.c (__strptime_internal): Make %z accept
11849         [+-]HH:MM time zones.
11851 2015-09-18  Vincent Bernat  <vincent@bernat.im>
11853         [BZ #17886]
11854         * time/strptime_l.c (__strptime_internal): Make %z accept Z as a
11855         valid time zone.
11857 2015-09-17  Mike Frysinger  <vapier@gentoo.org>
11859         * sysdeps/unix/sysv/linux/alpha/Makefile (CFLAGS-fdatasync.c): Delete.
11860         * sysdeps/unix/sysv/linux/alpha/fdatasync.c: Delete.
11861         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
11862         (__ASSUME_FDATASYNC): Delete.
11864 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
11866         * conform/linknamespace.pl: Require weak undefined symbols to be
11867         in the standard namespace.
11868         (%strong_syms): Rename to %seen_syms.
11869         (%strong_seen): Rename to %seen_where.
11871 2015-09-17  H.J. Lu  <hongjiu.lu@intel.com>
11873         [BZ #18970]
11874         * misc/error.c (error): Replace pthread_setcancelstate with
11875         __pthread_setcancelstate.
11876         (error_at_line): Likewise.
11877         * posix/wordexp.c (parse_comm): Likewise.
11878         * stdlib/fmtmsg.c (fmtmsg): Likewise.
11879         * nptl/forward.c (pthread_setcancelstate): Renamed to ...
11880         (__pthread_setcancelstate): This.
11881         (pthread_setcancelstate): Add an alias.
11882         * nptl/nptl-init.c (pthread_functions): Replace
11883         ptr_pthread_setcancelstate with ptr___pthread_setcancelstate.
11884         * sysdeps/nptl/pthread-functions.h (pthread_functions): Likewise.
11885         * nptl/pthreadP.h (__pthread_setcancelstate): Mark it with
11886         hidden_proto.
11887         * nptl/pthread_setcancelstate.c (__pthread_setcancelstate): Mark
11888         it with hidden_def.
11889         * sysdeps/nptl/libc-lockP.h (__pthread_setcancelstate): New.
11890         (pthread_setcancelstate): Renamed to ...
11891         (__pthread_setcancelstate): This.
11892         * sysdeps/unix/sysv/linux/fatal-prepare.h (FATAL_PREPARE): Use
11893         __libc_ptf_call with __pthread_setcancelstate.
11895 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
11896             Andreas Schwab  <schwab@suse.de>
11898         [BZ #17118]
11899         * math/s_ctan.c (__ctan): Determine sign of zero real part of
11900         result when imaginary part of argument is infinite using sine and
11901         cosine.
11902         * math/s_ctanf.c (__ctanf): Likewise.
11903         * math/s_ctanl.c (__ctanl): Likewise.
11904         * math/s_ctanh.c (__ctanh): Determine sign of zero imaginary part
11905         of result when real part of argument is infinite using sine and
11906         cosine.
11907         * math/s_ctanhf.c (__ctanhf): Likewise.
11908         * math/s_ctanhl.c (__ctanhl): Likewise.
11909         * math/libm-test.inc (ctan_test_data): Add more tests of ctan.
11910         (ctanh_test_data): Add more tests of ctanh.
11912 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
11914         [BZ #15384]
11915         * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Use same constant as
11916         bit-mask as in subtraction.
11917         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c (__finite):
11918         Likewise.
11919         * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise.
11920         * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise.
11921         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (__finitel): Likewise.
11923         [BZ #18951]
11924         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Force
11925         underflow exception for small results.
11926         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
11927         Likewise.
11928         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
11929         Likewise.
11930         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
11931         Likewise.
11932         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
11933         Likewise.
11934         * math/auto-libm-test-in: Add more tests of tgamma.
11935         * math/auto-libm-test-out: Regenerated.
11937 2015-09-17  Andreas Schwab  <schwab@suse.de>
11939         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Readd.
11941 2015-09-16  Joseph Myers  <joseph@codesourcery.com>
11943         [BZ #18977]
11944         * math/bits/mathcalls.h
11945         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j0): Do
11946         not declare.
11947         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j1):
11948         Likewise.
11949         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (jn):
11950         Likewise.
11951         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y0):
11952         Likewise.
11953         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y1):
11954         Likewise.
11955         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (yn):
11956         Likewise.
11957         * conform/data/math.h-data
11958         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0f): Do not expect
11959         function.
11960         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1f): Likewise.
11961         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnf): Likewise.
11962         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0f): Likewise.
11963         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1f): Likewise.
11964         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynf): Likewise.
11965         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0l): Likewise.
11966         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1l): Likewise.
11967         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnl): Likewise.
11968         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0l): Likewise.
11969         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1l): Likewise.
11970         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynl): Likewise.
11972         [BZ #6803]
11973         * math/s_ldexp.c (scalbn): Define as weak alias of __ldexp.
11974         [NO_LONG_DOUBLE] (scalbnl): Define as weak alias of __ldexp.
11975         * math/s_ldexpf.c (scalbnf): Define as weak alias of __ldexpf.
11976         * math/s_ldexpl.c (scalbnl): Define as weak alias of __ldexpl.
11977         * sysdeps/i386/fpu/s_scalbn.S (scalbn): Remove alias.
11978         * sysdeps/i386/fpu/s_scalbnf.S (scalbnf): Likewise.
11979         * sysdeps/i386/fpu/s_scalbnl.S (scalbnl): Likewise.
11980         * sysdeps/ieee754/dbl-64/s_scalbn.c (scalbn): Likewise.
11981         [NO_LONG_DOUBLE] (scalbnl): Likewise.
11982         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (scalbn):
11983         Likewise.
11984         [NO_LONG_DOUBLE] (scalbnl): Likewise.
11985         * sysdeps/ieee754/flt-32/s_scalbnf.c (scalbnf): Likewise.
11986         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (scalbnl): Likewise.
11987         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (scalbnl): Remove
11988         long_double_symbol calls.
11989         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c (scalbnl): Likewise.
11990         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c (__ldexpl_2): Define as
11991         strong alias of __ldexpl.
11992         (scalbnl): Define using long_double_symbol.
11993         * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(scalbn,suffix)):
11994         Remove alias.
11995         * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c (scalbnl): Likewise.
11996         * sysdeps/x86_64/fpu/s_scalbnl.S (scalbnl): Likewise.
11997         * math/libm-test.inc (scalbn_test_data): Add errno expectations.
11998         (scalbln_test_data): Add more errno expectations.
12000 2015-09-16  Justus Winter  <4winter@informatik.uni-hamburg.de>
12002         Cache the host port like we cache the task port.  This way we do not
12003         need to call the kernel just to get the port.  Furthermore, we no
12004         longer increase the reference count on every invocation of
12005         `mach_host_self'.
12007         * mach/mach/mach_traps.h (__mach_host_self, mach_host_self):
12008         Protect declarations against the macro expansion.
12009         * mach/mach_init.c (__mach_host_self_): New variable.
12010         (mach_init): Initialize `__mach_host_self_'.
12011         * mach/mach_init.h (__mach_host_self_): New declaration.
12012         (__mach_host_self, mach_host_self): New macros.
12013         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start_cleanup):
12014         Release reference.
12016 2015-09-16  Joseph Myers  <joseph@codesourcery.com>
12018         [BZ #4404]
12019         * po/de.po: Update from Translation Project.
12021         [BZ #16415]
12022         * sysdeps/ieee754/ldbl-128/s_expm1l.c (maxlog): Remove variable.
12023         (__expm1l): Remove code to handle positive infinity and overflow.
12024         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (maxlog): Remove
12025         variable.
12026         (__expm1l): Remove code to handle positive infinity and overflow.
12028 2015-09-16  Paul Eggert  <eggert@cs.ucla.edu>
12029             Paul Pluzhnikov  <ppluzhnikov@google.com>
12031         [BZ #18872]
12032         * stdio-common/Makefile (tst-printf-bz18872): New test.
12033         (tst-printf-bz18872-mem.out): Likewise.
12034         * stdio-common/tst-printf-bz18872.sh: Generate new test.
12035         * stdio-common/vfprintf.c: Fix memory leaks.
12037 2015-09-16  Andreas Schwab  <schwab@suse.de>
12039         [BZ #17244]
12040         * sysdeps/unix/sysv/linux/semctl.c (__old_semctl, __new_semctl):
12041         Remove extra va_start/va_end calls.
12043         [BZ #17243]
12044         * posix/execl.c (execl): Add missing va_end.
12045         * posix/execle.c (execle): Likewise.
12046         * posix/execlp.c (execlp): Likewise.
12048 2015-09-15  Roland McGrath  <roland@hack.frob.com>
12050         * misc/sys/param.h [!MAXHOSTNAMELEN && HOST_NAME_MAX]
12051         (MAXHOSTNAMELEN): Define it to HOST_NAME_MAX.
12053 2015-09-15  Joseph Myers  <joseph@codesourcery.com>
12055         [BZ #18967]
12056         * math/math.h (__MATH_DECLARING_DOUBLE): New macro.  Define and
12057         undefine around includes of <bits/mathcalls.h>.
12058         * math/bits/mathcalls.h [!__USE_MISC && __USE_XOPEN2K] (isnan): Do
12059         not declare function.
12060         [!__USE_MISC && __USE_XOPEN2K] (gamma): Likewise.
12061         [!__USE_MISC && (!__MATH_DECLARING_DOUBLE || __USE_XOPEN2K8)]
12062         (scalb): Likewise.
12063         * math/tgmath.h [!__USE_MISC && __USE_XOPEN_EXTENDED] (scalb): Do
12064         not define macro.
12065         * conform/Makefile (test-xfail-XOPEN2K/math.h/conform): Remove
12066         variable.
12067         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
12068         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
12069         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
12071         [BZ #18857]
12072         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c (__nearbyintl): Just
12073         return non-finite argument without doing ordered comparisons on
12074         it.
12076         [BZ #16296]
12077         * math/fenv.h (fegetround): Use __attribute_pure__.
12078         * include/fenv.h (__fegetround): Likewise.
12080         [BZ #18595]
12081         * math/s_ctan.c (__ctan): Force underflow exception for results
12082         whose real or imaginary part has small absolute value.
12083         * math/s_ctanf.c (__ctanf): Likewise.
12084         * math/s_ctanh.c (__ctanh): Likewise.
12085         * math/s_ctanhf.c (__ctanhf): Likewise.
12086         * math/s_ctanhl.c (__ctanhl): Likewise.
12087         * math/s_ctanl.c (__ctanl): Likewise.
12088         * math/auto-libm-test-in: Do not allow missing underflow for ctan
12089         and ctanh.  Add more tests of ctan and ctanh.
12091         [BZ #15918]
12092         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Simplify
12093         handling of cases where one argument is an infinity.
12095         [BZ #18875]
12096         [BZ #18966]
12097         * sysdeps/i386/fpu/e_exp10.S (dbl_min): New object.
12098         (MO): New macro.
12099         (__ieee754_exp10): For small results, force underflow exception
12100         and remove excess range and precision from return value.
12101         * sysdeps/i386/fpu/e_exp10f.S (flt_min): New object.
12102         (MO): New macro.
12103         (__ieee754_exp10f): For small results, force underflow exception
12104         and remove excess range and precision from return value.
12105         * math/auto-libm-test-in: Add more tests of exp10.
12106         * math/auto-libm-test-out: Regenerated.
12108 2015-09-14  Joseph Myers  <joseph@codesourcery.com>
12110         [BZ #18875]
12111         [BZ #18961]
12112         * sysdeps/i386/fpu/e_exp.S (dbl_min): New object.
12113         (MO): New macro.
12114         (__ieee754_exp): For small results, force underflow exception and
12115         remove excess range and precision from return value.
12116         (__exp_finite): Likewise.
12117         * sysdeps/i386/fpu/e_expf.S (flt_min): New object.
12118         (MO): New macro.
12119         (__ieee754_expf): For small results, force underflow exception and
12120         remove excess range and precision from return value.
12121         (__expf_finite): Likewise.
12122         * math/auto-libm-test-in: Add more tests of exp.
12123         * math/auto-libm-test-out: Regenerated.
12125         [BZ #16521]
12126         [BZ #18875]
12127         * math/e_exp2l.c (__ieee754_exp2l): Force underflow exception for
12128         small results.
12129         * sysdeps/i386/fpu/e_exp2.S (dbl_min): New object.
12130         (MO): New macro.
12131         (__ieee754_exp2): For small results, force underflow exception and
12132         remove excess range and precision from return value.
12133         * sysdeps/i386/fpu/e_exp2f.S (flt_min): New object.
12134         (MO): New macro.
12135         (__ieee754_exp2f): For small results, force underflow exception
12136         and remove excess range and precision from return value.
12137         * sysdeps/i386/fpu/e_exp2l.S (ldbl_min): New object.
12138         (MO): New macro.
12139         (__ieee754_exp2l): Force underflow exception for small results.
12140         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
12141         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
12142         * sysdeps/x86_64/fpu/e_exp2l.S (ldbl_min): New object.
12143         (MO): New macro.
12144         (__ieee754_exp2l): Force underflow exception for small results.
12145         * math/auto-libm-test-in: Add more tests or exp2.
12146         * math/auto-libm-test-out: Regenerated.
12148 2015-09-14  Carlos O'Donell  <carlos@redhat.com>
12150         * malloc/malloc.c (systrim): Use ALIGN_DOWN.
12152         * Makefile ($(objpfx)check-local-headers.out): Redirect stdin from
12153         /dev/null.
12155 2015-09-13  Samuel Thibault  <samuel.thibault@ens-lyon.org>
12157         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
12158         io fs process)): Drop spurious backslash.
12160 2015-09-12  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
12162         * sysdeps/unix/sysv/linux/getsysstats.c (__get_phys_pages):
12163         Use sysinfo system call instead of parsing /proc/meminfo.
12164         * sysdeps/unix/sysv/linux/getsysstats.c (__get_avphys_pages):
12165         Likewise.
12167 2015-09-11  Mike Frysinger  <vapier@gentoo.org>
12169         [BZ #16985]
12170         * programs/localedef.c (main): Display argv[remaining] when
12171         output_path is NULL.
12173 2015-09-11  Joseph Myers  <joseph@codesourcery.com>
12175         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
12176         asinh, atan, atan2, atanh, cabs, carg, cos, csqrt, erfc, exp,
12177         exp10, exp2, log, log1p, log2, pow, sin, sincos, sinh, tan and
12178         tanh.
12179         * math/auto-libm-test-out: Regenerated.
12180         * sysdeps/i386/fpu/libm-test-ulps: Update.
12181         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
12182         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
12183         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12185 2015-09-11  Roland McGrath  <roland@hack.frob.com>
12187         * sysdeps/nacl/Makefile [$(subdir) = misc] (sysdep_headers):
12188         Use 'override' keyword to freeze the value here, preventing
12189         the addition of sys/mtio.h by sysdeps/gnu/Makefile.
12191 2015-09-11  Joseph Myers  <joseph@codesourcery.com>
12193         [BZ #14912]
12194         * sysdeps/aarch64/bits/atomic.h: Move to ...
12195         * sysdeps/aarch64/atomic-machine.h: ...here.
12196         (_AARCH64_BITS_ATOMIC_H): Rename macro to
12197         _AARCH64_ATOMIC_MACHINE_H.
12198         * sysdeps/alpha/bits/atomic.h: Move to ...
12199         * sysdeps/alpha/atomic-machine.h: ...here.
12200         * sysdeps/arm/bits/atomic.h: Move to ...
12201         * sysdeps/arm/atomic-machine.h: ...here.  Update comments.
12202         * bits/atomic.h: Move to ...
12203         * sysdeps/generic/atomic-machine.h: ...here.
12204         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
12205         * sysdeps/i386/bits/atomic.h: Move to ...
12206         * sysdeps/i386/atomic-machine.h: ...here.
12207         * sysdeps/ia64/bits/atomic.h: Move to ...
12208         * sysdeps/ia64/atomic-machine.h: ...here.
12209         * sysdeps/m68k/coldfire/bits/atomic.h: Move to ...
12210         * sysdeps/m68k/coldfire/atomic-machine.h: ...here.
12211         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
12212         * sysdeps/m68k/m680x0/m68020/bits/atomic.h: Move to ...
12213         * sysdeps/m68k/m680x0/m68020/atomic-machine.h: ...here.
12214         * sysdeps/microblaze/bits/atomic.h: Move to ...
12215         * sysdeps/microblaze/atomic-machine.h: ...here.
12216         * sysdeps/mips/bits/atomic.h: Move to ...
12217         * sysdeps/mips/atomic-machine.h: ...here.
12218         (_MIPS_BITS_ATOMIC_H): Rename macro to _MIPS_ATOMIC_MACHINE_H.
12219         * sysdeps/powerpc/bits/atomic.h: Move to ...
12220         * sysdeps/powerpc/atomic-machine.h: ...here.  Update comments.
12221         * sysdeps/powerpc/powerpc32/bits/atomic.h: Move to ...
12222         * sysdeps/powerpc/powerpc32/atomic-machine.h: ...here.  Update
12223         comments.  Include <atomic-machine.h> instead of <bits/atomic.h>.
12224         * sysdeps/powerpc/powerpc64/bits/atomic.h: Move to ...
12225         * sysdeps/powerpc/powerpc64/atomic-machine.h: ...here.  Include
12226         <atomic-machine.h> instead of <bits/atomic.h>.
12227         * sysdeps/s390/bits/atomic.h: Move to ...
12228         * sysdeps/s390/atomic-machine.h: ...here.
12229         * sysdeps/sparc/sparc32/bits/atomic.h: Move to ...
12230         * sysdeps/sparc/sparc32/atomic-machine.h: ...here.
12231         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
12232         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h: Move to ...
12233         * sysdeps/sparc/sparc32/sparcv9/atomic-machine.h: ...here.
12234         * sysdeps/sparc/sparc64/bits/atomic.h: Move to ...
12235         * sysdeps/sparc/sparc64/atomic-machine.h: ...here.
12236         * sysdeps/tile/bits/atomic.h: Move to ...
12237         * sysdeps/tile/atomic-machine.h: ...here.
12238         * sysdeps/tile/tilegx/bits/atomic.h: Move to ...
12239         * sysdeps/tile/tilegx/atomic-machine.h: ...here.  Include
12240         <sysdeps/tile/atomic-machine.h> instead of
12241         <sysdeps/tile/bits/atomic.h>.
12242         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
12243         * sysdeps/tile/tilepro/bits/atomic.h: Move to ...
12244         * sysdeps/tile/tilepro/atomic-machine.h: ...here.  Include
12245         <sysdeps/tile/atomic-machine.h> instead of
12246         <sysdeps/tile/bits/atomic.h>.
12247         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
12248         * sysdeps/unix/sysv/linux/arm/bits/atomic.h: Move to ...
12249         * sysdeps/unix/sysv/linux/arm/atomic-machine.h: ...here.  Include
12250         <sysdeps/arm/atomic-machine.h> instead of
12251         <sysdeps/arm/bits/atomic.h>.
12252         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Move to ...
12253         * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: ...here.
12254         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
12255         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Move to ...
12256         * sysdeps/unix/sysv/linux/m68k/coldfire/atomic-machine.h: ...here.
12257         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
12258         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: Move to ...
12259         * sysdeps/unix/sysv/linux/nios2/atomic-machine.h: ...here.
12260         (_NIOS2_BITS_ATOMIC_H): Rename macro to _NIOS2_ATOMIC_MACHINE_H.
12261         * sysdeps/unix/sysv/linux/sh/bits/atomic.h: Move to ...
12262         * sysdeps/unix/sysv/linux/sh/atomic-machine.h: ...here.
12263         * sysdeps/x86_64/bits/atomic.h: Move to ...
12264         * sysdeps/x86_64/atomic-machine.h: ...here.
12265         * include/atomic.h: Include <atomic-machine.h> instead of
12266         <bits/atomic.h>.
12268         * sysdeps/mips/mips32/libm-test-ulps: Update.
12269         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
12271         [BZ #18952]
12272         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r): Do
12273         not convert non-integer negative arguments to int to determine the
12274         value of signgam.
12275         * math/auto-libm-test-in: Add more tests of lgamma.
12276         * math/auto-libm-test-out: Regenerated.
12278         * math/auto-libm-test-in: Add more tests of acosh, atanh, cbrt,
12279         cosh, csqrt, erfc, expm1 and lgamma.
12280         * math/auto-libm-test-out: Regenerated.
12281         * sysdeps/i386/fpu/libm-test-ulps: Update.
12282         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12284 2015-09-10  Joseph Myers  <joseph@codesourcery.com>
12286         [BZ #2542]
12287         [BZ #2543]
12288         [BZ #2558]
12289         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r): Call
12290         __lgamma_neg for arguments from -28.0 to -2.0.
12291         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Call
12292         __lgamma_negf for arguments from -15.0 to -2.0.
12293         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
12294         Call __lgamma_negl for arguments from -48.0 or -50.0 to -2.0.
12295         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (__ieee754_lgammal_r):
12296         Call __lgamma_negl for arguments from -33.0 to -2.0.
12297         * sysdeps/ieee754/dbl-64/lgamma_neg.c: New file.
12298         * sysdeps/ieee754/dbl-64/lgamma_product.c: Likewise.
12299         * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
12300         * sysdeps/ieee754/flt-32/lgamma_productf.c: Likewise.
12301         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
12302         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
12303         * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c: Likewise.
12304         * sysdeps/ieee754/ldbl-128ibm/lgamma_productl.c: Likewise.
12305         * sysdeps/ieee754/ldbl-96/lgamma_negl.c: Likewise.
12306         * sysdeps/ieee754/ldbl-96/lgamma_product.c: Likewise.
12307         * sysdeps/ieee754/ldbl-96/lgamma_productl.c: Likewise.
12308         * sysdeps/generic/math_private.h (__lgamma_negf): New prototype.
12309         (__lgamma_neg): Likewise.
12310         (__lgamma_negl): Likewise.
12311         (__lgamma_product): Likewise.
12312         (__lgamma_productl): Likewise.
12313         * math/Makefile (libm-calls): Add lgamma_neg and lgamma_product.
12314         * math/auto-libm-test-in: Add more tests of lgamma.
12315         * math/auto-libm-test-out: Regenerated.
12316         * sysdeps/i386/fpu/libm-test-ulps: Update.
12317         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12319 2015-09-09  Justin Maggard  <jmaggard@netgear.com>
12321         [BZ #18675]
12322         * sysdeps/posix/fpathconf.c (__fpathconf): Use __fstatvfs64.
12324 2015-09-08  Joseph Myers  <joseph@codesourcery.com>
12326         [BZ #14912]
12327         * bits/libc-lock.h: Move to ...
12328         * sysdeps/generic/libc-lock.h: ...here.
12329         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
12330         * sysdeps/mach/hurd/bits/libc-lock.h: Move to ...
12331         * sysdeps/mach/hurd/libc-lock.h: ...here.
12332         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
12333         [_LIBC]: Include <libc-lockP.h> instead of <bits/libc-lockP.h>.
12334         * sysdeps/mach/bits/libc-lock.h: Move to ...
12335         * sysdeps/mach/libc-lock.h: ...here.
12336         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
12337         * sysdeps/nptl/bits/libc-lock.h: Move to ...
12338         * sysdeps/nptl/libc-lock.h: ...here.
12339         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
12340         * sysdeps/nptl/bits/libc-lockP.h: Move to ...
12341         * sysdeps/nptl/libc-lockP.h: ...here.
12342         (_BITS_LIBC_LOCKP_H): Rename macro to _LIBC_LOCKP_H.
12343         * crypt/crypt_util.c: Include <libc-lock.h> instead of
12344         <bits/libc-lock.h>.
12345         * dirent/scandir-tail.c: Likewise.
12346         * dlfcn/dlerror.c: Likewise.
12347         * elf/dl-close.c: Likewise.
12348         * elf/dl-iteratephdr.c: Likewise.
12349         * elf/dl-lookup.c: Likewise.
12350         * elf/dl-open.c: Likewise.
12351         * elf/dl-support.c: Likewise.
12352         * elf/dl-writev.h: Likewise.
12353         * elf/rtld.c: Likewise.
12354         * grp/fgetgrent.c: Likewise.
12355         * gshadow/fgetsgent.c: Likewise.
12356         * gshadow/sgetsgent.c: Likewise.
12357         * iconv/gconv_conf.c: Likewise.
12358         * iconv/gconv_db.c: Likewise.
12359         * iconv/gconv_dl.c: Likewise.
12360         * iconv/gconv_int.h: Likewise.
12361         * iconv/gconv_trans.c: Likewise.
12362         * include/link.h: Likewise.
12363         * inet/getnameinfo.c: Likewise.
12364         * inet/getnetgrent.c: Likewise.
12365         * inet/getnetgrent_r.c: Likewise.
12366         * intl/bindtextdom.c: Likewise.
12367         * intl/dcigettext.c: Likewise.
12368         * intl/finddomain.c: Likewise.
12369         * intl/gettextP.h: Likewise.
12370         * intl/loadmsgcat.c: Likewise.
12371         * intl/localealias.c: Likewise.
12372         * intl/textdomain.c: Likewise.
12373         * libidn/idn-stub.c: Likewise.
12374         * libio/libioP.h: Likewise.
12375         * locale/duplocale.c: Likewise.
12376         * locale/freelocale.c: Likewise.
12377         * locale/newlocale.c: Likewise.
12378         * locale/setlocale.c: Likewise.
12379         * login/getutent_r.c: Likewise.
12380         * login/getutid_r.c: Likewise.
12381         * login/getutline_r.c: Likewise.
12382         * login/utmp-private.h: Likewise.
12383         * login/utmpname.c: Likewise.
12384         * malloc/mtrace.c: Likewise.
12385         * misc/efgcvt.c: Likewise.
12386         * misc/error.c: Likewise.
12387         * misc/fstab.c: Likewise.
12388         * misc/getpass.c: Likewise.
12389         * misc/mntent.c: Likewise.
12390         * misc/syslog.c: Likewise.
12391         * nis/nis_call.c: Likewise.
12392         * nis/nis_callback.c: Likewise.
12393         * nis/nss-default.c: Likewise.
12394         * nis/nss_compat/compat-grp.c: Likewise.
12395         * nis/nss_compat/compat-initgroups.c: Likewise.
12396         * nis/nss_compat/compat-pwd.c: Likewise.
12397         * nis/nss_compat/compat-spwd.c: Likewise.
12398         * nis/nss_nis/nis-alias.c: Likewise.
12399         * nis/nss_nis/nis-ethers.c: Likewise.
12400         * nis/nss_nis/nis-grp.c: Likewise.
12401         * nis/nss_nis/nis-hosts.c: Likewise.
12402         * nis/nss_nis/nis-network.c: Likewise.
12403         * nis/nss_nis/nis-proto.c: Likewise.
12404         * nis/nss_nis/nis-pwd.c: Likewise.
12405         * nis/nss_nis/nis-rpc.c: Likewise.
12406         * nis/nss_nis/nis-service.c: Likewise.
12407         * nis/nss_nis/nis-spwd.c: Likewise.
12408         * nis/nss_nisplus/nisplus-alias.c: Likewise.
12409         * nis/nss_nisplus/nisplus-ethers.c: Likewise.
12410         * nis/nss_nisplus/nisplus-grp.c: Likewise.
12411         * nis/nss_nisplus/nisplus-hosts.c: Likewise.
12412         * nis/nss_nisplus/nisplus-initgroups.c: Likewise.
12413         * nis/nss_nisplus/nisplus-network.c: Likewise.
12414         * nis/nss_nisplus/nisplus-proto.c: Likewise.
12415         * nis/nss_nisplus/nisplus-pwd.c: Likewise.
12416         * nis/nss_nisplus/nisplus-rpc.c: Likewise.
12417         * nis/nss_nisplus/nisplus-service.c: Likewise.
12418         * nis/nss_nisplus/nisplus-spwd.c: Likewise.
12419         * nis/ypclnt.c: Likewise.
12420         * nptl/libc_pthread_init.c: Likewise.
12421         * nss/getXXbyYY.c: Likewise.
12422         * nss/getXXent.c: Likewise.
12423         * nss/getXXent_r.c: Likewise.
12424         * nss/nss_db/db-XXX.c: Likewise.
12425         * nss/nss_db/db-netgrp.c: Likewise.
12426         * nss/nss_db/nss_db.h: Likewise.
12427         * nss/nss_files/files-XXX.c: Likewise.
12428         * nss/nss_files/files-alias.c: Likewise.
12429         * nss/nsswitch.c: Likewise.
12430         * posix/regex_internal.h: Likewise.
12431         * posix/wordexp.c: Likewise.
12432         * pwd/fgetpwent.c: Likewise.
12433         * resolv/res_hconf.c: Likewise.
12434         * resolv/res_libc.c: Likewise.
12435         * shadow/fgetspent.c: Likewise.
12436         * shadow/lckpwdf.c: Likewise.
12437         * shadow/sgetspent.c: Likewise.
12438         * socket/opensock.c: Likewise.
12439         * stdio-common/reg-modifier.c: Likewise.
12440         * stdio-common/reg-printf.c: Likewise.
12441         * stdio-common/reg-type.c: Likewise.
12442         * stdio-common/vfprintf.c: Likewise.
12443         * stdio-common/vfscanf.c: Likewise.
12444         * stdlib/abort.c: Likewise.
12445         * stdlib/cxa_atexit.c: Likewise.
12446         * stdlib/fmtmsg.c: Likewise.
12447         * stdlib/random.c: Likewise.
12448         * stdlib/setenv.c: Likewise.
12449         * string/strsignal.c: Likewise.
12450         * sunrpc/auth_none.c: Likewise.
12451         * sunrpc/bindrsvprt.c: Likewise.
12452         * sunrpc/create_xid.c: Likewise.
12453         * sunrpc/key_call.c: Likewise.
12454         * sunrpc/rpc_thread.c: Likewise.
12455         * sysdeps/arm/backtrace.c: Likewise.
12456         * sysdeps/generic/ldsodefs.h: Likewise.
12457         * sysdeps/generic/stdio-lock.h: Likewise.
12458         * sysdeps/generic/unwind-dw2-fde.c: Likewise.
12459         * sysdeps/i386/backtrace.c: Likewise.
12460         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
12461         * sysdeps/m68k/backtrace.c: Likewise.
12462         * sysdeps/mach/hurd/cthreads.c: Likewise.
12463         * sysdeps/mach/hurd/dirstream.h: Likewise.
12464         * sysdeps/mach/hurd/malloc-machine.h: Likewise.
12465         * sysdeps/nptl/malloc-machine.h: Likewise.
12466         * sysdeps/nptl/stdio-lock.h: Likewise.
12467         * sysdeps/posix/dirstream.h: Likewise.
12468         * sysdeps/posix/getaddrinfo.c: Likewise.
12469         * sysdeps/posix/system.c: Likewise.
12470         * sysdeps/pthread/aio_suspend.c: Likewise.
12471         * sysdeps/s390/s390-32/backtrace.c: Likewise.
12472         * sysdeps/s390/s390-64/backtrace.c: Likewise.
12473         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
12474         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
12475         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c: Likewise.
12476         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c: Likewise.
12477         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c: Likewise.
12478         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
12479         * sysdeps/unix/sysv/linux/system.c: Likewise.
12480         * sysdeps/x86_64/backtrace.c: Likewise.
12481         * time/alt_digit.c: Likewise.
12482         * time/era.c: Likewise.
12483         * time/tzset.c: Likewise.
12484         * wcsmbs/wcsmbsload.c: Likewise.
12485         * nptl/tst-initializers1.c (do_test): Refer to <libc-lock.h>
12486         instead of <bits/libc-lock.h> in comment.
12488 2015-09-08  Andrew Bennett  <andrew.bennett@imgtec.com>
12490         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIO32] (MIPS_PUSH_MIPS2):
12491         Only use .set mips2 if the current ISA is below mips2.
12492         * sysdeps/mips/sys/tas.h [_MIPS_SIM == _ABIO32] (_test_and_set):
12493         Likewise.
12494         * sysdeps/mips/nptl/tls.h (READ_THREAD_POINTER): Only use .set
12495         mips32r2 if the current ISA is below mips32r2.
12496         * sysdeps/mips/tls-macros.h (TLS_RDHWR): New define.
12497         (TLS_IE): Updated to use the TLD_RDHWR macro.
12498         (TLS_LE): Likewise.
12499         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Moved out of #ifdef
12500         __ASSEMBLER__ condition.
12502 2015-09-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
12504         Fix parallel build of before-compile targets.
12506         * sysdeps/mach/Makefile ($(patsubst
12507         mach%,m\%h%,$(mach-before-compile))): Move rule to dedicated
12508         mach-before-compile target.
12509         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
12510         io fs process)): Move rule to dedicated hurd-before-compile target.
12512 2015-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
12514         Fix rules generating headers in hurd/ and mach/ when initial make call
12515         has subdir= explicitly set.
12517         * sysdeps/mach/Makefile ($(patsubst
12518         mach%,m\%h%,$(mach-before-compile))): Force subdir to mach when
12519         calling $(MAKE).
12520         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
12521         io fs process)): Force subdir to hurd when calling $(MAKE).
12522         ($(common-objpfx)hurd/../mach/RPC_task_get_sampled_pcs.c): Force
12523         subdir to mach when calling $(MAKE).
12525 2015-09-06  Manolis Ragkousis  <manolis837@gmail.com>
12527         Check sysheaders when looking for Mach and Hurd headers
12529         * sysdeps/mach/configure.ac: Add sysheaders check.
12530         * sysdeps/mach/configure: Regenerate.
12531         * sysdeps/mach/hurd/configure.ac: Add sysheaders check.
12532         * sysdeps/mach/hurd/configure: Regenerate.
12534 2015-09-04  Roland McGrath  <roland@hack.frob.com>
12536         [BZ #18921]
12537         * sysdeps/posix/opendir.c (need_isdir_precheck) [O_DIRECTORY]:
12538         Fix inverted sense of test of 'o_directory_works' value.
12539         Reported by Pádraig Brady <P@draigBrady.com>, diagnosed by
12540         Bernhard Voelker <mail@bernhard-voelker.de>.
12542 2015-09-04  Joseph Myers  <joseph@codesourcery.com>
12544         [BZ #14912]
12545         * bits/linkmap.h: Move to ...
12546         * sysdeps/generic/linkmap.h: ...here.
12547         * sysdeps/aarch64/bits/linkmap.h: Move to ...
12548         * sysdeps/aarch64/linkmap.h: ...here.
12549         * sysdeps/arm/bits/linkmap.h: Move to ...
12550         * sysdeps/arm/linkmap.h: ...here.
12551         * sysdeps/hppa/bits/linkmap.h: Move to ...
12552         * sysdeps/hppa/linkmap.h: ...here.
12553         * sysdeps/ia64/bits/linkmap.h: Move to ...
12554         * sysdeps/ia64/linkmap.h: ...here.
12555         * sysdeps/mips/bits/linkmap.h: Move to ...
12556         * sysdeps/mips/linkmap.h: ...here.
12557         * sysdeps/s390/bits/linkmap.h: Move to ...
12558         * sysdeps/s390/linkmap.h: ...here.
12559         * sysdeps/sh/bits/linkmap.h: Move to ...
12560         * sysdeps/sh/linkmap.h: ...here.
12561         * sysdeps/x86/bits/linkmap.h: Move to ...
12562         * sysdeps/x86/linkmap.h: ...here.
12563         * include/link.h: Include <linkmap.h> instead of <bits/linkmap.h>.
12565 2015-09-04  Andreas Schwab  <schwab@suse.de>
12567         [BZ #18635]
12568         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S
12569         (__makecontext): Terminate FDE before return label.
12570         (__novec_makecontext): Likewise.
12572 2015-09-04  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
12574         * sysdeps/unix/sysv/linux/socketpair.c: Use the address of the
12575         first member of struct sv in syscall macro.
12577 2015-09-04  Joseph Myers  <joseph@codesourcery.com>
12579         [BZ #14912]
12580         * bits/stdio-lock.h: Move to ...
12581         * sysdeps/generic/stdio-lock.h: ...here.
12582         (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
12583         * sysdeps/nptl/bits/stdio-lock.h: Move to ...
12584         * sysdeps/nptl/stdio-lock.h: ...here.
12585         (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
12586         * include/libio.h: Include <stdio-lock.h> instead of
12587         <bits/stdio-lock.h>.
12588         * sysdeps/nptl/fork.c: Likewise.
12589         * sysdeps/pthread/flockfile.c: Likewise.
12590         * sysdeps/pthread/ftrylockfile.c: Likewise.
12591         * sysdeps/pthread/funlockfile.c: Likewise.
12593         [BZ #14912]
12594         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Move to ...
12595         * sysdeps/unix/sysv/linux/m68k/m68k-vdso.h: ...here.
12596         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Include
12597         <m68k-vdso.h> instead of <bits/m68k-vdso.h>.
12598         * sysdeps/unix/sysv/linux/m68k/init-first.c: Likewise.
12599         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
12600         * sysdeps/unix/sysv/linux/m68k/m68k-vdso.c: Likewise.
12602 2015-09-03  Roland McGrath  <roland@hack.frob.com>
12604         * elf/Makefile (test-xfail-tst-protected1a): New variable.
12605         (test-xfail-tst-protected1b): New variable.
12607 2015-09-03  Joseph Myers  <joseph@codesourcery.com>
12609         [BZ #14912]
12610         * bits/libc-tsd.h: Move to ...
12611         * sysdeps/generic/libc-tsd.h: ...here.
12612         (_GENERIC_BITS_LIBC_TSD_H): Rename macro to _GENERIC_LIBC_TSD_H.
12613         * sysdeps/mach/hurd/bits/libc-tsd.h: Move to ...
12614         * sysdeps/mach/hurd/libc-tsd.h: ...here.
12615         (_BITS_LIBC_TSD_H): Rename macro to _LIBC_TSD_H.
12616         * include/ctype.h: Include <libc-tsd.h> instead of
12617         <bits/libc-tsd.h>.
12618         * include/rpc/rpc.h: Likewise.
12619         * locale/localeinfo.h: Likewise.
12620         * sunrpc/rpc_thread.c: Likewise.
12621         * sysdeps/mach/hurd/malloc-machine.h: Likewise.
12622         * sysdeps/nptl/malloc-machine.h: Likewise.
12624         * Makefile (headers): Remove bits/libc-lock.h.
12625         * libio/Makefile (headers): Remove bits/stdio-lock.h.
12627         * libio/libio.h [_IO_MTSAFE_IO]: Remove include of
12628         <bits/stdio-lock.h> and commented-out include of <comthread.h>.
12629         * include/libio.h [!_ISOMAC && _IO_MTSAFE_IO]: Include
12630         <bits/stdio-lock.h>.
12631         * stdio-common/scanf15.c (_IO_MTSAFE_IO): Undefine.
12632         * stdio-common/scanf17.c (_IO_MTSAFE_IO): Likewise.
12634 2015-09-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
12636         [BZ #18757]
12637         * libio/iofopncook.c (_IO_fopencookie): Set errno on failure.
12638         * libio/test-fmemopen.c (do_bz18820): Extend the test to cover
12639         BZ #18757.
12641 2015-09-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
12643         * malloc/mtrace.pl: Filter out NULL entries.
12645 2015-09-01  Joseph Myers  <joseph@codesourcery.com>
12647         * inet/netinet/in.h (IPPROTO_MPLS): New enum value and macro.
12648         * sysdeps/unix/sysv/linux/bits/in.h (IP_BIND_ADDRESS_NO_PORT): New
12649         macro.
12651         * sysdeps/gnu/netinet/tcp.h (TCP_NOTSENT_LOWAT): New macro.
12652         (TCP_CC_INFO): Likewise.
12653         (TCP_SAVE_SYN): Likewise.
12654         (TCP_SAVED_SYN): Likewise.
12656 2015-08-31  Brett Neumeier <brett@neumeier.us>
12658         [BZ #18870]
12659         * sysdeps/sparc/sparc32/sem_open.c: Add missing #include
12661 2015-08-31  Paul Eggert  <eggert@cs.ucla.edu>
12663         [BZ #18873]
12664         Fix broken overflow check in posix_fallocate
12665         * sysdeps/posix/posix_fallocate.c (posix_fallocate):
12666         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
12667         Fix parenthesization typo.
12669 2015-08-28  Mike Frysinger  <vapier@gentoo.org>
12671         [BZ #18887]
12672         * misc/Makefile (tests): Add tst-mntent-blank-corrupt and
12673         tst-mntent-blank-passno.
12674         * misc/mntent_r.c (__getmntent_r): Do not read past buffer[0].
12675         * misc/tst-mntent-blank-corrupt.c: New test.
12676         * misc/tst-mntent-blank-passno.c: New test ripped from ...
12677         * misc/tst-mntent.c (do_test): ... here.
12679 2015-08-29  Mike Frysinger  <vapier@gentoo.org>
12681         [BZ #4404]
12682         * po/de.po: Fix SIGALRM typo.
12684 2015-08-28  James Perkins  <james@loowit.net>
12686         * time/tst-strptime2.c (tests): Replace short list of test
12687         strings for strptime %z specifier with code which exhaustively
12688         tests every combination of sign and 0 to 5 digits. Tests for
12689         rejection of invalid strings.
12691 2015-08-28  James Perkins  <james@loowit.net>
12693         [BZ #16141]
12694         * time/strptime_l.c (__strptime_internal): Fix %z minutes
12695         calculation, removing incorrect decimal time rounding, so that
12696         all minute values result in a valid seconds value.
12697         * time/strptime_l.c (__strptime_internal): Extend %z time zone
12698         offset range limits to UTC-99:59 through UTC+99:59 to parse
12699         current and historical use cases.
12700         * time/tst-strptime2.c (tests): Modify and add tests for the
12701         strptime %z input field descriptor, specifically conversion of
12702         minutes to seconds and validating an offset range of -9959 to
12703         +9959.
12705 2015-08-27  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12706             Dmitry V. Levin  <ldv@altlinux.org>
12708         [BZ #18877]
12709         * posix/Makefile (tests): Add tst-mmap-offset.
12710         * posix/tst-mmap.c: New file.
12711         * sysdeps/unix/sysv/linux/generic/wordsize-32/mmap.c (__mmap): Fix
12712         offset calculation for negative values.
12714 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
12716         * sysdeps/i386/init-arch.h: New file.
12717         * sysdeps/i386/i586/init-arch.h: Likewise.
12718         * sysdeps/i386/i686/init-arch.h: Likewise.
12719         * sysdeps/x86/cpu-features.c (init_cpu_features): Set bit_I586
12720         bit if CX8 is available.  Set bit_I686 bit if CMOV is available.
12721         * sysdeps/x86/cpu-features.h (bit_I586): New.
12722         (bit_I686): Likewise.
12723         (bit_CX8): Likewise.
12724         (bit_CMOV): Likewise.
12725         (index_CX8): Likewise.
12726         (index_CMOV): Likewise.
12727         (index_I586): Likewise.
12728         (index_I686): Likewise.
12729         (reg_CX8): Likewise.
12730         (reg_CMOV): Likewise.
12731         (HAS_I586): Defined as HAS_ARCH_FEATURE (I586) if i586 isn't
12732         available at compile-time.
12733         (HAS_I686): Defined as HAS_ARCH_FEATURE (I686) if i686 isn't
12734         available at compile-time.
12735         * sysdeps/x86/init-arch.h (USE_I586): New macro.
12736         (USE_I686): Likewise.
12738 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
12740         * sysdeps/i386/bcopy.S: New file.
12741         * sysdeps/i386/bzero.S: Likewise.
12742         * sysdeps/i386/memcpy.S: Likewise.
12743         * sysdeps/i386/memmove.S: Likewise.
12744         * sysdeps/i386/mempcpy.S: Likewise.
12745         * sysdeps/i386/memset.S: Likewise.
12746         * sysdeps/i386/bzero.c: Removed.
12747         * sysdeps/i386/memset.c: Likewise.
12748         * sysdeps/i386/i586/memcpy_chk.S: Likewise.
12749         * sysdeps/i386/i586/mempcpy_chk.S: Likewise.
12750         * sysdeps/i386/i586/memset_chk.S: Likewise.
12751         * sysdeps/i386/i686/memcpy_chk.S: Moved to ...
12752         * sysdeps/i386/memcpy_chk.S: Here.
12753         * sysdeps/i386/i686/memmove_chk.S: Moved to ...
12754         * sysdeps/i386/memmove_chk.S: Here.
12755         * sysdeps/i386/i686/mempcpy_chk.S: Moved to ...
12756         * sysdeps/i386/mempcpy_chk.S: Likewise.
12757         * sysdeps/i386/i686/memset_chk.S: Moved to ...
12758         * sysdeps/i386/memset_chk.S: Likewise.
12760 2015-08-27  Steve Ellcey  <sellcey@imgtec.com>
12762         * soft-fp/fmasf4.c: Add include of sys/cdefs.h.
12763         Move DIAG_PUSH_NEEDS_COMMENT, DIAG_IGNORE_NEEDS_COMMENT to front of
12764         file, move DIAG_POP_NEEDS_COMMENT to end of file.
12765         * soft-fp/fmadf4.c: Ditto.
12766         * soft-fp/fmatf4.c: Ditto.
12768 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
12770         * sysdeps/i386/i586/Implies: Removed.
12771         * sysdeps/i386/i686/Implies: Likewise.
12773 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
12775         * sysdeps/i386/i486/strlen.S: Moved to ...
12776         * sysdeps/i386/strlen.S: Here.
12778 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
12780         * sysdeps/i386/i486/strcat.S: Moved to ...
12781         * sysdeps/i386/strcat.S: Here.
12783 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
12785         * sysdeps/i386/i486/pthread_spin_trylock.S: Moved to ...
12786         * sysdeps/i386/pthread_spin_trylock.S: Here.
12787         * sysdeps/i386/i586/pthread_spin_trylock.S: Removed.
12788         * sysdeps/i386/i686/pthread_spin_trylock.S: Updated.
12790 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
12792         * sysdeps/i386/i486/string-inlines.c: Moved to ...
12793         * sysdeps/i386/string-inlines.c: Here.
12795 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
12797         * sysdeps/i386/i486/htonl.S: Moved ...
12798         * sysdeps/i386/htonl.S: here.
12800 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
12802         * sysdeps/i386/i486/bits/atomic.h: Moved to ...
12803         * sysdeps/i386/bits/atomic.h: Here.
12805 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
12807         * sysdeps/i386/i486/Versions: Removed.
12809 2015-08-27  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
12811         [BZ #2898]
12812         * misc/mktemp.c: Add mkdtemp to the link_warning message.
12813         Based on patch by Aurelien Jarno.
12815 2015-08-26  Stan Shebs  <stanshebs@google.com>
12817         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <libc-internal.h>.
12818         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
12820 2015-08-26  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
12822         * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_HTM_NOSC.
12823         * sysdeps/powerpc/dl-procinfo.c:
12824         (_dl_powerpc_cap_flags): Added descriptor for this hwcap
12825         feature so it shows when LD_SHOW_AUXV=1.
12827 2015-08-26  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
12829         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
12830         (__arch_compare_and_exchange_val_32_acq): Remove and use common
12831         definition.  ISA 2.07B no longer requires full sync.
12833 2015-08-26  Mike Frysinger  <vapier@gentoo.org>
12835         [BZ #18863]
12836         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (siginfo_t): Add _sigsys.
12837         (si_call_addr): Define.
12838         (si_syscall): Define.
12839         (si_arch): Define.
12841 2015-08-26  H.J. Lu  <hongjiu.lu@intel.com>
12843         * sysdeps/i386/i586/bzero.S (USE_AS_BZERO): New.
12844         * sysdeps/i386/i686/bzero.S (USE_AS_BZERO): Likewise.
12845         * sysdeps/i386/i586/memset.S (BZERO_P): Removed.
12846         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
12847         (__memset_zero_constant_len_parameter): New.
12848         * sysdeps/i386/i686/memset.S (BZERO_P): Removed.
12849         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
12850         (__memset_zero_constant_len_parameter): Don't define if
12851         __memset_chk or USE_AS_BZERO are defined.
12853         * sysdeps/i386/i586/memcpy.S (MEMPCPY_P): Removed.
12854         Check USE_AS_MEMPCPY/SHARED instead of MEMPCPY_P/PIC.
12855         * sysdeps/i386/i586/mempcpy.S (USE_AS_MEMPCPY): New.
12857         * sysdeps/x86/Makefile [$(subdir) == elf] (CFLAGS-.os,
12858         tests-special, $(objpfx)tst-ld-sse-use.out): Moved to ...
12859         * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os,
12860         tests-special, $(objpfx)tst-ld-sse-use.out): Here.  Update
12861         comments.
12862         * sysdeps/x86_64/Makefile [$(subdir) == elf] (CFLAGS-.os): Add
12863         -mno-mmx for $(all-rtld-routines).
12864         * sysdeps/x86/tst-ld-sse-use.sh: Moved to ...
12865         * sysdeps/i386/tst-ld-sse-use.sh: Here.  Replace x86-64 with
12866         i386.
12868 2015-08-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
12870         * sysdeps/generic/unwind.h
12871         (_Unwind_Word): Use __mode__(__unwind_word__)
12872         instead of __mode__(__word__).
12873         (_Unwind_Sword): Likewise.
12875         * sysdeps/s390/s390-64/utf8-utf16-z9.c
12876         (MAX_NEEDED_INPUT): New define.
12877         (MAX_NEEDED_OUTPUT): New define.
12879         * NEWS: New item for IBM z13 string optimizations.
12881         * sysdeps/s390/multiarch/memrchr-c.c: New File.
12882         * sysdeps/s390/multiarch/memrchr-vx.S: Likewise.
12883         * sysdeps/s390/multiarch/memrchr.c: Likewise.
12884         * sysdeps/s390/multiarch/Makefile
12885         (sysdep_routines): Add memrchr functions.
12886         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
12887         (__libc_ifunc_impl_list_common): Add ifunc test for memrchr.
12889         * sysdeps/s390/multiarch/wmemcmp-c.c: New File.
12890         * sysdeps/s390/multiarch/wmemcmp-vx.S: Likewise.
12891         * sysdeps/s390/multiarch/wmemcmp.c: Likewise.
12892         * sysdeps/s390/multiarch/Makefile
12893         (sysdep_routines): Add wmemcmp functions.
12894         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
12895         (__libc_ifunc_impl_list_common): Add ifunc test for wmemcmp.
12896         * benchtests/bench-wmemcmp.c: New File.
12897         * benchtests/Makefile (wcsmbs-bench): Add wmemcmp.
12899         * sysdeps/s390/multiarch/wmemset-c.c: New File.
12900         * sysdeps/s390/multiarch/wmemset-vx.S: Likewise.
12901         * sysdeps/s390/multiarch/wmemset.c: Likewise.
12902         * sysdeps/s390/multiarch/Makefile
12903         (sysdep_routines): Add wmemset functions.
12904         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
12905         (__libc_ifunc_impl_list_common): Add ifunc test for wmemset.
12906         * wcsmbs/wmemset.c: Use WMEMSET if defined.
12907         * string/test-memset.c: Add wmemset support.
12908         * wcsmbs/test-wmemset.c: New File.
12909         * wcsmbs/Makefile (strop-tests): Add wmemset.
12910         * benchtests/bench-memset.c: Add wmemset support.
12911         * benchtests/bench-wmemset.c: New File.
12912         * benchtests/Makefile (wcsmbs-bench): Add wmemset.
12914         * sysdeps/s390/multiarch/memccpy-c.c: New File.
12915         * sysdeps/s390/multiarch/memccpy-vx.S: Likewise.
12916         * sysdeps/s390/multiarch/memccpy.c: Likewise.
12917         * sysdeps/s390/multiarch/Makefile
12918         (sysdep_routines): Add memccpy functions.
12919         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
12920         (__libc_ifunc_impl_list_common): Add ifunc test for memccpy.
12921         * string/memccpy.c: Use MEMCCPY if defined.
12923         * sysdeps/s390/multiarch/memchr-vx.S: New File.
12924         * sysdeps/s390/multiarch/memchr.c: Likewise.
12925         * sysdeps/s390/multiarch/rawmemchr-c.c: Likewise.
12926         * sysdeps/s390/multiarch/rawmemchr-vx.S: Likewise.
12927         * sysdeps/s390/multiarch/rawmemchr.c: Likewise.
12928         * sysdeps/s390/multiarch/wmemchr-c.c: Likewise.
12929         * sysdeps/s390/multiarch/wmemchr-vx.S: Likewise.
12930         * sysdeps/s390/multiarch/wmemchr.c: Likewise.
12931         * sysdeps/s390/s390-32/multiarch/memchr.c: Likewise.
12932         * sysdeps/s390/s390-64/multiarch/memchr.c: Likewise.
12933         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memchr, wmemchr
12934         and rawmemchr functions.
12935         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
12936         (__libc_ifunc_impl_list_common): Add ifunc test for memchr, rawmemchr
12937         and wmemchr.
12938         * wcsmbs/wmemchr.c: Use WMEMCHR if defined.
12939         * string/test-memchr.c: Add wmemchr support.
12940         * wcsmbs/test-wmemchr.c: New File.
12941         * wcsmbs/Makefile (strop-tests): Add wmemchr.
12942         * benchtests/bench-memchr.c: Add wmemchr support.
12943         * benchtests/bench-wmemchr.c: New File.
12944         * benchtests/Makefile (wcsmbs-bench): wmemchr.
12946         * sysdeps/s390/multiarch/strcspn-c.c: New File.
12947         * sysdeps/s390/multiarch/strcspn-vx.S: Likewise.
12948         * sysdeps/s390/multiarch/strcspn.c: Likewise.
12949         * sysdeps/s390/multiarch/wcscspn-c.c: Likewise.
12950         * sysdeps/s390/multiarch/wcscspn-vx.S: Likewise.
12951         * sysdeps/s390/multiarch/wcscspn.c: Likewise.
12952         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcspn and
12953         wcscspn functions.
12954         * sysdeps/s390/multiarch/ifunc-impl-list.c
12955         (__libc_ifunc_impl_list): Add ifunc test for strcspn, wcscspn.
12956         * wcsmbs/wcscspn.c: Use WCSCSPN if defined.
12957         * string/test-strcspn.c: Add wcscspn support.
12958         * wcsmbs/test-wcscspn.c: New File.
12959         * wcsmbs/Makefile (strop-tests): Add wcscspn.
12960         * benchtests/bench-strcspn.c: Add wcscspn support.
12961         * benchtests/bench-wcscspn.c: New File.
12962         * benchtests/Makefile (wcsmbs-bench): Add wcscspn.
12964         * sysdeps/s390/multiarch/strpbrk-c.c: New File.
12965         * sysdeps/s390/multiarch/strpbrk-vx.S: Likewise.
12966         * sysdeps/s390/multiarch/strpbrk.c: Likewise.
12967         * sysdeps/s390/multiarch/wcspbrk-c.c: Likewise.
12968         * sysdeps/s390/multiarch/wcspbrk-vx.S: Likewise.
12969         * sysdeps/s390/multiarch/wcspbrk.c: Likewise.
12970         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strpbrk and
12971         wcspbrk functions.
12972         * sysdeps/s390/multiarch/ifunc-impl-list.c
12973         (__libc_ifunc_impl_list): Add ifunc test for strpbrk, wcspbrk.
12974         * wcsmbs/wcspbrk.c: Use WCSPBRK if defined.
12975         * string/test-strpbrk.c: Add wcspbrk support.
12976         * wcsmbs/test-wcspbrk.c: New File.
12977         * wcsmbs/Makefile (strop-tests): Add wcspbrk.
12978         * benchtests/bench-strpbrk.c: Add wcspbrk support.
12979         * benchtests/bench-wcspbrk.c: New File.
12980         * benchtests/Makefile (wcsmbs-bench): Add wcspbrk.
12982         * sysdeps/s390/multiarch/strspn-c.c: New File.
12983         * sysdeps/s390/multiarch/strspn-vx.S: Likewise.
12984         * sysdeps/s390/multiarch/strspn.c: Likewise.
12985         * sysdeps/s390/multiarch/wcsspn-c.c: Likewise.
12986         * sysdeps/s390/multiarch/wcsspn-vx.S: Likewise.
12987         * sysdeps/s390/multiarch/wcsspn.c: Likewise.
12988         * wcsmbs/wcsspn.c: Use WCSSPN if defined.
12989         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strspn and
12990         wcsspn functions.
12991         * sysdeps/s390/multiarch/ifunc-impl-list.c
12992         (__libc_ifunc_impl_list): Add ifunc test for strspn, wcsspn.
12993         * string/test-strspn.c: Add wcsspn support.
12994         * wcsmbs/test-wcsspn.c: New File.
12995         * wcsmbs/Makefile (strop-tests): Add wcsspn.
12996         * benchtests/bench-strspn.c: Add wcsspn support.
12997         * benchtests/bench-wcsspn.c: New File.
12998         * benchtests/Makefile (wcsmbs-bench): Add wcsspn.
13000         * sysdeps/s390/multiarch/strrchr-c.c: New File.
13001         * sysdeps/s390/multiarch/strrchr-vx.S: Likewise.
13002         * sysdeps/s390/multiarch/strrchr.c: Likewise.
13003         * sysdeps/s390/multiarch/wcsrchr-c.c: Likewise.
13004         * sysdeps/s390/multiarch/wcsrchr-vx.S: Likewise.
13005         * sysdeps/s390/multiarch/wcsrchr.c: Likewise.
13006         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strrchr and
13007         wcsrchr functions.
13008         * sysdeps/s390/multiarch/ifunc-impl-list.c
13009         (__libc_ifunc_impl_list): Add ifunc test for strrchr, wcsrchr.
13010         * benchtests/bench-wcsrchr.c: New File.
13011         * benchtests/Makefile (wcsmbs-bench): Add wcsrchr.
13013         * sysdeps/s390/multiarch/strchrnul-c.c: New File.
13014         * sysdeps/s390/multiarch/strchrnul-vx.S: Likewise.
13015         * sysdeps/s390/multiarch/strchrnul.c: Likewise.
13016         * sysdeps/s390/multiarch/wcschrnul-c.c: Likewise.
13017         * sysdeps/s390/multiarch/wcschrnul-vx.S: Likewise.
13018         * sysdeps/s390/multiarch/wcschrnul.c: Likewise.
13019         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchrnul and
13020         wcschrnul functions.
13021         * sysdeps/s390/multiarch/ifunc-impl-list.c
13022         (__libc_ifunc_impl_list): Add ifunc test for strchrnul, wcschrnul.
13023         * wcsmbs/wcschrnul.c: Use WCSCHRNUL if defined.
13024         * string/test-strchr.c: Add wcschrnul support.
13025         * wcsmbs/test-wcschrnul.c: New File.
13026         * wcsmbs/Makefile (strop-tests): Add wcschrnul.
13027         * benchtests/bench-strchr.c: Add wcschrnul support.
13028         * benchtests/bench-wcschrnul.c: New File.
13029         * benchtests/Makefile (wcsmbs-bench): Add wcschrnul.
13031         * sysdeps/s390/multiarch/strchr-c.c: New File.
13032         * sysdeps/s390/multiarch/strchr-vx.S: Likewise.
13033         * sysdeps/s390/multiarch/strchr.c: Likewise.
13034         * sysdeps/s390/multiarch/wcschr-c.c: Likewise.
13035         * sysdeps/s390/multiarch/wcschr-vx.S: Likewise.
13036         * sysdeps/s390/multiarch/wcschr.c: Likewise.
13037         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchr and
13038         wcschr functions.
13039         * sysdeps/s390/multiarch/ifunc-impl-list.c
13040         (__libc_ifunc_impl_list): Add ifunc test for strchr, wcschr.
13041         * string/strchr.c (STRCHR): Define and use macro.
13042         * benchtests/bench-wcschr.c: New File.
13043         * benchtests/Makefile (wcsmbs-bench): Add wcschr.
13045         * sysdeps/s390/multiarch/strncmp-c.c: New File.
13046         * sysdeps/s390/multiarch/strncmp-vx.S: Likewise.
13047         * sysdeps/s390/multiarch/strncmp.c: Likewise.
13048         * sysdeps/s390/multiarch/wcsncmp-c.c: Likewise.
13049         * sysdeps/s390/multiarch/wcsncmp-vx.S: Likewise.
13050         * sysdeps/s390/multiarch/wcsncmp.c: Likewise.
13051         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncmp and
13052         wcsncmp functions.
13053         * sysdeps/s390/multiarch/ifunc-impl-list.c
13054         (__libc_ifunc_impl_list): Add ifunc test for strncmp, wcsncmp.
13055         * wcsmbs/wcsncmp.c (WCSNCMP): Define and use macro.
13056         * benchtests/bench-strncmp.c: Add wcsncmp support.
13057         * benchtests/bench-wcsncmp.c: New File.
13058         * benchtests/Makefile (wcsmbs-bench): Add wcsncmp.
13060         * sysdeps/s390/multiarch/strcmp-vx.S: New File.
13061         * sysdeps/s390/multiarch/strcmp.c: Likewise.
13062         * sysdeps/s390/multiarch/wcscmp-c.c: Likewise.
13063         * sysdeps/s390/multiarch/wcscmp-vx.S: Likewise.
13064         * sysdeps/s390/multiarch/wcscmp.c: Likewise.
13065         * sysdeps/s390/s390-32/multiarch/strcmp.c: Likewise.
13066         * sysdeps/s390/s390-64/multiarch/strcmp.c: Likewise.
13067         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcmp and
13068         wcscmp functions.
13069         * sysdeps/s390/multiarch/ifunc-impl-list.c
13070         (__libc_ifunc_impl_list): Add ifunc test for strcmp, wcscmp.
13071         * string/strcmp.c (STRCMP): Define and use macro.
13072         * benchtests/bench-wcscmp.c: New File.
13073         * benchtests/Makefile (wcsmbs-bench): Add wcscmp.
13074         * sysdeps/s390/bits/string.h: Fix typo: _HAVE_STRING_ARCH_strcmp
13075         instead of _HAVE_STRING_ARCH_memchr.
13077         * sysdeps/s390/multiarch/strncat-c.c: New File.
13078         * sysdeps/s390/multiarch/strncat-vx.S: Likewise.
13079         * sysdeps/s390/multiarch/strncat.c: Likewise.
13080         * sysdeps/s390/multiarch/wcsncat-c.c: Likewise.
13081         * sysdeps/s390/multiarch/wcsncat-vx.S: Likewise.
13082         * sysdeps/s390/multiarch/wcsncat.c: Likewise.
13083         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncat and
13084         wcsncat functions.
13085         * sysdeps/s390/multiarch/ifunc-impl-list.c
13086         (__libc_ifunc_impl_list): Add ifunc test for strncat, wcsncat.
13087         * wcsmbs/wcsncat.c (WCSNCAT): Define and use macro.
13088         * string/test-strncat.c: Add wcsncat support.
13089         * wcsmbs/test-wcsncat.c: New File.
13090         * wcsmbs/Makefile (strop-tests): Add wcsncat.
13091         * benchtests/bench-strncat.c: Add wcsncat support.
13092         * benchtests/bench-wcsncat.c: New File.
13093         * benchtests/Makefile (wcsmbs-bench): Add wcsncat.
13095         * sysdeps/s390/multiarch/strcat-c.c: New File.
13096         * sysdeps/s390/multiarch/strcat-vx.S: Likewise.
13097         * sysdeps/s390/multiarch/strcat.c: Likewise.
13098         * sysdeps/s390/multiarch/wcscat-c.c: Likewise.
13099         * sysdeps/s390/multiarch/wcscat-vx.S: Likewise.
13100         * sysdeps/s390/multiarch/wcscat.c: Likewise.
13101         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcat and
13102         wcscat functions.
13103         * sysdeps/s390/multiarch/ifunc-impl-list.c
13104         (__libc_ifunc_impl_list): Add ifunc test for strcat, wcscat.
13105         * string/strcat.c (STRCAT): Define and use macro.
13106         * wcsmbs/wcscat.c: Use WCSCAT if defined.
13107         * string/test-strcat.c: Add wcscat support.
13108         * wcsmbs/test-wcscat.c: New File.
13109         * wcsmbs/Makefile (strop-tests): Add wcscat.
13110         * benchtests/bench-strcat.c: Add wcscat support.
13111         * benchtests/bench-wcscat.c: New File.
13112         * benchtests/Makefile (wcsmbs-bench): Add wcscat.
13114         * sysdeps/s390/multiarch/stpncpy-c.c: New File.
13115         * sysdeps/s390/multiarch/stpncpy-vx.S: Likewise.
13116         * sysdeps/s390/multiarch/stpncpy.c: Likewise.
13117         * sysdeps/s390/multiarch/wcpncpy-c.c: Likewise.
13118         * sysdeps/s390/multiarch/wcpncpy-vx.S: Likewise.
13119         * sysdeps/s390/multiarch/wcpncpy.c: Likewise.
13120         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpncpy and
13121         wcpncpy functions.
13122         * sysdeps/s390/multiarch/ifunc-impl-list.c
13123         (__libc_ifunc_impl_list): Add ifunc test for stpncpy, wcpncpy.
13124         * wcsmbs/wcpncpy.c: Use WCPNCPY if defined.
13125         * string/test-stpncpy.c: Add wcpncpy support.
13126         * wcsmbs/test-wcpncpy.c: New File.
13127         * wcsmbs/Makefile (strop-tests): Add wcpncpy.
13128         * benchtests/bench-stpncpy.c: Add wcpncpy support.
13129         * benchtests/bench-wcpncpy.c: New File.
13130         * benchtests/Makefile (wcsmbs-bench): Add wcpncpy.
13132         * sysdeps/s390/multiarch/strncpy-vx.S: New File.
13133         * sysdeps/s390/multiarch/strncpy.c: Likewise.
13134         * sysdeps/s390/multiarch/wcsncpy-c.c: Likewise.
13135         * sysdeps/s390/multiarch/wcsncpy-vx.S: Likewise.
13136         * sysdeps/s390/multiarch/wcsncpy.c: Likewise.
13137         * sysdeps/s390/s390-32/multiarch/strncpy.c: Likewise.
13138         * sysdeps/s390/s390-64/multiarch/strncpy.c: Likewise.
13139         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncpy and
13140         wcsncpy functions.
13141         * wcsmbs/wcsncpy.c: Use WCSNCPY if defined.
13142         * sysdeps/s390/multiarch/ifunc-impl-list.c
13143         (__libc_ifunc_impl_list): Add ifunc test for strncpy, wcsncpy.
13144         * string/test-strncpy.c: Add wcsncpy support.
13145         * wcsmbs/test-wcsncpy.c: New File.
13146         * wcsmbs/Makefile (strop-tests): Add wcsncpy.
13147         * benchtests/bench-strncpy.c: Add wcsncpy support.
13148         * benchtests/bench-wcsncpy.c: New File.
13149         * benchtests/Makefile (wcsmbs-bench): Add wcsncpy
13151         * sysdeps/s390/multiarch/stpcpy-c.c: New File.
13152         * sysdeps/s390/multiarch/stpcpy-vx.S: Likewise.
13153         * sysdeps/s390/multiarch/stpcpy.c: Likewise.
13154         * sysdeps/s390/multiarch/wcpcpy-c.c: Likewise.
13155         * sysdeps/s390/multiarch/wcpcpy-vx.S: Likewise.
13156         * sysdeps/s390/multiarch/wcpcpy.c: Likewise.
13157         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpcpy and
13158         wcpcpy functions.
13159         * string/stpcpy.c: Use STPCPY if defined.
13160         * wcsmbs/wcpcpy.c: Use WCPCPY if defined.
13161         * sysdeps/s390/multiarch/ifunc-impl-list.c
13162         (__libc_ifunc_impl_list): Add ifunc test for stpcpy, wcpcpy.
13163         * string/test-stpcpy.c: Add wcpcpy support.
13164         * wcsmbs/test-wcpcpy.c: New File.
13165         * wcsmbs/Makefile (strop-tests): Add wcpcpy.
13166         * benchtests/bench-stpcpy.c: Add wcpcpy support.
13167         * benchtests/bench-wcpcpy.c: New File.
13168         * benchtests/Makefile (wcsmbs-bench): Add wcpcpy.
13170         * sysdeps/s390/multiarch/strcpy-vx.S: New File.
13171         * sysdeps/s390/multiarch/strcpy.c: Likewise.
13172         * sysdeps/s390/multiarch/wcscpy-c.c: Likewise.
13173         * sysdeps/s390/multiarch/wcscpy-vx.S: Likewise.
13174         * sysdeps/s390/multiarch/wcscpy.c: Likewise.
13175         * sysdeps/s390/s390-32/multiarch/strcpy.c: Likewise.
13176         * sysdeps/s390/s390-64/multiarch/strcpy.c: Likewise.
13177         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcpy and
13178         wcscpy functions.
13179         * sysdeps/s390/multiarch/ifunc-impl-list.c
13180         (__libc_ifunc_impl_list): Add ifunc test for strcpy, wcscpy.
13181         * benchtests/bench-wcscpy.c: New File.
13182         * benchtests/Makefile (wcsmbs-bench): Add wcscpy.
13184         * sysdeps/s390/multiarch/strnlen-c.c: New File.
13185         * sysdeps/s390/multiarch/strnlen-vx.S: Likewise.
13186         * sysdeps/s390/multiarch/strnlen.c: Likewise.
13187         * sysdeps/s390/multiarch/wcsnlen-c.c: Likewise.
13188         * sysdeps/s390/multiarch/wcsnlen-vx.S: Likewise.
13189         * sysdeps/s390/multiarch/wcsnlen.c: Likewise.
13190         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strnlen and
13191         wcsnlen functions.
13192         * sysdeps/s390/multiarch/ifunc-impl-list.c
13193         (__libc_ifunc_impl_list): Add ifunc test for strnlen, wcsnlen.
13194         * wcsmbs/wcsnlen.c: Use WCSNLEN if defined.
13195         * string/test-strnlen.c: Add wcsnlen support.
13196         * wcsmbs/test-wcsnlen.c: New File.
13197         * wcsmbs/Makefile (strop-tests): Add wcsnlen.
13198         * benchtests/bench-strnlen.c: Add wcsnlen support.
13199         * benchtests/bench-wcsnlen.c: New File.
13200         * benchtests/Makefile (wcsmbs-bench): Add wcsnlen.
13202         * sysdeps/s390/multiarch/Makefile: New File.
13203         * sysdeps/s390/multiarch/strlen-c.c: Likewise.
13204         * sysdeps/s390/multiarch/strlen-vx.S: Likewise.
13205         * sysdeps/s390/multiarch/strlen.c: Likewise.
13206         * sysdeps/s390/multiarch/wcslen-c.c: Likewise.
13207         * sysdeps/s390/multiarch/wcslen-vx.S: Likewise.
13208         * sysdeps/s390/multiarch/wcslen.c: Likewise.
13209         * string/strlen.c (STRLEN): Define and use macro.
13210         * sysdeps/s390/multiarch/ifunc-impl-list.c
13211         (IFUNC_VX_IMPL): New macro function.
13212         (__libc_ifunc_impl_list): Add ifunc test for strlen, wcslen.
13213         * benchtests/Makefile (wcsmbs-bench): New variable.
13214         (string-bench-all): Added wcsmbs-bench.
13215         * benchtests/bench-wcslen.c: New File.
13217         * sysdeps/s390/multiarch/ifunc-resolve.h (s390_vx_libc_ifunc,
13218         s390_vx_libc_ifunc2): New macro function.
13220         * config.h.in (HAVE_S390_VX_ASM_SUPPORT): New macro undefine.
13221         * sysdeps/s390/configure.ac: Add test for S390 vector instruction
13222         assembler support.
13223         * sysdeps/s390/configure: Regenerated.
13225         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z13.
13226         * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
13228         * sysdeps/s390/dl-procinfo.c (_dl_s390_platforms): Add vector flag.
13229         * sysdeps/s390/dl-procinfo.h: Add vector capability.
13230         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h (HWCAP_S390_VX): Define.
13232         * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
13233         Remove ifunc-resolve, add memset-s390, memcpy-s390, memcmp-s390.
13234         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Delete File.
13235         * sysdeps/s390/s390-32/multiarch/memcmp.S: Move to ...
13236         * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: ... here.
13237         (memcmp, bcmp): Use __memcmp_default as alias source.
13238         * sysdeps/s390/s390-32/multiarch/memcmp.c: New File.
13239         * sysdeps/s390/s390-32/memcmp.S (__memcmp_g5):
13240         Rename to __memcmp_default.
13241         * sysdeps/s390/s390-32/multiarch/memcpy.S: Move to ...
13242         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: ... here.
13243         (memcpy): Use __memcpy_default as alias source.
13244         * sysdeps/s390/s390-32/multiarch/memcpy.c: New File.
13245         * sysdeps/s390/s390-32/memcpy.S (__memcpy_g5):
13246         Rename to __memcpy_default.
13247         * sysdeps/s390/s390-32/multiarch/memset.S: Move to ...
13248         * sysdeps/s390/s390-32/multiarch/memset-s390.S: ... here.
13249         (memset): Use __memset_default as alias source.
13250         * sysdeps/s390/s390-32/multiarch/memset.c: New File.
13251         * sysdeps/s390/s390-32/memset.S (__memset_g5):
13252         Rename to __memset_default.
13253         * sysdeps/s390/s390-64/multiarch/Makefile (sysdep_routines):
13254         Remove ifunc-resolve, add memset-s390x, memcpy-s390x, memcmp-s390x.
13255         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Delete File.
13256         * sysdeps/s390/s390-64/multiarch/memcmp.S: Move to ...
13257         * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: ... here.
13258         (memcmp, bcmp): Use __memcmp_default as alias source.
13259         * sysdeps/s390/s390-64/multiarch/memcmp.c: New File.
13260         * sysdeps/s390/s390-64/memcmp.S (__memcmp_z900):
13261         Rename to __memcmp_default.
13262         * sysdeps/s390/s390-64/multiarch/memcpy.S: Move to ...
13263         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: ... here.
13264         (memcpy): Use __memcpy_default as alias source.
13265         * sysdeps/s390/s390-64/multiarch/memcpy.c: New File.
13266         * sysdeps/s390/s390-64/memcpy.S (__memcpy_z900):
13267         Rename to __memcpy_default.
13268         * sysdeps/s390/s390-64/multiarch/memset.S: Move to ...
13269         * sysdeps/s390/s390-64/multiarch/memset-s390x.S: ... here.
13270         (memset): Use __memset_default as alias source.
13271         * sysdeps/s390/s390-64/multiarch/memset.c: New File.
13272         * sysdeps/s390/s390-64/memset.S (__memset_z900):
13273         Rename to __memset_default.
13274         * sysdeps/s390/multiarch/ifunc-resolve.h: New File.
13275         * sysdeps/s390/multiarch/ifunc-impl-list.c: New File.
13277         [BZ #18610]
13278         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Rename
13279         __ieee_instruction_pointer to __unused.
13280         * sysdeps/s390/fpu/fesetenv.c (__fesetenv): Remove usage of
13281         __ieee_instruction_pointer.
13282         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Fix dxc-field handling.
13283         * sysdeps/s390/fpu/fgetexcptflg.c (fegetexceptflag): Likewise.
13284         * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
13285         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
13286         * sysdeps/s390/fpu/fpu_control.h (_FPU_RESERVED):
13287         Mark dxc-field as reserved.
13289 2015-08-25  Roland McGrath  <roland@hack.frob.com>
13291         * sysdeps/nacl/start.c (_start): Call __nacl_main instead of main
13292         if the weak reference is not null.
13294 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
13296         * sysdeps/x86_64/strcmp.S: Remove "#if !IS_IN (libc)".
13298         [BZ #11214]
13299         * sysdeps/unix/sysv/linux/Makefile (tst-getpid2-ENV): Removed.
13301 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
13303         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: Define new macros.
13304         * sysdeps/unix/sysv/linux/accept.c: Call direct system call.
13305         * sysdeps/unix/sysv/linux/bind.c: Call direct system call.
13306         * sysdeps/unix/sysv/linux/connect.c: Call direct system call.
13307         * sysdeps/unix/sysv/linux/getpeername.c: Call direct system call.
13308         * sysdeps/unix/sysv/linux/getsockname.c: Call direct system call.
13309         * sysdeps/unix/sysv/linux/getsockopt.c: Call direct system call.
13310         * sysdeps/unix/sysv/linux/listen.c: Call direct system call.
13311         * sysdeps/unix/sysv/linux/recv.c: Call direct system call.
13312         * sysdeps/unix/sysv/linux/recvfrom.c: Call direct system call.
13313         * sysdeps/unix/sysv/linux/recvmsg.c: Call direct system call.
13314         * sysdeps/unix/sysv/linux/send.c: Call direct system call.
13315         * sysdeps/unix/sysv/linux/sendmsg.c: Call direct system call.
13316         * sysdeps/unix/sysv/linux/sendto.c: Call direct system call.
13317         * sysdeps/unix/sysv/linux/setsockopt.c: Call direct system call.
13318         * sysdeps/unix/sysv/linux/shutdown.c: Call direct system call.
13319         * sysdeps/unix/sysv/linux/socket.c: Call direct system call.
13320         * sysdeps/unix/sysv/linux/socketpair.c: Call direct system call.
13322 2015-08-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
13324         * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION): Use
13325         register other than r0 for tabort, it has special meaning.
13326         * sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION): Likewise.
13327         * sysdeps/unix.sysv/linux/powerpc/syscall.S (syscall): Abort
13328         transaction before starting syscall.
13330 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
13332         * sysdeps/powerpc/powerpc64/power7/strstr.S: Handle worst case.
13334 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
13336         * sysdeps/x86_64/strlen.S: Replace %xmm[8-12] with %xmm[0-4].
13338         * sysdeps/x86_64/rtld-memcmp.c: Removed.
13339         * sysdeps/x86_64/rtld-memset.S: Likewise.
13340         * sysdeps/x86_64/rtld-strchr.S: Likewise.
13341         * sysdeps/x86_64/rtld-strlen.S: Likewise.
13342         * sysdeps/x86_64/multiarch/rtld-memcmp.c: Likewise.
13343         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
13345         * sysdeps/x86_64/memset.S: Replace %xmm8 with %xmm0.
13347 2015-08-25  Ondřej Bílka  <neleai@seznam.cz>
13349         * debug/strcpy_chk.c: Improve performance.
13350         * debug/stpcpy_chk.c: Likewise.
13351         * sysdeps/x86_64/strcpy_chk.S: Remove.
13352         * sysdeps/x86_64/stpcpy_chk.S: Remove.
13354         [BZ #18240]
13355         * misc/hsearch_r.c (__hcreate_r): Handle overflow.
13357 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
13359         [BZ #15128]
13360         * sysdeps/x86_64/Makefile [$(subdir) == elf] (tests): Add
13361         ifuncmain8.
13362         (modules-names): Add ifuncmod8.
13363         ($(objpfx)ifuncmain8): New rule.
13364         * sysdeps/x86_64/dl-machine.h: Include <dl-procinfo.h> and
13365         <cpuid.h>.
13366         (elf_machine_runtime_setup): Use _dl_runtime_resolve_sse,
13367         _dl_runtime_resolve_avx, or _dl_runtime_resolve_avx512,
13368         _dl_runtime_profile_sse, _dl_runtime_profile_avx, or
13369         _dl_runtime_profile_avx512, based on HAS_ARCH_FEATURE.
13370         * sysdeps/x86_64/dl-trampoline.S: Rewrite.
13371         * sysdeps/x86_64/dl-trampoline.h: Likewise.
13372         * sysdeps/x86_64/ifuncmain8.c: New file.
13373         * sysdeps/x86_64/ifuncmod8.c: Likewise.
13374         * sysdeps/x86_64/nptl/tcb-offsets.sym (RTLD_SAVESPACE_SSE):
13375         Removed.
13376         * sysdeps/x86_64/nptl/tls.h (__128bits): Removed.
13377         (tcbhead_t): Change rtld_must_xmm_save to __glibc_unused1.
13378         Change rtld_savespace_sse to __glibc_unused2.
13379         (RTLD_CHECK_FOREIGN_CALL): Removed.
13380         (RTLD_ENABLE_FOREIGN_CALL): Likewise.
13381         (RTLD_PREPARE_FOREIGN_CALL): Likewise.
13382         (RTLD_FINALIZE_FOREIGN_CALL): Likewise.
13384 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
13386         * sysdeps/aarch64/bzero.S (__bzero): Remove.
13388 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
13390         * sysdeps/aarch64/fpu/math_private.h (libc_feholdsetround_aarch64_ctx):
13391         Unconditionally set __fpcr to avoid uninialized warning.
13392         (libc_feholdsetround_noex_aarch64_ctx): Likewise.
13394 2015-08-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
13396         * malloc/arena.c (arena_get_retry): Don't use main_arena if it
13397         is corrupt.
13399         * malloc/arena.c (arena_get2): Drop unused argument.
13400         (arena_lock): Adjust.
13401         (arena_get_retry): Likewise.
13403 2015-08-24  Andreas Schwab  <schwab@suse.de>
13405         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_IPC64):
13406         Don't define.
13407         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
13408         (__ASSUME_IPC64): Don't undef.
13409         * sysdeps/unix/sysv/linux/msgctl.c: Don't check for __ASSUME_IPC64.
13410         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
13411         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
13412         * sysdeps/unix/sysv/linux/i386/msgctl.c: Remove.
13413         * sysdeps/unix/sysv/linux/i386/semctl.c: Remove.
13414         * sysdeps/unix/sysv/linux/i386/shmctl.c: Remove.
13415         * sysdeps/unix/sysv/linux/m68k/msgctl.c: Remove.
13416         * sysdeps/unix/sysv/linux/m68k/semctl.c: Remove.
13417         * sysdeps/unix/sysv/linux/m68k/shmctl.c: Remove.
13418         * sysdeps/unix/sysv/linux/s390/s390-32/msgctl.c: Remove.
13419         * sysdeps/unix/sysv/linux/s390/s390-32/semctl.c: Remove.
13420         * sysdeps/unix/sysv/linux/s390/s390-32/shmctl.c: Remove.
13421         * sysdeps/unix/sysv/linux/sh/msgctl.c: Remove.
13422         * sysdeps/unix/sysv/linux/sh/semctl.c: Remove.
13423         * sysdeps/unix/sysv/linux/sh/shmctl.c: Remove.
13424         * sysdeps/unix/sysv/linux/sparc/sparc32/msgctl.c: Remove.
13425         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Remove.
13426         * sysdeps/unix/sysv/linux/sparc/sparc32/shmctl.c: Remove.
13427         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Remove.
13428         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Remove.
13429         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Remove.
13431 2015-08-21  Mike Frysinger  <vapier@gentoo.org>
13433         * manual/Makefile (install): Only build manual when perl is available.
13435 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
13437         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Replace
13438         '#undef memcpy' by '#undef memchr'.
13440 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
13442         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: Make
13443         memchr not point to the internal __GI_memchr implementation.
13445 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
13447         * timezone/Makefile (CFLAGS-zdump.c): Remove
13448         -Wno-strict-prototypes.
13449         (CFLAGS-zic.c): Likewise.
13450         (CFLAGS-ialloc.c): Likewise.
13451         (CFLAGS-scheck.c): Likewise.
13453         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Do not add
13454         -Wno-error=undef.
13456 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
13458         * i386/i686/multiarch/strcasestr-c.c: Removed.
13459         * x86_64/multiarch/strcasestr.c: Likewise.
13460         * x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
13461         Remove strcasestr.
13463 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
13465         * math/Makefile (CFLAGS): Don't add -Wno-uninitialized.
13467         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Always initialize
13468         variables for high and low parts before possibly modifying them.
13470 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
13472         * sysdeps/i386/i686/multiarch/init-arch.h: Removed.
13473         * sysdeps/unix/sysv/linux/x86/init-arch.h: Likewise.
13474         * sysdeps/x86_64/cacheinfo.c: Include <init-arch.h> instead
13475         of "multiarch/init-arch.h".
13476         * sysdeps/x86_64/multiarch/init-arch.h: Renamed to ...
13477         * sysdeps/x86/init-arch.h: This.
13479 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
13481         * sysdeps/i386/i686/multiarch/init-arch.c: Removed.
13482         * sysdeps/unix/sysv/linux/x86/init-arch.c: Likewise.
13484 2015-08-20  Ondřej Bílka  <neleai@seznam.cz>
13486         [BZ #17787]
13487         * manual/macros.texi: Add twoexp macro.
13488         * manual/filesys.texi: Fix exponents.
13489         * manual/llio.texi: Likewise.
13490         * manual/stdio.texi: Likewise.
13492 2015-08-20  Florian Weimer  <fweimer@redhat.com>
13494         * sysdeps/x86/elide.h (ELIDE_UNLOCK): Document crash due to
13495         incorrect use.
13497 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
13499         [BZ #18370]
13500         * math/s_csqrt.c (__csqrt): Force underflow exception for results
13501         whose real or imaginary part has small absolute value.
13502         * math/s_csqrtf.c (__csqrtf): Likewise.
13503         * math/s_csqrtl.c (__csqrtl): Likewise.
13504         * math/auto-libm-test-in: Add more tests of csqrt.
13505         * math/auto-libm-test-out: Regenerated.
13506         * sysdeps/i386/fpu/libm-test-ulps: Update.
13508 2015-08-19  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
13510         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_set_ppr_med_high,
13511         __ppc_set_ppr_very_low): New functions.
13512         * manual/platform.texi: Add documentation about
13513         __ppc_set_ppr_med_high and __ppc_set_ppr_very_low.
13515 2015-08-19  Wilco Dijkstra  <wdijkstr@arm.com>
13517         * string/stpncpy.c (stpncpy): Improve performance using
13518         __strnlen/memcpy/memset.
13520 2015-08-19  Andrew Senkevich  <andrew.senkevich@intel.com>
13522         [BZ #18796]
13523         * scripts/test-installation.pl: Don't add -lmvec to build options if
13524         libmvec wasn't built.
13526 2015-08-19   Petar Jovanovic  <petar.jovanovic@rt-rk.com>
13528         [BZ #14341]
13529         * elf/dynamic-link.h (elf_machine_lazy_rel): Properly handle the
13530         case when there is a gap between DT_REL and DT_JMPREL sections.
13531         * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc.
13532         (LDFLAGS-tst-split-dynreloc): New.
13533         (tst-split-dynreloc-ENV): Likewise.
13534         * sysdeps/x86_64/tst-split-dynreloc.c: New file.
13535         * sysdeps/x86_64/tst-split-dynreloc.lds: Likewise.
13537 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
13539         [BZ #18822]
13540         * sysdeps/unix/sysv/linux/xstatconv.h (__xstat_conv): Add
13541         attribute_hidden.
13542         (__xstat64_conv): Likewise.
13543         (__xstat32_conv): Likewise.
13545 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
13547         [BZ #18822]
13548         * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext):
13549         Don't load %ebx when calling __setcontext.  Call __setcontext
13550         with HIDDEN_JUMPTARGET.
13551         * sysdeps/unix/sysv/linux/i386/setcontext.S (__setcontext): Add
13552         libc_hidden_def.
13554 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
13556         * sysdeps/i386/i686/Makefile
13557         [$(subdir) == string] (sysdep_routines): Moved to ...
13558         * sysdeps/i386/Makefile: Here.
13559         * sysdeps/i386/i686/cacheinfo.c: Moved to ...
13560         * sysdeps/i386/cacheinfo.c: Here.
13561         * sysdeps/unix/sysv/linux/i386/sysconf.c: Removed.
13562         * sysdeps/unix/sysv/linux/i386/i686/sysconf.c: Likewise.
13563         * sysdeps/unix/sysv/linux/x86_64/sysconf.c: Moved to ...
13564         * sysdeps/unix/sysv/linux/x86/sysconf.c: Here.
13566 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
13568         * sysdeps/x86/cpu-features.h (HAS_I586): Defined to 1 if
13569         __i586__ is defined.
13570         (HAS_I686): Defined to 1 if __i686__ is defined.
13572 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
13574         * elf/Makefile [$(have-z-execstack) = yes]
13575         (CPPFLAGS-tst-execstack.c): New variable.
13577         * login/tst-utmp.c [_HAVE_UT_TYPE || defined UTMPX]: Change
13578         conditional to [defined UTMPX || _HAVE_UT_TYPE].
13579         [_HAVE_UT_TV || defined UTMPX]: Change conditional to [defined
13580         UTMPX || _HAVE_UT_TV].
13581         [_HAVE_UT_TV - 0 || defined UTMPX]: Change conditional to [defined
13582         UTMPX || _HAVE_UT_TV - 0].
13584 2015-08-18  Joseph Myers  <joseph@codesourcery.com>
13586         * sysdeps/mips/dl-machine.h [__mips_isa_rev < 6]: Change
13587         conditionals to [!defined __mips_isa_rev || __mips_isa_rev < 6].
13588         * sysdeps/mips/machine-gmon.h [__mips_isa_rev < 6]: Likewise.
13590 2015-08-18  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
13592         * sysdeps/powerpc/dl-procinfo.c:
13593         (_dl_powerpc_cap_flags): Added missing strings for some
13594         hwcap features.
13595         * sysdeps/powerpc/dl-procinfo.h: Updated hwcap bit count.
13597 2015-08-18  Paul Eggert  <eggert@cs.ucla.edu>
13599         Port the 0x7efe...feff pattern to GCC 6.
13600         See Steve Ellcey's bug report in:
13601         https://sourceware.org/ml/libc-alpha/2015-07/msg00673.html
13602         * string/memrchr.c (MEMRCHR):
13603         * string/rawmemchr.c (RAWMEMCHR):
13604         * string/strchr.c (strchr):
13605         * string/strchrnul.c (STRCHRNUL):
13606         Rewrite code to avoid issues with signed shift overflow.
13608 2015-08-18  H.J. Lu  <hongjiu.lu@intel.com>
13610         * sysdeps/x86/cpu-features.c (init_cpu_features): Check
13611         whether cpuid is available only if HAS_CPUID is 0.
13612         * sysdeps/x86/cpu-features.h (HAS_CPUID): New.
13613         (HAS_I586): Likewise.
13614         (HAS_I686): Likewise.
13616 2015-08-18  Zack Weinberg  <zackw@panix.com>
13618         * misc/Versions (libc): Add GLIBC_2.23.
13620 2015-08-18  Alan Modra  <amodra@gmail.com>
13622         [BZ #18421]
13623         * sysdeps/hppa/start.S [SHARED]: Use .section .data.rel.ro and define
13624         .Lp__global.
13625         (_start): Load %dp via .Lp__global.
13626         [!SHARED]: Use .section .rodata.
13628 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
13630         * sysdeps/unix/sysv/linux/hppa/bits/timerfd.h: New file.
13631         * sysdeps/unix/sysv/linux/hppa/sys/timerfd.h: Delete.
13633 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
13635         * sysdeps/unix/sysv/linux/hppa/bits/signalfd.h: New file.
13636         * sysdeps/unix/sysv/linux/hppa/sys/signalfd.h: Delete.
13638 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
13640         * sysdeps/unix/sysv/linux/hppa/bits/inotify.h: New file.
13641         * sysdeps/unix/sysv/linux/hppa/sys/inotify.h: Delete.
13643 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
13645         * sysdeps/unix/sysv/linux/hppa/bits/eventfd.h: New file.
13646         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Delete.
13648 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
13650         * sysdeps/unix/sysv/linux/hppa/bits/epoll.h: New file.
13651         * sysdeps/unix/sysv/linux/hppa/sys/epoll.h: Delete.
13653 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
13655         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h (SA_RESETHAND,
13656         SA_NODEFER, SA_RESTART): Define when __USE_XOPEN2K8 is defined.
13658 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
13660         * sysdeps/unix/sysv/linux/hppa/bits/shm.h (SHM_EXEC): Define.
13662 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
13664         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Delete
13665         kernel-features.h include.  Delete __ASSUME_LWS_CAS checks.
13666         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
13667         (__ASSUME_LWS_CAS): Delete.
13669 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
13671         * sysdeps/hppa/configure.ac: Delete binutils tls checks.
13672         * sysdeps/hppa/configure: Regenerated.
13673         * sysdeps/hppa/dl-machine.h: Delete USE_TLS and USE___THREAD checks.
13674         * sysdeps/hppa/libc-tls.c: Delete USE_TLS checks.
13675         * sysdeps/hppa/nptl/tls.h: Likewise.
13677 2015-08-17  Joseph Myers  <joseph@codesourcery.com>
13679         [BZ #18823]
13680         * math/s_csqrt.c (__csqrt): Increase threshold and scale factor
13681         for scaling up small arguments.
13682         * math/s_csqrtf.c (__csqrtf): Likewise.
13683         * math/s_csqrtl.c (__csqrtl): Likewise.
13684         * math/auto-libm-test-in: Add more tests of csqrt.
13685         * math/auto-libm-test-out: Regenerated.
13687 2015-08-17  Andreas Schwab  <schwab@suse.de>
13689         * sysdeps/unix/sysv/linux/powerpc/Versions (libm): Add empty
13690         version set GLIBC_2.19.
13692 2015-08-16  Zack Weinberg  <zackw@panix.com>
13694         [BZ #18681]
13695         * misc/regexp.h: This interface is no longer supported.
13696         Remove all contents, leaving only an #error directive.
13697         * misc/regexp.c (loc1, loc2, locs, step, advance):
13698         Demote to compatibility symbols.
13700 2015-08-15  Paul Pluzhnikov  <ppluzhnikov@google.com>
13702         [BZ #18084]
13703         * debug/tst-backtrace2.c (do_test): Add test for BZ #18084.
13704         * sysdeps/arm/backtrace.c (__backtrace): Handle size <= 0.
13705         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
13706         * sysdeps/m68k/backtrace.c (__backtrace): Likewise.
13707         * sysdeps/microblaze/backtrace.c (__backtrace): Likewise.
13708         * sysdeps/s390/s390-32/backtrace.c (__backtrace): Likewise.
13709         * sysdeps/s390/s390-64/backtrace.c (__backtrace): Likewise.
13710         * sysdeps/sparc/backtrace.c (__backtrace): Likewise.
13711         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
13713 2015-08-15  Zack Weinberg  <zackw@panix.com>
13715         [BZ #18795]
13716         * string/bits/string3.h (stpncpy): Call __stpncpy_chk if the
13717         buffer length is known to be too large, not if it's known to be
13718         small enough.
13719         * debug/tst-chk1.c (do_test): Do all tests for catching a buffer
13720         overflow at runtime, involving a length parameter, twice: once
13721         with a compile-time constant length parameter, once without.
13723 2015-08-14  Joseph Myers  <joseph@codesourcery.com>
13725         [BZ #18824]
13726         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Increase threshold for
13727         scaling x * y up instead of down.
13728         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
13729         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
13730         * math/auto-libm-test-in: Add more tests of fma.
13731         * math/auto-libm-test-out: Regenerated.
13733 2015-08-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
13735         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
13737 2015-08-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
13739         * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf): Remove
13740         unnecessary movq.
13741         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S (__nearbyint):
13742         Likewise.
13744 2015-08-13  Joseph Myers  <joseph@codesourcery.com>
13746         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
13747         asinh, atan, atan2, atanh, cabs, cbrt, cosh, csqrt, erf, erfc,
13748         exp, exp2, lgamma, log, log1p, log2, pow, sin, sincos, tan, tanh
13749         and tgamma.
13750         * math/auto-libm-test-out: Regenerated.
13751         * sysdeps/i386/fpu/libm-test-ulps: Update.
13752         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13754         [BZ #16520]
13755         * sysdeps/ieee754/dbl-64/s_tanh.c: Include <float.h>.
13756         (__tanh): Force underflow exception for arguments with small
13757         absolute value.
13758         * sysdeps/ieee754/flt-32/s_tanhf.c: Include <float.h>.
13759         (__tanhf): Force underflow exception for arguments with small
13760         absolute value.
13761         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include <float.h>.
13762         (__tanhl): Force underflow exception for arguments with small
13763         absolute value.
13764         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Include <float.h>.
13765         (__tanhl): Force underflow exception for arguments with small
13766         absolute value.
13767         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include <float.h>.
13768         (__tanhl): Force underflow exception for arguments with small
13769         absolute value.
13770         * math/auto-libm-test-in: Add more tests of tanh.
13771         * math/auto-libm-test-out: Regenerated.
13772         * sysdeps/i386/fpu/libm-test-ulps: Update.
13774 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
13776         * sysdeps/x86/cpu-features.c (init_cpu_features): Call
13777         __get_cpuid_max if not compiling for i586, i686 nor x86-64.
13779 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
13781         * sysdeps/unix/sysv/linux/x86/elision-conf.h: Don't include
13782         <cpuid.h>.
13784 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
13786         * sysdeps/unix/sysv/linux/x86/elision-conf.c (elision_init):
13787         Replace HAS_RTM with HAS_CPU_FEATURE (RTM).
13789 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
13791         * math/Makefile ($(addprefix $(objpfx), $(libm-vec-tests))):
13792         Remove $(objpfx)init-arch.o.
13793         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Remove
13794         init-arch.
13795         * sysdeps/x86_64/fpu/math-tests-arch.h (avx_usable): Removed.
13796         (INIT_ARCH_EXT): Defined as empty.
13797         (CHECK_ARCH_EXT): Replace HAS_XXX with HAS_ARCH_FEATURE (XXX).
13798         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Remove
13799         __init_cpu_features call.  Replace HAS_XXX with
13800         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
13801         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Likewise.
13802         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Likewise.
13803         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Likewise.
13804         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Likewise.
13805         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
13806         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Likewise.
13807         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Likewise.
13808         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
13809         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Likewise.
13810         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Likewise.
13811         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
13812         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Likewise.
13813         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Likewise.
13814         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
13815         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Likewise.
13816         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Likewise.
13817         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
13818         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
13819         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: Likewise.
13820         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: Likewise.
13821         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
13822         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: Likewise.
13823         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: Likewise.
13824         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
13825         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: Likewise.
13826         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: Likewise.
13827         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
13828         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: Likewise.
13829         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: Likewise.
13830         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
13831         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S: Likewise.
13832         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S: Likewise.
13833         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
13834         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: Likewise.
13835         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: Likewise.
13837 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
13839         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Replace HAS_XXX
13840         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
13841         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
13842         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
13843         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Likewise.
13844         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Likewise.
13845         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Likewise.
13846         * sysdeps/i386/i686/multiarch/s_fma.c: Likewise.
13847         * sysdeps/i386/i686/multiarch/s_fmaf.c: Likewise.
13848         * sysdeps/i386/i686/multiarch/bcopy.S: Remove __init_cpu_features
13849         call.  Merge SHARED and !SHARED.  Add LOAD_GOT_AND_RTLD_GLOBAL_RO.
13850         Use LOAD_FUNC_GOT_EAX to load function address.  Replace HAS_XXX
13851         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
13852         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
13853         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
13854         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
13855         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
13856         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
13857         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
13858         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
13859         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
13860         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
13861         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
13862         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
13863         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
13864         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
13865         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
13866         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
13867         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
13868         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
13869         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
13870         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
13871         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
13872         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
13873         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
13874         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
13875         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
13876         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
13877         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
13878         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
13879         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
13880         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
13881         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
13883 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
13885         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Replace HAS_XXX with
13886         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
13887         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
13888         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
13889         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
13890         * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
13891         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
13892         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Likewise.
13893         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
13894         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
13895         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
13896         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Use
13897         LOAD_RTLD_GLOBAL_RO_RDX and HAS_CPU_FEATURE (SSE4_1).
13898         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Likewise.
13899         * sysdeps/x86_64/fpu/multiarch/s_floor.S: Likewise.
13900         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Likewise.
13901         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S : Likewise.
13902         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Likewise.
13903         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Likewise.
13904         * sysdeps/x86_64/fpu/multiarch/s_rintf.S : Likewise.
13905         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
13906         * sysdeps/x86_64/multiarch/sched_cpucount.c: Likewise.
13907         * sysdeps/x86_64/multiarch/strstr.c: Likewise.
13908         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
13909         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
13910         * sysdeps/x86_64/multiarch/test-multiarch.c: Likewise.
13911         * sysdeps/x86_64/multiarch/memcmp.S: Remove __init_cpu_features
13912         call.  Add LOAD_RTLD_GLOBAL_RO_RDX.  Replace HAS_XXX with
13913         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
13914         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
13915         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
13916         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
13917         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
13918         * sysdeps/x86_64/multiarch/memset.S: Likewise.
13919         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
13920         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
13921         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
13922         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
13923         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
13924         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
13925         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
13926         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
13927         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
13929 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
13931         * sysdeps/i386/dl-machine.h: Include <cpu-features.c>.
13932         (dl_platform_init): Call init_cpu_features.
13933         * sysdeps/i386/dl-procinfo.c (_dl_x86_cpu_features): New.
13934         * sysdeps/i386/i686/cacheinfo.c
13935         (DISABLE_PREFERRED_MEMORY_INSTRUCTION): Removed.
13936         * sysdeps/i386/i686/multiarch/Makefile (aux): Remove init-arch.
13937         * sysdeps/i386/i686/multiarch/Versions: Removed.
13938         * sysdeps/i386/i686/multiarch/ifunc-defines.sym (KIND_OFFSET):
13939         Removed.
13940         * sysdeps/i386/ldsodefs.h: Include <cpu-features.h>.
13941         * sysdeps/unix/sysv/linux/x86/Makefile
13942         (libpthread-sysdep_routines): Remove init-arch.
13943         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Include
13944         <sysdeps/x86_64/dl-procinfo.c> instead of
13945         sysdeps/generic/dl-procinfo.c>.
13946         * sysdeps/x86/Makefile [$(subdir) == csu] (gen-as-const-headers):
13947         Add cpu-features-offsets.sym and rtld-global-offsets.sym.
13948         [$(subdir) == elf] (sysdep-dl-routines): Add dl-get-cpu-features.
13949         [$(subdir) == elf] (tests): Add tst-get-cpu-features.
13950         [$(subdir) == elf] (tests-static): Add
13951         tst-get-cpu-features-static.
13952         * sysdeps/x86/Versions: New file.
13953         * sysdeps/x86/cpu-features-offsets.sym: Likewise.
13954         * sysdeps/x86/cpu-features.c: Likewise.
13955         * sysdeps/x86/cpu-features.h: Likewise.
13956         * sysdeps/x86/dl-get-cpu-features.c: Likewise.
13957         * sysdeps/x86/libc-start.c: Likewise.
13958         * sysdeps/x86/rtld-global-offsets.sym: Likewise.
13959         * sysdeps/x86/tst-get-cpu-features-static.c: Likewise.
13960         * sysdeps/x86/tst-get-cpu-features.c: Likewise.
13961         * sysdeps/x86_64/dl-procinfo.c: Likewise.
13962         * sysdeps/x86_64/cacheinfo.c (__cpuid_count): Removed.
13963         Assume USE_MULTIARCH is defined and don't check it.
13964         (is_intel): Replace __cpu_features with GLRO(dl_x86_cpu_features).
13965         (is_amd): Likewise.
13966         (max_cpuid): Likewise.
13967         (intel_check_word): Likewise.
13968         (__cache_sysconf): Don't call __init_cpu_features.
13969         (__x86_preferred_memory_instruction): Removed.
13970         (init_cacheinfo): Don't call __init_cpu_features. Replace
13971         __cpu_features with GLRO(dl_x86_cpu_features).
13972         * sysdeps/x86_64/dl-machine.h: <cpu-features.c>.
13973         (dl_platform_init): Call init_cpu_features.
13974         * sysdeps/x86_64/ldsodefs.h: Include <cpu-features.h>.
13975         * sysdeps/x86_64/multiarch/Makefile (aux): Remove init-arch.
13976         * sysdeps/x86_64/multiarch/Versions: Removed.
13977         * sysdeps/x86_64/multiarch/cacheinfo.c: Likewise.
13978         * sysdeps/x86_64/multiarch/init-arch.c: Likewise.
13979         * sysdeps/x86_64/multiarch/ifunc-defines.sym (KIND_OFFSET):
13980         Removed.
13981         * sysdeps/x86_64/multiarch/init-arch.h: Rewrite.
13983 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
13985         [BZ #18820]
13986         * libio/Makefile (test-fmemopen-mem): New test.
13987         * libio/test-fmemopen.c (do_bz18820): New test.
13988         * libio/fmemopen.c (__fmemopen): Fix memory leak.
13989         * libio/oldfmemopen.c (__old_fmemopen): Likewise.
13991 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
13993         [BZ #16734]
13994         * libio/libioP.h (ROUND_TO_PAGE, ALLOC_BUF, ALLOC_WBUF): Delete.
13995         (FREE_BUF): Delete.
13996         * libio/libio.h (_IO_FILE_complete): Delete unused _freeres_size.
13997         * libio/genops.c (_IO_setb): Use malloc and free directly.
13998         (_IO_default_doallocate, _IO_default_finish): Likewise.
13999         ( _IO_unbuffer_all): Likewise.
14000         ( libc_freeres_fn): Likewise.
14001         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
14002         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
14003         * libio/wgenops.c (_IO_wsetb, _IO_wdefault_finish): Likewise.
14004         (_IO_wdefault_doallocate): Likewise.
14006 2015-08-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
14008         [BZ #18086]
14009         * sysdeps/posix/nice.c (nice): Restore old errno.
14010         * posix/tst-nice.c (do_test): Add test for BZ #18086.
14012 2015-08-10  Ondrej Bilka  <neleai@seznam.cz>
14014         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Fix ifunc.
14016 2015-08-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14018         * sysdeps/powerpc/powerpc64/power7/memmove.S (bcopy): Changing to
14019         __bcopy and add a weak_alias to bcopy.
14020         * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Use __strnlen
14021         for static build.
14023         * string/stpcpy.c (__stpcpy): Use STPCPY to redefine symbol name and
14024         cleanup macro usage.
14025         * string/strcpy.c (strcpt): Use STRCPY to redefine symbol name.
14026         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.S: Remove file.
14027         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
14028         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.S: Likewise.
14029         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
14030         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: Likewise.
14031         * sysdeps/powerpc/powerpc64/power7/strcpy.S: Likewise.
14032         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
14033         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
14034         * sysdeps/powerpc/powerpc64/strcpy.S: Likewise.
14035         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
14036         [SHARED && IS_IN (libc)]: Include <string/strcpy.c>.
14037         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
14038         [SHARED && IS_IN (libc)]: Include <string/stpcpy.c>.
14039         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
14040         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: Likewise.
14041         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: Likewise.
14042         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: Likewise.
14043         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
14045         * sysdeps/powerpc/powerpc64/power7/strnlen.S (__strnlen): Add
14046         libc_hidden_def.
14047         (strnlen): Remove libc_hidden_builtin_def and add libc_hidden_def.
14049         * sysdeps/powerpc/powerpc64/power7/Makefile [$(subdir) = string]
14050         (sysdep_routines): Add strstr-ppc64.
14051         * sysdeps/powerpc/powerpc64/power7/strstr-ppc64.c: New file.
14053 2015-08-10  Maxim Ostapenko  <m.ostapenko@partner.samsung.com>
14055         [BZ #18778]
14056         * elf/Makefile (tests): Add Add tst-nodelete2.
14057         (modules-names): Add tst-nodelete2mod.
14058         (tst-nodelete2mod.so-no-z-defs): New.
14059         ($(objpfx)tst-nodelete2): Likewise.
14060         ($(objpfx)tst-nodelete2.out): Likewise.
14061         (LDFLAGS-tst-nodelete2): Likewise.
14062         * elf/dl-close.c (_dl_close_worker): Move DF_1_NODELETE clearing
14063         out of loop through all loaded libraries.
14064         * elf/tst-nodelete2.c: New file.
14065         * elf/tst-nodelete2mod.c: Likewise.
14066         * elf/tst-znodelete-zlib.cc: Delete.
14068 2015-08-11  Andreas Schwab  <schwab@suse.de>
14070         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Don't define.
14071         * sysdeps/unix/sysv/linux/wordsize-64/openat.c
14072         (__openat64_nocancel): Likewise.
14074 2015-08-11  Joseph Myers  <joseph@codesourcery.com>
14076         * math/auto-libm-test-in: Add more tests of acosh, asin, asinh,
14077         atanh, cabs, carg, cbrt, cosh, csqrt, erf, erfc, exp, exp10,
14078         expm1, hypot, log, log10, log1p, log2, pow, sinh, tan and tgamma.
14079         * math/auto-libm-test-out: Regenerated.
14080         * sysdeps/i386/fpu/libm-test-ulps: Update.
14081         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14083 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
14085         [BZ #18790]
14086         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Increase
14087         threshold for returning +/- 1.
14088         * math/auto-libm-test-in: Add more tests of tanh.
14089         * math/auto-libm-test-out: Regenerated.
14090         * sysdeps/i386/fpu/libm-test-ulps: Update.
14092 2015-08-10  Andreas Schwab  <schwab@suse.de>
14094         [BZ #18781]
14095         * sysdeps/unix/sysv/linux/openat.c (__OPENAT) [MORE_OFLAGS]: Add
14096         MORE_OFLAGS to oflag.
14097         * io/test-lfs.c (do_test): Test openat64.
14099 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
14101         [BZ #18789]
14102         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Use
14103         smaller threshold for returning the argument.
14104         * math/auto-libm-test-in: Add more tests of sinh.
14105         * math/auto-libm-test-out: Regenerated.
14106         * sysdeps/i386/fpu/libm-test-ulps: Update.
14108 2015-08-09  H.J. Lu  <hongjiu.lu@intel.com>
14110         [BZ #18674]
14111         * sysdeps/i386/tst-auditmod3b.c (la_objsearch): Add a missing
14112         break.
14114 2015-08-09  Andreas Schwab  <schwab@linux-m68k.org>
14116         * timezone/Makefile (tzbases, tzlinks, tzfiles): Don't define.
14117         (generated): Don't add $(addprefix z.,$(tzfiles)).
14119 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
14121         * nptl/tst-cancel-wrappers.sh: Change 3rd arg to gensub to 1.
14122         * scripts/sysd-rules.awk: Likewise.
14124 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
14126         * iconvdata/tst-tables.sh: Change echo -n to printf.
14127         * nss/db-Makefile: Likewise.
14128         * posix/tst-getconf.sh: Likewise.
14129         * stdio-common/tst-unbputc.sh: Likewise.
14131 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
14133         * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]: Move all
14134         MADV_*_PAGES defines behind this feature check.
14136 2015-08-09  John David Anglin  <danglin@gcc.gnu.org>
14138         [BZ #18480]
14139         * sysdeps/unix/sysv/linux/hppa/sysdep.h (LOAD_ARGS_0, LOAD_ARGS_1,
14140         LOAD_ARGS_2, LOAD_ARGS_3, LOAD_ARGS_4, LOAD_ARGS_5, LOAD_ARGS_6):
14141         Define.
14142         (LOAD_REGS_0, LOAD_REGS_1, LOAD_REGS_2, LOAD_REGS_3, LOAD_REGS_4,
14143         LOAD_REGS_5, LOAD_REGS_6): Update.
14144         (INTERNAL_SYSCALL): Update using new LOAD defines.
14145         (INTERNAL_SYSCALL_NCS): Likewise.
14146         * sysdeps/unix/sysv/linux/hppa/syscall.c (syscall): Likewise.
14148 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
14150         [BZ #16734]
14151         * libio/genops.c (_IO_unbuffer_all): Free wide buffer as well.
14153 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
14155         [BZ #17905]
14156         * catgets/Makefile (tst-catgets-mem): New test.
14157         * catgets/catgets.c (catopen): Don't use unbounded alloca.
14158         * catgets/open_catalog.c (__open_catalog): Likewise.
14159         * catgets/tst-catgets.c (do_bz17905): Test unbounded alloca.
14161 2015-08-08  John David Anglin  <danglin@gcc.gnu.org>
14163         [BZ #18787]
14164         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (_LWS_CLOBBER): Revise
14165         clobber registers.
14166         (atomic_compare_and_exchange_val_acq): Use register asms to assign
14167         operand registers.  Use register %r20 for EAGAIN and EDEADLOCK checks.
14168         Cast return to __typeof (oldval).
14170 2015-08-08  Mike Frysinger  <vapier@gentoo.org>
14172         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Wrap the whole file
14173         in _LINUX_MICROBLAZE_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h
14174         and delete sys/syscall.h include.
14176 2015-08-07  Joseph Myers  <joseph@codesourcery.com>
14178         [BZ #16517]
14179         * sysdeps/ieee754/dbl-64/s_tan.c: Include <float.h>.
14180         (tan): Force underflow exception for arguments with small absolute
14181         value.
14182         * sysdeps/ieee754/flt-32/k_tanf.c: Include <float.h>.
14183         (__kernel_tanf): Force underflow exception for arguments with
14184         small absolute value.
14185         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <float.h>.
14186         (__kernel_tanl): Force underflow exception for arguments with
14187         small absolute value.
14188         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <float.h>.
14189         (__kernel_tanl): Force underflow exception for arguments with
14190         small absolute value.
14191         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <float.h>.
14192         (__kernel_tanl): Force underflow exception for arguments with
14193         small absolute value.
14194         * math/auto-libm-test-in: Add more tests of tan.
14195         * math/auto-libm-test-out: Regenerated.
14197 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14199         Fix sysdeps/i386/fpu/s_scalbn.S build
14201         * math/Versions (libc: GLIBC_2_22): New (empty) version set.
14203 2015-08-07  Mike Frysinger  <vapier@gentoo.org>
14205         * sysdeps/hppa/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
14207 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14209         Fix gcrt0.o compilation
14211         When static-start-installed-name is different from
14212         start-installed-name, we must not use the shared objects.
14214         * csu/Makefile
14215         (extra-objs): Add gmon-start.o when building shared library and
14216         $(static-start-installed-name) is different from
14217         $(start-installed-name).
14218         $(objpfx)g$(static-start-installed-name): When building shared
14219         library and $(static-start-installed-name) is different from
14220         $(static-start-installed-name), revert to non-shared rule,
14221         i.e. using $(objpfx)% and gmon-start.o.
14223 2015-08-06  Joseph Myers  <joseph@codesourcery.com>
14225         [BZ #16519]
14226         * sysdeps/ieee754/dbl-64/e_sinh.c: Include <float.h>.
14227         (__ieee754_sinh): Force underflow exception for arguments with
14228         small absolute value.
14229         * sysdeps/ieee754/flt-32/e_sinhf.c: Include <float.h>.
14230         (__ieee754_sinhf): Force underflow exception for arguments with
14231         small absolute value.
14232         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Include <float.h>.
14233         (__ieee754_sinhl): Force underflow exception for arguments with
14234         small absolute value.
14235         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Include <float.h>.
14236         (__ieee754_sinhl): Force underflow exception for arguments with
14237         small absolute value.
14238         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Include <float.h>.
14239         (__ieee754_sinhl): Force underflow exception for arguments with
14240         small absolute value.
14241         * math/auto-libm-test-in: Add more tests of sinh.
14242         * math/auto-libm-test-out: Regenerated.
14243         * sysdeps/i386/fpu/libm-test-ulps: Update.
14245 2015-08-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
14247         * libio/oldfileops.c: Include unistd.h.
14249 2015-08-06  Mike Frysinger  <vapier@gentoo.org>
14251         * stdlib/isomac.c: Include ctype.h.
14253 2015-08-06  Arjun Shankar  <arjun.is@lostca.se>
14255         * dirent/tst-seekdir.c (main): Converted to ...
14256         (do_test): ... this.
14257         (TEST_FUNCTION): New macro.
14258         Include test-skeleton.c.
14259         * elf/tst-dlmodcount.c (main): Converted to ...
14260         (do_test): ... this.
14261         (TEST_FUNCTION): New macro.
14262         Include test-skeleton.c.
14263         * elf/tst-order-main.c (main): Converted to ...
14264         (do_test): ... this.
14265         (TEST_FUNCTION): New macro.
14266         Include test-skeleton.c.
14267         * elf/tst-pie2.c (main): Converted to ...
14268         (do_test): ... this.
14269         (TEST_FUNCTION): New macro.
14270         Include test-skeleton.c.
14271         * inet/tst-ether_aton.c (main): Converted to ...
14272         (do_test): ... this.
14273         (TEST_FUNCTION): New macro.
14274         Include test-skeleton.c.
14275         * misc/tst-mntent.c (main): Converted to ...
14276         (do_test): ... this.
14277         (TEST_FUNCTION): New macro.
14278         Include test-skeleton.c.
14279         * misc/tst-tsearch.c (main): Converted to ...
14280         (do_test): ... this.
14281         (TEST_FUNCTION): New macro.
14282         Include test-skeleton.c.
14283         * posix/tst-regexloc.c (main): Converted to ...
14284         (do_test): ... this.
14285         (TEST_FUNCTION): New macro.
14286         Include test-skeleton.c.
14287         * resolv/tst-aton.c (main): Converted to ...
14288         (do_test): ... this.
14289         (TEST_FUNCTION): New macro.
14290         Include test-skeleton.c.
14291         * stdio-common/test-fwrite.c (main): Converted to ...
14292         (do_test): ... this.
14293         (TEST_FUNCTION): New macro.
14294         Include test-skeleton.c.
14295         * stdio-common/tst-ferror.c (main): Converted to ...
14296         (do_test): ... this.
14297         (TEST_FUNCTION): New macro.
14298         Include test-skeleton.c.
14299         * stdio-common/tst-printf.c (main): Converted to ...
14300         (do_test): ... this.
14301         (TEST_FUNCTION): New macro.
14302         Include test-skeleton.c.
14303         * stdio-common/tst-printfsz.c (main): Converted to ...
14304         (do_test): ... this.
14305         (TEST_FUNCTION): New macro.
14306         Include test-skeleton.c.
14307         * stdlib/tst-strtod.c (main): Converted to ...
14308         (do_test): ... this.
14309         (TEST_FUNCTION): New macro.
14310         Include test-skeleton.c.
14311         * string/tst-strlen.c (main): Converted to ...
14312         (do_test): ... this.
14313         (TEST_FUNCTION): New macro.
14314         Include test-skeleton.c.
14315         * string/tst-svc.c (main): Converted to ...
14316         (do_test): ... this.
14317         (TEST_FUNCTION): New macro.
14318         Include test-skeleton.c.
14319         * time/tst-strptime.c (main): Converted to ...
14320         (do_test): ... this.
14321         (TEST_FUNCTION): New macro.
14322         Include test-skeleton.c.
14323         * timezone/tst-timezone.c (main): Converted to ...
14324         (do_test): ... this.
14325         (TEST_FUNCTION): New macro.
14326         Include test-skeleton.c.
14328 2015-08-05  Zack Weinberg  <zackw@panix.com>
14330         * misc/regexp.h: Update comments.
14332 2015-08-05  Andreas Schwab  <schwab@linux-m68k.org>
14334         [BZ #18635]
14335         * sysdeps/unix/sysv/linux/m68k/m680x0/makecontext.S: Add nop
14336         before return label.
14338 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
14340         [BZ #18661]
14341         * sysdeps/x86_64/fpu/s_cosf.S (__cosf): Align stack to 16 bytes
14342         when calling __errno_location.
14343         * sysdeps/x86_64/fpu/s_sincosf.S (__sincosf): Likewise.
14344         * sysdeps/x86_64/fpu/s_sinf.S (__sinf): Likewise.
14346 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
14348         [BZ #18661]
14349         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S
14350         (__lll_timedwait_tid): Align stack to 16 bytes when calling
14351         __gettimeofday.
14353 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
14355         [BZ #18661]
14356         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
14357         (__start_context): Don't use pop to restore %rdi so that stack
14358         is aligned to 16 bytes when calling __setcontext.
14360 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
14362         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Compile
14363         only for libc.
14364         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
14366 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
14368         * string/string.h: (mempcpy): Redirect to __mempcpy_inline.
14369         (__mempcpy): Likewise.  (__mempcpy_inline): New inline function.
14370         * sysdeps/sparc/bits/string.h: (_HAVE_STRING_ARCH_mempcpy): Define.
14372 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
14374         * string/memccpy.c (memccpy):
14375         Improve performance by using memchr/memcpy/__mempcpy.
14377 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
14379         * string/strncpy.c (strncpy):
14380         Improve performance by using __strnlen/memcpy.
14382 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
14384         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
14385         Optimize to avoid an unnecessary FPCR read.
14387 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
14389         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
14390         Optimize to reduce FPCR/FPSR accesses.
14392 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
14394         * locale/loadarchive.c (_nl_archive_subfreeres): Also check
14395         dead->data[category] != NULL.
14397 2015-08-05  Joseph Myers  <joseph@codesourcery.com>
14399         [BZ #18647]
14400         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): For large y
14401         and |x| close to 1, use absolute value of x when computing log.
14402         * math/auto-libm-test-in: Add more tests of pow.
14403         * math/auto-libm-test-out: Regenerated.
14405 2015-08-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14407         * sysdeps/unix/sysv/linux/arm/mmap.c: Add file.
14408         * sysdeps/unix/sysv/linux/arm/mmap.S: Remove file.
14409         * sysdeps/unix/sysv/linux/arm/mmap64.S: Likewise.
14411 2015-08-05  Marko Myllynen  <myllynen@redhat.com>
14413         [BZ #18525]
14414         * locales/km_KH: Remove timezone definition.
14415         * locales/lo_LA: Likewise.
14416         * locales/my_MM: Likewise.
14417         * locales/nan_TW@latin: Likewise.
14418         * locales/th_TH: Likewise.
14419         * locales/uk_UA: Likewise.
14421 2015-08-05  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
14423         [BZ #18265]
14424         * wcsmbs/wchar.h (wcscat): Add __nonnull attribute.
14425         (wcsncat): Likewise.
14426         (wcscmp): Likewise.
14427         (wcsncmp): Likewise.
14429 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
14431         * test-skeleton.c (usage): New function.
14432         (main): Call usage when opt is '?'.
14434 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
14436         * sysdeps/unix/sysv/linux/mmap64.c: Move MMAP2_PAGE_SHIFT define
14437         before first use.
14439 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
14441         * nptl/allocatestack.c (allocate_stack): Move stacktop decl down to
14442         bottom and under _STACK_GROWS_DOWN.  Move the stacktop assignment
14443         in there too.
14445 2015-08-05  Carlos O'Donell  <carlos@systemhalted.org>
14447         * version.h (RELEASE): Set to "development".
14448         (VERSION): Set to "2.22.90"
14450         * version.h (RELEASE): Set to "stable".
14451         (VERSION): Set to "2.22"
14452         * include/features.h (__GLIBC_MINOR__): Set to 22.
14454 2015-08-04  Chris Metcalf  <cmetcalf@ezchip.com>
14456         * sysdeps/tile/tilepro/bits/atomic.h (__atomic_update):
14457         Restructure macro to avoid "value computed is not used" warning.
14458         (atomic_compare_and_exchange_val_acq): Likewise.
14460 2015-08-04  Andreas Schwab  <schwab@suse.de>
14462         [BZ #18635]
14463         * sysdeps/unix/sysv/linux/i386/makecontext.S: Terminate FDE before
14464         ret.
14465         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext): Remove.
14467 2015-08-01  Carlos O'Donell  <carlos@redhat.com>
14469         * po/pl.po: Updated translation.
14470         * po/uk.po: Likewise.
14471         * po/fi.po: Likewise.
14472         * po/ko.po: Likewise.
14473         * po/ru.po: Likewise.
14474         * po/vi.po: Likewise.
14476 2015-07-31  Zack Weinberg  <zackw@panix.com>
14478         [BZ #18681]
14479         * regexp.h: Add unconditional #warning stating that this header
14480         will be removed soon.  Revise banner comment to match.
14481         (compile): Consistently use ERROR instead of RETURN to report
14482         errors (partial fix for bz#18681).
14483         * regexp.c: Don't include regexp.h. Remove some unnecessary
14484         declarations.
14486 2015-07-31  Carlos O'Donell  <carlos@redhat.com>
14488         * po/libc.pot: Regenerated.
14490 2015-07-30  Andrew Senkevich  <andrew.senkevich@intel.com>
14492         [BZ #18740]
14493         * sysdeps/x86_64/fpu/Makefile (double-vlen2-arch-ext-cflags,
14494         float-vlen4-arch-ext-cflags): Removed.
14495         * math/Makefile (CFLAGS-test-double-vlen2-wrappers.c,
14496         CFLAGS-test-float-vlen4-wrappers.c): Likewise.
14498 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
14500         [BZ #14113]
14501         * sysdeps/hppa/nptl/bits/pthreadtypes.h (pthread_mutex_t): Change
14502         aligned to __aligned__.
14503         (pthread_cond_t, pthread_rwlock_t): Likewise.
14505 2015-07-30  Torvald Riegel  <triegel@redhat.com>
14507         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: Remove file.
14509 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
14511         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Include bits/wordsize.h.
14512         (struct sigaction): Change sa_flags from a long to an int, and add
14513         __glibc_reserved0 before it for padding when __WORDSIZE is 64.
14515 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
14517         * hppa/sysdep.h: Delete sys/syscall.h and config.h includes.
14518         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Delete
14519         sysdeps/generic/sysdep.h include.
14520         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Wrap the whole file in
14521         _LINUX_HPPA_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h and
14522         sysdeps/hppa/sysdep.h.
14523         (ENTRY, PSEUDO): Undefine before defining.
14525 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
14527         * sysdeps/unix/sysv/linux/hppa/sysdep.h (INLINE_SYSCALL): Rewrite
14528         from scratch to use INTERNAL_SYSCALL.
14530 2015-07-29  H.J. Lu  <hongjiu.lu@intel.com>
14532         [BZ #18078]
14533         * scripts/check-localplt.awk: Support alternate relocations.
14534         * scripts/localplt.awk: Also check relocations in DT_RELA/DT_REL
14535         sections.
14536         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark free and
14537         malloc entries with + REL R_386_GLOB_DAT.
14538         * sysdeps/x86_64/localplt.data: New file.
14540 2015-07-29  Andrew Senkevich  <andrew.senkevich@intel.com>
14542         [BZ #18731]
14543         * sysdeps/x86_64/fpu/math-tests-arch.h: Added AVX runtime check.
14544         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
14545         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
14547 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
14549         * sysdeps/unix/sysv/linux/ia64/localplt.data: Delete __tls_get_addr.
14551 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
14553         * sysdeps/ia64/bits/atomic.h (atomic_exchange_and_add): Define
14554         directly in terms of __sync_fetch_and_add and delete (int) cast.
14556 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
14558         * sysdeps/unix/sysv/linux/ia64/Makefile (CPPFLAGS): Delete
14559         the -D_ASM_IA64_CURRENT_H flag.
14561 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
14563         [BZ #18641]
14564         * pwd/pwd.h (putpwent): Delete __nonnull markings.
14566 2015-07-27  Andreas Schwab  <schwab@suse.de>
14568         * conform/conformtest.pl (checknamespace): Filter out string
14569         literals while tokenizing.
14571 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
14573         * sysdeps/nios2/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
14574         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Handle
14575         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
14577 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
14579         * nptl/tst-join7mod.c: Add #include <string.h>.
14581 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
14583         * sysdeps/nios2/libm-test-ulps: Update.
14585 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
14587         * sysdeps/unix/sysv/linux/nios2/setcontext.S (__setcontext):
14588         Fix order of arguments to the rt_sigprocmask syscall.
14589         * sysdeps/unix/sysv/linux/nios2/swapcontext.S (__swapcontext):
14590         Likewise.
14592 2015-07-24  Roland McGrath  <roland@hack.frob.com>
14594         * sysdeps/nacl/bits/fcntl.h (O_SHLOCK, O_EXLOCK): Macros removed.
14596 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
14598         [BZ #18457]
14599         * nptl/Makefile (tests): New test case tst-join7.
14600         (modules-names): New test case module tst-join7mod.
14601         * nptl/tst-join7.c: New file.
14602         * nptl/tst-join7mod.c: New file.
14603         * Makeconfig (tls-model): Pass -ftls-model=initial-exec for
14604         all translation units in libc.so, libpthread.so and rtld.
14606 2015-07-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14608         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14610 2015-07-24  Andrew Senkevich  <andrew.senkevich@intel.com>
14612         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Fixed AVX512 IFUNC.
14613         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
14614         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
14615         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
14616         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
14617         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
14618         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
14619         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
14620         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
14621         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
14622         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
14623         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
14624         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Fixed wrappers to AVX2.
14625         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
14626         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Fixed KNL
14627         implementation.
14629 2015-07-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
14631         [BZ #17711]
14632         * sysdeps/aarch64/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
14633         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Handle
14634         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
14635         * sysdeps/arm/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
14636         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Handle
14637         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
14639 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
14641         * stdlib/cxa_thread_atexit_impl.c: Use the lock name dl_load_lock
14642         instead of just saying load lock in the comments.
14644 2015-07-23  Roland McGrath  <roland@hack.frob.com>
14646         * sysdeps/unix/Subdirs: Moved ...
14647         * sysdeps/posix/Subdirs: ... here.
14648         * login/pty.h (struct termios, struct winsize): Add forward decls.
14649         * login/openpty.c (openpty): Put ioctl call under [TIOCSWINSZ].
14650         * sysdeps/nacl/glob.c: Just #include <sysdeps/wordsize-64/glob.c>.
14651         * sysdeps/arm/nacl/libc.abilist: Updated.
14652         * sysdeps/nacl/libutil.abilist: New file.
14654         * bits/signum.h: Update comments to mention 1003.1-2013 too.
14655         (SIGWINCH): New macro.
14657         * sysdeps/nacl/getdtsz.c (getdtablesize): Add missing weak_alias.
14658         * sysdeps/arm/nacl/libc.abilist: Add it.
14660 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
14662         * conform/linknamespace.pl (@whitelist): Add matherrf and matherrl.
14664 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
14666         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
14667         Swap __glibc_reserved0 and sa_flags order.
14669 2015-07-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
14671         [BZ #18657]
14672         * elf/dl-close.c (_dl_close_worker): Don't unload DSO if there
14673         are pending TLS destructor calls.
14674         * include/link.h (struct link_map): Add concurrency note for
14675         L_TLS_DTOR_COUNT.
14676         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
14677         Don't touch the link map flag.  Atomically increment
14678         l_tls_dtor_count.
14679         (__call_tls_dtors): Atomically decrement l_tls_dtor_count.
14680         Avoid taking the load lock and don't touch the link map flag.
14681         * stdlib/tst-tls-atexit-nodelete.c: New test case.
14682         * stdlib/Makefile (tests): Use it.
14683         * stdlib/tst-tls-atexit.c (do_test): dlopen
14684         tst-tls-atexit-lib.so again before dlclose.  Add conditionals
14685         to allow tst-tls-atexit-nodelete test case to use it.
14687 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
14689         * sysdeps/unix/sysv/linux/ia64/bits/msq.h: Change sys/types.h include
14690         to bits/types.h.
14691         (msgqnum_t): New typedef.
14692         (msglen_t): Likewise.
14693         (struct msqid_ds): Update comment.  Change msg_qnum type to msgqnum_t
14694         and msg_qbytes type to msglen_t.
14696 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
14698         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat): Rename
14699         pad0 to __glibc_reserved0.
14700         (struct stat64): Likewise.
14702 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
14704         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
14705         Change sa_flags from a long to an int and add __glibc_reserved0 before
14706         it for padding.
14708 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
14710         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (siginfo_t): Make struct
14711         anonymous by deleting "siginfo" name.
14713 2015-07-21  Roland McGrath  <roland@hack.frob.com>
14715         * sysdeps/nacl/nacl-interface-list.h: Remove nacl_irt_filename.
14716         * sysdeps/nacl/open.c (__libc_open): Use __nacl_irt_dev_filename
14717         rather than __nacl_irt_filename.
14718         * sysdeps/nacl/xstat.c (__xstat): Likewise.
14720         * NEWS: New item for arm-nacl port.
14721         * sysdeps/arm/nacl/libc.abilist: New file.
14722         * sysdeps/nacl/ld.abilist: New file.
14723         * sysdeps/nacl/libBrokenLocale.abilist: New file.
14724         * sysdeps/nacl/libanl.abilist: New file.
14725         * sysdeps/nacl/libcrypt.abilist: New file.
14726         * sysdeps/nacl/libdl.abilist: New file.
14727         * sysdeps/nacl/libm.abilist: New file.
14728         * sysdeps/nacl/libpthread.abilist: New file.
14729         * sysdeps/nacl/libresolv.abilist: New file.
14730         * sysdeps/nacl/librt.abilist: New file.
14732 2015-07-21  Chris Metcalf  <cmetcalf@ezchip.com>
14734         * sysdeps/unix/sysv/linux/tile/makecontext.c (__makecontext): Call
14735         __startcontext to initialize the new context.
14736         * sysdeps/unix/sysv/linux/tile/setcontext.S (__startcontext): Set
14737         up CFI directive to forbid further backtracing.
14739 2015-07-21  Marko Myllynen  <myllynen@redhat.com>
14741         * charmaps/ANSI_X3.110-1983: Remove obsolete repertoire map
14742         reference.
14743         * charmaps/ANSI_X3.4-1968: Likewise.
14744         * charmaps/BS_4730: Likewise.
14745         * charmaps/BS_VIEWDATA: Likewise.
14746         * charmaps/CP1250: Likewise.
14747         * charmaps/CP1251: Likewise.
14748         * charmaps/CP1252: Likewise.
14749         * charmaps/CP1253: Likewise.
14750         * charmaps/CP1254: Likewise.
14751         * charmaps/CP1255: Likewise.
14752         * charmaps/CP1256: Likewise.
14753         * charmaps/CSN_369103: Likewise.
14754         * charmaps/EBCDIC-DK-NO: Likewise.
14755         * charmaps/GB_1988-80: Likewise.
14756         * charmaps/GREEK-CCITT: Likewise.
14757         * charmaps/GREEK7: Likewise.
14758         * charmaps/INIS-8: Likewise.
14759         * charmaps/ISIRI-3342: Likewise.
14760         * charmaps/ISO_2033-1983: Likewise.
14761         * charmaps/ISO_5427-EXT: Likewise.
14762         * locales/POSIX: Likewise.
14763         * locales/ar_SA: Likewise.
14764         * locales/be_BY: Likewise.
14765         * locales/be_BY@latin: Likewise.
14766         * locales/ca_ES: Likewise.
14767         * locales/cs_CZ: Likewise.
14768         * locales/da_DK: Likewise.
14769         * locales/de_BE: Likewise.
14770         * locales/de_CH: Likewise.
14771         * locales/de_LU: Likewise.
14772         * locales/en_AU: Likewise.
14773         * locales/en_BW: Likewise.
14774         * locales/en_CA: Likewise.
14775         * locales/en_DK: Likewise.
14776         * locales/en_GB: Likewise.
14777         * locales/en_IE: Likewise.
14778         * locales/en_NZ: Likewise.
14779         * locales/en_ZA: Likewise.
14780         * locales/en_ZW: Likewise.
14781         * locales/es_AR: Likewise.
14782         * locales/es_BO: Likewise.
14783         * locales/es_CL: Likewise.
14784         * locales/es_CO: Likewise.
14785         * locales/es_DO: Likewise.
14786         * locales/es_EC: Likewise.
14787         * locales/es_ES: Likewise.
14788         * locales/es_HN: Likewise.
14789         * locales/es_MX: Likewise.
14790         * locales/es_PA: Likewise.
14791         * locales/es_PE: Likewise.
14792         * locales/es_PY: Likewise.
14793         * locales/es_SV: Likewise.
14794         * locales/es_US: Likewise.
14795         * locales/es_UY: Likewise.
14796         * locales/es_VE: Likewise.
14797         * locales/et_EE: Likewise.
14798         * locales/fa_IR: Likewise.
14799         * locales/fo_FO: Likewise.
14800         * locales/fr_CA: Likewise.
14801         * locales/fr_CH: Likewise.
14802         * locales/gv_GB: Likewise.
14803         * locales/he_IL: Likewise.
14804         * locales/hr_HR: Likewise.
14805         * locales/id_ID: Likewise.
14806         * locales/is_IS: Likewise.
14807         * locales/it_CH: Likewise.
14808         * locales/iw_IL: Likewise.
14809         * locales/kl_GL: Likewise.
14810         * locales/ko_KR: Likewise.
14811         * locales/kw_GB: Likewise.
14812         * locales/lg_UG: Likewise.
14813         * locales/lt_LT: Likewise.
14814         * locales/lv_LV: Likewise.
14815         * locales/mi_NZ: Likewise.
14816         * locales/nhn_MX: Likewise.
14817         * locales/nl_BE: Likewise.
14818         * locales/pl_PL: Likewise.
14819         * locales/sk_SK: Likewise.
14820         * locales/sl_SI: Likewise.
14821         * locales/sv_FI: Likewise.
14822         * locales/tl_PH: Likewise.
14823         * locales/tr_TR: Likewise.
14824         * locales/vi_VN: Likewise.
14826 2015-07-21  Khem Raj  <raj.khem@gmail.com>
14828         [BZ #17475]
14829         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Adjust for rename
14830         of tu_IN and bh_IN.
14832 2015-07-21  Mike Frysinger  <vapier@gentoo.org>
14834         [BZ #18694]
14835         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Include
14836         bits/wordsize.h.
14837         (sigaction): Declare __glibc_reserved0 only when __WORDSIZE is 64.
14839 2015-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
14841         * stdlib/tst-tls-atexit-lib.c (do_foo): Rename to reg_dtor.
14842         * stdlib/tst-tls-atexit.c: (is_loaded): New function.
14843         (spawn_thread): New function.
14844         (load): Rename to reg_dtor_and_close.  Move dlopen to...
14845         (do_test): ... here.  Use IS_LOADED to test for its
14846         availability.
14848 2015-07-21  Andreas Schwab  <schwab@linux-m68k.org>
14850         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
14852 2015-07-20  H.J. Lu  <hongjiu.lu@intel.com>
14854         [BZ #18696]
14855         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (_sigfault): Add
14856         si_addr_bnd.
14857         (si_lower): New.
14858         (si_upper): Likewise.
14860 2015-07-16  David S. Miller  <davem@davemloft.net>
14862         * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
14864 2015-07-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14866         * libio/fmemopen.c (__fmemopen): Fix 'w' openmode with provided
14867         buffer.
14868         * stdio-common/tst-fmemopen2.c (do_test_with_buffer): Fix typo and
14869         fail output information.
14871 2015-07-16  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
14873         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strstr-power7
14874         and strstr-ppc64..
14875         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
14876         * sysdeps/powerpc/powerpc64/power7/strstr.S: New File.
14877         * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: New File.
14878         * sysdeps/powerpc/powerpc64/multiarch/strstr-ppc64.c: New File.
14879         * sysdeps/powerpc/powerpc64/multiarch/strstr.c: New File.
14881 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
14883         * sysdeps/hppa/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
14884         * sysdeps/hppa/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
14885         * sysdeps/ia64/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
14886         * sysdeps/ia64/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
14888 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
14890         * elf/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
14891         * sysdeps/hppa/dl-lookupcfg.h (_dl_symbol_address): Add
14892         rtld_hidden_proto.
14893         * sysdeps/ia64/dl-lookupcfg.h (_dl_symbol_address): Likewise.
14895 2015-07-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
14897         * tst-nodelete-opened.c (do_test): Add comment to clarify how
14898         the test can fail.
14900         * stdlib/cxa_thread_atexit_impl.c: Whitespace fixup.
14902         [BZ #18676]
14903         * elf/tst-nodelete-opened.c: New test case.
14904         * elf/tst-nodelete-opened-lib.c: New test case module.
14905         * elf/Makefile (tests, modules-names): Use them.
14906         * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag
14907         early.
14909 2015-07-15  David S. Miller  <davem@davemloft.net>
14911         * sysdeps/sparc/nptl/pthread_barrier_init.c: Include
14912         futex-intenal.h
14913         * sysdeps/sparc/sparc32/sparcv9/Makefile (nscd): Add cpu_relax.
14914         * sysdeps/sparc/sparc64/Makefile: Likewise.
14915         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
14916         Remove space from macro define.
14917         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_spin_nop): Likewise.
14919 2015-07-15  Pravin Satpute  <psatpute@redhat.com>
14921         [BZ #17475]
14922         * locale/iso-639.def: Update Bhili and Tulu language codes as
14923         per iso639-3.
14925 2015-07-15  Arjun Shankar  <arjun.is@lostca.se>
14927         * elf/tst-leaks1.c (main): Converted to ...
14928         (do_test): ... this.
14929         (TEST_FUNCTION): New macro.
14930         Include test-skeleton.c.
14931         * localedata/tst-langinfo.c (main): Converted to ...
14932         (do_test): ... this.
14933         (TEST_FUNCTION): New macro.
14934         Include test-skeleton.c.
14935         * math/test-fpucw.c (main): Converted to ...
14936         (do_test): ... this.
14937         (TEST_FUNCTION): New macro.
14938         Include test-skeleton.c.
14939         * math/test-tgmath.c (main): Converted to ...
14940         (do_test): ... this.
14941         (TEST_FUNCTION): New macro.
14942         Include test-skeleton.c.
14943         * math/test-tgmath2.c (main): Converted to ...
14944         (do_test): ... this.
14945         (TEST_FUNCTION): New macro.
14946         Include test-skeleton.c.
14947         * setjmp/tst-setjmp.c (main): Converted to ...
14948         (do_test): ... this.
14949         (TEST_FUNCTION): New macro.
14950         Include test-skeleton.c.
14951         * stdio-common/tst-sscanf.c (main): Converted to ...
14952         (do_test): ... this.
14953         (TEST_FUNCTION): New macro.
14954         Include test-skeleton.c.
14955         * sysdeps/x86_64/tst-audit6.c (main): Converted to ...
14956         (do_test): ... this.
14957         (TEST_FUNCTION): New macro.
14958         Include test-skeleton.c.
14960         * elf/tst-audit9.c (main): Converted to ...
14961         (do_test): ... this.
14962         (TEST_FUNCTION): New macro.
14963         Include test-skeleton.c.
14965 2015-07-15  Mike Frysinger  <vapier@gentoo.org>
14967         * timezone/tst-tzset.c (TIMEOUT): Define to 5.
14969 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
14971         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext):
14972         New variable.
14974 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
14976         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
14978 2015-07-14  Roland McGrath  <roland@hack.frob.com>
14980         * sysdeps/generic/dl-fileid.h: New file.
14981         * sysdeps/posix/dl-fileid.h: New file.
14982         * sysdeps/nacl/dl-fileid.h: New file.
14983         * include/link.h: Include <dl-fileid.h>.
14984         (struct link_map): Replace l_dev and l_ino with l_file_id.
14985         * elf/dl-load.c (_dl_map_object_from_fd): Use _dl_get_file_id rather
14986         than __fxstat64.  Use _dl_file_id_match_p rather than comparing l_dev
14987         and l_ino directly.  Initialize l_file_id rather than l_dev and l_ino.
14989 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
14991         * stdlib/tst-tls-atexit.c (do_test): Fix typo.
14993 2015-07-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14995         * elf/Makefile [ifeq (yes,$(build-shared)) (tests)] (tst-nodelete):
14996         Add iff $CXX is set.
14997         [ifeq (yes,$(build-shared)) (modules-names)] (tst-nodelete-rtldmod):
14998         Likewise.
14999         (tst-nodelete-zmodiff): Likewise.
15000         * nptl/Makefile [[ifeq (,$(CXX))] (tests-unsupported)]: Add tst-once5.
15002 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
15004         * stdlib/tst-tls-atexit.c (load): Fix up whitespace.
15006 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
15008         * sysdeps/aarch64/fpu/math_private.h
15009         (define math_opt_barrier): Add AArch64 version.
15010         (math_force_eval): Likewise.
15012 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
15014         * sysdeps/aarch64/strlen.S (strlen): Optimize strlen.
15016 2015-07-11  H.J. Lu  <hongjiu.lu@intel.com>
15018         * stdio-common/tst-fmemopen2.c (do_test_without_buffer): Replace
15019         %ld with %jd and cast to intmax_t.
15020         (do_test_length_zero): Likewise.
15022 2015-07-10  Roland McGrath  <roland@hack.frob.com>
15024         * sysdeps/nacl/pthread_condattr_setclock.c: New file.
15026 2015-07-10  Chris Metcalf  <cmetcalf@ezchip.com>
15028         * sysdeps/tile/libm-test-ulps: Regenerated.
15030         * math/test-fenvinline.c (feenable_test) [FE_ALL_EXCEPT == 0]:
15031         Comment out the whole function, not just its body.
15033 2015-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
15035         * stdlib/tst-tls-atexit.c (load): Remove unnecessary mutex
15036         locks.
15038         * stdlib/tst-tls-atexit.c (load): Avoid boolean coercion.
15040 2015-07-10  Torvald Riegel  <triegel@redhat.com>
15042         * nptl/sem_waitcommon.c (__new_sem_wait_slow): Update comments.
15043         (sem_assume_only_signals_cause_futex_EINTR): Remove.
15045 2015-07-10  Torvald Riegel  <triegel@redhat.com>
15047         * sysdeps/nptl/futex-internal.h: New file.
15048         * sysdeps/nacl/futex-internal.h: New file.
15049         * sysdeps/unix/sysv/linux/futex-internal.h: New file.
15050         * nptl/allocatestack.c (setxid_mark_thread): Use futex wrappers with
15051         error checking.
15052         (setxid_unmark_thread): Likewise.
15053         (__nptl_setxid): Likewise.
15054         (__wait_lookup_done): Likewise.
15055         * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
15056         * nptl/nptl-init.c (sighandler_setxid): Likewise.
15057         * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
15058         * nptl/pthread_once.c (clear_once_control): Likewise.
15059         (__pthread_once_slow): Likewise.
15060         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
15061         * sysdeps/nacl/exit-thread.h (__exit_thread): Likewise.
15062         * sysdeps/nptl/aio_misc.h (AIO_MISC_NOTIFY, AIO_MISC_WAIT): Likewise.
15063         * sysdeps/nptl/fork.c (__libc_fork): Likewise.
15064         * sysdeps/nptl/gai_misc.h (GAI_MISC_NOTIFY, GAI_MISC_WAIT): Likewise.
15065         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock_slow):
15066         Likewise.
15067         (__pthread_rwlock_rdlock): Likewise.
15068         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
15069         Likewise.
15070         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
15071         Likewise.
15072         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
15073         Likewise.
15074         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Likewise.
15075         * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock_slow:
15076         Likewise.
15077         * nptl/pthread_rwlock_init (__pthread_rwlock_init): Remove
15078         __ASSUME_PRIVATE_FUTEX check.
15079         * nptl/pthread_rwlockattr_setpshared (pthread_rwlockattr_setpshared):
15080         Check that shared futexes are supported.
15081         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Use futex
15082         wrappers with error checking.
15083         * nptl/pthread_barrier_init.c (pthread_barrier_init): Add comments,
15084         remove attribute sanity check and __ASSUME_PRIVATE_FUTEX check.
15085         * nptl/pthread_barrierattr_setpshared.c
15086         (pthread_barrierattr_setpshared): Check that shared futexes are
15087         supported.
15088         * nptl/pthread_condattr_setpshared.c (pthread_condattr_setpshared):
15089         Likewise.
15090         * nptl/pthread_mutexattr_setpshared.c (pthread_mutexattr_setpshared):
15091         Likewise.
15092         * nptl/sem_init.c (futex_private_if_supported): Remove.
15093         (__new_sem_init): Adapt and check that shared futexes are supported.
15094         * nptl/sem_open.c (sem_open): Likewise.
15095         * nptl/sem_post.c (futex_wake): Remove.
15096         * nptl/sem_waitcommon.c (futex_abstimed_wait, futex_wake): Remove.
15097         (do_futex_wait): Use futex wrappers with error checking.
15098         * nptl/sem_wait.c: Include lowlevellock.h.
15099         * sysdeps/sparc/nptl/pthread_barrier_init.c (__pthread_barrier_init):
15100         Use futex_supports_pshared.
15101         * sysdeps/sparc/nptl/pthread_barrier_wait.c (pthread_barrier_wait):
15102         Use futex wrappers with error checking.
15103         * sysdeps/sparc/sparc32/pthread_barrier_wait.c (pthread_barrier_wait):
15104         Likewise.
15105         * sysdeps/sparc/sparc32/sem_init.c (futex_private_if_supported): Remove.
15106         * sysdeps/sparc/sparc32/sem_post.c (futex_wake): Likewise.
15107         * sysdeps/sparc/sparc32/sem_open.c (sem_open): Use FUTEX_SHARED.
15108         * sysdeps/sparc/sparc32/sem_waitcommon.c (futex_abstimed_wait): Remove.
15109         (futex_wake): Likewise.
15110         (sem_assume_only_signals_cause_futex_EINTR): Likewise.
15111         (do_futex_wait): Use futex wrappers with error checking.
15112         (__new_sem_wait_slow): Update EINTR handling.
15113         * sysdeps/sparc/sparc32/sem_wait.c: Include lowlevellock.h.
15115 2015-07-09  Martin Sebor  <msebor@redhat.com>
15117         [BZ #18435]
15118         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
15119         Revert commit ed225df3ad9cbac3c22ec3f0fbbed1f9c61d1c54.
15120         * nptl/Makefile (test-xfail-tst-once5): Define.
15122 2015-07-09  Roland McGrath  <roland@hack.frob.com>
15124         * include/stdio.h: Add rtld_hidden_proto (__libc_fatal).
15125         * elf/dl-minimal.c: For readability, reorder some definitions and
15126         introduce more page breaks.  Include <stdio.h>.
15127         (__libc_fatal): New function.
15129         * include/unistd.h: Add rtld_hidden_proto for _exit.
15130         * posix/_exit.c: Add rtld_hidden_def.
15131         * sysdeps/mach/hurd/_exit.c: Likewise.
15132         * sysdeps/nacl/_exit.c: Likewise.
15133         * sysdeps/unix/sysv/linux/_exit.c: Likewise.
15134         * sysdeps/unix/sysv/linux/i386/_exit.S: Likewise.
15136 2015-07-09  H.J. Lu  <hongjiu.lu@intel.com>
15138         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Improve
15139         bndmov encoding with zero displacement.
15141 2015-07-09  Igor Zamyatin  <igor.zamyatin@intel.com>
15142             H.J. Lu  <hongjiu.lu@intel.com>
15144         [BZ #18134]
15145         * sysdeps/i386/configure.ac: Set HAVE_MPX_SUPPORT.
15146         * sysdeps/i386/configure: Regenerated.
15147         * sysdeps/i386/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
15148         (_dl_runtime_profile): Save and restore Intel MPX return bound
15149         registers when calling _dl_call_pltexit.  Add
15150         PRESERVE_BND_REGS_PREFIX before return.
15151         * sysdeps/i386/link-defines.sym (LRV_BND0_OFFSET): New.
15152         (LRV_BND1_OFFSET): Likewise.
15153         * sysdeps/x86/bits/link.h (La_i86_retval): Add lrv_bnd0 and
15154         lrv_bnd1.
15155         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix
15156         typo in bndmov encoding.
15157         * sysdeps/x86_64/dl-trampoline.h: Properly save and restore
15158         Intel MPX bound registers.  Add PRESERVE_BND_REGS_PREFIX before
15159         branch instructions to preserve bounds.
15161 2015-07-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15163         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
15164         [GLIBC_2.22]: Add fmemopen.
15166 2015-07-09  Samuel Thibault  <samuel.thibault@ens-lyon.org>
15168         * sysdeps/mach/hurd/mlock.c (mlock): When __get_privileged_ports
15169         returns an error, also try to use host port from __mach_host_self for
15170         the __vm_wire call.
15171         * sysdeps/mach/hurd/munlock.c (munlock): Likewise.
15173 2015-07-09  Szabolcs Nagy  <szabolcs.nagy@arm.com>
15175         [BZ #18400]
15176         [BZ #18648]
15177         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (struct elf_prpsinfo):
15178         Fix pr_uid and pr_gid members.
15179         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (greg_t): Change the
15180         definition to elf_greg_t.
15182 2015-07-08  Roland McGrath  <roland@hack.frob.com>
15184         [BZ #18383]
15185         * sysdeps/arm/configure.ac (libc_cv_arm_tpoff_addend): New check.
15186         Emit test-xfail-tst-tlsalign{,-static}=yes if it fails.
15187         * sysdeps/arm/configure: Regenerated.
15188         * elf/Makefile (test-xfail-tst-tlsalign): Variable removed.
15189         (test-xfail-tst-tlsalign-static): Variable removed.
15191         * Makerules (do-install-so): Use $(LN_S) rather than explicit 'ln -s'.
15192         * elf/Makefile ($(objpfx)$(rtld-installed-name)): Use $(make-link)
15193         rather than explicit 'ln -s'.
15195         * resolv/rpc/netdb.h: New file.
15196         * resolv/Makefile [sunrpc not in $(subdirs)] (headers): Add it.
15198 2015-07-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15200         * stdio-common/tst-fmemopen2.c (do_test): Add test for NULL and zero
15201         length buffers.
15202         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
15203         test-skeleton.c.
15205         [BZ #6544]
15206         [BZ #11216]
15207         [BZ #12836]
15208         [BZ #13151]
15209         [BZ #13152]
15210         [BZ #14292]
15211         * include/stdio.h (fmemopen): Remove hidden prototype.
15212         (__fmemopen): Add new hidden prototype.
15213         * libio/Makefile: Add oldfmemopen object.
15214         * libio/Versions [GLIBC_2.22]: Add new fmemopen symbol.
15215         * libio/fmemopen.c (__fmemopen): Function rewrite to be POSIX
15216         compliance.
15217         * libio/oldfmemopen.c: New file: old fmemopen implementation for
15218         symbol compatibility.
15219         * stdio-common/Makefile [tests]: Add new tst-fmemopen3.
15220         * stdio-common/psiginfo.c [psiginfo]: Call __fmemopen instead of
15221         fmemopen.
15222         * stdio-common/tst-fmemopen3.c: New file: more fmemopen tests, focus
15223         on append and read mode.
15224         * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.22]: Add
15225         fmemopen.
15226         * sysdeps/unix/sysv/linux/alpha/libc.abilist [GLIBC_2.22]: Likewise.
15227         * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.22]: Likewise.
15228         * sysdeps/unix/sysv/linux/i386/libc.abilist [GLIBC_2.22]: Likewise.
15229         * sysdeps/unix/sysv/linux/ia64/libc.abilist [GLIBC_2.22]:
15230         Likewise.
15231         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
15232         [GLIBC_2.22]: Likewise.
15233         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist [GLIBC_2.22]:
15234         Likewise.
15235         * sysdeps/unix/sysv/linux/microblaze/libc.abilist [GLIBC_2.22]:
15236         Likewise.
15237         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
15238         [GLIBC_2.22]: Likewise.
15239         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
15240         [GLIBC_2.22]: Likewise.
15241         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
15242         [GLIBC_2.22]: Likewise.
15243         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
15244         [GLIBC_2.22]: Likewise.
15245         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
15246         [GLIBC_2.22]: Likewise.
15247         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
15248         [GLIBC_2.22]: Likewise.
15249         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
15250         [GLIBC_2.22]: Likewise.
15251         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist [GLIBC_2.22]:
15252         Likewise.
15253         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist [GLIBC_2.22]:
15254         Likewise.
15255         * sysdeps/unix/sysv/linux/sh/libc.abilist [GLIBC_2.22]: Likewise.
15256         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
15257         [GLIBC_2.22]: Likewise.
15258         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
15259         [GLIBC_2.22]: Likewise.
15260         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
15261         [GLIBC_2.22]: Likewise.
15262         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
15263         [GLIBC_2.22]: Likewise.
15264         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist [GLIBC_2.22]:
15265         Likewise.
15266         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist [GLIBC_2.22]:
15267         Likewise.
15268         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist [GLIBC_2.22]:
15269         Likewise.
15270         * sysdeps/unix/sysv/linux/hppa/libc.abilist [GLIBC_2.22]: Likewise.
15271         * sysdeps/unix/sysv/linux/nios2/libc.abilist [GLIBC_2.22]: Likewise.
15273 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
15275         [BZ #18643]
15276         * sysdeps/unix/sysv/linux/bits/in.h: Define IPV6_RECVPATHMTU,
15277         IPV6_PATHMTU, and IPV6_DONTFRAG.
15279 2015-07-08  Feng Gao  <gfree.wind@gmail.com>
15281         * libio/fileops.c: Use "|" instead of "+" when combine _IO_LINE_BUF
15282         and _IO_UNBUFFERED.
15283         * libio/oldfileops.c: Likewise.
15284         * libio/wfileops.c: Likewise.
15286 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
15288         * nscd/selinux.c: Delete selinux/flask.h include.
15290 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
15292         [BZ #18641]
15293         * pwd/pwd.h (fgetpwent): Add __nonnull markings.
15294         (putpwent): Likewise.
15295         (getpwnam): Likewise.
15296         (getpwent_r): Likewise.
15297         (getpwuid_r): Likewise.
15298         (getpwnam_r): Likewise.
15299         (fgetpwent_r): Likewise.
15301 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
15303         [BZ #18557]
15304         * inet/rcmd.c (__validuser2_sa): Check user first to
15305         short-circuit host check.
15307 2015-07-07  Pavel Kopyl  <p.kopyl@samsung.com>
15308             Mikhail Ilin  <m.ilin@samsung.com>
15310         [BZ #17833]
15311         * elf/Makefile (tests): Add tst-nodelete.
15312         (modules-names): Add tst-nodelete-uniquemod.
15313         (tst-nodelete-uniquemod.so-no-z-defs): New.
15314         (tst-nodelete-rtldmod.so-no-z-defs): Likewise.
15315         (tst-nodelete-zmod.so-no-z-defs): Likewise.
15316         ($(objpfx)tst-nodelete): Likewise.
15317         ($(objpfx)tst-nodelete.out): Likewise.
15318         (LDFLAGS-tst-nodelete): Likewise.
15319         (LDFLAGS-tst-nodelete-zmod.so): Likewise.
15320         * elf/dl-close.c (_dl_close_worker): Add a parameter to
15321         implement forced object deletion.
15322         (_dl_close): Pass false to _dl_close_worker.
15323         * elf/dl-open.c (_dl_open): Pass true to _dl_close_worker.
15324         * elf/tst-nodelete.cc: New file.
15325         * elf/tst-nodeletelib.cc: Likewise.
15326         * elf/tst-znodeletelib.cc: Likewise.
15327         * include/dlfcn.h (_dl_close_worker): Add a new parameter.
15329 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
15331         [BZ #18508]
15332         * stdlib/Makefile ($(objpfx)tst-makecontext3):
15333         Depend on $(libdl).
15334         * stdlib/tst-makecontext.c (cf): Test if _Unwind_Backtrace
15335         is not called infinitely times.
15336         (backtrace_helper): New function.
15337         (trace_arg): New struct.
15338         (st1): Enlarge stack size.
15339         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
15340         (__makecontext_ret): Omit cfi_startproc and cfi_endproc.
15341         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
15342         Likewise.
15344 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
15346         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
15348 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
15350         * sysdeps/unix/sysv/linux/s390/bits/sem.h:
15351         Include sys/types.h instead of bits/types.h.
15352         Remove inclusion of bits/wordsize.h.
15354 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
15356         * sysdeps/x86_64/tst-auditmod10b.c (la_symbind32): New.
15357         * sysdeps/x86_64/tst-auditmod4b.c (la_symbind32): Likewise.
15358         * sysdeps/x86_64/tst-auditmod5b.c (la_symbind32): Likewise.
15359         * sysdeps/x86_64/tst-auditmod6b.c (la_symbind32): Likewise.
15360         * sysdeps/x86_64/tst-auditmod6c.c (la_symbind32): Likewise.
15361         * sysdeps/x86_64/tst-auditmod7b.c (la_symbind32): Likewise.
15363 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
15365         * sysdeps/i386/Makefile (gen-as-const-headers)[elf]: Add
15366         link-defines.sym.
15367         * sysdeps/i386/dl-trampoline.S: Include <link-defines.h>.
15368         (_dl_runtime_profile): Use LONG_DOUBLE_SIZE, LRV_SIZE,
15369         LRV_EAX_OFFSET, LRV_EDX_OFFSET, LRV_ST0_OFFSET, LRV_ST1_OFFSET
15370         and LR_SIZE.
15371         * sysdeps/i386/link-defines.sym: New file.
15373 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
15375         * sysdeps/i386/Makefile (tests)[elf]: Add tst-audit3.
15376         (modules-names): Add tst-auditmod3a tst-auditmod3b.
15377         ($(objpfx)tst-audit3): New rule.
15378         ($(objpfx)tst-audit3.out): Likewise.
15379         * sysdeps/i386/tst-audit3.c: New file.
15380         * sysdeps/i386/tst-audit3.h: Likewise.
15381         * sysdeps/i386/tst-auditmod3a.c: Likewise.
15382         * sysdeps/i386/tst-auditmod3b.c: Likewise.
15384 2015-07-07  Torvald Riegel  <triegel@redhat.com>
15386         [BZ #18633]
15387         * sysdeps/x86/bits/string.h (__memmove_g): Do not create invalid
15388         pointer in C code.
15389         (__strcat_c): Likewise.
15390         (__strcat_g): Likewise.
15392 2015-07-07  Cyril Hrubis <chrubis@suse.cz>
15394         [BZ #18592]
15395         * misc/sbrk.c: Set errno to ENOMEM on overflow.
15397 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
15399         * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt):
15400         New function.  (__ieee754_sqrtf): New function.
15401         * sysdeps/aarch64/fpu/e_sqrt.c (__ieee754_sqrt):
15402         New function.
15403         * sysdeps/aarch64/fpu/e_sqrtf.c (__ieee754_sqrtf):
15404         New function.
15406 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
15408         * sysdeps/ieee754/support.c: Remove unused file.
15410 2015-07-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
15412         * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Use q
15413         registers instead of d ones so the layout is kernel abi compatible.
15414         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Likewise.
15415         * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext):
15416         Likewise.
15418 2015-07-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
15420         * sysdeps/aarch64/libm-test-ulps: Regenerated.
15422 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
15424         [BZ #18619]
15425         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Force underflow
15426         and return argument in case of subnormal argument.
15428 2015-07-01  Martin Sebor  <msebor@redhat.com>
15430         [BZ #18435]
15431         * nptl/Makefile: Add tst-once5.cc.
15432         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
15433         Remove macro redefinitions.
15434         * nptl/tst-once5.cc: New test.
15436 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
15438         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
15440         * sysdeps/arm/libm-test-ulps: Regenerated.
15442         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
15443         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
15445 2015-06-30  Torvald Riegel  <triegel@redhat.com>
15447         * nptl/DESIGN-systemtap-probes.txt: Remove lll_lock_wait,
15448         lll_lock_wait_private and lll_futex_wake probes.
15450         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (BUSY_WAIT_NOP): Remove.
15451         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (BUSY_WAIT_NOP):
15452         Likewise.
15453         * sysdeps/i386/i486/bits/atomic.h (atomic_delay): Rename to
15454         atomic_spin_nop.
15455         * sysdeps/x86_64/bits/atomic.h: Likewise.
15456         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (BUSY_WAIT_NOP): Rename
15457         to atomic_spin_nop and move ...
15458         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
15459         ... here and ...
15460         * sysdeps/sparc/sparc64/bits/atomic.h: ... here.
15461         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
15462         atomic_spin_nop instead of BUSY_WAIT_NOP.
15463         * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock):
15464         Likewise.
15465         * sysdeps/nacl/lll_timedwait_tid.c (__lll_timedwait_tid): Likewise.
15466         * sysdeps/nacl/lowlevellock.h (BUSY_WAIT_NOP): Remove.
15467         (lll_wait_tid): Use atomic_spin_nop instead of BUSY_WAIT_NOP.
15468         * nscd/nscd-client.h (__nscd_acquire_maplock): Use atomic_spin_nop
15469         instead of atomic_delay.
15471 2015-06-29  Joseph Myers  <joseph@codesourcery.com>
15473         [BZ #18613]
15474         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Take log of
15475         X_ADJ not X when adjusting exponent.
15476         (__ieee754_gamma_r): Do intermediate computations in
15477         round-to-nearest then adjust overflowing and underflowing results
15478         as needed.
15479         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Take log
15480         of X_ADJ not X when adjusting exponent.
15481         (__ieee754_gammaf_r): Do intermediate computations in
15482         round-to-nearest then adjust overflowing and underflowing results
15483         as needed.
15484         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Take
15485         log of X_ADJ not X when adjusting exponent.
15486         (__ieee754_gammal_r): Do intermediate computations in
15487         round-to-nearest then adjust overflowing and underflowing results
15488         as needed.  Use 1.0L not 1.0f as numerator of division.
15489         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Take
15490         log of X_ADJ not X when adjusting exponent.
15491         (__ieee754_gammal_r): Do intermediate computations in
15492         round-to-nearest then adjust overflowing and underflowing results
15493         as needed.  Use 1.0L not 1.0f as numerator of division.
15494         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Take log
15495         of X_ADJ not X when adjusting exponent.
15496         (__ieee754_gammal_r): Do intermediate computations in
15497         round-to-nearest then adjust overflowing and underflowing results
15498         as needed.  Use 1.0L not 1.0f as numerator of division.
15499         * math/libm-test.inc (tgamma_test_data): Remove one test.  Moved
15500         to auto-libm-test-in.
15501         (tgamma_test): Use ALL_RM_TEST.
15502         * math/auto-libm-test-in: Add one test of tgamma.  Mark some other
15503         tests of tgamma with spurious-overflow.
15504         * math/auto-libm-test-out: Regenerated.
15505         * math/gen-libm-have-vector-test.sh: Do not check for START.
15506         * sysdeps/i386/fpu/libm-test-ulps: Update.
15507         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15509         [BZ #18612]
15510         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): For small
15511         arguments, just return 0.5 times the argument, with underflow
15512         forced as needed.
15513         * math/auto-libm-test-in: Add more tests of j1.
15514         * math/auto-libm-test-out: Regenerated.
15516         [BZ #16559]
15517         * sysdeps/ieee754/dbl-64/e_j1.c: Include <float.h>.
15518         (__ieee754_j1): Force underflow exception for small results.
15519         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
15520         * sysdeps/ieee754/flt-32/e_j1f.c: Include <float.h>.
15521         (__ieee754_j1f): Force underflow exception for small results.
15522         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
15523         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
15524         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
15525         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <float.h>.
15526         (__ieee754_j1l): Force underflow exception for small results.
15527         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
15528         * math/auto-libm-test-in: Add more tests of j1 and jn.
15529         * math/auto-libm-test-out: Regenerated.
15531         * sysdeps/unix/sysv/linux/bits/in.h (IP_CHECKSUM): New macro.
15532         * sysdeps/unix/sysv/linux/bits/socket.h (PF_IB): Likewise.
15533         (PF_MPLS): Likewise.
15534         (AF_IB): Likewise.
15535         (AF_MPLS): Likewise.
15536         * sysdeps/unix/sysv/linux/sys/mount.h (MS_LAZYTIME): New enum
15537         value and macro.
15538         (MS_RMT_MASK): Include MS_LAZYTIME.
15540 2015-06-26  Mel Gorman  <mgorman@suse.de>
15542         [BZ #18502]
15543         * malloc/arena.c (heap_trim): Don't try to shrink a heap that is
15544         already minimal.
15546 2015-06-26  Matthew Fortune  <matthew.fortune@imgtec.com>
15548         * elf/elf.h (DT_MIPS_RLD_MAP_REL): New macro.
15549         (DT_MIPS_NUM): Update.
15550         * sysdeps/mips/dl-machine.h (ELF_MACHINE_DEBUG_SETUP): Handle
15551         DT_MIPS_RLD_MAP_REL.
15553 2015-06-25  Joseph Myers  <joseph@codesourcery.com>
15555         [BZ #16559]
15556         [BZ #18602]
15557         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Set
15558         round-to-nearest internally then recompute results that
15559         underflowed to zero in the original rounding mode.
15560         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
15561         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
15562         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
15563         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
15564         * math/libm-test.inc (jn_test): Use ALL_RM_TEST.
15565         * sysdeps/i386/fpu/libm-test-ulps: Update.
15566         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15568 2015-06-25  Andrew Senkevich  <andrew.senkevich@intel.com>
15570         * NEWS: Fixed description of link with vector math library.
15572 2015-06-25  Andreas Schwab  <schwab@suse.de>
15574         [BZ #18549]
15575         * libio/fmemopen.c (fmemopen_write): Fix bounds check for ENOSPC.
15576         * libio/test-fmemopen.c (do_test): Add test for it.
15578 2015-06-25  H.J. Lu  <hongjiu.lu@intel.com>
15580         [BZ #17841]
15581         * Makeconfig (no-pie-ldflag): New.
15582         (+link): Set to $(+link-pie) if default to PIE.
15583         (+link-tests): Set to $(+link-pie-tests) if default to PIE.
15584         * config.make.in (build-pie-default): New.
15585         * configure.ac (libc_cv_pie_default): New.  Set to yes if -fPIE
15586         is default.  AC_SUBST.
15587         * configure: Regenerated.
15588         * elf/Makefile (LDFLAGS-tst-dlopen-aout): New.
15590 2015-06-24  Roland McGrath  <roland@hack.frob.com>
15592         * nptl/descr.h (struct pthread): Change type of field setxid_futex
15593         to 'unsigned int'.
15595         * resolv/gai_misc.h (struct waitlist): Change type of field
15596         counterp to 'volatile unsigned int *'.
15597         * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Use unsigned types for
15598         FUTEXADDR and OLDVAL.
15599         * resolv/getaddrinfo_a.c (getaddrinfo_a):
15600         Give local variable TOTAL type 'volatile unsigned int'.
15601         (struct async_waitlist): Change type of field counter to 'unsigned int'.
15602         * resolv/gai_suspend.c (gai_suspend):
15603         Give local variable CNTR type 'unsigned int'.
15605         * sysdeps/pthread/aio_misc.h (struct waitlist): Change type of field
15606         counterp to 'volatile unsigned int *'.
15607         * sysdeps/pthread/aio_suspend.c [DONT_NEED_AIO_MISC_COND]
15608         (do_aio_misc_wait): Give argument CNTR type 'unsigned int *'.
15609         (aio_suspend): Give local variable CNTR type 'unsigned int'.
15610         * sysdeps/pthread/lio_listio.c (lio_listio_internal):
15611         Give local variable TOTAL type 'volatile unsigned int'.
15612         (struct async_waitlist): Change type of field counter to 'unsigned int'.
15614 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
15616         [BZ #18383]
15617         * csu/libc-tls.c (__libc_setup_tls) [TLS_TCB_AT_TP]: Align
15618         TCB_OFFSET to MAX_ALIGN, not just TCBALIGN.  Add comment.
15619         * elf/Makefile (test-xfail-tst-tlsalign{,-static}): Remove
15620         comment for i386/x86-64.
15621         (test-xfail-tst-tlsalign-extern-static): Removed.
15623 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
15625         * math/test-double.h: New file.
15626         * math/test-float.h: Likewise.
15627         * math/test-ldouble.h: Likewise.
15628         * math/test-math-inline.h: Likewise.
15629         * math/test-math-no-inline.h: Likewise.
15630         * math/test-math-scalar.h: Likewise.
15631         * math/test-math-vector.h: Likewise.
15632         * math/test-vec-loop.h: Remove file.  Contents moved into
15633         test-math-vector.h.
15634         * math/libm-test.inc (MATHCONST): Do not document macro.
15635         * math/test-double.c: Include test-double.h, test-math-no-inline.h
15636         and test-math-scalar.h.
15637         (FUNC): Remove macro.
15638         (FUNC_TEST): Likewise.
15639         (FLOAT): Likewise.
15640         (MATHCONST): Likewise.
15641         (PRINTF_EXPR): Likewise.
15642         (PRINTF_XEXPR): Likewise.
15643         (PRINTF_NEXPR): Likewise.
15644         (TEST_DOUBLE): Likewise.
15645         (TEST_MATHVEC): Likewise.
15646         (__NO_MATH_INLINES): Likewise.
15647         * math/test-float.c: Include test-float.h, test-math-no-inline.h
15648         and test-math-scalar.h.
15649         (FUNC): Remove macro.
15650         (FUNC_TEST): Likewise.
15651         (FLOAT): Likewise.
15652         (MATHCONST): Likewise.
15653         (PRINTF_EXPR): Likewise.
15654         (PRINTF_XEXPR): Likewise.
15655         (PRINTF_NEXPR): Likewise.
15656         (TEST_FLOAT): Likewise.
15657         (TEST_MATHVEC): Likewise.
15658         (__NO_MATH_INLINES): Likewise.
15659         * math/test-idouble.c: Include test-double.h, test-math-inline.h
15660         and test-math-scalar.h.
15661         (FUNC): Remove macro.
15662         (FUNC_TEST): Likewise.
15663         (FLOAT): Likewise.
15664         (MATHCONST): Likewise.
15665         (PRINTF_EXPR): Likewise.
15666         (PRINTF_XEXPR): Likewise.
15667         (PRINTF_NEXPR): Likewise.
15668         (TEST_DOUBLE): Likewise.
15669         (TEST_MATHVEC): Likewise.
15670         (TEST_INLINE): Likewise.
15671         (__NO_MATH_INLINES): Likewise.
15672         * math/test-ifloat.c: Include test-float.h, test-math-inline.h and
15673         test-math-scalar.h.
15674         (FUNC): Remove macro.
15675         (FUNC_TEST): Likewise.
15676         (FLOAT): Likewise.
15677         (MATHCONST): Likewise.
15678         (PRINTF_EXPR): Likewise.
15679         (PRINTF_XEXPR): Likewise.
15680         (PRINTF_NEXPR): Likewise.
15681         (TEST_FLOAT): Likewise.
15682         (TEST_MATHVEC): Likewise.
15683         (TEST_INLINE): Likewise.
15684         (__NO_MATH_INLINES): Likewise.
15685         * math/test-ildoubl.c: Include test-ldouble.h, test-math-inline.h
15686         and test-math-scalar.h.
15687         (FUNC): Remove macro.
15688         (FUNC_TEST): Likewise.
15689         (FLOAT): Likewise.
15690         (MATHCONST): Likewise.
15691         (PRINTF_EXPR): Likewise.
15692         (PRINTF_XEXPR): Likewise.
15693         (PRINTF_NEXPR): Likewise.
15694         (TEST_LDOUBLE): Likewise.
15695         (TEST_MATHVEC): Likewise.
15696         (TEST_INLINE): Likewise.
15697         (__NO_MATH_INLINES): Likewise.
15698         * math/test-ldouble.c: Include test-ldouble.h,
15699         test-math-no-inline.h and test-math-scalar.h.
15700         (FUNC): Remove macro.
15701         (FUNC_TEST): Likewise.
15702         (FLOAT): Likewise.
15703         (MATHCONST): Likewise.
15704         (PRINTF_EXPR): Likewise.
15705         (PRINTF_XEXPR): Likewise.
15706         (PRINTF_NEXPR): Likewise.
15707         (TEST_LDOUBLE): Likewise.
15708         (TEST_MATHVEC): Likewise.
15709         (__NO_MATH_INLINES): Likewise.
15710         * math/test-double-vlen2.h: Include test-double.h,
15711         test-math-no-inline.h and test-math-vector.h.
15712         (FLOAT): Remove macro.
15713         (FUNC): Likewise.
15714         (MATHCONST): Likewise.
15715         (PRINTF_EXPR): Likewise.
15716         (PRINTF_XEXPR): Likewise.
15717         (PRINTF_NEXPR): Likewise.
15718         (TEST_DOUBLE): Likewise.
15719         (TEST_MATHVEC): Likewise.
15720         (__NO_MATH_INLINES): Likewise.
15721         (CNCT): Likewise.
15722         (CONCAT): Likewise.
15723         (WRAPPER_NAME): Likewise.
15724         (WRAPPER_DECL): Likewise.
15725         (WRAPPER_DECL_ff): Likewise.
15726         (WRAPPER_DECL_fFF): Likewise.
15727         (VECTOR_WRAPPER): Likewise.
15728         (VECTOR_WRAPPER_ff): Likewise.
15729         (VECTOR_WRAPPER_fFF): Likewise.
15730         (VEC_LEN): New macro.
15731         * math/test-double-vlen4.h: Include test-double.h,
15732         test-math-no-inline.h and test-math-vector.h.
15733         (FLOAT): Remove macro.
15734         (FUNC): Likewise.
15735         (MATHCONST): Likewise.
15736         (PRINTF_EXPR): Likewise.
15737         (PRINTF_XEXPR): Likewise.
15738         (PRINTF_NEXPR): Likewise.
15739         (TEST_DOUBLE): Likewise.
15740         (TEST_MATHVEC): Likewise.
15741         (__NO_MATH_INLINES): Likewise.
15742         (CNCT): Likewise.
15743         (CONCAT): Likewise.
15744         (WRAPPER_NAME): Likewise.
15745         (WRAPPER_DECL): Likewise.
15746         (WRAPPER_DECL_ff): Likewise.
15747         (WRAPPER_DECL_fFF): Likewise.
15748         (VECTOR_WRAPPER): Likewise.
15749         (VECTOR_WRAPPER_ff): Likewise.
15750         (VECTOR_WRAPPER_fFF): Likewise.
15751         (VEC_LEN): New macro.
15752         * math/test-double-vlen8.h: Include test-double.h,
15753         test-math-no-inline.h and test-math-vector.h.
15754         (FLOAT): Remove macro.
15755         (FUNC): Likewise.
15756         (MATHCONST): Likewise.
15757         (PRINTF_EXPR): Likewise.
15758         (PRINTF_XEXPR): Likewise.
15759         (PRINTF_NEXPR): Likewise.
15760         (TEST_DOUBLE): Likewise.
15761         (TEST_MATHVEC): Likewise.
15762         (__NO_MATH_INLINES): Likewise.
15763         (CNCT): Likewise.
15764         (CONCAT): Likewise.
15765         (WRAPPER_NAME): Likewise.
15766         (WRAPPER_DECL): Likewise.
15767         (WRAPPER_DECL_ff): Likewise.
15768         (WRAPPER_DECL_fFF): Likewise.
15769         (VECTOR_WRAPPER): Likewise.
15770         (VECTOR_WRAPPER_ff): Likewise.
15771         (VECTOR_WRAPPER_fFF): Likewise.
15772         (VEC_LEN): New macro.
15773         * math/test-float-vlen4.h: Include test-float.h,
15774         test-math-no-inline.h and test-math-vector.h.
15775         (FLOAT): Remove macro.
15776         (FUNC): Likewise.
15777         (MATHCONST): Likewise.
15778         (PRINTF_EXPR): Likewise.
15779         (PRINTF_XEXPR): Likewise.
15780         (PRINTF_NEXPR): Likewise.
15781         (TEST_FLOAT): Likewise.
15782         (TEST_MATHVEC): Likewise.
15783         (__NO_MATH_INLINES): Likewise.
15784         (CNCT): Likewise.
15785         (CONCAT): Likewise.
15786         (WRAPPER_NAME): Likewise.
15787         (WRAPPER_DECL): Likewise.
15788         (WRAPPER_DECL_ff): Likewise.
15789         (WRAPPER_DECL_fFF): Likewise.
15790         (VECTOR_WRAPPER): Likewise.
15791         (VECTOR_WRAPPER_ff): Likewise.
15792         (VECTOR_WRAPPER_fFF): Likewise.
15793         (VEC_LEN): New macro.
15794         * math/test-float-vlen8.h: Include test-float.h,
15795         test-math-no-inline.h and test-math-vector.h.
15796         (FLOAT): Remove macro.
15797         (FUNC): Likewise.
15798         (MATHCONST): Likewise.
15799         (PRINTF_EXPR): Likewise.
15800         (PRINTF_XEXPR): Likewise.
15801         (PRINTF_NEXPR): Likewise.
15802         (TEST_FLOAT): Likewise.
15803         (TEST_MATHVEC): Likewise.
15804         (__NO_MATH_INLINES): Likewise.
15805         (CNCT): Likewise.
15806         (CONCAT): Likewise.
15807         (WRAPPER_NAME): Likewise.
15808         (WRAPPER_DECL): Likewise.
15809         (WRAPPER_DECL_ff): Likewise.
15810         (WRAPPER_DECL_fFF): Likewise.
15811         (VECTOR_WRAPPER): Likewise.
15812         (VECTOR_WRAPPER_ff): Likewise.
15813         (VECTOR_WRAPPER_fFF): Likewise.
15814         (VEC_LEN): New macro.
15815         * math/test-float-vlen16.h: Include test-float.h,
15816         test-math-no-inline.h and test-math-vector.h.
15817         (FLOAT): Remove macro.
15818         (FUNC): Likewise.
15819         (MATHCONST): Likewise.
15820         (PRINTF_EXPR): Likewise.
15821         (PRINTF_XEXPR): Likewise.
15822         (PRINTF_NEXPR): Likewise.
15823         (TEST_FLOAT): Likewise.
15824         (TEST_MATHVEC): Likewise.
15825         (__NO_MATH_INLINES): Likewise.
15826         (CNCT): Likewise.
15827         (CONCAT): Likewise.
15828         (WRAPPER_NAME): Likewise.
15829         (WRAPPER_DECL): Likewise.
15830         (WRAPPER_DECL_ff): Likewise.
15831         (WRAPPER_DECL_fFF): Likewise.
15832         (VECTOR_WRAPPER): Likewise.
15833         (VECTOR_WRAPPER_ff): Likewise.
15834         (VECTOR_WRAPPER_fFF): Likewise.
15835         (VEC_LEN): New macro.
15836         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Do not include
15837         test-vec-loop.h.
15838         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
15839         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
15840         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
15841         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
15842         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
15843         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
15844         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
15846 2015-06-24  Roland McGrath  <roland@hack.frob.com>
15848         * sysdeps/nacl/glob.c (getlogin_r): Macro renamed to ...
15849         (__getlogin_r): ... this.
15851 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
15853         [BZ #18594]
15854         * math/s_ccosh.c (__ccosh): Compare with least normal value
15855         instead of comparing class with FP_SUBNORMAL.
15856         * math/s_ccoshf.c (__ccoshf): Likewise.
15857         * math/s_ccoshl.c (__ccoshl): Likewise.
15858         * math/s_cexp.c (__cexp): Likewise.
15859         * math/s_cexpf.c (__cexpf): Likewise.
15860         * math/s_cexpl.c (__cexpl): Likewise.
15861         * math/s_csin.c (__csin): Likewise.
15862         * math/s_csinf.c (__csinf): Likewise.
15863         * math/s_csinh.c (__csinh): Likewise.
15864         * math/s_csinhf.c (__csinhf): Likewise.
15865         * math/s_csinhl.c (__csinhl): Likewise.
15866         * math/s_csinl.c (__csinl): Likewise.
15867         * math/s_ctan.c (__ctan): Likewise.
15868         * math/s_ctanf.c (__ctanf): Likewise.
15869         * math/s_ctanh.c (__ctanh): Likewise.
15870         * math/s_ctanhf.c (__ctanhf): Likewise.
15871         * math/s_ctanhl.c (__ctanhl): Likewise.
15872         * math/s_ctanl.c (__ctanl): Likewise.
15873         * math/auto-libm-test-in: Add more tests of ccos, ccosh, cexp,
15874         csin, csinh, ctan and ctanh.
15875         * math/auto-libm-test-out: Regenerated.
15876         * math/libm-test.inc (cexp_test): Use ALL_RM_TEST.
15877         * sysdeps/i386/fpu/libm-test-ulps: Update.
15878         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15880 2015-06-24  Roland McGrath  <roland@hack.frob.com>
15882         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): When sched_getcpu
15883         return value is wrong, print the expected value too.
15885 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
15887         [BZ #18585]
15888         * elf/readlib.c (is_gdb_python_file): New.
15889         (process_file): Don't issue errors on filenames with -gdb.py
15890         suffix.
15892 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
15894         * math/auto-libm-test-in: Add more tests of csin and csinh.
15895         * math/auto-libm-test-out: Regenerated.
15896         * math/libm-test.inc (csin_test_data): Remove tests moved to
15897         auto-libm-test-in.
15898         (csinh_test_data): Likewise.
15900         [BZ #18593]
15901         * math/s_csin.c (__csin): Negate before rather than after possibly
15902         overflowing multiplication.
15903         * math/s_csinf.c (__csinf): Likewise.
15904         * math/s_csinh.c (__csinh): Likewise.
15905         * math/s_csinhf.c (__csinhf): Likewise.
15906         * math/s_csinhl.c (__csinhl): Likewise.
15907         * math/s_csinl.c (__csinl): Likewise.
15908         * math/auto-libm-test-in: Add some tests of csin and csinh.
15909         * math/auto-libm-test-out: Regenerated.
15910         * math/libm-test.inc (csin_test_data): Use AUTO_TESTS_c_c.
15911         (csinh_test_data): Likewise.
15912         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15914         [BZ #18586]
15915         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Force
15916         underflow exception for small results.
15918 2015-06-24  Andrew Senkevich  <andrew.senkevich@intel.com>
15920         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
15921         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: Renamed
15922         variable and included header.
15923         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: Likewise.
15924         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: Likewise.
15925         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: Likewise.
15926         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: Likewise.
15927         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: Likewise.
15928         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
15929         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
15930         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S: Likewise.
15931         * sysdeps/x86_64/fpu/svml_s_trig_data.S: New file.
15932         * sysdeps/x86_64/fpu/svml_s_trig_data.h: Likewise.
15933         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: Removed file.
15934         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: Likewise.
15935         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: Likewise.
15936         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: Likewise.
15937         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: Likewise.
15938         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: Likewise.
15940 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
15942         [BZ #16526]
15943         [BZ #16538]
15944         * sysdeps/ieee754/dbl-64/s_sin.c: Include <float.h>.
15945         (__sin): Force underflow exception for arguments with small
15946         absolute value.
15947         * sysdeps/ieee754/flt-32/k_sinf.c: Include <float.h>.
15948         (__kernel_sinf): Force underflow exception for arguments with
15949         small absolute value.
15950         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Include <float.h>.
15951         (__kernel_sincosl): Force underflow exception for arguments with
15952         small absolute value.
15953         * sysdeps/ieee754/ldbl-128/k_sinl.c: Include <float.h>.
15954         (__kernel_sinl): Force underflow exception for arguments with
15955         small absolute value.
15956         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Include <float.h>.
15957         (__kernel_sincosl): Force underflow exception for arguments with
15958         small absolute value.
15959         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Include <float.h>.
15960         (__kernel_sinl): Force underflow exception for arguments with
15961         small absolute value.
15962         * sysdeps/ieee754/ldbl-96/k_sinl.c: Include <float.h>.
15963         (__kernel_sinl): Force underflow exception for arguments with
15964         small absolute value.
15965         * sysdeps/powerpc/fpu/k_sinf.c: Include <float.h>.
15966         (__kernel_sinf): Force underflow exception for arguments with
15967         small absolute value.
15968         * math/auto-libm-test-in: Add more tests of sin and sincos.
15969         * math/auto-libm-test-out: Regenerated.
15971         [BZ #18245]
15972         [BZ #18583]
15973         * sysdeps/ieee754/k_standardl.c: Include <fenv.h>.
15974         (__kernel_standard_l): Use feholdexcept and fesetenv around
15975         conversion to double instead of special-casing overflow and
15976         underflow.
15977         * math/libm-test.inc (fmod_test_data): Add more tests.
15978         (remainder_test_data): Likewise.
15979         (sqrt_test_data): Likewise.
15981 2015-06-23  Torvald Riegel  <triegel@redhat.com>
15983         [BZ #17403]
15984         * sysdeps/x86_64/bits/atomic.h: (atomic_full_barrier,
15985         atomic_read_barrier, atomic_write_barrier): Define.
15986         * sysdeps/i386/i486/bits/atomic.h (atomic_full_barrier,
15987         atomic_read_barrier, atomic_write_barrier): Define.
15989 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
15991         * math/Makefile [$(PERL) != no]
15992         ($(addprefix $(objpfx), $(addsuffix .o, $(libm-vec-tests)))): Move
15993         dependency on libm-test.stmp below the inclusion of Rules.
15995 2015-06-23  Andrew Senkevich  <andrew.senkevich@intel.com>
15997         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
15998         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: Renamed variable
15999         and included header.
16000         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: Likewise.
16001         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Likewise.
16002         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: Likewise.
16003         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: Likewise.
16004         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: Likewise.
16005         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Likewise.
16006         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
16007         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
16008         * sysdeps/x86_64/fpu/svml_d_trig_data.S: New file.
16009         * sysdeps/x86_64/fpu/svml_d_trig_data.h: Likewise.
16010         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: Removed unneeded include.
16011         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: Likewise.
16012         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: Likewise.
16013         * sysdeps/x86_64/fpu/svml_d_cos_data.S: Removed file.
16014         * sysdeps/x86_64/fpu/svml_d_cos_data.h: Likewise.
16015         * sysdeps/x86_64/fpu/svml_d_sin_data.S: Likewise.
16016         * sysdeps/x86_64/fpu/svml_d_sin_data.h: Likewise.
16017         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: Likewise.
16018         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: Likewise.
16020 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
16022         [BZ #18371]
16023         * math/s_csqrt.c (__csqrt): Avoid multiplication by 0.5 where
16024         intermediate but not final result might underflow.
16025         * math/s_csqrtf.c (__csqrtf): Likewise.
16026         * math/s_csqrtl.c (__csqrtl): Likewise.
16027         * math/auto-libm-test-in: Add more tests of csqrt.
16028         * math/auto-libm-test-out: Regenerated.
16029         * sysdeps/i386/fpu/libm-test-ulps: Update.
16031         [BZ #18219]
16032         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Reduce
16033         threshold on absolute value of exponent for which scaling is used.
16034         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
16035         * math/auto-libm-test-in: Add more tests of exp2.
16036         * math/auto-libm-test-out: Regenerated.
16038 2015-06-23  Dmitry V. Levin  <ldv@altlinux.org>
16040         [BZ #17977]
16041         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix unlocking
16042         when initializing interface list, based on the bug analysis
16043         and the patch proposed by Eric Newton.
16044         * resolv/tst-res_hconf_reorder.c: New test.
16045         * resolv/Makefile [$(have-thread-library) = yes] (tests): Add
16046         tst-res_hconf_reorder.
16047         ($(objpfx)tst-res_hconf_reorder): Depend on $(libdl)
16048         and $(shared-thread-library).
16049         (tst-res_hconf_reorder-ENV): New variable.
16051         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix typo
16052         in comment.
16054 2015-06-22  Joseph Myers  <joseph@codesourcery.com>
16056         [BZ #16353]
16057         * sysdeps/i386/fpu/s_expm1.S (dbl_min): New object.
16058         (__expm1): Force underflow exception for arguments with small
16059         absolute value.
16060         * sysdeps/i386/fpu/s_expm1f.S (flt_min): New object.
16061         (__expm1f): Force underflow exception for arguments with small
16062         absolute value.
16063         * sysdeps/ieee754/dbl-64/s_expm1.c: Include <float.h>.
16064         (__expm1): Force underflow exception for arguments with small
16065         absolute value.
16066         * sysdeps/ieee754/flt-32/s_expm1f.c: Include <float.h>.
16067         (__expm1f): Force underflow exception for arguments with small
16068         absolute value.
16069         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
16070         Check for small arguments before calling __expm1.
16071         * math/auto-libm-test-in: Do not mark underflow exceptions as
16072         possibly missing for bug 16353.
16073         * math/auto-libm-test-out: Regenerated.
16075 2015-06-22  Andreas Schwab  <schwab@suse.de>
16077         [BZ #18513]
16078         * resolv/nss_dns/dns-host.c (getanswer_r): Record TTL also for
16079         PTR queries.
16081 2015-06-22  Leonhard Holz  <leonhard.holz@web.de>
16083         * string/strcoll_l.c (STRCOLL): Remove unnecessary memset.
16085         * string/strcoll_l.c: Remove unused struct element idxnow.
16087 2015-06-21  Joseph Myers  <joseph@codesourcery.com>
16089         [BZ #18569]
16090         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Force
16091         underflow and return argument in case of subnormal argument.
16092         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
16093         Likewise.
16094         * math/auto-libm-test-in: Add more tests of expm1.
16095         * math/auto-libm-test-out: Regenerated.
16097         [BZ #16361]
16098         * sysdeps/i386/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
16099         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
16100         tiny results.
16101         * sysdeps/x86_64/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
16102         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
16103         tiny results.
16104         * math/auto-libm-test-in: Add more tests of exp and exp10.  Do not
16105         mark underflow exceptions as possibly missing for bug 16361.
16106         * math/auto-libm-test-out: Regenerated.
16108 2015-06-19  Joseph Myers  <joseph@codesourcery.com>
16110         * conform/data/sys/select.h-data [XOPEN2K8] (pselect): Expect.
16111         * conform/Makefile (test-xfail-XOPEN2K8/sys/select.h/conform):
16112         Remove variable.
16113         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
16114         (test-xfail-XOPEN2K8/utmpx.h/conform).
16116         * conform/conformtest.pl ($xerrors): New variable.
16117         (note_error): New function.
16118         (compiletest): New argument $xfail.  Use not_error.
16119         (runtest): Likewise.
16120         (top level): Handle xfail- lines.  Update calls to compiletest and
16121         runtest.  Handle xfail- and optional- in headers listed with
16122         allow-header.
16123         * conform/data/fcntl.h-data (O_TTY_INIT): Use xfail-.
16124         (O_EXEC): Likewise.
16125         (O_SEARCH): Likewise.
16126         * conform/data/stropts.h-data (ioctl): Likewise.
16127         * conform/data/sys/ipc.h-data (ipc_perm.mode): Likewise.
16128         * conform/data/sys/sem.h-data (semid_ds.sem_nsems): Likewise.
16129         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Likewise.
16130         (msghdr.msg_controllen): Likewise.
16131         (cmsghdr.cmsg_len): Likewise.
16132         * conform/data/utmpx.h-data (utmpx.ut_tv): Likewise.
16133         * conform/Makefile (test-xfail-XPG3/sys/ipc.h/conform): Remove
16134         variable.
16135         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
16136         (test-xfail-XPG4/stropts.h/conform): Likewise.
16137         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
16138         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
16139         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
16140         (test-xfail-UNIX98/stropts.h/conform): Likewise.
16141         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
16142         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
16143         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
16144         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
16145         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
16146         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
16147         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
16148         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
16149         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
16150         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
16151         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
16152         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
16153         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
16154         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
16155         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
16157 2015-06-19  Andrew Senkevich  <andrew.senkevich@intel.com>
16159         * sysdeps/ieee754/ldbl-opt/s_sin.c (__DECL_SIMD_sincos_disable,
16160         __DECL_SIMD_sincos_disablef, __DECL_SIMD_sincos_disablel): Added empty
16161         definitions for proper unfolding of __MATHDECL_VEC.
16163 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
16165         * benchtests/bench-strcoll.c:
16166         Include string.h.
16167         (main): Remove unused variable res.
16169 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
16171         * timezone/Makefile (%/UTC %/Universal):
16172         Generate test-result files for UTC and Universal.
16174 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
16176         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
16178 2015-06-18  Joseph Myers  <joseph@codesourcery.com>
16180         [BZ #16350]
16181         * sysdeps/i386/fpu/s_asinh.S (__asinh): Force underflow exception
16182         for arguments with small absolute value.
16183         * sysdeps/i386/fpu/s_asinhf.S (__asinhf): Likewise.
16184         * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Likewise.
16185         * sysdeps/ieee754/dbl-64/s_asinh.c: Include <float.h>.
16186         (__asinh): Force underflow exception for arguments with small
16187         absolute value.
16188         * sysdeps/ieee754/flt-32/s_asinhf.c: Include <float.h>.
16189         (__asinhf): Force underflow exception for arguments with small
16190         absolute value.
16191         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include <float.h>.
16192         (__asinhl): Force underflow exception for arguments with small
16193         absolute value.
16194         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Include <float.h>.
16195         (__asinhl): Force underflow exception for arguments with small
16196         absolute value.
16197         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include <float.h>.
16198         (__asinhl): Force underflow exception for arguments with small
16199         absolute value.
16200         * math/auto-libm-test-in: Do not mark underflow exceptions as
16201         possibly missing for bug 16350.
16202         * math/auto-libm-test-out: Regenerated.
16204         * include/bits/ipc.h: Remove file.
16205         * conform/Makefile (test-xfail-XPG3/sys/msg.h/conform): Remove
16206         variable.
16207         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
16208         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
16209         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
16210         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
16211         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
16212         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
16213         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
16214         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
16215         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
16217         * math/auto-libm-test-in: Remove spurious underflow allowance for
16218         tests of cexp.
16219         * math/auto-libm-test-out: Regenerated.
16221         [BZ #18558]
16222         * sysdeps/unix/sysv/linux/bits/in.h (MCAST_JOIN_GROUP): Remove
16223         unconditional definition.
16224         (MCAST_BLOCK_SOURCE): Likewise.
16225         (MCAST_UNBLOCK_SOURCE): Likewise.
16226         (MCAST_LEAVE_GROUP): Likewise.
16227         (MCAST_JOIN_SOURCE_GROUP): Likewise.
16228         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
16229         (MCAST_MSFILTER): Likewise.
16230         * conform/Makefile (test-xfail-XOPEN2K/arpa/inet.h/conform):
16231         Remove variable.
16232         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
16233         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
16234         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
16235         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
16236         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
16238 2015-06-18  Andrew Senkevich  <andrew.senkevich@intel.com>
16240         * NEWS: Mention addition of x86_64 vector sincosf.
16241         * math/test-float-vlen16.h: Added wrapper for sincosf tests.
16242         * math/test-float-vlen4.h: Likewise.
16243         * math/test-float-vlen8.h: Likewise.
16244         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
16245         * sysdeps/x86/fpu/bits/math-vector.h: Added sincosf SIMD declaration.
16246         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
16247         * sysdeps/x86_64/fpu/Versions: New versions added.
16248         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
16249         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
16250         Added build of SSE, AVX2 and AVX512 IFUNC versions.
16251         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S
16252         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
16253         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S
16254         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
16255         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S
16256         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
16257         * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S
16258         * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S
16259         * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S
16260         * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S
16261         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: New file.
16262         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: New file.
16263         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 3 argument wrappers.
16264         * sysdeps/x86_64/fpu/test-float-vlen16.c: : Vector sincosf tests.
16265         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
16266         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
16267         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
16268         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
16269         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
16270         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
16271         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
16273         * NEWS: Mention addition of x86_64 vector sincos.
16274         * bits/libm-simd-decl-stubs.h: Added stubs for sincos.
16275         * math/math.h (__MATHDECL_VEC): New macro.
16276         * math/bits/mathcalls.h: Added sincos declaration with __MATHDECL_VEC.
16277         * math/gen-libm-have-vector-test.sh: Added generation of sincos wrapper
16278         declaration under condition.
16279         * math/test-vec-loop.h (TEST_VEC_LOOP): Refactored.
16280         * math/test-double-vlen2.h: Added wrapper for sincos tests, reflected
16281         TEST_VEC_LOOP change.
16282         * math/test-double-vlen4.h: Likewise.
16283         * math/test-double-vlen8.h: Likewise.
16284         * math/test-float-vlen16.h: Reflected TEST_VEC_LOOP change.
16285         * math/test-float-vlen4.h: Likewise.
16286         * math/test-float-vlen8.h: Likewise.
16287         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
16288         * sysdeps/x86/fpu/bits/math-vector.h: Added sincos SIMD declaration.
16289         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
16290         * sysdeps/x86_64/fpu/Versions: New versions added.
16291         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
16292         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
16293         Added build of SSE, AVX2 and AVX512 IFUNC versions.
16294         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: New file.
16295         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: New file.
16296         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: New file.
16297         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: New file.
16298         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: New file.
16299         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: New file.
16300         * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: New file.
16301         * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: New file.
16302         * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: New file.
16303         * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: New file.
16304         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: New file.
16305         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: New file.
16306         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added wrappers for sincos.
16307         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Vector sincos tests.
16308         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
16309         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
16310         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
16311         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
16312         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
16313         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
16314         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
16316         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
16317         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
16318         redirections for powf.
16319         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
16320         * sysdeps/x86_64/fpu/Versions: New versions added.
16321         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
16322         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
16323         Added build of SSE, AVX2 and AVX512 IFUNC versions.
16324         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 2 argument wrappers.
16325         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: New file.
16326         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: New file.
16327         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: New file.
16328         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: New file.
16329         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: New file.
16330         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: New file.
16331         * sysdeps/x86_64/fpu/svml_s_powf16_core.S: New file.
16332         * sysdeps/x86_64/fpu/svml_s_powf4_core.S: New file.
16333         * sysdeps/x86_64/fpu/svml_s_powf8_core.S: New file.
16334         * sysdeps/x86_64/fpu/svml_s_powf8_core_avx.S: New file.
16335         * sysdeps/x86_64/fpu/svml_s_powf_data.S: New file.
16336         * sysdeps/x86_64/fpu/svml_s_powf_data.h: New file.
16337         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector powf tests.
16338         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
16339         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
16340         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
16341         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
16342         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
16343         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
16344         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
16345         * math/test-float-vlen16.h: Fixed 2 argument macro.
16346         * math/test-float-vlen4.h: Likewise.
16347         * math/test-float-vlen8.h: Likewise.
16348         * NEWS: Mention addition of x86_64 vector powf.
16350 2015-06-17  Joseph Myers  <joseph@codesourcery.com>
16352         * math/s_ctanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
16353         and redefine.
16354         * math/s_ctanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
16355         and redefine.
16356         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c: Remove file.
16357         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
16358         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
16360         [BZ #18553]
16361         * resource/getpriority.c (getpriority): Rename to __getpriority
16362         and define as weak alias of __getpriority.
16363         * resource/setpriority.c (setpriority): Rename to __setpriority
16364         and define as weak alias of __setpriority.
16365         * sysdeps/mach/hurd/getpriority.c (getpriority): Rename to
16366         __getpriority and define as weak alias of __getpriority.
16367         * sysdeps/mach/hurd/setpriority.c (setpriority): Rename to
16368         __setpriority and define as weak alias of __setpriority.
16369         * sysdeps/unix/syscalls.list (getpriority): Use __getpriority as
16370         strong name.
16371         (setpriority): Use __setpriority as strong name.
16372         * sysdeps/unix/sysv/linux/getpriority.c (getpriority): Rename to
16373         __getpriority and define as weak alias of __getpriority.
16374         * include/sys/resource.h (__getpriority): Declare.  Use
16375         libc_hidden_proto.
16376         (__setpriority): Likewise.
16377         (getpriority): Don't use libc_hidden_proto.
16378         (setpriority): Likewise.
16379         * sysdeps/posix/nice.c (nice): Call __getpriority instead of
16380         getpriority.  Call __setpriority instead of setpriority.
16381         * conform/Makefile (test-xfail-XPG3/unistd.h/linknamespace):
16382         Remove variable.
16384         [BZ #18547]
16385         * misc/getttyent.c (getttynam): Rename to __getttynam and define
16386         as weak alias of __getttynam.  Use prototype function definition.
16387         Call __setttyent, __getttyent and __endttyent instead of
16388         setttyent, getttyent and endttyent.
16389         (getttyent): Rename to __getttyent and define as weak alias of
16390         __getttyent.  Call __setttyent instead of setttyent.  Call
16391         __fgets_unlocked instead of fgets_unlocked.
16392         (setttyent): Rename to __setttyent and define as weak alias of
16393         __setttyent.
16394         (endttyent): Rename to __endttyent and define as weak alias of
16395         __endttyent.
16396         * include/ttyent.h (__getttyent): Declare.  Use libc_hidden_proto.
16397         (__setttyent): Likewise.
16398         (__endttyent): Likewise.
16399         (getttyent): Don't use libc_hidden_proto.
16400         (setttyent): Likewise.
16401         (endttyent): Likewise.
16402         * misc/ttyslot.c (ttyslot): Call __setttyent, __getttyent and
16403         __endttyent instead of setttyent, getttyent and endttyent.
16404         * conform/Makefile (test-xfail-XPG4/unistd.h/linknamespace):
16405         Remove variable.
16407         [BZ #18546]
16408         * socket/recv.c (__recv): Use libc_hidden_def.
16409         * socket/socket.c (__socket): Likewise.
16410         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
16411         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
16412         * sysdeps/unix/sysv/linux/generic/recv.c (__recv): Likewise.
16413         * sysdeps/unix/sysv/linux/recv.c (__recv): Use libc_hidden_weak.
16414         * sysdeps/unix/sysv/linux/socket.c (__socket): Use
16415         libc_hidden_def.
16416         * sysdeps/unix/sysv/linux/x86_64/recv.c (__recv): Use
16417         libc_hidden_weak.
16418         * include/sys/socket.h (__socket): Do not use attribute_hidden.
16419         Use libc_hidden_proto.
16420         (__recv): Likewise.
16421         * socket/Versions (libc): Export __recv and __socket at version
16422         GLIBC_PRIVATE.
16423         * sysdeps/unix/sysv/linux/mq_notify.c (helper_thread): Call __recv
16424         instead of recv.
16425         (init_mq_netlink): Call __socket instead of socket.
16426         * conform/Makefile (test-xfail-POSIX/mqueue.h/linknamespace):
16427         Remove variable.
16429         [BZ #18545]
16430         * rt/mq_timedreceive.c (mq_timedreceive): Rename to
16431         __mq_timedreceive and define as alias of __mq_timedreceive.  Use
16432         hidden_weak.
16433         * rt/mq_timedsend.c (mq_timedsend): Rename to __mq_timedsend and
16434         define as alias of __mq_timedsend.  Use hidden_weak.
16435         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Use
16436         __mq_timedsend as strong name.
16437         (mq_timedreceive): Use __mq_timedreceive as strong name.
16438         * include/mqueue.h (__mq_timedsend): Declare.  Use hidden_proto.
16439         (__mq_timedreceive): Likewise.
16440         * sysdeps/unix/sysv/linux/mq_receive.c (mq_receive): Call
16441         __mq_timedreceive instead of mq_timedreceive.
16442         * sysdeps/unix/sysv/linux/mq_send.c (mq_send): Call __mq_timedsend
16443         instead of mq_timedsend.
16444         * conform/Makefile (test-xfail-UNIX98/mqueue.h/linknamespace):
16445         Remove variable.
16447         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use
16448         hidden_def and hidden_weak instead of libc_hidden_def and
16449         libc_hidden_weak.
16450         (top level): Refer to hidden_def in comment.
16451         * sysdeps/unix/syscall-template.S (syscall_hidden_def): New
16452         macro.  Use it instead of libc_hidden_def.
16453         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Do not
16454         specify __GI_* name explicitly.
16455         (mq_timedreceive): Likewise.
16456         (mq_setattr): Likewise.
16458         [BZ #18544]
16459         * nptl/pthread_barrier_init.c (pthread_barrier_init): Rename to
16460         __pthread_barrier_init and define as weak alias of
16461         __pthread_barrier_init.
16462         * sysdeps/sparc/nptl/pthread_barrier_init.c
16463         (pthread_barrier_init): Likewise.
16464         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Rename to
16465         __pthread_barrier_wait and define as weak alias of
16466         __pthread_barrier_wait.
16467         * sysdeps/sparc/nptl/pthread_barrier_wait.c
16468         (pthread_barrier_wait): Likewise.
16469         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
16470         (pthread_barrier_wait): Likewise.
16471         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S
16472         (pthread_barrier_wait): Likewise.
16473         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S
16474         (pthread_barrier_wait): Likewise.
16475         * nptl/Versions (libpthread): Export __pthread_barrier_init and
16476         __pthread_barrier_wait at version GLIBC_PRIVATE.
16477         * include/pthread.h (__pthread_barrier_init): Declare.
16478         (__pthread_barrier_wait): Likewise.
16479         * sysdeps/unix/sysv/linux/mq_notify.c (notification_function):
16480         Call __pthread_barrier_wait instead of pthread_barrier_wait.
16481         (helper_thread): Likewise.
16482         (init_mq_netlink): Call __pthread_barrier_init instead of
16483         pthread_barrier_init.
16485         [BZ #18542]
16486         * libio/iovswscanf.c (__vswscanf): Use libc_hidden_def.
16487         (vswscanf): Use ldbl_weak_alias instead of ldbl_strong_alias
16488         * include/wchar.h (__vswscanf): Declare.  Use libc_hidden_proto.
16489         * libio/swscanf.c (__swscanf): Call __vswscanf instead of
16490         vswscanf.
16491         * conform/Makefile (test-xfail-UNIX98/wchar.h/linknamespace):
16492         Remove variable.
16494         [BZ #18540]
16495         * libio/iofflush.c [!_IO_MTSAFE_IO] (__fflush_unlocked): Define as
16496         strong alias of _IO_fflush.  Use libc_hidden_def.
16497         * libio/iofflush_u.c (fflush_unlocked): Rename to
16498         __fflush_unlocked and define as weak alias of __fflush_unlocked.
16499         Use libc_hidden_weak.
16500         * include/stdio.h (__fflush_unlocked): Declare.  Use
16501         libc_hidden_proto.
16502         * misc/getpass.c (getpass): Call __fflush_unlocked instead of
16503         fflush_unlocked.
16504         * conform/Makefile (test-xfail-UNIX98/unistd.h/linknamespace):
16505         Remove variable.
16507         [BZ #18539]
16508         * stdlib/fmtmsg.c (addseverity): Rename to __addseverity and
16509         define as weak alias of __addseverity.
16510         * conform/Makefile (test-xfail-XPG4/fmtmsg.h/linknamespace):
16511         Remove variable.
16512         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
16513         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
16514         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
16516         [BZ #18536]
16517         * misc/tsearch.c (__tsearch): Use libc_hidden_def.
16518         (__tfind): Likewise.
16519         (__tdelete): Likewise.
16520         (__twalk): Likewise.
16521         * misc/Versions (libc): Add __tdelete, __tfind, __tsearch and
16522         __twalk to GLIBC_PRIVATE.
16523         * include/search.h (__tsearch): Use libc_hidden_proto.
16524         (__tfind): Likewise.
16525         (__tdelete): Likewise.
16526         (__twalk): Likewise.
16527         * nptl/sem_close.c (sem_close): Call __twalk instead of twalk.
16528         Call __tdelete instead of tdelete.
16529         * nptl/sem_open.c (check_add_mapping): Call __tfind instead of
16530         tfind.  Call __tsearch instead of tsearch.
16531         * sysdeps/sparc/sparc32/sem_open.c (check_add_mapping): Likewise.
16532         * conform/Makefile (test-xfail-POSIX/semaphore.h/linknamespace):
16533         Remove variable.
16534         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
16536         [BZ #18534]
16537         * stdio-common/dprintf.c (__dprintf): Use libc_hidden_def.
16538         (dprintf): Define as a weak alias of __dprintf, not a strong
16539         alias.
16540         * include/stdio.h (__dprintf): Declare.  Use libc_hidden_proto.
16541         * misc/syslog.c (__vsyslog_chk): Call __dprintf instead of
16542         dprintf.
16543         * conform/Makefile (test-xfail-XPG4/syslog.h/linknamespace):
16544         Remove variable.
16545         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
16546         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
16548         [BZ #18533]
16549         * misc/syslog.c (vsyslog): Define as a weak alias of __vsyslog,
16550         not a strong alias.
16551         * conform/Makefile (test-xfail-XOPEN2K8/syslog.h/linknamespace):
16552         Remove variable.
16554         [BZ #18532]
16555         * inet/in6_addr.c (in6addr_any): Rename to __in6addr_any and
16556         define as weak alias of __in6addr_any.  Use libc_hidden_data_weak.
16557         (in6addr_loopback): Rename to __in6addr_loopback and define as
16558         weak alias of __in6addr_loopback.  Use libc_hidden_data_weak.
16559         * include/netinet/in.h (__in6addr_loopback): Declare.  Use
16560         libc_hidden_proto.
16561         (__in6addr_any): Likewise.
16562         * inet/gethstbyad_r.c (PREPROCESS): Use __in6addr_any instead of
16563         in6addr_any.
16564         * conform/Makefile (test-xfail-XPG4/netdb.h/linknamespace): Remove
16565         variable.
16566         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
16568 2015-06-17  Andrew Senkevich  <andrew.senkevich@intel.com>
16570         * bits/libm-simd-decl-stubs.h: Added stubs for pow.
16571         * math/bits/mathcalls.h: Added pow declaration with __MATHCALL_VEC.
16572         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
16573         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
16574         redirections for pow.
16575         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
16576         * sysdeps/x86_64/fpu/Versions: New versions added.
16577         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
16578         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
16579         build of SSE, AVX2 and AVX512 IFUNC versions.
16580         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added 2 argument wrappers.
16581         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: New file.
16582         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: New file.
16583         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: New file.
16584         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: New file.
16585         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: New file.
16586         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: New file.
16587         * sysdeps/x86_64/fpu/svml_d_pow2_core.S: New file.
16588         * sysdeps/x86_64/fpu/svml_d_pow4_core.S: New file.
16589         * sysdeps/x86_64/fpu/svml_d_pow4_core_avx.S: New file.
16590         * sysdeps/x86_64/fpu/svml_d_pow8_core.S: New file.
16591         * sysdeps/x86_64/fpu/svml_d_pow_data.S: New file.
16592         * sysdeps/x86_64/fpu/svml_d_pow_data.h: New file.
16593         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector pow test.
16594         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
16595         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
16596         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
16597         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
16598         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
16599         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
16600         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
16601         * NEWS: Mention addition of x86_64 vector pow.
16603         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
16604         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
16605         redirections for expf.
16606         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
16607         * sysdeps/x86_64/fpu/Versions: New versions added.
16608         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
16609         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
16610         build of SSE, AVX2 and AVX512 IFUNC versions.
16611         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: New file.
16612         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: New file.
16613         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: New file.
16614         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: New file.
16615         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: New file.
16616         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: New file.
16617         * sysdeps/x86_64/fpu/svml_s_expf16_core.S: New file.
16618         * sysdeps/x86_64/fpu/svml_s_expf4_core.S: New file.
16619         * sysdeps/x86_64/fpu/svml_s_expf8_core.S: New file.
16620         * sysdeps/x86_64/fpu/svml_s_expf8_core_avx.S: New file.
16621         * sysdeps/x86_64/fpu/svml_s_expf_data.S: New file.
16622         * sysdeps/x86_64/fpu/svml_s_expf_data.h: New file.
16623         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector expf tests.
16624         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
16625         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
16626         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
16627         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
16628         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
16629         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
16630         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
16631         * NEWS: Mention addition of x86_64 vector expf.
16633         * bits/libm-simd-decl-stubs.h: Added stubs for exp.
16634         * math/bits/mathcalls.h: Added exp declaration with __MATHCALL_VEC.
16635         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
16636         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
16637         redirections for exp.
16638         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
16639         * sysdeps/x86_64/fpu/Versions: New versions added.
16640         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
16641         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
16642         build of SSE, AVX2 and AVX512 IFUNC versions.
16643         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: New file.
16644         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: New file.
16645         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: New file.
16646         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: New file.
16647         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: New file.
16648         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: New file.
16649         * sysdeps/x86_64/fpu/svml_d_exp2_core.S: New file.
16650         * sysdeps/x86_64/fpu/svml_d_exp4_core.S: New file.
16651         * sysdeps/x86_64/fpu/svml_d_exp4_core_avx.S: New file.
16652         * sysdeps/x86_64/fpu/svml_d_exp8_core.S: New file.
16653         * sysdeps/x86_64/fpu/svml_d_exp_data.S: New file.
16654         * sysdeps/x86_64/fpu/svml_d_exp_data.h: New file.
16655         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector exp test.
16656         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
16657         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
16658         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
16659         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
16660         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
16661         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
16662         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
16663         * NEWS: Mention addition of x86_64 vector exp.
16665         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
16666         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
16667         redirections for logf.
16668         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
16669         * sysdeps/x86_64/fpu/Versions: New versions added.
16670         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
16671         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
16672         build of SSE, AVX2 and AVX512 IFUNC versions.
16673         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: New file.
16674         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: New file.
16675         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: New file.
16676         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: New file.
16677         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: New file.
16678         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: New file.
16679         * sysdeps/x86_64/fpu/svml_s_logf16_core.S: New file.
16680         * sysdeps/x86_64/fpu/svml_s_logf4_core.S: New file.
16681         * sysdeps/x86_64/fpu/svml_s_logf8_core.S: New file.
16682         * sysdeps/x86_64/fpu/svml_s_logf8_core_avx.S: New file.
16683         * sysdeps/x86_64/fpu/svml_s_logf_data.S: New file.
16684         * sysdeps/x86_64/fpu/svml_s_logf_data.h: New file.
16685         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector logf tests.
16686         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
16687         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
16688         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
16689         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
16690         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
16691         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
16692         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
16693         * NEWS: Mention addition of x86_64 vector logf.
16695         * bits/libm-simd-decl-stubs.h: Added stubs for log.
16696         * math/bits/mathcalls.h: Added log declaration with __MATHCALL_VEC.
16697         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
16698         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
16699         redirections for log.
16700         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
16701         * sysdeps/x86_64/fpu/Versions: New versions added.
16702         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
16703         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
16704         build of SSE, AVX2 and AVX512 IFUNC versions.
16705         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: New file.
16706         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: New file.
16707         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: New file.
16708         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: New file.
16709         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: New file.
16710         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: New file.
16711         * sysdeps/x86_64/fpu/svml_d_log2_core.S: New file.
16712         * sysdeps/x86_64/fpu/svml_d_log4_core.S: New file.
16713         * sysdeps/x86_64/fpu/svml_d_log4_core_avx.S: New file.
16714         * sysdeps/x86_64/fpu/svml_d_log8_core.S: New file.
16715         * sysdeps/x86_64/fpu/svml_d_log_data.S: New file.
16716         * sysdeps/x86_64/fpu/svml_d_log_data.h: New file.
16717         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector log
16718         test.
16719         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
16720         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
16721         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
16722         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
16723         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
16724         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
16725         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
16726         * NEWS: Mention addition of x86_64 vector log.
16728 2015-06-17  Szabolcs Nagy  <szabolcs.nagy@arm.com>
16730         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Fix
16731         cfi_adjust_cfa_offset argument.
16732         (_dl_tlsdesc_undefweak, _dl_tlsdesc_dynamic): Likewise.
16733         (_dl_tlsdesc_resolve_rela, _dl_tlsdesc_resolve_hold): Likewise.
16735         [BZ #18034]
16736         * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Declare.
16737         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Define.
16738         (_dl_tlsdesc_undefweak): Guarantee TLSDESC entry and argument load-load
16739         ordering using ldar.
16740         (_dl_tlsdesc_dynamic): Likewise.
16741         (_dl_tlsdesc_return_lazy): Likewise.
16742         * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Use
16743         relaxed atomics instead of volatile and synchronize with release store.
16744         (_dl_tlsdesc_resolve_hold_fixup): Use relaxed atomics instead of
16745         volatile.
16746         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
16748 2015-06-15  Andrew Senkevich  <andrew.senkevich@intel.com>
16750         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
16751         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for sinf.
16752         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
16753         * sysdeps/x86_64/fpu/Versions: New versions added.
16754         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
16755         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
16756         build of SSE, AVX2 and AVX512 IFUNC versions.
16757         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: New file.
16758         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: New file.
16759         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: New file.
16760         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: New file.
16761         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: New file.
16762         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: New file.
16763         * sysdeps/x86_64/fpu/svml_s_sinf16_core.S: New file.
16764         * sysdeps/x86_64/fpu/svml_s_sinf4_core.S: New file.
16765         * sysdeps/x86_64/fpu/svml_s_sinf8_core.S: New file.
16766         * sysdeps/x86_64/fpu/svml_s_sinf8_core_avx.S: New file.
16767         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: New file.
16768         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: New file.
16769         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector sinf tests.
16770         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
16771         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
16772         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
16773         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
16774         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
16775         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
16776         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
16777         * NEWS: Mention addition of x86_64 vector sinf.
16779 2015-06-14  Joseph Myers  <joseph@codesourcery.com>
16781         * conform/list-header-symbols.pl (%extra_syms): Add in6addr_any
16782         and in6addr_loopback for XOPEN2K, XOPEN2K8 and POSIX2008.
16783         * conform/Makefile (test-xfail-XOPEN2K/netdb.h/linknamespace):
16784         Remove variable.
16785         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
16786         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
16788 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
16790         [BZ #18530]
16791         * libio/iofputs.c [!_IO_MTSAFE_IO] (__fputs_unlocked): Define as
16792         strong alias of _IO_fputs.  Use libc_hidden_def.
16793         * libio/iofputs_u.c (fputs_unlocked): Rename to __fputs_unlocked
16794         and define as weak alias of __fputs_unlocked.  Use
16795         libc_hidden_weak.
16796         * include/stdio.h (__fputs_unlocked): Declare.  Use
16797         libc_hidden_proto.
16798         * misc/syslog.c (__vsyslog_chk): Call __fputs_unlocked instead of
16799         fputs_unlocked.
16801         [BZ #18529]
16802         * resolv/netdb.h [__USE_POSIX]: Change condition to
16803         [__USE_XOPEN2K].
16804         * conform/data/netdb.h-data [XPG4 || UNIX98] (struct addrinfo): Do
16805         not expect.
16806         [XPG4 || UNIX98] (AI_PASSIVE): Likewise.
16807         [XPG4 || UNIX98] (AI_CANONNAME): Likewise.
16808         [XPG4 || UNIX98] (AI_NUMERICHOST): Likewise.
16809         [XPG4 || UNIX98] (AI_V4MAPPED): Likewise.
16810         [XPG4 || UNIX98] (AI_ALL): Likewise.
16811         [XPG4 || UNIX98] (AI_ADDRCONFIG): Likewise.
16812         [XPG4 || UNIX98] (AI_NUMERICSERV): Likewise.
16813         [XPG4 || UNIX98] (NI_NOFQDN): Likewise.
16814         [XPG4 || UNIX98] (NI_NUMERICHOST): Likewise.
16815         [XPG4 || UNIX98] (NI_NAMEREQD): Likewise.
16816         [XPG4 || UNIX98] (NI_NUMERICSERV): Likewise.
16817         [XPG4 || UNIX98] (NI_DGRAM): Likewise.
16818         [XPG4 || UNIX98] (EAI_AGAIN): Likewise.
16819         [XPG4 || UNIX98] (EAI_BADFLAGS): Likewise.
16820         [XPG4 || UNIX98] (EAI_FAIL): Likewise.
16821         [XPG4 || UNIX98] (EAI_FAMILY): Likewise.
16822         [XPG4 || UNIX98] (EAI_MEMORY): Likewise.
16823         [XPG4 || UNIX98] (EAI_NONAME): Likewise.
16824         [XPG4 || UNIX98] (EAI_SERVICE): Likewise.
16825         [XPG4 || UNIX98] (EAI_SOCKTYPE): Likewise.
16826         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
16827         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
16828         [XPG4 || UNIX98] (freeaddrinfo): Likewise.
16829         [XPG4 || UNIX98] (gai_strerror): Likewise.
16830         [XPG4 || UNIX98] (getaddrinfo): Likewise.
16831         [XPG4 || UNIX98] (getnameinfo): Likewise.
16833         [BZ #18528]
16834         * grp/grp.h (endgrent): Condition on [__USE_MISC ||
16835         __USE_XOPEN_EXTENDED], not [__USE_XOPEN_EXTENDED ||
16836         __USE_XOPEN2K8].
16837         (getgrent): Likewise.
16838         * conform/data/grp.h-data [XPG3 || POSIX2008] (getgrent): Do not
16839         expect.
16840         [XPG3 || POSIX2008] (endgrent): Likewise.
16841         [XPG3] (setgrent): Likewise.
16842         * conform/Makefile (test-xfail-XPG3/grp.h/conform): Remove
16843         variable.
16844         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
16846         [BZ #18527]
16847         * login/getlogin_r.c (getlogin_r): Rename to __getlogin_r and
16848         define as weak alias of __getlogin_r.  Use libc_hidden_weak.
16849         * sysdeps/mach/hurd/getlogin_r.c (getlogin_r): Likewise.
16850         * sysdeps/unix/getlogin_r.c (getlogin_r): Likewise.
16851         * sysdeps/unix/sysv/linux/getlogin_r.c (getlogin_r): Likewise.
16852         * include/unistd.h (__getlogin_r): Declare.  Use
16853         libc_hidden_proto.
16854         * posix/glob.c (glob): Call __getlogin_r instead of getlogin_r.
16855         * conform/Makefile (test-xfail-XPG3/glob.h/linknamespace): Remove
16856         variable.
16857         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
16858         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
16859         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
16861 2015-06-12  Martin Sebor  <msebor@redhat.com>
16863         [BZ #18512]
16864         * Makerules (check-install-supported): New target.
16865         (install): Add check-install-supported as a dependency.
16866         * manual/install.texi (Installing the C Library): Document
16867         that overriding prefix and exec_prefix is not supported.
16868         Mention DESTDIR.
16869         * INSTALL: Regenerate from the above.
16871 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
16873         [BZ #18519]
16874         * posix/Versions (libc): Export __libc_pread at version
16875         GLIBC_PRIVATE.
16876         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Call __libc_pread
16877         instead of pread.
16878         * conform/Makefile (test-xfail-POSIX/aio.h/linknamespace): Remove
16879         variable.
16881         [BZ #18522]
16882         * misc/efgcvt_r.c
16883         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0) && !LONG_DOUBLE_CVT]
16884         (cvt_symbol): Use weak_alias instead of strong_alias.
16885         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0)] (cvt_symbol): Likewise.
16886         * conform/Makefile (test-xfail-XPG4/stdlib.h/linknamespace):
16887         Remove variable.
16888         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
16889         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
16891         [BZ #18520]
16892         * inet/herrno.c (h_errno): Rename to __h_errno.
16893         (__libc_h_errno): Define as alias of __h_errno not h_errno.
16894         * include/netdb.h [IS_IN_LIB && !IS_IN (libc)] (h_errno): Define
16895         to __h_errno instead of h_errno.
16896         * nptl/herrno.c (h_errno): Rename to __h_errno.
16897         (__h_errno_location): Refer to __h_errno not h_errno.
16898         * resolv/Versions (h_errno): Rename to __h_errno.
16899         * conform/Makefile (test-xfail-XOPEN2K8/grp.h/linknamespace):
16900         Remove variable.
16901         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
16903 2015-06-11  Andrew Senkevich  <andrew.senkevich@intel.com>
16905         * configure.ac: More strict check for AVX512 assembler support.
16906         * configure: Regenerated.
16908         * bits/libm-simd-decl-stubs.h: Added stubs for sin.
16909         * math/bits/mathcalls.h: Added sin declaration with __MATHCALL_VEC.
16910         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
16911         * sysdeps/x86/fpu/bits/math-vector.h: SIMD declaration for sin.
16912         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
16913         * sysdeps/x86_64/fpu/Versions: New versions added.
16914         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
16915         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
16916         Added build of SSE, AVX2 and AVX512 IFUNC versions.
16917         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: New file.
16918         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: New file.
16919         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: New file.
16920         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: New file.
16921         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: New file.
16922         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: New file.
16923         * sysdeps/x86_64/fpu/svml_d_sin2_core.S: New file.
16924         * sysdeps/x86_64/fpu/svml_d_sin4_core.S: New file.
16925         * sysdeps/x86_64/fpu/svml_d_sin4_core_avx.S: New file.
16926         * sysdeps/x86_64/fpu/svml_d_sin8_core.S: New file.
16927         * sysdeps/x86_64/fpu/svml_d_sin_data.S: New file.
16928         * sysdeps/x86_64/fpu/svml_d_sin_data.h: New file.
16929         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector sin
16930         test.
16931         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
16932         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
16933         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
16934         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
16935         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
16936         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
16937         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
16938         * NEWS: Mention addition of x86_64 vector sin.
16940 2015-06-11  Florian Weimer  <fweimer@redhat.com>
16942         * nptl/pthread_key_create.c (__pthread_key_create): Fix typo in
16943         comment.
16945 2015-06-10  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
16947         [BZ #18479]
16948         * nptl/pt-interp.c: New file.
16949         * nptl/Makefile (libpthread-routines, libpthread-shared-only-routines):
16950         Add pt-interp.
16951         [[$(build-shared) = yes] ($(objpfx)pt-interp.os): Depend on
16952         $(common-objpfx)runtime-linker.h.
16954 2015-06-10  Dmitry V. Levin  <ldv@altlinux.org>
16956         * Makeconfig (+interp): Remove unused variable.
16957         * elf/Makefile ($(objpfx)interp.os): Define for [$(build-shared) = yes]
16958         only.  Depend on $(common-objpfx)runtime-linker.h instead of
16959         $(elf-objpfx)runtime-linker.h.
16960         ($(elf-objpfx)runtime-linker.h): Rename to
16961         $(common-objpfx)runtime-linker.h and move ...
16962         * Makerules [$(build-shared) = yes]: ... here.
16963         * elf/interp.c: Include <runtime-linker.h> instead of
16964         <elf/runtime-linker.h>.
16966 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16968         * sysdeps/unix/sysv/linux/i386/gettimeofday.c
16969         (__gettimeofday_syscall): Remove vsyscall fallback.
16970         * sysdeps/unix/sysv/linux/i386/time.c (__time_syscall): Likewise.
16971         * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday_syscall):
16972         Add syscall fallback function.
16973         (gettimeofday_ifunc): Use __gettimeofday_syscall as fallback mechanism
16974         if vDSO is not present.
16975         * sysdeps/unix/sysv/linux/x86/time.c (__time_syscall): Add syscall
16976         fallback function.
16977         (time_ifunc): Use __time_syscall as fallback mechanism if vDSO is not
16978         present.
16979         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Remove file.
16980         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
16982 2015-06-09  Joseph Myers  <joseph@codesourcery.com>
16984         [BZ #18497]
16985         * wcsmbs/wcscmp.c [!WCSCMP] (WCSCMP): Define as __wcscmp instead
16986         of wcscmp.
16987         (wcscmp): Define as weak alias of WCSCMP.
16988         * wcsmbs/wcscoll.c (STRCOLL): Define as __wcscoll instead of
16989         wcscoll.
16990         (USE_HIDDEN_DEF): Define.
16991         [!USE_IN_EXTENDED_LOCALE_MODEL] (wcscoll): Define as weak alias of
16992         __wcscoll.  Don't use libc_hidden_weak.
16993         * wcsmbs/wcscoll_l.c (STRCMP): Define as __wcscmp instead of
16994         wcscmp.
16995         * sysdeps/i386/i686/multiarch/wcscmp-c.c
16996         [SHARED] (libc_hidden_def): Define __GI___wcscmp instead of
16997         __GI_wcscmp.
16998         (weak_alias): Undefine and redefine.
16999         * sysdeps/i386/i686/multiarch/wcscmp.S (wcscmp): Rename to
17000         __wcscmp and define as weak alias of __wcscmp.
17001         * sysdeps/x86_64/wcscmp.S (wcscmp): Likewise.
17002         * include/wchar.h (__wcscmp): Declare.  Use libc_hidden_proto.
17003         (__wcscoll): Likewise.
17004         (wcscmp): Don't use libc_hidden_proto.
17005         (wcscoll): Likewise.
17006         * posix/regcomp.c (build_range_exp): Call __wcscoll instead of
17007         wcscoll.
17008         * posix/regexec.c (check_node_accept_bytes): Likewise.
17009         * conform/Makefile (test-xfail-XPG3/regex.h/linknamespace): Remove
17010         variable.
17011         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
17012         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
17014         [BZ #18507]
17015         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Rename to
17016         __fstatvfs and define as weak alias of __fstatvfs.  Use
17017         libc_hidden_weak.
17018         * sysdeps/unix/sysv/linux/statvfs.c (statvs): Rename to __statvfs
17019         and define as weak alias of __statvfs.  Use libc_hidden_weak.
17020         * sysdeps/unix/sysv/linux/wordsize-64/fstatvfs.c (__fstatvfs64):
17021         Define as alias of __fstatvfs, not fstatvfs.
17022         (fstatvfs64): Likewise.
17023         * sysdeps/unix/sysv/linux/wordsize-64/statvfs.c (__statvfs64):
17024         Define as alias of __statvfs, not statvfs.
17025         (statvfs64): Likewise.
17026         * conform/Makefile (test-xfail-POSIX/unistd.h/linknamespace):
17027         Remove variable.
17029 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17031         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
17032         (HAVE_GETCPU_VSYSCALL): Define.
17033         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
17034         (HAVE_GETCPU_VSYSCALL): Likewise.
17035         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Remove file.
17036         * sysdeps/unix/sysv/linux/sched_getcpu.c
17037         (HAVE_VSYSCALL) [HAVE_GETCPU_VSYSCALL]: Define.
17038         (sched_getcpu): Use INLINE_VSYSCALL instead of INLINE_SYSCALL.
17039         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (getcpu): Add vDSO
17040         prototype.
17041         * sysdeps/unix/sysv/linux/x86_64/init-first.c
17042         (__vdso_platform_setup): Remove vsyscall getcpu fallback.
17043         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Remove file.
17044         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (HAVE_GETCPU_VSYSCALL):
17045         Define.
17046         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: Remove file.
17047         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
17048         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c: Likewise.
17049         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
17051 2015-06-09  Andrew Senkevich  <andrew.senkevich@intel.com>
17053         * sysdeps/x86_64/fpu/Makefile: New file.
17054         * sysdeps/x86_64/fpu/Versions: New file.
17055         * sysdeps/x86_64/fpu/svml_d_cos_data.S: New file.
17056         * sysdeps/x86_64/fpu/svml_d_cos_data.h: New file.
17057         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: New file.
17058         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: New file.
17059         * sysdeps/x86_64/fpu/svml_d_cos4_core_avx.S: New file.
17060         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: New file.
17061         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: New file.
17062         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: New file.
17063         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: New file.
17064         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: New file.
17065         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: New file.
17066         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: New file.
17067         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: New file.
17068         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
17069         Added build of SSE, AVX2 and AVX512 IFUNC versions.
17070         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cos.
17071         * math/bits/mathcalls.h: Added cos declaration with __MATHCALL_VEC.
17072         * sysdeps/x86_64/configure.ac: Options for libmvec build.
17073         * sysdeps/x86_64/configure: Regenerated.
17074         * sysdeps/x86_64/sysdep.h (cfi_offset_rel_rsp): New macro.
17075         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New file.
17076         * manual/install.texi (Configuring and compiling): Document
17077         --disable-mathvec.
17078         * INSTALL: Regenerated.
17079         * NEWS: Mention addition of libmvec and x86_64 vector cos.
17081         * math/Makefile: Added rules for vector tests.
17082         * math/gen-libm-have-vector-test.sh: Added generation of wrapper
17083         declaration under condition.
17084         * math/test-double-vlen2.h: New file.
17085         * math/test-double-vlen4.h: New file.
17086         * math/test-double-vlen8.h: New file.
17087         * math/test-vec-loop.h: Added initialization macro.
17088         * sysdeps/x86_64/fpu/Makefile: Added variables for vector tests.
17089         * sysdeps/x86_64/fpu/libm-test-ulps: Regenarated.
17090         * sysdeps/x86_64/fpu/math-tests-arch.h: New file.
17091         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: New file.
17092         * sysdeps/x86_64/fpu/test-double-vlen2.c: New file.
17093         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: New file.
17094         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: New file.
17095         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: New file.
17096         * sysdeps/x86_64/fpu/test-double-vlen4.c: New file.
17097         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: New file.
17098         * sysdeps/x86_64/fpu/test-double-vlen8.c: New file.
17100         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
17101         * sysdeps/x86_64/fpu/Versions: New versions added.
17102         * sysdeps/x86_64/fpu/svml_s_cosf4_core.S: New file.
17103         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: New file.
17104         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: New file.
17105         * sysdeps/x86_64/fpu/svml_s_cosf8_core_avx.S: New file.
17106         * sysdeps/x86_64/fpu/svml_s_cosf8_core.S: New file.
17107         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: New file.
17108         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: New file.
17109         * sysdeps/x86_64/fpu/svml_s_cosf16_core.S: New file.
17110         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: New file.
17111         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: New file.
17112         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: New file.
17113         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: New file.
17114         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: New file.
17115         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
17116         Added build of SSE, AVX2 and AVX512 IFUNC versions.
17117         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
17118         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cosf.
17119         * NEWS: Mention addition of x86_64 vector cosf.
17121         * math/Makefile: Added CFLAGS for new tests.
17122         * math/test-float-vlen16.h: New file.
17123         * math/test-float-vlen4.h: New file.
17124         * math/test-float-vlen8.h: New file.
17125         * math/test-double-vlen2.h: Fixed 2 argument macro and comment.
17126         * sysdeps/x86_64/fpu/Makefile: Added new tests and variables.
17127         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
17128         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: New file.
17129         * sysdeps/x86_64/fpu/test-float-vlen16.c: New file.
17130         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: New file.
17131         * sysdeps/x86_64/fpu/test-float-vlen4.c: New file.
17132         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: New file.
17133         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: New file.
17134         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: New file.
17135         * sysdeps/x86_64/fpu/test-float-vlen8.c: New file.
17137 2015-06-09 Marko Myllynen  <myllynen@redhat.com>
17139         * locale/C-ctype.c (PREDEFINED_CLASSES): Remove.
17140         * locale/programs/ld-ctype.c: Likewise.
17142 2015-06-08  Andrew Senkevich  <andrew.senkevich@intel.com>
17144         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX512F_Usable,
17145         bit_AVX512DQ_Usable, bit_Opmask_state, bit_ZMM0_15_state,
17146         bit_ZMM16_31_state): New macro.
17147         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
17148         Check and set bit_AVX512F_Usable, bit_AVX512DQ_Usable.
17150 2015-06-08  Joseph Myers  <joseph@codesourcery.com>
17152         * include/stdio.h (__open_memstream): Say "C++ tests" in comment.
17154 2015-06-06  Justus Winter  <4winter@informatik.uni-hamburg.de>
17156         * mach/mach/mach_traps.h (thread_switch): Fix typo in comment.
17158 2015-06-05  Joseph Myers  <joseph@codesourcery.com>
17160         [BZ #18498]
17161         * libio/memstream.c (open_memstream): Rename to __open_memstream
17162         and define as weak alias of __open_memstream.
17163         * include/stdio.h (__open_memstream): Declare.  Use
17164         libc_hidden_proto.
17165         (open_memstream): Don't use libc_hidden_proto.
17166         * misc/syslog.c (__vsyslog_chk): Call __open_memstream instead of
17167         open_memstream.
17168         * posix/getopt.c (_getopt_internal_r): Likewise.
17169         * conform/Makefile (test-xfail-XPG3/stdio.h/linknamespace): Remove
17170         variable.
17171         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
17172         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
17173         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
17175         [BZ #18496]
17176         * posix/regex_internal.c (build_wcs_upper_buffer): Call __wcrtomb
17177         instead of wcrtomb.
17179         [BZ #18483]
17180         * signal/signal.h [__USE_XOPEN2K] (psignal): Change condition to
17181         [__USE_XOPEN2K8].  Remove redundant #endif.
17182         [__USE_XOPEN2K] (psiginfo): Change condition to [__USE_XOPEN2K8].
17183         Remove redundant #if.
17184         * conform/Makefile (test-xfail-XOPEN2K/signal.h/linknamespace):
17185         Remove variable.
17186         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
17187         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
17189         [BZ #18495]
17190         * wctype/wcfuncs.c (__iswalnum): Use libc_hidden_def.
17191         (__iswlower): Likewise.
17192         * include/wctype.h (__iswalnum): Declare.  Use libc_hidden_proto.
17193         (__iswlower): Likewise.
17194         * posix/regcomp.c (re_compile_fastmap_iter): Call __towlower
17195         instead of towlower.
17196         * posix/regex_internal.c (build_wcs_upper_buffer): Call __iswlower
17197         instead of iswlower.  Call __towupper instead of towupper.
17198         * posix/regex_internal.h (IS_WIDE_WORD_CHAR): Call __iswalnum
17199         instead of iswalnum.
17201 2015-06-05  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
17203         * malloc/tst-malloc-backtrace.c (do_test): Redirect libc fatal
17204         errors to stderr.
17206 2015-06-05  Florian Weimer  <fweimer@redhat.com>
17208         [BZ #15661]
17209         [BZ #17322]
17210         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
17211         Check for overflow properly.  Check for O_APPEND.  Ignore large
17212         file system block sizes.  Add comments about problems.
17213         * sysdeps/posix/posix_fallocate.c (posix_fallocate): Likewise.
17214         * manual/filesys.texi (Storage Allocation): New node.
17216 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17218         * sysdeps/unix/sysdep.h [SYSCALL_CANCEL]: New macro: define
17219         cancellable syscalls.
17220         (SYS_ify): Add guard to no redefine it.
17221         (INLINE_SYSCALL): Likewise.
17222         * sysdeps/unix/sysv/linux/accept4.c (accept4): Remove
17223         LIBC_CANCEL_ASYNC/INLINE_SYSCALL/LIBC_CANCEL_RESET and use
17224         SYSCALL_CANCEL instead.
17225         * sysdeps/unix/sysv/linux/alpha/fdatasync.c (__fdatasync): Likewise.
17226         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
17227         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
17228         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
17229         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
17230         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Likewise.
17231         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Likewise.
17232         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Likewise.
17233         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
17234         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
17235         * sysdeps/unix/sysv/linux/generic/pause.c (__libc_pause): Likewise.
17236         * sysdeps/unix/sysv/linux/generic/poll.c (__poll): Likewise.
17237         * sysdeps/unix/sysv/linux/generic/recv.c (__libc_recv): Likewise.
17238         * sysdeps/unix/sysv/linux/generic/select.c (__select): Likewise.
17239         * sysdeps/unix/sysv/linux/generic/send.c (__libc_send): Likewise.
17240         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
17241         Likewise.
17242         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
17243         (__libc_pread64): Likewise.
17244         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c
17245         (__libc_preadv): Likewise.
17246         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c
17247         (__libc_readv64): Likewise.
17248         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
17249         (__libc_pwrite): Likewise.
17250         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
17251         (__libc_pwrite64): Likewise.
17252         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c
17253         (__libc_pwritev): Likewise.
17254         * sysdeps/sysv/linux/generic/wordsize-32/pwritev64.c
17255         (__libc_pwritev64): Likewise.
17256         * sysdeps/unix/sysv/linux/i386/fcntl.c (__libc_fcntl): Likewise.
17257         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
17258         (sync_file_range): Likewise.
17259         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c (fallocate):
17260         Likewise.
17261         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c (fallocate64):
17262         Likewise.
17263         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
17264         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
17265         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
17266         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
17267         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
17268         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
17269         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
17270         * sysdeps/unix/sysv/linux/openat.c (__libc_openat): Likewise.
17271         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
17272         Likewise.
17273         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
17274         (__libc_read64): Likewise.
17275         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_write):
17276         Likewise.
17277         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c (__libc_write64):
17278         Likewise.
17279         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c (__libc_fcntl):
17280         Likewise.
17281         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c (__libc_pread):
17282         Likewise.
17283         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
17284         (__libc_pread64): Likewise.
17285         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c (__libc_pwrite):
17286         Likewise.
17287         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
17288         (__libc_pwrite64): Likewise.
17289         * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c
17290         (sync_file_range): Likewise.
17291         * sysdeps/unix/sysv/linux/ppoll.c (ppoll): Likewise.
17292         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
17293         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
17294         * sysdeps/unix/sysv/linux/preadv.c (__libc_preadv): Likewise.
17295         * sysdeps/unix/sysv/linux/pselect.c (__pselect): Likewise.
17296         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
17297         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
17298         * sysdeps/unix/sysv/linux/pwritev.c (PWRITEV): Likewise.
17299         * sysdeps/unix/sysv/linux/readv.c (__libc_readv): Likewise.
17300         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
17301         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
17302         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
17303         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
17304         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
17305         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_pwrite64): Likewise.
17306         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
17307         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
17308         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
17309         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
17310         Likewise.
17311         * sysdeps/unix/sysv/linux/sync_file_range.c (sync_file_range):
17312         Likewise.
17313         * sysdeps/unix/sysv/linux/tcdrain.c (__libc_tcdrain): Likewise.
17314         * sysdeps/unix/sysv/linux/timer_routines.c (timer_helper_thread):
17315         Likewise.
17316         * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Likewise.
17317         * sysdeps/unix/sysv/linux/waitid.c (__waitid): Likewise.
17318         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Likewise.
17319         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c (fallocate):
17320         Likewise.
17321         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c (preadv): Likewise.
17322         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c (pwritev): Likewise.
17323         * sysdeps/unix/sysv/linux/writev.c (__libc_writev): Likewise.
17324         * sysdeps/unix/sysv/linux/x86_64/recv.c (__libc_recv): Likewise.
17325         * sysdeps/unix/sysv/linux/x86_64/send.c (__libc_send): Likewise.
17327 2015-06-04  Nathan Lynch  <nathan_lynch@codesourcery.com>
17329         * sysdeps/unix/sysv/linux/arm/Makefile: (sysdep_routines):
17330         Include dl-vdso.
17331         * sysdeps/unix/sysv/linux/arm/init-first.c: New file:
17332         Use VDSO routines for gettimeofday, clock_gettime if
17333         available.
17334         * sysdeps/unix/sysv/linux/arm/libc-vdso.h: New file:
17335         Declare VDSO symbols.
17336         * sysdeps/unix/sysv/linux/arm/sysdep.h:
17337         [HAVE_GETTIMEOFDAY_VSYSCALL]: Define.
17338         [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
17339         * sysdeps/unix/sysv/linux/arm/Versions: Add
17340         __vdso_clock_gettime.
17342 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17344         * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Rewrite to
17345         be an inline implementation regardless of library is built within.
17346         (open_not_cancel_2): Likewise.
17347         (__read_nocancel): Likewise.
17348         (__write_nocancel): Likewise.
17349         (openat_not_cancel): Likewise.
17350         (openat_not_cancel_3): Likewise.
17351         (openat64_not_cancel): Likewise.
17352         (openat64_not_cancel_3): Likewise.
17353         (__close_nocancel): Likewise.
17354         (pause_not_cancel): Likewise.
17355         (nanosleep_not_cancel): Likewise.
17356         (sigsuspend_not_cancel): Likewise.
17358 2015-06-04  Torvald Riegel  <triegel@redhat.com>
17360         [BZ #14958]
17361         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock): Add missing
17362         wake-up.
17363         (__pthread_rwlock_rdlock_slow): Likewise.
17364         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
17365         Likewise.
17366         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
17367         Likewise.
17368         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Add comments.
17369         * nptl/tst-rwlock16.c: New file.
17370         * nptl/Makefile (tests): Add new test.
17372 2015-06-04  Torvald Riegel  <triegel@redhat.com>
17374         [BZ #18324]
17375         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock): Add
17376         missing wake-up of readers.
17377         * nptl/tst-rwlock15.c: New file.
17378         * nptl/Makefile (tests): Add new test.
17380 2015-06-03  Roland McGrath  <roland@hack.frob.com>
17382         * sysdeps/nacl/nacl-interfaces.c (try_supply): New static function.
17383         (PASTE_NAME (__nacl_supply_interface_, MODULE_NAME)): New function.
17384         * sysdeps/nacl/nacl-interfaces.h: Declare __nacl_supply_interface_libc
17385         and __nacl_supply_interface_rtld.
17386         * sysdeps/nacl/nacl_interface_ext_supply.c: New file.
17387         * sysdeps/nacl/Makefile [$(subdir) = csu] (sysdep_routines): Add it.
17388         * sysdeps/nacl/Versions (ld: GLIBC_PRIVATE):
17389         Add __nacl_supply_interface_rtld.
17390         (libc: GLIBC_2.22): Add nacl_interface_ext_supply.
17392 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
17394         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Replace finite with
17395         isfinite.
17396         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
17397         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c (__finitel): Likewise.
17399 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
17401         * math/e_exp10.c: Replace __isinf*, __isnan*, __finite* and
17402         __signbit* with standard C99 macros.
17403         * math/e_exp10l.c: Likewise.
17404         * math/e_exp2l.c: Likewise.
17405         * math/e_scalb.c: Likewise.
17406         * math/e_scalbf.c: Likewise.
17407         * math/e_scalbl.c: Likewise.
17408         * math/s_ldexp.c: Likewise.
17409         * math/s_ldexpf.c: Likewise.
17410         * math/s_ldexpl.c: Likewise.
17411         * math/w_atan2.c: Likewise.
17412         * math/w_atan2f.c: Likewise.
17413         * math/w_atan2l.c: Likewise.
17414         * math/w_cosh.c: Likewise.
17415         * math/w_coshf.c: Likewise.
17416         * math/w_coshl.c: Likewise.
17417         * math/w_exp10.c: Likewise.
17418         * math/w_exp10f.c: Likewise.
17419         * math/w_exp10l.c: Likewise.
17420         * math/w_exp2.c: Likewise.
17421         * math/w_exp2f.c: Likewise.
17422         * math/w_exp2l.c: Likewise.
17423         * math/w_fmod.c: Likewise.
17424         * math/w_fmodf.c: Likewise.
17425         * math/w_fmodl.c: Likewise.
17426         * math/w_hypot.c: Likewise.
17427         * math/w_hypotf.c: Likewise.
17428         * math/w_hypotl.c: Likewise.
17429         * math/w_jnl.c: Likewise.
17430         * math/w_lgamma.c: Likewise.
17431         * math/w_lgamma_r.c: Likewise.
17432         * math/w_lgammaf.c: Likewise.
17433         * math/w_lgammaf_r.c: Likewise.
17434         * math/w_lgammal.c: Likewise.
17435         * math/w_lgammal_r.c: Likewise.
17436         * math/w_pow.c: Likewise.
17437         * math/w_powf.c: Likewise.
17438         * math/w_powl.c: Likewise.
17439         * math/w_remainder.c: Likewise.
17440         * math/w_remainderf.c: Likewise.
17441         * math/w_remainderl.c: Likewise.
17442         * math/w_scalb.c: Likewise.
17443         * math/w_scalbf.c: Likewise.
17444         * math/w_scalbl.c: Likewise.
17445         * math/w_scalbln.c: Likewise.
17446         * math/w_scalblnf.c: Likewise.
17447         * math/w_scalblnl.c: Likewise.
17448         * math/w_sinh.c: Likewise.
17449         * math/w_sinhf.c: Likewise.
17450         * math/w_sinhl.c: Likewise.
17451         * math/w_tgamma.c: Likewise.
17452         * math/w_tgammaf.c: Likewise.
17453         * math/w_tgammal.c: Likewise.
17454         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
17455         * sysdeps/ieee754/dbl-64/e_exp10.c: Likewise.
17456         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
17457         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
17458         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
17459         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
17460         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
17461         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
17462         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
17463         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
17464         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
17465         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
17466         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
17467         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
17468         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
17469         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
17470         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
17471         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
17472         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
17473         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
17474         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
17475         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
17476         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
17477         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
17478         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
17479         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
17480         * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
17481         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
17482         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
17483         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
17484         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c: Likewise.
17485         * sysdeps/ieee754/ldbl-opt/nldbl-isinf.c: Likewise.
17486         * sysdeps/ieee754/ldbl-opt/nldbl-isnan.c: Likewise.
17487         * sysdeps/ieee754/ldbl-opt/nldbl-signbit.c: Likewise.
17488         * stdio-common/printf_fp.c: Likewise.
17489         * stdio-common/printf_fphex.c: Likewise.
17490         * stdio-common/printf_size.c: Likewise.
17492 2015-06-03  Joseph Myers  <joseph@codesourcery.com>
17494         [BZ #18470]
17495         * posix/fnmatch.c (fnmatch) [_LIBC]: Call __strnlen instead of
17496         strnlen.
17497         * conform/Makefile (test-xfail-XPG3/fnmatch.h/linknamespace):
17498         Remove variable.
17499         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
17500         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
17501         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
17502         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
17503         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
17504         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
17505         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
17506         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
17507         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
17508         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
17510         [BZ #18468]
17511         * wcsmbs/wmemchr.c (wmemchr): Rename to __wmemchr and define as
17512         weak alias of __wmemchr.  Use libc_hidden_weak.
17513         * include/wchar.h (__wmemchr): Declare.  Use libc_hidden_proto.
17514         * posix/fnmatch.c [HANDLE_MULTIBYTE] (MEMCHR): Use __wmemchr
17515         instead of wmemchr.
17517 2015-06-02  Roland McGrath  <roland@hack.frob.com>
17519         [BZ #18383]
17520         * elf/tst-tlsalign-extern.c: New file.
17521         * elf/tst-tlsalign-extern-static.c: New file.
17522         * elf/tst-tlsalign-vars.c: New file.
17523         * elf/Makefile (tests-static): Add tst-tlsalign-extern-static.
17524         [$(build-shared) = yes] (tests): Add tst-tlsalign-extern.
17525         ($(objpfx)tst-tlsalign-extern): Depend on tst-tlsalign-vars.o.
17526         ($(objpfx)tst-tlsalign-extern-static): Likewise.
17527         (test-xfail-tst-tlsalign-extern-static): New variable.
17529 2015-06-02  Joseph Myers  <joseph@codesourcery.com>
17531         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (INLINE_SYSCALL):
17532         Use variable name _sc_err instead of err.
17533         [__mips16] (INTERNAL_SYSCALL_NCS): Use variable name _sc_ret
17534         instead of ret.
17535         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
17536         (INLINE_SYSCALL): Use variable name _sc_err instead of err.
17537         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
17538         (INLINE_SYSCALL): Likewise.
17540         * string/strnlen.c [!STRNLEN] (__strnlen): Use libc_hidden_def.
17541         * include/string.h (__strnlen): Use libc_hidden_proto.
17542         * sysdeps/aarch64/strnlen.S (__strnlen): Use libc_hidden_def.
17543         * sysdeps/i386/i686/multiarch/strnlen-c.c [SHARED]
17544         (libc_hidden_def): Define __GI___strnlen as well as __GI_strnlen.
17545         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-power7.S
17546         (libc_hidden_def): Undefine and redefine.
17547         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c
17548         [SHARED] (libc_hidden_def): Define __GI___strnlen as well as
17549         __GI_strnlen.
17550         * sysdeps/powerpc/powerpc32/power7/strnlen.S (__strnlen): Use
17551         libc_hidden_def.
17552         * sysdeps/tile/tilegx/strnlen.c (__strnlen): Likewise.
17554         [BZ #18469]
17555         * wctype/wcfuncs.c (towlower): Rename to __towlower and define as
17556         weak alias of __towlower.  Use libc_hidden_weak.
17557         (towupper): Rename to __towupper and define as weak alias of
17558         __towupper.  Use libc_hidden_weak.
17559         * include/wctype.h (__towlower): Declare.  Use libc_hidden_proto.
17560         (__towupper): Likewise.
17561         * posix/fnmatch.c [HANDLE_MULTIBYTE && _LIBC] (FOLD): Use
17562         __towlower instead of towlower.
17564 2015-06-02  Roland McGrath  <roland@hack.frob.com>
17566         * stdlib/setenv.c [__GNUC__,__GNUC_MINOR__ < 4,7]: Use
17567         "-Wuninitialized" rather than "-Wmaybe-uninitialized" in pragma.
17569 2015-06-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
17571         * sysdeps/aarch64/libm-test-ulps: Update.
17573 2015-06-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17575         * sysdeps/unix/sysv/linux/i386/sysdep.h (HAVE_CLOCK_GETTIME_VSYSCALL):
17576         Define.
17577         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
17578         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
17579         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
17580         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
17581         * sysdeps/unix/sysv/linux/timespec_get.c: Include errno.h.
17582         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: Remove file.
17583         * sysdeps/unix/sysv/linux/x86/timespec_get.c: Likewise.
17585 2015-06-01  Martin Sebor  <msebor@redhat.com>
17587         [BZ #18116]
17588         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
17589         (__setcontext): Use extended four-operand version of mtsf whenever
17590         possible.
17591         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
17592         (__novec_swapcontext): Likewise.
17594 2015-06-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
17596         * benchtests/scripts/compare_bench.py: New file.
17597         * benchtests/scripts/import_bench.py (mean): New function.
17598         (split_list): Likewise.
17599         (do_for_all_timings): Likewise.
17600         (compress_timings): Likewise.
17602         * benchtests/scripts/import_bench.py: New file.
17603         * benchtests/scripts/validate_benchout.py: Import import_bench
17604         instead of jsonschema.
17605         (validate_bench): Remove function.
17606         (main): Use import_bench.
17608 2015-06-01  Steve Ellcey  <sellcey@imgtec.com>
17610         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use a union to
17611         copy data from cur_ifr->ifr_addr and cur_ifr->ifr_netmask.
17613 2015-05-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17615         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17617 2015-05-28  Roland McGrath  <roland@hack.frob.com>
17619         * sysdeps/nacl/exit-thread.h (__exit_thread): If not detached,
17620         set THREAD_SELF->tid to a magic value and futex-wake it.
17621         Pass its address to the thread_exit system call.
17622         * sysdeps/nacl/pthread-pids.h (__nacl_get_tid): Assert that TID's low
17623         bit is clear.
17624         * sysdeps/nacl/lowlevellock.h: New file.
17625         * sysdeps/nacl/lll_timedwait_tid.c: New file.
17627         * sysdeps/nacl/lowlevellock-futex.h (lll_futex_timed_wait):
17628         Add TIMEOUT to current time, don't subtract it.
17630 2015-05-28  H.J. Lu  <hongjiu.lu@intel.com>
17632         [BZ #2981]
17633         [BZ #18422]
17634         * Makefile ($(objpfx)tst-audit2): Depend on $(libdl).
17635         ($(objpfx)tst-audit2.out): Also depend on
17636         $(objpfx)tst-auditmod9b.so.
17637         * elf/tst-audit2.c: Include <dlfcn.h>.
17638         (calloc_called): New.
17639         (calloc): Allow to be called more than once.
17640         (do_test): dllopen/dlclose $ORIGIN/tst-auditmod9b.so.
17642 2015-05-28  Wilco Dijkstra  <wdijkstr@arm.com>
17644         * sysdeps/ieee754/dbl-64/s_fabs.c: (__fabs): Call __builtin_fabs.
17645         * sysdeps/ieee754/flt-32/s_fabsf.c: (__fabsf): Likewise.
17647 2015-05-27  Marko Myllynen  <myllynen@redhat.com>
17649         * stdlib/monetary.h: Fix comment.
17651 2015-05-26  Chris Metcalf  <cmetcalf@ezchip.com>
17653         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_SYSCALL):
17654         Avoid using variables in #defines that might cause shadowing.
17655         (INTERNAL_VSYSCALL_CALL): Likewise.
17657 2015-05-26  Roland McGrath  <roland@hack.frob.com>
17659         * sysdeps/nacl/lll_timedlock_wait.c: New file.
17661         * nptl/lowlevellock.c (__lll_timedlock_wait): Moved ...
17662         * nptl/lll_timedlock_wait.c: ... to this new file.
17663         * nptl/Makefile (libpthread-routines): Add it.
17664         * nptl/lowlevellock.c (__lll_timedwait_tid): Moved ...
17665         * nptl/lll_timedwait_tid.c: ... to this new file.
17666         * nptl/Makefile (libpthread-routines): Add it.
17667         * sysdeps/sparc/sparc32/lll_timedlock_wait.c: New file.
17668         * sysdeps/sparc/sparc32/lll_timedwait_tid.c: New file.
17669         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: New file.
17670         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c: New file.
17671         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c: New file.
17672         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: New file.
17673         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c: New file.
17674         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c: New file.
17675         * sysdeps/unix/sysv/linux/x86_64/lll_timedlock_wait.c: New file.
17676         * sysdeps/unix/sysv/linux/x86_64/lll_timedwait_tid.c: New file.
17678 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17680         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: Remove file.
17681         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
17682         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
17683         * sysdeps/unix/sysv/linux/aarch64/sysdep.h
17684         (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
17685         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
17686         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
17687         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
17688         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
17689         * sysdeps/unix/sysv/linux/tile/sysdep.h
17690         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
17691         * sysdeps/unix/sysv/linux/gettimeofday.c: New file: gettimeofday
17692         using vDSO syscall macro.
17694 2015-05-26  Andriy Rysin  <arysin@gmail.com>
17696         [BZ #17293]
17697         * uk_UA: Fix sorting order for Ukrainian locale
17699 2015-05-26  Marko Myllynen  <myllynen@redhat.com>
17701         * stdlib/monetary.h: Fix comment.
17703 2015-05-26  Szabolcs Nagy  <szabolcs.nagy@arm.com>
17705         [BZ #18234]
17706         * conform/data/sys/stat.h-data (struct stat): Add tests for st_atim,
17707         st_mtim and st_ctim members.
17708         * sysdeps/nacl/bits/stat.h (struct stat, struct stat64): Make
17709         st_atim, st_ctim, st_mtim visible under __USE_XOPEN2K8 only.
17710         * sysdeps/unix/sysv/linux/generic/bits/stat.h (struct stat,):
17711         (struct stat64): Likewise.
17712         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat,):
17713         (struct stat64): Likewise.
17714         * sysdeps/unix/sysv/linux/microblaze/bits/stat.h (struct stat,):
17715         (struct stat64): Likewise.
17717 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17719         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c (HAVE_VSYSCALL):
17720         Define and include sysdep-vdso.h.
17721         * sysdeps/unix/sysv/linux/s390/gettimeofday.c (HAVE_VSYSCALL):
17722         Likewise.
17723         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (HAVE_VSYSCALL):
17724         Likewise.
17725         * sysdeps/unix/sysv/linux/aarch64/init-first.c (__vdso_gettimeofday):
17726         Define with VDSO_SYMBOL and use PTR_MANGLE.
17727         (__vdso_clock_gettime): Likewise.
17728         (__vdso_clock_getres): Likewise.
17729         (_libc_vdso_platform_setup): Likewise.
17730         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
17731         Likewise.
17732         (_libc_vdso_platform_setup): Likewise.
17733         * sysdeps/unix/sysv/linux/powerpc/init-first.c (__vdso_gettimeofday):
17734         Likewise.
17735         (__vdso_clock_gettime): Likewise.
17736         (__vdso_clock_getres): Likewise.
17737         (__vdso_get_tbfreq): Likewise.
17738         (__vdso_getcpu): Likewise.
17739         (__vdso_time): Likewise.
17740         (__vdso_sigtramp_rt64): Likewise.
17741         (__vdso_signtramp32): Likewise.
17742         (__vdso_sigtramp_rt32): Likewise.
17743         (_libc_vdso_platform_setup): Likewise.
17744         * sysdeps/unix/sysv/linux/s390/init-first.c (__vdso_gettimeofay):
17745         Likewise.
17746         (__vdso_clock_gettime): Likewise.
17747         (__vdso_clock_getres): Likewise.
17748         (_libc_vdso_platform_setup): Likewise.
17749         * sysdeps/unix/sysv/linux/tile/init-first.c (__vdso_gettimeofday):
17750         Likewise.
17751         (__vdso_clock_gettime): Likewise.
17752         (_libc_vdso_platform_setup): Likewise.
17753         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
17754         Likewise.
17755         (__vdso_getcpu): Likewise.
17756         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h (__vdso_gettimeoday):
17757         Use VDSO_SYMBOL macro to define.
17758         (__vdso_clock_gettime): Likewise.
17759         (__vdso_clock_getres): Likewise.
17760         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h (__vdso_gettimeofday):
17761         Likewise.
17762         (__vdso_clock_gettime): Likewise.
17763         (__vdso_clock_getres): Likewise.
17764         (__vdso_get_tbfreq): Likewise.
17765         (__vdso_getcpu): Likewise.
17766         (__vdso_time): Likewise.
17767         (__vdso_sigtramp_rt64): Likewise.
17768         (__vdso_signtramp32): Likewise.
17769         (__vdso_sigtramp_rt32): Likewise.
17770         * sysdeps/unix/sysv/linux/s390/libc-vdso.h (__vdso_gettimeofday):
17771         Likewise.
17772         (__vdso_clock_gettime): Likewise.
17773         (__vdso_clock_getres): Likewise.
17774         * sysdeps/unix/sysv/linux/tile/libc-vdso.h (__vdso_gettimeofday):
17775         Likewise.
17776         (__vdso_clock_gettime): Likewise.
17777         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
17778         Likewise.
17779         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INLINE_VSYSCALL):  Remove
17780         macro.
17781         (INTERNAL_VSYSCALL): Likewise.
17782         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (INLINE_VSYSCALL):
17783         Remove macro.
17784         (INTERNAL_VSYSCALL): Likewise.
17785         (INTERNAL_VSYSCALL_NCS): Likewise.
17786         (INTERNAL_VSYSCALL_CALL): New macro.
17787         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
17788         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (INLINE_VSYSCALL):
17789         Likewise.
17790         (INTERNAL_VSYSCALL): Likewise.
17791         (INTERNAL_VSYSCALL_NCS): Likewise.
17792         (INTERNAL_VSYSCALL_CALL): New macro.
17793         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
17794         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
17795         (INLINE_VSYSCALL): Remove macro.
17796         (INTERNAL_VSYSCALL): Remove macro.
17797         (INTERNAL_VSYSCALL_NCS): Remove macro.
17798         (INTERNAL_VSYSCALL_CALL): New macro.
17799         (INTERNAL_VSYSCALL_CALL_TYPE): New macro.
17800         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL.
17801         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
17802         (HAVE_CLOCK_GETRES_VSYSCALL): New define.
17803         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
17804         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
17805         (INLINE_VSYSCALL): Remove macro.
17806         (INTERNAL_VSYSCALL): Likewise.
17807         (INTERNAL_VSYSCALL_NCS): Likewise.
17808         (INTERNAL_VSYSCALL_CALL): New macro.
17809         (INTERNAL_VSYSCALL_CALL_TYPE): Likewise.
17810         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL and
17811         PTR_DEMANGLE on vDSO pointer.
17812         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
17813         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Remove
17814         macro.
17815         (INTERNAL_SYSCALL): Likewise.
17816         (INTERNAL_VSYSCALL_NCS): Remove macro.
17817         (INTERNAL_VSYSCALL_CALL): New macro.
17818         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_VSYSCALL):
17819         Remove macro.
17820         (INTERNAL_VSYSCALL): Likewise.
17821         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Include
17822         sysdep-vdso.h instead of libc-vdso.h.
17823         * sysdeps/unix/sysv/linux/clock_getres.c (INTERNAL_VSYSCALL): Remove
17824         definition.
17825         (INLINE_VSYSCALL): Likewise.
17826         (HAVE_VSYSCALL) [HAVE_CLOCK_GETRES_VSYSCALL]: Define.
17827         * sysdeps/unix/sysv/linux/clock_gettime.c (INTERNAL_VSYSCALL): Remove
17828         definition.
17829         (INLINE_VSYSCALL): Likewise.
17830         (INTERNAL_VSYSCALL): Likewise.
17831         (HAVE_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
17832         * sysdeps/unix/sysv/linux/timespec_get.c
17833         (INTERNAL_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
17834         (timespec_get): Use ANSI prototype.
17835         * sysdeps/unix/sysv/linux/sysdep-vdso.h: New file: default vDSO macros
17836         and definition for Linux.
17838 2015-05-25  Andrew Senkevich  <andrew.senkevich@intel.com>
17840         * elf/Makefile (localplt-built-dso): libmvec added to localplt test.
17841         * include/libc-symbols.h: libmvec_hidden_* macro series added.
17843 2015-05-22  H.J. Lu  <hongjiu.lu@intel.com>
17845         [BZ #2981]
17846         [BZ #18410]
17847         * elf/dl-reloc.c (_dl_relocate_object): Don't issue an error
17848         for missing DT_PLTRELSZ.
17850 2015-05-22  Paul Eggert  <eggert@cs.ucla.edu>
17852         Remove obsolete aliases that broke 'locale -a'
17853         [BZ #18412]
17854         * intl/locale.alias: Remove obsolete aliases "bokmål" and "français"
17855         which caused 'locale -a' to output Latin-1 data in UTF-8 locales,
17856         breaking some applications that use 'locale -a' output.
17857         Change the encoding of this file from Latin-1 to ASCII to avoid
17858         other potential problems with people grepping this file.
17860 2015-05-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17862         * nptl/Makefile (CFLAGS-accept.c): Add -fexceptions and
17863         -fasynchronous-unwind-tables.
17864         (CFLAGS-sendto.c): Likewise.
17865         (CFLAGS-sendmsg.c): Likewise.
17866         (CFLAGS-connect.c): Likewise.
17867         (CFLAGS-recvmsg.c): Likewise.
17868         (CFLAGS-recvfrom.c): Likewise.
17869         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_invalid): Define.
17870         (SOCKETCALL): New macro: non-cancellable socketcall.
17871         (SOCKETCALL_CANCEL): New macro: cancellable socketcall.
17872         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = socket]: Remove
17873         internal_accept4, internal_recvmmsg, and internal_sendmmsg rules.
17874         * sysdeps/unix/sysv/linux/accept.c: New file.
17875         * sysdeps/unix/sysv/linux/bind.c: Likewise.
17876         * sysdeps/unix/sysv/linux/connect.c: Likewise.
17877         * sysdeps/unix/sysv/linux/getpeername.c: Likewise.
17878         * sysdeps/unix/sysv/linux/getsockname.c: Likewise.
17879         * sysdeps/unix/sysv/linux/getsockopt.c: Likewise.
17880         * sysdeps/unix/sysv/linux/listen.c: Likewise.
17881         * sysdeps/unix/sysv/linux/recv.c: Likewise.
17882         * sysdeps/unix/sysv/linux/recvfrom.c: Likewise.
17883         * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
17884         * sysdeps/unix/sysv/linux/send.c: Likewise.
17885         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
17886         * sysdeps/unix/sysv/linux/sendto.c: Likewise.
17887         * sysdeps/unix/sysv/linux/setsockopt.c: Likewise.
17888         * sysdeps/unix/sysv/linux/shutdown.c: Likewise.
17889         * sysdeps/unix/sysv/linux/socket.c: Likewise.
17890         * sysdeps/unix/sysv/linux/socketpair.c: Likewise.
17891         * sysdeps/unix/sysv/linux/recvmmsg.c (__internal_recvmmsg): Remove
17892         prototype.
17893         (recvmmsg) [__ASSUME_RECVMMSG_SOCKETCALL]: Add C based implementation.
17894         (recvmmsg) [!__ASSUME_RECVMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
17895         instead of __internal_xxx function.
17896         * sysdeps/unix/sysv/linux/accept4.c (__internal_accept4): Remove
17897         prototype.
17898         (accept4) [__ASSUME_ACCEPT4_SOCKETCALL]: Add C based implementation.
17899         (accept4) [!__ASSUME_ACCEPT4_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
17900         instead of __internal_xxx function.
17901         * sysdeps/unix/sysv/linux/sendmmsg.c (__internal_sendmmsg): Remove
17902         prototype.
17903         (sendmmsg) [__ASSUME_SENDMMSG_SOCKETCALL]: Add C based implementation.
17904         (sendmmsg) [!__ASSUME_SENDMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
17905         instead of __internal_xxx function.
17906         * sysdeps/unix/sysv/linux/accept.S: Remove file.
17907         * sysdeps/unix/sysv/linux/bind.S: Likewise.
17908         * sysdeps/unix/sysv/linux/connect.S: Likewise.
17909         * sysdeps/unix/sysv/linux/getpeername.S: Likewise.
17910         * sysdeps/unix/sysv/linux/getsockname.S: Likewise.
17911         * sysdeps/unix/sysv/linux/getsockopt.S: Likewise.
17912         * sysdeps/unix/sysv/linux/arm/internal_accept4.S: Likewise.
17913         * sysdeps/unix/sysv/linux/arm/internal_recvmmsg.S: Likewise.
17914         * sysdeps/unix/sysv/linux/arm/internal_sendmmsg.S: Likewise.
17915         * sysdeps/unix/sysv/linux/i386/accept4.S: Likewise.
17916         * sysdeps/unix/sysv/linux/i386/internal_accept4.S: Likewise.
17917         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
17918         * sysdeps/unix/sysv/linux/internal_accept4.S: Likewise.
17919         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: Likewise.
17920         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: Likewise.
17921         * sysdeps/unix/sysv/linux/listen.S: Likewise.
17922         * sysdeps/unix/sysv/linux/microblaze/socket.S: Likewise.
17923         * sysdeps/unix/sysv/linux/mips/mips32/internal_accept4.S: Likewise.
17924         * sysdeps/unix/sysv/linux/mips/mips32/internal_recvmmsg.S: Likewise.
17925         * sysdeps/unix/sysv/linux/mips/mips32/internal_sendmmsg.S: Likewise.
17926         * sysdeps/unix/sysv/linux/powerpc/powerpc32/socket.S: Likewise.
17927         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S: Likewise.
17928         * sysdeps/unix/sysv/linux/recv.S: Likewise.
17929         * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
17930         * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
17931         * sysdeps/unix/sysv/linux/s390/s390-32/socket.S: Likewise.
17932         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
17933         * sysdeps/unix/sysv/linux/send.S: Likewise.
17934         * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
17935         * sysdeps/unix/sysv/linux/sendto.S: Likewise.
17936         * sysdeps/unix/sysv/linux/setsockopt.S: Likewise.
17937         * sysdeps/unix/sysv/linux/sh/socket.S: Likewise.
17938         * sysdeps/unix/sysv/linux/shutdown.S: Likewise.
17939         * sysdeps/unix/sysv/linux/socketpair.S: Likewise.
17940         * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Likewise.
17941         * sysdeps/unix/sysv/linux/sparc/sparc64/socket.S: Likewise.
17942         * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
17943         * sysdeps/unix/sysv/linux/hppa/socket.S: Likewise.
17944         * sysdeps/unix/sysv/linux/kernel-features.h: Adjust comment on how
17945         socketcall is implemented in GLIBC.
17947 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
17949         * soft-fp/fmadf4.c: Include <libc-internal.h>.
17950         (__fma): Ignore uninitialized warnings around packing.
17951         * soft-fp/fmasf4.c: Include <libc-internal.h>.
17952         (__fmaf): Ignore uninitialized warnings around packing.
17953         * soft-fp/fmatf4.c: Include <libc-internal.h>.
17954         (__fmal): Ignore uninitialized warnings around packing.
17956         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <libc-internal.h>.
17957         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
17958         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <libc-internal.h>.
17959         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
17961         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Make case 9 in
17962         switch statement into default case.
17963         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Likewise.
17965         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Don't use
17966         a conditional in forcing "inexact".
17967         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
17968         Likewise.
17970 2015-05-22  Roland McGrath  <roland@hack.frob.com>
17972         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
17973         Use a separate INTERNAL_SYSCALL_DECL (err); in a local scope
17974         for each INTERNAL_SYSCALL use.
17976 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
17978         [BZ #438]
17979         * posix/unistd.h (_POSIX2_C_VERSION): New macro.
17980         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): Remove
17981         variable.
17983         [BZ #18444]
17984         * string/basename.c (basename): Rename to __basename and define as
17985         weak alias of __basename.  Use libc_hidden_weak.
17986         * include/string.h (__basename): Declare.  Use libc_hidden_proto.
17987         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Call
17988         __basename instead of basename.
17989         * conform/Makefile (test-xfail-POSIX2008/unistd.h/linknamespace):
17990         Remove variable.
17991         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
17993 2015-05-18  Florian Weimer  <fweimer@redhat.com>
17995         * libio/libioP.h (_IO_MEMBER_TYPE, _IO_CAST_FIELD_ACCESS)
17996         (_IO_JUMPS_FILE_plus): New.
17997         (_IO_WIDE_JUMPS, _IO_CHECK_WIDE, _IO_JUMPS_FUNC): Use
17998         _IO_CAST_FIELD_ACCESS.
17999         * libio/fileops.c (libc_hidden_def, _IO_file_setbuf_mmap,
18000         mmap_remap_check, decide_maybe_mmap): Use _IO_JUMPS_FILE_plus.
18001         * libio/freopen.c (freopen): Likewise.
18002         * libio/freopen64.c (freopen64): Likewise.
18003         * libio/iofopen.c (__fopen_maybe_mmap): Likewise.
18004         * libio/iofopncook.c (_IO_old_fopencookie): Likewise.
18005         * libio/iofwide.c (_IO_fwide): Likewise.
18006         * libio/memstream.c (open_memstream): Likewise.
18007         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
18008         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
18009         * libio/oldiopopen.c (_IO_old_popen): Likewise.
18011 2015-05-21  Joseph Myers  <joseph@codesourcery.com>
18013         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Include <libc-internal.h>.
18014         (__ieee754_lgamma_r): Ignore uninitialized warnings around use of
18015         NADJ.
18016         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Include <libc-internal.h>.
18017         (__ieee754_lgammaf_r): Ignore uninitialized warnings around use of
18018         NADJ.
18019         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Include <libc-internal.h>.
18020         (__ieee754_lgammal_r): Ignore uninitialized warnings around use of
18021         NADJ.
18023         * sysdeps/ieee754/dbl-64/mpa.c (norm): Remove if condition on
18024         (p == 4) case.
18026         * conform/linknamespace.pl (@whitelist): Add re_syntax_options.
18027         * conform/Makefile (test-xfail-UNIX98/regex.h/linknamespace):
18028         Remove variable.
18029         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
18030         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
18031         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
18033 2015-05-21  Florian Weimer  <fweimer@redhat.com>
18035         * stdio-common/vfprintf.c (LABEL, JUMP_TABLE_BASE_LABEL, REF):
18036         Adjust jump table label generation macros.
18038 2015-05-21  Florian Weimer  <fweimer@redhat.com>
18040         * stdio-common/vfprintf.c (vfprintf): Move local variables
18041         args_malloced, specs, specs_malloced, and the code after
18042         do_positional to the printf_positional function.
18043         (printf_positional): New function.
18045 2015-05-21  Florian Weimer  <fweimer@redhat.com>
18047         * stdio-common/vfprintf.c (jump_table): Move out of the vfprintf
18048         function.
18049         (NOT_IN_JUMP_RANGE, CHAR_CLASS, LABEL, REF, JUMP, STEP0_3_TABLE,
18050         STEP4_TABLE, process_arg): Move macro definitions
18051         out of the vfprintf function.  (Cosmetic change only.)
18053 2015-05-21  Carlos O'Donell  <carlos@redhat.com>
18055         * benchtests/Makefile (stdio-common-bench): Define.
18056         (benchset): Add stdio-common-bench.
18057         * sprintf-inputs: New file.
18058         * sprintf-source.c: New file.
18060 2015-05-21  Andreas Schwab  <schwab@suse.de>
18062         [BZ #13028]
18063         [BZ #17053]
18064         * resolv/res_init.c (__res_vinit): Remove use of ext.nsmap member
18065         of struct __res_state.
18066         * resolv/res_send.c (__libc_res_nsend): Likewise.
18067         (get_nsaddr): New function.
18068         (res_ourserver_p, send_vc, reopen): Use it instead of accessing
18069         statp directly.
18071 2015-05-20  Joseph Myers  <joseph@codesourcery.com>
18073         * conform/GlibcConform.pm ($CFLAGS{"POSIX"}): Use
18074         -D_POSIX_C_SOURCE=199506L.
18076         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Require.
18078         * conform/data/unistd.h-data (_POSIX_VERSION): Require.
18079         (_POSIX2_C_VERSION): Require if [POSIX || XPG3 || XPG4 || UNIX98].
18080         Do not mention otherwise.
18081         [POSIX] (_XOPEN_VERSION): Do not expect.
18082         [POSIX] (_XOPEN_XCU_VERSION): Likewise.
18083         [POSIX] (_POSIX2_C_BIND): Likewise.
18084         [POSIX] (_POSIX2_VERSION): Likewise.
18085         [POSIX] (_XOPEN_XPG2): Likewise.
18086         [POSIX] (_XOPEN_XPG3): Likewise.
18087         [POSIX] (_XOPEN_XPG4): Likewise.
18088         [POSIX] (_XOPEN_UNIX): Likewise.
18089         [POSIX] (_POSIX_ADVISORY_INFO): Likewise.
18090         [POSIX] (_POSIX_BARRIERS): Likewise.
18091         [POSIX] (_POSIX_CLOCK_SELECTION): Likewise.
18092         [POSIX] (_POSIX_CPUTIME): Likewise.
18093         [POSIX] (_POSIX_MONOTONIC_CLOCK): Likewise.
18094         [POSIX] (_POSIX_READER_WRITER_LOCKS): Likewise.
18095         [POSIX] (_POSIX_SHELL): Likewise.
18096         [POSIX] (_POSIX_SPAWN): Likewise.
18097         [POSIX] (_POSIX_SPIN_LOCKS): Likewise.
18098         [POSIX] (_POSIX_SPORADIC_SERVER): Likewise.
18099         [POSIX] (_POSIX_THREAD_CPUTIME): Likewise.
18100         [POSIX] (_POSIX_TYPED_MEMORY_OBJECTS): Likewise.
18101         [POSIX] (_POSIX_THREAD_SPORADIC_SERVER): Likewise.
18102         [POSIX] (_XBS5_ILP32_OFF32): Likewise.
18103         [POSIX] (_XBS5_ILP32_OFBIG): Likewise.
18104         [POSIX] (_XBS5_LP64_OFF64): Likewise.
18105         [POSIX] (_XBS5_LPBIG_OFFBIG): Likewise.
18106         [POSIX] (_POSIX_TIMEOUTS): Likewise.
18107         [POSIX] (_POSIX2_PBS): Likewise.
18108         [POSIX] (_POSIX2_PBS_ACCOUNTING): Likewise.
18109         [POSIX] (_POSIX2_PBS_CHECKPOINT): Likewise.
18110         [POSIX] (_POSIX2_PBS_LOCATE): Likewise.
18111         [POSIX] (_POSIX2_PBS_MESSAGE): Likewise.
18112         [POSIX] (_POSIX2_PBS_TRACK): Likewise.
18113         [POSIX] (_POSIX_TIMESTAMP_RESOLUTION): Likewise.
18114         [POSIX] (_CS_XBS5_ILP32_OFF32_CFLAGS): Likewise.
18115         [POSIX] (_CS_XBS5_ILP32_OFF32_LDFLAGS): Likewise.
18116         [POSIX] (_CS_XBS5_ILP32_OFF32_LIBS): Likewise.
18117         [POSIX] (_CS_XBS5_ILP32_OFF32_LINTFLAGS): Likewise.
18118         [POSIX] (_CS_XBS5_ILP32_OFFBIG_CFLAGS): Likewise.
18119         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LDFLAGS): Likewise.
18120         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LIBS): Likewise.
18121         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LINTFLAGS): Likewise.
18122         [POSIX] (_CS_XBS5_LP64_OFF64_CFLAGS): Likewise.
18123         [POSIX] (_CS_XBS5_LP64_OFF64_LDFLAGS): Likewise.
18124         [POSIX] (_CS_XBS5_LP64_OFF64_LIBS): Likewise.
18125         [POSIX] (_CS_XBS5_LP64_OFF64_LINTFLAGS): Likewise.
18126         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_CFLAGS): Likewise.
18127         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LDFLAGS): Likewise.
18128         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LIBS): Likewise.
18129         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LINTFLAGS): Likewise.
18130         [POSIX] (_SC_2_C_BIND): Likewise.
18131         [POSIX] (_SC_2_C_VERSION): Likewise.
18132         [POSIX] (_SC_2_PBS): Likewise.
18133         [POSIX] (_SC_2_PBS_ACCOUNTING): Likewise.
18134         [POSIX] (_SC_2_PBS_CHECKPOINT): Likewise.
18135         [POSIX] (_SC_2_PBS_LOCATE): Likewise.
18136         [POSIX] (_SC_2_PBS_MESSAGE): Likewise.
18137         [POSIX] (_SC_2_PBS_TRACK): Likewise.
18138         [POSIX] (_SC_ATEXIT_MAX): Likewise.
18139         [POSIX] (_SC_BARRIERS): Likewise.
18140         [POSIX] (_SC_BASE): Likewise.
18141         [POSIX] (_SC_CLOCK_SELECTION): Likewise.
18142         [POSIX] (_SC_DEVICE_IO): Likewise.
18143         [POSIX] (_SC_DEVICE_SPECIFIC): Likewise.
18144         [POSIX] (_SC_DEVICE_SPECIFIC_R): Likewise.
18145         [POSIX] (_SC_FD_MGMT): Likewise.
18146         [POSIX] (_SC_FIFO): Likewise.
18147         [POSIX] (_SC_FILE_ATTRIBUTES): Likewise.
18148         [POSIX] (_SC_FILE_LOCKING): Likewise.
18149         [POSIX] (_SC_FILE_SYSTEM): Likewise.
18150         [POSIX] (_SC_IOV_MAX): Likewise.
18151         [POSIX] (_SC_MONOTONIC_CLOCK): Likewise.
18152         [POSIX] (_SC_NETWORKING): Likewise.
18153         [POSIX] (_SC_PAGE_SIZE): Likewise.
18154         [POSIX] (_SC_PASS_MAX): Likewise.
18155         [POSIX] (_SC_PIPE): Likewise.
18156         [POSIX] (_SC_READER_WRITER_LOCKS): Likewise.
18157         [POSIX] (_SC_REGEXP): Likewise.
18158         [POSIX] (_SC_SHELL): Likewise.
18159         [POSIX] (_SC_SIGNALS): Likewise.
18160         [POSIX] (_SC_SINGLE_PROCESS): Likewise.
18161         [POSIX] (_SC_SPIN_LOCKS): Likewise.
18162         [POSIX] (_SC_TYPED_MEMORY_OBJECTS): Likewise.
18163         [POSIX] (_SC_USER_GROUPS): Likewise.
18164         [POSIX] (_SC_USER_GROUPS_R): Likewise.
18165         [POSIX] (_SC_STREAMS): Likewise.
18166         [POSIX] (_SC_XBS5_ILP32_OFF32): Likewise.
18167         [POSIX] (_SC_XBS5_ILP32_OFFBIG): Likewise.
18168         [POSIX] (_SC_XBS5_LP64_OFF64): Likewise.
18169         [POSIX] (_SC_XBS5_LPBIG_OFFBIG): Likewise.
18170         [POSIX] (_SC_THREAD_ROBUST_PRIO_INHERIT): Likewise.
18171         [POSIX] (_SC_THREAD_ROBUST_PRIO_PROTECT): Likewise.
18172         [POSIX] (_PC_FILESIZEBITS): Likewise.
18173         [POSIX] (_PC_REC_INCR_XFER_SIZE): Likewise.
18174         [POSIX] (_PC_REC_MAX_XFER_SIZE): Likewise.
18175         [POSIX] (_PC_REC_MIN_XFER_SIZE): Likewise.
18176         [POSIX] (_PC_REC_XFER_ALIGN): Likewise.
18177         [POSIX] (uid_t): Likewise.
18178         [POSIX] (gid_t): Likewise.
18179         [POSIX] (off_t): Likewise.
18180         [POSIX] (pid_t): Likewise.
18181         [POSIX] (cuserid): Allow.
18182         (_SC_2_CHAR_TERM): Require constant.
18183         (_POSIX_ASYNCHRONOUS_IO): Remove duplicate optional-constant.
18184         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): New
18185         variable.
18187 2015-05-20  Roland McGrath  <roland@hack.frob.com>
18189         * sysdeps/nacl/pthread-pids.h: New file.
18190         * sysdeps/nacl/createthread.c: Include <pthread-pids.h>.
18191         (create_thread): Use __nacl_get_tid to initialize PD->tid.
18193         * nptl/pthread-pids.h: New file.
18194         * sysdeps/unix/sysv/linux/pthread-pids.h: New file.
18195         * nptl/nptl-init.c: Include <pthread-pids.h>.
18196         (__pthread_initialize_minimal_internal):
18197         Call __pthread_initialize_pids instead of set_tid_address syscall.
18199         * sysdeps/unix/sysv/linux/usleep.c: Moved to ...
18200         * sysdeps/posix/usleep.c: ... here.
18202 2015-05-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
18204         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = misc)]: Remove
18205         call_pselect6 object.
18206         [$(subdir) = io]: Remove call_sync_file_range object.
18207         * sysdeps/unix/sysv/linux/i386/call_pselect6.S: Remove file.
18208         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Remove file.
18209         * sysdeps/unix/sysv/linux/i386/pselect.c: Remove file.
18210         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: Remove file.
18212 2015-05-20  Wilco Dijkstra  <wdijkstr@arm.com>
18214         * math/s_cproj.c: Add include "math_private.h".
18215         * math/s_cprojf.c: Likewise.
18216         * math/s_cprojl.c: Likewise.
18218 2015-05-19  Joseph Myers  <joseph@codesourcery.com>
18220         [BZ #18244]
18221         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Ignore explicit
18222         high mantissa bit when testing whether P is a NaN.
18223         * math/libm-test.inc (remainder_test_data): Add more tests.
18224         (remquo_test_data): Likewise.
18226         [BZ #18049]
18227         * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): For exponents
18228         below -32, return the argument, with underflow if subnormal.
18229         * math/auto-libm-test-in: Add more tests of atanh.
18230         * math/auto-libm-test-out: Regenerated.
18232 2015-05-19  Roland McGrath  <roland@hack.frob.com>
18234         [BZ #18434]
18235         * nptl/tst-sem15.c: New file.
18236         * nptl/Makefile (tests): Add it.
18237         * nptl/sem_post.c (__new_sem_post) [!__HAVE_64B_ATOMICS]:
18238         s/<</>>/ to fix typo in EOVERFLOW check.
18239         * sysdeps/sparc/sparc32/sem_post.c (__new_sem_post): Likewise.
18241 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
18243         * manual/strings.texi (envz_remove): Fix typo in safety
18244         annotations.
18246 2015-05-19  Paul Eggert  <eggert@cs.ucla.edu>
18247             Steve Ellcey  <sellcey@imgtec.com>
18249         * inet/rcmd.c (rresvport_af): Change ss to anonymous union
18250         in order to avoid strict alias warnings.
18251         (iruserok_af): Ditto for ra.
18253 2015-05-19  James Lemke  <jwlemke@codesourcery.com>
18255         [BZ #17581]
18256         * malloc/hooks.c
18257         (magicbyte): Convert to a function and avoid returning 0x01.
18258         (mem2mem_check): Avoid using a length byte equal to the magic byte.
18259         (mem2chunk_check): Fix unsigned comparisons to zero.
18260         Hoist defs of sz and magic.
18262 2015-05-19  Richard Henderson  <rth@redhat.com>
18264         * soft-fp/op-common.h (_FP_FROM_INT): Don't write to R.
18266         * sysdeps/alpha/fpu/libm-test-ulps: Update.
18268 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
18270         [BZ #16159]
18271         * malloc/Makefile (tests): New test case tst-malloc-backtrace.
18272         * malloc/arena.c (arena_lock): Check if arena is corrupt.
18273         (reused_arena): Find a non-corrupt arena.
18274         (heap_trim): Pass arena to unlink.
18275         * malloc/hooks.c (malloc_check_get_size): Pass arena to
18276         malloc_printerr.
18277         (top_check): Likewise.
18278         (free_check): Likewise.
18279         (realloc_check): Likewise.
18280         * malloc/malloc.c (malloc_printerr): Add arena argument.
18281         (unlink): Likewise.
18282         (munmap_chunk): Adjust.
18283         (ARENA_CORRUPTION_BIT): New macro.
18284         (arena_is_corrupt): Likewise.
18285         (set_arena_corrupt): Likewise.
18286         (sysmalloc): Use mmap if there are no usable arenas.
18287         (_int_malloc): Likewise.
18288         (__libc_malloc): Don't fail if arena_get returns NULL.
18289         (_mid_memalign): Likewise.
18290         (__libc_calloc): Likewise.
18291         (__libc_realloc): Adjust for additional argument to
18292         malloc_printerr.
18293         (_int_free): Likewise.
18294         (malloc_consolidate): Likewise.
18295         (_int_realloc): Likewise.
18296         (_int_memalign): Don't touch corrupt arenas.
18297         * malloc/tst-malloc-backtrace.c: New test case.
18299         * Makefile (summarize-tests): Fix return value on success.
18301         * manual/string.texi (Envz Functions): Add envz_remove.
18303 2015-05-18  Roland McGrath  <roland@hack.frob.com>
18305         * sysdeps/posix/opendir.c: Include <stdbool.h>.
18306         (invalid_name): New function, broken out of ...
18307         (__opendirat): ... here.  Call it.
18308         (need_isdir_precheck): New function, broken out of ...
18309         (__opendirat): ... here.  Call it.
18310         Use __fxstatat64, not __xstatat64.
18311         (opendir_oflags): New function, broken out of ...
18312         (__opendirat): ... here.  Call it.
18313         (opendir_tail): New function, broken out of ...
18314         (__opendirat): ... here.  Call it.
18315         (__opendir): Call invalid_name, need_isdir_precheck, __xstat64, and
18316         opendir_tail, rather than punting to __opendirat.
18317         (__opendirat): Conditionalize function definition on [IS_IN (libc)].
18319 2015-05-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
18321         * .gitignore: Ignore generated *.pyc.
18323 2015-05-18  Arjun Shankar  <arjun.is@lostca.se>
18325         * include/stdio.h: Define __need_wint_t.
18326         * test-skeleton.c: Avoid `for' loop initial declaration.
18327         * nptl/tst-initializers1.c: Use test-skeleton.c.
18329 2015-05-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
18331         [BZ #18418]
18332         * stdlib/tst-setcontext3.sh: Remove non-portable array use.
18334 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
18336         [BZ #16352]
18337         * sysdeps/i386/fpu/e_atanh.S (dbl_min): New object.
18338         (__ieee754_atanh): Force underflow exception for results with
18339         small absolute value.
18340         * sysdeps/i386/fpu/e_atanhf.S (flt_min): New object.
18341         (__ieee754_atanhf): Force underflow exception for results with
18342         small absolute value.
18343         * sysdeps/ieee754/dbl-64/e_atanh.c: Include <float.h>.
18344         (__ieee754_atanh): Force underflow exception for results with
18345         small absolute value.
18346         * sysdeps/ieee754/flt-32/e_atanhf.c: Include <float.h>.
18347         (__ieee754_atanhf): Force underflow exception for results with
18348         small absolute value.
18349         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Include <float.h>.
18350         (__ieee754_atanhl): Force underflow exception for results with
18351         small absolute value.
18352         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Include <float.h>.
18353         (__ieee754_atanhl): Force underflow exception for results with
18354         small absolute value.
18355         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Include <float.h>.
18356         (__ieee754_atanhl): Force underflow exception for results with
18357         small absolute value.
18358         * math/auto-libm-test-in: Do not allow missing underflow
18359         exceptions from atanh.
18360         * math/auto-libm-test-out: Regenerated.
18362         [BZ #18221]
18363         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use 2**-13 not
18364         2**-28 as threshold for returning x or +/- 1/x.
18365         * math/auto-libm-test-in: Add more tests of tan.
18366         * math/auto-libm-test-out: Regenerated.
18368         [BZ #18220]
18369         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
18370         2**26 not 2**58 as threshold for returning x * (log (x) - 1).
18371         * math/auto-libm-test-in: Add another test of lgamma.
18372         * math/auto-libm-test-out: Regenerated.
18374 2015-05-15  Wilco Dijkstra  <wdijkstr@arm.com>
18376         * stdio-common/printf_fp.c (___printf_fp): Use abs.
18377         * stdlib/gmp-impl.h (ABS): Remove define.  (ABSIZ): Remove.
18378         * sysdeps/ieee754/dbl-64/branred.c (__branred): Use fabs.
18379         * sysdeps/ieee754/dbl-64/dla.h (EADD): Use fabs.
18380         (ESUB): Use fabs.  (ADD2): Use fabs.  (SUB2): Use fabs.
18381         (ADD2A): Use fabs.  (SUB2A): Use fabs.
18382         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use fabs.
18383         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Use fabs.
18384         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use fabs.
18385         (log1): Use fabs.  (my_log2): Use fabs.
18386         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): Use fabs.
18387         * sysdeps/ieee754/dbl-64/mpa.h (ABS): Remove define.
18388         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use fabs.
18389         * sysdeps/ieee754/dbl-64/mydefs.h (ABS): Remove define.
18390         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use fabs.
18391         (__cos): Use fabs.  (slow): Use fabs.  (slow2): Use fabs.
18392         (sloww): Use fabs.  (sloww1): Use fabs.  (sloww2): Use fabs.
18393         (bslow1): Use fabs.  (bslow2): Use fabs.  (cslow2): Use fabs.
18394         (csloww): Use fabs.  (csloww1): Use fabs.  (csloww2): Use fabs.
18395         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Use fabs.
18396         * sysdeps/x86_64/fpu/multiarch/e_log.c: add math.h include.
18398 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
18400         [BZ #18217]
18401         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Use 2**-26 not 2**-56
18402         as threshold for returning 1 - x.
18403         * math/auto-libm-test-in: Add more tests of erfc.
18404         * math/auto-libm-test-out: Regenerated.
18406 2015-05-14  Joseph Myers  <joseph@codesourcery.com>
18408         [BZ #18196]
18409         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Use 2^25 not 2^34 as
18410         threshold for large arguments.
18411         * math/auto-libm-test-in: Add another test of atan.
18412         * math/auto-libm-test-out: Regenerated.
18414         [BZ #16339]
18415         * sysdeps/i386/fpu/s_log1p.S (dbl_min): New object.
18416         (__log1p): Force underflow exception for results with small
18417         absolute value.
18418         * sysdeps/i386/fpu/s_log1pf.S (flt_min): New object.
18419         (__log1pf): Force underflow exception for results with small
18420         absolute value.
18421         * sysdeps/ieee754/dbl-64/s_log1p.c: Include <float.h>.
18422         (__log1p): Force underflow exception for results with small
18423         absolute value.
18424         * sysdeps/ieee754/flt-32/s_log1pf.c: Include <float.h>.
18425         (__log1pf): Force underflow exception for results with small
18426         absolute value.
18427         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Include <float.h>.
18428         (__log1pl): Force underflow exception for results with small
18429         absolute value.
18430         * math/auto-libm-test-in: Do not allow missing underflow
18431         exceptions from log1p.
18432         * math/auto-libm-test-out: Regenerated.
18434 2015-05-14  Jakub Bogusz  <qboosh@pld-linux.org>
18435             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
18437         [BZ #16704]
18438         * sysdeps/unix/make-syscalls.sh: Remove non-portable echo usage.
18440 2015-05-14  Andrew Senkevich  <andrew.senkevich@intel.com>
18442         * Makeconfig (rpath-dirs, all-subdirs): Added mathvec folder.
18443         (libmvec): New variable.
18444         * configure.ac: Added option for mathvec build.
18445         * configure: Regenerated.
18446         * mathvec/Depend: New file.
18447         * mathvec/Makefile: New file.
18448         * shlib-versions: Added libmvec.
18449         * math/Makefile: Added rule for libm.so installation.
18451         * bits/math-vector.h: New file.
18452         * bits/libm-simd-decl-stubs.h: New header.
18453         * math/Makefile (headers): Added new header
18454         libm-simd-decl-stubs.h.
18455         * math/math.h (__MATHCALL_VEC): New macro.
18457         * math/gen-libm-have-vector-test.sh: Script generates series of macros
18458         for conditions in testing functions.
18459         * math/Makefile: Added call of libm-have-vector-test.sh.
18460         * math/libm-test.inc (HAVE_VECTOR): New macros.
18462         * math/libm-test.inc: START refactored.
18463         * math/test-double.c (TEST_MATHVEC): Add define.
18464         * math/test-float.c: Likewise.
18465         * math/test-idouble.c: Likewise.
18466         * math/test-ifloat.c: Likewise.
18467         * math/test-ildoubl.c: Likewise.
18468         * math/test-ldouble.c: Likewise.
18469         * sysdeps/generic/math-tests-arch.h
18470         (INIT_ARCH_EXT, CHECK_ARCH_EXT): New helper macros for runtime
18471         architecture check.
18473         * math/test-double.c (FUNC_TEST): New macro.
18474         * math/test-float.c: Likewise.
18475         * math/test-idouble.c: Likewise.
18476         * math/test-ifloat.c: Likewise.
18477         * math/test-ildoubl.c: Likewise.
18478         * math/test-ldouble.c: Likewise.
18479         * math/libm-test.inc: Use FUNC_TEST for name of tested functions.
18481 2015-05-13  Roland McGrath  <roland@hack.frob.com>
18483         * sysdeps/nacl/fdopendir.c: New file.
18485         * dirent/scandir-tail.c: New file.
18486         * dirent/scandir64-tail.c: New file.
18487         * dirent/Makefile (routines): Add them.
18488         (CFLAGS-scandir-tail.c, CFLAGS-scandir64-tail.c): New variables.
18489         * include/dirent.h (__scandir_tail, __scandir64_tail): Declare them.
18490         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Macro removed.
18491         [!SCANDIR] (SCANDIR_TAIL): New macro.
18492         (SCANDIR): Call __opendir and __scandir_tail, not __scandirat.
18493         * dirent/scandir64.c [!_DIRENT_MATCHES_DIRENT64]
18494         (SCANDIRAT): Macro removed.
18495         (SCANDIR_TAIL): New macro.
18496         * dirent/scandirat.c [!SCANDIRAT] (READDIR): Macro removed.
18497         [!SCANDIRAT] (SCANDIR_TAIL): New macro.
18498         (SCANDIRAT): Just call __opendirat and __scandir_tail.
18499         * dirent/scandirat64.c [!_DIRENT_MATCHES_DIRENT64]
18500         (READDIR): Macro removed.
18501         (SCANDIR_TAIL): New macro.
18502         * sysdeps/unix/sysv/linux/i386/scandir64.c (READDIR): Macro removed.
18503         (SCANDIR_TAIL): New macro.
18505         * dirent/scandirat.c (__scandir_cancel_handler): Function moved ...
18506         * dirent/scandir-cancel.c: ... to this new file.
18507         * dirent/Makefile (routines): Add it.
18508         * dirent/scandirat64.c (SKIP_SCANDIR_CANCEL): Macro removed.
18509         * sysdeps/unix/sysv/linux/i386/scandir64.c
18510         (SKIP_SCANDIR_CANCEL): Macro removed.
18511         * include/dirent.h (__scandir_cancel_handler): Add attribute_hidden.
18513         * dirent/tst-scandir.c: New file.
18514         * dirent/tst-scandir64.c: New file.
18515         * dirent/Makefile (tests): Add them.
18517 2015-05-13  H.J. Lu  <hongjiu.lu@intel.com>
18519         [BZ #18409]
18520         * sysdeps/unix/make-syscalls.sh: Remove a trailing `\'.
18522 2015-05-13  Szabolcs Nagy  <szabolcs.nagy@arm.com>
18524         * sysdeps/aarch64/tls-macros.h (TLS_GD): Add "cc" to the clobber
18525         list.
18527 2015-05-13  Leonhard Holz  <leonhard.holz@web.de>
18529         * benchtests/bench-strcoll.c: New benchmark.
18530         * benchtests/Makefile: Generate locales and run benchmark.
18531         * benchtests/strcoll-inputs/filelist#C: New benchmark input file.
18532         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
18533         * benchtests/strcoll-inputs/lorem_ipsum#ar_SA.UTF-8: Likewise.
18534         * benchtests/strcoll-inputs/lorem_ipsum#cs_CZ.UTF-8: Likewise.
18535         * benchtests/strcoll-inputs/lorem_ipsum#da_DK.UTF-8: Likewise.
18536         * benchtests/strcoll-inputs/lorem_ipsum#el_GR.UTF-8: Likewise.
18537         * benchtests/strcoll-inputs/lorem_ipsum#en_GB.UTF-8: Likewise.
18538         * benchtests/strcoll-inputs/lorem_ipsum#en_US.UTF-8: Likewise.
18539         * benchtests/strcoll-inputs/lorem_ipsum#es_ES.UTF-8: Likewise.
18540         * benchtests/strcoll-inputs/lorem_ipsum#fr_FR.UTF-8: Likewise.
18541         * benchtests/strcoll-inputs/lorem_ipsum#hi_IN.UTF-8: Likewise.
18542         * benchtests/strcoll-inputs/lorem_ipsum#hu_HU.UTF-8: Likewise.
18543         * benchtests/strcoll-inputs/lorem_ipsum#is_IS.UTF-8: Likewise.
18544         * benchtests/strcoll-inputs/lorem_ipsum#it_IT.UTF-8: Likewise.
18545         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Likewise.
18546         * benchtests/strcoll-inputs/lorem_ipsum#ja_JP.UTF-8: Likewise.
18547         * benchtests/strcoll-inputs/lorem_ipsum#pl_PL.UTF-8: Likewise.
18548         * benchtests/strcoll-inputs/lorem_ipsum#pt_PT.UTF-8: Likewise.
18549         * benchtests/strcoll-inputs/lorem_ipsum#ru_RU.UTF-8: Likewise.
18550         * benchtests/strcoll-inputs/lorem_ipsum#sr_RS.UTF-8: Likewise.
18551         * benchtests/strcoll-inputs/lorem_ipsum#sv_SE.UTF-8: Likewise.
18552         * benchtests/strcoll-inputs/lorem_ipsum#tr_TR.UTF-8: Likewise.
18553         * benchtests/strcoll-inputs/lorem_ipsum#vi_VN.UTF-8: Likewise.
18554         * benchtests/strcoll-inputs/lorem_ipsum#zh_CN.UTF-8: Likewise.
18556 2015-05-12  Ondřej Bílka  <neleai@seznam.cz>
18558         * sysdeps/x86_64/multiarch/strcspn.S: Remove plt indirection.
18559         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
18561 2015-05-12  Roland McGrath  <roland@hack.frob.com>
18563         * posix/uname-values.h: New file.
18564         * posix/uname.c: Include that instead of <config-name.h>.
18565         * sysdeps/nacl/uname-values.h: New file.
18566         * sysdeps/arm/nacl/uname-values.h: New file.
18568 2015-05-12  Joseph Myers  <joseph@codesourcery.com>
18570         * conform/linknamespace.pl (list_syms): Remove \[.*?\] before
18571         splitting into fields.
18573 2015-05-12  Leonhard Holz  <leonhard.holz@web.de>
18575         * locale/categories.def: Define _NL_COLLATE_ENCODING_TYPE.
18576         * locale/langinfo.h: Add _NL_COLLATE_ENCODING_TYPE to attribute list.
18577         * locale/localeinfo.h: Add enum collation_encoding_type.
18578         * locale/C-collate.c: Set _NL_COLLATE_ENCODING_TYPE to 8bit.
18579         * programs/ld-collate.c (collate_output): Add encoding type info.
18580         * string/strcoll_l.c (STRDIFF): New function.
18581         * (STRCOLL): Use STRDIFF to skip over equal prefix.
18582         * wcsmbs/wcscoll_l.c: Define STRDIFF.
18584 2015-05-11  Joseph Myers  <joseph@codesourcery.com>
18586         [BZ #18397]
18587         * sysdeps/mips/mips32/fpu/fpu_control.c: Move to ....
18588         * sysdeps/mips/mips32/fpu/fpucw-helpers.c: ... here.  Include
18589         <fpu_control.h> instead of <math/fpu_control.c>.
18590         * sysdeps/mips/mips32/fpu/Makefile: New file.
18592 2015-05-11  Andreas Schwab  <schwab@suse.de>
18594         [BZ #18007]
18595         * nis/nss_compat/compat-grp.c (internal_endgrent): Don't call
18596         nss_endgrent.
18597         (_nss_compat_endgrent): Call nss_endgrent.
18598         * nis/nss_compat/compat-pwd.c (internal_endpwent): Don't call
18599         nss_endpwent.
18600         (_nss_compat_endpwent): Call nss_endpwent.
18601         * nis/nss_compat/compat-spwd.c (internal_setspent): Add parameter
18602         needent, call nss_setspent only if non-zero.
18603         (_nss_compat_setspent, _nss_compat_getspent_r): Pass non-zero.
18604         (internal_endspent): Don't call nss_endspent.
18605         (_nss_compat_endspent): Call nss_endspent.
18606         * nss/nss_files/files-XXX.c (position, last_use, keep_stream):
18607         Remove.  All uses removed.
18608         (internal_setent): Remove parameter stayopen, add parameter
18609         stream.  Use it instead of global variable.
18610         (CONCAT(_nss_files_set,ENTNAME)): Pass global stream.
18611         (internal_endent, internal_getent): Add parameter stream.  Use it
18612         instead of global variable.
18613         (CONCAT(_nss_files_end,ENTNAME))
18614         (CONCAT(_nss_files_get,ENTNAME_r)): Pass global stream.
18615         (_nss_files_get##name##_r): Pass local stream.  Remove locking.
18616         * nss/nss_files/files-alias.c (position, last_use): Remove.  All
18617         uses removed.
18618         (internal_setent, internal_endent): Add parameter stream.  Use it
18619         instead of global variable.
18620         (_nss_files_setaliasent, _nss_files_endaliasent): Pass global
18621         stream.
18622         (get_next_alias): Add parameter stream.
18623         (_nss_files_getaliasent_r): Pass global stream.
18624         (_nss_files_getaliasbyname_r): Pass local stream.  Remove locking.
18625         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r)
18626         (_nss_files_gethostbyname4_r): Pass local stream to
18627         internal_setent, internal_getent and internal_endent.  Remove
18628         locking.
18630 2015-05-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
18632         * tst-strfmon1.c (tests): Update expected currency symbol.
18634 2015-05-08  Roland McGrath  <roland@hack.frob.com>
18636         * sysdeps/nacl/gethostname.c: New file.
18638 2015-05-08  Joseph Myers  <joseph@codesourcery.com>
18640         * math/auto-libm-test-in: Add more tests of csqrt, lgamma, log10
18641         and sinh.
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 2015-05-08  Carlos O'Donell  <carlos@redhat.com>
18648         [BZ #18125]
18649         * stdlib/tst-setcontext3.c: New file.
18650         * stdlib/tst-setcontext3.sh: New file.
18651         * stdlib/Makefile (tests): Add tst-setcontext3.
18652         (tst-setcontext3.out): Custom rule to run tst-setcontext3.sh
18653         to verify test program created output file.
18654         * sysdeps/unix/sysv/linux/aarch64/setcontext.S: Call exit.
18655         * sysdeps/unix/sysv/linux/arm/setcontext.S: Likewise.
18656         * sysdeps/unix/sysv/linux/hppa/setcontext.S: Likewise.
18657         * sysdeps/unix/sysv/linux/nios2/setcontext.S: Likewise.
18659 2015-05-06  Roland McGrath  <roland@hack.frob.com>
18661         [BZ #18383]
18662         * elf/tst-tlsalign.c: New file.
18663         * elf/tst-tlsalign-static.c: New file.
18664         * elf/tst-tlsalign-lib.c: New file.
18665         * elf/Makefile [$(build-shared) = yes] (tests): Add tst-tlsalign.
18666         (tests-static): Add tst-tlsalign-static.
18667         (modules-names): Add tst-tlsalign-lib.
18668         (test-xfail-tst-tlsalign): New variable.
18669         (test-xfail-tst-tlsalign-static): New variable.
18671         * sysdeps/nacl/nacl-test-wrapper.sh (NACL_LOADER):
18672         Use elf_loader_${arch}.nexe rather than loader_${arch}.nexe.
18674 2015-05-06  Joseph Myers  <joseph@codesourcery.com>
18676         * math/auto-libm-test-in: Add more tests of acosh, atanh, cos,
18677         csqrt, erfc, sin and sincos.
18678         * math/auto-libm-test-out: Regenerated.
18679         * sysdeps/i386/fpu/libm-test-ulps: Update.
18680         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18682 2015-05-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
18684         * sysdeps/aarch64/libm-test-ulps: Update.
18686 2015-05-05  Joseph Myers  <joseph@codesourcery.com>
18688         * math/auto-libm-test-in: Add more tests of acosh, atanh, clog,
18689         clog10, csqrt, erfc, exp2, expm1, log10, log2 and sinh.
18690         * math/auto-libm-test-out: Regenerated.
18691         * sysdeps/i386/fpu/libm-test-ulps: Update.
18692         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18694 2015-04-30  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
18696         [BZ #18265]
18697         * wcsmbs/wchar.h (wcscpy): Add __nonnull attribute.
18698         (wcsncpy): Likewise.
18700 2015-05-05  Florian Weimer  <fweimer@redhat.com>
18702         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
18703         Assume __ASSUME_FALLOCATE is always true.
18704         * sysdeps/unix/sysv/linux/posix_fallocate64.c
18705         (__posix_fallocate64_l64): Likweise.
18706         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c
18707         (posix_fallocate): Likewise.
18708         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c
18709         (__posix_fallocate64_l64): Likewise.
18710         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
18711         [!__ASSUME_FALLOCATE]: Add comment.
18713 2015-05-05  Florian Weimer  <fweimer@redhat.com>
18715         * sysdeps/unix/sysv/linux/i386/Makefile
18716         (sysdep_routines) [$(subdir) = misc]: Remove call_fallocate.
18717         (sysdep_routines) [$(subdir) = io]: Add libc-do-syscall.
18718         * sysdeps/unix/sysv/linux/i386/call_fallocate.S: Remove.
18719         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
18720         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
18721         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c: Likewise.
18722         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c: Likewise.
18724 2015-05-02  Joseph Myers  <joseph@codesourcery.com>
18726         * math/auto-libm-test-in: Add more tests of atan, clog, clog10,
18727         cos, csqrt, erf, erfc, exp2, lgamma, log1p, sin, sincos, tanh and
18728         tgamma.
18729         * math/auto-libm-test-out: Regenerated.
18730         * sysdeps/i386/fpu/libm-test-ulps: Update.
18731         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18733 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
18735         * math/auto-libm-test-in: Add more tests of tgamma.
18736         * math/auto-libm-test-out: Regenerated.
18737         * sysdeps/i386/fpu/libm-test-ulps: Update.
18738         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18740         * math/auto-libm-test-in: Add more tests of tanh.
18741         * math/auto-libm-test-out: Regenerated.
18742         * sysdeps/i386/fpu/libm-test-ulps: Update.
18743         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18745         * math/auto-libm-test-in: Add more tests of tan.
18746         * math/auto-libm-test-out: Regenerated.
18747         * sysdeps/i386/fpu/libm-test-ulps: Update.
18748         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18750         * math/auto-libm-test-in: Add more tests of cos, sin and sincos.
18751         * math/auto-libm-test-out: Regenerated.
18752         * sysdeps/i386/fpu/libm-test-ulps: Update.
18753         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18755         * math/auto-libm-test-in: Add another test of pow.
18756         * math/auto-libm-test-out: Regenerated.
18757         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18759         * math/auto-libm-test-in: Add more tests of lgamma.
18760         * math/auto-libm-test-out: Regenerated.
18761         * sysdeps/i386/fpu/libm-test-ulps: Update.
18762         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18764         * math/auto-libm-test-in: Add more tests of log, log10, log2 and
18765         log1p.
18766         * math/auto-libm-test-out: Regenerated.
18767         * sysdeps/i386/fpu/libm-test-ulps: Update.
18768         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18770 2015-05-01  Mark Wielaard  <mjw@redhat.com>
18772         * elf/elf.h: Add SHF_COMPRESSED section flag, Elf32_Chdr and
18773         Elf64_Chdr structs and ELFCOMPRESS constants.
18775 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
18777         * math/auto-libm-test-in: Add more tests of exp, exp10, exp2 and
18778         expm1.
18779         * math/auto-libm-test-out: Regenerated.
18780         * sysdeps/i386/fpu/libm-test-ulps: Update.
18781         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18783         * math/auto-libm-test-in: Add more tests of erf and erfc.
18784         * math/auto-libm-test-out: Regenerated.
18785         * sysdeps/i386/fpu/libm-test-ulps: Update.
18786         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18788 2015-05-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
18790         * config.h.in (HAVE_AARCH64_BE): Add.
18792 2015-04-30  Joseph Myers  <joseph@codesourcery.com>
18794         * math/auto-libm-test-in: Add more tests of csqrt.
18795         * math/auto-libm-test-out: Regenerated.
18796         * sysdeps/i386/fpu/libm-test-ulps: Update.
18797         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18799         * math/auto-libm-test-in: Add more tests of cosh and sinh.
18800         * math/auto-libm-test-out: Regenerated.
18801         * sysdeps/i386/fpu/libm-test-ulps: Update.
18802         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18804         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: Remove file.
18806 2015-04-29  Roland McGrath  <roland@hack.frob.com>
18808         * sysdeps/nacl/bits/typesizes.h (__CLOCK_T_TYPE): Use __SLONGWORD_TYPE.
18809         * sysdeps/nacl/nacl-interfaces.h (nacl_abi_clock_t): Use clock_t.
18811         * sysdeps/nacl/euidaccess.c (euidaccess): Renamed to __euidaccess.
18812         (euidaccess, eaccess): Define as weak aliases.
18814         * sysdeps/nacl/bits/typesizes.h (__SUSECONDS_T_TYPE): Use
18815         __SLONGWORD_TYPE rather than __S32_TYPE.  They are the same size,
18816         but __suseconds_t is often 'long int' so some sources assume that
18817         type is being used (e.g. they use %ld to print tv_usec).
18819 2015-04-29  Florian Weimer  <fweimer@redhat.com>
18821         [BZ #18007]
18822         * nss/nss_files/files-XXX.c (CONCAT): Always enable stayopen.
18823         (CVE-2014-8121)
18824         * nss/tst-nss-getpwent.c: New file.
18825         * nss/Makefile (tests): Add new test.
18827 2015-04-28  Joseph Myers  <joseph@codesourcery.com>
18829         [BZ #18346]
18830         * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Handle all
18831         exponents less than 48 as cases where high part of mantissa needs
18832         examining to determine whether argument is integral.
18833         * math/libm-test.inc (round_test_data): Add more tests.
18835 2015-04-28  Mark Wielaard  <mjw@redhat.com>
18837         * elf/elf.h (SHF_EXCLUDE): Use unsigned 1 for shift.
18839 2015-04-27  David S. Miller  <davem@davemloft.net>
18841         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Remove
18842         __tls_get_addr.
18843         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
18845 2015-04-27  H.J. Lu  <hongjiu.lu@intel.com>
18847         [BZ#18333]
18848         * time/tzset.c (__tzfile_read): Check tzspec_len == 0.
18850 2015-04-27  Florian Weimer  <fweimer@redhat.com>
18852         [BZ#18333]
18853         * time/tzset.c (parse_tzname): Return error on memory allocation
18854         failure.
18855         * test-skeleton.c (struct temp_name_list): Change type of name
18856         member to non-const.
18857         (add_temp_file): Create a copy of the file name.
18858         (delete_temp_files): Deallocate memory.
18859         (create_temp_file): Add comment.
18861 2015-04-24  Florian Weimer  <fweimer@redhat.com>
18863         * io/posix_fallocate.c (posix_fallocate): Do not set errno.
18864         * io/posix_fallocate64.c (posix_fallocate64): Likewise.
18866 2015-04-24  Roland McGrath  <roland@hack.frob.com>
18868         * sysdeps/arm/configure.ac (PI_STATIC_AND_HIDDEN): Define it.
18869         * sysdeps/arm/configure: Regenerated.
18871 2015-04-24  Florian Weimer  <fweimer@redhat.com>
18873         [BZ #17715]
18874         * time/tzfile.c (__tzfile_read): Check for large values of
18875         tzh_ttisstdcnt and tzh_ttisgmtcnt.  Use malloc instead of alloca.
18876         * time/tzset.c (__tzstring_len): New function, based on the old
18877         __tzstring function.
18878         (__tzstring): Call __tzstring_len.
18879         (parse_tzname): New helper function extracted from
18880         __tzset_parse_tz.  Call __tzstring_len, without making a copy of
18881         the input string.
18882         (parse_offset): New helper function extracted from
18883         __tzset_parse_tz.  Replace switch with fallthrough with
18884         initialization before sscanf.
18885         (parse_rule): Likewise.
18886         (__tzset_parse_tz): Rewrite using the new helper functions.  Use
18887         new-style function definition.
18888         * timezone/Makefile (tests): Add tst-tzset.
18889         (tst-tzset.out): Dependencies on time zone files.
18890         (tst-tzset-ENV): Set TZDIR.
18891         (testdata/XT%): Copy crafted time zone files.
18892         * timezone/README: Mention crafted time zone files.
18893         * timezone/testdata/XT1, timezone/testdata/XT2,
18894         timezone/testdata/XT3, timezone/testdata/XT4: New time zone test
18895         files.
18896         * timezone/tst-tzset.c: New test.
18898 2015-04-24  Florian Weimer  <fweimer@redhat.com>
18900         * Makeconfig (+gccwarn): Remove -Winline.
18902 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
18904         * sysdeps/s390/fpu/libm-test-upls: Regenerate.
18906 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
18908         * NEWS: Mention sysconf() cache information support for s390.
18909         * sysdeps/unix/sysv/linux/s390/sysconf.c: New File.
18911 2015-04-22  Wilco Dijkstra  <wdijkstr@arm.com>
18913         * math/k_casinh.c (__kernel_casinh): Use __copysign.
18914         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c
18915         (__nearbyint): Likewise.
18916         * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c
18917         (copysignl): Likewise.
18919 2015-04-21  Arjun Shankar  <arjun.is@lostca.se>
18921         [BZ #18287]
18922         * resolv/nss_dns/dns-host.c (getanswer_r): Adjust buffer length
18923         based on padding.  (CVE-2015-1781)
18925 2015-04-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
18927         * nptl/pthread_cond_timedwait.c: Change include bits/libc-vdso.h to just
18928         libc-vdso.h.
18929         * sysdeps/powerpc/powerpc32/backtrace.c: Likewise.
18930         * sysdeps/powerpc/powerpc64/backtrace.c: Likewise.
18931         * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
18932         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
18933         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
18934         * sysdeps/unix/sysv/linux/gettimeofday.c: Likewise.
18935         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Likewise.
18936         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
18937         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
18938         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Likewise.
18939         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
18940         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
18941         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
18942         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise.
18943         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
18944         * sysdeps/unix/sysv/linux/aarch64/bits/libc-vdso.h: Move to ...
18945         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: ... here.
18946         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Move to ...
18947         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: ... here.
18948         * sysdeps/unix/sysv/linux/s390/bits/libc-vdso.h: Move to ...
18949         * sysdeps/unix/sysv/linux/s390/libc-vdso.h: ... here.
18950         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Move to ...
18951         * sysdeps/unix/sysv/linux/tile/libc-vdso.h: ... here.
18953 2015-04-19  Paul Eggert  <eggert@cs.ucla.edu>
18955         * stdlib/setenv.c (__add_to_environ):
18956         Dump core quickly if setenv (..., NULL, ...) is called.
18957         This time, do it the right way, and pacify GCC with a pragma.
18959 2015-04-17  Roland McGrath  <roland@hack.frob.com>
18961         * elf/dl-close.c (_dl_close_worker) [DL_NNS == 1]: Just assert that
18962         IMAP->l_prev cannot be null, and #if out the code for the contrary
18963         case, avoiding 'assert (nsid != LM_ID_BASE)' making the compiler
18964         believe that NS (&_dl_ns[NSID]) could point outside the array.
18966         * elf/dl-open.c (_dl_open): Use __glibc_unlikely in invalid namespace
18967         check.  Reject NSID < 0 and NSID >= dl_nns, and check for DL_NNS==1,
18968         before using NSID as an index.
18970 2015-04-17  Il'ya Malakhov <ilmalakhov@yandex.ru>
18972         [BZ #17825]
18973         * sysdeps/sparc/sparc64/memchr.S: Fix signedness handling of length.
18974         * sysdeps/sparc/sparc64/memcmp.S: Likewise.
18975         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
18977 2015-04-17  Roland McGrath  <roland@hack.frob.com>
18979         Add preliminary port to Google Native Client on ARM.
18980         * abi-tags (.*-.*-nacl.*): New entry.
18981         * sysdeps/arm/nacl: New directory.
18982         * sysdeps/nacl: New directory.
18984 2015-04-16  David S. Miller  <davem@davemloft.net>
18986         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Make use of
18987         lowlevellock-futex.h
18989 2015-04-16  Chris Metcalf  <cmetcalf@ezchip.com>
18991         * sysdeps/tile/configure.ac: New file.
18992         * sysdeps/tile/configure: Regenerated.
18994 2015-04-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
18996         * wcsmbs/wcschr.c [WCSCHR] (wcschr): Define as __wcschr.  Remove
18997         conditionals for weak_alias and libc_hidden_weak.
18998         * sysdeps/i386/i686/multiarch/wcschr-c.c [libc]: Undefine
18999         libc_hidden_weak and weak_alias.
19000         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c [libc]:
19001         Undefine libc_hidden_weak. Define libc_hidden_def for SHARED builds
19002         and weak_alias for static one.
19004 2015-04-15  David S. Miller  <davem@davemloft.net>
19006         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
19008 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
19010         [BZ #18206]
19011         * wcsmbs/wcsncmp.c (wcsncmp): Compare as wchar_t, not wint_t.
19012           Use signed comparision instead of substraction to avoid
19013           overflow bug.
19014         * localedata/tests-mbwc/tst_wcsncmp.c (tst_wcsncmp):
19015           Take the sign of ret.
19016         * localedata/tests-mbwc/dat_wcsncmp.c (tst_wcsncmp_loc):
19017           Do not expect precise return values. Only the sign matters.
19018         * wcsmbs/Makefile (strop-tests): Add wcsncmp.
19019         * wcsmbs/test-wcsncmp.c: New File.
19020         * string/test-strncmp.c: Add wcsncmp support.
19022 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
19024         [BZ #6792]
19025         * math/w_log1p.c: New file.
19026         * math/w_log1pf.c: Likewise.
19027         * math/w_log1pl.c: Likewise.
19028         * math/Makefile (libm-calls): Add w_log1p.
19029         * math/s_log1pl.c (log1pl): Remove weak_alias.
19030         * sysdeps/i386/fpu/s_log1p.S (log1p): Likewise.
19031         * sysdeps/i386/fpu/s_log1pf.S (log1pf): Likewise.
19032         * sysdeps/i386/fpu/s_log1pl.S (log1pl): Likewise.
19033         * sysdeps/x86_64/fpu/s_log1pl.S (log1pl): Likewise.
19034         * sysdeps/ieee754/dbl-64/s_log1p.c (log1p): Likewise.
19035         [NO_LONG_DOUBLE] (log1pl): Likewise.
19036         * sysdeps/ieee754/flt-32/s_log1pf.c (log1pf): Likewise.
19037         * sysdeps/ieee754/ldbl-128/s_log1pl.c (log1pl): Likewise.
19038         * sysdeps/ieee754/ldbl-64-128/s_log1pl.c
19039         (log1p): Remove long_double_symbol.
19040         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (log1pl): Likewise.
19041         * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: New file.
19042         * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Likewise.
19043         * sysdeps/m68k/m680x0/fpu/s_log1p.c: Define empty weak_alias to
19044         remove weak_alias for corresponding log1p function.
19045         * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Likewise.
19046         * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
19047         * sysdeps/ia64/fpu/w_log1p.c: New file.
19048         * sysdeps/ia64/fpu/w_log1pf.c: Likewise.
19049         * sysdeps/ia64/fpu/w_log1pl.c: Likewise.
19050         * math/libm-test.inc (log1p_test_data): Add errno expectations.
19052 2015-04-10  Joseph Myers  <joseph@codesourcery.com>
19054         [BZ #18247]
19055         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Decrease minimum
19056         decimal exponent by 1.
19057         * stdlib/tst-strtod-round-data: Add more tests.
19058         * stdlib/tst-strtod-round.c (tests): Regenerated.
19060 2015-04-09  Joseph Myers  <joseph@codesourcery.com>
19062         * math/auto-libm-test-in: Add more tests of clog and clog10.
19063         * math/auto-libm-test-out: Regenerated.
19064         * sysdeps/i386/fpu/libm-test-ulps: Update.
19065         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19067 2015-04-09  Roland McGrath  <roland@hack.frob.com>
19069         * Makeconfig (module-cppflags): Exclude all .v.i files.
19070         (skip-module-cppflags): Variable removed.
19072         * configure.ac (libc_config_ok): Initialize before reading
19073         preconfigure scripts, not after.
19074         * configure: Regenerated.
19076         * test-skeleton.c (TIMEOUT): Move #define to top level.
19077         (main): Grok environment variable TEST_DIRECT.  If set, print
19078         test expectation details into that file and then behave as if
19079         given --direct.
19081 2015-04-09  Florian Weimer  <fweimer@redhat.com>
19083         * malloc/tst-scratch_buffer.c (do_test): Suppress truncation
19084         warning on 32-bit.
19086 2015-04-08  David S. Miller  <davem@davemloft.net>
19088         * sysdeps/sparc/fpu/libm-test-ulps: Update.
19090 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
19092         * math/auto-libm-test-in: Add more tests of atanh.
19093         * math/auto-libm-test-out: Regenerated.
19094         * sysdeps/i386/fpu/libm-test-ulps: Update.
19095         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19097         * math/auto-libm-test-in: Add more tests of atan.
19098         * math/auto-libm-test-out: Regenerated.
19099         * sysdeps/i386/fpu/libm-test-ulps: Update.
19100         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19102 2015-04-08  Florian Weimer  <fweimer@redhat.com>
19104         * elf/pldd.c (main): Rewrite to use struct
19105         scratch_buffer instead of extend_alloca.
19106         * elf/pldd-xx.c (find_maps): Likewise.
19107         * grp/initgroups.c: Include <scratch_buffer.h> instead of
19108         <alloca.h>.
19109         * grp/compat-initgroups.c (compat_call): Rewrite to use struct
19110         scratch_buffer instead of extend_alloca.
19111         * nscd/initgrcache.c: Include <scratch_buffer.h>, now needed by
19112         grp/compat-initgroups.c.
19113         * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups_dyn):
19114         Rewrite to use struct scratch_buffer instead of extend_alloca.
19115         * inet/getnameinfo.c (nrl_domainname, getnameinfo): Likewise.
19116         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
19118 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
19120         * math/auto-libm-test-in: Add more tests of cbrt.
19121         * math/auto-libm-test-out: Regenerated.
19122         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19124         * math/auto-libm-test-in: Add more tests of cabs.
19125         * math/auto-libm-test-out: Regenerated.
19126         * sysdeps/i386/fpu/libm-test-ulps: Update.
19127         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19129         [BZ #18210]
19130         [BZ #18211]
19131         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <fenv.h>.
19132         (__ieee754_atan2): Set FE_TONEAREST mode for internal
19133         computations.
19134         * math/auto-libm-test-in: Add more tests of atan2, carg, clog and
19135         clog10.
19136         * math/auto-libm-test-out: Regenerated.
19137         * sysdeps/i386/fpu/libm-test-ulps: Update.
19138         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19140         [BZ #18197]
19141         * sysdeps/ieee754/dbl-64/s_atan.c: Include <fenv.h>.
19142         (atan): Set FE_TONEAREST mode for internal computations.
19143         * math/auto-libm-test-in: Add more tests of atan.
19144         * math/auto-libm-test-out: Regenerated.
19146 2015-04-07  James Cowgill  <james410@cowgill.org.uk>
19148         [BZ #17930]
19149         * sysdeps/unix/sysv/linux/mips/bits/shm.h (SHM_NORESERVE): Define.
19151 2015-04-07  Florian Weimer  <fweimer@redhat.com>
19153         * malloc/scratch_buffer_grow_preserve.c: Include <string.h>
19155 2015-04-07  Florian Weimer  <fweimer@redhat.com>
19157         * include/scratch_buffer.h: New file.
19158         * malloc/scratch_buffer_grow.c: Likewise.
19159         * malloc/scratch_buffer_grow_preserve.c: Likewise.
19160         * malloc/scratch_buffer_set_array_size.c: Likewise.
19161         * malloc/tst-scratch_buffer.c: Likewise.
19162         * malloc/Makefile (routines): Add scratch_buffer_grow.
19163         (tests): Add test case.
19164         * malloc/Versions (GLIBC_PRIVATE): Export
19165         __libc_scratch_buffer_grow, __libc_scratch_buffer_grow_preserve,
19166         __libc_scratch_buffer_set_array_size.
19168 2015-04-06  Richard Henderson  <rth@redhat.com>
19170         * sysdeps/unix/alpha/sysdep.h: Unconditionally include dl-sysdep.h.
19171         * sysdeps/alpha/fpu/libm-test-ulps: Update.
19173         * math/test-fenvinline.c (feenable_test): Cast fe_exc to
19174         unsigned int before printing.
19176 2015-04-03  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
19178         [BZ #17596]
19179         * wcsmbs/mbrtowc.c (__mbrtowc): Add check for n=0.
19180         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
19182 2015-04-02  Florian Weimer  <fweimer@redhat.com>
19184         * include/libc-internal.h (libc_max_align_t): Define.
19186 2015-04-02  Andreas Schwab  <schwab@suse.de>
19188         [BZ #16850]
19189         * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h: New file.
19191 2015-04-02  Mel Gorman  <mgorman@suse.de>
19193         [BZ #17195]
19194         * malloc/arena.c (free): Apply trim threshold to per-thread heaps
19195         as well as the main arena.
19197 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
19199         [BZ #18185]
19200         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo): Limit threads
19201         sharing L2 cache to 2 for Silvermont/Knights Landing.
19203 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
19205         [BZ #17711]
19206         * config.make.in (have-protected-data): New.
19207         * configure.ac: Check linker support for protected data symbol.
19208         * configure: Regenerated.
19209         * elf/Makefile (modules-names): Add tst-protected1moda and
19210         tst-protected1modb if $(have-protected-data) is yes.
19211         (tests): Add tst-protected1a and tst-protected1b if
19212         $(have-protected-data) is yes.
19213         ($(objpfx)tst-protected1a): New.
19214         ($(objpfx)tst-protected1b): Likewise.
19215         (tst-protected1modb.so-no-z-defs): Likewise.
19216         * elf/tst-protected1a.c: New file.
19217         * elf/tst-protected1b.c: Likewise.
19218         * elf/tst-protected1mod.h: Likewise.
19219         * elf/tst-protected1moda.c: Likewise.
19220         * elf/tst-protected1modb.c: Likewise.
19222 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
19224         [BZ #17711]
19225         * elf/dl-lookup.c (do_lookup_x): When UNDEF_MAP is NULL, which
19226         indicates it is called from do_lookup_x on relocation against
19227         protected data, skip the data definion in the executable from
19228         copy reloc.
19229         (_dl_lookup_symbol_x): Pass ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA,
19230         instead of ELF_RTYPE_CLASS_PLT, to do_lookup_x for
19231         EXTERN_PROTECTED_DATA relocation against STT_OBJECT symbol.
19232         * sysdeps/generic/ldsodefs.h * (ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA):
19233         New.  Defined to 4 if DL_EXTERN_PROTECTED_DATA is defined,
19234         otherwise to 0.
19235         * sysdeps/i386/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
19236         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Set class
19237         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_386_GLOB_DAT.
19238         * sysdeps/x86_64/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
19239         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Set class
19240         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_X86_64_GLOB_DAT.
19242 2015-03-28  Martin Galvan  <martin.galvan@tallertechnologies.com>
19244         * sysdeps/nptl/pthread.h: Remove duplicate definition of
19245         PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP.
19247 2015-03-27  Martin Galvan  <martin.galvan@tallertechnologies.com>
19249         * sysdeps/i386/nptl/tls.h: Swap comments between THREAD_SETMEM and
19250         THREAD_SETMEM_NC.
19251         * sysdeps/x86_64/nptl/tls.h: Ditto.
19253 2015-03-27  Roland McGrath  <roland@hack.frob.com>
19255         * dlfcn/tststatic.c (main): Converted to ...
19256         (do_test): ... this.
19257         (TEST_FUNCTION): New macro.
19258         Include test-skeleton.c.
19260 2015-03-26  Alan Modra  <amodra@gmail.com>
19262         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_fixup_plt):
19263         Don't segfault if ifunc resolver returns a NULL.  Do set plt to
19264         zero for undefined weak.
19265         (elf_machine_plt_conflict): Similarly.
19267 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
19269         * math/auto-libm-test-in: Add more tests of acosh, asinh and
19270         atanh.
19271         * math/auto-libm-test-out: Regenerated.
19272         * sysdeps/i386/fpu/libm-test-ulps: Update.
19273         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19275         * math/auto-libm-test-in: Add another test of asin.
19276         * math/auto-libm-test-out: Regenerated.
19277         * sysdeps/i386/fpu/libm-test-ulps: Update.
19278         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19280         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (LLL_EBX_LOAD):
19281         Remove macro.
19282         (LLL_EBX_REG): Likewise.
19283         (LLL_ENTER_KERNEL): Likewise.
19285         * math/auto-libm-test-in: Add more tests of asin.
19286         * math/auto-libm-test-out: Regenerated.
19287         * sysdeps/i386/fpu/libm-test-ulps: Update.
19288         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19290         [BZ #18138]
19291         * sysdeps/unix/sysv/linux/i386/sysdep.h (struct
19292         libc_do_syscall_args): New structure.
19293         (INTERNAL_SYSCALL_MAIN_0): New macro.
19294         (INTERNAL_SYSCALL_MAIN_1): Likewise.
19295         (INTERNAL_SYSCALL_MAIN_2): Likewise.
19296         (INTERNAL_SYSCALL_MAIN_3): Likewise.
19297         (INTERNAL_SYSCALL_MAIN_4): Likewise.
19298         (INTERNAL_SYSCALL_MAIN_5): Likewise.
19299         (INTERNAL_SYSCALL_MAIN_6): Likewise.  Call __libc_do_syscall.
19300         (INTERNAL_SYSCALL): Define to use INTERNAL_SYSCALL_MAIN_##nr.
19301         Replace conditional definitions by conditional definitions of ....
19302         (INTERNAL_SYSCALL_MAIN_INLINE): ... this.  New macro.
19303         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: New file.
19304         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = nptl]
19305         (libpthread-sysdep_routines): Add libc-do-syscall.
19306         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: Remove file.
19307         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (SYS_futex): Define
19308         to __NR_futex not 240.
19310 2015-03-25  Alan Modra  <amodra@gmail.com>
19312         * NEWS: Advertise TLS optimization.
19313         * elf/elf.h (R_PPC_TLSGD, R_PPC_TLSLD, DT_PPC_OPT, PPC_OPT_TLS): Define.
19314         (DT_PPC_NUM): Increment.
19315         * elf/dynamic-link.h (HAVE_STATIC_TLS): Define.
19316         (CHECK_STATIC_TLS): Use here.
19317         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Optimize
19318         TLS descriptors.
19319         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
19320         * sysdeps/powerpc/dl-tls.c: New file.
19321         * sysdeps/powerpc/Versions: Add __tls_get_addr_opt.
19322         * sysdeps/powerpc/tst-tlsopt-powerpc.c: New tls test.
19323         * sysdeps/unix/sysv/linux/powerpc/Makefile: Add new test.
19324         Build tst-tlsmod2.so with --no-tls-get-addr-optimize.
19325         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Update.
19326         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
19327         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
19329 2015-03-25  Alan Modra  <amodra@gmail.com>
19331         * sysdeps/powerpc/powerpc64/configure.ac: Correct "linker support
19332         for overlapping .opd entries" to "support...".
19333         * sysdeps/powerpc/powerpc64/configure: Regenerate
19335 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
19337         * math/auto-libm-test-in: Add more tests of acos.
19338         * math/auto-libm-test-out: Regenerated.
19339         * sysdeps/i386/fpu/libm-test-ulps: Update.
19340         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19342         * math/auto-libm-test-in: Add more tests of expm1.
19343         * math/auto-libm-test-out: Regenerated.
19344         * sysdeps/i386/fpu/libm-test-ulps: Update.
19345         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19347 2015-03-24  Joseph Myers  <joseph@codesourcery.com>
19349         * math/auto-libm-test-in: Add more tests of cosh and sinh.
19350         * math/auto-libm-test-out: Regenerated.
19351         * sysdeps/i386/fpu/libm-test-ulps: Update.
19352         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19354         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
19355         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19357         * math/auto-libm-test-in: Add more tests of log2.
19358         * math/auto-libm-test-out: Regenerated.
19359         * sysdeps/i386/fpu/libm-test-ulps: Update.
19360         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19362 2015-03-23  Roland McGrath  <roland@hack.frob.com>
19364         * libio/iofdopen.c: Move FD_FLAGS declaration into its first use,
19365         inside [F_GETFL].  Remove POSIX_MODE local variable, just test the
19366         _IO_IS_APPENDING bit in READ_WRITE instead.
19368 2015-03-23  Florian Weimer  <fweimer@redhat.com>
19370         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
19371         (__determine_cpumask_size): Replace extend_alloca with a
19372         variable-length array.  Do not treat res == 0 as an error.
19374 2015-03-23  Florian Weimer  <fweimer@redhat.com>
19376         [BZ #18100]
19377         * posix/wordexp.c (eval_expr_multdiv): Check for division by zero
19378         and integer overflow.
19379         * posix/wordexp-test.c (test_case): Add divide-by-zero test.
19380         (main): Add integer overflow tests.
19381         * manual/pattern.texi (Calling Wordexp): Document additional use
19382         for WRDE_SYNTAX.
19384 2015-03-23  Alan Modra  <amodra@gmail.com>
19386         * config.h.in: Remove HAVE_ASM_PPC_REL16.
19387         * sysdeps/powerpc/powerpc32/tls-macros.h: Remove HAVE_ASM_PPC_REL16
19388         and false branch of conditional.
19389         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
19390         Likewise.
19392 2015-03-21  Samuel Thibault  <samuel.thibault@ens-lyon.org
19394         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Depend on
19395         libc-modules.h
19396         * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Remove
19397         unused declaration of _hurd_intr_rpc_msg_in_trap.
19398         * mach/mach_init.c (__mach_init): Test whether HAVE_HOST_PAGE_SIZE is
19399         defined instead of whether it is non-zero.
19400         * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Use "+m"
19401         input constraint instead of both input and output constraint.  Use ecx
19402         clobber instead of %ecx.
19403         * sysdeps/mach/hurd/malloc-machine.h (mutex_init, mutex_lock,
19404         mutex_unlock): Use a statement expression instead of an expression list.
19405         * sysdeps/mach/hurd/setitimer.c (_hurd_itimer_thread_stack_size): Set
19406         type to vm_size_t instead of vm_address_t.
19407         * sysdeps/mach/hurd/fork.c (__fork): Test whether STACK_GROWTH_UP is
19408         defined instead of whether it is non-zero.
19409         * hurd/hurd/ioctl.h (_hurd_locked_install_cttyid): New declaration.
19410         * sysdeps/mach/hurd/setsid.c: Include <hurd/ioctl.h>.
19411         * sysdeps/mach/hurd/mmap.c (__mmap): Use 0 instead of NULL for
19412         comparisons with mapaddr.
19413         * nscd/nscd-client.h: Include <time.h>.
19414         * sysdeps/mach/hurd/dl-sysdep.c (fmh): Pass vm_offset_t dummy
19415         9th parameter to __vm_region instead of int.
19416         * bits/termios.h [!__USE_MISC] (EXTPROC): Do not define.
19417         * scripts/check-local-headers.sh (exclude): Add device/,
19418         hurd/hurd_types.h, hurd/ioctl_types.h, hurd/paths.h, hurd/ioctls.defs,
19419         cthreads.h.
19421 2015-03-19  Roland McGrath  <roland@hack.frob.com>
19423         * sysdeps/arm/memcpy.S [ARM_ALWAYS_BX]: Fix computed-jump calculations
19424         to account for alignment padding.
19425         * sysdeps/arm/memmove.S: Likewise.
19427 2015-03-19  Chris Metcalf  <cmetcalf@ezchip.com>
19429         * sysdeps/unix/sysv/linux/generic/README: New file.
19431 2015-03-18  Joseph Myers  <joseph@codesourcery.com>
19433         [BZ #18138]
19434         * nptl/sem_waitcommon.c: Include <kernel-features.h>.
19435         (futex_abstimed_wait)
19436         [__ASSUME_FUTEX_CLOCK_REALTIME && lll_futex_timed_wait_bitset]:
19437         Use lll_futex_timed_wait_bitset with FUTEX_CLOCK_REALTIME instead
19438         of lll_futex_timed_wait.
19440 2015-03-18  Brad Hubbard  <bhubbard@redhat.com>
19442         [BZ #17542]
19443         * sunrpc/svc.c (xprt_register): Use calloc to allocate xports.
19445 2015-03-17  Alexandre Oliva <aoliva@redhat.com>
19447         [BZ #17090]
19448         [BZ #17620]
19449         [BZ #17621]
19450         [BZ #17628]
19451         * NEWS: Update.
19452         * elf/dl-tls.c (_dl_update_slotinfo): Clean up outdated DTV
19453         entries with Static TLS too.  Skip entries past the end of the
19454         allocated DTV, from Alan Modra.
19455         (tls_get_addr_tail): Update to glibc_likely/unlikely.  Move
19456         Static TLS DTV entry set up from...
19457         (_dl_allocate_tls_init): ... here (fix modid assertion), ...
19458         * elf/dl-reloc.c (_dl_nothread_init_static_tls): ... here...
19459         * nptl/allocatestack.c (init_one_static_tls): ... and here...
19460         * elf/dlopen.c (dl_open_worker): Drop l_tls_modid upper bound
19461         for Static TLS.
19462         * elf/tlsdeschtab.h (map_generation): Return size_t.  Check
19463         that the slot we find is associated with the given map before
19464         using its generation count.
19465         * nptl_db/db_info.c: Include ldsodefs.h.
19466         (rtld_global, dtv_slotinfo_list, dtv_slotinfo): New typedefs.
19467         * nptl_db/structs.def (DB_RTLD_VARIABLE): New macro.
19468         (DB_MAIN_VARIABLE, DB_RTLD_GLOBAL_FIELD): Likewise.
19469         (link_map::l_tls_offset): New struct field.
19470         (dtv_t::counter): Likewise.
19471         (rtld_global): New struct.
19472         (_rtld_global): New rtld variable.
19473         (dl_tls_dtv_slotinfo_list): New rtld global field.
19474         (dtv_slotinfo_list): New struct.
19475         (dtv_slotinfo): Likewise.
19476         * nptl_db/td_symbol_list.c: Drop gnu/lib-names.h include.
19477         (td_lookup): Rename to...
19478         (td_mod_lookup): ... this.  Use new mod parameter instead of
19479         LIBPTHREAD_SO.
19480         * nptl_db/td_thr_tlsbase.c: Include link.h.
19481         (dtv_slotinfo_list, dtv_slotinfo): New functions.
19482         (td_thr_tlsbase): Check DTV generation.  Compute Static TLS
19483         addresses even if the DTV is out of date or missing them.
19484         * nptl_db/fetch-value.c (_td_locate_field): Do not refuse to
19485         index zero-length arrays.
19486         * nptl_db/thread_dbP.h: Include gnu/lib-names.h.
19487         (td_lookup): Make it a macro implemented in terms of...
19488         (td_mod_lookup): ... this declaration.
19489         * nptl_db/db-symbols.awk (DB_RTLD_VARIABLE): Override.
19490         (DB_MAIN_VARIABLE): Likewise.
19492 2015-03-16  H.J. Lu  <hongjiu.lu@intel.com>
19494         [BZ #18134]
19495         * sysdeps/x86_64/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
19497 2015-03-15  Paul Eggert  <eggert@cs.ucla.edu>
19499         * stdlib/setenv.c (__add_to_environ): Revert previous change.
19501 2015-03-14  Andreas Schwab  <schwab@linux-m68k.org>
19503         [BZ #18128]
19504         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (atomic_exchange_and_add)
19505         (atomic_add, atomic_increment_and_test)
19506         (atomic_decrement_and_test): Fix 64-bit arithmetic.
19508 2015-03-13  Paul Eggert  <eggert@cs.ucla.edu>
19510         * stdlib/setenv.c (__add_to_environ):
19511         Dump core quickly if setenv (..., NULL, ...) is called.
19513 2015-03-13  Roland McGrath  <roland@hack.frob.com>
19515         * sysdeps/arm/tls-macros.h: Include <sysdep.h>.
19516         (GET_SPECIAL_RELOC, GET_SPECIAL_PCREL): New macros to encapsulate
19517         all the necessary asm magic in one place.
19518         (TLS_LE, TLS_IE, TLS_LD, TLS_GD): Rewritten as C expressions
19519         using those.
19521 2015-03-13  Carlos O'Donell  <carlos@redhat.com>
19523         [BZ #14906]
19524         * nscd/cache.c (prune_cache): Use TRACED_FILE. Compare and update
19525         traced file mtime. Use consistent log message.
19526         * nscd/connections.c [HAVE_INOTIFY] (install_watches): New function.
19527         (register_traced_file): Call install_watches. Always set mtime.
19528         (invalidate_cache): Iterate over all trace files. Call install_watches.
19529         (inotify_check_files): Don't inline. Handle watching parent
19530         directories and configuration file movement in and out.
19531         (handle_inotify_events): New function.
19532         (main_loop_poll): Call handle_inotify_events.
19533         (main_loop_epoll): Likewise.
19534         * nscd/nscd.h: Define TRACED_FILE, TRACED_DIR, and PATH_MAX.
19535         (struct traced_file): Use array of inotify fds. Add parent directory,
19536         and basename.
19537         (struct database_dyn): Remove unused file_mtime.
19538         (init_traced_file): New inline function.
19539         (define_traced_file): New macro.
19540         * nss/nss_db/db-init.c: Use define_traced_file.
19541         (_nss_db_init): Use init_traced_file.
19542         * nss/nss_files/files-init.c: Use define_traced_file.
19543         (_nss_files_init): Use init_traced_file.
19545 2015-03-12  Joseph Myers  <joseph@codesourcery.com>
19547         * soft-fp/soft-fp.h (_FP_STATIC_ASSERT): New macro.
19548         [_LIBC]: Do not include <stdlib.h>.
19549         [!_LIBC] (abort): Remove declaration.
19550         * soft-fp/op-2.h (_FP_MUL_MEAT_2_120_240_double): Use
19551         _FP_STATIC_ASSERT instead of conditionally calling abort.
19552         * soft-fp/op-common.h (_FP_FROM_INT): Likewise.
19553         (_FP_EXTEND_CNAN): Likewise.
19554         (FP_TRUNC): Likewise.
19555         (__FP_CLZ): Likewise.
19556         * sysdeps/powerpc/nofpu/flt-rounds.c: Include <stdlib.h>.
19558 2015-03-12  Yaakov Selkowitz  <yselkowi@redhat.com>
19560         * manual/string.texi (XPG basename): Fix prototype.
19562 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
19564         [BZ #18080]
19565         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S
19566         (__setcontext): Use SIG_SETMASK instead of SIG_BLOCK.
19567         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S
19568         (__setcontext): Likewise.
19569         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S
19570         (__swapcontext): Use SIG_SETMASK instead of SIG_BLOCK.
19571         Call rt_sigprocmask syscall one time to set new signal mask
19572         and retrieve the current signal mask instead of two calls.
19573         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S
19574         (__swapcontext): Likewise.
19575         * stdlib/Makefile (tests): Add new testcase tst-setcontext2.
19576         * stdlib/tst-setcontext2.c: New file.
19578 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
19580         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
19582 2015-03-11  Aurelien Jarno  <aurelien@aurel32.net>
19584         [BZ #18093]
19585         * elf/cache.c (load_aux_cache): Regenerate the cache if it has
19586         the wrong size.
19588 2015-03-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
19590         [BZ #18043]
19591         * posix/wordexp.c (parse_param): Don't call setenv(..., NULL, 1).
19593 2015-03-11  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
19595         * config.h.in [HAVE_ASM_GLOBAL_DOT_NAME]: Remove define.
19596         * include/libc-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (strong_alias):
19597         Remove define.
19598         [HAVE_ASM_GLOBAL_DOT_NAME] (strong_data_alias): Likewise.
19599         [HAVE_ASM_GLOBAL_DOT_NAME] (weak_alias): Likewise.
19600         [HAVE_ASM_GLOBAL_DOT_NAME] (_symbol_version): Likewise.
19601         [HAVE_ASM_GLOBAL_DOT_NAME] (_default_symbol_version): Likewise.
19602         [HAVE_ASM_GLOBAL_DOT_NAME] (HIDDEN_JUMPTARGET): Likewise.
19603         * nptl_db/db-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (DOT): Remove
19604         define.
19605         * nptl_db/td_symbol_list.c (td_lookup): Remove
19606         HAVE_ASM_GLOBAL_DOT_NAME code.
19607         * sysdeps/powerpc/powerpc64/configure.ac: Remove
19608         HAVE_ASM_GLOBAL_DOT_NAME check.
19609         * sysdeps/powerpc/powerpc64/configure: Regenerate.
19610         * sysdeps/powerpc/powerpc64/sysdep.h [HAVE_ASM_GLOBAL_DOT_NAME]
19611         (DOT_LABEL): Remove define.
19612         [HAVE_ASM_GLOBAL_DOT_NAME] (BODY_LABEL): Likewise.
19613         [HAVE_ASM_GLOBAL_DOT_NAME] (ENTRY_2): Likewise.
19614         [HAVE_ASM_GLOBAL_DOT_NAME] (END_2): Likewise.
19615         * sysdeps/powerpc/powerpc64/tls-macros.h [HAVE_ASM_GLOBAL_DOT_NAME]
19616         (__TLS_GET_ADDR): Likewise.
19617         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h
19618         [HAVE_ASM_GLOBAL_DOT_NAME] (DASHDASHPFX): Likewise.
19620 2015-03-11  Carlos O'Donell  <carlos@redhat.com>
19622         [BZ #18111]
19623         * sysdeps/hppa/fpu/fpu_control.h (_FPU_HPPA_SHIFT_FLAGS): Define.
19624         (_FPU_SETCW): Initialize cw from fpsr before storing.
19625         * sysdeps/hppa/fpu/fsetexcptflg.c: Include fpu_control.h
19626         (fesetexceptflag): Rewrite using fpu_control.h.
19627         * sysdeps/hppa/fpu/feupdateenv.c: Handle FE_DFL_ENV, and FE_NOMASK_ENV.
19629 2015-03-11  John David Anglin  <danglin@gcc.gnu.org>
19631         [BZ #18110]
19632         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Don't modify bufptr in
19633         asms.
19634         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
19636 2015-03-11  Joseph Myers  <joseph@codesourcery.com>
19638         * soft-fp/soft-fp.h (_FP_UNREACHABLE): New macro.
19639         * soft-fp/op-common.h (_FP_MUL): Use _FP_UNREACHABLE instead of
19640         abort.
19641         (_FP_FMA): Likewise.
19642         (_FP_DIV): Likewise.
19644 2015-03-10  Roland McGrath  <roland@hack.frob.com>
19646         * scripts/evaluate-test.sh: Grok exit code 77 as UNSUPPORTED and exit
19647         with 0 in that case.
19648         * Makefile (summarize-tests): New canned sequence, factored out of
19649         commands for targets tests and xtests.  Display summary lines that
19650         don't start with PASS: or XFAIL: rather than ones that do start with
19651         ERROR: or FAIL:.  Make the commands fail if any summary lines fail
19652         to start with X?PASS: or XFAIL: or UNSUPPORTED: rather than if any
19653         do start with ERROR: or FAIL:.
19654         * dlfcn/Makefile (tests): Add bug-atexit3 back here unconditionally
19655         (except for [$(build-shared) = yes]).
19656         (tests-unsupported) [$(CXX) empty]: Add bug-atexit3.
19657         (LDLIBS-bug-atexit3-lib.so): Conditionalize on [$(CXX) nonempty].
19658         ($(objpfx)bug-atexit3, $(objpfx)bug-atexit3.out): Likewise.
19659         * nptl/Makefile: Revert 2015-03-04 changes.
19660         [$(CXX) empty] (tests-unsupported): New variable.
19661         * debug/Makefile: Likewise.
19663         * posix/regcomp.c: Fix comment typos and formatting to harmonize with
19664         gnulib file.  Replace __attribute with __attribute__ throughout.
19666 2015-03-10  Carlos O'Donell  <carlos@redhat.com>
19668         * sysdeps/hppa/fpu/libm-test-ulps: Update.
19670 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
19672         [BZ #18104]
19673         * math/auto-libm-test-in: Add another test of pow.
19674         * math/auto-libm-test-out: Regenerated.
19676 2015-03-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19678         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Add
19679         $(config-cflags-nofma).
19681 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
19683         * soft-fp/double.h [SOFT_FP_DOUBLE_H]: New multiple-include guard.
19684         * soft-fp/extended.h [SOFT_FP_EXTENDED_H]: Likewise.
19685         * soft-fp/op-1.h [SOFT_FP_OP_1_H]: Likewise.
19686         * soft-fp/op-2.h [SOFT_FP_OP_2_H]: Likewise.
19687         * soft-fp/op-4.h [SOFT_FP_OP_4_H]: Likewise.
19688         * soft-fp/op-8.h [SOFT_FP_OP_8_H]: Likewise.
19689         * soft-fp/op-common.h [SOFT_FP_OP_COMMON_H]: Likewise.
19690         * soft-fp/quad.h [SOFT_FP_QUAD_H]: Likewise.
19691         * soft-fp/single.h [SOFT_FP_SINGLE_H]: Likewise.
19692         * soft-fp/soft-fp.h (SOFT_FP_H): Define to 1 rather than empty.
19693         Add comment on closing #endif.
19695 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
19697         * posix/wordexp.c (CHAR_IN_SET): New macro.
19698         (parse_param): Use it.
19700 2015-03-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19702         * sysdeps/powerpc/fpu/libm-test-ulps: update.
19704 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
19706         [BZ #18043]
19707         * posix/wordexp.c (parse_param): Fix buffer overflow.
19708         * posix/wordexp-test.c (test_case): Add test case.
19710 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
19712         [BZ #18042]
19713         * posix/wordexp.c (parse_backtick): Fix off-by-one.
19714         * posix/wordexp-test.c (test_case): Add test for BZ #18042.
19716 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
19718         [BZ #18043]
19719         * posix/wordexp-test.c (test_case): Add test for BZ #18043
19720         (do_bz18043): Delete.
19721         (at_page_end): New.
19722         (testit): Refactor to have words at the edge of unreadable page.
19724 2015-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
19726         [BZ #16734]
19727         * libio/genops.c (_IO_unbuffer_all): Renamed from _IO_unbuffer_write.
19728         Cleanup read-only streams as well.
19729         (_IO_cleanup): Call _IO_unbuffer_all instead of _IO_unbuffer_write.
19731 2015-03-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
19733         * sysdeps/mach/hurd/bits/libc-lock.h [_LIBC]: Include
19734         <bits/libc-lockP.h>
19736 2015-03-07  Joseph Myers  <joseph@codesourcery.com>
19738         * soft-fp/soft-fp.h (_FP_ZERO_INIT): New macro.  Define depending
19739         on [__KERNEL__].
19740         * soft-fp/op-1.h (_FP_FRAC_DECL_1): Use _FP_ZERO_INIT.
19741         * soft-fp/op-2.h (_FP_FRAC_DECL_2): Likewise.
19742         * soft-fp/op-common.h (_FP_DECL): Likewise.
19744 2015-03-06  H.J. Lu  <hongjiu.lu@intel.com>
19746         * elf/ifuncdep2.c (global): Replace
19747         __attribute__((visibility("protected"))) with
19748         asm (".protected global").
19749         * elf/ifuncmod1.c (global): Likewise.
19750         * elf/ifuncmod5.c (global): Likewise.
19752 2015-03-06  Joseph Myers  <joseph@codesourcery.com>
19754         * soft-fp/soft-fp.h [!_LIBC && __KERNEL__]: Include
19755         <asm/sfp-machine.h> instead of <sfp-machine.h>.
19757 2015-03-06  Roland McGrath  <roland@hack.frob.com>
19759         * manual/install.texi (Configuring and compiling):
19760         Document test-wrapper-env-only.
19761         * INSTALL: Regenerated.
19763 2015-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
19765         [BZ #18043]
19766         * posix/wordexp.c (parse_param): Fix buffer overflow.
19767         * posix/wordexp-test.c (do_bz18043): Add test case.
19769 2015-03-06  Vincent Bernat  <vincent@bernat.im>
19771         * time/tst-strptime2.c (do_test): Ensure failing tests are
19772         reported correctly.
19773         * time/tst-strptime3.c (do_test): Likewise.
19775 2015-03-06  Samuel Thibault  <samuel.thibault@inria.fr>
19777         Fix aio_error thread-safety.
19778         * sysdeps/pthread/aio_error.c: New file
19779         * sysdeps/pthread/aio_misc.c: Remove optimistic comment about
19780         synchronization.
19782 2015-03-06  Florian Weimer  <fweimer@redhat.com>
19784         * stdio-common/vfprintf.c (THOUSANDS_SEP_T): New typedef.
19785         (group_number, vfprintf): Use it.
19786         (JUMP_TABLE_BASE_LABEL): New preprocessor macro.
19787         (JUMP, REF): Use it.
19788         (WORK_BUFFER_SIZE): New enum constant.
19789         (process_arg, vfprintf): Use it.
19791 2015-03-06  Rical Jasan  <ricaljasan@pacific.net>
19793         * manual/errno.texi (Error Messages): Complete example function
19794         by adding missing #define.
19795         (program_invocation_name): Add statement indicating GNU
19796         extension and reference which header file declares the variable.
19797         (program_invocation_short_name): Likewise.
19799 2015-03-06  Mike Frysinger  <vapier@gentoo.org>
19801         * manual/errno.texi (Error Messages): Delete strerror ISO C89
19802         compatibility note.
19804 2015-03-05  Roland McGrath  <roland@hack.frob.com>
19806         * Makeconfig (test-wrapper-env-only): New variable.
19807         * Rules (make-test-out): If variable $*-ENV-only is nonempty,
19808         then use that with $(test-wrapper-env-only) rather than using
19809         $(test-wrapper-env) $(run-program-env) $($*-ENV).
19811 2015-03-05  H.J. Lu  <hongjiu.lu@intel.com>
19813         [BZ #18082]
19814         * sysdeps/alpha/dl-machine.h (elf_machine_type_class): Replace
19815         ELF_RTYPE_CLASS_NOCOPY with ELF_RTYPE_CLASS_COPY in comments.
19816         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Likewise.
19817         * sysdeps/hppa/dl-machine.h (elf_machine_type_class): Likewise.
19818         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Likewise.
19819         * sysdeps/ia64/dl-machine.h (elf_machine_type_class): Likewise.
19820         * sysdeps/m68k/dl-machine.h (elf_machine_type_class): Likewise.
19821         * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
19822         Likewise.
19823         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Likewise.
19824         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_type_class):
19825         Likewise.
19826         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_type_class):
19827         Likewise.
19828         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_type_class):
19829         Likewise.
19830         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_type_class):
19831         Likewise.
19832         * sysdeps/sh/dl-machine.h (elf_machine_type_class): Likewise.
19833         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_type_class):
19834         Likewise.
19835         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_type_class):
19836         Likewise.
19837         * sysdeps/tile/dl-machine.h (elf_machine_type_class): Likewise.
19838         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Likewise.
19840 2015-03-04  Roland McGrath  <roland@hack.frob.com>
19842         * sysdeps/generic/netinet/if_ether.h: Don't #include <features.h>.
19843         (ETH_ALEN): New macro.
19844         (struct ether_addr): Use it for length of ether_addr_octet.
19846         * nss/test-netdb.c: Don't #include <rpc/netdb.h>.
19847         (setdb): Don't call __nss_configure_lookup for "rpc".
19848         (do_test): Don't call test_rpc.
19849         (output_rpcent, test_rpc): Functions moved ...
19850         * sunrpc/test-rpcent.c: ... to this new file.
19851         * sunrpc/Makefile (tests): Add it.
19853         * nptl/tst-cancel4.c (tf_sigpause) [!SIGCANCEL]: Call pause instead of
19854         __xpg_sigpause.
19855         * nptl/tst-signal3.c: Conditionalize body on [SIGRTMIN].
19856         * nptl/tst-signal6.c: Likewise.
19857         * rt/tst-mqueue5.c: Conditionalize body on [SIGRTMIN && SA_SIGINFO].
19858         * rt/tst-timer4.c: Conditionalize body on [SA_SIGINFO].
19860         * configure.ac (libc_cv_cxx_link_ok): New check.
19861         Reset CXX to empty if it fails to link.
19862         * configure: Regenerated.
19863         * dlfcn/Makefile (tests, modules-names): Add bug-atexit3 and
19864         bug-atexit3-lib only if $(CXX) is nonempty.
19865         * nptl/Makefile (tests): Likewise for tst-cancel24.
19866         (tests, tests-static): Likewise for tst-cancel24-static.
19867         * debug/Makefile (tests): Likewise for tst-chk4, tst-chk5, tst-chk6,
19868         tst-lfschk4, tst-lfschk5, and tst-lfschk6.
19869         * elf/Makefile (tests, modules-names): Likewise for tst-unique3,
19870         tst-unique3lib, tst-unique3lib2, tst-unique4, and tst-unique4lib.
19872 2015-03-04  Andreas Schwab  <schwab@suse.de>
19874         [BZ #17631]
19875         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Don't define
19876         for non-GCC compilers.
19877         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
19878         Likewise.
19880 2015-03-03 Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
19882         [BZ #17776]
19883         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Convert input to
19884         integer before bitwise and assembly operations.
19885         (feclearexcept): Likewise.
19886         * math/test-fenvinline.c: New file.
19887         * math/Makefile: Add test-fenvinline test.
19889 2015-03-03  Alan Modra  <amodra@gmail.com>
19891         [BZ #16512]
19892         * scripts/localplt.awk: Strip off symbol version.
19893         * NEWS: Mention bug fix.
19895 2015-03-02  Roland McGrath  <roland@hack.frob.com>
19897         * sysdeps/pthread/timer_routines.c
19898         (timer_free_list, thread_free_list, thread_active_list): Make static.
19900 2015-03-02  Joseph Myers  <joseph@codesourcery.com>
19902         [BZ #17779]
19903         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
19904         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
19905         Undefine.
19906         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
19907         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
19908         Likewise.
19909         * sysdeps/unix/sysv/linux/sh/kernel-features.h
19910         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
19911         Likewise.
19913 2015-03-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
19915         [BZ #18036]
19916         * posix/fnmatch_loop.c (END): Detect invalid pattern.
19917         * posix/tst-fnmatch3.c (do_bz18036): Add test case.
19919 2015-03-02  Andreas Schwab  <schwab@suse.de>
19921         * elf/Makefile ($(elf-objpfx)runtime-linker.st): Fix typo in
19922         variable name.
19924 2015-03-02  Florian Weimer  <fweimer@redhat.com>
19926         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn):
19927         Return error status.
19929 2015-02-27  Alexandre Oliva <aoliva@redhat.com>
19931         [BZ #15969]
19932         * locale/findlocale.c (_nl_find_locale): Introduce const
19933         version of loc_name and drop unsafe type casts.
19935 2015-02-27  Roland McGrath  <roland@hack.frob.com>
19937         * dlfcn/tststatic2.c (main): Converted to ...
19938         (do_test): ... this.
19939         (TEST_FUNCTION): New macro.
19940         Include test-skeleton.c.
19942 2015-02-27  H.J. Lu  <hongjiu.lu@intel.com>
19944         [BZ #17711]
19945         * elf/Makefile (tests): Add vismain only if PIE is enabled.
19946         (tests-pie): Add vismain.
19947         (CFLAGS-vismain.c): New.
19948         * elf/vismain.c: Add comments for PIE requirement.
19950 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
19952         [BZ #18046]
19953         [BZ #18047]
19954         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Use
19955         0x1p-56L as threshold for just returning the argument.
19956         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Use
19957         0x1p-32L as threshold for just returning the argument.
19958         * math/auto-libm-test-in: Add more tests of atanh.
19959         * math/auto-libm-test-out: Regenerated.
19960         * sysdeps/i386/fpu/libm-test-ulps: Update.
19961         * sysdeps/x86_64/fpu/libm-test-ulp: Likewise.
19963 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
19965         * string/bcopy.c (bcopy): Call memmove for performance.
19967 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
19969         * string/bzero.c (__bzero): Call memset for performance.
19971 2015-02-27  John David Anglin  <dave.anglin@bell.net>
19973         [BZ #18068]
19974         * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (__O_SYNC): Change
19975         to 00100000.
19977 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
19979         * sysdeps/ieee754/k_standard.c (CSTR): Add comment.
19981 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
19983         * sysdeps/ieee754/k_standard.c (CSTR): New macro.
19984         (__kernel_standard): Use CSTR macro when setting exc.name.
19985         * sysdeps/ieee754/Makefile [$(subdir) = math]
19986         (CFLAGS-k_standard.c): Remove variable.
19988         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Change last case for
19989         setting p and q from "else if" to "else".
19990         (qzero): Likewise.
19991         * sysdeps/ieee754/dbl-64/e_j1.c (pone): Likewise.
19992         (qone): Likewise.
19993         * sysdeps/ieee754/flt-32/e_j0f.c (pzerof): Likewise.
19994         (qzerof): Likewise.
19995         * sysdeps/ieee754/flt-32/e_j1f.c (ponef): Likewise.
19996         (qonef): Likewise.
19997         * sysdeps/ieee754/ldbl-96/e_j0l.c (pzero): Likewise.
19998         (qzero): Likewise.
19999         * sysdeps/ieee754/ldbl-96/e_j1l.c (pone): Likewise.
20000         (qone): Likewise.
20002         [BZ #18038]
20003         [BZ #18039]
20004         * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Only
20005         return pi/2 for arguments below 0x1p-113L.
20006         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Only
20007         return pi/2 for arguments below 0x1p-106L.
20008         * math/auto-libm-test-in: Add more tests of acos.
20009         * math/auto-libm-test-out: Regenerated.
20011         [BZ #16351]
20012         * sysdeps/i386/fpu/e_asin.S (dbl_min): New object.
20013         (MO): New macro.
20014         (__ieee754_asin): Force underflow exception for results with small
20015         absolute value.
20016         * sysdeps/i386/fpu/e_asinf.S (flt_min): New object.
20017         (MO): New macro.
20018         (__ieee754_asinf): Force underflow exception for results with
20019         small absolute value.
20020         * sysdeps/ieee754/dbl-64/e_asin.c: Include <float.h> and <math.h>.
20021         (__ieee754_asin): Force underflow exception for results with small
20022         absolute value.
20023         * sysdeps/ieee754/flt-32/e_asinf.c: Include <float.h>.
20024         (__ieee754_asinf): Force underflow exception for results with
20025         small absolute value.
20026         * sysdeps/ieee754/ldbl-128/e_asinl.c: Include <float.h>.
20027         (__ieee754_asinl): Force underflow exception for results with
20028         small absolute value.
20029         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Include <float.h>.
20030         (__ieee754_asinl): Force underflow exception for results with
20031         small absolute value.
20032         * sysdeps/ieee754/ldbl-96/e_asinl.c: Include <float.h>.
20033         (__ieee754_asinl): Force underflow exception for results with
20034         small absolute value.
20035         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
20036         Include <math.h>.
20037         * math/auto-libm-test-in: Do not mark underflow exceptions as
20038         possibly missing for bug 16351.
20039         * math/auto-libm-test-out: Regenerated.
20041         [BZ #18030]
20042         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Adjust exponent
20043         of power of 2 down when low part has opposite sign.
20044         * math/libm-test.inc (logb_test_data): Add more tests.
20046 2015-02-26  Andreas Schwab  <schwab@suse.de>
20048         [BZ #18032]
20049         * posix/fnmatch_loop.c (FCT): Remove extra increment when skipping
20050         over collating symbol inside a bracket expression.  Minor cleanup.
20051         * posix/tst-fnmatch3.c (do_test): Add test case.
20053 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
20055         [BZ #18029]
20056         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl):
20057         Adjust exponent of power of 2 down when low part has opposite
20058         sign.
20059         * math/libm-test.inc (ilogb_test_data): Add more tests.
20061 2015-02-26  Alexandre Oliva  <aoliva@redhat.com>
20063         [BZ #15969]
20064         * locale/findlocale.c (_nl_find_locale): Fix constness error in
20065         the previous change.
20067         [BZ #15969]
20068         * locale/findlocale.c (_nl_find_locale): Retry archive search
20069         after alias expansion.
20071 2015-02-25  Roland McGrath  <roland@hack.frob.com>
20073         * iconv/tst-iconv3.c (main): Converted to ...
20074         (do_test): ... this.
20075         (TEST_FUNCTION): New macro.
20076         Include test-skeleton.c.
20078         * iconv/tst-iconv5.c (testcode, number): Make variables static const.
20079         (convert): Make function static.
20080         (test_unalign): Likewise.  Add const to argument pointee types.
20081         (main): Replace with static function do_test.
20082         Print "Succeeded." only if RET is zero.
20083         (TEST_FUNCTION): New macro.
20084         Include test-skeleton.c.
20086         * iconv/gconv_conf.c (__gconv_get_path): Don't crash if __getcwd
20087         returns a null pointer.
20089 2015-02-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20091         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Define memcpy
20092         to __memcpy_ppc only for static builds.
20094 2015-02-25  Joseph Myers  <joseph@codesourcery.com>
20096         [BZ #18020]
20097         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use 2**56 and
20098         2**-56 not 2**28 and 2**-29 as thresholds for simpler formulas.
20099         * math/auto-libm-test-in: Add more tests of asinh.
20100         * math/auto-libm-test-out: Regenerated.
20101         * sysdeps/i386/fpu/libm-test-ulps: Update.
20102         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20104 2015-02-25  Cong Wang  <xiyou.wangcong@gmail.com>
20106         [BZ #15850]
20107         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Put in6_pktinfo
20108         and ip6_mtuinfo definitions here.
20109         * sysdeps/unix/sysv/linux/bits/in.h [_UAPI_IPV6_H]: Wrap code
20110         in this define too.  Update comment.
20112 2015-02-24  Benno Schulenberg  <bensberg@justemail.net>
20114         * elf/sprof.c (load_shobj): Tweak error message to match others.
20116 2015-02-24  Kevin Easton  <kevin@guarana.org>
20118         [BZ #16145] (partial fix)
20119         * time/tzset.c (__tz_convert): Unlock tzset_lock earlier
20120         to reduce lock contention.
20122 2015-02-24  Miroslav Lichvar  <mlichvar@redhat.com>
20124         * sysdeps/unix/sysv/linux/bits/timex.h: Update version.
20125         (struct timex): Update time comment.
20126         (ADJ_SETOFFSET): Define.
20128 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
20130         [BZ #18019]
20131         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
20132         2**56 not 2**28 as threshold for log (2x) formula.
20133         * math/auto-libm-test-in: Add more tests of acosh.
20134         * math/auto-libm-test-out: Regenerated.
20135         * sysdeps/i386/fpu/libm-test-ulps: Update.
20136         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20138 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
20140         * include/alloca.h [_STACK_GROWS_DOWN] (extend_alloca): Add
20141         parenthesis around the buf assignment.
20142         [_STACK_GROWS_UP] (extend_alloca): Add a char* cast.
20144 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
20146         [BZ #16783]
20147         * sysdeps/i386/fpu/e_scalb.S (__ieee754_scalb): Do not handle
20148         arguments (NaN, -Inf) the same as (+/-Inf, -Inf).
20149         * sysdeps/i386/fpu/e_scalbf.S (__ieee754_scalbf): Likewise.
20150         * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
20151         * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
20152         * math/libm-test.inc (scalb_test_data): Add more tests.
20154 2015-02-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
20156         [BZ #17916]
20157         * libio/fileops.c (_IO_new_file_fopen): Limit stack use
20158         * libio/tst-fopenloc.c (do_test, do_bz17916): Add a large ccs= test
20160 2015-02-24  Eric Rannaud  <e@nanocritical.com>
20162         [BZ #17523]
20163         * io/fcntl.h (__OPEN_NEEDS_MODE): New macro.
20164         * io/bits/fcntl2.h (open): Use it.
20165         (openat): Likewise.
20166         * io/open.c (__libc_open): Likewise.
20167         * io/open64.c (__libc_open64): Likewise.
20168         * io/open64_2.c (__open64_2): Likewise.
20169         * io/open_2.c (__open_2): Likewise.
20170         * io/openat.c (__openat): Likewise.
20171         * io/openat64.c (__openat64): Likewise.
20172         * io/openat64_2.c (__openat64_2): Likewise.
20173         * io/openat_2.c (__openat_2): Likewise.
20174         * sysdeps/mach/hurd/open.c (__libc_open): Likewise.
20175         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
20176         * sysdeps/posix/open64.c (__libc_open64): Likewise.
20177         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
20178         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
20179         (__open_nocancel): Likewise.
20180         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
20181         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
20182         * sysdeps/unix/sysv/linux/openat.c (__OPENAT): Likewise.
20184 2015-02-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
20186         [BZ #14841]
20187         * resolv/gethnamaddr.c (getanswer): Skip logging if
20188         RES_USE_DNSSEC is set.
20189         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
20191 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
20193         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Include dl-sysdep.h.
20195 2015-02-23  Alexandre Oliva <aoliva@redhat.com>
20197         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
20198         201304L, for Unicode 7.
20200 2015-02-23  H.J. Lu  <hongjiu.lu@intel.com>
20202         [BZ #17836]
20203         * csu/Makefile (extra-objs): Add gmon-start.o if not builing
20204         shared library.  Add gmon-start.os otherwise.
20205         ($(objpfx)g$(start-installed-name)): Use $(objpfx)S%
20206         $(objpfx)gmon-start.os if builing shared library.
20207         ($(objpfx)g$(static-start-installed-name)): Likewise.
20209 2015-02-23  Andreas Schwab  <schwab@suse.de>
20211         * elf/Makefile (CFLAGS-tst-audit2.c): Define.
20213 2015-02-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
20215         [BZ #17269]
20216         * libio/wstrops.c (_IO_wstr_overflow): Guard against integer overflow
20217         (enlarge_userbuf): Likewise.
20219 2015-02-22  Chung-Lin Tang  <cltang@codesourcery.com>
20221         * libio/tst-memstream2.c (TIMEOUT): Define as 100.
20222         * math/atest-exp.c (TIMEOUT): Adjust to 200.
20223         * math/atest-exp2.c (TIMEOUT): Adjust to 300.
20224         * math/atest-sincos.c (TIMEOUT): Adjust to 600.
20226 2015-02-20  Joseph Myers  <joseph@codesourcery.com>
20228         * soft-fp/op-common.h (_FP_FROM_INT): Wrap call to abort in
20229         expression inside statement expression.
20231 2015-02-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
20233         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Include
20234         <sysdeps/nptl/lowlevellock.h> and remove macros and
20235         functions that are now defined there.
20236         (SYS_futex): Remove.
20237         (lll_compare_and_swap): Remove.
20238         * sysdeps/s390/bits/atomic.h (atomic_exchange_acq): Define.
20240 2015-02-19  Joseph Myers  <joseph@codesourcery.com>
20242         [BZ #17999]
20243         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Define to __scandirat
20244         instead of scandirat.
20245         * dirent/scandirat.c [!SCANDIRAT] (SCANDIRAT): Likewise.
20246         [!SCANDIRAT] (SCANDIRAT_WEAK_ALIAS): Define.
20247         [SCANDIRAT_WEAK_ALIAS] (scandirat): Define as weak alias of
20248         __scandirat.
20249         * include/dirent.h (scandirat): Do not use libc_hidden_proto.
20250         (__scandirat): Declare.  Use libc_hidden_proto.
20251         * conform/Makefile (test-xfail-POSIX2008/dirent.h/linknamespace):
20252         Remove variable.
20253         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
20255 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
20257         [BZ #15319]
20258         * sysdeps/i386/fpu/e_atan2.S (dbl_min): New object.
20259         (MO): New macro.
20260         (__ieee754_atan2): For results with small absolute value, force
20261         underflow exception and remove excess range and precision from
20262         return value.
20263         * sysdeps/i386/fpu/e_atan2f.S (flt_min): New object.
20264         (MO): New macro.
20265         (__ieee754_atan2f): For results with small absolute value, force
20266         underflow exception and remove excess range and precision from
20267         return value.
20268         * sysdeps/i386/fpu/s_atan.S (dbl_min): New object.
20269         (MO): New macro.
20270         (__atan): For results with small absolute value, force underflow
20271         exception and remove excess range and precision from return value.
20272         * sysdeps/i386/fpu/s_atanf.S (flt_min): New object.
20273         (MO): New macro.
20274         (__atanf): For results with small absolute value, force underflow
20275         exception and remove excess range and precision from return value.
20276         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <float.h> and
20277         <math.h>.
20278         (__ieee754_atan2): Force underflow exception for results with
20279         small absolute value.
20280         * sysdeps/ieee754/dbl-64/s_atan.c: Include <float.h> and
20281         <math_private.h>.
20282         (atan): Force underflow exception for results with small absolute
20283         value.
20284         * sysdeps/ieee754/flt-32/s_atanf.c: Include <float.h>.
20285         (__atanf): Force underflow exception for results with small
20286         absolute value.
20287         * sysdeps/ieee754/ldbl-128/s_atanl.c: Include <float.h> and
20288         <math.h>.
20289         (__atanl): Force underflow exception for results with small
20290         absolute value.
20291         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <float.h>.
20292         (__atanl): Force underflow exception for results with small
20293         absolute value.
20294         * sysdeps/x86/fpu/bits/mathinline.h
20295         [!__SSE2_MATH__ && !__x86_64__ && __LIBC_INTERNAL_MATH_INLINES]
20296         (__ieee754_atan2): Only define inline for long double.
20297         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
20298         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Include <math.h>.
20299         * math/auto-libm-test-in: Do not mark underflow exceptions as
20300         possibly missing for bug 15319.  Add more tests of atan2.
20301         * math/auto-libm-test-out: Regenerated.
20302         * math/libm-test.inc (casin_test_data): Do not mark underflow
20303         exceptions as possibly missing for bug 15319.
20304         (casinh_test_data): Likewise.
20305         * sysdeps/i386/fpu/libm-test-ulps: Update.
20307 2015-02-18  Steve Ellcey  <sellcey@imgtec.com>
20309         * sysdeps/unix/sysv/linux/mips/bits/endian.h: Remove.
20310         * sysdeps/mips/bits/endian.h: Fix comments.
20312 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
20314         [BZ #17996]
20315         * include/search.h (hcreate_r): Don't use libc_hidden_proto.
20316         (hdestroy_r): Likewise.
20317         (hsearch_r): Likewise.
20318         (__hcreate_r): Declare and use libc_hidden_proto.
20319         (__hdestroy_r): Likewise.
20320         (__hsearch_r): Likewise.
20321         * misc/hsearch.c (hsearch): Call __hsearch_r instead of hsearch_r.
20322         (hcreate): Call __hcreate_r instead of hcreate_r.
20323         (__hdestroy): Call __hdestroy_r instead of hdestroy_r.
20324         * misc/hsearch_r.c (hcreate_r): Rename to __hcreate_r and define
20325         as weak alias of __hcreate_r.
20326         (hdestroy_r): Rename to __hdestroy_r and define as weak alias of
20327         __hdestroy_r.
20328         (hsearch_r): Rename to __hsearch_r and define as weak alias of
20329         __hsearch_r.
20330         * conform/Makefile (test-xfail-XPG3/search.h/linknamespace):
20331         Remove variable.
20332         (test-xfail-XPG4/search.h/linknamespace): Likewise.
20333         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
20334         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
20335         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
20337 2015-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
20339         * malloc/malloc.c (__libc_malloc): Consolidate arena_lookup and
20340         arena_lock into a single arena_get.
20342 2015-02-17  Carlos O'Donell  <carlos@redhat.com>
20344         * dl-reloc.c: Inlucde libc-internal.h.
20345         (_dl_try_allocate_static_tls): Call ALIGN_UP.
20346         (_dl_relocate_object): Call ALIGN_UP, ALIGN_DOWN, and PTR_ALIGN_DOWN.
20347         (_dl_protect_relro): Call ALIGN_UP and ALIGN_DOWN.
20348         * malloc/arena.c (new_heap): Use pagesize. Call ALIGN_UP.
20349         (grow_heap): Likewise.
20350         * malloc/malloc.c: Include libc-internal.h.
20351         (do_check_malloc): Call powerof2.
20352         (sysmalloc): Use pagesize. Call ALIGN_UP.
20353         (systrim): Use pagesize.
20354         (mremap_chunk): Use pagesize. Call ALIGN_UP.
20355         (__libc_valloc): Use pagesize.
20356         (__libc_pvalloc): Use pagesize. Call ALIGN_UP.
20358 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
20360         [BZ #17991]
20361         * include/sys/resource.h (__getrlimit64): Declare.  Use
20362         libc_hidden_proto.
20363         * resource/getrlimit64.c (getrlimit64): Rename to __getrlimit64
20364         and define as weak alias of __getrlimit64.  Use libc_hidden_weak.
20365         * sysdeps/posix/spawni.c (__spawni): Call __getrlimit64 instead of
20366         getrlimit64.
20367         * sysdeps/unix/sysv/linux/getrlimit64.c (getrlimit64): Rename to
20368         __getrlimit64.
20369         [!getrlimit64] (getrlimit64): Define as weak alias of
20370         __getrlimit64.  Use libc_hidden_weak.
20371         * sysdeps/unix/sysv/linux/i386/getrlimit64.c (getrlimit64): Define
20372         using __getrlimit64 not __new_getrlimit64.
20373         (__GI_getrlimit64): Likewise.
20374         * sysdeps/unix/sysv/linux/mips/getrlimit64.c (getrlimit64):
20375         Likewise.
20376         (__GI_getrlimit64): Likewise.
20377         (__old_getrlimit64): Use __getrlimit64 not __new_getrlimit64.
20378         * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list
20379         (getrlimit): Add __getrlimit64 alias.
20380         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (getrlimit):
20381         Likewise.
20382         * conform/Makefile (test-xfail-XOPEN2K/spawn.h/linknamespace):
20383         Remove variable.
20384         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
20385         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
20387 2015-02-17  Paul Pluzhnikov  <ppluzhnikov@google.com>
20389         * libio/fileops.c: Add missing sys/mman.h
20390         * libio/iopopen.c: Add missing fcntl.h, remove redundant unistd.h
20392 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
20394         * manual/math.texi (Errors in Math Functions): Clarify goals
20395         regarding inexact and underflow exceptions.
20397 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
20399         * sysdeps/mips/memcpy.S: Move R6 PREFETCH_STORE_HINT check.
20400         * sysdeps/mips/memset.S: Ditto.
20402 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
20404         * sysdeps/mips/bits/endian.h (__MIPSEL): Use #ifdef instead of #if.
20406 2015-02-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
20408         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c
20409         (__v1longjmp): Remove versioned symbol.
20410         (__v1siglongjmp): Remove alias and versioned symbol.
20411         (__v2longjmp): Use DEFINE_LONGJMP instead of alias.
20412         (__v2siglongjmp): Likewise.
20414 2015-02-16  Torvald Riegel  <triegel@redhat.com>
20416         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Remove file.
20418 2015-02-16  Mike Frysinger  <vapier@gentoo.org>
20420         * sysdeps/unix/sysv/linux/ia64/getpagesize.c: Delete.
20422 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
20424         [BZ #17987]
20425         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Ensure sign of
20426         zero result does not depend on the sign resulting from
20427         subtraction.
20428         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
20429         Likewise.
20430         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
20431         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
20432         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
20433         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
20434         * math/libm-test.inc (remquo_test_data): Add more tests.
20436 2015-02-16  Paul Eggert  <eggert@cs.ucla.edu>
20438         * manual/time.texi (TZ Variable): glibc no longer comes with tzdata.
20439         Problem reported by J William Piggott.
20441 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
20443         [BZ #17978]
20444         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Do not form
20445         products 4 * y and 2 * y where those would overflow.
20446         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
20447         Likewise.
20448         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
20449         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
20450         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
20451         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
20452         * math/libm-test.inc (remquo_test_data): Add more tests.
20454         * sysdeps/mips/sgidefs.h [!_ABIO64] (_ABIO64): New macro.
20456         * sysdeps/mips/memcpy.S [_COMPILING_NEWLIB]: Change condition to
20457         [defined _COMPILING_NEWLIB].
20458         * sysdeps/mips/memset.S [_COMPILING_NEWLIB]: Likewise.
20459         * sysdeps/mips/strcmp.S [_COMPILING_NEWLIB]: Likewise.
20461         * sysdeps/mips/sys/asm.h [__mips_isa_rev < 6]: Change condition to
20462         [!defined __mips_isa_rev || __mips_isa_rev < 6].
20464 2015-02-16  Torvald Riegel  <triegel@redhat.com>
20466         * nptl/tst-cond25.c (cleanup): Explicitly check that the mutex is
20467         acquired.
20469 2015-02-15  Matthew Fortune <Matthew.Fortune@imgtec.com>
20471         [BZ #17792]
20472         * sysdeps/unix/sysv/linux/ia64/sys/user.h (NBPG): Remove.
20473         (UPAGES, HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR,
20474         HOST_STACK_END_ADDR): Likewise.
20476 2015-02-13  Steve Ellcey  <sellcey@imgtec.com>
20478         * sysdeps/mips/bits/endian.h (__MIPSEB): Use #ifdef instead of #if.
20479         * sysdeps/mips/memcpy.S (__MIPSEB): Ditto.
20480         * sysdeps/mips/memset.S (__MIPSEB): Ditto.
20482 2015-02-13  Roland McGrath  <roland@hack.frob.com>
20484         * sysdeps/generic/c++-types.data: New file.
20485         * sysdeps/generic/ld.abilist: New file.
20486         * sysdeps/generic/libBrokenLocale.abilist: New file.
20487         * sysdeps/generic/libanl.abilist: New file.
20488         * sysdeps/generic/libc.abilist: New file.
20489         * sysdeps/generic/libcrypt.abilist: New file.
20490         * sysdeps/generic/libdl.abilist: New file.
20491         * sysdeps/generic/libm.abilist: New file.
20492         * sysdeps/generic/libpthread.abilist: New file.
20493         * sysdeps/generic/libresolv.abilist: New file.
20494         * sysdeps/generic/librt.abilist: New file.
20496 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
20498         [BZ #17569]
20499         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
20500         Compute absolute value of x as modified by fmod, not original
20501         value of x.
20502         * math/libm-test.inc (RUN_TEST_ffI_f1): Rename to
20503         RUN_TEST_ffI_f1_mod8.  Check extra return value mod 8.
20504         (RUN_TEST_LOOP_ffI_f1): Rename to RUN_TEST_LOOP_ffI_f1_mod8.  Call
20505         RUN_TEST_ffI_f1_mod8.
20506         (remquo_test_data): Add more tests.
20508 2015-02-13  Roland McGrath  <roland@hack.frob.com>
20510         * sysdeps/init_array/pt-crti.S: New file.
20512 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
20514         [BZ #17967]
20515         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Use
20516         __builtin_fmaf instead of relying on contraction of a * b + c.
20518 2015-02-12  J William Piggott  <elseifthen@gmx.com>
20520         [BZ #17969]
20521         * manual/time.texi: correct the zoneinfo path in the TZ Variable
20522         node.
20524 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
20526         [BZ #17964]
20527         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Use
20528         __builtin_fma instead of relying on contraction of a * b + c.
20530 2015-02-12  Roland McGrath  <roland@hack.frob.com>
20532         * Makeconfig (ASFLAGS): Add -Werror=undef.
20533         * sysdeps/arm/Versions (libc: GLIBC_2.19): New (empty) version set.
20534         * sysdeps/unix/make-syscalls.sh: Always emit #define's for
20535         SYSCALL_CANCELLABLE, SYSCALL_NOERRNO, SYSCALL_ERRVAL, to 1 or 0.
20537         * Makeconfig (after-link): New variable.
20538         (+link-pie, +link-pie-tests): Use it.
20539         (+link-static, +link-static-tests): Likewise.
20540         (+link, +link-tests): Likewise.
20541         * Makerules (build-module, build-module-asneeded): Likewise.
20542         (lib%.so, $(common-objpfx)libc.so, $(common-objpfx)linkobj/libc.so):
20543         Likewise.
20544         * elf/Makefile ($(objpfx)ld.so): Likewise.
20546 2015-02-12  Rüdiger Sonderfeld  <ruediger@c-plusplus.net>
20548         [BZ #17965]
20549         * manual/time.texi (Elapsed Time): tv_sec is of type time_t in
20550         both struct timeval and struct timespec.
20552 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
20554         [BZ #16560]
20555         * math/e_exp2l.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
20556         and redefine.
20557         (__ieee754_exp2l): Do not multiply small fractional parts by
20558         M_LN2l.
20559         * sysdeps/i386/fpu/e_exp2l.S (__ieee754_exp2l): Just add 1 to
20560         small argument.
20561         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
20562         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
20563         * sysdeps/x86_64/fpu/e_exp2l.S (__ieee754_exp2l): Likewise.
20564         * math/auto-libm-test-in: Add more tests of exp2.
20565         * math/auto-libm-test-out: Regenerated.
20567 2015-02-12  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
20569         * sysdeps/powerpc/powerpc64/power7/strncpy.S (strncpy): Optimize
20570         unaligned path.
20572 2015-02-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20574         * sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for
20575         little endian.
20577 2015-02-12  Andreas Schwab  <schwab@suse.de>
20579         [BZ #15790]
20580         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
20581         Filter out elision flags from value returned in kind.
20582         * nptl/Makefile (tests): Add tst-pthread-mutexattr.
20583         * nptl/tst-pthread-mutexattr.c: New file.
20585 2015-02-11  Samuel Thibault  <samuel.thibault@ens-lyon.org>
20587         * abi-tags: Revert ae20c9a: rename back gnu into gnu-gnu.
20588         * configure.ac, configure: Revert ba90e05: modify gnu-* host_os back
20589         into gnu-gnu, and update comment to refer to abi-tags.
20591 2015-02-11  Joseph Myers  <joseph@codesourcery.com>
20593         [BZ #15467]
20594         * sysdeps/ieee754/dbl-64/s_sincos.c: Include <errno.h>.
20595         (__sincos): Set errno to EDOM for infinite argument.
20596         * sysdeps/ieee754/flt-32/s_sincosf.c: Include <errno.h>.
20597         (SINCOSF_FUNC): Set errno to EDOM for infinite argument.
20598         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include <errno.h>.
20599         (__sincosl): Set errno to EDOM for infinite argument.
20600         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Include <errno.h>.
20601         (__sincosl): Set errno to EDOM for infinite argument.
20602         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include <errno.h>.
20603         (__sincosl): Set errno to EDOM for infinite argument.
20604         * math/libm-test.inc (sincos_test_data): Test errno setting.
20606 2015-02-11  Leonhard Holz  <leonhard.holz@web.de>
20608         * string/strxfrm_l.c: Remove #define STRCMP.
20609         * string/strcoll_l.c: Remove #define STRLEN.
20610         * wcsmbs/wcsxfrm_l.c: Remove #define STRCMP.
20611         * wcsmbs/wcscoll_l.c: Remove #define STRLEN.
20613 2015-02-10  Joseph Myers  <joseph@codesourcery.com>
20615         * sysdeps/mips/soft-fp/sfp-machine.h: Move to ....
20616         * sysdeps/mips/mips32/sfp-machine.h: ... here.
20617         * sysdeps/mips/mips64/soft-fp/Makefile: Move to ....
20618         * sysdeps/mips/mips64/Makefile: ... here.
20619         * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Move to ....
20620         * sysdeps/mips/mips64/e_sqrtl.c: ... here.
20621         * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Move to ....
20622         * sysdeps/mips/mips64/sfp-machine.h: ... here.
20623         * sysdeps/mips/mips32/Implies: Remove mips/soft-fp.
20624         * sysdeps/mips/mips64/n32/Implies: Remove mips/mips64/soft-fp.
20625         * sysdeps/mips/mips64/n64/Implies: Likewise.
20627 2015-02-10  Roland McGrath  <roland@hack.frob.com>
20629         * math/test-snan.c: Drop unnecessary #include's of <stdlib.h>,
20630         <sys/time.h>, <string.h>, and <errno.h>.
20631         (dest_offset, dest_address, value, zero): Remove unused variables.
20632         (ldouble): Remove typedef.
20633         (myFPsighandler): Use simple handler signature, not SA_SIGINFO
20634         signature.  Pass 1 to siglongjmp rather than 0 (which is converted to
20635         1).  Fix code style.
20636         (set_sigaction_FP, remove_sigaction_FP): Functions removed.
20637         (check): Function removed.
20638         (CHECK): New macro.
20639         (TEST_FUNC): Fix code style.  Use CHECK macro rather than repeating
20640         boilerplate feclearexcept + feenableexcept + sigsetjmp code.
20641         Don't call set_sigaction_FP and remove_sigaction_FP here.
20642         (ldouble_test): Just use 'long double' as macro argument, no need for
20643         the 'ldouble' typedef.
20644         (do_test): Set up SIGFPE handler at start, using plain signal rather
20645         than sigaction.  Fix code style.
20647 2015-02-10  Evangelos Foutras  <evangelos@foutrelis.com>
20649         [BZ #17949]
20650         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of
20651         jump label.
20653 2015-02-09  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
20655         * sysdeps/powerpc/powerpc32/configure.ac: Remove R_PPC_REL16 check.
20656         * sysdeps/powerpc/powerpc32/configure: Regenerated.
20658         * sysdeps/powerpc/configure.ac: Remove file.
20659         * sysdeps/powerpc/configure: Likewise.
20661         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
20662         [sysdep_routines]: Remove wordcopy-power6 object.
20663         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
20664         (__memmove_power7): Use local call for wordcopy and memcpy symbols.
20665         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c
20666         (__memmove_ppc32): Likewise.
20667         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove
20668         file.
20669         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file.
20670         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]:
20671         Remove preprocessor.
20673         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
20674         [sysdep_routines]: Remove wide chars objects.
20675         [wcsmbs]: New rule for wide char objects.
20677         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
20678         Remove wordcopy-power6 obejct.
20679         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc):
20680         Use local call for wordcopy and memcpy symbols.
20681         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file.
20682         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default
20683         implementation for loader.
20684         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file.
20686         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
20687         Remove wordcopy-power7 object.
20688         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file.
20689         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c
20690         (_wordcopy_fwd_aligned): Remove POWER7 specialization.
20691         (_wordcopy_fwd_dest_aligned): Likewise.
20692         (_wordcopy_bwd_aligned): Likewise.
20693         (_wordcopy_bwd_dest_aligned): Likewise.
20695         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc):
20696         Rewrite to call __memmove_ppc instead of include default
20697         implementation.
20699         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
20700         Remove wide chars objects.
20701         [wcsmbs]: New rule for wide char objects.
20703 2015-02-09  Andreas Schwab  <schwab@suse.de>
20705         [BZ #17912]
20706         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
20707         in terms of __O_DIRECTORY.
20709 2015-02-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
20711         * time/getdate.c: Include <stdbool.h>.
20712         * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not
20713         call PTR_MANGLE.
20714         [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call
20715         PTR_DEMANGLE.
20717 2015-02-07  Paul Eggert  <eggert@cs.ucla.edu>
20719         Add ersatz _Static_assert on older C hosts
20720         * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a
20721         pre-C11 C platform that is not known to support _Static_assert.
20723 2015-02-07  Richard Braun  <rbraun@sceen.net>
20725         * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
20726         sigstate.
20727         * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case.
20729 2015-02-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
20731         * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
20732         priority against unexistent AIO_PRIO_DELTA_MAX.
20733         * misc/chflags.c (chflags): Set flags parameter type to unsigned long
20734         instead of int.
20735         * misc/fchflags.c (fchflags): Likewise.
20736         * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
20737         * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
20738         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
20739         UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
20740         SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
20741         Declare macros.
20742         [__USE_MISC] (chflags, fchflags): Declare functions.
20743         * hurd/hurdselect.c (_hurd_select): In the poll case, do not return
20744         EINVAL when nfds is greater than FD_SETSIZE.
20745         * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE,
20746         NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to
20747         45.
20748         * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to
20749         __mach_msg.  If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
20750         * hurd/hurdselect.c (_hurd_select): Remove unreachable check for
20751         MACH_RCV_TIMED_OUT.
20752         * hurd/hurd/signal.h (_hurd_self_sigstate,
20753         _hurd_critical_section_lock, _hurd_critical_section_unlock):
20754         Explicit casts from void *.
20755         * sysdeps/mach/hurd/tls.h: Include <stdint.h> and <sysdep.h>.
20756         * abi-tags: Rename gnu-gnu os into gnu.
20758         [BZ #4719]
20759         * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char,
20760         _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t,
20761         _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t,
20762         _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t,
20763         _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t,
20764         _IOTBASE_unsigned, _IOTBASE_signed): Define macros.
20766         [BZ #17944]
20767         * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which
20768         duplicates ADDR->sun_path with sockaddr LEN limitation.
20769         * sysdeps/mach/hurd/connect.c: Include <string.h>
20770         (__connect): Give result of _hurd_sun_path_dupa to name lookup.
20771         * sysdeps/mach/hurd/sendmsg.c: Likewise.
20772         * sysdeps/mach/hurd/sendto.c: Likewise.
20773         * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of
20774         implementing it by hand.
20776 2015-02-06  Roland McGrath  <roland@hack.frob.com>
20778         * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
20779         Use sfi_breg on ldr.
20780         [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
20781         Likewise.
20783         * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
20784         it's defined.
20785         * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
20786         Test SIGSETXID only if it's defined.
20788         * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
20790         * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
20791         will not be used.  Use NULL rather than 0 for .sigev_notify_attributes.
20793         * nptl/tst-align2.c: Moved ...
20794         * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
20795         * nptl/Makefile (tests): Remove tst-align2.
20796         * sysdeps/unix/sysv/linux/Makefile
20797         [$(subdir) = nptl] (tests): Add tst-align-clone.
20798         * nptl/tst-getpid1.c: Moved ...
20799         * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
20800         * nptl/tst-getpid2.c: Moved ...
20801         * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
20802         * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
20803         * sysdeps/unix/sysv/linux/Makefile
20804         [$(subdir) = nptl] (tests): ... here.
20805         * nptl/Makefile (tst-getpid2-ENV): Move variable ...
20806         * sysdeps/unix/sysv/linux/Makefile
20807         [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
20809         * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
20810         Drop trailing \n from perror argument.  Use return rather than exit.
20812         * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
20813         on [SA_SIGINFO].
20814         * nptl/tst-cancel21.c (do_test): Likewise.
20815         * debug/tst-backtrace6.c: Include <signal.h> first thing.
20816         Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
20817         [!SA_SIGINFO]: Make it a stub test.
20819         * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
20820         SIGCHLD; it's redundant with SIG_IGN as sa_handler.
20822         * posix/tst-getlogin.c: Move to ...
20823         * login/tst-getlogin.c: ... here.
20824         * posix/Makefile (tests): Move tst-getlogin to ...
20825         * login/Makefile (tests): ... here.
20827         * libio/tst-atime.c (do_test): Move local variables SV and E
20828         inside [ST_NOATIME] conditional.
20830         * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
20832         * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
20834         * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
20835         (wait_code): New function replaces macro.
20836         Call nanosleep rather than syscall.
20838         * nptl/pt-system.c: Rewritten.  Put everything under
20839         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
20840         Use IFUNC to redirect when possible.
20842         * nptl/pt-longjmp.c: Rewritten.  Put everything under
20843         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
20844         Use IFUNC to redirect when possible.
20846         * nptl/pt-fork.c: Rewritten.  Put everything under
20847         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
20848         Use IFUNC to redirect when possible.
20849         * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
20851         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
20852         code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
20853         unconditionally nowadays.  This included the only reference to
20854         __vdso_clock_gettime that appears outside libc proper.
20855         * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
20856         Remove version set (containing only __vdso_clock_gettime).
20857         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
20858         Add attribute_hidden.
20859         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
20860         Likewise.  Drop __attribute__ ((nocommon)), libc_hidden_proto, and
20861         libc_hidden_data_def.
20862         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
20863         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
20865         * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
20866         getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
20867         setrpcent, and getrpcport to ...
20868         * sunrpc/Versions (libc: GLIBC_2.0): ... here.
20869         * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
20870         getrpcbynumber_r, and getrpcent_r to ...
20871         * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
20872         * inet/getrpcbyname.c: Moved ...
20873         * sunrpc/getrpcbyname.c: ... here.
20874         * inet/getrpcbyname_r.c: Moved ...
20875         * sunrpc/getrpcbyname_r.c: ... here.
20876         * inet/getrpcbynumber.c: Moved ...
20877         * sunrpc/getrpcbynumber.c: ... here.
20878         * inet/getrpcbynumber_r.c: Moved ...
20879         * sunrpc/getrpcbynumber_r.c: ... here.
20880         * inet/getrpcent.c: Moved ...
20881         * sunrpc/getrpcent.c: ... here.
20882         * inet/getrpcent_r.c: Moved ...
20883         * sunrpc/getrpcent_r.c: ... here.
20884         * inet/Makefile (routines): Move those to ...
20885         * sunrpc/Makefile (routines): ... here.
20886         * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
20887         the $(subdirs) list.
20888         (CPPFLAGS-getent.c): New variable.  Pass -D option to set HAVE_SUNRPC
20889         to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
20890         * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
20891         (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
20893         * elf/Makefile (routines): Include $(all-dl-routines), not just
20894         $(dl-routines).
20895         (rtld-routines): Likewise.  Use = rather than :=.
20896         * sysdeps/aarch64/Makefile [$(subdir) = elf]
20897         (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
20898         dl-tlsdesc to these; sysdep-dl-routines alone is enough.
20899         * sysdeps/arm/Makefile: Likewise.
20900         * sysdeps/i386/Makefile: Likewise.
20901         * sysdeps/x86_64/Makefile: Likewise.
20902         * sysdeps/hppa/Makefile [$(subdir) = elf]
20903         (sysdep_routines, sysdep-rtld-routines): Don't add
20904         $(sysdep-dl-routines) to these.
20905         * sysdeps/ia64/Makefile: Likewise.
20906         * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
20907         * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
20908         [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
20909         Don't add dl-static to these; sysdep-dl-routines alone is enough.
20910         * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
20911         * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
20912         * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
20913         * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
20914         * sysdeps/powerpc/Makefile [$(subdir) = elf]
20915         (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
20916         these; sysdep-dl-routines alone is enough.
20918 2015-02-06  Joseph Myers  <joseph@codesourcery.com>
20920         [BZ #17932]
20921         * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
20922         where multiplication results in zero and third argument is finite
20923         and nonzero.
20924         * math/auto-libm-test-in: Add more tests of fma.
20925         * math/auto-libm-test-out: Regenerated.
20927         * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
20928         (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
20929         (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
20930         (_FP_CMP_EQ): Likewise.
20931         (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
20933         * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
20934         extra argument CHECK_NAN.  Redefine as wrapper around
20935         _FP_EXTEND_CNAN.
20937 2015-02-06  Carlos O'Donell  <carlos@systemhalted.org>
20939         * version.h (RELEASE): Set to "stable".
20940         (VERSION): Set to "2.21"
20941         * include/features.h (__GLIBC_MINOR__): Set to 21.
20943         * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
20945 2015-02-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
20946             Paul Eggert  <eggert@cs.ucla.edu>
20948         [BZ #16618]
20949         * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
20950         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
20951         size in bytes. Store needed elements in wpmax. Use needed size
20952         in bytes for extend_alloca.
20954 2015-02-05  Carlos O'Donell  <carlos@systemhalted.org>
20956         * manual/install.texi: Latest tested versions are GCC 4.9.2,
20957         binutls 2.25, and texinfo 5.2.
20958         * INSTALL: Regenerate.
20959         * sysdeps/nios2/configure: Regenerate.
20960         * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
20961         * manual/contrib.texi: Update.
20962         * po/be.po: Update.
20963         * po/bg.po: Update.
20964         * po/ca.po: Update.
20965         * po/cs.po: Update.
20966         * po/da.po: Update.
20967         * po/de.po: Update.
20968         * po/el.po: Update.
20969         * po/eo.po: Update.
20970         * po/es.po: Update.
20971         * po/fi.po: Update.
20972         * po/fr.po: Update.
20973         * po/gl.po: Update.
20974         * po/hr.po: Update.
20975         * po/hu.po: Update.
20976         * po/ia.po: Update.
20977         * po/id.po: Update.
20978         * po/it.po: Update.
20979         * po/ja.po: Update.
20980         * po/ko.po: Update.
20981         * po/lt.po: Update.
20982         * po/nb.po: Update.
20983         * po/nl.po: Update.
20984         * po/pl.po: Update.
20985         * po/pt_BR.po: Update.
20986         * po/ru.po: Update.
20987         * po/rw.po: Update.
20988         * po/sk.po: Update.
20989         * po/sl.po: Update.
20990         * po/sv.po: Update.
20991         * po/tr.po: Update.
20992         * po/uk.po: Update.
20993         * po/vi.po: Update.
20994         * po/zh_CN.po: Update.
20995         * po/zh_TW.po: Update.
20997         * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
20998         * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
20999         * sysdeps/hppa/dl-irel.h: Remove #warning.
21000         * sysdeps/hppa/entry.h: Provide prototype for
21001         __canonicalize_funcptr_for_compare and cast argument.
21002         * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
21003         * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
21004         * sysdeps/hppa/sotruss-lib.c: New file.
21005         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
21006         (atomic_compare_and_exchange_val_acq): Use __typeof__.
21007         (atomic_compare_and_exchange_bool_acq): Likewise.
21008         * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
21009         * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
21011         * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
21012         * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
21013         * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
21015 2015-02-05  Chung-Lin Tang  <cltang@codesourcery.com>
21017         * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
21018         called function in non-PIC case.
21020 2015-01-31  David S. Miller  <davem@davemloft.net>
21022         * sysdeps/sparc/sparc32/bits/atomic.h
21023         (__sparc32_atomic_do_unlock24): Put the memory barrier before the
21024         unlock not after it.
21025         (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
21026         volatile register usage warnings from the compiler.
21028         * sysdeps/sparc/nptl/sem_init.c: Delete.
21029         * sysdeps/sparc/nptl/sem_post.c: Delete.
21030         * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
21031         * sysdeps/sparc/nptl/sem_wait.c: Delete.
21032         * sysdeps/sparc/sparc32/sem_init.c: New file.
21033         * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
21034         * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
21035         padding explicitly initialized.
21036         * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
21037         padding for in-semaphore spinlock.
21038         * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
21039         * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
21040         * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
21041         * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
21042         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
21043         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
21044         * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
21045         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
21046         version.
21047         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
21048         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
21050 2015-01-30  H.J. Lu  <hongjiu.lu@intel.com>
21052         [BZ #17801]
21053         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
21054         Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
21055         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
21056         New.
21057         (index_AVX_Fast_Unaligned_Load): Likewise.
21058         (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
21059         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
21060         bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
21061         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
21062         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
21063         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
21064         * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
21065         HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
21066         * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
21068 2015-01-29  Andreas Schwab  <schwab@suse.de>
21070         * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
21072 2015-01-29  Siddhesh Poyarekar <siddhesh@redhat.com>
21074         [BZ #17892]
21075         * nscd/nscd_stat.c (send_stats): Initialize DATA.
21077 2015-01-28  Martin Sebor  <msebor@redhat.com>
21079         * math/README.libm-test: Clarify. Add "How to read the test output."
21081 2015-01-28  Chris Metcalf  <cmetcalf@ezchip.com>
21083         * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
21084         Define to 0.
21086 2015-01-28  Joseph Myers  <joseph@codesourcery.com>
21088         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
21089         (__HAVE_64B_ATOMICS): Define to 0.
21091 2015-01-28  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
21093         [BZ #17885]
21094         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
21095         value to set as new flag.
21097         [BZ #16576]
21098         * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
21099         and use _ARCH_PPCSQ instead.
21100         (__ieee754_sqrt): Likewise.
21101         (__ieee754_sqrtf): Likewise.
21102         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
21103         _ARCH_PPCSQ is defined.
21104         (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
21105         fsqrt instruction.
21106         * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
21107         _ARCH_PPCSQ is defined.
21108         (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
21109         fsqrts instruction.
21110         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
21112 2015-01-27  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
21114         * iconv/loop.c: Suppress array out of bound warning caused by GCC
21115         bug (GCC BZ #64739).
21117 2015-01-25  Andreas Schwab  <schwab@linux-m68k.org>
21119         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
21120         Mark _retval as used.
21121         (lll_futex_wake_unlock): Likewise.
21122         (lll_futex_timed_wait_requeue_pi): Likewise.
21124         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
21125         (atomic_compare_and_exchange_val_acq): Use uint32_t for the
21126         register variables.
21128         * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
21129         libm_hidden_def.
21131         * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
21132         (__bswap_64): Mark as __always_inline.
21134 2015-01-25  Bram  <bug_rh@spam.wizbit.be>
21136         [BZ #15378]
21137         * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
21138         when none of the search directories exist.
21140 2015-01-24  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
21142         [BZ #17869]
21143         * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
21144         power8 in .machine directive.
21146         [BZ #17868]
21147         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
21148         set dependency from opd value.
21150 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
21152         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
21153         Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
21154         architecture.
21156 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
21158         [BZ #17870]
21159         * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
21160         with uint64_t.
21161         * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
21162         (uint64_t) 1.
21163         (__new_sem_wait_fast): Replace unsigned long with uint64_t.
21164         (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
21165         Replace 1UL with (uint64_t) 1.
21166         * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
21167         int with uint64_t.
21169 2015-01-23  Roland McGrath  <roland@hack.frob.com>
21171         * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
21172         (if_freenameindex): Likewise.
21174         * resource/getrlimit64.c: Add missing libc_hidden_def.
21176 2015-01-22  Joseph Myers  <joseph@codesourcery.com>
21178         * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
21179         __label__.
21180         (_FP_FMA): Likewise.
21181         (_FP_TO_INT_ROUND): Likewise.
21182         (_FP_FROM_INT): Likewise.
21184 2015-01-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21186         [BZ #16418]
21187         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
21188         Make code racy and cancel safe.
21190 2015-01-21  Carlos O'Donell  <carlos@redhat.com>
21192         * sysdeps/arm/unwind-resume.h: Fix copyright year.
21193         * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
21194         attribution.
21196         * pwd/tst-getpw.c: Rewrite.
21198         [BZ #17702]
21199         * dlfcn/Makefile (tests): Add tst-rec-dlopen.
21200         (modules-names): Add moddummy1 and moddummy2.
21201         ($(objpfx)tst-rec-dlopen): Define.
21202         * dlfcn/moddummy1.c: New file.
21203         * dlfcn/moddummy2.c: New file.
21204         * dlfcn/tst-rec-dlopen.c: New file.
21205         * elf/dl-cache.c (_dl_load_cache_lookup):
21206         Return char*. Copy result with alloca/strcpy/strdup.
21207         * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
21208         returns char*. Free cached. If not saving realname
21209         free cached.
21210         * elf/dl-open.c (dl_open_worker): Do not assert that
21211         _r_debug->r_state is RT_CONSISTENT.
21212         * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
21213         returns char*.
21215 2015-01-21  Torvald Riegel  <triegel@redhat.com>
21216             Carlos O'Donell  <carlos@redhat.com>
21218         [BZ #12674]
21219         * nptl/sem_waitcommon.c: New file.
21220         * nptl/sem_wait.c: Include sem_waitcommon.c.
21221         (__sem_wait_cleanup, do_futex_wait): Remove.
21222         (__new_sem_wait): Adapt.
21223         (__new_sem_trywait): New function.
21224         (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
21225         * nptl/sem_timedwait.c: Include sem_waitcommon.c.
21226         (__sem_wait_cleanup, do_futex_timed_wait): Remove.
21227         (sem_timedwait): Adapt.
21228         * nptl/sem_post.c (__new_sem_post): Adapt.
21229         (futex_wake): New function.
21230         (__old_sem_post): Add release MO fence.
21231         * nptl/sem_open.c (sem_open): Adapt.
21232         * nptl/sem_init.c (__new_sem_init): Adapt.
21233         (futex_private_if_supported): New function.
21234         * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
21235         (__old_sem_getvalue): Add using previous code.
21236         * sysdeps/nptl/internaltypes.h: Adapt.
21237         * nptl/tst-sem13.c (do_test): Adapt.
21238         * nptl/tst-sem11.c (main): Adapt.
21239         * nptl/sem_trywait.c: Remove.
21240         * nptl/DESIGN-sem.txt: Remove.
21241         * nptl/Makefile (libpthread-routines): Remove sem_trywait.
21242         (gen-as-const-headers): Remove structsem.sym.
21243         * nptl/structsem.sym: Remove.
21244         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
21245         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
21246         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
21247         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
21248         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
21249         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
21250         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
21251         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
21252         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
21253         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
21254         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
21255         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
21256         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
21257         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
21258         * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
21259         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
21260         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
21261         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
21262         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
21263         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
21264         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
21265         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
21267 2015-01-20  Carlos O'Donell  <carlos@redhat.com>
21269         * INSTALL: Regenerated.
21271         * po/libc.pot: Regenerated.
21273 2015-01-18  Chung-Lin Tang  <cltang@codesourcery.com>
21274             Sandra Loosemore  <sandra@codesourcery.com>
21275             Andrew Jenner  <andrew@codesourcery.com>
21276             Joseph Myers  <joseph@codesourcery.com>
21277             Nathan Sidwell  <nathan@codesourcery.com>
21279         * NEWS: Mention new Nios II port.
21280         * sysdeps/nios2/Implies: New file.
21281         * sysdeps/nios2/Makefile: New file.
21282         * sysdeps/nios2/Subdirs: New file.
21283         * sysdeps/nios2/Versions: New file.
21284         * sysdeps/nios2/__longjmp.S: New file.
21285         * sysdeps/nios2/abort-instr.h: New file.
21286         * sysdeps/nios2/backtrace.c: New file.
21287         * sysdeps/nios2/bits/endian.h: New file.
21288         * sysdeps/nios2/bits/fenv.h: New file.
21289         * sysdeps/nios2/bits/link.h: New file.
21290         * sysdeps/nios2/bits/setjmp.h: New file.
21291         * sysdeps/nios2/bsd-_setjmp.S: New file.
21292         * sysdeps/nios2/bsd-setjmp.S: New file.
21293         * sysdeps/nios2/configure: New generated file.
21294         * sysdeps/nios2/configure.ac: New file.
21295         * sysdeps/nios2/crti.S: New file.
21296         * sysdeps/nios2/crtn.S: New file.
21297         * sysdeps/nios2/dl-init.c: New file.
21298         * sysdeps/nios2/dl-machine.h: New file.
21299         * sysdeps/nios2/dl-sysdep.h: New file.
21300         * sysdeps/nios2/dl-tls.h: New file.
21301         * sysdeps/nios2/dl-trampoline.S: New file.
21302         * sysdeps/nios2/gccframe.h: New file.
21303         * sysdeps/nios2/gmp-mparam.h: New file.
21304         * sysdeps/nios2/jmpbuf-offsets.h: New file.
21305         * sysdeps/nios2/jmpbuf-unwind.h: New file.
21306         * sysdeps/nios2/ldsodefs.h: New file.
21307         * sysdeps/nios2/libc-tls.c: New file.
21308         * sysdeps/nios2/libm-test-ulps: New file.
21309         * sysdeps/nios2/machine-gmon.h: New file.
21310         * sysdeps/nios2/math-tests.h: New file.
21311         * sysdeps/nios2/math_private.h: New file.
21312         * sysdeps/nios2/memusage.h: New file.
21313         * sysdeps/nios2/nptl/Makefile: New file.
21314         * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
21315         * sysdeps/nios2/nptl/bits/semaphore.h: New file.
21316         * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
21317         * sysdeps/nios2/nptl/pthreaddef.h: New file.
21318         * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
21319         * sysdeps/nios2/nptl/tls.h: New file.
21320         * sysdeps/nios2/preconfigure: New file.
21321         * sysdeps/nios2/s_fma.c: New file.
21322         * sysdeps/nios2/s_fmaf.c: New file.
21323         * sysdeps/nios2/setjmp.S: New file.
21324         * sysdeps/nios2/sfp-machine.h: New file.
21325         * sysdeps/nios2/sotruss-lib.c: New file.
21326         * sysdeps/nios2/stackguard-macros.h: New file.
21327         * sysdeps/nios2/stackinfo.h: New file.
21328         * sysdeps/nios2/start.S: New file.
21329         * sysdeps/nios2/sysdep.h: New file.
21330         * sysdeps/nios2/tls-macros.h: New file.
21331         * sysdeps/nios2/tst-audit.h: New file.
21332         * sysdeps/unix/sysv/linux/nios2/Implies: New file.
21333         * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
21334         * sysdeps/unix/sysv/linux/nios2/Versions: New file.
21335         * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
21336         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
21337         * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
21338         * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
21339         * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
21340         * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
21341         * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
21342         * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
21343         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
21344         * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
21345         * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
21346         * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
21347         * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
21348         * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
21349         * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
21350         * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
21351         * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
21352         * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
21353         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
21354         * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
21355         * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
21356         * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
21357         * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
21358         * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
21359         * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
21360         * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
21361         * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
21362         * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
21363         * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
21364         * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
21365         * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
21366         * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
21367         * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
21368         * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
21369         * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
21370         * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
21371         * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
21372         * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
21373         * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
21374         * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
21375         * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
21377 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
21379         [BZ #17844]
21380         * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
21381         (getutent): Use weak_alias in non SHARED case
21382         and default_symbol_version in SHARED case.
21383         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
21384         (getutent_r, pututline): Likewise.
21385         * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
21386         (getutid): Likewise.
21387         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
21388         (getutid_r): Likewise.
21389         * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
21390         (getutline): Likewise.
21391         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
21392         (getutline_r): Likewise.
21393         * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
21394         (updwtmp): Likewise.
21396 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
21398         [BZ #17848]
21399         * sysdeps/s390/s390-32/memcmp.S
21400         (memcmp_g5): Rename to __memcmp_g5.
21401         * sysdeps/s390/s390-32/memcpy.S
21402         (memcpy_g5): Rename to __memcpy_g5.
21403         Jump to __memcpy_mvcle instead of memcpy_mvcle.
21404         (memcpy_mvcle) Rename to __memcpy_mvcle.
21405         * sysdeps/s390/s390-32/memset.S
21406         (memset_g5): Rename to __memset_g5.
21407         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
21408         (IFUNC_RESOLVE): Prefix ifunc-resolve function
21409         and use prefixed functions.
21410         * sysdeps/s390/s390-32/multiarch/memcmp.S
21411         (memcmp_z196): Rename to __memcmp_z196.
21412         (memcmp_z10): Rename to __memcmp_z10.
21413         (memcmp): Set alias to __memcmp_g5.
21414         (bcmp): Set alias to __memcmp_g5.
21415         * sysdeps/s390/s390-32/multiarch/memcpy.S
21416         (memcpy_z196): Rename to __memcpy_z196.
21417         Jump to __memcpy_mvcle instead of memcpy_mvcle.
21418         (memcpy_z10): Rename to __memcpy_z10.
21419         Jump to __memcpy_mvcle instead of memcpy_mvcle.
21420         (memcpy): Set alias to __memcpy_g5.
21421         * sysdeps/s390/s390-32/multiarch/memset.S
21422         (memset_z196): Rename to __memset_z196.
21423         Jump to __memset_mvcle instead of memset_mvcle.
21424         (memset_z10): Rename to __memset_z10.
21425         Jump to __memset_mvcle instead of memset_mvcle.
21426         (memset_mvcle) Rename to __memset_mvcle.
21427         (memset): Set alias to __memset_g5.
21428         * sysdeps/s390/s390-64/memcmp.S
21429         (memcmp_z900): Rename to __memcmp_z900.
21430         * sysdeps/s390/s390-64/memcpy.S
21431         (memcpy_z900): Rename to __memcpy_z900.
21432         Jump to __memcpy_mvcle instead of memcpy_mvcle.
21433         (memcpy_mvcle) Rename to __memcpy_mvcle.
21434         * sysdeps/s390/s390-64/memset.S
21435         (memset_z900): Rename to __memset_z900.
21436         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
21437         (IFUNC_RESOLVE): Prefix ifunc-resolve function
21438         and use prefixed functions.
21439         * sysdeps/s390/s390-64/multiarch/memcmp.S
21440         (memcmp_z196): Rename to __memcmp_z196.
21441         (memcmp_z10): Rename to __memcmp_z10.
21442         (memcmp): Set alias to __memcmp_z900.
21443         (bcmp): Set alias to __memcmp_z900.
21444         * sysdeps/s390/s390-64/multiarch/memcpy.S
21445         (memcpy_z196): Rename to __memcpy_z196.
21446         Jump to __memcpy_mvcle instead of memcpy_mvcle.
21447         (memcpy_z10): Rename to __memcpy_z10.
21448         Jump to __memcpy_mvcle instead of memcpy_mvcle.
21449         (memcpy): Set alias to __memcpy_z900.
21450         * sysdeps/s390/s390-64/multiarch/memset.S
21451         (memset_z196): Rename to __memset_z196.
21452         Jump to __memset_mvcle instead of memset_mvcle.
21453         (memset_z10): Rename to __memset_z10.
21454         Jump to __memset_mvcle instead of memset_mvcle.
21455         (memset_mvcle) Rename to __memset_mvcle.
21456         (memset): Set alias to __memset_z900.
21458 2015-01-14  Joseph Myers  <joseph@codesourcery.com>
21460         [BZ #17748]
21461         * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
21462         __fesetenv instead of fesetenv.
21464 2015-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
21466         * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
21467         macro.
21469 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21471         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
21472         regression on LE.
21474         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
21475         * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
21476         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
21477         strncmp-power8 object.
21478         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21479         (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
21480         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
21481         * NEWS: Update.
21483 2015-01-13  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
21484             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21486         * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
21487         trailing byte check.
21489 2015-01-13  David S. Miller  <davem@davemloft.net>
21491         * include/signal.h (__sigreturn): Guard with __USE_MISC.
21493 2015-01-13  Roland McGrath  <roland@hack.frob.com>
21495         * login/logout.c (logout): Use memset rather than bzero.
21496         * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
21497         * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
21498         * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
21499         (_gethtbyaddr): Likewise.
21500         * locale/programs/simple-hash.c (bcopy): Macro removed.
21502 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21504         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
21505         Add strcmp-power8 object.
21506         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21507         (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
21508         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
21509         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
21510         __strcmp_power8 implementation.
21511         * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
21512         * NEWS: Update.
21514         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
21515         Add strncpy-power8 and stpncpy-power8 objects.
21516         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21517         (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
21518         implementations.
21519         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
21520         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
21521         __stpncpy_power8 implementation.
21522         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
21523         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
21524         __strncpy_power8 implementation.
21525         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
21526         * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
21527         * NEWS: Update.
21529         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
21530         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
21531         * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
21533         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
21534         strncat-power8 object.
21535         * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
21536         __strcat_power8 implementation.
21537         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21538         (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
21539         * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
21540         optimized strcat for power8.
21542         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
21543         strcpy-power8 and stpcpy-power8 objects.
21544         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21545         (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
21546         implementations.
21547         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
21548         multiarch stpcpy implementation for POWER8.
21549         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
21550         multiarch strcpy implementation for POWER8.
21551         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
21552         __strcpy_power8 function.
21553         * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
21554         stpcpy for POWER8.
21555         * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
21556         strcpy for POWER8.
21557         * NEWS: Update.
21559 2015-01-13  Leonhard Holz  <leonhard.holz@web.de>
21561         [BZ #16009]
21562         * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
21563         weights and rules. Use do_xfrm_cached if data fits in cache,
21564         do_xfrm otherwise.  Moved former main loop to...
21565         * (do_xfrm_cached): New function.
21566         * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
21567         find_idx, find_position and stack_push.
21568         * (find_idx): New function.
21569         * (find_position): Likewise.
21570         * localedata/sort-test.sh: Added test run for do_xfrm.
21571         * localedata/xfrm-test.c (main): Added command line option
21572         -nocache to run the test with strings that are too large for
21573         the STRXFRM cache.
21575 2015-01-13  Torvald Riegel  <triegel@redhat.com>
21577         * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
21578         variable to lll_futex_wake call, not the value itself.
21580 2015-01-12  Joseph Myers  <joseph@codesourcery.com>
21582         [BZ #17803]
21583         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
21584         twom64.  Adjust value to 0x1p-64L.
21585         (__scalblnl): Only return standard underflowing result for K <=
21586         -64 not K <= -63; adjust exponent for underflowing result by 64
21587         not 63.
21588         * math/libm-test.inc (scalbn_test_data): Add more tests.
21589         (scalbln_test_data): Likewise.
21591         [BZ #17834]
21592         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
21593         0x1p63L.
21594         (__scalblnl): Get new exponent of adjusted subnormal value from ES
21595         not HX.
21596         * math/libm-test.inc (scalbn_test_data): Add more tests.
21597         (scalbln_test_data): Likewise.
21599 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21600             Stefani Seibold  <stefani@seibold.net>
21602         * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
21603         (sysdep_routines): Add dl-vdso here, ...
21604         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
21605         (sysdep_routines): ... not here.
21606         * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
21607         fallback when vDSO is not presented.
21608         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
21609         Define with libc_hidden_proto/libc_hidden_data_def definitions.
21610         (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
21611         * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
21612         * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
21613         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
21614         * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
21615         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
21616         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
21617         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
21618         * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here.  Also added
21619         fallback configurable symbol when vDSO is not available.
21620         * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
21621         * sysdeps/unix/sysv/linux/x86/time.c: ... here.  Also refactored to
21622         be able to redefine fallback symbol when vDSO is not available.
21623         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
21624         * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
21626 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21628         * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
21629         (TLS_INIT_TP): Add tm_capable initialization.
21630         (TLS_DEFINE_INIT_TP): Likewise.
21631         (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
21632         TCB.
21633         (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
21634         * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
21635         calculation.
21636         * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
21637         transactoion is lock elision is built and TCB tm_capable is set.
21638         * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
21639         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
21640         (INTERNAL_SYSCALL_NCS): Likewise.
21641         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
21642         (INTERNAL_SYSCALL_NCS): Likewise.
21643         * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
21645         * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
21646         for powerpc.
21647         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
21648         [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
21649         and remove it for 32 bits case.
21650         [pthread_rwlock_t] (__rwelision): New field for lock elision.
21651         (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
21652         initialization.
21653         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
21654         Disable lock elision with rdlocks if elision is not available.
21656         * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
21657         (sysdep_routines): Add lock elision objects.
21658         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
21659         [pthread_mutex_t] (__spins): Rework to add lock elision field.
21660         [pthread_mutex_t] (__elision): Add field.
21661         [__PTHREAD_SPINS]: Adjust to init lock elision field.
21662         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
21663         elision definitions for powerpc.
21664         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
21665         implementation of lock elision for powerpc.
21666         * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
21667         implementation of timed lock elision for powerpc.
21668         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
21669         implementation of trylock with lock elision for powerpc.
21670         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
21671         implementaion of unlock for lock elision for powerpc.
21672         * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
21673         automatic enable lock elision for mutexes.
21674         * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
21675         transaction execution definitions for powerpc.
21676         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
21677         definitions.
21678         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
21679         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
21680         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
21681         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
21682         * NEWS: Update.
21684 2015-01-09  Roland McGrath  <roland@hack.frob.com>
21686         * sysdeps/posix/shm-directory.c: Use <> rather than ""
21687         for #include of <shm-directory.h>.
21689 2015-01-09  Chung-Lin Tang  <cltang@codesourcery.com>
21691         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
21692         assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
21694 2015-01-09  Matthew Fortune <matthew.fortune@imgtec.com>
21696         [BZ #17791]
21697         * NEWS: Mention bug fix.
21698         * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
21699         (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
21700         (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
21702 2015-01-09  Torvald Riegel <triegel@redhat.com>
21704         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
21706 2015-01-09  Torvald Riegel <triegel@redhat.com>
21708         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
21710 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
21712         * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
21713         pointer and cast to uintptr_t.
21715 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
21717         * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
21718         removed.
21719         (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
21721 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
21723         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
21724         of 0.
21726 2015-01-08  Roland McGrath  <roland@hack.frob.com>
21728         * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
21729         <nptl/pthreadP.h> instead.
21730         * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
21732         * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
21733         already defined.
21734         [__SIGRTMIN] (init): Function removed.
21735         [__SIGRTMIN] (initialized): Variable removed.
21736         [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
21737         [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
21738         __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
21739         (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
21740         (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
21741         (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
21742         (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
21743         (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
21744         (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
21745         (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
21746         (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
21747         * sysdeps/nptl/allocrtsig.c: New file.
21748         * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
21749         * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
21750         * sysdeps/generic/testrtsig.h: File removed.
21752         * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
21753         (pthread_sigmask): Call sigprocmask, not __sigprocmask.
21755         * nptl/nptl-init.c (pthread_functions): Conditionalize
21756         .ptr__nptl_setxid initialization on [SIGSETXID].
21758         * sysdeps/nptl/sys/procfs.h: New file.
21759         * nptl_db/Makefile (headers): Add it.
21760         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
21762         * nptl/pthreadP.h (check_cpuset_attr): Moved ...
21763         * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
21764         * nptl/pthread_attr_setaffinity.c: Include it.
21765         * nptl/pthread_setattr_default_np.c: Likewise.
21766         * nptl/check-cpuset.h: New file.
21768 2015-01-08  Richard Henderson  <rth@redhat.com>
21770         * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
21771         (CFLAGS-tst-execstack-prog.c): Likewise.
21772         * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
21774 2015-01-08  Chung-Lin Tang  <cltang@codesourcery.com>
21775             Sandra Loosemore  <sandra@codesourcery.com>
21776             Andrew Jenner  <andrew@codesourcery.com>
21777             Joseph Myers  <joseph@codesourcery.com>
21778             Nathan Sidwell  <nathan@codesourcery.com>
21780         * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
21781         (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
21782         (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
21783         (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
21784         (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
21785         (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
21786         (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
21787         (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
21788         (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
21789         (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
21790         (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
21791         (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
21792         (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
21793         (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
21794         (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
21795         (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
21796         (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
21798 2015-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21800         * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
21801         timespec struct member in syscall macro.
21802         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
21803         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
21804         first timeval struct member in syscall macro.
21805         * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
21807 2015-01-07  Joseph Myers  <joseph@codesourcery.com>
21809         [BZ #17748]
21810         * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
21811         * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
21812         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
21813         __feupdateenv and define as weak alias of __feupdateenv.  Use
21814         libm_hidden_weak.
21815         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
21816         libm_hidden_def.
21817         * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
21818         and define as weak alias of __feupdateenv.  Use libm_hidden_weak.
21819         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
21820         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
21821         libm_hidden_def.
21822         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
21823         __feupdateenv and define as weak alias of __feupdateenv.  Use
21824         libm_hidden_weak.
21825         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
21826         libm_hidden_def.
21827         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
21828         __feupdateenv and define as weak alias of __feupdateenv.  Use
21829         libm_hidden_weak.
21830         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
21831         libm_hidden_def.
21832         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
21833         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
21834         (__feupdateenv): Likewise.
21835         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
21836         __feupdateenv and define as weak alias of __feupdateenv.  Use
21837         libm_hidden_weak.
21838         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
21839         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
21840         libm_hidden_def.
21841         * sysdeps/tile/math_private.h (__feupdateenv): New inline
21842         function.
21843         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
21844         libm_hidden_def.
21845         * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
21846         __feupdateenv instead of feupdateenv.
21847         (default_libc_feupdateenv_test): Likewise.
21848         (libc_feresetround_ctx): Likewise.
21850 2015-01-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21852         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
21853         prototype.
21855 2015-01-07  Chris Metcalf  <cmetcalf@ezchip.com>
21857         * posix/regcomp.c (parse_bracket_exp): Initialize type to
21858         COLL_SYM in a couple of places to avoid uninitialized variable
21859         wanings on tilegx gcc 4.8.2.
21861 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
21863         * sysdeps/aarch64/strcpy.S: New file.
21864         * sysdeps/aarch64/stpcpy.S: New file.
21865         * NEWS: Updated.
21867 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
21869         * sysdeps/aarch64/strrchr.S: New file.
21870         * NEWS: Updated.
21872 2015-01-07  Eric Biggers  <ebiggers3@gmail.com>
21874         [BZ #17658]
21875         * stdlib/setenv.c: Fix memory leak when setting large,
21876         duplicate string.
21878 2015-01-06  Vladimir A. Nazarenko  <naszar@ya.ru>
21880         [BZ #17273]
21881         * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
21882         and tabs from buffer before parsing fstab entry.
21883         * misc/tst-mntent.c (main): Add test for mount entry with
21884         trailing spaces and tabs.
21886 2015-01-06  Joseph Myers  <joseph@codesourcery.com>
21888         [BZ #17748]
21889         * include/fenv.h (__fesetround): Declare.  Use libm_hidden_proto.
21890         * math/fesetround.c (fesetround): Rename to __fesetround and
21891         define as weak alias of __fesetround.  Use libm_hidden_weak.
21892         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
21893         * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
21894         * sysdeps/arm/fesetround.c (fesetround): Likewise.
21895         * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
21896         * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
21897         * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
21898         * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
21899         * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
21900         * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
21901         __fesetround_inline.
21902         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
21903         __fesetround_inline instead of __fesetround.
21904         * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
21905         __fesetround and define as weak alias of __fesetround.  Use
21906         libm_hidden_weak.  Call __fesetround_inline instead of
21907         __fesetround.
21908         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
21909         __fesetround and define as weak alias of __fesetround.  Use
21910         libm_hidden_weak.
21911         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
21912         Likewise.
21913         * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
21914         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
21915         * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
21916         * sysdeps/tile/math_private.h (__fesetround): New inline function.
21917         * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
21918         __fesetround and define as weak alias of __fesetround.  Use
21919         libm_hidden_weak.
21920         * sysdeps/generic/math_private.h (default_libc_fesetround): Call
21921         __fesetround instead of fesetround.
21922         (default_libc_feholdexcept_setround): Likewise.
21923         (libc_feholdsetround_ctx): Likewise.
21924         (libc_feholdsetround_noex_ctx): Likewise.
21926         [BZ #17748]
21927         * include/fenv.h (__fesetenv): Use libm_hidden_proto.
21928         * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
21929         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
21930         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
21931         * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
21932         * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
21933         define as weak alias of __fesetenv.  Use libm_hidden_weak.
21934         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
21935         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
21936         * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
21937         define as weak alias of __fesetenv.  Use libm_hidden_weak.
21938         * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
21939         * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
21940         define as weak alias of __fesetenv.  Use libm_hidden_weak.
21941         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
21942         libm_hidden_def.
21943         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
21944         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
21945         Likewise.
21946         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
21947         define as weak alias of __fesetenv.  Use libm_hidden_weak.
21948         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
21949         * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
21950         * sysdeps/tile/math_private.h (__fesetenv): New inline function.
21951         * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
21952         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
21953         * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
21954         __fesetenv instead of fesetenv.
21955         (libc_feresetround_noex_ctx): Likewise.
21956         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
21957         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
21958         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
21959         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
21960         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
21961         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
21962         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
21963         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
21964         (__feupdateenv): Likewise.
21965         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
21966         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
21967         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
21968         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
21970 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
21972         [BZ #17806]
21973         * resolv/res_init.c (__res_iclose): Only clear nsinit if the
21974         addresses have been freed.
21976 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
21978         * resolv/res_init.c (__res_vinit): Improve comments about nserv
21979         and nservall.
21981 2015-01-06  Ondřej Bílka  <neleai@seznam.cz>
21983         * sysdeps/unix/sysv/linux/check_pf.c (make_request):
21984         Clean up check_pf allocation pattern. addresses
21986 2015-01-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21988         * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
21989         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
21990         * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
21991         * nptl/pthread_exit.c (__pthread_exit): Likewise.
21992         * nptl/pthread_join.c (pthread_join): Likewise.
21993         * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
21994         * sysdeps/posix/waitid.c (__waitid): Likewise.
21995         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
21996         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
21997         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
21998         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
21999         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
22000         Likewise.
22001         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
22002         (__libc_pread64): Likewise.
22003         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
22004         (__libc_pwrite): Likewise.
22005         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
22006         (__libc_pwrite64): Likewsie.
22007         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
22008         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
22009         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
22010         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
22011         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
22012         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
22013         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
22014         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
22015         Likewise.
22016         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
22017         (__libc_pread64): Likewise.
22018         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
22019         Likewise.
22020         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
22021         (__libc_pwrite64): Likewise.
22022         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
22023         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
22024         * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
22025         * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
22026         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
22027         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
22028         * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
22029         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
22030         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
22031         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
22032         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
22033         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
22034         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
22035         * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
22036         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
22037         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
22038         Likewise.
22040 2015-01-06  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
22042         * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
22043         (CFLAGS-test-double.c): Likewise.
22044         (CFLAGS-test-ldouble.c): Likewise.
22045         (CPPFLAGS-test-ifloat.c): Likewise.
22046         (CPPFLAGS-test-idouble.c): Likewise.
22047         (CPPFLAGS-test-ildoubl.c): Likewise.
22048         (CFLAGS-test-test-fenv.c): Remove variable.
22049         (CFLAGS-test-misc.c): Likewise.
22051 2015-01-06  H.J. Lu  <hongjiu.lu@intel.com>
22053         [BZ #17797]
22054         * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
22055         * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
22056         * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
22057         CLOCKS_PER_SEC == 1000000.
22058         * time/clocktest.c (main): Replace %ld with %jd and cast to
22059         intmax_t.
22061 2015-01-05  Roland McGrath  <roland@hack.frob.com>
22063         * sysdeps/generic/unwind-resume.h: New file.
22064         * sysdeps/gnu/unwind-resume.c: Include it.
22065         (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
22066         (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
22067         argument list.
22068         (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
22069         global rather than static.
22070         (_Unwind_Resume): Update user.
22071         Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
22072         (init): Likewise.  Renamed to __libgcc_s_init, made hidden global
22073         rather than static.  Add __attribute__ ((cold)).
22074         (_Unwind_Resume, __gcc_personality_v0): Update callers.
22075         * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
22076         * sysdeps/arm/arm-unwind-resume.S: New file.
22077         * sysdeps/arm/rt-arm-unwind-resume.S: New file.
22078         * sysdeps/arm/pt-arm-unwind-resume.S: New file.
22079         * sysdeps/arm/Makefile [$(subdir) = csu]
22080         (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
22081         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
22082         Add rt-arm-unwind-resume.
22083         [$(subdir) = nptl]
22084         (libpthread-sysdep_routines, libpthread-shared-only-routines):
22085         Add pt-arm-unwind-resume.
22086         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
22087         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
22089 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
22091         [BZ #17748]
22092         * include/fenv.h (__feholdexcept): Declare.  Use
22093         libm_hidden_proto.
22094         * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
22095         define as weak alias of __feholdexcept.  Use libm_hidden_weak.
22096         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
22097         * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
22098         * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
22099         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
22100         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
22101         * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
22102         * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
22103         * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
22104         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
22105         * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
22106         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
22107         (feholdexcept): Likewise.
22108         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
22109         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
22110         * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
22111         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
22112         * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
22113         __feholdexcept instead of feholdexcept.
22114         (default_libc_feholdexcept_setround): Likewise.
22116 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
22118         * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
22119         to avoid using stl/str to align destination.
22121 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
22123         * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
22125 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
22127         [BZ #17796]
22128         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
22129         [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
22130         Define as weak alias not strong alias.
22132 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
22134         * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
22135         bltzal with addiupc.
22136         (RTLD_START): Ditto.
22138 2015-01-05  Chris Metcalf  <cmetcalf@ezchip.com>
22140         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
22141         for __vdso_* functions in declarations.
22142         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
22143         definitions.
22144         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
22145         INTERNAL_VSYSCALL): Use struct return types to check for error.
22147         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
22148         && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
22149         function with cast from llround().
22150         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
22151         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
22152         Define.
22154 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
22156         [BZ #17793]
22157         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
22158         Define as weak alias not strong alias.
22160         [BZ #17635]
22161         * ctype/ctype-c99.c: New file.  isblank implementation moved from
22162         ...
22163         * ctype/ctype-extn.c: ... here.
22164         (__isblank_l): Move to ...
22165         * ctype/ctype-c99_l.c: ... here.  New file.
22166         * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
22167         * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
22168         Remove variable.
22169         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
22170         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
22171         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
22172         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
22173         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
22175         [BZ #17777]
22176         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
22177         (posix_fadvise64): Define as weak alias not strong alias.
22178         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
22179         (posix_fallocate64): Likewise.
22180         * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
22181         Remove variable.
22182         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
22183         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
22184         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
22185         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
22186         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
22188 2015-01-05  Matthew Fortune  <matthew.fortune@imgtec.com>
22190         [BZ #16191]
22191         * NEWS: Mention bug fix.
22192         * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
22193         (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
22194         (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
22195         (HOST_STACK_END_ADDR): Likewise.
22197 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
22199         [BZ #17748]
22200         * include/fenv.h (__fegetround): Declare.  Use libm_hidden_proto.
22201         * math/fegetround.c (fegetround): Rename to __fegetround and
22202         define as weak alias of __fegetround.  Use libm_hidden_weak.
22203         * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
22204         * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
22205         * sysdeps/arm/fegetround.c (fegetround): Likewise.
22206         * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
22207         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
22208         * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
22209         * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
22210         * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
22211         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
22212         Undefine after rather than before function definition; use
22213         parentheses around function name in definition.
22214         (__fegetround): Also undefine macro after function definition.
22215         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
22216         __fegetround and define as weak alias of __fegetround.  Use
22217         libm_hidden_weak.  Do not undefine as macro.
22218         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
22219         Likewise.
22220         * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
22221         __fegetround and define as weak alias of __fegetround.  Use
22222         libm_hidden_weak.
22223         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
22224         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
22225         * sysdeps/tile/math_private.h (__fegetround): New inline function.
22226         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
22227         __fegetround and define as weak alias of __fegetround.  Use
22228         libm_hidden_weak.
22229         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
22230         __fegetround instead of fegetround.
22232         [BZ #17782]
22233         * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
22234         Condition macro definition on [__USE_MISC].
22236         [BZ #17781]
22237         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
22238         (struct sigaction): Change type of sa_flags field to int.
22240         [BZ #17780]
22241         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
22242         [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
22243         __glibc_reserved0.
22245         * nptl/version.c (banner): Use single year in copyright notice.
22247         * NEWS: Update copyright dates.
22248         * catgets/gencat.c (print_version): Likewise.
22249         * csu/version.c (banner): Likewise.
22250         * debug/catchsegv.sh: Likewise.
22251         * debug/pcprofiledump.c (print_version): Likewise.
22252         * debug/xtrace.sh (do_version): Likewise.
22253         * elf/ldconfig.c (print_version): Likewise.
22254         * elf/ldd.bash.in: Likewise.
22255         * elf/pldd.c (print_version): Likewise.
22256         * elf/sotruss.sh: Likewise.
22257         * elf/sprof.c (print_version): Likewise.
22258         * iconv/iconv_prog.c (print_version): Likewise.
22259         * iconv/iconvconfig.c (print_version): Likewise.
22260         * locale/programs/locale.c (print_version): Likewise.
22261         * locale/programs/localedef.c (print_version): Likewise.
22262         * login/programs/pt_chown.c (print_version): Likewise.
22263         * malloc/memusage.sh (do_version): Likewise.
22264         * malloc/memusagestat.c (print_version): Likewise.
22265         * malloc/mtrace.pl: Likewise.
22266         * manual/libc.texinfo: Likewise.
22267         * nptl/version.c (banner): Likewise.
22268         * nscd/nscd.c (print_version): Likewise.
22269         * nss/getent.c (print_version): Likewise.
22270         * nss/makedb.c (print_version): Likewise.
22271         * posix/getconf.c (main): Likewise.
22272         * scripts/test-installation.pl: Likewise.
22273         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
22275 2015-01-02  Will Newton  <will.newton@linaro.org>
22277         * sysdeps/arm/armv7/configure: Removed.
22278         * sysdeps/arm/armv7/configure.ac: Likewise.
22280 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
22282         * All files with FSF copyright notices: Update copyright dates
22283         using scripts/update-copyrights.
22284         * intl/plural.c: Regenerated.
22285         * locale/programs/charmap-kw.h: Likewise.
22286         * locale/programs/locfile-kw.h: Likewise.
22288 2015-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
22290         * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
22292 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
22294         [BZ #17748]
22295         * include/fenv.h (__fegetenv): Use libm_hidden_proto.
22296         * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
22297         * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
22298         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
22299         * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
22300         * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
22301         define as weak alias of __fegetenv.  Use libm_hidden_weak.
22302         * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
22303         * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
22304         * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
22305         define as weak alias of __fegetenv.  Use libm_hidden_weak.
22306         * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
22307         * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
22308         define as weak alias of __fegetenv.  Use libm_hidden_weak.
22309         * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
22310         libm_hidden_def.
22311         * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
22312         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
22313         Likewise.
22314         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
22315         define as weak alias of __fegetenv.  Use libm_hidden_weak.
22316         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
22317         * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
22318         * sysdeps/tile/math_private.h (__fegetenv): New inline function.
22319         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
22320         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
22321         * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
22322         __fegetenv instead of fegetenv.
22323         (libc_feholdsetround_noex_ctx): Likewise.
22325 2014-12-31  Matthew Fortune  <matthew.fortune@imgtec.com>
22327         * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
22328         (Elf_MIPS_ABIFlags_v0): New structure.
22329         (EF_MIPS_FP64): Define.
22330         (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
22331         (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
22332         (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
22333         (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
22334         (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
22335         (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
22336         (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
22337         (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
22338         (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
22339         (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
22340         (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
22341         (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
22342         (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
22343         (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
22344         (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
22345         (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
22346         (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
22347         (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
22348         (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
22349         * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
22350         tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
22351         * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
22352         field.
22353         * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
22354         EF_MIPS_FP64.
22355         * sysdeps/mips/dl-machine-reject-phdr.h: New file.
22356         * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
22357         * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
22358         * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
22359         * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
22360         * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
22361         * sysdeps/mips/tst-abi-interlink.c: Likewise.
22362         * sysdeps/mips/tst-mode-switch-1.c: Likewise.
22363         * sysdeps/mips/tst-mode-switch-2.c: Likewise.
22364         * sysdeps/mips/tst-mode-switch-3.c: Likewise.
22365         * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
22366         record the current FP ABI extension.
22367         (mips-mode-switch): Define to show if kernel headers support mode
22368         switching.
22369         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
22370         * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
22371         supported SYSV ABI version to 3.
22372         * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
22373         feature.
22375 2014-12-31  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
22376             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22378         * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
22379         path.
22380         * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
22382 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
22384         * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
22385         __fegetround and redefine to call __fegetround.  Remove condition
22386         on [!__NO_MATH_INLINES].
22387         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
22388         function.
22389         * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
22390         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
22391         Remove macro.
22392         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
22393         instead of <fenv_libc.h>.
22394         (__llrintl): Call fegetround instead of __fegetround.
22395         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
22396         instead of <fenv_libc.h>.
22397         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
22398         (__lrintl): Call fegetround instead of __fegetround.
22399         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
22400         instead of <fenv_libc.h>.
22401         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
22402         (__rintl): Call fegetround instead of __fegetround.
22404 2014-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
22406         * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
22407         arrays.
22409 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
22411         [BZ #17775]
22412         * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
22413         (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
22414         (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
22416 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
22418         * sysdeps/i386/tls-macros.h: Include <features.h>.
22419         (TLS_LE): Use non-PIC version for GCC >= 5.0.
22420         (TLS_IE): Likewise.
22421         (TLS_LD): Likewise.
22422         (TLS_GD): Likewise.
22423         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
22424         define for GCC >= 5.0.
22426 2014-12-30  Chris Metcalf  <cmetcalf@ezchip.com>
22428         * math/test-fenv.c (test_single_exception, set_single_exc,
22429         feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
22430         feexcp_mask_test, feenable_test, fe_single_test): Add
22431         [!FE_ALL_EXCEPT] test so these routines are not compiled in the
22432         case where they are not used.
22433         * math/libm-test.inc: Likewise.
22434         * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
22435         unused in the absence of FP rounding/exception support.
22436         * stdio-common/tst-printf-round.c: Likewise.
22437         * stdlib/tst-strtod-round.c: Likewise.
22438         * stdlib/tst-strtod-underflow.c: Likewise.
22440 2014-12-30  Joseph Myers  <joseph@codesourcery.com>
22442         [BZ #17723]
22443         * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
22444         * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
22445         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
22446         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
22447         libm_hidden_weak.
22448         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
22449         * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
22450         * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
22451         libm_hidden_def.
22452         * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
22453         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
22454         libm_hidden_weak.
22455         * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
22456         Likewise.
22457         * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
22458         * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
22459         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
22460         libm_hidden_weak.
22461         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
22462         libm_hidden_def.
22463         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
22464         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
22465         (__feraiseexcept): Likewise.
22466         * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
22467         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
22468         libm_hidden_weak.
22469         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
22470         * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
22471         libm_hidden_def.
22472         * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
22473         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
22474         Use libm_hidden_def.
22475         * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
22476         libm_hidden_def.
22477         (feraiseexcept): Define as weak not strong alias.  Use
22478         libm_hidden_weak.
22479         * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
22480         New inline function.  Factored out of ...
22481         (feraiseexcept): ... here.  Use __feraiseexcept_invalid_divbyzero.
22482         * sysdeps/x86/fpu/include/bits/fenv.h: New file.
22483         * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
22484         feraiseexcept.
22485         * math/w_acos.c (__acos): Likewise.
22486         * math/w_asin.c (__asin): Likewise.
22487         * math/w_ilogb.c (__ilogb): Likewise.
22488         * math/w_j0.c (y0): Likewise.
22489         * math/w_j1.c (y1): Likewise.
22490         * math/w_jn.c (yn): Likewise.
22491         * math/w_log.c (__log): Likewise.
22492         * math/w_log10.c (__log10): Likewise.
22493         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
22494         * sysdeps/aarch64/fpu/math_private.h
22495         (libc_feupdateenv_test_aarch64): Likewise.
22496         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
22497         * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
22498         * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
22499         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
22500         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
22501         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
22502         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
22503         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
22504         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
22505         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
22507 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
22509         [BZ #17732]
22510         * io/test-utime.c (main): Replace %ld with %jd and cast to
22511         intmax_t.
22512         * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
22513         * nptl/tst-mutex5.c: Include <stdint.h>.
22514         (do_test): Replace %ld with %jd and cast to intmax_t.
22515         * posix/tst-regex.c (run_test): Likewise.
22516         (run_test_backwards): Likewise.
22517         * rt/tst-clock.c: Include <stdint.h>.
22518         (clock_test): Replace %ld with %jd and cast to intmax_t.
22519         * rt/tst-cpuclock1.c: Include <stdint.h>.
22520         (do_test): Replace %lu with %ju and cast to uintmax_t.
22521         * rt/tst-cpuclock2.c: Include <stdint.h>.
22522         (do_test): Replace %lu with %ju and cast to uintmax_t.
22523         * rt/tst-mqueue1.c: Include <stdint.h>.
22524         (check_attrs): Replace %ld with %jd and cast to intmax_t.
22525         * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
22526         intmax_t.
22527         * rt/tst-mqueue4.c (do_test): Likewise.
22528         * rt/tst-timer4.c: Include <stdint.h>.
22529         (check_ts): Replace %ld with %jd and cast to intmax_t.
22530         (do_test): Likewise.
22531         * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
22532         and cast to intmax_t.
22533         * sysdeps/pthread/tst-timer.c (main): Likewise.
22534         * time/clocktest.c (main): Likewise.
22535         * time/tst-posixtz.c (do_test): Likewise.
22536         * timezone/tst-timezone.c (main): Likewise.
22538 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
22539             H.J. Lu  <hongjiu.lu@intel.com>
22541         * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
22542         * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
22543         * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
22544         * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
22545         * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
22546         version if bit_Fast_Unaligned_Load is set.
22547         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
22548         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
22549         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
22550         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
22551         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
22552         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
22553         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
22554         bcopy-sse2-unaligned, memcpy-sse2-unaligned,
22555         memmove-sse2-unaligned and mempcpy-sse2-unaligned.
22556         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
22557         to 4.
22558         (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
22559         __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
22560         __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
22561         __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
22563 2014-12-29  Chris Metcalf  <cmetcalf@ezchip.com>
22565         * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
22566         instead of #if to avoid a Wundef warning.
22567         * stdlib/tst-limits.c (do_test): Likewise.
22569         * sysdeps/tile/math_private.h (fetestexcept): Add macro to
22570         parallel other exception macros.
22571         (fegetenv): Convert from macro to extern inline so that it applies
22572         retroactively to inline functions already seen by the compiler.
22573         (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
22575         * posix/Makefile (before-compile): Use $(objpfx) for
22576         posix-conf-vars-def.h.
22578 2014-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
22580         * posix/getconf.c (main): Use size_t for type of I.
22581         * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
22582         NSPEC.
22584         * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
22585         * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
22586         * posix/posix-envs.def: Likewise.
22587         * sysdeps/posix/sysconf.c: Likewise.
22588         * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
22589         (specs): Remove array.
22590         * scripts/gen-posix-conf-vars.awk: Support generation of specs
22591         array.
22593         * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
22594         * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
22595         (__sysconf): Use CONF_IS_* macros.
22597         * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
22598         ($(objpfx)posix-conf-vars-def.h): New target.
22599         * posix/posix-conf-vars.list: New file.
22600         * posix/posix-conf-vars.h: New file.
22601         * posix/confstr.c: Include posix-conf-vars.h.
22602         (confstr): Use CONF_IS_* macros.
22603         * posix/posix-envs.def: Include posix-conf-vars.h.  Use
22604         CONF_IS_* macros.
22605         * scripts/gen-posix-conf-vars.awk: New file.
22607 2014-12-26  Chris Metcalf  <cmetcalf@ezchip.com>
22609         * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
22610         fegetround): Add no-op macros to avoid linknamespace issues.
22612         * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
22613         definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
22615         * sysdeps/unix/sysv/linux/tile/sysdep.h
22616         (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
22617         assembly-specific section to avoid a redefinition warning.
22619         * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
22620         long before casting to pointer to avoid a cast warning.
22622 2014-12-23  Chris Metcalf  <cmetcalf@ezchip.com>
22624         * sysdeps/tile/tilegx/Implies: New file.
22626 2014-12-23  Richard Earnshaw  <rearnsha@arm.com>
22628         * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
22630 2014-12-23  Florian Weimer  <fweimer@redhat.com>
22632         * iconvdata/run-iconv-test.sh: Actually test iconv modules.
22634 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
22636         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
22637         not define.
22638         * sysdeps/unix/sysv/linux/utimes.c: Do not include
22639         <kernel-features.h>.
22640         (__utimes) [__NR_utimes]: Make code unconditional.
22641         (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
22642         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
22643         (__ASSUME_UTIMES): Do not undefine.
22644         * sysdeps/unix/sysv/linux/tile/kernel-features.h
22645         (__ASSUME_UTIMES): Likewise.
22646         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
22647         (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
22648         instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
22649         * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
22651 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
22653         * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
22655 2014-12-22  Chris Metcalf  <cmetcalf@ezchip.com>
22657         [BZ #17747]
22658         * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
22659         alias to weak alias for j0l, y0l.
22660         * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
22661         * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
22663         [BZ #17746]
22664         * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
22665         conversion.
22667 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
22669         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
22670         to zero if not already defined.
22672 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
22674         [BZ #17724]
22675         * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
22676         (__kernel_standard_f): Remove.  Moved to k_standardf.c.
22677         (__kernel_standard_l): Remove.  Moved to k_standardl.c with
22678         (char *) casts added.
22679         * sysdeps/ieee754/k_standardf.c: New file.
22680         * sysdeps/ieee754/k_standardl.c: Likewise.
22681         * math/Makefile (libm-support): Remove k_standard.
22682         (libm-calls): Add k_standard.
22684 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
22686         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
22687         Optimize to avoid an unnecessary FPCR read.
22689 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
22691         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
22692         Optimize to reduce FPCR/FPSR accesses.
22694 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
22696         * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
22697         Call libc_fetestexcept_aarch64.
22699 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
22701         * sysdeps/aarch64/fpu/fesetround.c (fesetround):
22702         Call libc_fesetround_aarch64.
22704 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
22706         [BZ #17733]
22707         * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
22708         (__bind): Do not define as weak alias.
22709         * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
22710         define.
22711         (__getsockname): Do not define as weak alias.
22713 2014-12-22  Will Newton  <will.newton@linaro.org>
22715         * manual/install.texi: Document that we require bison 2.7
22716         or above.
22717         * INSTALL: Regenerate.
22718         * configure.ac: Use AC_CHECK_PROG_VER instead of
22719         AC_PATH_PROG when checking for bison and check for
22720         version 2.7 or above.
22721         * configure: Regenerate.
22723 2014-12-21  Chris Metcalf  <cmetcalf@ezchip.com>
22725         [BZ #17745]
22726         * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
22727         * sysdeps/tile/ffsll.c (ffsll): To here.
22729         * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
22731 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
22733         * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
22734         if not defined.
22735         * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
22736         definition.
22737         * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
22738         hidden ___tls_get_addr.
22739         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
22740         hidden __tls_get_addr.
22741         * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
22742         * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
22743         Likewise.
22745 2014-12-21  Andreas Schwab  <schwab@linux-m68k.org>
22747         * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
22748         _dl_init call.
22750 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
22752         * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
22753         from "call _dl_init@PLT".
22754         * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
22756 2014-12-21  Anders Kaseorg  <andersk@mit.edu>
22758         * manual/search.texi: (Array Sort Function): Clarify stable sorting
22759         guarantees.
22761 2014-12-20  Chris Metcalf  <cmetcalf@ezchip.com>
22763         * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
22765 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
22767         [BZ #17744]
22768         * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
22769         strnlen.
22771 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
22773         * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
22774         of multu on MIPSr6.
22775         * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
22776         * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
22777         * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
22778         * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
22779         * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
22781 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
22783         * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
22784         (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
22785         (PTR_SUBU): Use subu for mips32r6/mips64r6.
22786         (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
22787         * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
22788         mips32r6/mips64r6.
22789         (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
22791 2014-12-19  Ondřej Bílka  <neleai@seznam.cz>
22793         * string/strncat.c (STRNCAT): Simplify implementation.
22795 2014-12-19  David S. Miller  <davem@davemloft.net>
22797         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
22798         access the quad as both a long double and as a series of 4 words.
22800         * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
22801         link_map->l_info array access.
22803 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
22805         * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
22807         * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
22808         * math/atest-exp2.c (TIMEOUT): Likewise.
22809         * math/atest-sincos.c (TIMEOUT): Likewise.
22811 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
22813         * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
22814         -Wno-error with -fno-builtin-lround.
22816 2014-12-19  Torvald Riegel  <triegel@redhat.com>
22818         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
22819         Contains futex constants and functions moved over from ...
22820         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.  Include
22821         <lowlevellock-futex.h>.
22822         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
22823         (lll_timedwait_tid): Add comments and parentheses around macro
22824         arguments.
22826 2014-12-19  Torvald Riegel  <triegel@redhat.com>
22828         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
22829         <lowlevellock-futex.h>.  Remove FUTEX_* constants defined there.
22830         (__lll_private_flag): Remove.
22831         (lll_futex_wait): Likewise.
22832         (lll_futex_timed_wait): Likewise.
22833         (lll_futex_wake): Likewise.
22834         (lll_futex_requeue): Likewise.
22835         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
22836         (__lll_timedwait_tid): Spell out argument names.
22837         (lll_timedwait_tid): Add comments and parentheses around macro
22838         arguments.
22839         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
22840         LLL_SHARED and LLL_PRIVATE usable from assembly code.
22842 2014-12-19  Torvald Riegel  <triegel@redhat.com>
22844         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
22845         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
22846         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
22847         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
22848         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
22849         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
22850         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
22851         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
22852         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
22853         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
22854         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
22855         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
22856         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
22857         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
22858         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
22859         * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
22860         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
22861         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
22862         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
22864 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
22866         * sysdeps/x86_64/x32/Makefile: New file.
22868 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
22870         * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
22871         1L with (mp_limb_t) 1.
22873 2014-12-17  Roland McGrath  <roland@hack.frob.com>
22875         * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
22876         * nptl/libc_pthread_init.c: ... here.
22877         * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
22878         * nptl/register-atfork.c: ... here.
22880         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
22881         Use pthread_sigmask rather than INTERNAL_SYSCALL.
22882         Use assert_perror to check its return value.
22883         (__gai_create_helper_thread): Likewise.
22885         * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
22887         * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
22889 2014-12-17  Joseph Myers  <joseph@codesourcery.com>
22891         [BZ #17725]
22892         * sysdeps/generic/profil-counter.h (profil_counter): Rename to
22893         __profil_counter.
22894         * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
22895         Likewise.
22896         * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
22897         Likewise.
22898         * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
22899         Likewise.
22900         * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
22901         (profil_counter): Likewise.
22902         * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
22903         (profil_counter): Likewise.
22904         * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
22905         Likewise.
22906         * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
22907         Likewise.
22908         * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
22909         (profil_counter): Likewise.
22910         * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
22911         Likewise.
22912         [!__profil_counter] (profil_counter): Define as weak alias of
22913         __profil_counter.
22914         * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
22915         (profil_counter): Rename to __profil_counter.
22916         [!__profil_counter] (profil_counter): Define as weak alias of
22917         __profil_counter.
22918         * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
22919         (profil_counter): Rename to __profil_counter.
22920         [!__profil_counter] (profil_counter): Define as weak alias of
22921         __profil_counter.
22922         * sysdeps/posix/profil.c: Update comment referring to
22923         profil_counter.
22924         (__profil): Use __profil_counter instead of profil_counter.
22925         * sysdeps/posix/sprofil.c (profil_counter): Rename to
22926         __profil_counter.  Use __profil_counter_ushort and
22927         __profil_counter_uint in definitions.
22928         (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
22929         instead of profil_counter_uint and profil_counter_ushort.
22931         [BZ #17722]
22932         * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
22933         define as weak alias of __inet_makeaddr.
22934         * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
22935         as weak alias of __inet_addr.
22936         * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
22937         as weak alias of __inet_pton.  Use libc_hidden_weak.
22938         * include/arpa/inet.h (__inet_pton): Declare.  Use
22939         libc_hidden_proto.
22940         (inet_makeaddr): Don't use libc_hidden_proto.
22941         (__inet_makeaddr): Declare.  Use libc_hidden_proto.
22942         * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
22943         inet_pton.  Use __inet_makeaddr instead of inet_makeaddr.
22944         * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
22945         Remove variable.
22946         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
22947         (test-xfail-POSIX/time.h/linknamespace): Likewise.
22949 2014-12-17  Steve Ellcey  <sellcey@imgtec.com>
22951         * inet/getnetgrent_r.c: Move while loop to be inside if statement.
22953 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
22955         * stdio-common/bug-vfprintf-nargs.c (do_test):
22956         Cast value to intptr_t to avoid format warning
22957         for usage with PRIdPTR printing macro.
22959 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
22961         * libio/tst-widetext.c (do_test):
22962         Use format type %td instead of %Zd for ptrdiff_t
22963         in order to avoid format warning.
22965 2014-12-17  Andreas Schwab  <schwab@suse.de>
22967         * nscd/mem.c (gc): Add size_t cast to match printf format.
22969 2014-12-16  Roland McGrath  <roland@hack.frob.com>
22971         * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
22972         (init): Apply PTR_MANGLE to pointers before storing them.
22973         (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
22974         before using them.
22976 2014-12-16  Joseph Myers  <joseph@codesourcery.com>
22978         [BZ #17719]
22979         * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
22980         define as weak alias of __memrchr.
22981         (__memrchr): Do not define as strong alias of memrchr.
22982         * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
22983         Remove variable.
22984         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
22985         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
22986         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
22988         [BZ #17717]
22989         * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
22990         define as weak alias of __if_nametoindex.  Use libc_hidden_weak.
22991         (if_indextoname): Rename to __if_indextoname and define as weak
22992         alias of __if_indextoname.  Use libc_hidden_weak.
22993         (if_freenameindex): Rename to __if_freenameindex and define as
22994         weak alias of __if_freenameindex.
22995         (if_nameindex): Rename to __if_nameindex and define as weak alias
22996         of __if_nameindex.
22997         * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
22998         __if_nametoindex and define as weak alias of __if_nametoindex.
22999         Use libc_hidden_weak.
23000         (if_freenameindex): Rename to __if_freenameindex and define as
23001         weak alias of __if_freenameindex.
23002         (if_nameindex): Rename to __if_nameindex and define as weak alias
23003         of __if_nameindex.
23004         (if_indextoname): Rename to __if_indextoname and define as weak
23005         alias of __if_indextoname.  Use libc_hidden_weak.
23006         * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
23007         __if_nametoindex and define as weak alias of __if_nametoindex.
23008         Use libc_hidden_weak.
23009         (if_freenameindex): Rename to __if_freenameindex and define as
23010         weak alias of __if_freenameindex.  Use libc_hidden_weak.
23011         (if_nameindex_netlink): Use __if_freenameindex instead of
23012         if_freenameindex.
23013         (if_nameindex): Rename to __if_nameindex and define as weak alias
23014         of __if_nameindex.  Use libc_hidden_weak.
23015         (if_indextoname): Rename to __if_indextoname and define as weak
23016         alias of __if_indextoname.  Use libc_hidden_weak.
23017         * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
23018         libc_hidden_proto.
23019         [!_ISOMAC] (__if_freenameindex): Likewise.
23020         * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
23021         if_nametoindex.
23022         * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
23023         variable.
23024         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
23025         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
23026         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
23027         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
23028         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
23029         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
23030         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
23032         * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
23033         Remove variable.
23034         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
23035         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
23037 2014-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
23039         * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
23040         subscript above bounds'
23042         * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
23043         bounds.
23045 2014-12-16  Arjun Shankar  <arjun.is@lostca.se>
23047         * libio/tst-fopenloc.c: Use test-skeleton.c.
23049         * stdlib/tst-bsearch.c: Use test-skeleton.c.
23050         (entry): Rename to ITEM.
23051         (do_test, comp): Adjust.
23053         * stdio-common/tst-fseek.c: Use test-skeleton.c.
23055 2014-12-16  Torvald Riegel  <triegel@redhat.com>
23057         * string/tester.c: Include <libc-internal.h>.
23058         (test_memset): Ignore -Wmemset-transposed-args.
23060 2014-12-16  Torvald Riegel  <triegel@redhat.com>
23062         * misc/tst-mntent2.c (do_test): Fix warning.
23064 2014-12-16  Torvald Riegel  <triegel@redhat.com>
23066         * elf/tst-unique4lib.cc(a): Mark as used.
23068 2014-12-16  Florian Weimer  <fweimer@redhat.com>
23070         [BZ #17630]
23071         * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
23072         names.
23074 2014-12-16  Allan McRae  <allan@archlinux.org>
23076         * stdio-common/Makefile (tests): Re-add bug26.
23078 2014-12-15  Ondřej Bílka  <neleai@seznam.cz>
23080         [BZ #17657]
23081         * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
23082         static array.
23084 2014-12-15  Bernard Ogden  <bernie.ogden@linaro.org>
23086         * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
23087         (__lll_lock_wait): Likewise.
23088         (__lll_timedlock_wait): Likewise.
23089         (__lll_timedwait_tid): Likewise.
23090         * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
23091         (__lll_robust_timedlock_wait): Likewise.
23092         * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
23093         (lll_cond_trylock): Likewise.
23094         (__lll_lock): Likewise.
23095         (__lll_robust_lock): Likewise.
23096         (__lll_cond_lock): Likewise.
23097         (lll_robust_cond_lock): Likewise.
23098         (__lll_timedlock): Likewise.
23099         (__lll_robust_timedlock): Likewise.
23100         (__lll_unlock): Likewise.
23101         (__lll_robust_unlock): Likewise.
23102         (lll_wait_tid): Likewise.
23103         (lll_timedwait_tid): Likewise.
23105 2014-12-15  Torvald Riegel  <triegel@redhat.com>
23107         * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
23109 2014-12-15  Torvald Riegel  <triegel@redhat.com>
23111         * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
23113 2014-12-15  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
23115         * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
23116         * stdio-common/tst-sprintf.c: Likewise.
23118 2014-12-15  Torvald Riegel  <triegel@redhat.com>
23120         * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
23122 2014-12-15  Jeff Law  <law@redhat.com>
23124         [BZ #16617]
23125         * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
23126         on the heap.  (CVE-2012-3406)
23127         * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
23128         * stdio-common/bug23-4.c: New file.  Test case by Joseph Myers.
23129         * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
23131 2014-12-15  Will Newton  <will.newton@linaro.org>
23133         * manual/install.texi: Bump required version of texinfo
23134         to 4.7 from 4.5.
23135         * INSTALL: Regenerated.
23136         * configure.ac: Check for makeinfo version 4.7 and above.
23137         * configure: Regenerated.
23139 2014-12-12  Roland McGrath  <roland@hack.frob.com>
23141         * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
23142         PREFIX, string constant to insert between directory and name.
23143         * sysdeps/posix/shm_open.c: Update caller.
23144         * sysdeps/posix/shm_unlink.c: Likewise.
23145         * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
23146         (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
23147         (SEM_SHM_PREFIX): New macro.
23148         * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
23149         [$(have-thread-library) = no].
23150         * nptl/Makefile (libpthread-routines): Add shm-directory.
23151         * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
23152         * sysdeps/nptl/shm-directory.h: New file.
23153         * sysdeps/posix/shm-directory.c
23154         [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
23155         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
23156         * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
23157         INTERNAL_SYSCALL.
23158         (__where_is_shmfs): Function removed.
23159         (mountpoint, defaultmount, defaultdir, __namedsem_once):
23160         Variables removed.
23161         (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
23162         Use SHM_GET_NAME.
23163         * nptl/sem_unlink.c: Prototypify.  Use SHM_GET_NAME.
23165         * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
23166         (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
23167         unconditional for use inside libpthread.
23168         [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
23170 2014-12-12  Roland McGrath  <roland@hack.frob.com>
23172         * nptl/pthread_getaffinity.c: New file.
23173         * nptl/pthread_setaffinity.c: New file.
23174         * nptl/pthread_getname.c: New file.
23175         * nptl/pthread_setname.c: New file.
23177         * nptl/pthread_create.c (START_THREAD_DEFN)
23178         [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
23180 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
23181             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23183         * resolv/res_send.c (send_vc): Disable warning resplen may
23184         be used uninitialized.
23186 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
23188         * nptl/tst-mutex6.c
23189         (ATTR_NULL): New define checks ATTR against NULL.
23190         (do_test): Use !ATTR_NULL instead of ATTR != NULL.
23191         * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
23193 2014-12-11  James Lemke  <jwlemke@codesourcery.com>
23195         [BZ #17581]
23196         * malloc/hooks.c
23197         (mem2mem_check): Revert my previous change.
23198         (malloc_check_get_size): Revert my previous change.
23199         (mem2chunk_check): Revert my previous change.
23201 2014-12-11  Roland McGrath  <roland@hack.frob.com>
23203         * sysdeps/posix/shm-directory.c: New file.
23204         * sysdeps/posix/shm-directory.h: New file.
23205         * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
23206         * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
23207         Use O_NOFOLLOW and O_CLOEXEC if available.  Transmute EISDIR to EINVAL.
23208         * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
23209         Transmute EPERM to EACCES.
23210         * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
23211         from ...
23212         * sysdeps/unix/sysv/linux/shm_open.c: ... here.  File removed.
23213         * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
23215 2014-12-11  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
23217         * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
23218         pointer and cast to uintptr_t.
23219         * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
23220         * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
23221         Add cast to avoid warning.
23222         * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
23224 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
23226         * nptl/semaphore.h: Move to ...
23227         * sysdeps/pthread/semaphore.h: ... here.
23228         * Makefile (installed-headers): Change nptl/semaphore.h to
23229         sysdeps/pthread/semaphore.h.
23231 2014-12-11  Roland McGrath  <roland@hack.frob.com>
23233         * misc/tst-error1.c (do_test): Ignore -Wformat-security for
23234         generated error format strings.
23236         * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
23237         -Wformat-extra-args warnings for scanf formats.
23238         * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
23239         test of zero-length format (duh).
23240         * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
23241         corner-case scanf format test.
23242         * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
23243         generated fprintf format string.
23244         * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
23245         corner-case sprintf format tests.
23246         * stdio-common/tst-printf.c: Ignore -Wformat throughout.
23247         * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
23248         -Wformat-extra-args warnings throughout.
23249         * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
23250         (CFLAGS-scanf4.c): Likewise.
23251         (CFLAGS-scanf7.c): Likewise.
23252         (CFLAGS-tst-sprintf.c): Likewise.
23253         (CFLAGS-tst-printf.c): Likewise.
23254         (CFLAGS-tst-printfsz.c): Likewise.
23256 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
23258         * include/cpio.h: New file.
23259         * include/fmtmsg.h: Likewise.
23261         * tst-mbswcs1.c (show): Use %zu format instead of %Zd.  Cast
23262         corresponding format argument to size_t.
23263         * tst-mbswcs2.c (show): Likewise.  Use %td format for ptrdiff_t
23264         arguments.
23265         * tst-mbswcs3.c (show): Use %zu format instead of %Zd.  Cast
23266         corresponding format argument to size_t.
23267         * tst-mbswcs4.c (show): Likewise.  Use %td format for ptrdiff_t
23268         arguments.
23269         * tst-mbswcs5.c (show): Use %zu format instead of %Zd.  Cast
23270         corresponding format argument to size_t.
23271         * tst-trans.c (do_test): Use %lc format for wint_t arguments.
23272         * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
23273         (CFLAGS-tst-mbswcs2.c): Likewise.
23274         (CFLAGS-tst-mbswcs3.c): Likewise.
23275         (CFLAGS-tst-mbswcs4.c): Likewise.
23276         (CFLAGS-tst-mbswcs5.c): Likewise.
23277         (CFLAGS-tst-trans.c): Likewise.
23279 2014-12-11  Roland McGrath  <roland@hack.frob.com>
23281         * posix/regexbug1.c (main): Use "%s" format with regerror results,
23282         rather than assuming they won't contain any '%'s.
23284 2014-12-11  Chris Metcalf  <cmetcalf@ezchip.com>
23286         * sysdeps/tile/tilegx/memset.c (__memcpy): Add
23287         inhibit_loop_to_libcall to avoid recursive calls.
23288         * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
23289         * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
23291 2014-12-11  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
23293         * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
23294         prototype.
23296 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
23298         * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
23299         integer value instead of boolean.
23301 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
23303         * malloc/malloc.c: Fix powerof2 check.
23305 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
23307         * locale/programs/locfile.h (maybe_swap_uint32):
23308         Remove inline and add unused attribute.
23310 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
23312         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
23313         Truncating assembler expression to a .long expression.
23315 2014-12-11  Andreas Schwab  <schwab@suse.de>
23317         * elf/rtld.c (struct map_args): Constify str member.
23318         (do_preload): Constify fname argument.
23320 2014-12-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23322         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
23323         constants definition.
23325 2014-12-11  Andreas Schwab  <schwab@suse.de>
23327         [BZ #16657]
23328         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
23329         FORCE_ELISION instead of DO_ELISION.
23330         * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
23331         Remove.
23332         * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
23333         Likewise.
23335         * iconvdata/gconv-modules: Remove duplicate entry.
23337 2014-12-11  Will Newton  <will.newton@linaro.org>
23339         Merge gettext 0.19.3 into intl/.
23341         This involves a number of cosmetic changes to comments
23342         and ANSI function definitions and prototypes throughout
23343         all the files. The gettext copyright header is used but
23344         with the date ranges taken from the glibc copy.
23346         * NEWS: Add gettext merge to 2.21.
23347         * intl/bindtextdom.c: Switch to gettext copyright.
23348         Use ANSI definitions and prototypes.
23349         Use gl_* locking primitives rather than __libc_* ones.
23350         Use __builtin_expect rather than __glibc_likely/unlikely.
23351         * intl/dcgettext.c: Switch to gettext copyright.
23352         Use ANSI definitions and prototypes.
23353         * intl/dcigettext.c: Switch to gettext copyright.
23354         Use ANSI definitions and prototypes.
23355         (INTDIV0_RAISES_SIGFPE): New define.
23356         Use gl_* locking primitives rather than __libc_* ones.
23357         Include eval-plural.h instead of plural-eval.c.
23358         Use __builtin_expect rather than __glibc_likely/unlikely.
23359         * intl/dcngettext.c: Switch to gettext copyright.
23360         Use ANSI definitions and prototypes.
23361         * intl/dgettext.c: Likewise.
23362         * intl/dngettext.c: Likewise.
23363         * intl/plural-eval.c: Renamed to...
23364         * intl/eval-plural.h: ...this.
23365         * intl/explodename.c: Switch to gettext copyright.
23366         Use ANSI definitions and prototypes.
23367         (_nl_explode_name): Use strchr instead of __rawmemchr.
23368         * intl/finddomain.c: Switch to gettext copyright.
23369         Use ANSI definitions and prototypes.
23370         Use gl_* locking primitives rather than __libc_* ones.
23371         (_nl_find_domain): Use malloc rather than alloca for
23372         allocation of temporary locale name.
23373         * intl/gettext.c: Switch to gettext copyright.
23374         Use ANSI definitions and prototypes.
23375         * intl/gettextP.h: Switch to gettext copyright.
23376         Use ANSI definitions and prototypes.
23377         Use gl_* locking primitives rather than __libc_* ones.
23378         * intl/gmo.h: Switch to gettext copyright.
23379         (struct sysdep_string): Move struct segment_pair outside of
23380         struct definition.
23381         * intl/hash-string.c: Use ANSI definitions and prototypes.
23382         * intl/hash-string.h: Switch to gettext copyright.
23383         Use ANSI definitions and prototypes.
23384         * intl/l10nflist.c: Switch to gettext copyright.
23385         Use ANSI definitions and prototypes.
23386         (_nl_normalize_codeset): Avoid integer overflow.
23387         * intl/loadinfo.h: Switch to gettext copyright.
23388         Use ANSI definitions and prototypes.
23389         (LIBINTL_DLL_EXPORTED): New define.
23390         (PATH_SEPARATOR): New define.
23391         * intl/loadmsgcat.c: Switch to gettext copyright.
23392         * intl/localealias.c: Switch to gettext copyright.
23393         Use ANSI definitions and prototypes.
23394         (_nl_expand_alias): Use PATH_SEPARATOR.
23395         * intl/ngettext.c: Switch to gettext copyright.
23396         Use ANSI definitions and prototypes.
23397         * intl/plural-exp.c: Likewise.
23398         * intl/plural-exp.h: Switch to gettext copyright.
23399         Use ANSI definitions and prototypes.
23400         (struct expression): Move definition of enum operator outside
23401         of struct definition.
23402         * intl/plural.c: Regenerate.
23403         * intl/plural.y: Switch to gettext copyright.
23404         Use ANSI definitions and prototypes.
23405         Port to bison 3.0.
23406         * intl/textdomain.c: Switch to gettext copyright.
23407         Use ANSI definitions and prototypes.
23408         Use gl_* locking primitives rather than __libc_* ones.
23410 2014-12-10  Steve Ellcey  <sellcey@imgtec.com>
23412         * debug/warning-nop.c: Add used atrribute.
23414 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
23416         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
23418         * sysdeps/unix/sysv/linux/mips/mips64/Makefile
23419         [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
23420         [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
23422 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
23423             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23425         [BZ #17634]
23426         * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
23427         Undefine after defining function.  Define as weak alias of
23428         __wcschr.  Use libc_hidden_weak.
23429         * include/wchar.h (__wcschr): Declare.  Use libc_hidden_proto.
23430         * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
23431         (libc_hidden_def): Also define __GI___wcschr alias.
23432         * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
23433         __wcschr and define as weak alias of __wcschr.
23434         * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
23435         __wcschr.
23436         [!WCSCHR] (DEFAULT_WCSCHR): Define.
23437         [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
23438         [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr.  Use
23439         libc_hidden_weak.  Do not use libc_hidden_def.
23440         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
23441         [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
23442         __GI___wcschr alias.
23443         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
23444         [IS_IN (libc)] (wcschr): Define as macro expanding to
23445         __redirect_wcschr.
23446         [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
23447         [IS_IN (libc)] (__wcschr_power6): Likewise.
23448         [IS_IN (libc)] (__wcschr_power7): Likewise.
23449         [IS_IN (libc)] (__libc_wcschr): New.  Define with libc_ifunc
23450         instead of wcschr.
23451         [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
23452         __libc_wcschr.
23453         [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
23454         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
23455         __wcschr and define as weak alias of __wcschr.  Use
23456         libc_hidden_builtin_def.
23457         * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
23458         as weak alias of __wcschr.  Use libc_hidden_weak.
23459         * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
23460         wcschr.
23461         * time/era.c (_nl_init_era_entries): Likewise.
23462         * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
23463         variable.
23464         (test-xfail-XPG3/time.h/linknamespace): Likewise.
23465         (test-xfail-XPG4/time.h/linknamespace): Likewise.
23467 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
23469         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
23470         format for long int variable.
23472 2014-12-10  Anders Kaseorg  <andersk@MIT.EDU>
23474         [BZ #10672]
23475         * manual/search.texi: (Array Sort Function): Remove claim how to make
23476         qsort stable.
23478 2014-12-10  Andreas Schwab  <schwab@suse.de>
23480         [BZ #12847]
23481         * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
23482         user-controlled locks.
23484 2014-12-10  Richard Earnshaw  <rearnsha@arm.com>
23486         * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
23487         register.
23489 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
23491         * configure.ac (--disable-werror): New configure option.
23492         (enable_werror): New AC_SUBST.
23493         * configure: Regenerated.
23494         * config.make.in (enable-werror): New variable.
23495         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
23496         -Wno-error=undef.
23497         (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
23498         * manual/install.texi (Configuring and compiling): Document
23499         --disable-werror.
23500         * INSTALL: Regenerated.
23501         * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
23502         (CFLAGS-tst-chk2.c): Likewise.
23503         (CFLAGS-tst-chk3.c): Likewise.
23504         (CFLAGS-tst-chk4.cc): Likewise.
23505         (CFLAGS-tst-chk5.cc): Likewise.
23506         (CFLAGS-tst-chk6.cc): Likewise.
23507         (CFLAGS-tst-lfschk1.c): Likewise.
23508         (CFLAGS-tst-lfschk2.c): Likewise.
23509         (CFLAGS-tst-lfschk3.c): Likewise.
23510         (CFLAGS-tst-lfschk4.cc): Likewise.
23511         (CFLAGS-tst-lfschk5.cc): Likewise.
23512         (CFLAGS-tst-lfschk6.cc): Likewise.
23514         * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
23515         (main): Disable -Wdeprecated-declarations around calls to
23516         register_printf_function.
23518         * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
23519         (do_test): Disable -Wdiv-by-zero around some calls to
23520         fwrite_unlocked and fread_unlocked.
23522         * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
23523         (DIAG_POP_NEEDS_COMMENT): Likewise.
23524         (_DIAG_STR1): Likewise.
23525         (_DIAG_STR): Likewise.
23526         (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
23527         * stdio-common/bug21.c: Include <libc-internal.h>.
23528         (do_test): Disable -Wformat around call to sscanf.
23529         * stdio-common/scanf14.c: Include <libc-internal.h>.
23530         (main): Disable -Wformat around some calls to scanf functions.
23532 2014-12-09  Torvald Riegel  <triegel@redhat.com>
23534         * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
23536 2014-12-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23538         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
23539         stack variable alignment.
23541 2014-12-06  Joseph Myers  <joseph@codesourcery.com>
23543         [BZ #17682]
23544         * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
23545         * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
23546         * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
23547         * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
23548         * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
23549         __getrlimit instead of getrlimit.
23550         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
23551         __gettimeofday instead of gettimeofday.
23552         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
23553         Likewise.
23554         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
23555         Likewise.
23556         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
23557         * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
23558         Remove variable.
23559         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
23560         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
23562 2014-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23564         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
23565         for wide-character tests.
23567 2014-12-04  Roland McGrath  <roland@hack.frob.com>
23569         * io/openat64.c: #include <libc-internal.h>
23570         (__openat64): Prototypify.  Use ignore_value on MODE.
23571         * io/openat.c: Likewise.
23572         * misc/reboot.c: #include <libc-internal.h>
23573         (reboot): Prototypify.  Use ignore_value on HOWTO.
23574         * misc/ptrace.c: #include <libc-internal.h>
23575         (ptrace): Prototypify.  Use ignore_value for va_arg'd parameters.
23577 2014-12-04  Joseph Myers  <joseph@codesourcery.com>
23579         * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
23580         XPG4, UNIX98 and XOPEN2K.
23581         * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
23582         Remove variable.
23583         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
23585 2014-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
23587         * libio/fileops.c: Use ISO C style for function definitions.
23588         * libio/iofopen.c: Likewise.
23589         * libio/wfileops.c: Likewise.
23591         [BZ #17653]
23592         * libio/fileops.c (_IO_new_file_underflow): Unset cached
23593         offset on EOF.
23594         * libio/wfileops.c (_IO_wfile_underflow): Likewise.
23595         * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
23596         (fgets_func): Function pointer to fgets and fgetws.
23597         (do_ftell_test): Add test to verify ftell value after read
23598         EOF.
23599         (do_test): Set fgets_func.
23601         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
23602         O_TRUNC flag for w and w+ modes.
23603         (do_rewind_test): Likewise.
23604         (do_ftell_test): Likewise.
23605         (do_write_test): Likewise.
23607         [BZ #17647]
23608         * libio/fileops.c (do_ftell): Seek only when there are
23609         unflushed writes.
23610         * libio/wfileops.c (do_ftell_wide): Likewise.
23611         * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
23612         test case.
23613         (do_one_test): Call it.
23615 2014-12-03  Joseph Myers  <joseph@codesourcery.com>
23617         * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
23618         for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
23619         * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
23620         Remove variable.
23621         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
23622         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
23623         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
23625 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
23627         * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
23628         Remove variable.
23629         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
23631         [BZ #17668]
23632         * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
23633         as weak alias of __getifaddrs.  Use libc_hidden_weak.
23634         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
23635         __freeifaddrs.  Use libc_hidden_weak.
23636         * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
23637         define as weak alias of __getifaddrs.  Use libc_hidden_weak.
23638         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
23639         __freeifaddrs.  Use libc_hidden_weak.
23640         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
23641         __getifaddrs and define as weak alias of __getifaddrs.  Use
23642         libc_hidden_weak.
23643         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
23644         __freeifaddrs.  Use libc_hidden_weak.
23645         * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
23646         Remove variable.
23647         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
23648         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
23650 2014-12-02  Petar Jovanovic  <petar.jovanovic@rt-rk.com>
23652         [BZ #17601]
23653         * sysdeps/mips/start.S (__start): Use indirect jump to call
23654         __libc_start_main.
23656 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
23658         * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
23660         * nptl/tst-mutex1.c: Include <stdbool.h>.
23661         [!ATTR] (ATTR_NULL): New macro.
23662         (do_test): Test !ATTR_NULL instead of ATTR != NULL.
23663         * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
23664         * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
23666         * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
23667         to char *.
23669         [BZ #17665]
23670         * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
23671         Change conditional to [__USE_MISC].
23673         [BZ #17664]
23674         * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
23675         fgets_unlocked.
23676         * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
23677         __fgets_unlocked.
23678         * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
23679         fgets_unlocked.
23680         * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
23681         Remove variable.
23682         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
23683         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
23684         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
23685         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
23686         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
23687         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
23688         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
23689         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
23690         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
23692         * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
23694 2014-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23696         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
23697         Remove strpbrk objects.
23698         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
23699         (__libc_ifunc_impl_list): Remove strpbrk implementation.
23700         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
23701         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
23702         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
23703         * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
23705         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
23706         Remove strcspn objects.
23707         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
23708         (__libc_ifunc_impl_list): Remove strcspn implementation.
23709         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
23710         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
23711         * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
23712         * sysdeps/powerpc/powerpc64/strcspn.S: New file.
23714         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
23715         Remove strspn objetcs.
23716         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
23717         (__libc_ifunc_impl_list): Remove strspn implementation.
23718         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
23719         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
23720         * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
23721         * sysdeps/powerpc/powerpc64/strspn.S: New file.
23723 2014-12-01  James Lemke  <jwlemke@codesourcery.com>
23725         [BZ #17581]
23726         * malloc/hooks.c
23727         (mem2mem_check): Add a terminator to the chain of checking blocks.
23728         (malloc_check_get_size): Use it here.
23729         (mem2chunk_check): Ditto.
23731 2014-12-01  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
23733         * sysdeps/powerpc/powerpc64/strtok.S: New file.
23734         * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
23736 2014-11-29  Carlos O'Donell  <carlos@redhat.com>
23738         * bits/ioctl-types.h: Indent preprocessor directives correctly.
23740         * nptl/nptl-init.c: Include libc-internal.h.
23741         (__pthread_initialize_minimal_internal): Use ROUND_UP.
23743         * elf/ldconfig.c (search_dir): Expand comment.
23745 2014-11-29  Joseph Myers  <joseph@codesourcery.com>
23747         * conform/Makefile (linknamespace-symlist-stdlibs-base): New
23748         variable.
23749         (linknamespace-symlist-stdlibs-tests): Likewise.
23750         (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
23751         instead of $(objpfx)symlist-stdlibs.
23752         (linknamespace-libs-isoc): New variable.
23753         (linknamespace-libs): Use $(linknamespace-libs-isoc).
23754         (linknamespace-libs-ISO): New variable.
23755         (linknamespace-libs-ISO99): Likewise.
23756         (linknamespace-libs-ISO11): Likewise.
23757         (linknamespace-libs-XPG3): Likewise.
23758         (linknamespace-libs-XPG4): Likewise.
23759         (linknamespace-libs-POSIX): Likewise.
23760         (linknamespace-libs-UNIX98): Likewise.
23761         (linknamespace-libs-XOPEN2K): Likewise.
23762         (linknamespace-libs-POSIX2008): Likewise.
23763         (linknamespace-libs-XOPEN2K8): Likewise.
23764         ($(objpfx)symlist-stdlibs): Replace by
23765         $(linknamespace-symlist-stdlibs-tests).  Use
23766         $(linknamespace-libs-$*) as set of libraries.
23767         ($(linknamespace-header-tests)): Update dependencies.  Use
23768         $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
23769         (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
23770         * conform/linknamespace.pl: Remove comment about considering
23771         definitions of symbols from irrelevant libraries.
23773 2014-11-28  H.J. Lu  <hongjiu.lu@intel.com>
23775         [BZ #13862]
23776         * elf/dl-tls.c: Include <atomic.h>.
23777         (oom): Remove #ifdef SHARED/#endif.
23778         (_dl_static_dtv, _dl_initial_dtv): Moved before ...
23779         (_dl_resize_dtv): This.  Extracted from _dl_update_slotinfo.
23780         (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
23781         big enough.
23782         (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
23783         * nptl/Makefile (tests): Add tst-stack4.
23784         (modules-names): Add tst-stack4mod.
23785         ($(objpfx)tst-stack4): New.
23786         (tst-stack4mod.sos): Likewise.
23787         ($(objpfx)tst-stack4.out): Likewise.
23788         ($(tst-stack4mod.sos)): Likewise.
23789         (clean): Likewise.
23790         * nptl/tst-stack4.c: New file.
23791         * nptl/tst-stack4mod.c: Likewise.
23793 2014-11-27  J. Brown  <jb999@gmx.de>
23795         * sysdeps/x86/bits/string.h: Add recent CPUs.
23797 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
23799         * misc/tst-pselect.c (do_test): Use sigprocmask instead of
23800         sigblock.
23802         * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
23803         feof.
23805         * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
23806         variable.
23808 2014-11-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
23810         * nscd/connections.c: Include libc-internal.h because of macro
23811         usage ignore_value.
23813 2014-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
23815         * string/bits/string3.h (__warn_memset_zero_len): Don't
23816         declare for gcc newer than 5.0.
23817         (memset): Don't test for zero-length __LEN for gcc newer than
23818         5.0.
23820 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
23822         * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
23823         size_t for %zu format.
23825         * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
23826         difference, not %ju.
23828 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
23830         * include/libc-internal.h (ignore_value): New macro.
23831         * nscd/connections.c (restart): Wrap calls to setuid and setgid
23832         with ignore_value.
23834         * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
23835         definition.
23837         * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
23838         pthread_cleanup_push to void *.
23840         * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
23841         Undefine.
23843         [BZ #16619]
23844         [BZ #16740]
23845         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
23846         instead of 1L << 52.
23848         * libio/bug-rewind.c (do_test): Check fwscanf return values.
23849         * libio/bug-rewind2.c (do_test): Likewise.
23851         * debug/test-stpcpy_chk-ifunc.c: Remove file.
23852         * debug/test-strcpy_chk-ifunc.c: Likewise.
23853         * wcsmbs/test-wcschr-ifunc.c: Likewise.
23854         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
23855         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
23856         * wcsmbs/test-wcslen-ifunc.c: Likewise.
23857         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
23858         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
23859         * Rules [$(multi-arch) = no] (tests): Do not filter out
23860         $(tests-ifunc).
23861         [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
23862         * debug/Makefile (tests-ifunc): Remove variable.
23863         (tests): Do not add $(tests-ifunc).
23864         * wcsmbs/Makefile (tests-ifunc): Remove variable.
23865         (tests): Do not add $(tests-ifunc).
23866         * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
23867         [TEST_IFUNC]: Remove conditionals.
23868         * string/test-string.h (TEST_IFUNC): Remove macro.
23869         [TEST_IFUNC]: Remove conditionals.
23871         * string/test-strchr.c [!WIDE] (L): New macro.
23872         [WIDE] (L): Likewise.
23873         (check1): Use CHAR instead of char.  Use L on string and character
23874         constants.
23876 2014-11-26  Adhemerval Zanella  <azanella@linux.ibm.com>
23878         * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
23879         tests.
23880         * sysdeps/powerpc/bits/atomic.h
23881         (__arch_atomic_exchange_and_add_32_acq): Add definition.
23882         (__arch_atomic_exchange_and_add_32_rel): Likewise.
23883         (atomic_exchange_and_add_acq): Likewise.
23884         (atomic_exchange_and_add_rel): Likewise.
23885         * sysdeps/powerpc/powerpc32/bits/atomic.h
23886         (__arch_atomic_exchange_and_add_64_acq): Add definition.
23887         (__arch_atomic_exchange_and_add_64_rel): Likewise.
23888         * sysdeps/powerpc/powerpc64/bits/atomic.h
23889         (__arch_atomic_exchange_and_add_64_acq): Add definition.
23890         (__arch_atomic_exchange_and_add_64_rel): Likewise.
23892 2014-11-26  Torvald Riegel  <triegel@redhat.com>
23894         * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
23895         Change synchronization of __sched_fifo_min_prio and
23896         __sched_fifo_max_prio.
23897         * nptl/pthread_mutexattr_getprioceiling.c
23898         (pthread_mutexattr_getprioceiling): Likewise.
23899         * nptl/pthread_mutexattr_setprioceiling.c
23900         (pthread_mutexattr_setprioceiling): Likewise.
23901         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
23902         * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
23903         Likewise.
23905 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
23907         * setjmp/jmpbug.c (test): Make foo volatile and cast it to
23908         void.
23910 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
23912         * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
23913         third argument const.
23915 2014-11-25  Paul Eggert  <eggert@cs.ucla.edu>
23917         fnmatch: work around GCC compiler warning bug with uninit var
23918         * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
23919         This works around a bug with x86-64 GCC 4.9.2 and earlier
23920         where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
23921         "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
23922         used uninitialized in this function [-Wmaybe-uninitialized]".
23924 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
23926         * posix/bug-regex31.c (main): Return RES not 0.
23928 2014-11-25  Anton Blanchard <anton@samba.org>
23930         * sysdeps/powerpc/bits/atomic.h
23931         (__arch_compare_and_exchange_bool_64_rel): Load from mem.
23933 2014-11-24  Sterling Augustine  <saugustine@google.com>
23935         * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
23937 2014-11-24  Ryan Cumming  <etaoins@gmail.com>
23939         [BZ #17608]
23940         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
23942 2014-11-24  Joseph Myers  <joseph@codesourcery.com>
23944         [BZ #17633]
23945         * stdio-common/perror.c (perror): Call __fileno instead of fileno.
23946         * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
23947         variable.
23948         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
23949         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
23951 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
23953         * string/strncpy.c (strncpy): Improve performance by using memset.
23955 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
23957         * string/strcpy.c (strcpy):
23958         Improve performance by using strlen and memcpy.
23960 2014-11-24  Leonhard Holz  <leonhard.holz@web.de>
23962         * string/strcoll_l.c (get_next_seq): __always_inline.
23963         * string/strcoll_l.c (do_compare): __always_inline.
23965 2014-11-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
23967         * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
23968         defined.
23969         * include/mqueue.h: Likewise.
23970         * include/stdlib.h: Likewise.
23972         * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
23973         (get_null_defines): Adjust.
23974         * sunrpc/Makefile: Adjust comment.
23975         * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
23976         * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
23977         (CFLAGS-interp.c): Likewise.
23978         (CFLAGS-ldconfig.c): Likewise.
23979         (CPPFLAGS-.os): Likewise.
23980         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
23981         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
23982         * extra-modules.mk (extra-modules.mk): Likewise.
23983         * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
23984         * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
23985         * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
23986         * nscd/Makefile (CPPFLAGS-nscd): Likewise.
23987         * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
23988         * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
23989         * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
23990         * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
23991         * iconvdata/Makefile (CPPFLAGS): Likewise.
23992         (cpp-srcs-left): Add libof for all iconvdata routines.
23993         * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
23994         * include/assert.h: Likewise.
23995         * include/ctype.h: Likewise.
23996         * include/errno.h: Likewise.
23997         * include/libc-symbols.h: Likewise.
23998         * include/math.h: Likewise.
23999         * include/netdb.h: Likewise.
24000         * include/resolv.h: Likewise.
24001         * include/stdio.h: Likewise.
24002         * include/stdlib.h: Likewise.
24003         * include/string.h: Likewise.
24004         * include/sys/stat.h: Likewise.
24005         * include/wctype.h: Likewise.
24006         * intl/l10nflist.c: Likewise.
24007         * libidn/idn-stub.c: Likewise.
24008         * libio/libioP.h: Likewise.
24009         * nptl/libc_multiple_threads.c: Likewise.
24010         * nptl/pthreadP.h: Likewise.
24011         * posix/regex_internal.h: Likewise.
24012         * resolv/res_hconf.c: Likewise.
24013         * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
24014         * sysdeps/arm/memmove.S: Likewise.
24015         * sysdeps/arm/sysdep.h: Likewise.
24016         * sysdeps/generic/_itoa.h: Likewise.
24017         * sysdeps/generic/symbol-hacks.h: Likewise.
24018         * sysdeps/gnu/errlist.awk: Likewise.
24019         * sysdeps/gnu/errlist.c: Likewise.
24020         * sysdeps/i386/i586/memcpy.S: Likewise.
24021         * sysdeps/i386/i586/memset.S: Likewise.
24022         * sysdeps/i386/i686/memcpy.S: Likewise.
24023         * sysdeps/i386/i686/memmove.S: Likewise.
24024         * sysdeps/i386/i686/mempcpy.S: Likewise.
24025         * sysdeps/i386/i686/memset.S: Likewise.
24026         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
24027         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
24028         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
24029         * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
24030         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
24031         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
24032         * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
24033         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
24034         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
24035         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
24036         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
24037         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
24038         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
24039         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
24040         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
24041         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
24042         * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
24043         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
24044         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
24045         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
24046         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
24047         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
24048         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
24049         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
24050         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
24051         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
24052         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
24053         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
24054         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
24055         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
24056         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
24057         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
24058         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
24059         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
24060         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
24061         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
24062         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
24063         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
24064         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
24065         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
24066         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
24067         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
24068         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
24069         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
24070         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
24071         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
24072         * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
24073         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
24074         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
24075         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
24076         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
24077         * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
24078         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
24079         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
24080         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
24081         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
24082         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
24083         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
24084         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
24085         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
24086         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
24087         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
24088         * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
24089         * sysdeps/nptl/bits/libc-lock.h: Likewise.
24090         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
24091         * sysdeps/nptl/bits/stdio-lock.h: Likewise.
24092         * sysdeps/posix/closedir.c: Likewise.
24093         * sysdeps/posix/opendir.c: Likewise.
24094         * sysdeps/posix/readdir.c: Likewise.
24095         * sysdeps/posix/rewinddir.c: Likewise.
24096         * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
24097         * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
24098         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
24099         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
24100         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
24101         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
24102         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
24103         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
24104         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
24105         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
24106         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
24107         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
24108         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
24109         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
24110         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
24111         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
24112         * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
24113         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
24114         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
24115         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
24116         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
24117         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
24118         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
24119         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
24120         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
24121         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
24122         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
24123         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
24124         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
24125         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
24126         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
24127         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
24128         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
24129         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
24130         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
24131         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
24132         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
24133         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
24134         * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
24135         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
24136         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
24137         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
24138         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
24139         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
24140         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
24141         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
24142         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
24143         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
24144         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
24145         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
24146         * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
24147         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
24148         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
24149         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
24150         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
24151         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
24152         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
24153         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
24154         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
24155         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
24156         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
24157         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
24158         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
24159         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
24160         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
24161         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
24162         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
24163         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
24164         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
24165         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
24166         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
24167         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
24168         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
24169         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
24170         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
24171         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
24172         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
24173         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
24174         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
24175         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
24176         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
24177         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
24178         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
24179         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
24180         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
24181         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
24182         * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
24183         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
24184         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
24185         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
24186         * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
24187         * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
24188         * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
24189         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
24190         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
24191         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
24192         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
24193         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
24194         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
24195         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
24196         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
24197         * sysdeps/unix/alpha/sysdep.S: Likewise.
24198         * sysdeps/unix/alpha/sysdep.h: Likewise.
24199         * sysdeps/unix/make-syscalls.sh: Likewise.
24200         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
24201         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
24202         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
24203         * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
24204         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
24205         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
24206         * sysdeps/unix/sysv/linux/getpid.c: Likewise.
24207         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
24208         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
24209         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
24210         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
24211         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
24212         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
24213         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
24214         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
24215         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
24216         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
24217         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
24218         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
24219         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
24220         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
24221         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
24222         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
24223         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
24224         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
24225         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
24226         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
24227         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
24228         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
24229         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
24230         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
24231         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
24232         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
24233         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
24234         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
24235         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
24236         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
24237         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
24238         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
24239         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
24240         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
24241         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
24242         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
24243         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
24244         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
24245         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
24246         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
24247         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
24248         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
24249         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
24250         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
24251         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
24252         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
24253         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
24254         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
24255         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
24256         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
24257         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
24258         * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
24259         * sysdeps/x86_64/memcpy.S: Likewise.
24260         * sysdeps/x86_64/memmove.c: Likewise.
24261         * sysdeps/x86_64/memset.S: Likewise.
24262         * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
24263         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
24264         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
24265         * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
24266         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
24267         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
24268         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
24269         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
24270         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
24271         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
24272         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
24273         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
24274         * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
24275         * sysdeps/x86_64/multiarch/memset.S: Likewise.
24276         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
24277         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
24278         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
24279         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
24280         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
24281         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
24282         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
24283         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
24284         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
24285         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
24286         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
24287         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
24288         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
24289         * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
24290         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
24291         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
24292         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
24293         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
24294         * sysdeps/x86_64/strcmp.S: Likewise.
24296         * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
24298         * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
24299         * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
24300         * elf/rtld-Rules: Likewise.
24301         * elf/setup-vdso.h: Likewise.
24302         * include/assert.h: Likewise.
24303         * include/bits/stdlib-float.h: Likewise.
24304         * include/errno.h: Likewise.
24305         * include/sys/stat.h: Likewise.
24306         * include/unistd.h: Likewise.
24307         * sysdeps/aarch64/setjmp.S: Likewise.
24308         * sysdeps/alpha/setjmp.S: Likewise.
24309         * sysdeps/arm/__longjmp.S: Likewise.
24310         * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
24311         * sysdeps/arm/setjmp.S: Likewise.
24312         * sysdeps/arm/sysdep.h: Likewise.
24313         * sysdeps/generic/_itoa.h: Likewise.
24314         * sysdeps/generic/dl-sysdep.h: Likewise.
24315         * sysdeps/generic/ldsodefs.h: Likewise.
24316         * sysdeps/i386/dl-tls.h: Likewise.
24317         * sysdeps/i386/setjmp.S: Likewise.
24318         * sysdeps/m68k/setjmp.c: Likewise.
24319         * sysdeps/mach/hurd/dl-execstack.c: Likewise.
24320         * sysdeps/mach/hurd/opendir.c: Likewise.
24321         * sysdeps/posix/getcwd.c: Likewise.
24322         * sysdeps/posix/opendir.c: Likewise.
24323         * sysdeps/posix/profil.c: Likewise.
24324         * sysdeps/powerpc/dl-procinfo.h: Likewise.
24325         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
24326         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
24327         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
24328         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
24329         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
24330         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
24331         * sysdeps/s390/dl-tls.h: Likewise.
24332         * sysdeps/s390/s390-32/setjmp.S: Likewise.
24333         * sysdeps/s390/s390-64/setjmp.S: Likewise.
24334         * sysdeps/sh/sh3/setjmp.S: Likewise.
24335         * sysdeps/sh/sh4/setjmp.S: Likewise.
24336         * sysdeps/unix/alpha/sysdep.h: Likewise.
24337         * sysdeps/unix/arm/sysdep.S: Likewise.
24338         * sysdeps/unix/i386/sysdep.S: Likewise.
24339         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
24340         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
24341         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
24342         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
24343         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
24344         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
24345         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
24346         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
24347         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
24348         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
24349         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
24350         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
24351         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
24352         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
24353         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
24354         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
24355         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
24356         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
24357         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
24358         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
24359         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
24360         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
24361         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
24362         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
24363         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
24364         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
24365         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
24366         * sysdeps/unix/x86_64/sysdep.S: Likewise.
24367         * sysdeps/x86_64/setjmp.S: Likewise.
24369         * include/math.h: Use IS_IN instead of IS_IN_libm.
24370         * sysdeps/alpha/fpu/s_copysign.c: Likewise.
24371         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
24372         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
24373         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
24374         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
24375         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
24376         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
24377         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
24378         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
24379         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
24380         * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
24381         * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
24382         * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
24383         * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
24384         * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
24385         * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
24386         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
24387         * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
24388         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
24389         * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
24390         * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
24391         * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
24392         * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
24393         * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
24394         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
24395         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
24396         * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
24397         * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
24398         * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
24399         * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
24400         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
24401         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
24402         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
24403         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
24404         Likewise.
24405         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
24406         Likewise.
24407         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
24408         Likewise.
24409         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
24410         Likewise.
24411         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
24412         Likewise.
24413         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
24414         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
24415         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
24416         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
24417         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
24418         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
24419         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
24420         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
24421         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
24422         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
24423         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
24424         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
24425         * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
24426         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
24427         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
24428         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
24429         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
24430         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
24431         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
24432         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
24433         * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
24434         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
24435         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
24436         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
24437         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
24438         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
24439         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
24441         * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
24442         * nptl/pthreadP.h: Likewise.
24443         * nptl_db/structs.def: Likewise.
24444         * sysdeps/arm/sysdep.h: Likewise.
24445         * sysdeps/nptl/bits/libc-lock.h: Likewise.
24446         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
24447         * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
24448         * sysdeps/unix/alpha/sysdep.h: Likewise.
24449         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
24450         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
24451         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
24452         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
24453         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
24454         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
24455         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
24456         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
24457         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
24458         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
24459         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
24460         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
24461         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
24462         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
24463         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
24464         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
24465         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
24466         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
24467         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
24468         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
24469         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
24470         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
24471         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
24472         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
24473         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
24474         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
24476         * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
24477         * nptl/pthreadP.h: Likewise.
24478         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
24479         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
24480         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
24481         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
24482         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
24483         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
24484         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
24485         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
24486         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
24487         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
24488         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
24489         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
24490         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
24491         Likewise.
24492         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
24493         Likewise.
24494         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
24495         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
24496         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
24497         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
24498         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
24499         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
24500         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
24501         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
24503         * dlfcn/dladdr.c: Use IS_IN.
24504         * dlfcn/dladdr1.c: Likewise.
24505         * dlfcn/dlclose.c: Likewise.
24506         * dlfcn/dlerror.c: Likewise.
24507         * dlfcn/dlinfo.c: Likewise.
24508         * dlfcn/dlmopen.c: Likewise.
24509         * dlfcn/dlopen.c: Likewise.
24510         * dlfcn/dlsym.c: Likewise.
24511         * dlfcn/dlvsym.c: Likewise.
24513         * include/ifaddrs.h: Use IS_IN.
24514         * inet/check_pf.c: Likewise.
24515         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
24516         * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
24518         * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
24519         IS_IN_ldconfig.
24520         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
24521         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
24523         * include/shlib-compat.h [!NOT_IN_libc]: Remove.
24524         * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
24525         IS_IN (libc).
24527         * elf/Makefile (libof-sotruss-lib): Set as extramodules.
24529         * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
24530         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
24531         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
24532         * include/libc-symbols.h (IS_IN_LIB): New macro.
24533         * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
24534         * include/netdb.h: Likewise.
24535         * include/stap-probe.h: Remove all uses of IN_LIB.
24537         * Makeconfig (module-cppflags-real): Define MODULE_NAME
24538         instead of IN_MODULE.
24539         * include/libc-symbols.h (IN_MODULE): Define using
24540         MODULE_NAME.
24541         (PASTE_NAME, PASTE_NAME1): New macros.
24542         * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
24543         of IN_LIB.
24544         (STAP_PROBE_ASM): Likewise.
24546 2014-11-23  Samuel Thibault  <samuel.thibault@ens-lyon.org>
24548         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
24549         __mach_init in dlopened libc.
24551 2014-11-22  Mike Frysinger  <vapier@gentoo.org>
24553         * sysdeps/arm/preconfigure.ac: Delete EABI check.
24554         * sysdeps/arm/preconfigure: Regenerate.
24556 2014-11-21  Roland McGrath  <roland@hack.frob.com>
24558         * nptl/pthread_create.c (__pthread_create_2_1): Set
24559         ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
24560         when copying values from IATTR into PD.
24562 2014-11-21  Will Newton  <will.newton@linaro.org>
24563             Andrew Pinski  <andrew.pinski@caviumnetworks.com>
24565         * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
24566         Refactor inline-asm.  Also add comment.
24568         * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
24569         ElfW macro instead of hardcoded Elf64 types.
24570         (la_aarch64_gnu_pltenter): Likewise.
24571         * sysdeps/aarch64/dl-machine.h
24572         (elf_machine_runtime_setup): Use ElfW(Addr).
24574         * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
24575         R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
24576         R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
24577         R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
24578         R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
24579         (R_AARCH64_TLS_DTPMOD64): Rename to ..
24580         (R_AARCH64_TLS_DTPMOD): This.
24581         (R_AARCH64_TLS_DTPREL64): Rename to ...
24582         (R_AARCH64_TLS_DTPREL): This.
24583         (R_AARCH64_TLS_TPREL64): Rename to ...
24584         (R_AARCH64_TLS_TPREL): This.
24585         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
24586         R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
24587         R_AARCH64_TLS_TPREL64.
24588         (elf_machine_rela): Likewise.
24590 2014-11-21  Torvald Riegel  <triegel@redhat.com>
24592         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
24593         by setting it to 0.  64b atomics are not supported currently.
24595 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
24597         [BZ #16469]
24598         * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
24599         search domain names.
24601 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
24603         [BZ #16469]
24604         * NEWS: Update.
24605         * resolv/res_query.c (__libc_res_nquerydomain): Retain
24606         trailing dot.
24607         * posix/tst-getaddrinfo5.c: New.
24608         * posix/Makefile (tests): Add it.
24610 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
24612         [BZ #14498]
24613         * NEWS: Fixed.
24614         * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
24615         after parsing line but before break_if_match.
24616         * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
24617         if there is a protocol mismatch.
24619 2014-11-21  Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
24621         * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
24622         because the potential race is on the user-supplied stream.
24624 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
24626         * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
24627         string literal if not passed a buffer.
24628         * manual/job.texi (ctermid): Update reasoning, note deviation
24629         from posix, suggest mtasurace when not passed a buffer, for
24630         future non-preliminary safety notes.
24632 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
24634         * manual/users.texi (cuserid): Fix MT-Safety note for the case
24635         of not passing it a buffer.
24636         Reported by Peng Haitao.
24638 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
24640         * manual/Makefile ($(objpfx)stamp-summary): Require
24641         check-safety.sh to pass.
24642         * manual/check-safety.sh: Wish for verification that every
24643         @deftypefn and @deftypefun is followed by a @safety remark.
24645 2014-11-20  Roland McGrath  <roland@hack.frob.com>
24647         * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
24649         * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
24650         PTHREAD_CANCEL_ASYNCHRONOUS.
24651         * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
24652         send SIGCANCEL.
24654         * nptl/default-sched.h: New file.
24655         * sysdeps/unix/sysv/linux/default-sched.h: New file.
24656         * nptl/pthread_create.c: Include it.
24657         (__pthread_create_2_1): Use collect_default_sched instead of making
24658         Linux syscalls here directly.
24660 2014-11-20  Torvald Riegel  <triegel@redhat.com>
24662         * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
24663         __pthread_once): Use C11 atomics.
24665 2014-11-20  Torvald Riegel  <triegel@redhat.com>
24667         * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
24669 2014-11-20  Torvald Riegel  <triegel@redhat.com>
24671         * include/atomic.h (__atomic_link_error, __atomic_check_size,
24672         atomic_thread_fence_acquire, atomic_thread_fence_release,
24673         atomic_thread_fence_seq_cst, atomic_load_relaxed,
24674         atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
24675         atomic_compare_exchange_weak_relaxed,
24676         atomic_compare_exchange_weak_acquire,
24677         atomic_compare_exchange_weak_release,
24678         atomic_exchange_acquire, atomic_exchange_release,
24679         atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
24680         atomic_fetch_add_release, atomic_fetch_add_acq_rel,
24681         atomic_fetch_and_acquire,
24682         atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
24684 2014-11-20  Torvald Riegel  <triegel@redhat.com>
24686         * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
24687         USE_ATOMIC_COMPILER_BUILTINS): Define.
24688         * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
24689         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
24690         * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
24691         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
24692         * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
24693         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
24694         * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
24695         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
24696         * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
24697         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
24698         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
24699         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
24700         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
24701         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
24702         * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
24703         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
24704         * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
24705         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
24706         * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
24707         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
24708         * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
24709         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
24710         * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
24711         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
24712         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
24713         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
24714         * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
24715         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
24716         * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
24717         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
24718         * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
24719         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
24720         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
24721         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
24722         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
24723         (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
24724         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
24725         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
24726         * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
24727         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
24729 2014-11-19  Roland McGrath  <roland@hack.frob.com>
24731         * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
24732         the sched_priority value here.  It was already checked when the user
24733         called pthread_attr_setschedparam.
24735         * nptl/tst-bad-schedattr.c: New file.
24736         * nptl/Makefile (tests): Add it.
24738 2014-11-19  Carlos O'Donell  <carlos@redhat.com>
24739             Florian Weimer  <fweimer@redhat.com>
24740             Joseph Myers  <joseph@codesourcery.com>
24741             Adam Conrad  <adconrad@0c3.net>
24742             Andreas Schwab  <schwab@suse.de>
24743             Brooks  <bmoses@google.com>
24745         [BZ #17625]
24746         * wordexp-test.c (__dso_handle): Add prototype.
24747         (__register_atfork): Likewise.
24748         (__app_register_atfork): New function.
24749         (registered_forks): New global.
24750         (register_fork): New function.
24751         (test_case): Add 3 new tests for WRDE_CMDSUB.
24752         (main): Call __app_register_atfork.
24753         (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
24754         fork count is non-zero fail the test.
24755         * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
24756         is set.
24757         (parse_dollars): Remove check for WRDE_NOCMD.
24758         (parse_dquote): Likewise.
24760 2014-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
24762         * Makeconfig (built-modules): List non-library modules to be
24763         built.
24764         (module-cppflags): Include libc-modules.h for
24765         everything except shlib-versions.v.i.
24766         (CPPFLAGS): Use it.
24767         (before-compile): Add libc-modules.h.
24768         ($(common-objpfx)libc-modules.h,
24769         $(common-objpfx)libc-modules.stmp): New targets.
24770         (common-generated): Add libc-modules.h and libc-modules.stmp.
24771         ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
24772         * include/libc-symbols.h: Don't include libc-modules.h.
24773         * include/libc-modules.h: Remove file.
24774         * scripts/gen-libc-modules.awk: New script to generate
24775         libc-modules.h.
24776         * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
24777         Depend on libc-modules.stmp.
24779         * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
24781         * Makeconfig (in-module): Get value of libof set for the
24782         translation unit.
24783         (CPPFLAGS): Use $(in-module).
24784         * Makerules: Don't suffix routine names for nonlib.
24785         * include/libc-modules.h: New file.
24786         * include/libc-symbols.h: Include libc-modules.h
24787         (IS_IN): New macro to replace IS_IN_* macros.
24788         * elf/Makefile: Set libof-* for each routine.
24789         * elf/rtld-Rules: Likewise.
24790         * extra-modules.mk: Likewise.
24791         * iconv/Makefile: Likewise.
24792         * iconvdata/Makefile: Likewise.
24793         * locale/Makefile: Likewise.
24794         * malloc/Makefile: Likewise.
24795         * nss/Makefile: Likewise.
24796         * sysdeps/gnu/Makefile: Likewise.
24797         * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
24798         * sysdeps/unix/sysv/linux/Makefile: Likewise.
24799         * sysdeps/s390/s390-64/Makefile: Likewise.
24800         * nscd/Makefile: Set libof-* for each routine.  Set CFLAGS and
24801         CPPFLAGS for nscd instead of nonlib.
24803 2014-11-18  Roland McGrath  <roland@hack.frob.com>
24805         * nptl/createthread.c: New file.
24807         * nptl/createthread.c: Moved ...
24808         * sysdeps/unix/sysv/linux/createthread.c: ... here.
24810         * nptl/createthread.c: Add proper top-line comment.
24811         (do_clone): Folded into ...
24812         (create_thread): ... here.  Take new arguments STOPPED_START and
24813         THREAD_RAN.  Always set PD->stopped_start to something here.  Don't
24814         increment __nptl_threads, do event-reporting logic, do
24815         CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
24816         here.  Set *THREAD_RAN after ARCH_CLONE call succeeds.  Don't do any
24817         resource cleanup if sched_setaffinity or sched_setscheduler fails,
24818         just send SIGCANCEL.
24819         * nptl/pthread_create.c: Forward-declare create_thread before
24820         including createthread.c.
24821         (start_thread): Use new macro START_THREAD_DEFN to replace defining
24822         declaration, and new macro START_THREAD_SELF to replace argument.
24823         Remove return statement.
24824         (report_thread_creation): New function.
24825         (__pthread_create_2_1): Use it.  Do TD_CREATE reporting,
24826         synchronization logic, and __nptl_nthreads increment here, around
24827         calling create_thread.  Do CHECK_THREAD_SYSINFO and initialize
24828         PD->parent_cancelhandling here, before create_thread.  When
24829         create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
24830         __deallocate_stack, and ENOMEM translation here.
24832 2014-11-18  Joseph Myers  <joseph@codesourcery.com>
24834         [BZ #17616]
24835         * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
24836         (mptwo): Rename to __mptwo.
24837         (__inv): Use __mptwo instead of mptwo.
24838         * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
24839         (mptwo): Rename to __mptwo.
24840         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
24841         of mpone and __mptwo instead of mptwo.
24842         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
24843         instead of mpone.
24844         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
24845         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
24846         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
24847         of mpone and __mptwo instead of mptwo.
24848         (__mpranred): Use __mpone instead of mpone.
24849         * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
24850         variable.
24851         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
24852         (test-xfail-ISO99/math.h/linknamespace): Likewise.
24853         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
24854         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
24855         (test-xfail-ISO11/math.h/linknamespace): Likewise.
24856         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
24857         (test-xfail-XPG3/math.h/linknamespace): Likewise.
24858         (test-xfail-XPG4/math.h/linknamespace): Likewise.
24859         (test-xfail-POSIX/math.h/linknamespace): Likewise.
24860         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
24861         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
24862         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
24863         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
24864         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
24865         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
24866         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
24867         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
24868         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
24869         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
24871 2014-11-18  Tom de Vries  <tom@codesoucery.com>
24873         * manual/signal.texi (Primitives Interrupted by Signals): In section,
24874         replace BSD Handler xref with BSD Signal Handling.
24876 2014-11-17  Richard Henderson  <rth@redhat.com>
24878         * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
24879         (_FP_PACK_RAW_2): Remove.
24880         (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
24881         (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
24882         (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
24883         (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
24884         * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
24885         * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
24886         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
24887         * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
24888         * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
24889         * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
24890         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
24891         * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
24892         * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
24893         * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
24894         * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
24895         * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
24897 2014-11-14  Roland McGrath  <roland@hack.frob.com>
24899         * signal/signal.h [__USE_MISC]
24900         (struct sigvec): Remove type.
24901         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
24902         (sigvec): Remove declaration.
24903         * sysdeps/posix/sigvec.c: Moved ...
24904         * signal/sigvec.c: ... here, replacing old file.
24905         (struct sigvec): New type, copied from old signal.h definition.
24906         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
24907         (__sigvec): Convert definition to prototype.
24908         (sigvec): Replace weak_alias with compat_symbol.
24909         * signal/Versions (libc: GLIBC_2.21): New version set.
24910         * include/signal.h: Remove __sigvec declaration.
24911         * sysdeps/unix/bsd/sigvec.c: Remove file.
24912         * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
24913         * manual/signal.texi (BSD Handler): Remove subsection.
24914         Move siginterrupt up to ...
24915         (BSD Signal Handling): ... here.  Mark it as XPG rather than BSD.
24916         (Blocking in BSD): Fold subsection into its parent.
24917         * NEWS: Mention sigvec removal.
24919 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
24921         * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
24922         (DLA_FMS): Make definition conditional only on [__FMA4__].
24923         [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
24924         definition.
24926         * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
24927         Make definition conditional only on [PROF].
24928         [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
24929         definition.
24930         [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
24931         [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
24933         * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
24934         !__GNUC__].
24935         * include/signal.h (__sigpause): Move declaration above call to
24936         libc_hidden_proto.
24937         * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
24938         variable.
24939         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
24940         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
24942 2014-11-14  David S. Miller  <davem@davemloft.net>
24944         * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
24945         Define before including <string/memcpy.c> and <string/mempcpy.c>.
24947 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
24949         * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
24950         * configure: Regenerated.
24951         * manual/install.texi (Tools for Compilation): Document a
24952         requirement of GCC 4.6 or later and that GCC 4.9 is the newest
24953         compiler verified to work.
24954         * INSTALL: Regenerated.
24956         * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
24957         redeclare with asm name.
24958         [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
24959         * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
24960         including <string.h>.
24961         * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
24962         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
24963         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
24964         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
24965         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
24966         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
24967         [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
24969 2014-11-13  Joseph Myers  <joseph@codesourcery.com>
24971         * stdlib/strtol.c (__strtol): Use prototype definition.
24973         [BZ #17594]
24974         * stdlib/strtol.c (SYM__): New macro.
24975         (SYM__1): Likewise.
24976         (__strtol): Likewise.
24977         (strtol): Rename to __strtol and define as weak alias of
24978         __strtol.  Use libc_hidden_weak.
24980 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
24982         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
24983         Use numbered labels in inline assembly.
24985 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
24987         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
24988         Add setjmp LIBC_PROBE.
24989         * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
24990         Likewise.
24991         * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
24992         Add longjmp, longjmp_target LIBC_PROBE.
24993         * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
24994         Likewise.
24996 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
24998         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
24999         Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
25000         to get rid of unused variable warning.
25002 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
25004         * sysdeps/s390/s390-32/backtrace.c (__backtrace):
25005         Check for unwind_backtrace ==  NULL only in SHARED case.
25006         (__backchain_backtrace): Compile only in SHARED case.
25007         * sysdeps/s390/s390-64/backtrace.c (__backtrace):
25008         Likewise.
25009         (__backchain_backtrace): Declare as static.
25011 2014-11-12  Roland McGrath  <roland@hack.frob.com>
25013         * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
25014         (__libc_multiple_threads_ptr): Variable moved ...
25015         * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
25017 2014-11-12  Joseph Myers  <joseph@codesourcery.com>
25019         * conform/GlibcConform.pm: New file.
25020         * conform/conformtest.pl: Use GlibcConform module.
25021         * conform/linknamespace.pl: New file.
25022         * conform/list-header-symbols.pl: Likewise.
25023         * conform/Makefile (linknamespace-symlists-base): New variable.
25024         (linknamespace-symlists-tests): Likewise.
25025         (linknamespace-header-base): Likewise.
25026         (linknamespace-header-tests): Likewise.
25027         (tests-special): Add new tests.
25028         ($(linknamespace-symlists-tests)): New rule.
25029         (linknamespace-libs): New variable.
25030         ($(objpfx)symlist-stdlibs): New rule.
25031         ($(linknamespace-header-tests)): Likewise.
25032         (test-xfail-XPG3/varargs.h/linknamespace): New variable.
25033         (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
25034         (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
25035         (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
25036         (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
25037         (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
25038         (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
25039         (test-xfail-ISO/math.h/linknamespace): Likewise.
25040         (test-xfail-ISO/signal.h/linknamespace): Likewise.
25041         (test-xfail-ISO/stdio.h/linknamespace): Likewise.
25042         (test-xfail-ISO/time.h/linknamespace): Likewise.
25043         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
25044         (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
25045         (test-xfail-ISO99/math.h/linknamespace): Likewise.
25046         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
25047         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
25048         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
25049         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
25050         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
25051         (test-xfail-ISO11/math.h/linknamespace): Likewise.
25052         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
25053         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
25054         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
25055         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
25056         (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
25057         (test-xfail-XPG3/glob.h/linknamespace): Likewise.
25058         (test-xfail-XPG3/math.h/linknamespace): Likewise.
25059         (test-xfail-XPG3/regex.h/linknamespace): Likewise.
25060         (test-xfail-XPG3/search.h/linknamespace): Likewise.
25061         (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
25062         (test-xfail-XPG3/time.h/linknamespace): Likewise.
25063         (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
25064         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
25065         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
25066         (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
25067         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
25068         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
25069         (test-xfail-XPG4/grp.h/linknamespace): Likewise.
25070         (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
25071         (test-xfail-XPG4/math.h/linknamespace): Likewise.
25072         (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
25073         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
25074         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
25075         (test-xfail-XPG4/search.h/linknamespace): Likewise.
25076         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
25077         (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
25078         (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
25079         (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
25080         (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
25081         (test-xfail-XPG4/time.h/linknamespace): Likewise.
25082         (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
25083         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
25084         (test-xfail-POSIX/aio.h/linknamespace): Likewise.
25085         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
25086         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
25087         (test-xfail-POSIX/math.h/linknamespace): Likewise.
25088         (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
25089         (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
25090         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
25091         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
25092         (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
25093         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
25094         (test-xfail-POSIX/time.h/linknamespace): Likewise.
25095         (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
25096         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
25097         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
25098         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
25099         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
25100         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
25101         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
25102         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
25103         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
25104         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
25105         (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
25106         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
25107         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
25108         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
25109         (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
25110         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
25111         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
25112         (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
25113         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
25114         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
25115         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
25116         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
25117         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
25118         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
25119         (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
25120         (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
25121         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
25122         (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
25123         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
25124         (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
25125         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
25126         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
25127         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
25128         (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
25129         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
25130         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
25131         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
25132         (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
25133         (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
25134         (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
25135         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
25136         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
25137         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
25138         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
25139         (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
25140         (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
25141         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
25142         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
25143         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
25144         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
25145         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
25146         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
25147         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
25148         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
25149         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
25150         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
25151         (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
25152         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
25153         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
25154         (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
25155         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
25156         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
25157         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
25158         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
25159         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
25160         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
25161         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
25162         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
25163         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
25164         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
25165         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
25166         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
25167         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
25168         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
25169         (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
25170         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
25171         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
25172         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
25173         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
25174         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
25175         (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
25176         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
25177         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
25178         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
25179         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
25180         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
25181         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
25182         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
25183         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
25184         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
25185         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
25186         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
25187         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
25188         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
25189         (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
25190         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
25191         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
25192         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
25194         [BZ #17589]
25195         * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
25196         of fgets_unlocked.
25198         [BZ #17585]
25199         * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
25200         (memmem): Rename to __memmem and define as weak alias of
25201         __memmem.  Use libc_hidden_weak.
25202         (__memmem): Use libc_hidden_def.
25203         * include/string.h (__memmem): Declare.  Use libc_hidden_proto.
25204         * locale/findlocale.c (valid_locale_name): Use __memmem instead of
25205         memmem.
25207         [BZ #17582]
25208         * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
25209         (__fgets_unlocked): Add alias of _IO_fgets.  Use libc_hidden_def.
25210         * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
25211         and define as weak alias of __fgets_unlocked.  Use
25212         libc_hidden_weak.
25213         (__fgets_unlocked): Use libc_hidden_def.
25214         * include/stdio.h (__fgets_unlocked): Declare.  Use
25215         libc_hidden_proto.
25216         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
25217         __fgets_unlocked instead of fgets_unlocked.
25218         * sysdeps/unix/sysv/linux/alpha/getsysstats.c
25219         (GET_NPROCS_CONF_PARSER): Likewise.
25220         * sysdeps/unix/sysv/linux/sparc/getsysstats.c
25221         (GET_NPROCS_CONF_PARSER): Likewise.
25223         [BZ #17574]
25224         * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
25225         weak alias of __wmemset.  Use libc_hidden_weak.
25226         (__wmemset): Use libc_hidden_def.
25227         * include/wchar.h (__wmemset): Declare.  Use libc_hidden_proto.
25228         * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
25229         of wmemset.
25231         [BZ #17573]
25232         * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
25233         with asm name __mempcpy.
25234         [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
25236         [BZ #17572]
25237         * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
25238         and define as weak alias of __rawmemchr.
25239         (__rawmemchr): Do not define as strong alias of rawmemchr.
25241         [BZ #17571]
25242         * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
25243         alias of __qsort_r.
25244         (qsort): Call __qsort_r instead of qsort_r.
25245         * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
25246         (__qsort_r): Declare.  Call libc_hidden_proto.
25247         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
25248         instead of qsort_r.
25249         * nscd/gai.c (__qsort_r): Define to qsort_r.
25250         * posix/tst-rfc3484.c (__qsort_r): Likewise.
25251         * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
25252         * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
25254         [BZ #17570]
25255         * malloc/malloc.c (malloc_info): Rename to __malloc_info and
25256         define as weak alias of __malloc_info.
25258         [BZ #17584]
25259         * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
25260         as weak alias of __rewinddir.  Don't use libc_hidden_def.
25261         (__rewinddir): Use libc_hidden_def.
25262         * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
25263         as weak alias of __rewinddir.  Don't use libc_hidden_def.
25264         (__rewinddir): Use libc_hidden_def.
25265         * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
25266         weak alias of __rewinddir.  Don't use libc_hidden_def.
25267         (__rewinddir): Use libc_hidden_def.
25268         * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
25269         (__rewinddir): Use libc_hidden_proto.
25270         * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
25271         rewinddir.
25272         (__getcwd): Use __rewinddir instead of rewinddir.
25274         [BZ #17583]
25275         * libio/fileno.c (fileno): Rename to __fileno and define as weak
25276         alias of __fileno.  Use libc_hidden_weak.
25277         (__fileno): Use libc_hidden_def.
25278         [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
25279         * libio/ftello.c (ftello): Rename to __ftello and define as weak
25280         alias of __ftello.
25281         [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
25282         __ftello.
25283         * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
25284         (__fread_unlocked): Define as strong alias of _IO_fread.  Use
25285         libc_hidden_def.
25286         (fread_unlocked): Don't use libc_hidden_ver.
25287         * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
25288         and define as weak alias of __fread_unlocked.  Don't use
25289         libc_hidden_def.
25290         (__fread_unlocked): Use libc_hidden_def.
25291         * include/stdio.h (__fileno): Declare.  Use libc_hidden_proto.
25292         (ftello): Don't use libc_hidden_proto.
25293         (__ftello): Declare.  Use libc_hidden_proto.
25294         (fread_unlocked): Don't use libc_hidden_proto.
25295         (__fread_unlocked): Declare.  Use libc_hidden_proto.
25296         * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
25297         and __ftello instead of fileno, fread_unlocked and ftello.
25299 2012-11-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
25301         * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
25302         GOT12.
25303         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
25304         Likewise.
25305         (_dl_start_user): Likewise.
25306         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
25308 2014-11-12  Carlos O'Donell  <carlos@redhat.com>
25309             Siddhesh Poyarekar  <siddhesh@redhat.com>
25311         * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
25312         Move argv and envp down instead of moving argc up.
25313         * sysdeps/s390/s390-32/dl-sysdep.h: New file.
25315 2014-11-12  Leonhard Holz  <leonhard.holz@web.de>
25317         [BZ #17506]
25318         * test-skeleton.c (main): Return successful if one of
25319         EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
25320         * string/tst-strcoll-overflow.c: Define expected status.
25322 2014-11-12  Tatiana Udalova  <t.udalova@samsung.com>
25324         [BZ #17475]
25325         * locale/iso-639.def: Define Bhili and Tulu language codes.
25327 2014-11-11  Alan Hayward  <alan.hayward@arm.com>
25329         * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
25331 2014-11-10  Renlin Li  <Renlin.Li@arm.com>
25333         [BZ #17555]
25334         * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
25336 2014-11-10  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
25338         * configure.ac: Updated check of minimal required version to
25339         2.22.
25340         * manual/install.texi (Tools for Compilation): Updated version
25341         number.
25342         * configure: Regenerated.
25343         * INSTALL: Likewise.
25345 2014-11-07  Andreas Schwab  <schwab@linux-m68k.org>
25347         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
25348         __tls_get_addr.
25350 2014-11-07  Joseph Myers  <joseph@codesourcery.com>
25352         * include/sys/wait.h (__libc_waitpid): Remove declaration.
25353         * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
25354         (__waitpid): Don't define as alias.  Use libc_hidden_def not
25355         libc_hidden_weak.
25356         (waitpid): Define as alias of __waitpid.
25357         * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
25358         __waitpid.
25359         (__waitpid): Don't define as alias.  Use libc_hidden_def not
25360         libc_hidden_weak.
25361         (waitpid): Define as alias of __waitpid.
25362         * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
25363         __libc_waitpid alias.
25364         * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
25365         * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
25366         Likewise.
25367         * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
25368         * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
25369         * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
25370         alias.
25371         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
25372         __waitpid.
25373         (__waitpid): Don't define as alias.  Use libc_hidden_def not
25374         libc_hidden_weak.
25375         (waitpid): Define as alias of __waitpid.
25377 2014-11-06  Carlos O'Donell  <carlos@redhat.com>
25379         * manual/llio.texi: Add comment that write safety has been
25380         fixed in Linux.
25382         * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
25383         (localplt-build-dso): Add elf/ld.so.
25384         * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
25385         i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
25386         and free for ld.so.
25387         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
25388         __libc_memalign, malloc, calloc, realloc, and free for ld.so.
25389         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
25390         Likewise.
25391         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
25392         Likewise.
25393         * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
25394         * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
25395         version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
25396         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
25397         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
25398         * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
25399         * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
25400         * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
25401         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
25402         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
25403         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
25405 2014-11-05  Joseph Myers  <joseph@codesourcery.com>
25407         [BZ #14132]
25408         * include/libc-symbols.h (INTUSE): Remove macro.
25409         (INTDEF): Likewise.
25410         (INTVARDEF): Likewise.
25411         (_INTVARDEF): Likewise.
25412         (INTDEF2): Likewise.
25413         (INTVARDEF2): Likewise.
25414         * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
25415         rtld_hidden_def instead of INTVARDEF.
25416         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
25417         (_dl_starting_up_internal): Remove declaration.
25418         (_dl_starting_up): Use rtld_hidden_proto.
25419         * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
25420         declaration.
25421         [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
25422         (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
25423         _dl_starting_up.
25424         * elf/dl-writev.h (_dl_writev): Likewise.
25425         * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
25426         (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
25427         _dl_starting_up_internal.
25429 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25431         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
25432         test-skeleton.c.
25434 2014-11-05  Will Newton  <will.newton@linaro.org>
25436         * benchtests/Makefile: (bench-malloc): Add malloc thread
25437         scalability benchmark.
25438         * benchtests/bench-malloc-threads.c: New file.
25440 2014-11-05  Richard Earnshaw  <rearnsha@arm.com>
25442         * sysdeps/aarch64/strchrnul.S: New file.
25444 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25446         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
25447         definition.
25448         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
25449         Likwise.
25450         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
25451         Likewise.
25452         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
25453         Likewise.
25454         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
25455         Likewise.
25456         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
25457         Likewise.
25459 2014-11-05  Arjun Shankar  <arjun.is@lostca.se>
25461         * catgets/test-gencat.c: Use test-skeleton.c.
25462         * catgets/tst-catgets.c: Likewise.
25463         * csu/tst-empty.c: Likewise.
25464         * elf/tst-audit2.c: Likewise.
25465         * elf/tst-global1.c: Likewise.
25466         * elf/tst-pathopt.c: Likewise.
25467         * elf/tst-piemod1.c: Likewise.
25468         * elf/tst-tls10.c: Likewise.
25469         * elf/tst-tls11.c: Likewise.
25470         * elf/tst-tls12.c: Likewise.
25471         * gnulib/tst-gcc.c: Likewise.
25472         * iconvdata/tst-e2big.c: Likewise.
25473         * iconvdata/tst-loading.c: Likewise.
25474         * iconv/tst-iconv1.c: Likewise.
25475         * iconv/tst-iconv2.c: Likewise.
25476         * inet/test-inet6_opt.c: Likewise.
25477         * inet/tst-gethnm.c: Likewise.
25478         * inet/tst-network.c: Likewise.
25479         * inet/tst-ntoa.c: Likewise.
25480         * intl/tst-codeset.c: Likewise.
25481         * intl/tst-gettext2.c: Likewise.
25482         * intl/tst-gettext3.c: Likewise.
25483         * intl/tst-ngettext.c: Likewise.
25484         * intl/tst-translit.c: Likewise.
25485         * io/test-stat.c: Likewise.
25486         * libio/test-fmemopen.c: Likewise.
25487         * libio/tst-freopen.c: Likewise.
25488         * libio/tst-sscanf.c: Likewise.
25489         * libio/tst-ungetwc1.c: Likewise.
25490         * libio/tst-ungetwc2.c: Likewise.
25491         * libio/tst-widetext.c: Likewise.
25492         * localedata/tst-ctype.c: Likewise.
25493         * localedata/tst-digits.c: Likewise.
25494         * localedata/tst-leaks.c: Likewise.
25495         * localedata/tst-mbswcs1.c: Likewise.
25496         * localedata/tst-mbswcs2.c: Likewise.
25497         * localedata/tst-mbswcs3.c: Likewise.
25498         * localedata/tst-mbswcs4.c: Likewise.
25499         * localedata/tst-mbswcs5.c: Likewise.
25500         * localedata/tst-setlocale.c: Likewise.
25501         * localedata/tst-trans.c: Likewise.
25502         * localedata/tst-wctype.c: Likewise.
25503         * localedata/tst-xlocale1.c: Likewise.
25504         * login/tst-grantpt.c: Likewise.
25505         * malloc/tst-calloc.c: Likewise.
25506         * malloc/tst-malloc.c: Likewise.
25507         * malloc/tst-mallocstate.c: Likewise.
25508         * malloc/tst-mcheck.c: Likewise.
25509         * malloc/tst-mtrace.c: Likewise.
25510         * malloc/tst-obstack.c: Likewise.
25511         * math/atest-exp2.c: Likewise.
25512         * math/atest-exp.c: Likewise.
25513         * math/atest-sincos.c: Likewise.
25514         * math/test-matherr.c: Likewise.
25515         * math/test-misc.c: Likewise.
25516         * math/test-powl.c: Likewise.
25517         * math/tst-definitions.c: Likewise.
25518         * misc/tst-dirname.c: Likewise.
25519         * misc/tst-efgcvt.c: Likewise.
25520         * misc/tst-fdset.c: Likewise.
25521         * misc/tst-hsearch.c: Likewise.
25522         * misc/tst-mntent2.c: Likewise.
25523         * nptl/tst-sem7.c: Likewise.
25524         * nptl/tst-sem8.c: Likewise.
25525         * nptl/tst-sem9.c: Likewise.
25526         * nss/test-netdb.c: Likewise.
25527         * posix/tst-fnmatch.c: Likewise.
25528         * posix/tst-getlogin.c: Likewise.
25529         * posix/tst-gnuglob.c: Likewise.
25530         * posix/tst-mmap.c: Likewise.
25531         * pwd/tst-getpw.c: Likewise.
25532         * resolv/tst-inet_ntop.c: Likewise.
25533         * rt/tst-timer.c: Likewise.
25534         * stdio-common/test-fseek.c: Likewise.
25535         * stdio-common/test-popen.c: Likewise.
25536         * stdio-common/test-vfprintf.c: Likewise.
25537         * stdio-common/tst-cookie.c: Likewise.
25538         * stdio-common/tst-fileno.c: Likewise.
25539         * stdio-common/tst-gets.c: Likewise.
25540         * stdio-common/tst-obprintf.c: Likewise.
25541         * stdio-common/tst-perror.c: Likewise.
25542         * stdio-common/tst-sprintf2.c: Likewise.
25543         * stdio-common/tst-sprintf3.c: Likewise.
25544         * stdio-common/tst-sprintf.c: Likewise.
25545         * stdio-common/tst-swprintf.c: Likewise.
25546         * stdio-common/tst-tmpnam.c: Likewise.
25547         * stdio-common/tst-unbputc.c: Likewise.
25548         * stdio-common/tst-wc-printf.c: Likewise.
25549         * stdlib/tst-environ.c: Likewise.
25550         * stdlib/tst-fmtmsg.c: Likewise.
25551         * stdlib/tst-limits.c: Likewise.
25552         * stdlib/tst-rand48-2.c: Likewise.
25553         * stdlib/tst-rand48.c: Likewise.
25554         * stdlib/tst-random2.c: Likewise.
25555         * stdlib/tst-random.c: Likewise.
25556         * stdlib/tst-strtol.c: Likewise.
25557         * stdlib/tst-strtoll.c: Likewise.
25558         * stdlib/tst-tls-atexit.c: Likewise.
25559         * stdlib/tst-xpg-basename.c: Likewise.
25560         * string/test-ffs.c: Likewise.
25561         * string/tst-bswap.c: Likewise.
25562         * string/tst-inlcall.c: Likewise.
25563         * string/tst-strtok.c: Likewise.
25564         * string/tst-strxfrm.c: Likewise.
25565         * sysdeps/x86_64/tst-audit10.c: Likewise.
25566         * sysdeps/x86_64/tst-audit3.c: Likewise.
25567         * sysdeps/x86_64/tst-audit4.c: Likewise.
25568         * sysdeps/x86_64/tst-audit5.c: Likewise.
25569         * time/tst-ftime_l.c: Likewise.
25570         * time/tst-getdate.c: Likewise.
25571         * time/tst-mktime3.c: Likewise.
25572         * time/tst-mktime.c: Likewise.
25573         * time/tst-posixtz.c: Likewise.
25574         * time/tst-strptime2.c: Likewise.
25575         * time/tst-strptime3.c: Likewise.
25576         * wcsmbs/tst-btowc.c: Likewise.
25577         * wcsmbs/tst-mbrtowc.c: Likewise.
25578         * wcsmbs/tst-mbsrtowcs.c: Likewise.
25579         * wcsmbs/tst-wchar-h.c: Likewise.
25580         * wcsmbs/tst-wcpncpy.c: Likewise.
25581         * wcsmbs/tst-wcrtomb.c: Likewise.
25582         * wcsmbs/tst-wcsnlen.c: Likewise.
25583         * wcsmbs/tst-wcstof.c: Likewise.
25585 2014-11-04  Joseph Myers  <joseph@codesourcery.com>
25587         [BZ #14132]
25588         * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
25589         INTDEF.
25590         * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
25591         declaration.
25592         (_dl_mcount): Use rtld_hidden_proto.
25593         * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
25594         _dl_mcount.
25595         * elf/rtld.c (_rtld_global_ro): Likewise.
25597         [BZ #14132]
25598         * elf/dl-init.c (_dl_init): Don't use INTDEF.
25599         * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
25600         of _dl_init_internal.
25601         * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
25602         * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
25603         * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
25604         * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
25605         * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
25606         * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
25607         * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
25608         * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
25609         * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
25610         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
25611         * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
25612         * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
25613         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
25614         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
25615         * sysdeps/tile/dl-start.S (_start): Likewise.
25616         * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
25617         * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
25619         [BZ #14132]
25620         * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
25621         [IS_IN_rtld] (_dl_argv_internal): Do not declare.
25622         (rtld_progname): Make macro definition unconditional.
25623         * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
25624         INTDEF.
25625         (dlmopen_doit): Do not use INTUSE with _dl_argv.
25626         (dl_main): Likewise.
25627         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
25628         * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
25629         instead of _dl_argv_internal.
25630         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
25631         __GI__dl_argv instead of INTUSE(_dl_argv).
25632         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
25633         __GI__dl_argv instead of _dl_argv_internal.
25635         * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
25636         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
25637         macro.
25638         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
25639         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
25640         New macro.
25641         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
25642         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
25643         macro.
25644         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
25645         * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
25647 2014-11-04  Andreas Schwab  <schwab@suse.de>
25649         * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
25651 2014-11-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25653         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
25654         mtvsrd instruction in binary form.
25656 2014-11-03  Andreas Schwab  <schwab@suse.de>
25658         [BZ #17522]
25659         * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
25660         for less than MB_LEN_MAX use a local buffer of that size.
25661         * libio/tst-fputws.c: New file.
25662         * libio/Makefile (tests): Add tst-fputws.
25664 2014-11-01  Jose E. Marchesi  <jose.marchesi@oracle.com>
25666         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
25667         the size of the fpu_fr.fpu_dregs[] array.
25669 2014-11-01  Joseph Myers  <joseph@codesourcery.com>
25671         * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
25672         (__nanosleep): Do not define as alias.
25673         (nanosleep): Define as alias of __nanosleep.
25674         * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
25675         __libc_nanosleep name.
25677 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
25679         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
25680         install.texi in comment.
25682 2014-10-31  Torvald Riegel  <triegel@redhat.com>
25684         * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
25685         * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
25686         ... add here and use lwsync or sync ...
25687         * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
25688         ... and add here using lwsync.
25690 2014-10-31  Matthew Fortune  <matthew.fortune@imgtec.com>
25692         * elf/dl-machine-reject-phdr.h: New file.
25693         * elf/dl-load.c: #include that.
25694         (open_verify): Call elf_machine_reject_phdr_p and ignore the file
25695         if that returned true.
25697 2014-10-31  Roland McGrath  <roland@hack.frob.com>
25699         [BZ #17496]
25700         * Makerules: Move gnu/lib-names.h generation chunk up, to right after
25701         gen-as-const-headers chunk.  Add a big scare comment after the last
25702         safe place to touch before-compile.
25704 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
25706         * manual/install.texi (Tools for Compilation): Update autoconf
25707         version requirements.
25708         * INSTALL: Regenerated.
25710         * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
25711         * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
25712         (__libc_pselect): Likewise.
25714         [BZ #14138]
25715         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
25716         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
25717         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
25718         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
25720 2014-10-31  Torvald Riegel  <triegel@redhat.com>
25722         * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
25723         correct barrier instruction.
25724         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
25725         Likewise.
25726         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
25727         Likewise.
25729 2014-10-30  Roland McGrath  <roland@hack.frob.com>
25731         * include/ctype.h: Include <ctype/ctype.h> first thing rather than
25732         after defining inlines.  Instead, just use parens to defeat macro
25733         expansion of __isctype in its declaration.
25735 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
25737         * include/sys/uio.h (__libc_readv): Remove declaration.
25738         (__libc_writev): Likewise.
25739         * misc/readv.c (__libc_readv): Rename to __readv.
25740         (__readv): Do not define as alias.
25741         (readv): Define as alias of __readv.
25742         * misc/writev.c (__libc_writev): Rename to __writev.
25743         (__writev): Do not define as alias.
25744         (writev): Define as alias of __writev.
25745         * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
25746         (__readv): Do not define as alias.
25747         (readv): Define unconditionally as alias of __readv.
25748         * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
25749         (__writev): Do not define as alias.
25750         (writev): Define unconditionally as alias of __writev.
25751         * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
25752         name.
25753         (writev): Do not define __libc_writev name.
25755 2014-10-30  Roland McGrath  <roland@hack.frob.com>
25757         * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
25758         (convert_charseq): New function, broken out of ...
25759         (use_from_charmap): ... here.  Call it.
25760         (use_to_charmap): Use convert_charseq and free instead of duplicating
25761         its code with a variable-length stack struct.
25763 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
25765         * include/fcntl.h (__libc_creat): Remove declaration.
25766         * io/creat.c (__libc_creat): Rename to creat.
25767         (creat): Do not define as alias.
25768         * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
25769         of creat instead of __libc_creat.
25770         * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
25771         to creat.
25772         (creat): Do not define as alias.
25773         [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
25774         __libc_creat.
25775         * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
25776         __libc_creat name.
25777         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
25778         Likewise.
25780 2014-10-29  Carlos O'Donell  <carlos@redhat.com>
25782         * manual/llio.texi: Add comments discussing why write() may be
25783         considered MT-unsafe on Linux.
25785 2014-10-28  Carlos O'Donell  <carlos@redhat.com>
25787         * dl-load.c (local_strdup): Remove.
25788         (expand_dynamic_string_token): Use __strdup.
25789         (decompose_rpath): Likewise.
25790         (_dl_map_object): Likewise.
25792 2014-10-28  Joseph Myers  <joseph@codesourcery.com>
25794         [BZ #14132]
25795         * sysdeps/generic/unwind-dw2-fde.c
25796         (__register_frame_info_bases_internal): Do not declare.
25797         (__register_frame_info_table_bases_internal): Likewise.
25798         (__deregister_frame_info_bases_internal): Likewise.
25799         (__register_frame_info_bases): Declare and use hidden_proto before
25800         definition.  Use hidden_def instead of INTDEF.
25801         (__register_frame_info_table_bases): Likewise.
25802         (__deregister_frame_info_bases): Likewise.
25803         (__register_frame_info): Do not use INTUSE.
25804         (__register_frame): Likewise.
25805         (__register_frame_info_table): Likewise.
25806         (__register_frame_table): Likewise.
25807         (__deregister_frame_info): Likewise.
25808         (__deregister_frame): Likewise.
25810 2014-10-27  Gratian Crisan  <gratian.crisan@ni.com>
25812         * sysdeps/unix/sysv/linux/arm/kernel-features.h
25813         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
25814         not undefine.
25815         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
25816         Likewise.
25817         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
25818         Likewise.
25820 2014-10-27  Joseph Myers  <joseph@codesourcery.com>
25822         [BZ #14138]
25823         * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
25824         * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
25825         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
25826         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
25827         * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
25828         * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
25829         * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
25830         * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
25831         * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
25832         * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
25833         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
25834         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
25835         * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
25836         syscall.
25837         (setfsuid): Likewise.
25838         * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
25839         (setfsuid): Likewise.
25840         * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
25841         (setfsuid): Likewise.
25842         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
25843         Likewise.
25844         (setfsuid): Likewise.
25845         * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
25846         (setfsuid): Likewise.
25847         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
25848         Likewise.
25849         (setfsuid): Likewise.
25851 2014-10-27  Andreas Schwab  <schwab@suse.de>
25853         [BZ #17501]
25854         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
25855         check for Slow_SSE4_2 feature bit.
25856         * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
25857         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
25858         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
25859         Likewise.  Fix check for Fast_Unaligned_Load feature bit.
25861 2014-10-24  Roland McGrath  <roland@hack.frob.com>
25863         * configure.ac: Validate compiler version with a empirical test of
25864         __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
25865         $CC -v output.
25866         * configure: Regenerated.
25868         * inet/htons.c (htons): Prototypify.
25869         * inet/htonl.c (htonl): Likewise.
25871 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
25873         * string/strncat.c (strncat): Improve performance by using strlen.
25875 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
25877         * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
25879 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
25881         * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
25882         Call libc_fetestexcept_aarch64.
25884 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
25886         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
25887         Call libc_feholdexcept_aarch64.
25889 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
25891         * sysdeps/aarch64/fpu/fegetround.c (fegetround):
25892         Call get_rounding_mode.
25894 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
25896         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
25897         Simplify logic.
25899 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
25901         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
25902         Simplify logic.
25904 2014-10-24  Joseph Myers  <joseph@codesourcery.com>
25906         [BZ #14138]
25907         * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
25908         * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
25909         * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
25910         * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
25911         * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
25912         * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
25913         * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
25914         * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
25915         * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
25916         * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
25917         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
25918         * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
25919         * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
25920         * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
25921         * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
25922         * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
25923         * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
25924         * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
25925         * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
25926         * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
25927         * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
25928         * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
25929         * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
25930         * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
25931         * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
25932         * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
25933         * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
25934         * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
25935         * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
25936         * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
25937         * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
25938         * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
25939         * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
25940         * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
25941         * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
25942         * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
25943         * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
25944         * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
25945         * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
25946         * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
25947         * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
25948         syscall.
25949         (geteuid): Likewise.
25950         (getgid): Likewise.
25951         (getuid): Likewise.
25952         (getresgid): Likewise.
25953         (getresuid): Likewise.
25954         (getgroups): Likewise.
25955         * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
25956         (geteuid): Likewise.
25957         (getgid): Likewise.
25958         (getuid): Likewise.
25959         (getresgid): Likewise.
25960         (getresuid): Likewise.
25961         (getgroups): Likewise.
25962         * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
25963         (geteuid): Likewise.
25964         (getgid): Likewise.
25965         (getuid): Likewise.
25966         (getresgid): Likewise.
25967         (getresuid): Likewise.
25968         (getgroups): Likewise.
25969         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
25970         Likewise.
25971         (geteuid): Likewise.
25972         (getgid): Likewise.
25973         (getuid): Likewise.
25974         (getresgid): Likewise.
25975         (getresuid): Likewise.
25976         (getgroups): Likewise.
25977         * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
25978         (geteuid): Likewise.
25979         (getgid): Likewise.
25980         (getuid): Likewise.
25981         (getresgid): Likewise.
25982         (getresuid): Likewise.
25983         (getgroups): Likewise.
25984         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
25985         Likewise.
25986         (geteuid): Likewise.
25987         (getgid): Likewise.
25988         (getuid): Likewise.
25989         (getgroups): Likewise.
25991         [BZ #14138]
25992         * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
25993         * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
25994         * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
25995         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
25996         * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
25997         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
25998         * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
25999         * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
26000         * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
26001         * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
26002         * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
26003         * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
26004         * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
26005         __chown.
26006         * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
26007         (lchown): Likewise.
26008         (fchown): Likewise.
26009         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
26010         Likewise.
26011         (lchown): Likewise.
26012         (fchown): Likewise.
26013         * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
26014         (lchown): Likewise.
26015         (fchown): Likewise.
26016         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
26017         Likewise.
26018         (lchown): Likewise.
26019         (fchown): Likewise.
26021 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
26023         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
26024         Simplify logic.
26026 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
26028         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
26029         Cleanup logic.
26031 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
26033         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
26034         Remove unused include.
26036 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
26038         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
26039         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
26040         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
26041         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
26043 2014-10-23  Carlos O'Donell  <carlos@systemhalted.org>
26044             Helge Deller <deller@gmx.de>
26046         [BZ #17508]
26047         * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
26048         Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
26049         Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
26051 2014-10-23  Joseph Myers  <joseph@codesourcery.com>
26053         [BZ #14132]
26054         * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
26055         Remove macro definition.
26056         (__ashrdi3_v_glibc20): Likewise.
26057         (__lshrdi3_v_glibc20): Likewise.
26058         (__cmpdi2_v_glibc20): Likewise.
26059         (__ucmpdi2_v_glibc20): Likewise.
26060         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
26061         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
26062         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
26063         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
26064         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
26065         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
26067 2014-10-22  Roland McGrath  <roland@hack.frob.com>
26069         * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
26070         old GNU extension [0] syntax.
26071         * nscd/nscd_helper.c (open_socket): Use a flexible array member and
26072         alloca rather than an array member with variable length.
26073         * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
26074         * nscd/nscd.c (invalidate_db): New function, broken out of ...
26075         (parse_opt): ... here.  Likewise use alloca there.
26076         Validate the -i argument before checking for rootness.
26077         (send_shutdown): New function, broken out of ...
26078         (parse_opt): ... here.
26080 2014-10-22  Roland McGrath  <roland@hack.frob.com>
26082         * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
26083         macro to get at the _rt_local_ro field.
26084         [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
26085         ([PIC] case) or _dl_hwcap ([!PIC] case).
26086         * sysdeps/arm/setjmp.S: Likewise.
26088         * config.h.in (ARM_PCREL_MOVW_OK): New macro.
26089         * sysdeps/arm/configure.ac: New check to define it.
26090         * sysdeps/arm/configure: Regenerated.
26091         * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
26092         (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
26093         (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
26094         depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
26095         (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
26096         Use move/movt pair instead of a load.
26097         (LDST_GLOBAL): Macro removed.
26098         (LDR_GLOBAL): New macro replaces it.
26099         (LDR_HIDDEN): New macro.
26100         (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
26101         Use LDR_HIDDEN instead for __pointer_chk_guard_local.
26103         * setjmp/tst-setjmp-static.c: New file.
26104         * setjmp/Makefile (tests): Add it.
26105         (tests-static): New variable.
26107 2014-10-22  Maciej W. Rozycki  <macro@codesourcery.com>
26109         [BZ #17485]
26110         * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
26112 2014-10-21  Joseph Myers  <joseph@codesourcery.com>
26114         [BZ #14132]
26115         * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
26117 2014-10-21  Roland McGrath  <roland@hack.frob.com>
26119         * nptl/version.c (__nptl_main): Call __libc_write, not __write.
26121 2014-10-20  Roland McGrath  <roland@hack.frob.com>
26123         * io/fts.c (dirent_not_directory): New function.
26124         (fts_build): Call it.
26126 2014-10-20  Roland McGrath  <roland@hack.frob.com>
26128         * nptl/version.c (__nptl_main): Use normal __write rather than
26129         INTERNAL_SYSCALL.
26130         (banner): Update copyright years.
26132         * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
26133         gettimeofday.
26134         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
26135         * nptl/pthread_cond_timedwait.c: Likewise.
26136         * nptl/pthread_mutex_timedlock.c: Likewise.
26137         * nptl/sem_timedwait.c: Likewise.
26139         * sysdeps/nptl/bits/libc-lock.h
26140         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
26141         (__libc_lock_init_recursive): Return void, not 0.
26142         * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
26143         (__libc_rwlock_init): Likewise.
26144         * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
26146 2014-10-20  Torvald Riegel  <triegel@redhat.com>
26148         [BZ #15215]
26149         * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
26150         (__pthread_once_slow): ... here.
26151         * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
26152         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
26154 2014-10-20  Torvald Riegel  <triegel@redhat.com>
26156         [BZ #15215]
26157         * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
26158         __PTHREAD_ONCE_FORK_GEN_INCR): New.
26159         * sysdeps/nptl/fork.c (__libc_fork): Use them.
26160         * nptl/pthread_once.c (__pthread_once): Likewise.
26161         Update comments.
26163 2014-10-20  Joseph Myers  <joseph@codesourcery.com>
26165         [BZ #14138]
26166         * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
26167         name.
26168         (writev): Use __libc_writev as strong name.
26169         * sysdeps/unix/sysv/linux/readv.c: Remove file.
26170         * sysdeps/unix/sysv/linux/writev.c: Likewise.
26172 2014-10-17  Roland McGrath  <roland@hack.frob.com>
26174         * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
26176         * sysdeps/i386/nptl/tls.h
26177         (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
26178         [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
26179         New macros.
26180         * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
26181         (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
26182         * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
26183         Call SETUP_THREAD_SYSINFO instead of doing an assignment.
26184         * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
26185         Call CHECK_THREAD_SYSINFO instead of doing an assert.
26187         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
26188         Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
26189         on [__NR_futex].
26190         * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
26191         broken out of ...
26192         (__pthread_mutex_init): ... here.  Call it.
26193         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
26194         Conditionalize PI cases on [__NR_futex].
26195         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
26196         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
26197         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
26199         * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
26200         conditional on [SIGSETXID].
26201         (sigcancel_handler): Make definition conditional on [SIGCANCEL].
26202         (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
26203         is defined.  Likewise for SIGSETXID.
26204         * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
26205         Conditionalize definitions on [SIGSETXID].
26206         (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
26207         * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
26208         unblocking on [SIGCANCEL].
26210         * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
26211         [__NR_set_robust_list].
26213 2014-10-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
26215         * string/strcoll_l.c (get_next_seq): Fix up formatting.
26216         (do_compare): Likewise.
26218 2014-10-17  Leonhard Holz  <leonhard.holz@web.de>
26220         [BZ #15884]
26221         * string/strcoll_l.c: Don't include stdio.h.
26222         (coll_seq): Remove members idxarr and rulearr.
26223         (get_next_seq_cached): Remove function.
26224         (get_next_seq): Likewise.
26225         (get_next_seq_nocache): Rename to get_next_seq.
26226         (do_compare): Remove function.
26227         (do_compare_nocache): Rename to do_compare.
26228         (STRCOLL): Remove weight and rules cache.
26230 2014-10-16  Roland McGrath  <roland@hack.frob.com>
26232         * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
26233         * sysdeps/arm/sfp-machine.h: ... to here.
26234         * sysdeps/arm/Implies: Remove arm/soft-fp.
26236 2014-10-14  Joseph Myers  <joseph@codesourcery.com>
26238         * conform/data/sys/utsname.h-data (*_t): Allow.
26239         * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
26240         [POSIX] (WEXITED): Do not expect constant.
26241         [POSIX] (WSTOPPED): Likewise.
26242         [POSIX] (WNOHANG): Likewise.
26243         [POSIX] (WNOWAIT): Likewise.
26244         [POSIX] (siginfo_t): Do not expect type or elements.
26245         [POSIX] (pid_t): Do not expect type.
26246         [POSIX] (signal.h): Do not allow header.
26247         [POSIX] (sys/resource.h): Likewise.
26248         [POSIX] (si_*): Do not allow pattern.
26249         [POSIX] (W*): Likewise.
26250         [POSIX] (P_*): Likewise.
26251         [POSIX] (BUS_*): Likewise.
26252         [POSIX] (CLD_*): Likewise.
26253         [POSIX] (FPE_*): Likewise.
26254         [POSIX] (ILL_*): Likewise.
26255         [POSIX] (POLL_*): Likewise.
26256         [POSIX] (SEGV_*): Likewise.
26257         [POSIX] (SI_*): Likewise.
26258         [POSIX] (TRAP_*): Likewise.
26259         * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
26260         variable.
26262 2014-10-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
26264         [BZ #12926]
26265         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
26266         infinite loop when __recvmsg returns 0.
26268 2014-10-10  Joseph Myers  <joseph@codesourcery.com>
26270         * CANCEL-FCT-WAIVE: Remove file.
26271         * CANCEL-FILE-WAIVE: Likewise.
26273         [BZ #14132]
26274         * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
26275         instead of INTVARDEF.
26276         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
26277         * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
26278         rtld_hidden_data_def instead of INTVARDEF.
26279         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
26280         * elf/dl-deps.c (expand_dst): Likewise.
26281         * elf/dl-load.c (_dl_dst_count): Likewise.
26282         (_dl_dst_substitute): Likewise.
26283         (decompose_rpath): Likewise.
26284         (_dl_init_paths): Likewise.
26285         (open_path): Likewise.
26286         (_dl_map_object): Likewise.
26287         * elf/rtld.c (dl_main): Likewise.
26288         (process_dl_audit): Likewise.
26289         (process_envvars): Likewise.
26290         * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
26291         Remove declaration.
26292         (__libc_enable_secure): Use rtld_hidden_proto.
26294 2014-10-09  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
26296         * elf/dl-load.c
26297         (add_path): New function broken out of _dl_rtld_di_serinfo.
26298         (_dl_rtld_di_serinfo): Remove that nested function.  Update call sites.
26300 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
26302         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
26303         parentheses around macro arguments.
26304         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
26305         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
26306         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
26307         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
26308         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
26309         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
26310         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
26311         [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
26312         [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
26313         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
26314         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
26315         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
26316         [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
26317         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
26318         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
26319         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
26320         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
26321         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
26322         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
26323         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
26324         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
26325         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
26326         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
26327         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
26328         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
26329         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
26330         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
26331         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
26332         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
26333         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
26334         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
26335         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
26336         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
26337         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
26338         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
26339         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
26340         Likewise.
26341         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
26342         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
26343         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
26344         [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
26345         [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
26346         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
26347         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
26348         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
26349         [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
26350         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
26351         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
26352         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
26353         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
26354         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
26355         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
26356         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
26357         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
26358         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
26359         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
26360         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
26361         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
26362         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
26363         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
26364         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
26365         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
26366         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
26367         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
26368         * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
26369         (_FP_FRAC_SRS_1): Likewise.
26370         (_FP_FRAC_CLZ_1): Likewise.
26371         (_FP_MUL_MEAT_1_imm): Likewise.
26372         (_FP_MUL_MEAT_1_wide): Likewise.
26373         (_FP_MUL_MEAT_1_hard): Likewise.
26374         (_FP_SQRT_MEAT_1): Likewise.
26375         (_FP_FRAC_ASSEMBLE_1): Likewise.
26376         (_FP_FRAC_DISASSEMBLE_1): Likewise.
26377         * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
26378         (__FP_CLZ_2): Likewise.
26379         (_FP_MUL_MEAT_2_wide): Likewise.
26380         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
26381         (_FP_MUL_MEAT_2_gmp): Likewise.
26382         (_FP_MUL_MEAT_2_120_240_double): Likewise.
26383         (_FP_SQRT_MEAT_2): Likewise.
26384         (_FP_FRAC_ASSEMBLE_2): Likewise.
26385         (_FP_FRAC_DISASSEMBLE_2): Likewise.
26386         * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
26387         (_FP_FRAC_CLZ_4): Likewise.
26388         (_FP_MUL_MEAT_4_wide): Likewise.
26389         (_FP_MUL_MEAT_4_gmp): Likewise.
26390         (_FP_SQRT_MEAT_4): Likewise.
26391         (_FP_FRAC_ASSEMBLE_4): Likewise.
26392         (_FP_FRAC_DISASSEMBLE_4): Likewise.
26393         * soft-fp/op-common.h (_FP_CMP): Likewise.
26394         (_FP_CMP_EQ): Likewise.
26395         (_FP_CMP_UNORD): Likewise.
26396         (_FP_TO_INT): Likewise.
26397         (_FP_FROM_INT): Likewise.
26398         [!__FP_CLZ] (__FP_CLZ): Likewise.
26399         (_FP_DIV_HELP_imm): Likewise.
26400         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
26401         Likewise.
26402         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
26403         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
26404         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
26405         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
26406         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
26407         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
26408         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
26409         [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
26410         [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
26411         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
26412         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
26413         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
26414         [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
26415         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
26416         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
26417         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
26418         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
26419         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
26420         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
26421         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
26422         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
26423         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
26424         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
26425         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
26426         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
26427         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
26428         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
26429         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
26430         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
26431         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
26432         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
26433         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
26434         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
26435         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
26436         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
26437         * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
26438         (FP_UNPACK_RAW_SP): Likewise.
26439         (FP_PACK_RAW_S): Likewise.
26440         (FP_PACK_RAW_SP): Likewise.
26441         (FP_UNPACK_S): Likewise.
26442         (FP_UNPACK_SP): Likewise.
26443         (FP_UNPACK_SEMIRAW_S): Likewise.
26444         (FP_UNPACK_SEMIRAW_SP): Likewise.
26445         (FP_PACK_S): Likewise.
26446         (FP_PACK_SP): Likewise.
26447         (FP_PACK_SEMIRAW_S): Likewise.
26448         (FP_PACK_SEMIRAW_SP): Likewise.
26449         (_FP_SQRT_MEAT_S): Likewise.
26450         (FP_CMP_S): Likewise.
26451         (FP_CMP_EQ_S): Likewise.
26452         (FP_CMP_UNORD_S): Likewise.
26453         (FP_TO_INT_S): Likewise.
26454         (FP_FROM_INT_S): Likewise.
26456         * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
26458         * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
26459         (FP_EX_INVALID_IMZ): Likewise.
26460         (FP_EX_INVALID_IMZ_FMA): Likewise.
26461         (FP_EX_INVALID_ISI): Likewise.
26462         (FP_EX_INVALID_ZDZ): Likewise.
26463         (FP_EX_INVALID_IDI): Likewise.
26464         (FP_EX_INVALID_SQRT): Likewise.
26465         (FP_EX_INVALID_CVI): Likewise.
26466         (FP_EX_INVALID_VC): Likewise.
26467         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
26468         "invalid" exceptions.
26469         (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
26470         (_FP_ADD_INTERNAL): Likewise.
26471         (_FP_MUL): Likewise.
26472         (_FP_FMA): Likewise.
26473         (_FP_DIV): Likewise.
26474         (_FP_CMP_CHECK_NAN): Likewise.
26475         (_FP_SQRT): Likewise.
26476         (_FP_TO_INT): Likewise.
26477         (FP_EXTEND): Likewise.
26479 2014-10-09  Allan McRae  <allan@archlinux.org>
26481         * po/fr.po: Update French translation from translation project.
26483 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
26485         [BZ #14132]
26486         * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
26487         of INTDEF.
26488         * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
26489         (__cxa_atexit): Use libc_hidden_proto.
26490         [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
26492         [BZ #14132]
26493         * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
26494         declaration.
26495         [!_ISOMAC] (__iswdigit_l_internal): Likewise.
26496         [!_ISOMAC] (__iswspace_l_internal): Likewise.
26497         [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
26498         [!_ISOMAC] (__iswctype_internal): Likewise.
26499         * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
26500         * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
26501         alias.
26502         (fcntl): Remove __fcntl_internal alias.
26503         * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
26504         __connect_internal alias.
26505         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
26506         Likewise.
26508         * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
26509         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
26510         FP_DENORM_ZERO.
26511         (_FP_CHECK_FLUSH_ZERO): New macro.
26512         (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
26513         (_FP_CMP): Likewise.
26514         (_FP_CMP_EQ): Likewise.
26515         (_FP_TO_INT): Do not set inexact for subnormal arguments if
26516         FP_DENORM_ZERO.
26517         (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
26518         (FP_TRUNC): Likewise.
26520         * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
26521         treated as invalid conversion, not as normal exponent.
26523         * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
26524         (_FP_CMP): Add extra argument EX.  Call _FP_CMP_CHECK_NAN.
26525         (_FP_CMP_EQ): Likewise.
26526         (_FP_CMP_UNORD): Likewise.
26527         * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
26528         (FP_CMP_EQ_D): Likewise.
26529         (FP_CMP_UNORD_D): Likewise.
26530         * soft-fp/extended.h (FP_CMP_E): Likewise.
26531         (FP_CMP_EQ_E): Likewise.
26532         (FP_CMP_UNORD_E): Likewise.
26533         * soft-fp/quad.h (FP_CMP_Q): Likewise.
26534         (FP_CMP_EQ_Q): Likewise.
26535         (FP_CMP_UNORD_Q): Likewise.
26536         * soft-fp/single.h (FP_CMP_S): Likewise.
26537         (FP_CMP_EQ_S): Likewise.
26538         (FP_CMP_UNORD_S): Likewise.
26539         * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
26540         * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
26541         * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
26542         * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
26543         * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
26544         * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
26545         * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
26546         * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
26547         * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
26548         * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
26549         * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
26550         * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
26551         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
26552         to FP_CMP_Q.
26553         * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
26554         FP_CMP_Q.
26555         * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
26556         * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
26557         FP_CMP_EQ_Q.
26558         * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
26559         FP_CMP_Q.
26560         * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
26561         * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
26562         * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
26563         * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
26564         FP_CMP_EQ_Q.
26565         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
26566         FP_CMP_Q.
26567         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
26568         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
26569         FP_CMP_EQ_Q.
26570         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
26571         FP_CMP_Q.
26572         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
26573         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
26574         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
26575         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
26576         FP_CMP_EQ_Q.
26578         * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
26579         a subnormal result, set the underflow exception if trapping on
26580         underflow is enabled.
26581         * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
26582         (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
26583         [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
26584         redefine to 0.
26585         * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
26586         * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
26587         * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
26588         * soft-fp/extendxftf2.c (__extendxftf2): Use
26589         FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
26591         * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
26592         * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
26593         (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
26594         FP_HANDLE_EXCEPTIONS.
26595         * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
26596         (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
26597         FP_HANDLE_EXCEPTIONS.
26598         * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
26599         (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
26600         FP_HANDLE_EXCEPTIONS.
26601         * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
26602         (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
26603         FP_HANDLE_EXCEPTIONS.
26605 2014-10-08  Joseph Myers  <joseph@codesourcery.com>
26607         [BZ #14132]
26608         * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
26609         * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
26610         use INTUSE.
26611         [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
26612         * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
26613         Remove alias.
26614         (__adjtimex): Define using libc_hidden_ver.
26615         * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
26616         Remove declaration.
26617         (ntp_gettime): Call __adjtimex directly.
26618         * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
26619         Remove declaration.
26620         (ntp_gettimex): Call __adjtimex directly.
26621         * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
26622         __adjtimex_internal alias.
26624 2014-10-08  Roland McGrath  <roland@hack.frob.com>
26626         [BZ #17460]
26627         * nscd/nscd.c (more_help): Rewrite list of tables collection
26628         using xstrdup and asprintf.
26630         * nscd/nscd_conf.c: Remove local xstrdup declaration.
26632 2014-10-08  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
26633             Roland McGrath  <roland@hack.frob.com>
26635         * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
26636         (do_lookup_unique): ... local function 'enter' here; update callers.
26638 2014-10-06  Joseph Myers  <joseph@codesourcery.com>
26640         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
26641         compat_symbol calls on [SHARED].
26642         * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
26643         * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
26644         Remove.
26645         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
26646         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
26647         (oldsetrlimit): Remove.
26648         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
26649         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
26650         (lchown): New syscall entry.
26651         (oldsetrlimit): Remove.
26652         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
26653         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
26654         (oldsetrlimit): Remove.
26655         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
26657         [BZ #14138]
26658         * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
26659         * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
26660         * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
26661         * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
26662         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
26663         * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
26664         (fchown): Likewise.
26665         * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
26666         (fchown): Likewise.
26667         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
26668         Likewise.
26670 2014-10-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26672         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
26673         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
26674         (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
26675         __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
26676         * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
26677         Likewise.
26678         (__old_sem_post): Likewise.
26680 2014-10-06  Chris Metcalf  <cmetcalf@tilera.com>
26682         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
26683         INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
26684         HAVE_CLOCK_GETTIME_VSYSCALL macros.
26685         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
26686         Use INLINE_VSYSCALL macro.
26687         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
26688         __vdso_clock_gettime.
26689         * sysdeps/unix/sysv/linux/tile/init-first.c
26690         (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
26691         * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
26692         __vdso_clock_gettime.
26694         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
26695         to set up frame more cleanly.
26697         * sysdeps/tile/memcmp.c: New file.
26699         * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
26701         * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
26702         * sysdeps/tile/tilegx/strcasestr.c: New file.
26703         * sysdeps/tile/tilegx/strnlen.c: New file.
26704         * sysdeps/tile/tilegx/strstr.c: New file.
26706         * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
26708 2014-10-06  Arjun Shankar  <arjun.is@lostca.se>
26710         * nptl/tst-setuid3.c: Write errors to stdout.
26712 2014-10-01  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
26714         * elf/dl-deps.c
26715         (preload): New functions broken out of _dl_map_object_deps.
26716         (_dl_map_object_deps):  Remove a nested function. Update call sites.
26718 2014-10-01  Joseph Myers  <joseph@codesourcery.com>
26720         [BZ #14138]
26721         * sysdeps/unix/sysv/linux/execve.c: Remove file.
26722         * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
26724 2014-10-01  Steve Ellcey  <sellcey@mips.com>
26726         * sysdeps/mips/strcmp.S: New.
26728 2014-09-30  Joseph Myers  <joseph@codesourcery.com>
26730         [BZ #14138]
26731         * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
26732         (linkat): Likewise.
26733         (mkdirat): Likewise.
26734         (readlinkat): Likewise.
26735         (renameat): Likewise.
26736         (symlinkat): Likewise.
26737         (unlinkat): Likewise.
26738         * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
26739         * sysdeps/unix/sysv/linux/linkat.c: Likewise.
26740         * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
26741         * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
26742         * sysdeps/unix/sysv/linux/renameat.c: Likewise.
26743         * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
26744         * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
26746 2014-09-30  Will Newton  <will.newton@linaro.org>
26748         * math/math.h: Define long double math functions if
26749         _LIBC_TEST is defined.
26750         * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
26752         * localedata/Makefile: Move assignment to tests-special
26753         into an ifdef testing run-built-tests.
26754         * timezone/Makefile: Likewise.
26756 2014-09-29  Joseph Myers  <joseph@codesourcery.com>
26758         * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
26759         with $(BASH) not $(SHELL).
26761 2014-09-29  Carlos O'Donell  <carlos@redhat.com>
26762             Matthew LeGendre  <legendre1@llnl.gov>
26764         [BZ #17411]
26765         * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
26766         l_reloc_result.
26768 2014-09-29  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
26770         * stdio-common/printf_fp.c
26771         (hack_digit): New function, broken out of ...
26772         (__printf_fp): ... local function here.  Update call sites.
26773         hack_digit now takes an additional parameter that is a pointer
26774         to a struct of the referenced locals.  Those locals moved inside
26775         the struct and references updated.
26777 2014-09-29  H.J. Lu  <hongjiu.lu@intel.com>
26779         * aclocal.m4: Require autoconf 2.69.
26780         * configure: Regenerated.
26781         * sysdeps/aarch64/configure: Likewise.
26782         * sysdeps/alpha/configure: Likewise.
26783         * sysdeps/arm/armv7/configure: Likewise.
26784         * sysdeps/arm/configure: Likewise.
26785         * sysdeps/ia64/configure: Likewise.
26786         * sysdeps/mach/configure: Likewise.
26787         * sysdeps/mips/configure: Likewise.
26788         * sysdeps/s390/configure: Likewise.
26789         * sysdeps/unix/sysv/linux/mips/configure: Likewise.
26790         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
26792         * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
26793         file.
26794         * sysdeps/ia64/configure.ac: Likewise.
26796 2014-09-26  Joseph Myers  <joseph@codesourcery.com>
26798         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
26799         specify symbol version for ld.so.  Do not include entry for
26800         libpthread.
26801         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
26802         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
26803         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
26805         [BZ #14171]
26806         * Makeconfig [$(build-shared) = yes]
26807         ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
26808         makefiles.
26809         [$(build-shared) = yes && $(soversions.mk-done) = t]
26810         ($(common-objpfx)gnu/lib-names.h): Remove rule.
26811         [$(build-shared) = yes && $(soversions.mk-done) = t]
26812         ($(common-objpfx)gnu/lib-names.stmp): Likewise.  Split and moved
26813         to Makerules.
26814         [$(build-shared) = yes && $(soversions.mk-done) = t]
26815         (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
26816         here.
26817         [$(build-shared) = yes && $(soversions.mk-done) = t]
26818         (common-generated): Don't append gnu/lib-names.h and
26819         gnu/lib-names.stmp here.
26820         * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
26821         (lib-names-h-abi): New variable.
26822         [$(build-shared) = yes && $(soversions.mk-done) = t]
26823         (lib-names-stmp-abi): Likewise.
26824         [$(build-shared) = yes && $(soversions.mk-done) = t &&
26825         abi-variants] (before-compile): Append
26826         $(common-objpfx)$(lib-names-h-abi).
26827         [$(build-shared) = yes && $(soversions.mk-done) = t &&
26828         abi-variants] (common-generated): Append gnu/lib-names.h.
26829         [$(build-shared) = yes && $(soversions.mk-done) = t &&
26830         abi-variants] (install-others-nosubdir): Depend on
26831         $(inst_includedir)/$(lib-names-h-abi).
26832         [$(build-shared) = yes && $(soversions.mk-done) = t &&
26833         abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
26834         [$(build-shared) = yes && $(soversions.mk-done) = t]
26835         ($(common-objpfx)$(lib-names-h-abi)): New rule.
26836         [$(build-shared) = yes && $(soversions.mk-done) = t]
26837         ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
26838         [$(build-shared) = yes && $(soversions.mk-done) = t]
26839         (common-generated): Append $(lib-names-h-abi) and
26840         $(lib-names-stmp-abi).
26841         * scripts/lib-names.awk: Do not handle multi being set.
26842         * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
26843         Remove variable.
26844         (abi-lp64_be-ld-soname): Likewise.
26845         * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
26846         Likewise.
26847         (abi-hard-ld-soname): Likewise.
26848         * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
26849         * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
26850         Remove variable.
26851         (abi-o32_hard-ld-soname): Likewise.
26852         (abi-o32_soft_2008-ld-soname): Likewise.
26853         (abi-o32_hard_2008-ld-soname): Likewise.
26854         (abi-n32_soft-ld-soname): Likewise.
26855         (abi-n32_hard-ld-soname): Likewise.
26856         (abi-n32_soft_2008-ld-soname): Likewise.
26857         (abi-n32_hard_2008-ld-soname): Likewise.
26858         (abi-n64_soft-ld-soname): Likewise.
26859         (abi-n64_hard-ld-soname): Likewise.
26860         (abi-n64_soft_2008-ld-soname): Likewise.
26861         (abi-n64_hard_2008-ld-soname): Likewise.
26862         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
26863         Likewise.
26864         (abi-64-v2-ld-soname): Likewise.
26865         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
26866         ld.so entries.
26867         * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
26868         variable.
26869         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
26870         entry.
26871         * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
26872         variable.
26873         (abi-64-ld-soname): Likewise.
26874         (abi-x32-ld-soname): Likewise.
26875         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
26876         entry.
26877         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
26879 2014-09-23  Joseph Myers  <joseph@codesourcery.com>
26881         [BZ #14138]
26882         * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
26883         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
26884         * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
26885         * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
26886         * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
26887         * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
26888         * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
26889         syscall entry for GLIBC_2.2 symbol version.
26890         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
26891         Likewise.
26892         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
26893         (setrlimit): Likewise.
26894         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
26895         Likewise.
26897 2014-09-23  Will Newton  <will.newton@linaro.org>
26899         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
26900         _LINUX_ARM_SYSDEP_H include guard too.
26901         * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
26902         define.
26904 2014-09-20  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
26906         * sysdeps/unix/sysv/linux/eventfd.c:
26907         Make first argument unsigned.
26908         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
26909         * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
26911 2014-09-20  Ondřej Bílka  <neleai@seznam.cz>
26913         [BZ #16852]
26914         * socket/recvmmsg.c (recvmmsg): Drop const argument.
26915         * socket/sys/socket.h: Likewise.
26916         * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
26918 2014-09-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
26920         * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
26922 2014-09-17  Arjun Shankar  <arjun.is@lostca.se>
26924         * time/tst-ftime.c: New test.
26925         * time/Makefile (tests): Add tst-ftime.
26927 2014-09-17  Joseph Myers  <joseph@codesourcery.com>
26929         * soft-fp/extended.h: Fix comment formatting.
26930         * soft-fp/op-1.h: Likewise.
26931         * soft-fp/op-2.h: Likewise.
26932         * soft-fp/op-4.h: Likewise.
26933         * soft-fp/op-8.h: Likewise.
26934         * soft-fp/op-common.h: Likewise.
26935         * soft-fp/soft-fp.h: Likewise.
26937         * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
26939 2014-09-16  Joseph Myers  <joseph@codesourcery.com>
26941         [BZ #6652]
26942         * Makeconfig (soversions-default-setname): Remove variable.
26943         ($(common-objpfx)soversions.i): Don't pass default_setname to
26944         soversions.awk.
26945         * Makerules ($(common-objpfx)abi-versions.h): Don't pass
26946         oldest_abi to abi-versions.awk.
26947         * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
26948         * config.make.in (oldest-abi): Remove variable.
26949         * configure.ac (--enable-oldest-abi): Remove configure option.
26950         * configure: Regenerated.
26951         * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
26952         text.
26953         * scripts/abi-versions.awk: Do not handle oldest_abi variable.
26954         * scripts/soversions.awk: Do not handle default_setname variable.
26955         * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
26956         variable.
26957         * sysdeps/mach/hurd/configure: Regenerated.
26958         * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
26959         variable.
26960         * sysdeps/unix/sysv/linux/configure: Regenerated.
26962 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
26964         * elf/Makefile (CFLAGS-interp.c): Remove.
26965         ($(elf-objpfx)runtime-linker.h): Generate header with linker
26966         path string.
26967         * elf/interp.c: Include generated runtime-linker.h
26969         * Makerules (lib%.so): Don't include $(+interp) in
26970         prerequisites.
26971         * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
26972         * dlfcn/eval.c: Remove file.
26974         * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
26975         macros.
26977         [BZ #17266]
26978         * misc/sys/cdefs.h: Define __extern_always_inline for clang
26979         4.2 and newer.
26981         [BZ #17370]
26982         * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
26984 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
26985             Jakub Jelinek  <jakub@redhat.com>
26987         [BZ #17266]
26988         * libio/stdio.h: Check definition of __fortify_function
26989         instead of __extern_always_inline to include bits/stdio2.h.
26990         * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
26991         check if __extern_always_inline is defined.
26992         [__USE_MISC || __USE_XOPEN]: Likewise.
26993         [__USE_ISOC99] Likewise.
26994         * misc/sys/cdefs.h (__fortify_function): Define only if
26995         __extern_always_inline is defined.
26996         [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
26997         __extern_always_inline and __extern_inline only for g++-4.3
26998         and newer or a compatible gcc.
27000 2014-09-15  Andreas Schwab  <schwab@linux-m68k.org>
27002         [BZ #17371]
27003         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
27004         last change to handle zero prefix length.
27006 2014-09-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
27008         * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
27009         _SC_REGEX_VERSION.
27011         * posix/getconf.c (vars): Add _POSIX_IPV6 and
27012         _POSIX_RAW_SOCKETS.
27014 2014-09-13  Allan McRae  <allan@archlinux.org>
27016         * po/ru.po: Update Russian translation from translation project.
27018 2014-09-12  Roland McGrath  <roland@hack.frob.com>
27020         * locale/programs/locale.c (show_locale_vars): Inline local function
27021         into its sole call site.  Clean up some style nits.
27022         (print_item): New function, broken out of ...
27023         (show_info): ... local function here.  Clean up style nits.
27025         * locale/programs/ld-ctype.c (set_one_default): New function, broken
27026         out of ...
27027         (set_class_defaults): ... local function set_default here.
27028         Define set_default as a macro locally to pass constant parameters.
27029         (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
27030         rather than a shared local.
27032         * stdlib/rpmatch.c (try): New function, broken out of ...
27033         (rpmatch): ... local function here.  Also, prototypify definition.
27035 2014-09-12  Joseph Myers  <joseph@codesourcery.com>
27037         * scripts/soversions.awk: Do not handle configuration names.
27038         * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
27039         vendor and os variables to soversions.awk.
27040         * configure.ac: Do not modify gnu-* host_os.
27041         * configure: Regenerated
27042         * shlib-versions: Remove first column with configuration names.
27043         * nptl/shlib-versions: Likewise.
27044         * nptl_db/shlib-versions: Likewise.
27045         * sysdeps/hppa/shlib-versions: Likewise.
27046         * sysdeps/m68k/shlib-versions: Likewise.
27047         * sysdeps/mach/hurd/shlib-versions: Likewise.
27048         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
27049         * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
27050         * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
27051         * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
27052         * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
27053         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
27054         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
27055         * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
27056         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
27057         Likewise.
27058         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
27059         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
27060         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
27061         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
27062         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
27063         * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
27064         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
27065         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
27067         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
27068         (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
27069         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
27070         Regenerated.
27071         * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
27072         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
27073         Condition symbol version definitions on [HAVE_ELFV2_ABI].
27075         * shlib-versions: Remove OS-specific entries.  Moved to files in
27076         sysdeps.
27077         * sysdeps/mach/hurd/shlib-versions: New file.
27078         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
27080         * nptl/shlib-versions: Remove architecture-specific entries.
27081         Moved to files in sysdeps.
27082         * shlib-versions: Likewise.
27083         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
27084         file.
27085         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
27086         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
27087         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
27088         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
27090         * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
27091         (UDP_NO_CHECK6_RX): Likewise.
27093 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
27095         * sysdeps/posix/sysconf.c (__sysconf): Spell
27096         _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
27098 2014-08-12  Florian Weimer  <fweimer@redhat.com>
27100         * iconv/gconv_open.c (__gconv_open): Remove transliteration module
27101         loading.
27102         * iconv/Versions (__gconv_transliterate): Export for use from
27103         gconv modules.
27104         * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
27105         (struct __gconv_trans_data, __gconv_trans_fct,
27106         __gconv_trans_context_fct, __gconv_trans_query_fct,
27107         __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
27108         definitions.
27109         (struct __gconv_step_data): Remove __trans member.
27110         (__gconv_transliterate): Declaration moved from gconv_int.h.  No
27111         longer hidden.  Remove unused trans_data argument.
27112         * iconv/gconv_int.h (struct trans_struct): Remove definition.
27113         (__gconv_translit_find): Remove declaration.
27114         (__gconv_transliterate): Declaration moved to gconv.h.  Add hidden
27115         prototype.
27116         * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
27117         * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
27118         trans_data argument.  Add hidden definition.
27119         (__gconv_translit_find): Remove.
27120         * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
27121         __gconv_transliterate directly if __GCONV_TRANSLIT is set.
27122         * iconv/skeleton.c: Remove transliteration initialization.
27123         * libio/fileops.c (_IO_new_file_fopen): Adjust struct
27124         __gconv_step_data initialization.
27125         * libio/iofwide.c (__libio_translit_): Remove.
27126         (_IO_fwide): Adjust struct __gconv_step_data initialization.
27127         * wcsmbs/btowc.c (__btowc): Likewise.
27128         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
27129         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
27130         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
27131         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
27132         * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
27133         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
27134         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
27135         * wcsmbs/wctob.c (wctob): Likewise.
27137 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
27139         [BZ #16194]
27140         * sysdeps/x86/tst-xmmymm.sh: Rename file to...
27141         * sysdeps/x86/tst-ld-sse-use.sh: ... this.  Check for zmm
27142         register usage.
27143         * sysdeps/x86/Makefile: Adjust.
27145 2014-09-11  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
27146             Roland McGrath  <roland@hack.frob.com>
27148         * locale/weight.h: Add include guard.
27149         (findidx): Make static rather than auto; take new parameters
27150         TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
27151         * locale/weightwc.h: Likewise.
27152         * posix/fnmatch_loop.c
27153         (FCT): Change type of EXTRA from int32_t to wint_t.
27154         Don't include either header inside the function.
27155         Call FINDIDX rather than findidx, and pass new arguments.
27156         #undef FINDIDX at the end of the file.
27157         * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
27158         FINDIDX before including fnmatch_loop.c for the non-wide version.
27159         [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
27160         #include <locale/weightwc.h>, and define FINDIDX to findidxwc
27161         for the wide version.
27162         * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
27163         (build_equiv_class) [_LIBC]: Don't #include it inside the function.
27164         Pass new arguments to findidx.
27165         * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
27166         [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
27167         Don't #include it inside the function.  Pass new arguments to findidx.
27168         * posix/regex_internal.h
27169         [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
27170         (re_string_elem_size_at): Don't #include it inside the function.
27171         Pass new arguments to findidx.
27172         * string/strcoll_l.c: #include WEIGHT_H at top level.
27173         (get_next_seq): Don't #include it inside the function.
27174         Pass new arguments to findidx.
27175         (get_next_seq_nocache): Likewise.
27176         * string/strxfrm_l.c: #include WEIGHT_H at top level.
27177         (STRXFRM): Don't #include it inside the function.
27178         Pass new arguments to findidx.
27180 2014-09-11  Florian Weimer  <fweimer@redhat.com>
27182         [BZ #17344]
27183         * malloc/malloc.c (unlink): Turn asserts into a call to
27184         malloc_printerr.
27186 2014-09-11  Tim Lammens  <tim.lammens@gmail.com>
27188         [BZ #17370]
27189         * libio/wfileops (do_ftell_wide): Free OUT.
27191 2014-09-10  Chris Metcalf  <cmetcalf@tilera.com>
27193         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
27195 2014-09-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
27197         [BZ #17363]
27198         * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
27199         group if the current group is empty.
27201 2014-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27203         * benchtests/bench-memset.c (test_main): Add more test from size
27204         from 32 to 512 bytes.
27205         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
27206         Add POWER8 memset object.
27207         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
27208         (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
27209         * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
27210         implementation.
27211         * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
27212         Likewise.
27213         * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
27214         multiarch POWER8 memset optimization.
27215         * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
27216         POWER8 memset optimization.
27218         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
27219         Remove bzero multiarch objects.
27220         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
27221         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
27222         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
27223         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
27224         Remove define.
27225         [__bzero]: Redefine to specific name.
27226         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
27227         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
27228         * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
27229         define.
27230         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
27231         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
27233 2014-09-10  Florian Weimer  <fweimer@redhat.com>
27235         * Makeconfig (gccwarn-c): Turn implicit-function-declaration
27236         warnings into errors.
27238         * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
27239         __cxa_thread_atexit_impl prototype.
27241 2014-09-09  Steve Ellcey  <sellcey@mips.com>
27243         * sysdeps/mips/preconfigure: Put code inside mips* case statement.
27244         Fix capitalization of error message.
27246 2014-09-09  Steve Ellcey  <sellcey@mips.com>
27248         * sysdeps/mips/preconfigure: Modify ABI tests.
27250 2014-09-07  Carlos O'Donell  <carlos@systemhalted.org>
27252         * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
27254 2014-09-07  Roland McGrath  <roland@hack.frob.com>
27255             Carlos O'Donell  <carlos@systemhalted.org>
27257         * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
27258         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
27259         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
27260         * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
27261         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
27262         * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
27263         * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
27264         * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
27265         * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
27266         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
27267         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
27268         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
27269         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
27270         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
27271         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
27272         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
27273         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
27274         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
27275         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
27276         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
27277         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
27278         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
27279         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
27280         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
27281         * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
27282         * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
27283         * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
27284         * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
27285         Deconditionalize the code that was previously under [RESET_PID].
27286         * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
27287         * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
27288         * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
27289         * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
27290         include sysdep.h.
27292 2014-09-08  Allan McRae  <allan@archlinux.org>
27294         * version.h (RELEASE): Set to "development".
27295         (VERSION): Set to "2.20.90"
27297 2014-09-07  Allan McRae  <allan@archlinux.org
27299         * version.h (RELEASE): Set to "stable".
27300         (VERSION): Set to "2.20"
27301         * include/features.h (__GLIBC_MINOR__): Set to 20.
27303         * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
27304         Liebler.
27306         * po/ko.po: Update Korean translation from translation project.
27308 2014-09-06  Chris Metcalf  <cmetcalf@tilera.com>
27310         [BZ #17354]
27311         * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
27312         macro for handling signed relocations.
27314 2014-09-03  Florian Weimer  <fweimer@redhat.com>
27316         [BZ #17325]
27317         * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
27318         * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
27319         assert.
27320         * iconvdata/ibm933.c (BODY): Fix check for sentinel.
27321         * iconvdata/ibm935.c (BODY): Likewise.
27322         * iconvdata/ibm937.c (BODY): Likewise.
27323         * iconvdata/ibm939.c (BODY): Likewise.
27324         * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
27325         assert.
27326         * iconvdata/Makefile (iconv-test.out): Pass module list to test
27327         script.
27328         * iconvdata/run-iconv-test.sh: New test loop for checking for
27329         decoder crashers.
27331 2014-09-02  Khem Raj  <raj.khem@gmail.com>
27333         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
27334         libm_hidden_ver.
27336 2014-09-01  Allan McRae  <allan@archlinux.org>
27338         * po/eo.po: Update Esperanto translation from translation project.
27340         * po/ca.po: Update Catalan translation from translation project.
27342 2014-08-28  Samuel Thibault  <samuel.thibault@ens-lyon.org>
27344         * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
27345         __proc_dostop call.
27347 2014-08-27  Mark Wielaard  <mjw@redhat.com>
27349         [BZ #17319]
27350         * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
27351         to call set_thread_area instead of hand written asm.
27352         (__NR_set_thread_area): Removed define.
27353         (TLS_FLAG_WRITABLE): Likewise.
27354         (__ASSUME_SET_THREAD_AREA): Remove check.
27355         (TLS_EBX_ARG): Remove define.
27356         (TLS_LOAD_EBX): Likewise.
27358 2014-08-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
27360         Simplify atomicity of socket creation in bind.
27362         * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
27363         looking up the name after linking the file.
27365 2014-08-27  Allan McRae  <allan@archlinux.org>
27367         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
27369 2014-08-26  Florian Weimer  <fweimer@redhat.com>
27371         [BZ #17187]
27372         * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
27373         trans_compare, open_translit, __gconv_translit_find):
27374         Remove module loading code.
27376 2014-08-26  Allan McRae  <allan@archlinux.org>
27378         * po/vi.po: Update Vietnamese translation from translation project.
27380         * po/uk.po: Update Ukrainian translation from translation project.
27382         * po/fr.po: Update French translation from translation project.
27384         * po/ru.po: Update Russian translation from translation project.
27386         * po/pl.po: Update Polish translation from translation project.
27388         * po/cs.po: Update Czech translation from translation project.
27390         * po/de.po: Update German translation from translation project.
27392         * po/bg.po: Update Bulgarian translation from translation project.
27394         * po/sv.po: Update Sweedish translation from translation project.
27396         * po/nl.po: Update Dutch translation from translation project.
27398         * po/es.po: Update Spanish translation from translation project.
27400 2014-08-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
27402         * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
27404         * catgets/Makefile (CPPFLAGS-gencat): Remove.
27405         * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
27406         (CPPFLAGS-iconvconfig): Likewise.
27407         * timezone/Makefile (CPPFLAGS-zic): Likewise.
27409         * include/libc-symbols.h: Remove unnecessary check for
27410         NOT_IN_libc.
27411         * nptl/pthreadP.h: Likewise.
27412         * sysdeps/aarch64/setjmp.S: Likewise.
27413         * sysdeps/alpha/setjmp.S: Likewise.
27414         * sysdeps/arm/sysdep.h: Likewise.
27415         * sysdeps/i386/setjmp.S: Likewise.
27416         * sysdeps/m68k/setjmp.c: Likewise.
27417         * sysdeps/posix/getcwd.c: Likewise.
27418         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
27419         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
27420         * sysdeps/s390/s390-32/setjmp.S: Likewise.
27421         * sysdeps/s390/s390-64/setjmp.S: Likewise.
27422         * sysdeps/sh/sh3/setjmp.S: Likewise.
27423         * sysdeps/sh/sh4/setjmp.S: Likewise.
27424         * sysdeps/unix/alpha/sysdep.h: Likewise.
27425         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
27426         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
27427         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
27428         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
27429         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
27430         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
27431         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
27432         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
27433         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
27434         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
27435         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
27436         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
27437         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
27438         * sysdeps/x86_64/setjmp.S: Likewise.
27440 2014-08-13  Joseph Myers  <joseph@codesourcery.com>
27442         [BZ #17263]
27443         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
27444         <stdint.h>.
27445         (__get_clockfreq): Use uint64_t instead of hp_timing_t in
27446         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
27448 2014-08-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
27450         * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
27452         [BZ #17262]
27453         * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
27454         and __x86_64__ when disabling x87 inline functions.
27456 2014-08-12  H.J. Lu  <hongjiu.lu@intel.com>
27458         [BZ #17259]
27459         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
27460         asm statement with __cpuid_count.
27462 2014-08-12  Mike Frysinger  <vapier@gentoo.org>
27464         * configure.ac: Change __ehdr_start code to dereference the struct.
27465         Run readelf on the output to look for relocations.
27466         * configure: Regenerated.
27468 2014-08-12  Joseph Myers  <joseph@codesourcery.com>
27470         [BZ #17261]
27471         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
27472         value to 0.
27473         (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
27475 2014-08-12  Roland McGrath  <roland@hack.frob.com>
27477         * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
27479 2014-08-12  Bernard Ogden  <bernie.ogden@linaro.org>
27481         [BZ #16892]
27482         * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
27483         atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
27485 2014-08-12  Sean Anderson  <seanga2@gmail.com>
27487         * malloc/malloc.c: Fix typo in comment.
27489 2014-08-09  Allan McRae  <allan@archlinux.org>
27491         * Regenerate libc.po.
27493 2014-08-08  Mike Frysinger  <vapier@gentoo.org>
27495         * intl/tst-gettext2.sh: Check every lang file for creation.
27497 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
27499         * sysdeps/aarch64/fpu/math_private.h
27500         (libc_feholdsetround_noex_aarch64_ctx): New function.
27502 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
27504         * sysdeps/arm/armv6/strcpy.S (strcpy):
27505         Fix performance issue in misaligned cases.
27507 2014-08-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27509         * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
27510         Move definition from termios.h.
27511         (struct termio): Likewise.
27512         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
27513         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
27514         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
27515         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
27516         Likewise.
27517         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
27518         Move definition to ioctl-types.h
27519         (struct termio): Likewise.
27520         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
27521         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
27522         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
27523         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
27524         Likewise.
27526 2014-08-05  Richard Henderson  <rth@redhat.com>
27528         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
27529         exceptions.
27530         * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
27531         Add fraiseexcpt.
27532         * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
27533         Use __feraiseexcept.
27534         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
27535         Protect libm symbols with IS_IN_libm.
27537         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
27539 2014-08-04  Bernard Ogden  <bernie.ogden@linaro.org>
27541         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
27543 2014-08-04  Will Newton  <will.newton@linaro.org>
27545         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
27546         file.
27548 2014-08-04  Mike Frysinger  <vapier@gentoo.org>
27550         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
27551         variants for each function.
27553 2014-08-04  Roland McGrath  <roland@hack.frob.com>
27555         * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
27556         appended ...
27557         * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
27558         * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
27559         appended ...
27560         * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
27561         * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
27562         * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
27563         * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
27564         * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
27565         * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
27566         * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
27567         * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
27568         * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
27569         * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
27570         * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
27571         * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
27572         * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
27573         * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
27574         * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
27575         * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
27576         * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
27577         * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
27578         * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
27579         * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
27580         * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
27581         * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
27582         * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
27583         * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
27584         * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
27585         * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
27586         * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
27587         * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
27588         * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
27589         * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
27590         * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
27591         * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
27592         * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
27593         * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
27594         * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
27595         * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
27596         * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
27597         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
27598         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
27599         * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
27600         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
27601         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
27602         * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
27603         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
27604         * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
27605         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
27606         * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
27607         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
27608         * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
27609         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
27610         * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
27611         * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
27612         * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
27613         Update #include.
27614         * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
27615         * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
27617 2014-08-04  Roland McGrath  <roland@hack.frob.com>
27619         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
27620         * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
27621         * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
27622         * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
27623         * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
27624         * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
27626 2014-08-04  Roland McGrath  <roland@hack.frob.com>
27628         * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
27629         * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
27630         * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
27631         * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
27633 2014-08-04  Roland McGrath  <roland@hack.frob.com>
27635         * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
27636         * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
27637         (__libc_vfork): Define function under this name.
27638         (__vfork): Define as an alias.
27639         * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
27640         * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
27642 2014-08-04  Roland McGrath  <roland@hack.frob.com>
27644         * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
27645         that was previously under [RESET_PID].
27646         * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
27648 2014-08-04  Andreas Schwab  <schwab@suse.de>
27650         * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
27652 2014-08-03  Mike Frysinger  <vapier@gentoo.org>
27654         * stdlib/tst-setcontext.c (test_stack): Fix coding style.
27655         (main): Likewise.
27657 2014-08-01  Roland McGrath  <roland@hack.frob.com>
27659         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
27661 2014-08-01  Richard Henderon  <rth@redhat.com>
27663         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
27664         feclearexcept; use math_opt_barrier instead of open-coded asm; fix
27665         typo in exact zero test.
27666         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
27667         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
27668         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
27670 2014-08-01  Roland McGrath  <roland@hack.frob.com>
27672         * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
27673         (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
27674         * sysdeps/arm/sysdep.h: ... here.
27675         [!__ASSEMBLER__]: Include <stdint.h>.
27677 2014-08-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
27679         * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
27680         (HAVE_WCTYPE_H): Likewise.
27681         (HAVE_ISWCTYPE): Likewise.
27682         (ENABLE_NLS): Likewise.
27683         * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
27684         && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
27686         * posix/regex_internal.c: Check if DEBUG is defined and is
27687         set.
27689         * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
27690         (HAVE_MBSRTOWCS): Likewise.
27691         * posix/fnmatch.c: Include string.h unconditionally.
27693 2014-08-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
27695         * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
27696         reversal.
27698 2014-07-31  Roland McGrath  <roland@hack.frob.com>
27700         * sysdeps/generic/safe-fatal.h: New file.
27701         * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
27702         * nptl/forward.c: Include it.
27703         (__pthread_unwind): Use __safe_fatal as default action, rather
27704         than a bogus use of INTERNAL_SYSCALL that could never work.
27706         * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
27707         * configure.ac (libc_cv_builtin_trap): New test.
27708         * configure: Regenerated.
27709         * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
27710         (ABORT_INSTRUCTION): Define using __builtin_trap.
27712         * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
27713         * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
27714         * sysdeps/nptl/nptl-signals.h: New file.
27715         * nptl/pthreadP.h: Include <nptl-signals.h>.
27717 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
27719         * sysdeps/s390/s390-64/utf16-utf32-z9.c
27720         (ONE_DIRECTION): Define.
27721         * sysdeps/s390/s390-64/utf8-utf16-z9.c
27722         (ONE_DIRECTION): Define.
27723         * sysdeps/s390/s390-64/utf8-utf32-z9.c
27724         (ONE_DIRECTION): Define.
27726 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
27728         * sysdeps/s390/Makefile: Delete file.
27729         * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
27730         * sysdeps/s390/__longjmp.c: Delete file.
27731         * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
27732         Remove fields __flags and __reserved.
27733         * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
27734         and add versioning.
27735         * sysdeps/s390/rtld-__longjmp.c: Delete file.
27736         * sysdeps/s390/rtld-global-offsets.sym: Likewise.
27737         * sysdeps/s390/rtld-setjmp.S: Likewise.
27738         * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
27739         * sysdeps/s390/s390-32/__longjmp.c: ... here.
27740         * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
27741         * sysdeps/s390/s390-32/setjmp.S: ... here.
27742         Add versioning.
27743         (__sigsetjmp): Remove setting __flags field.
27744         * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
27745         * sysdeps/s390/s390-64/__longjmp.c: ... here.
27746         * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
27747         * sysdeps/s390/s390-64/setjmp.S: ... here.
27748         Add versioning.
27749         (__sigsetjmp): Remove setting __flags field.
27750         * sysdeps/s390/setjmp.S: Delete file.
27751         * sysdeps/s390/sigjmp.c: Likewise.
27752         * sysdeps/s390/v1-longjmp.c: Likewise.
27753         * sysdeps/s390/v1-setjmp.h: Likewise.
27754         * sysdeps/s390/v1-sigjmp.c: Likewise.
27755         * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
27756         Remove v1-longjmp_chk.
27757         * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
27758         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
27759         Include debug/longjmp_chk.c and add versioning.
27760         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
27761         Include nptl/pt-longjmp.c and add versioning.
27762         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
27763         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
27764         Include __longjmp.c.
27765         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
27766         Move to ...
27767         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
27768         (__getcontext): Remove setting __flags field.
27769         Add versioning.
27770         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
27771         Don't restore upper high grps.
27772         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
27773         Likewise.
27774         (__swapcontext): Remove setting uc_flags field.
27775         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
27776         Delete file.
27777         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
27778         Include __longjmp.c.
27779         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
27780         Move to ...
27781         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
27782         (__getcontext): Remove setting __flags field.
27783         Add versioning.
27784         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
27785         (__swapcontext): Remove setting uc_flags field.
27786         * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
27787         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
27788         Remove fields uc_high_gprs and __reserved.
27789         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
27790         New file with reverted content.
27791         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
27792         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
27793         Regenerated.
27794         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
27795         Regenerated.
27797 2014-07-31  Andreas Schwab  <schwab@suse.de>
27799         * config.h.in (HAVE_IFUNC): Define to 0.
27800         * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
27801         definedness.
27803 2014-07-30  Ling Ma  <ling.ml@alibaba-inc.com>
27805         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
27806         memmove-avx-unaligned, memcpy-avx-unaligned and
27807         mempcpy-avx-unaligned.
27808         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
27809         Add tests for AVX memcpy functions.
27810         * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
27811         * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
27812         memcpy_chk.
27813         * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
27814         * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
27815         memmove_chk.
27816         * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
27817         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
27818         mempcpy_chk.
27819         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
27820         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
27821         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
27823 2013-07-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27825         [BZ #17213]
27826         * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
27827         powerpc64le.
27829 2014-07-29  Jeff Layton  <jlayton@poochiereds.net>
27831         [BZ #16839]
27832         * manual/llio.texi: Add section about open file description locks.
27833         * manual/examples/ofdlocks.c: Example of open file description
27834         lock usage.
27835         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
27836         F_OFD_SETLK, and F_OFD_SETLKW.
27838 2014-07-23  Allan McRae  <allan@archlinux.org>
27840         * po/es.po: Update Spanish translation from translation project.
27842 2014-07-18  Andreas Schwab  <schwab@linux-m68k.org>
27844         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
27846 2014-07-17  Maciej W. Rozycki  <macro@codesourcery.com>
27848         [BZ #17078]
27849         * sysdeps/arm/dl-machine.h (elf_machine_rela)
27850         [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
27851         (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
27853 2014-07-17  Joseph Myers  <joseph@codesourcery.com>
27855         [BZ #17088]
27856         * math/fesetenv.c (__fesetenv)
27857         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
27858         * math/feupdateenv.c (__feupdateenv)
27859         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
27861         * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
27862         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
27863         (__ASSUME_SOCKETCALL): Do not define.
27865         * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
27866         * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
27867         (__ASSUME_SOCKETCALL): Do not define.
27868         (__ASSUME_ST_INO_64_BIT): Define unconditionally.
27869         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
27870         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
27871         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
27872         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
27873         [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
27874         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
27875         [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
27877         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
27878         * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
27879         (__ASSUME_SOCKETCALL): Do not define.
27880         (__ASSUME_IPC64): Define unconditionally.
27881         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
27882         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
27883         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
27884         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
27885         [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
27886         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
27887         [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
27888         Likewise.
27890         * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
27891         * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
27892         (__ASSUME_SOCKETCALL): Do not define.
27893         (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
27894         (__ASSUME_FUTEX_LOCK_PI): Likewise.
27895         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
27896         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
27897         (__ASSUME_REQUEUE_PI): Define unconditionally.
27898         [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
27899         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
27900         [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
27901         [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
27902         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
27903         [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
27905         * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
27906         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
27907         (__ASSUME_SOCKETCALL): Do not define.
27908         [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
27909         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
27910         [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
27911         [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
27912         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
27913         [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
27915         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
27916         * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
27917         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
27918         [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
27919         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
27920         [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
27921         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
27922         [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
27923         (__ASSUME_GETCPU_SYSCALL): Likewise.
27925         * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
27926         * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR.  Remove
27927         cases for individual architectures.
27928         * sysdeps/gnu/configure: Regenerated.
27929         * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
27930         LIBC_SLIBDIR_RTLDDIR.
27931         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
27932         * sysdeps/unix/sysv/linux/mips/configure.ac: Use
27933         LIBC_SLIBDIR_RTLDDIR.
27934         * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
27935         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
27936         LIBC_SLIBDIR_RTLDDIR.
27937         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
27938         Regenerated.
27939         * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
27940         * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
27941         file.
27942         * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
27943         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
27944         file.
27945         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
27946         * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
27947         * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
27948         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
27950         * sysdeps/aarch64/shlib-versions: Move to ...
27951         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
27952         * sysdeps/alpha/shlib-versions: Move to ...
27953         * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
27954         * sysdeps/arm/shlib-versions: Move to ...
27955         * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
27956         * sysdeps/hppa/shlib-versions: Move all contents except for
27957         libgcc_s entry to ...
27958         * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here.  Merge in
27959         entry from ...
27960         * sysdeps/hppa/nptl/shlib-versions: ... here.  Remove file.
27961         * sysdeps/ia64/shlib-versions: Move to ...
27962         * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here.  Merge in
27963         entry from ...
27964         * sysdeps/ia64/nptl/shlib-versions: ... here.  Remove file.
27965         * sysdeps/m68k/coldfire/shlib-versions: Move to ...
27966         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
27967         * sysdeps/microblaze/shlib-versions: Move to ...
27968         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
27969         * sysdeps/mips/shlib-versions: Move to ...
27970         * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here.  Merge in
27971         entry from ...
27972         * sysdeps/mips/nptl/shlib-versions: ... here.  Remove file.
27973         * sysdeps/tile/shlib-versions: Move to ...
27974         * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
27975         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
27976         from ...
27977         * sysdeps/x86_64/64/shlib-versions: ... here.  Remove file.
27978         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
27979         entry from ...
27980         * sysdeps/x86_64/x32/shlib-versions: ... here.  Remove file.
27982 2014-07-17  Will Newton  <will.newton@linaro.org>
27984         * sysdeps/arm/bits/atomic.h
27985         (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
27986         (__arch_compare_and_exchange_bool_16_int): Likewise.
27987         (__arch_compare_and_exchange_bool_64_int): Likewise.
27989         * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
27990         into an #else block.
27992 2014-07-16  Roland McGrath  <roland@hack.frob.com>
27994         * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
27995         just Linux configurations.  Test empirically that the compiler sets
27996         __ARM_EABI__, rather than using the tuple to decide.
27997         * sysdeps/arm/preconfigure: Regenerated.
27998         * sysdeps/unix/sysv/linux/arm/configure: File removed.
27999         * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
28000         contents appended ...
28001         * sysdeps/arm/configure.ac: ... here.
28002         * sysdeps/arm/configure: Regenerated.
28004 2014-07-15  Roland McGrath  <roland@hack.frob.com>
28006         * nptl/pthread_kill.c: New file.
28007         * nptl/pthread_sigmask.c: New file.
28008         * nptl/pthread_sigqueue.c: New file.
28010         * sysdeps/nptl/lowlevellock.h: New file.
28011         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
28012         * sysdeps/nptl/lowlevellock-futex.h: New file.
28014         * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
28015         Remove dead declarations.
28017 2014-07-14  H.J. Lu  <hongjiu.lu@intel.com>
28019         * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
28020         * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
28021         config-cflags-avx2.
28022         * sysdeps/x86_64/configure.ac: Likewise.
28023         * sysdeps/i386/configure: Regenerated.
28024         * sysdeps/x86_64/configure: Likewise.
28025         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
28026         memset-avx2 only if config-cflags-avx2 is yes.
28027         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
28028         Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
28029         defined.
28030         * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
28031         only if HAVE_AVX2_SUPPORT is defined.
28032         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
28034 2014-07-14  Alan Modra  <amodra@gmail.com>
28036         [BZ #17153]
28037         * elf/elf.h (DT_PPC64_NUM): Correct value.
28038         * NEWS: Add to fixed bug list.
28040 2014-07-13  Jim Meyering  <meyering@fb.com>
28042         [BZ 17150]
28043         regex: don't deref NULL upon heap allocation failure
28044         * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
28045         failure in one more place.
28046         To trigger the segfault, configure grep -with-included-regex,
28047         build it, and run these commands:
28048         ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
28050 2014-07-13  Andreas Schwab  <schwab@linux-m68k.org>
28052         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
28054 2014-07-11  Richard Henderson  <rth@redhat.com>
28056         * sysdeps/aarch64/libm-test-ulps: Update.
28058 2014-07-10  Florian Weimer  <fweimer@redhat.com>
28060         [BZ #17135]
28061         * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
28062         * nptl/allocatestack.c (__nptl_setxid_error): New function.
28063         (__nptl_setxid): Initialize error member.  Call
28064         __nptl_setxid_error.
28065         * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
28066         * nptl/descr.h (struct xid_command): Add error member.
28067         * nptl/tst-setuid3.c: New file.
28068         * nptl/Makefile (tests): Add it.
28070 2014-07-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28072         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
28073         New define.
28074         (__lll_trylock): Use __lll_base_trylock.
28075         (__lll_cond_trylock): Likewise.
28077 2014-07-10  Roland McGrath  <roland@hack.frob.com>
28079         * nptl/pthread_create.c (start_thread): Use atomic_or and
28080         lll_futex_wake directly rather than lll_robust_dead.
28081         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
28082         (lll_robust_dead): Macro removed.
28083         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
28084         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
28085         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
28086         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
28087         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
28088         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
28089         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
28090         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
28091         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
28092         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
28093         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
28094         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
28095         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
28096         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
28097         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
28099         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
28100         Use atomic_compare_and_exchange_val_acq directly rather than
28101         lll_robust_trylock.
28102         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
28103         (__lll_robust_trylock, lll_robust_trylock): Removed.
28104         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
28105         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
28106         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
28107         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
28108         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
28109         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
28110         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
28111         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
28112         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
28113         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
28114         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
28115         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
28116         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
28117         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
28119 2014-07-02  Florian Weimer  <fweimer@redhat.com>
28121         * manual/locale.texi (Locale Names): New section documenting
28122         locale name syntax.  Adjust menu and node chaining accordingly.
28123         (Choosing Locale): Reference Locale Names, Locale Categories.
28124         Mention setting LC_ALL=C.  Reflect that name syntax is now
28125         documented.
28126         (Locale Categories): New section title.  Reference Locale Names.
28127         LC_ALL is an environment variable, but not a category.
28128         (Setting the Locale): Remove "locale -a" invocation and LOCPATH
28129         description, now in Locale Name.  Reference that section.  Locale
28130         name syntax is now documented.
28132 2014-07-02  Florian Weimer  <fweimer@redhat.com>
28134         [BZ #17137]
28135         * locale/findlocale.c (name_present, valid_locale_name): New
28136         functions.
28137         (_nl_find_locale): Use the loc_name variable to store name
28138         candidates.  Call name_present and valid_locale_name to check and
28139         validate locale names.  Return an error if the locale is invalid.
28141 2014-07-02  Florian Weimer  <fweimer@redhat.com>
28143         * locale/setlocale.c (setlocale): Use strdup for allocating
28144         composite name copy.
28146 2014-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
28148         Sync up with gnulib.
28149         * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
28150         [!_LIBC && ENABLE_NLS]: Include gettext.h.
28151         [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
28152         and _GL_ARG_NONNULL.
28153         [USE_UNLOCKED_IO]: Include unlocked-io.h.
28154         [!_LIBC]: Include code for Windows and Cygwin.
28155         [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
28156         Include prototype for int strerror_r.
28157         [!_LIBC] (is_open): New function.
28158         (flush_stdout): New function.
28159         (print_errno_message): Use it.
28160         (error): Likewise.
28161         (error_at_line): Likewise.
28162         (error_tail) Add function attribute macros.  Use
28163         __builtin_expect.
28165         * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
28167         * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
28169         * io/ftw.c: Include sys/param.h unconditionally.
28171         * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
28173         [BZ #17125]
28174         * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
28175         libc_freeres_ptr.
28176         (freecache): New function to free CACHE on exit.
28178         * sunrpc/xdr.c (xdr_string): Add comment about SIZE
28179         initialization.
28181 2014-07-09  David S. Miller  <davem@davemloft.net>
28183         * sysdeps/sparc/fpu/libm-test-ulps: Update.
28185         * sysdeps/sparc/nptl/internaltypes.h: Delete.
28186         * sysdeps/sparc/nptl/sparc-nptl.h: New file.
28187         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
28188         * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
28189         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
28190         * sysdeps/sparc/nptl/sem_init.c: Likewise.
28191         * sysdeps/sparc/nptl/sem_post.c: Likewise.
28192         * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
28193         * sysdeps/sparc/nptl/sem_wait.c: Likewise.
28194         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
28195         * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
28196         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
28197         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
28199 2014-07-09  Andreas Schwab  <schwab@suse.de>
28201         * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
28202         output.
28203         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
28204         (do_test): Likewise.
28206         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
28208 2014-07-09  Will Newton  <will.newton@linaro.org>
28210         * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
28211         * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
28212         * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
28213         * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
28214         * sysdeps/hppa/start.S (_start): Likewise.
28216 2014-07-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
28218         * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
28220         * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
28221         defined.
28223 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
28225         * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
28226         after checking that it is non-NULL.
28228         * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
28230 2014-07-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28232         * sysdeps/powerpc/memmove.c: Remove file.
28233         * sysdeps/powerpc/powerpc32/power4/memcopy.h
28234         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
28235         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
28236         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
28237         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
28238         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
28239         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
28240         string memmove instead of removed powerpc one.
28242         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
28243         [weak_alias]: Fix compiler warning due trailing data.
28244         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
28245         [weak_alias]: Likewise.
28246         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
28247         warnigs due missing definition of __strcpy_power7 and __strlen_power7.
28249         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
28250         (__libc_ifunc_impl_list): Add memmove functions.
28252 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
28254         * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
28255         Remove code.
28256         * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
28257         Likewise.
28258         * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
28259         Likewise.
28260         * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
28261         Likewise.
28262         * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
28263         Likewise.
28264         * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
28265         Likewise.
28266         * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
28267         Likewise.
28268         * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
28269         Likewise.
28270         * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
28271         Likewise.
28272         * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
28273         Likewise.
28274         * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
28275         Likewise.
28276         * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
28277         Likewise.
28278         * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
28279         Likewise.
28280         * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
28281         Likewise.
28282         * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
28283         Likewise.
28284         * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
28285         Likewise.
28286         * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
28287         Likewise.
28289 2014-07-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28291         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
28292         to avoid alignment traps in non-cacheable memory.
28293         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
28295         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
28296         multiarch objects.
28297         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
28298         file: multiarch power7 memmove.
28299         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
28300         multiarch default memmove.
28301         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
28302         multiarch memove for powerpc32/power4.
28304         * string/bcopy.c: Use full path to include memmove.c.
28305         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
28306         multiarch objects.
28307         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
28308         bcopy for powerpc64.
28309         * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
28310         bcopy for powerpc64.
28311         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
28312         and memmove implementations.
28313         * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
28314         optimized multiarch memmove for POWER7/powerpc64.
28315         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
28316         default multiarch memmove for powerpc64.
28317         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
28318         multiarch for powerpc64.
28319         * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
28320         for POWER7/powerpc64.
28321         * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
28322         memmove for POWER7/powerpc64.
28324         * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
28325         glibc default one.
28327         * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
28328         __ELF_NATIVE_CLASS equal to 64.
28330 2014-07-07  Roland McGrath  <roland@hack.frob.com>
28332         * sysdeps/nptl/lowlevellock.h: File removed.
28334         * NEWS: NPTL is no longer an add-on!
28335         * nptl/internaltypes.h: Moved ...
28336         * sysdeps/nptl/internaltypes.h: ... here.
28337         * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
28338         * sysdeps/nptl/fork.c: Likewise.
28339         * sysdeps/nptl/gai_misc.h: Likewise.
28340         * sysdeps/nptl/librt-cancellation.c: Likewise.
28341         * sysdeps/nptl/jmp-unwind.c: Likewise.
28342         * sysdeps/nptl/setxid.h: Likewise.
28343         * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
28344         * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
28345         * sysdeps/unix/sysv/linux/arm/Implies: New file.
28346         * sysdeps/unix/sysv/linux/hppa/Implies: New file.
28347         * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
28348         * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
28349         * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
28350         * sysdeps/unix/sysv/linux/m68k/Implies: New file.
28351         * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
28352         * sysdeps/unix/sysv/linux/mips/Implies: New file.
28353         * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
28354         * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
28355         * sysdeps/unix/sysv/linux/sh/Implies: New file.
28356         * sysdeps/unix/sysv/linux/sparc/Implies: New file.
28357         * sysdeps/unix/sysv/linux/tile/Implies: New file.
28358         * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
28359         * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
28360         * nptl/Makeconfig: Moved ...
28361         * sysdeps/nptl/Makeconfig: ... here.
28362         * nptl/configure: File removed.
28363         * nptl/ANNOUNCE: File removed.
28364         * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
28365         * sysdeps/unix/sysv/linux/configure: Regenerated.
28367         * nptl/Makefile (routines): Add libc_pthread_init,
28368         libc_multiple_threads, register-atfork and unregister-atfork.
28369         (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
28370         (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
28371         lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
28372         pthread-pi-defines.sym, structsem.sym.
28373         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
28374         (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
28375         [$(subdir) = nptl] (tests): Add tst-setgetname.
28376         * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
28377         * sysdeps/unix/sysv/linux/sigaction.c: Just include
28378         <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
28379         [!LIBC_SIGACTION]: Remove aliases.
28380         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
28381         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
28382         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
28383         * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
28384         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
28385         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
28386         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
28387         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
28388         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
28389         * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
28390         (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
28391         __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
28392         __libc_allocate_rtsig_private.
28393         * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
28394         * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
28395         * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
28396         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
28397         * sysdeps/unix/sysv/linux/sleep.c: Likewise.
28398         * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
28399         * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
28400         * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
28401         * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
28402         * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
28403         * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
28404         * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
28405         * nptl/internaltypes.h: ... here.
28406         * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
28407         * sysdeps/nptl/jmp-unwind.c: ... here.
28408         * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
28409         * nptl/libc-lowlevellock.c: ... here.
28410         * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
28411         * nptl/libc_multiple_threads.c: ... here.
28412         * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
28413         * nptl/libc_pthread_init.c: ... here.
28414         * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
28415         * nptl/lowlevelbarrier.sym: ... here.
28416         * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
28417         * nptl/lowlevelcond.sym: ... here.
28418         * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
28419         * nptl/lowlevellock.c: ... here.
28420         * nptl/lowlevellock.h: Moved ...
28421         * sysdeps/nptl/lowlevellock.h: ... here.
28422         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
28423         * nptl/lowlevelrobustlock.c: ... here.
28424         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
28425         * nptl/lowlevelrobustlock.sym: ... here.
28426         * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
28427         * nptl/lowlevelrwlock.sym: ... here.
28428         * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
28429         * nptl/pt-fork.c: ... here.
28430         * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
28431         * nptl/pthread-pi-defines.sym: ... here.
28432         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
28433         * nptl/pthread_attr_getaffinity.c: ... here.
28434         * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
28435         * nptl/pthread_attr_setaffinity.c: ... here.
28436         * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
28437         * nptl/pthread_mutex_cond_lock.c: ... here.
28438         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
28439         Update #include.
28440         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
28441         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
28442         * nptl/pthread_once.c: ... here, replacing old file.
28443         * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
28444         * nptl/pthread_yield.c: ... here.
28445         * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
28446         * nptl/register-atfork.c: ... here.
28447         * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
28448         * nptl/sem_post.c: ... here.
28449         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
28450         * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
28451         * nptl/sem_timedwait.c: ... here.
28452         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
28453         * nptl/sem_trywait.c: ... here.
28454         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
28455         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
28456         * nptl/sem_wait.c: ... here.
28457         * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
28458         * nptl/structsem.sym: ... here.
28459         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
28460         * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
28461         * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
28462         * nptl/unregister-atfork.c: ... here.
28463         * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
28464         * nptl/unwindbuf.sym: ... here.
28465         * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
28466         * sysdeps/nptl/fork.c: ... here.
28467         * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
28468         * sysdeps/nptl/fork.h: ... here.
28469         * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
28470         * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
28471         * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
28472         * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
28473         * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
28474         * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
28475         * sysdeps/unix/sysv/linux/getpid.c: ... here.
28476         * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
28477         * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
28478         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
28479         * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
28480         * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
28481         * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
28482         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
28483         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
28484         * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
28485         * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
28486         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
28487         * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
28488         * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
28489         * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
28490         * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
28491         * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
28492         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
28493         * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
28494         * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
28495         * sysdeps/unix/sysv/linux/raise.c: ... here.
28496         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
28497         * sysdeps/unix/sysv/linux/timer_create.c: ... here.
28498         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
28499         * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
28500         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
28501         * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
28502         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
28503         * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
28504         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
28505         * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
28506         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
28507         * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
28508         * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
28509         * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
28510         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
28512 2014-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
28514         * sysdeps/generic/memcopy.h: Add comment for
28515         MEMCPY_OK_FOR_FWD_MEMMOVE.
28517 2014-07-04  Will Newton  <will.newton@linaro.org>
28519         * string/memchr.c: Merge from gnulib.
28520         [_LIBC]: Remove conditionals.
28521         (__ptr_t): Remove define.
28522         (LONG_MAX_32_BITS): Likewise.
28523         (LONG_MAX): Likewise.
28524         (MEMCHR): Use ANSI prototype and optimize algorithm.
28526         * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
28528 2014-07-03  Roland McGrath  <roland@hack.frob.com>
28530         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
28531         (lll_futex_timed_wait_bitset): Fix syscall argument count.
28533         * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
28534         Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
28535         in a bare environment with no <stdlib.h> installed.
28536         * sysdeps/nptl/configure: Regenerated.
28538         * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
28540         * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
28541         AC_EGREP_CPP for kernel header checks, so they only succeed if
28542         including <linux/version.h> actually works right.
28543         * sysdeps/unix/sysv/linux/configure: Regenerated.
28545         * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
28546         value so it's not diagnosed as unused.
28548         * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
28549         thing) with "ifeq ($(subdir),rt)".
28551 2014-07-03  Richard Henderson  <rth@redhat.com>
28553         * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
28554         * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
28555         include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
28557         * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
28558         (math_force_eval): New.
28560         * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
28561         * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
28563         * sysdeps/alpha/fpu/s_round.c: Remove file.
28564         * sysdeps/alpha/fpu/s_roundf.c: Remove file.
28566         * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
28567         (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
28568         * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
28569         (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
28570         (_dl_start, print_statistics): Likewise.
28571         * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
28572         HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
28574         * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
28575         * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
28576         * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
28577         * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
28578         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
28579         (HP_SMALL_TIMING_AVAIL): Define.
28580         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
28581         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
28582         (HP_SMALL_TIMING_AVAIL): Define.
28583         * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
28584         * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
28586         * sysdeps/aarch64/hp-timing.h: New file.
28588         * sysdeps/generic/hp-timing.h: Remove dead comment.
28589         * sysdeps/generic/hp-timing-common.h: New file.
28590         * sysdeps/alpha/hp-timing.h: Include it.
28591         (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
28592         * sysdeps/i386/i686/hp-timing.h: Likewise.
28593         * sysdeps/ia64/hp-timing.h: Likewise.
28594         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
28595         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
28596         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
28597         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
28598         * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
28599         (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
28600         (hp_timing_t): New.
28602         * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
28603         * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
28604         (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
28605         * elf/rtld.c (_dl_start_final): Likewise.
28606         * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
28607         * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
28608         * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
28609         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
28610         * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
28611         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
28612         (HP_TIMING_DIFF_INIT): Remove.
28613         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
28614         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
28615         (HP_TIMING_DIFF_INIT): Remove.
28616         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
28617         * sysdeps/i386/i686/hp-timing.c: Remove file.
28618         * sysdeps/x86_64/hp-timing.c: Remove file.
28619         * sysdeps/ia64/hp-timing.c: Remove file.
28620         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
28621         * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
28622         * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
28623         * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
28625         * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
28626         * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
28627         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
28628         * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
28629         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
28630         (HP_TIMING_ACCUM): Remove.
28631         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
28632         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
28633         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
28635         * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
28636         * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
28637         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
28638         * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
28639         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
28640         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
28641         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
28642         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
28644         * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
28646 2014-07-03  Maciej W. Rozycki  <macro@codesourcery.com>
28648         * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
28650 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
28652         Sync up with gettext.
28653         * intl/loadmsgcat.c: Define O_BINARY if not defined.
28654         [_MSC_VER]: Include malloc.h
28655         [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
28656         (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
28657         (_nl_load_domain): Open DOMAIN_FILE in binary mode.  Don't use
28658         TEMP_FAILURE_RETRY.  Cast return of alloca.
28659         [!_LIBC] Call gl_rwlock_init.
28660         [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
28662 2014-07-02  Roland McGrath  <roland@hack.frob.com>
28664         * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
28665         before checking its value.
28667 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
28669         * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
28671         * debug/memcpy_chk.c: Don't include pagecopy.h.
28672         * debug/mempcpy_chk.c: Likewise.
28673         * string/memcpy.c: Likewise.
28674         * string/memmove.c: Likewise.
28675         * sysdeps/powerpc/memmove.c: Likewise.
28676         * sysdeps/generic/memcopy.h: Include pagecopy.h.  Move
28677         definition of PAGE_COPY_FWD_MAYBE here...
28678         * sysdeps/generic/pagecopy.h: ... from here.
28679         * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
28681 2014-07-02  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
28682             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28684         * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
28685         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
28686         optimizations.
28687         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
28688         (__libc_ifunc_impl_list): Likewise.
28689         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
28690         multiarch strcat for PPC64.
28691         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
28692         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
28694 2014-07-02  Roland McGrath  <roland@hack.frob.com>
28696         * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
28698 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
28700         * intl/loadmsgcat.c: Remove declaration of
28701         get_sysdep_segment_value.
28702         (get_sysdep_segment_value): Use ISO C style.
28703         (_nl_load_domain): Use ISO C style.  Get rid of redundant
28704         semicolon.  Fix typo and formatting in comment.
28705         (_nl_unload_domain): Use ISO C style.
28707         * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
28709 2014-07-02  Will Newton  <will.newton@linaro.org>
28711         * malloc/obstack.c: Merge from gnulib master.
28712         [HAVE_CONFIG_H]: Remove conditional code.
28713         [!_LIBC]: Include config.h.
28714         [!ELIDE_CODE]: Don't include inttypes.h, include
28715         stdint.h unconditionally.
28716         (print_and_abort): Mark as _Noreturn.
28717         (_obstack_allocated_p): Mark as __attribute_pure__.
28718         (obstack_free): Rename to __obstack_free.
28719         [!__attribute__]: Remove conditional code.
28720         * malloc/obstack.h: Merge from gnulib master.
28721         [__cplusplus]: Move conditional down.
28722         [!__attribute_pure__]: Define __attribute_pure__ here
28723         if it is not already defined.
28724         (_obstack_memory_used): Mark as __attribute_pure__.
28725         [!__obstack_free]: Define as obstack_free.
28726         [__GNUC__]: Remove check for ancient NeXT gcc.
28728 2014-07-02  Will Newton  <will.newton@linaro.org>
28729             Paul Eggert  <eggert@cs.ucla.edu>
28731         * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
28733 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
28735         * resolv/gethnamaddr.c: Add comment warning that the file is
28736         not maintained.
28738 2014-07-01  Carlos O'Donell  <carlos@redhat.com>
28740         * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
28741         entries.
28743         * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
28744         entry for aio_cancel and aio_cancel64.
28745         * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
28746         * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
28747         * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
28748         * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
28749         * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
28750         * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
28751         * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
28752         * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
28753         * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
28754         * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
28755         * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
28756         * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
28757         * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
28759 2014-07-01  Roland McGrath  <roland@hack.frob.com>
28761         * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
28762         * nptl/pthread_mutex_lock.c: Likewise.
28763         * nptl/pthread_mutex_timedlock.c: Likewise.
28764         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
28766 2014-07-01  Richard henderson  <rth@redhat.com>
28768         * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
28769         (__isnan, __isnanl): Remove.
28770         * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
28772         * sysdeps/alpha/fpu/libm-test-ulps: Update.
28774 2014-07-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
28776         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
28778 2014-07-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
28780         * resolv/nss_dns/dns-host.c (getanswer_r)
28781         [MULTI_PTRS_ARE_ALIASES]: Remove code.
28783 2014-07-01  Joseph Myers  <joseph@codesourcery.com>
28785         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
28786         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
28787         undefine.
28788         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
28789         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
28791 2014-07-01  Roland McGrath <roland@hack.frob.com>
28793         * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
28794         * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
28796         * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
28797         * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
28799         * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
28800         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
28801         ... here.
28802         * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
28803         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
28805         * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
28806         * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
28807         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
28808         * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
28810         * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
28811         * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
28812         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
28813         * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
28814         * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
28815         Moved ...
28816         * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
28817         ... here.
28818         * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
28819         * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
28820         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
28821         * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
28822         * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
28823         * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
28824         * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
28825         * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
28826         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
28827         * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
28828         * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
28829         * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
28830         * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
28831         * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
28832         * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
28833         * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
28834         * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
28835         * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
28836         * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
28837         * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
28838         ... here.
28839         * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
28840         * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
28841         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
28842         * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
28843         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
28844         * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
28845         * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
28846         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
28848 2014-07-01  David Holsgrove  <david.holsgrove@xilinx.com>
28850         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
28851         * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
28852         * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
28853         Add sysdep.
28855 2014-06-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28857         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28859 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
28861         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
28862         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
28864         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
28866         * sysdeps/arm/libm-test-ulps: Regenerated.
28868 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
28869             Roland McGrath <roland@hack.frob.com>
28871         * test-skeleton.c (signal_handler): Kill the whole process group
28872         before killing the child individually.
28873         (main): Report any failure on `setpgid'.
28875 2014-06-30  Roland McGrath  <roland@hack.frob.com>
28877         * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
28878         from _TLS_H to _ARM_NPTL_TLS_H.
28879         (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
28880         * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
28882 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
28884         [BZ #16539]
28885         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
28886         (__expm1l): Return argument unchanged when small but not
28887         subnormal.
28889         * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
28890         include macro name.
28891         (_FP_UNPACK_RAW_1_P): Likewise.
28892         (_FP_PACK_RAW_1): Likewise.
28893         (_FP_PACK_RAW_1_P): Likewise.
28894         (_FP_MUL_MEAT_1_wide): Likewise.
28895         (_FP_MUL_MEAT_DW_1_hard): Likewise.
28896         (_FP_MUL_MEAT_1_hard): Likewise.
28897         (_FP_DIV_MEAT_1_imm): Likewise.
28898         (_FP_DIV_MEAT_1_udiv_norm): Likewise.
28899         (_FP_DIV_MEAT_1_udiv): Likewise.
28900         * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
28901         (_FP_UNPACK_RAW_2): Likewise.
28902         (_FP_UNPACK_RAW_2_P): Likewise.
28903         (_FP_PACK_RAW_2): Likewise.
28904         (_FP_PACK_RAW_2_P): Likewise.
28905         (_FP_MUL_MEAT_DW_2_wide): Likewise.
28906         (_FP_MUL_MEAT_2_wide): Likewise.
28907         (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
28908         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
28909         (_FP_MUL_MEAT_DW_2_gmp): Likewise.
28910         (_FP_MUL_MEAT_2_gmp): Likewise.
28911         (_FP_DIV_MEAT_2_udiv): Likewise.
28912         * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
28913         (_FP_FRAC_SRL_4): Likewise.
28914         (_FP_FRAC_SRST_4): Likewise.
28915         (_FP_FRAC_SRS_4): Likewise.
28916         (_FP_UNPACK_RAW_4): Likewise.
28917         (_FP_UNPACK_RAW_4_P): Likewise.
28918         (_FP_PACK_RAW_4): Likewise.
28919         (_FP_PACK_RAW_4_P): Likewise.
28920         (_FP_MUL_MEAT_DW_4_wide): Likewise.
28921         (_FP_MUL_MEAT_4_wide): Likewise.
28922         (_FP_MUL_MEAT_4_gmp): Likewise.
28923         (umul_ppppmnnn): Likewise.
28924         (_FP_DIV_MEAT_4_udiv): Likewise.
28925         (__FP_FRAC_ADD_4): Likewise.
28926         (__FP_FRAC_SUB_3): Likewise.
28927         (__FP_FRAC_SUB_4): Likewise.
28928         (__FP_FRAC_DEC_3): Likewise.
28929         (__FP_FRAC_DEC_4): Likewise.
28930         (__FP_FRAC_ADDI_4): Likewise.
28931         * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
28932         (_FP_FRAC_SRL_8): Likewise.
28933         (_FP_FRAC_SRS_8): Likewise.
28935         * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
28936         include macro name.
28937         (FP_UNPACK_RAW_EP): Likewise.
28938         (FP_PACK_RAW_E): Likewise.
28939         (FP_PACK_RAW_EP): Likewise.
28940         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
28941         (_FP_ISSIGNAN): Likewise.
28942         (_FP_ADD_INTERNAL): Likewise.
28943         (_FP_FMA): Likewise.
28944         (_FP_CMP): Likewise.
28945         (_FP_SQRT): Likewise.
28946         (_FP_TO_INT): Likewise.
28947         (_FP_FROM_INT): Likewise.
28948         (FP_EXTEND): Likewise.
28949         (_FP_DIV_MEAT_N_loop): Likewise.
28951 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
28953         * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
28954         throughout.
28956 2014-06-29  Joseph Myers  <joseph@codesourcery.com>
28958         [BZ #17097]
28959         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
28960         result with correct sign in case of exponents that produce
28961         overflow except for X very close to 1.
28963 2014-06-28  Paul Eggert  <eggert@cs.ucla.edu>
28965         mktime: merge #if/#ifdef usage from glibc
28966         * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
28967         as that works with both Glibc's and Gnulib's style.
28968         See thread starting at Siddhesh Poyarekar's bug report at:
28969         http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
28971 2014-06-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
28973         * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
28974         * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
28975         * sysdeps/tile/tilegx/memmove.c: Remove file.
28977 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
28979         * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
28980         abi-name definition.
28981         * scripts/soversions.awk: Do not handle or generate ABI lines.
28982         * shlib-versions: Remove ABI entries.
28983         * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
28984         * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
28986 2014-06-27  Roland McGrath  <roland@hack.frob.com>
28988         * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
28989         * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
28990         * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
28991         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
28992         * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
28993         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
28994         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
28995         Moved ...
28996         * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
28997         ... here.
28998         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
28999         * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
29000         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
29001         * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
29002         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
29003         * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
29004         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
29005         * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
29006         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
29007         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
29008         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
29009         * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
29010         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
29011         Moved ...
29012         * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
29013         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
29014         * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
29015         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
29016         * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
29017         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
29018         Moved ...
29019         * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
29020         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
29021         Moved ...
29022         * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
29023         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
29024         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
29025         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
29026         Moved ...
29027         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
29028         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
29029         * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
29030         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
29031         * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
29032         * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
29033         * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
29034         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
29035         Moved ...
29036         * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
29037         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
29038         * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
29039         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
29040         Moved ...
29041         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
29042         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
29043         Moved ...
29044         * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
29045         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
29046         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
29047         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
29048         Moved ...
29049         * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
29050         ... here.
29051         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
29052         Identical file removed.
29053         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
29054         Moved ...
29055         * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
29056         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
29057         Identical file removed.
29058         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
29059         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
29060         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
29061         Moved ...
29062         * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
29063         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
29064         Identical file removed.
29065         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
29066         * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
29067         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
29068         Identical file removed.
29069         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
29070         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
29071         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
29072         Identical file removed.
29073         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
29074         * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
29075         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
29076         Identical file removed.
29077         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
29078         Moved ...
29079         * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
29080         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
29081         Identical file removed.
29082         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
29083         Moved ...
29084         * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
29085         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
29086         * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
29087         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
29088         Identical file removed.
29089         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
29090         Moved ...
29091         * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
29092         ... here.
29093         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
29094         Identical file removed.
29095         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
29096         Moved ...
29097         * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
29098         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
29099         Identical file removed.
29100         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
29101         Moved ...
29102         * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
29103         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
29104         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
29105         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
29106         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
29107         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
29108         Moved ...
29109         * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
29110         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
29111         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
29113         * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
29114         SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
29115         * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
29116         * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
29117         * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
29119 2014-06-27  Arjun Shankar  <arjun.is@lostca.se>
29121         [BZ #17092]
29122         * nscd/nscd.c (monitor_child): Return exit status of child
29123         instead of return value from wait syscall.
29125 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
29127         * configure.ac (libc_commonpagesize): Remove variable.
29128         (libc_relro_required): Likewise.
29129         (libc_cv_z_relro): Remove configure test.
29130         * configure: Regenerated.
29131         * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
29132         variable.
29133         (libc_relro_required): Likewise.
29134         * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
29135         (libc_relro_required): Likewise.
29136         * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
29137         (libc_relro_required): Likewise.
29138         * sysdeps/arm/preconfigure: Regenerated.
29139         * sysdeps/ia64/preconfigure: Remove file.
29140         * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
29141         variable.
29142         (libc_relro_required): Likewise.
29144         [BZ #16561]
29145         [BZ #16562]
29146         * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
29147         (__ieee754_yn): Set FE_TONEAREST mode internally and then
29148         recompute overflowing results in original rounding mode.
29149         * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
29150         (__ieee754_ynf): Set FE_TONEAREST mode internally and then
29151         recompute overflowing results in original rounding mode.
29152         * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
29153         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
29154         recompute overflowing results in original rounding mode.
29155         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
29156         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
29157         recompute overflowing results in original rounding mode.
29158         * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
29159         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
29160         recompute overflowing results in original rounding mode.
29161         * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
29162         (libc_feholdsetround_ctx): New macro.
29163         * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
29164         * sysdeps/i386/fpu/libm-test-ulps: Update.
29165         * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
29167 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
29169         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
29170         [__PIC__] (PSEUDO): Use name of _nocancel entry point in
29171         corresponding .cpsetup call.
29173 2014-06-26  Roland McGrath  <roland@hack.frob.com>
29175         * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
29176         * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
29177         * sysdeps/arm/Makefile [$(subdir) = csu]
29178         (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
29179         (static-only-routines): Add aeabi_read_tp here.
29180         (shared-only-routines): Add libc-aeabi_read_tp here.
29181         (CFLAGS-libc-start.c): Add -fexceptions here.
29182         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
29183         (sysdep_routines, static-only-routines, shared-only-routines):
29184         Don't add to these here.
29185         (CFLAGS-libc-start.c): Likewise.
29187         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
29188         * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
29189         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
29190         * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
29191         * sysdeps/arm/Makefile [$(subdir) = rt]
29192         (librt-sysdep_routines, librt-shared-only-routines):
29193         Append rt-aeabi_unwind_cpp_pr1 here.
29194         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
29195         (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
29196         * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
29197         (libpthread-sysdep_routines, libpthread-shared-only-routines):
29198         Append nptl-aeabi_unwind_cpp_pr1 here.
29199         (tests): Filter out tst-cleanupx4 here.
29200         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
29201         (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
29202         Don't do those here.
29204 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
29206         * scripts/list-sources.sh: Do not handle ports specially.
29208 2014-06-26  Roland McGrath  <roland@hack.frob.com>
29210         * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
29211         * sysdeps/arm/feupdateenv.c: Likewise.
29213         * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
29215 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
29217         * manual/texinfo.tex: Update to version 2014-05-05.10 with
29218         trailing whitespace removed.
29219         * scripts/config.guess: Update to version 2014-03-23.
29220         * scripts/config.sub: Update to version 2014-05-01
29221         * scripts/install-sh: Update to version 2013-12-25.23.
29222         * scripts/move-if-change: Update from gnulib.
29224 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
29226         * debug/memmove_chk.c: Remove pagecopy.h include.
29228 2014-06-26  Paul Eggert  <eggert@cs.ucla.edu>
29230         * time/mktime.c (leapyear): Remove inline keyword.  The code is now
29231         identical to gnulib mktime.
29233 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
29235         * configure.ac: Do not test for machine being rs6000.  Do not test
29236         for powerpc*-*soft.
29237         * configure: Regenerated.
29239         [BZ #11505]
29240         * configure.ac (libc_cv_asm_cfi_directives): Remove configure
29241         test.
29242         * configure: Regenerated.
29243         * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
29244         * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
29245         Remove configure test.
29246         * sysdeps/arm/configure: Regenerated.
29247         * sysdeps/nptl/configure.ac: Do not check
29248         libc_cv_asm_cfi_directives.
29249         * sysdeps/nptl/configure: Regenerated.
29250         * sysdeps/x86_64/nptl/configure.ac: Remove file.
29251         * sysdeps/x86_64/nptl/configure: Remove generated file.
29252         * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
29253         unconditional.
29254         [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
29256 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
29258         * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
29259         * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
29260         (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
29261         it is defined.
29263         * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
29264         instead of whether it is defined.
29265         * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
29266         * sysdeps/hppa/dl-machine.h: Likewise.
29267         * sysdeps/ia64/dl-machine.h: Likewise.
29268         * sysdeps/m68k/dl-machine.h: Likewise.
29269         * sysdeps/microblaze/dl-machine.h: Likewise.
29270         * sysdeps/mips/dl-machine.: Likewise.
29271         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
29272         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
29273         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
29274         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
29275         * sysdeps/sh/dl-machine.h: Likewise.
29276         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
29277         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
29278         * sysdeps/tile/dl-machine.h: Likewise.
29279         * sysdeps/x86_64/dl-machine.h: Likewise.
29281         * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
29282         code.
29283         (verify_persistent_db): Likewise.
29285 2014-06-26  Roland McGrath  <roland@hack.frob.com>
29287         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
29288         * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
29289         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
29290         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
29291         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
29292         Moved ...
29293         * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
29294         ... here.
29295         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
29296         * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
29297         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
29298         Identical file removed.
29299         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
29300         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
29301         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
29302         * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
29303         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
29304         * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
29305         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
29306         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
29307         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
29308         * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
29309         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
29310         Moved ...
29311         * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
29312         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
29313         * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
29314         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
29315         * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
29316         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
29317         Moved ...
29318         * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
29319         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
29320         * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
29321         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
29322         * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
29323         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
29324         Identical file removed.
29325         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
29326         * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
29327         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
29328         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
29329         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
29330         Moved ...
29331         * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
29332         ... here.
29333         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
29334         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
29335         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
29336         * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
29337         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
29338         * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
29339         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
29340         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
29341         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
29342         * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
29343         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
29344         Moved ...
29345         * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
29346         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
29347         Moved ...
29348         * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
29349         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
29350         * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
29351         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
29352         Moved ...
29353         * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
29354         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
29355         * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
29357         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
29358         folded into ...
29359         * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
29360         * sysdeps/unix/sysv/linux/s390/Versions
29361         (libpthread: GLIBC_2.19): New version set.
29362         * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
29363         * sysdeps/unix/sysv/linux/s390/s390-64/Versions
29364         (librt: GLIBC_2.3.3): New version set.
29365         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
29366         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
29367         * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
29368         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
29369         * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
29370         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
29371         * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
29372         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
29373         * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
29374         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
29375         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
29376         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
29377         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
29378         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
29379         * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
29380         * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
29381         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
29382         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
29383         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
29384         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
29385         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
29386         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
29387         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
29388         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
29389         * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
29390         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
29391         * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
29392         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
29393         * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
29394         * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
29395         * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
29396         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
29397         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
29398         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
29399         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
29400         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
29401         * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
29402         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
29403         * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
29404         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
29405         * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
29406         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
29407         * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
29408         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
29409         * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
29411         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
29412         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
29413         (__libc_vfork): Define the function under this name.
29414         [!NOT_IN_libc] (__vfork): Make this an alias.
29415         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
29416         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
29417         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
29418         (__libc_vfork): Define the function under this name.
29419         [!NOT_IN_libc] (__vfork): Make this an alias.
29420         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
29421         * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
29422         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
29423         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
29424         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
29425         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
29427         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
29428         code that was previously under [RESET_PID].
29429         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
29430         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
29431         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
29433         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
29434         * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
29435         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
29436         * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
29437         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
29438         * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
29439         * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
29440         * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
29441         * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
29442         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
29443         * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
29444         Moved ...
29445         * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
29446         * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
29447         * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
29448         * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
29449         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
29450         * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
29451         * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
29452         * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
29453         * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
29454         * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
29455         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
29456         * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
29457         * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
29458         * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
29459         * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
29460         * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
29461         * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
29462         * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
29463         * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
29464         * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
29465         * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
29466         * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
29467         * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
29468         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
29469         * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
29470         * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
29471         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
29472         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
29473         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
29475 2014-06-25  Roland McGrath  <roland@hack.frob.com>
29477         * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
29478         that was previously under [RESET_PID].
29479         * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
29481 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
29483         * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
29484         not undefine and redefine.
29485         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
29486         [O_CLOEXEC]: Make code unconditional.
29487         (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
29488         * sysdeps/unix/sysv/linux/shm_open.c: Do not include
29489         <kernel-features.h>.
29490         [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
29491         conditional variable definition.
29492         (shm_open) [O_CLOEXEC]: Make code unconditional.
29493         (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
29494         code.
29496         * configure.ac (USE_REGPARMS): Don't define here.
29497         * configure: Regenerated.
29498         * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
29499         * sysdeps/i386/configure: Regenerated.
29501         * nptl/createthread.c: Don't include kernel-features.h.
29502         * nptl/pthread_cancel.c: Likewise.
29503         * nptl/pthread_condattr_setclock.c: Likewise.
29504         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
29505         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
29506         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
29507         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
29508         * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
29509         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
29510         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
29511         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
29512         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
29513         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
29514         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
29515         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
29516         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
29517         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
29518         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
29519         * nscd/gai.c: Likewise.
29520         * nss/nss_db/db-open.c: Likewise.
29521         * sysdeps/generic/ldsodefs.h: Likewise.
29522         * sysdeps/sh/nptl/tls.h: Likewise.
29523         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
29524         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
29525         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
29526         * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
29527         * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
29528         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
29529         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
29530         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
29531         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
29532         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
29533         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
29534         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
29535         * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
29536         * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
29537         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
29538         * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
29539         * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
29540         * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
29541         * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
29542         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
29543         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
29544         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
29545         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
29546         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
29547         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
29548         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
29549         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
29550         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
29551         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
29552         * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
29553         * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
29554         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
29555         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
29556         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
29557         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
29558         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
29559         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
29560         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
29561         * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
29562         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
29563         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
29564         * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
29565         * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
29566         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
29567         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
29568         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
29569         * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
29570         * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
29571         * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
29572         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
29573         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
29574         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
29575         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
29576         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
29577         * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
29578         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
29579         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
29580         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
29581         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
29582         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
29583         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
29584         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
29585         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
29586         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
29587         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
29588         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
29589         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
29590         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
29591         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
29592         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
29593         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
29594         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
29595         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
29596         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
29597         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
29598         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
29599         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
29600         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
29601         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
29602         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
29603         * sysdeps/unix/sysv/linux/pread.c: Likewise.
29604         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
29605         * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
29606         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
29607         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
29608         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
29609         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
29610         * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
29611         * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
29612         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
29613         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
29614         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
29615         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
29616         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
29617         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
29618         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
29619         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
29620         * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
29621         * sysdeps/unix/sysv/linux/syslog.c: Likewise.
29622         * sysdeps/unix/sysv/linux/system.c: Likewise.
29623         * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
29624         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
29625         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
29626         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
29627         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
29628         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
29629         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
29631         * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
29632         * configure: Regenerated.
29633         * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
29635         * configure.ac (base_machine): Do not set specially for particular
29636         machines here.
29637         * configure: Regenerated.
29638         * sysdeps/powerpc/preconfigure: Move machine and base_machine
29639         settings from configure.ac.
29640         * sysdeps/i386/preconfigure: New file.
29641         * sysdeps/s390/preconfigure: Likewise.
29642         * sysdeps/sh/preconfigure: Likewise.
29643         * sysdeps/sparc/preconfigure: Likewise.
29645 2014-06-25  Roland McGrath  <roland@hack.frob.com>
29647         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
29648         * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
29649         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
29650         * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
29651         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
29652         * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
29653         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
29654         * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
29655         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
29656         * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
29657         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
29658         * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
29659         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
29660         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
29661         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
29662         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
29663         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
29664         * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
29665         * sysdeps/sparc/sparc64/Makefile: ... appended here.
29667         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
29668         * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
29669         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
29670         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
29671         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
29672         * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
29673         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
29674         * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
29675         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
29676         * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
29677         * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
29678         * sysdeps/sparc/sparc32/sem_post.c: ... here.
29679         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
29680         * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
29681         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
29682         * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
29683         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
29684         * sysdeps/sparc/sparc32/sem_wait.c: ... here.
29685         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
29686         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
29687         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
29688         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
29689         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
29690         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
29691         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
29692         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
29693         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
29694         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
29695         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
29696         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
29697         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
29698         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
29699         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
29700         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
29701         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
29702         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
29703         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
29704         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
29706         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
29707         * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
29708         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
29709         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
29710         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
29711         Moved ...
29712         * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
29713         ... here.
29714         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
29715         * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
29716         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
29717         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
29718         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
29719         Moved ...
29720         * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
29721         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
29722         * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
29723         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
29724         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
29725         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
29726         * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
29727         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
29728         Moved ...
29729         * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
29730         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
29731         Moved ...
29732         * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
29733         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
29734         * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
29735         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
29736         Moved ...
29737         * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
29738         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
29739         * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
29740         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
29741         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
29742         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
29743         * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
29744         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
29745         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
29746         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
29747         Moved ...
29748         * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
29749         ... here.
29750         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
29751         * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
29752         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
29753         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
29754         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
29755         Moved ...
29756         * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
29757         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
29758         * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
29759         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
29760         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
29761         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
29762         * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
29763         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
29764         Moved ...
29765         * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
29766         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
29767         Moved ...
29768         * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
29769         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
29770         * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
29771         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
29772         Moved ...
29773         * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
29774         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
29775         * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
29776         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
29777         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
29779 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
29781         * timezone/checktab.awk: Update from tzcode 2014e.
29782         * timezone/private.h: Likewise.
29783         * timezone/tzfile.h: Likewise.
29784         * timezone/zdump.c: Likewise.
29785         * timezone/zic.c: Likewise.
29787         * sysdeps/unix/sysv/linux/kernel-features.h
29788         (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
29789         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
29790         [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
29791         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
29792         Remove conditional code.
29794 2014-06-25  Will Newton  <will.newton@linaro.org>
29796         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
29797         (_dl_arm_cap_flags): Add HWCAP2 values.
29798         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
29799         (_DL_HWCAP_COUNT): Increase to 37.
29800         (_DL_HWCAP_LAST): New define.
29801         (_DL_HWCAP2_LAST): New define.
29802         (_dl_procinfo): Add support for printing
29803         AT_HWCAP2 entries.
29804         (_dl_string_hwcap): Use _dl_hwcap_string.
29806 2014-06-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29808         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29810 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
29812         * README: Do not mention ports directory.
29814         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
29815         Remove macro.
29816         * sysdeps/unix/sysv/linux/futimes.c: Do not include
29817         <kernel-features.h>.
29818         [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
29819         conditional variable definition.
29820         (__futimes): Update comment.
29821         (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
29822         (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
29824         [BZ #16560]
29825         * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
29826         arguments close to 0.
29827         * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
29828         Likewise.
29829         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
29830         Likewise.
29831         * math/auto-libm-test-in: Add more tests of exp10.
29832         * math/auto-libm-test-out: Regenerated.
29833         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29835         * sysdeps/unix/sysv/linux/kernel-features.h
29836         (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
29837         * sysdeps/unix/sysv/linux/readv.c: Do not include
29838         <kernel-features.h>.
29839         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
29840         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
29841         (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
29842         unconditional.
29843         (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
29844         conditional code.
29845         * sysdeps/unix/sysv/linux/writev.c: Do not include
29846         <kernel-features.h>.
29847         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
29848         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
29849         (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
29850         unconditional.
29851         (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
29852         conditional code.
29854 2014-06-25  Will Newton  <will.newton@linaro.org>
29856         * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
29857         comment changes throughout the file.  Remove checks
29858         for HAVE_*_H definitions that are not required.
29859         (__gen_tempname): Call abort if an unknown kind value is
29860         passed.
29862 2014-06-25  Andreas Schwab  <schwab@suse.de>
29864         [BZ #17086]
29865         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
29866         scalbln, scalblnf, scalblnl in libc.
29868 2014-06-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
29870         [BZ #17086]
29871         * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
29872         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
29873         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
29875 2014-06-24  Roland McGrath  <roland@hack.frob.com>
29877         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
29878         * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
29879         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
29880         * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
29881         Update #include.
29882         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
29883         * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
29884         Update #include.
29885         * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
29886         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
29887         * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
29888         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
29889         * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
29890         * sysdeps/x86/bits/pthreadtypes.h: ... here.
29891         * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
29892         * sysdeps/x86/bits/semaphore.h: ... here.
29893         * sysdeps/x86/nptl/elide.h: Moved ...
29894         * sysdeps/x86/elide.h: ... here.
29895         * sysdeps/x86_64/nptl/Implies: File removed.
29896         * sysdeps/i386/nptl/Implies: File removed.
29898 2014-06-24  Joseph Myers  <joseph@codesourcery.com>
29900         [BZ #16539]
29901         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
29902         return the argument for normal arguments with exponent below -64.
29903         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
29904         Likewise.
29905         * math/auto-libm-test-in: Add another test of expm1.
29906         * math/auto-libm-test-out: Regenerated.
29908         [BZ #16287]
29909         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
29910         calling __erfcl for arguments at least 16.
29911         * math/auto-libm-test-in: Add more tests of erf.
29912         * math/auto-libm-test-out: Regenerated.
29914         * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
29915         individual architectures.
29916         * sysdeps/unix/sysv/linux/configure: Regenerated.
29917         * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
29918         * sysdeps/unix/sysv/linux/i386/configure: New generated file.
29919         * sysdeps/unix/sysv/linux/powerpc/configure.ac
29920         (ldd_rewrite_script): Define variable.
29921         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
29922         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
29923         file.
29924         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
29925         generated file.
29926         * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
29927         * sysdeps/unix/sysv/linux/s390/configure: New generated file.
29928         * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
29929         * sysdeps/unix/sysv/linux/sh/configure: New generated file.
29930         * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
29931         * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
29932         * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
29933         * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
29935 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
29937         [BZ #17084]
29938         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
29939         Rename member __data.d to __data.__elision_data.
29941 2014-06-24  Wilco  <wdijkstr@arm.com>
29943         * NEWS: Add 16918 to fixed bug list.
29945 2014-06-24  Wilco  <wdijkstr@arm.com>
29947         * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
29949 2014-06-24  Wilco  <wdijkstr@arm.com>
29951         * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
29952         * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
29953         (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
29954         (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
29955         (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
29956         * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
29957         * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
29958         Use _FPU_MASK_RM.
29960 2014-06-24  Wilco  <wdijkstr@arm.com>
29962         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
29964 2014-06-24  Wilco  <wdijkstr@arm.com>
29966         * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
29967         * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
29968         * sysdeps/arm/fesetround.c (fesetround): Remove space.
29969         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
29971 2014-06-24  Wilco  <wdijkstr@arm.com>
29973         [BZ #16918]
29974         * sysdeps/arm/feupdateenv.c (feupdateenv):
29975         Rewrite to reduce FPSCR accesses and fix return value.
29977 2014-06-24  Wilco  <wdijkstr@arm.com>
29979         * sysdeps/arm/fclrexcpt.c (feclearexcept):
29980         Optimize to avoid unnecessary FPSCR writes.
29981         * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
29982         * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
29983         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
29984         * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
29986 2014-06-24  Wilco  <wdijkstr@arm.com>
29988         * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
29989         * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
29990         * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
29991         * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
29992         Call libc_fetestexcept_vfp.
29993         * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
29994         * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
29995         __SOFTFP__ ifdef so that they can be built for softfp.
29997 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
29999         * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
30000         argument type signed char.
30002         * Makerules (check-abi): Dump diff of symlist if the test
30003         fails.
30005 2014-06-23  Roland McGrath  <roland@hack.frob.com>
30007         * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
30008         using abort.
30010         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
30011         Remove unused variable ST.
30013 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
30015         [BZ #16354]
30016         [BZ #17061]
30017         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
30018         small arguments before calling __expm1.
30019         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
30020         small arguments before calling __expm1f.
30021         * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
30022         small arguments before calling __expm1l.
30023         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
30024         Likewise.
30025         * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
30026         * math/auto-libm-test-in: Add more cosh tests.  Do not allow
30027         spurious underflow for some cosh tests.
30028         * math/auto-libm-test-out: Regenerated.
30029         * sysdeps/i386/fpu/libm-test-ulps: Update.
30031         [BZ #17050]
30032         * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
30033         (__ieee754_y1): Set errno if return value overflows.
30034         * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
30035         (__ieee754_y1f): Set errno if return value overflows.
30036         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
30037         (__ieee754_y1l): Set errno if return value overflows.
30038         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
30039         (__ieee754_y1l): Set errno if return value overflows.
30040         * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
30041         * math/auto-libm-test-out: Regenerated.
30043         * math/gen-auto-libm-tests.c: Document use of
30044         ignore-zero-inf-sign.
30045         (input_flag_type): Add value flag_ignore_zero_inf_sign.
30046         (input_flags): Add ignore-zero-inf-sign.
30047         (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
30048         * math/gen-libm-test.pl (generate_testfile): Handle
30049         ignore-zero-inf-sign.
30050         * math/auto-libm-test-in: Mark some cpow tests with
30051         ignore-zero-inf-sign and some with xfail-rounding.
30052         * math/auto-libm-test-out: Regenerated.
30053         * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
30054         * sysdeps/i386/fpu/libm-test-ulps: Update.
30055         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30057         [BZ #16315]
30058         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
30059         overflowing or underflowing operations take place with sign of
30060         result.
30061         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
30062         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
30063         * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
30064         (__ieee754_pow): Recompute overflowing and underflowing results in
30065         original rounding mode.
30066         * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
30067         (__powl_helper): Allow negative argument X and scale negated value
30068         as needed.  Avoid passing value outside [-1, 1] to f2xm1.
30069         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
30070         overflowing or underflowing operations take place with sign of
30071         result.
30072         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
30073         Include <math.h>.
30074         * math/auto-libm-test-in: Add more tests of pow.
30075         * math/auto-libm-test-out: Regenerated.
30076         * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
30077         (pow_tonearest_test_data): Remove.
30078         (pow_test_tonearest): Likewise.
30079         (pow_towardzero_test_data): Likewise.
30080         (pow_test_towardzero): Likewise.
30081         (pow_downward_test_data): Likewise.
30082         (pow_test_downward): Likewise.
30083         (pow_upward_test_data): Likewise.
30084         (pow_test_upward): Likewise.
30085         (main): Don't call removed functions.
30086         * sysdeps/i386/fpu/libm-test-ulps: Update.
30087         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30089 2014-06-23  Roland McGrath  <roland@hack.frob.com>
30091         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
30092         Moved ...
30093         * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
30094         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
30095         Moved ...
30096         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
30097         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
30098         Moved ...
30099         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
30100         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
30101         Moved ...
30102         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
30103         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
30104         File removed.
30105         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
30106         File removed.
30107         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
30108         File removed.
30109         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
30110         File removed.
30111         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
30112         File removed.
30113         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
30114         File removed.
30115         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
30116         File removed.
30117         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
30118         File removed.
30119         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
30120         File removed.
30121         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
30122         File removed.
30123         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
30124         File removed.
30125         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
30126         File removed.
30127         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
30128         Moved ...
30129         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
30130         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
30131         Moved ...
30132         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
30133         ... here.
30134         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
30135         Moved ...
30136         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
30137         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
30138         Moved ...
30139         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
30140         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
30141         Moved ...
30142         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
30143         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
30144         Moved ...
30145         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
30146         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
30147         Moved ...
30148         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
30149         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
30150         Moved ...
30151         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
30152         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
30153         Moved ...
30154         * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
30155         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
30156         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
30157         ... here.
30158         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
30159         Moved ...
30160         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
30161         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
30162         Moved ...
30163         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
30164         ... here.
30165         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
30166         Moved ...
30167         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
30168         ... here.
30169         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
30170         Moved ...
30171         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
30172         ... here.
30173         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
30174         Moved ...
30175         * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
30176         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
30177         Moved ...
30178         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
30179         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
30180         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
30181         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
30182         Moved ...
30183         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
30184         ... here.
30185         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
30186         Moved ...
30187         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
30188         ... here.
30189         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
30190         Moved ...
30191         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
30192         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
30193         Moved ...
30194         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
30195         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
30196         Moved ...
30197         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
30198         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
30199         Moved ...
30200         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
30201         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
30202         Moved ...
30203         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
30204         ... here.
30205         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
30206         Moved ...
30207         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
30208         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
30209         Moved ...
30210         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
30211         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
30212         Moved ...
30213         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
30214         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
30215         Moved ...
30216         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
30217         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
30218         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
30219         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
30220         Moved ...
30221         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
30222         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
30223         Moved ...
30224         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
30225         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
30226         Moved ...
30227         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
30228         ... here.
30229         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
30230         Moved ...
30231         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
30232         ... here.
30233         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
30234         Moved ...
30235         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
30236         ... here.
30237         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
30238         Moved ...
30239         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
30240         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
30241         Moved ...
30242         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
30243         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
30244         Moved ...
30245         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
30246         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
30247         Moved ...
30248         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
30249         ... here.
30250         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
30251         Moved ...
30252         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
30253         ... here.
30254         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
30255         Moved ...
30256         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
30257         ... here.
30258         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
30259         Moved ...
30260         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
30261         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
30262         Moved ...
30263         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
30265 2014-06-23  Will Newton  <will.newton@linaro.org>
30266             Wilco  <wdijkstr@arm.com>
30268         * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
30269         implementation.  Include get-rounding-mode.h.
30270         [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
30271         [!libc_feholdsetround_noex_ctx]: Define
30272         libc_feholdsetround_noex_ctx.
30273         [!libc_feholdsetround_noexf_ctx]: Define
30274         libc_feholdsetround_noexf_ctx.
30275         [!libc_feholdsetround_noexl_ctx]: Define
30276         libc_feholdsetround_noexl_ctx.
30277         (libc_feholdsetround_ctx): New function.
30278         (libc_feresetround_ctx): New function.
30279         (libc_feholdsetround_noex_ctx): New function.
30280         (libc_feresetround_noex_ctx): New function.
30282 2014-06-23  Roland McGrath  <roland@hack.frob.com>
30284         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
30285         * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
30286         * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
30287         * sysdeps/mips/nptl/bits/semaphore.h: ... here.
30288         * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
30289         * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
30291         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
30292         * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
30293         * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
30294         * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
30295         * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
30296         * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
30297         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
30298         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
30299         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
30300         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
30301         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
30302         Moved ...
30303         * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
30304         ... here.
30305         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
30306         * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
30307         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
30308         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
30309         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
30310         Moved ...
30311         * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
30312         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
30313         * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
30314         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
30315         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
30316         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
30317         * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
30318         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
30319         Moved ...
30320         * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
30321         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
30322         Moved ...
30323         * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
30324         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
30325         * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
30326         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
30327         Moved ...
30328         * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
30329         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
30330         * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
30331         * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
30332         * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
30333         * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
30334         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
30335         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
30336         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
30337         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
30338         Moved ...
30339         * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
30340         ... here.
30341         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
30342         * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
30343         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
30344         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
30345         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
30346         * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
30347         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
30348         * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
30349         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
30350         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
30351         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
30352         * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
30353         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
30354         Moved ...
30355         * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
30356         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
30357         * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
30358         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
30359         * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
30360         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
30361         Moved ...
30362         * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
30363         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
30364         * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
30365         * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
30366         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
30368         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
30369         * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
30370         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
30371         * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
30372         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
30373         * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
30374         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
30375         * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
30376         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
30377         * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
30378         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
30379         * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
30380         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
30381         * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
30382         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
30383         * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
30384         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
30385         * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
30386         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
30387         * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
30388         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
30389         * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
30390         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
30391         * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
30392         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
30393         * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
30394         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
30395         * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
30397 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
30399         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
30400         (FALLOC_FL_COLLAPSE_RANGE): New macro.
30401         [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
30402         * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
30403         (IPV6_PMTUDISC_INTERFACE): Likewise.
30404         (IPV6_PMTUDISC_OMIT): Likewise.
30406 2014-06-23  Andreas Schwab  <schwab@suse.de>
30408         * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
30409         Remove unused errout label.
30411 2014-06-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30413         * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
30414         macro: hardware supports Vector Crypto instructions.
30416 2014-06-23  Will Newton  <will.newton@linaro.org>
30418         * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
30419         rather than __builtin_expect.
30421         * elf/dl-lookup.c (undefined_msg): Remove variable.
30422         (_dl_lookup_symbol_x): Replace undefined_msg with string
30423         literal.
30425         * elf/dl-lookup.c (do_lookup_unique): New function.
30426         (do_lookup_x): Move STB_GNU_UNIQUE handling code
30427         to a separate function.
30429 2014-06-23  Andreas Schwab  <schwab@suse.de>
30431         [BZ #17079]
30432         * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
30433         before reading the next line.
30435 2014-06-23  Will Newton  <will.newton@linaro.org>
30437         * test-skeleton.c (signal_handler): Use printf and %m
30438         rather than perror.  Use printf rather than fprintf to
30439         stderr.  Use puts rather than fputs to stderr.
30440         (main): Likewise.
30442 2014-06-22  Ludovic Courtès  <ludo@gnu.org>
30444         * nscd/nscd.c (thread_info_t): Remove typedef.
30445         (thread_info): Remove variable.
30447 2014-06-21  Allan McRae  <allan@archlinux.org>
30449         * NEWS: Mention CVE-2014-4043.
30451 2014-06-20  Roland McGrath  <roland@hack.frob.com>
30453         * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
30454         * nptl/smp.h: ... here.
30456         * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
30458         * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
30459         * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
30460         * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
30461         * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
30463         * nptl/allocatestack.c: Include <stack-aliasing.h>.
30464         * nptl/stack-aliasing.h: New file.
30465         * sysdeps/i386/i686/stack-aliasing.h: New file.
30466         * sysdeps/i386/i686/nptl/Makefile: File removed.
30467         * sysdeps/x86_64/stack-aliasing.h: New file.
30468         * sysdeps/x86_64/nptl/Makefile
30469         (CFLAGS-pthread_create.c): Variable removed.
30471         * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
30472         * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
30473         old file.
30474         * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
30475         * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
30476         old file.
30478 2014-06-21  Joseph Myers  <joseph@codesourcery.com>
30480         * sysdeps/unix/sysv/linux/arm/kernel-features.h
30481         (__ASSUME_SIGFRAME_V2): Remove macro.
30482         * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
30483         [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
30484         (__default_sa_restorer_v2): Rename to __default_sa_restorer.
30485         (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
30486         * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
30487         Declare as function.  Remove conditional macro definitions.
30488         (__default_rt_sa_restorer): Likewise.
30489         (__default_sa_restorer_v1): Remove declaration.
30490         (__default_sa_restorer_v2): Likewise.
30491         (__default_rt_sa_restorer_v1): Likewise.
30492         (__default_rt_sa_restorer_v2): Likewise.
30493         * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
30494         __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
30495         __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
30497 2014-06-20  Roland McGrath  <roland@hack.frob.com>
30499         * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
30500         (libpthread-routines): Add sysdep.
30501         * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
30502         * sysdeps/unix/sysv/linux/sparc/Versions
30503         (libpthread: GLIBC_2.3.3): New version set.
30504         * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
30505         * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
30506         * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
30507         * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
30508         * sysdeps/sparc/nptl/internaltypes.h: ... here.  Use #include_next.
30509         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
30510         Moved ...
30511         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
30512         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
30513         * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
30514         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
30515         * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
30516         * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
30517         * sysdeps/sparc/nptl/sem_init.c: ... here.
30518         * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
30519         * sysdeps/sparc/nptl/sem_post.c: ... here.
30520         * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
30521         * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
30522         * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
30523         * sysdeps/sparc/nptl/sem_wait.c: ... here.
30524         * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
30525         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
30526         * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
30527         (libpthread-routines): Add cpu_relax.
30528         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
30529         File removed.
30530         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
30531         (librt: GLIBC_2.3.3): New version set.
30532         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
30533         * sysdeps/sparc/sparc64/nptl/Makefile: New file.
30534         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
30535         (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
30536         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
30537         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
30538         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
30539         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
30540         Moved ...
30541         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
30542         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
30543         * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
30544         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
30545         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
30546         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
30547         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
30548         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
30549         * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
30550         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
30551         Moved ...
30552         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
30553         Update #include.
30554         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
30555         Moved ...
30556         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
30557         Update #include.
30558         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
30559         Moved ...
30560         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
30561         Update #include.
30562         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
30563         Moved ...
30564         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
30565         Update #include.
30566         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
30567         Moved ...
30568         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
30569         Update #include.
30570         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
30571         Moved ...
30572         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
30573         Update #include.
30574         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
30575         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
30576         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
30577         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
30578         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
30579         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
30580         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
30581         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
30582         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
30583         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
30584         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
30585         Moved ...
30586         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
30587         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
30588         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
30589         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
30590         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
30592 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
30594         * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
30595         * nptl/pthread_rwlock_timedrdlock.c: Likewise.
30596         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
30597         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
30598         * nscd/nscd.c: Likewise.
30599         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
30600         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
30601         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
30602         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
30604         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
30605         <kernel-features.h>.
30606         (init_mq_netlink): Remove conditional have_sock_cloexec
30607         definitions.  Remove code conditional on have_sock_cloexec < 0.
30608         (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
30609         (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
30610         * sysdeps/unix/sysv/linux/opensock.c: Do not include
30611         <kernel-features.h>.
30612         (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
30613         (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
30615 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
30617         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
30618         Add tests for memset_chk and memset.
30620         * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
30621         with AVX2_Usable.
30623 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
30625         [BZ #16046]
30626         * elf/tst-dl-iter-static.c: New file.
30627         * elf/Makefile (tests-static): Add tst-dl-iter-static.
30629         * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
30630         error.
30632 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
30634         * sysdeps/unix/sysv/linux/kernel-features.h
30635         (__ASSUME_F_GETOWN_EX): Remove macro.
30636         * sysdeps/unix/sysv/linux/fcntl.c: Do not include
30637         <kernel-features.h>.
30638         (miss_F_GETOWN_EX): Remove variable or macro.
30639         (do_fcntl): Do not check miss_F_GETOWN_EX.
30640         (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
30642         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
30643         Remove macro.
30644         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
30645         [!__ASSUME_AT_RANDOM]: Remove conditional code.
30646         (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
30648         * sysdeps/unix/sysv/linux/kernel-features.h
30649         (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
30650         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
30651         [ADJ_OFFSET_SS_READ]: Make code unconditional.
30652         (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
30654 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
30656         [BZ #17075]
30657         * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
30658         Fix calculation of the symbol's value.
30659         * sysdeps/arm/tst-armtlsdescloc.c: New file.
30660         * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
30661         * sysdeps/arm/tst-armtlsdescextnow.c: New file.
30662         * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
30663         * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
30664         * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
30665         * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
30666         `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
30667         (modules-names): Add `tst-armtlsdescmod',
30668         `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
30669         (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
30670         (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
30671         (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
30672         (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
30673         (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
30674         (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
30675         ($(objpfx)tst-armtlsdescloc): New dependency.
30676         ($(objpfx)tst-armtlsdescextnow): Likewise.
30677         ($(objpfx)tst-armtlsdescextlazy): Likewise.
30678         * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
30679         TLS scheme support.
30680         * sysdeps/arm/configure: Regenerate.
30682 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
30684         * include/fcntl.h (__atfct_seterrno): Remove prototype.
30685         (__atfct_seterrno_2): Likewise.
30686         * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
30687         <kernel-features.h>.
30688         (__ASSUME_ATFCTS): Do not undefine and redefine.
30689         * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
30690         (__have_atfcts): Remove conditional definition.
30691         (__fxstatat([__NR_fstatat64]: Make code unconditional.
30692         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
30693         unreachable if [__ASSUME_ATFCTS].
30694         * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
30695         not undefine and redefine.
30696         * sysdeps/unix/sysv/linux/faccessat.c: Do not include
30697         <kernel-features.h>.
30698         (faccessat) [__NR_faccessat]: Make code unconditional.
30699         (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
30700         * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
30701         <kernel-features.h>.
30702         (fchmodat) [__NR_fchmodat]: Make code unconditional.
30703         (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
30704         * sysdeps/unix/sysv/linux/fchownat.c: Do not include
30705         <kernel-features.h>.
30706         (fchownat) [__NR_fchownat]: Make code unconditional.
30707         (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
30708         * sysdeps/unix/sysv/linux/futimesat.c: Do not include
30709         <kernel-features.h>.
30710         (futimesat) [__NR_futimesat]: Make code unconditional.
30711         (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
30712         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
30713         <kernel-features.h>.
30714         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
30715         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
30716         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
30717         <kernel-features.h>.
30718         (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
30719         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
30720         * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
30721         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
30722         <kernel-features.h>.
30723         (__fxstatat) [__NR_fstatat64]: Make code unconditional.
30724         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
30725         * sysdeps/unix/sysv/linux/linkat.c: Do not include
30726         <kernel-features.h>.
30727         (linkat) [__NR_linkat]: Make code unconditional.
30728         (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
30729         * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
30730         * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
30731         <kernel-features.h>.
30732         (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
30733         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
30734         * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
30735         <kernel-features.h>.
30736         (mkdirat) [__NR_mkdirat]: Make code unconditional.
30737         (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
30738         * sysdeps/unix/sysv/linux/openat.c: Do not include
30739         <kernel-features.h>.
30740         [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
30741         [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
30742         (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
30743         (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
30744         * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
30745         * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
30746         <kernel-features.h>.
30747         (readlinkat) [__NR_readlinkat]: Make code unconditional.
30748         (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.  Return
30749         result of INLINE_SYSCALL directly, not via int variable.
30750         * sysdeps/unix/sysv/linux/renameat.c: Do not include
30751         <kernel-features.h>.
30752         [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
30753         (renameat) [__NR_renameat]: Make code unconditional.
30754         (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
30755         * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
30756         * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
30757         * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
30758         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
30759         (__ASSUME_ATFCTS): Do not undefine and redefine.
30760         * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
30761         <kernel-features.h>.
30762         (symlinkat) [__NR_symlinkat]: Make code unconditional.
30763         (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
30764         * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
30765         <kernel-features.h>.
30766         (unlinkat) [__NR_unlinkat]: Make code unconditional.
30767         (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
30768         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
30769         (__ASSUME_ATFCTS): Do not undefine and redefine.
30770         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
30771         <kernel-features.h>.
30772         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
30773         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
30774         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
30775         <kernel-features.h>.
30776         (__xmknodat) [__NR_mknodat]: Make code unconditional.
30777         (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
30779 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
30781         * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
30783 2014-06-20  Andreas Schwab  <schwab@linux-m68k.org>
30785         [BZ #17069]
30786         * posix/regcomp.c (parse_reg_exp): Deallocate partially
30787         constructed tree before returning error.
30788         * posix/bug-regexp36.c: Expand test case.
30790 2014-06-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
30792         [BZ #6803]
30793         * math/libm-test.inc (scalbln_test_date):
30794         Add errno expectations.
30795         * math/w_scalblnf.c: New File.
30796         Add wrapper which checks for setting errno to ERANGE.
30797         Add weak_alias for corresponding scalbln function.
30798         * math/w_scalbln.c: Likewise.
30799         * math/w_scalblnl.c: Likewise.
30800         * math/Makefile (libm-calls): Add w_scalbln.
30801         * sysdeps/ieee754/flt-32/s_scalblnf.c:
30802         Remove weak_alias for corresponding scalbln function.
30803         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
30804         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
30805         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
30806         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
30807         * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
30808         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
30809         * sysdeps/i386/fpu/s_scalbn.S: Likewise.
30810         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
30811         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
30812         * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
30813         Remove long_double_symbol for scalblnl function in libm, libc.
30814         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
30815         Add wrapper which checks for setting errno to ERANGE.
30816         Add long_double_symbol for scalblnl function in libm, libc.
30817         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
30818         Remove long_double_symbol for scalblnl in libm.
30819         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
30820         Add wrapper which checks for setting errno to ERANGE.
30821         Add long_double_symbol for scalblnl function in libm.
30822         * sysdeps/ia64/fpu/w_scalblnf.c: New File.
30823         Do not use wrapper because of own implementation.
30825 2014-06-19  H.J. Lu  <hongjiu.lu@intel.com>
30827         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
30828         3 bytes for __pad1 for x32.
30829         (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
30831 2014-06-19  Ling Ma  <ling.ml@alibaba-inc.com>
30832             H.J. Lu  <hongjiu.lu@intel.com>
30834         * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
30835         * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
30836         * sysdeps/x86_64/multiarch/memset.S: Likewise.
30837         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
30838         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
30840 2014-06-19  Andreas Schwab  <schwab@linux-m68k.org>
30842         [BZ #17069]
30843         * posix/regcomp.c (parse_expression): Deallocate partially
30844         constructed tree before returning error.
30845         * posix/Makefile.c (tests): Add bug-regex36.
30846         (generated): Add bug-regex36.mtrace.
30847         (tests-special): Add $(objpfx)bug-regex36-mem.out
30848         (bug-regex36-ENV): New variable.
30849         ($(objpfx)bug-regex36-mem.out): New rule.
30850         * posix/bug-regex36.c: New file.
30852 2014-06-19  Will Newton  <will.newton@linaro.org>
30854         * malloc/malloc.c (systrim): If extra is zero then return
30855         early.
30857 2014-06-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
30859         * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
30861 2014-06-19  Richard Earnshaw  <rearnsha@arm.com>
30863         * sysdeps/aarch64/strchr.S: New file.
30865 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
30867         [BZ #17022]
30868         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
30869         from arguments -2 or below.
30870         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
30871         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
30873 2014-06-18  Andreas Schwab  <schwab@suse.de>
30875         [BZ #17062]
30876         * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
30877         of a bracket expr not to run off the end of the string.
30878         * posix/Makefile (tests): Add tst-fnmatch3.
30879         * posix/tst-fnmatch3.c: New file.
30881 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
30883         * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
30884         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
30885         [$(cross-compiling) = no]: Likewise.
30886         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
30887         [$(cross-compiling) = no]: Likewise.
30889 2014-16-17  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
30891         [BZ #17031]
30892         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
30893         double, adjusted for any remainder from the high double.
30894         * math/libm-test.inc (nearbyint): Add tests.
30895         (rint): Likewise.
30897 2014-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30899         * nptl/sysdeps/powerpc/Makefile: Moved ...
30900         * sysdeps/powerpc/nptl/Makefile: ... here.
30901         * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
30902         * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
30903         * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
30904         * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
30905         * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
30906         * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
30907         * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
30908         * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
30909         * nptl/sysdeps/powerpc/tls.h: Moved ...
30910         * sysdeps/powerpc/nptl/tls.h: ... here.
30912 2014-06-16  Joseph Myers  <joseph@codesourcery.com>
30914         [BZ #16681]
30915         * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
30916         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
30917         * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
30918         * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
30919         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
30920         * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
30921         * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
30922         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
30923         * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
30925 2014-06-17  Andreas Schwab  <schwab@linux-m68k.org>
30927         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
30929 2014-06-16  Andreas Schwab  <schwab@linux-m68k.org>
30931         * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
30932         defined operator.
30934         * scripts/cross-test-ssh.sh (timeoutfactor): Default to
30935         $TIMEOUTFACTOR.
30937 2014-06-16  Florian Weimer  <fweimer@redhat.com>
30939         [BZ #17058]
30940         * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
30941         non-executed part of the test.
30943 2014-06-16  Andreas Schwab  <schwab@suse.de>
30945         * string/bits/string2.h (strdup, strndup): Update feature guard.
30947 2014-06-14  David S. Miller  <davem@davemloft.net>
30949         * sysdeps/sparc/fpu/libm-test-ulps: Update.
30951 2014-06-14  Andreas Schwab  <schwab@linux-m68k.org>
30953         * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
30954         that was previously under [RESET_PID].
30955         * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
30957         * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
30958         * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
30959         * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
30960         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
30961         (__libc_vfork): New strong alias.
30962         * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
30964 2014-06-14 Andi Kleen  <ak@linux.intel.com>
30966         * sysdeps/generic/elide.h: New file.
30968 2014-06-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
30970         * Makefile (installed-headers): Adjust path of pthread.h header.
30972 2014-06-13  Roland McGrath  <roland@hack.frob.com>
30974         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
30975         * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
30976         * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
30977         * sysdeps/s390/nptl/bits/semaphore.h: ... here.
30979         * nptl/sysdeps/s390/Makefile: Moved ...
30980         * sysdeps/s390/nptl/Makefile: ... here.
30981         * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
30982         * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
30983         * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
30984         * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
30985         * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
30986         * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
30987         * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
30988         * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
30989         * nptl/sysdeps/s390/pthreaddef.h: Moved ...
30990         * sysdeps/s390/nptl/pthreaddef.h: ... here.
30991         * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
30992         * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
30993         * nptl/sysdeps/s390/tls.h: Moved ...
30994         * sysdeps/s390/nptl/tls.h: ... here.
30996         * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
30997         * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
30999 2014-06-13  David S. Miller  <davem@davemloft.net>
31001         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
31002         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
31003         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
31004         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
31005         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
31006         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
31007         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
31008         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
31009         * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
31010         * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
31011         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
31012         Remove RESET_PID cpp guards.
31013         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
31014         Remove RESET_PID cpp guards.
31015         * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
31017 2014-06-13  Andreas Schwab  <schwab@linux-m68k.org>
31019         * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
31020         __sp to uintptr_t.
31022 2014-06-13  Andi Kleen  <ak@linux.intel.com>
31024         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
31025         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
31026         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
31027         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
31028         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
31029         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
31030         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
31031         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
31032         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
31033         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
31034         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
31035         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
31036         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
31037         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
31038         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
31039         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
31040         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
31041         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
31042         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
31043         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
31045         * nptl/pthread_rwlock_rdlock.c: Include elide.h.
31046         (pthread_rwlock_rdlock): Add elision.
31047         * nptl/pthread_rwlock_wrlock.c: Include elide.h.
31048         (pthread_rwlock_wrlock): Add elision.
31049         * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
31050         (pthread_rwlock_trywrlock): Add elision.
31051         * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
31052         (pthread_rwlock_tryrdlock): Add elision.
31053         * nptl/pthread_rwlock_unlock.c: Include elide.h.
31054         (pthread_rwlock_tryrdlock): Add elision unlock.
31055         * nptl/sysdeps/pthread/pthread.h:
31056         (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
31057         (PTHREAD_RWLOCK_INITIALIZER,
31058         PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
31059         Handle new elision field.
31060         * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
31061         * sysdeps/arm/nptl/bits/pthreadtypes.h
31062         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
31063         * sysdeps/sh/nptl/bits/pthreadtypes.h
31064         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
31065         * sysdeps/tile/nptl/bits/pthreadtypes.h
31066         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
31067         * sysdeps/a/nptl/bits/pthreadtypes.h
31068         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
31069         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
31070         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
31071         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
31072         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
31073         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
31074         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
31075         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
31076         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
31077         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
31078         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
31079         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
31080         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
31081         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
31082         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
31083         * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
31084         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
31085         * sysdeps/unix/sysv/linux/x86/elision-conf.c:
31086         (elision_init): Set try_xbegin to zero when no RTM.
31087         * sysdeps/x86/nptl/bits/pthreadtypes.h
31088         (pthread_rwlock_t): Change __pad1 to __rwelision.
31089         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
31091 2014-06-13  Andi Kleen  <ak@linux.intel.com>
31093         * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
31094         Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
31095         * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
31096         Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
31098 2014-06-13  Meador Inge  <meadori@codesourcery.com>
31100         [BZ #16996]
31101         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
31102         that the cached result has been set before returning it.
31104 2014-06-12  Roland McGrath  <roland@hack.frob.com>
31106         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
31107         * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
31108         * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
31109         * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
31110         * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
31111         * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
31113         * nptl/sysdeps/sparc/Makefile: Moved ...
31114         * sysdeps/sparc/nptl/Makefile: ... here.
31115         * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
31116         * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
31117         * nptl/sysdeps/sparc/tls.h: Moved ...
31118         * sysdeps/sparc/nptl/tls.h: ... here.
31119         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
31120         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
31121         * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
31122         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
31123         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
31124         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
31125         * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
31126         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
31127         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
31128         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
31129         * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
31130         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
31131         * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
31132         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
31133         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
31134         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
31135         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
31136         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
31137         Update #include.
31138         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
31139         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
31140         Update #include.
31141         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
31142         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
31143         Update #include.
31144         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
31145         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
31146         Update #include.
31148         * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
31150         * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
31151         * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
31153         * sysdeps/pthread/posix-timer.h: Include <list.h>.
31154         (struct list_links): Type removed.
31155         (struct thread_node, struct timer_node): Replace struct list_links
31156         with struct list_head.
31157         (list_unlink_ip): Likewise.
31158         * sysdeps/pthread/timer_routines.c
31159         (timer_free_list, thread_free_list, thread_active_list): Likewise.
31160         (list_append, list_insbefore): Likewise.
31161         (list_init): Function removed.
31162         (thread_init, init_module): Use INIT_LIST_HEAD instead.
31163         * sysdeps/nptl/Makefile: Move tst-timer bits to ...
31164         * sysdeps/pthread/Makefile: ... here, new file.
31166         * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
31167         * sysdeps/nptl/Implies: ... here.
31168         * sysdeps/unix/sysv/linux/Implies: Add nptl.
31169         * nptl/sysdeps/pthread/list.h: Moved ...
31170         * include/list.h: ... here.
31171         * nptl/sysdeps/pthread/createthread.c: Moved ...
31172         * nptl/createthread.c: ... here.
31173         * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
31174         * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
31175         * nptl/pt-longjmp.c: ... here.
31176         * nptl/sysdeps/pthread/Makefile: Moved ...
31177         * sysdeps/nptl/Makefile: ... here.
31178         * nptl/sysdeps/pthread/Subdirs: Moved ...
31179         * sysdeps/nptl/Subdirs: ... here.
31180         * nptl/sysdeps/pthread/aio_misc.h: Moved ...
31181         * sysdeps/nptl/aio_misc.h: ... here.
31182         * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
31183         * sysdeps/nptl/bits/libc-lock.h: ... here.
31184         * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
31185         * sysdeps/nptl/bits/libc-lockP.h: ... here.
31186         * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
31187         * sysdeps/nptl/bits/stdio-lock.h: ... here.
31188         * nptl/sysdeps/pthread/configure: Moved ...
31189         * sysdeps/nptl/configure: ... here.
31190         * nptl/sysdeps/pthread/configure.ac: Moved ...
31191         * sysdeps/nptl/configure.ac: ... here.
31192         * nptl/sysdeps/pthread/gai_misc.h: Moved ...
31193         * sysdeps/nptl/gai_misc.h: ... here.
31194         * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
31195         * sysdeps/nptl/librt-cancellation.c: ... here.
31196         * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
31197         * sysdeps/nptl/malloc-machine.h: ... here.
31198         * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
31199         * sysdeps/nptl/pthread-functions.h: ... here.
31200         * nptl/sysdeps/pthread/pthread.h: Moved ...
31201         * sysdeps/nptl/pthread.h: ... here.
31202         * nptl/sysdeps/pthread/setxid.h: Moved ...
31203         * sysdeps/nptl/setxid.h: ... here.
31204         * nptl/sysdeps/pthread/sigfillset.c: Moved ...
31205         * sysdeps/nptl/sigfillset.c: ... here.
31206         * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
31207         * sysdeps/nptl/tcb-offsets.h: ... here.
31208         * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
31209         * sysdeps/nptl/tst-mqueue8x.c: ... here.
31210         * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
31211         * sysdeps/nptl/unwind-forcedunwind.c: ... here.
31212         * nptl/sysdeps/pthread/allocalim.h: Moved ...
31213         * sysdeps/pthread/allocalim.h: ... here.
31214         * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
31215         * sysdeps/pthread/bits/sigthread.h: ... here.
31216         * nptl/sysdeps/pthread/flockfile.c: Moved ...
31217         * sysdeps/pthread/flockfile.c: ... here.
31218         * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
31219         * sysdeps/pthread/ftrylockfile.c: ... here.
31220         * nptl/sysdeps/pthread/funlockfile.c: Moved ...
31221         * sysdeps/pthread/funlockfile.c: ... here.
31222         * nptl/sysdeps/pthread/posix-timer.h: Moved ...
31223         * sysdeps/pthread/posix-timer.h: ... here.
31224         * nptl/sysdeps/pthread/timer_create.c: Moved ...
31225         * sysdeps/pthread/timer_create.c: ... here.
31226         * nptl/sysdeps/pthread/timer_delete.c: Moved ...
31227         * sysdeps/pthread/timer_delete.c: ... here.
31228         * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
31229         * sysdeps/pthread/timer_getoverr.c: ... here.
31230         * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
31231         * sysdeps/pthread/timer_gettime.c: ... here.
31232         * nptl/sysdeps/pthread/timer_routines.c: Moved ...
31233         * sysdeps/pthread/timer_routines.c: ... here.
31234         * nptl/sysdeps/pthread/timer_settime.c: Moved ...
31235         * sysdeps/pthread/timer_settime.c: ... here.
31236         * nptl/sysdeps/pthread/tst-timer.c: Moved ...
31237         * sysdeps/pthread/tst-timer.c: ... here.
31238         * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
31239         * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
31241         * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
31242         * nptl/sysdeps/pthread/sigprocmask.c: File removed.
31244         * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
31245         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
31246         * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
31247         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
31248         Update #include target.
31249         * nptl/sysdeps/i386/i686/Makefile: Moved ...
31250         * sysdeps/i386/i686/nptl/Makefile: ... here.
31251         * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
31252         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
31253         Update #include target.
31254         * nptl/sysdeps/i386/i686/tls.h: Moved ...
31255         * sysdeps/i386/i686/nptl/tls.h: ... here.  Use #include_next.
31256         * nptl/sysdeps/i386/Makefile: Moved ...
31257         * sysdeps/i386/nptl/Makefile: ... here.
31258         * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
31259         * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
31260         * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
31261         * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
31262         * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
31263         * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
31264         * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
31265         * nptl/sysdeps/i386/pthreaddef.h: Moved ...
31266         * sysdeps/i386/nptl/pthreaddef.h: ... here.
31267         * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
31268         * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
31269         * nptl/sysdeps/i386/tls.h: Moved ...
31270         * sysdeps/i386/nptl/tls.h: ... here.
31272         * sysdeps/sh/Makefile [$(subdir) = csu]
31273         (gen-as-const-headers): Add tcb-offsets.sym.
31274         * nptl/sysdeps/sh/Makefile: File removed.
31275         * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
31276         * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
31277         * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
31278         * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
31279         * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
31280         * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
31281         * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
31282         * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
31283         * nptl/sysdeps/sh/pthreaddef.h: Moved ...
31284         * sysdeps/sh/nptl/pthreaddef.h: ... here.
31285         * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
31286         * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
31287         * nptl/sysdeps/sh/tls.h: Moved ...
31288         * sysdeps/sh/nptl/tls.h: ... here.
31289         * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
31290         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
31291         * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
31292         * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
31293         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
31294         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
31295         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
31296         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
31297         * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
31298         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
31299         * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
31300         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
31301         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
31302         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
31303         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
31304         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
31305         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
31306         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
31307         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
31308         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
31309         * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
31310         * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
31311         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
31312         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
31313         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
31314         Moved ...
31315         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
31316         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
31317         Moved ...
31318         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
31319         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
31320         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
31321         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
31322         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
31323         * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
31324         * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
31325         * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
31326         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
31327         * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
31328         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
31329         * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
31330         * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
31331         * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
31332         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
31333         * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
31334         * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
31335         * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
31336         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
31338 2014-06-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
31340         * posix/spawn_faction_addopen.c: Include string.h.
31342 2014-06-11  Roland McGrath  <roland@hack.frob.com>
31344         * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
31345         * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
31346         * nptl/sysdeps/x86_64/Makefile: Moved ...
31347         * sysdeps/x86_64/nptl/Makefile: ... here.
31348         * nptl/sysdeps/x86_64/configure: Moved ...
31349         * sysdeps/x86_64/nptl/configure: ... here.
31350         * nptl/sysdeps/x86_64/configure.ac: Moved ...
31351         * sysdeps/x86_64/nptl/configure.ac: ... here.
31352         * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
31353         * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
31354         * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
31355         * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
31356         * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
31357         * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
31358         * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
31359         * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
31360         * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
31361         * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
31362         * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
31363         * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
31364         * nptl/sysdeps/x86_64/tls.h: Moved ...
31365         * sysdeps/x86_64/nptl/tls.h: ... here.
31366         * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
31367         * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
31368         * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
31369         * sysdeps/x86_64/x32/nptl/tls.h: ... here.
31371         * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
31373 2014-06-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31375         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31377 2014-06-11  Joseph Myers  <joseph@codesourcery.com>
31379         * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
31380         type.
31381         [POSIX] (off_t): Likewise.
31382         * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
31383         [POSIX] (S_ISBLK): Require macro.
31384         [POSIX] (S_ISCHR): Likewise.
31385         [POSIX] (S_ISDIR): Likewise.
31386         [POSIX] (S_ISFIFO): Likewise.
31387         [POSIX] (S_ISREG): Likewise.
31388         [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
31389         optional-macro.
31390         * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
31391         type.
31392         [POSIX] (time_t): Likewise.
31393         [POSIX] (timer_t): Likewise.
31395 2014-06-11  Florian Weimer  <fweimer@redhat.com>
31397         [BZ #17048]
31398         * posix/spawn_int.h (struct __spawn_action): Make the path string
31399         non-const to support deallocation.
31400         * posix/spawn_faction_addopen.c
31401         (posix_spawn_file_actions_addopen): Make a copy of the pathname.
31402         * posix/spawn_faction_destroy.c
31403         (posix_spawn_file_actions_destroy): Adjust comment.  Deallocate
31404         path in all spawn_do_open actions.
31405         * posix/tst-spawn.c (do_test): Exercise the copy operation in
31406         posix_spawn_file_actions_addopen.
31408 2014-06-11  Chris Metcalf  <cmetcalf@tilera.com>
31410         * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
31411         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
31412         * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
31413         conditional code always true.
31414         (__libc_vfork): New alias.
31416 2014-06-11  Roland McGrath  <roland@hack.frob.com>
31418         * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
31419         * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
31421         * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
31423         * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
31424         * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
31426         * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
31427         * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
31429         * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
31430         * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
31432 2014-06-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
31434         * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
31435         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
31436         multiarch strcmp for PPC64.
31437         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
31438         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
31439         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
31440         multiarch optimizations.
31441         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
31442         (__libc_ifunc_impl_list): Likewise.
31444 2014-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
31446         * benchtests/scripts/validate_benchout.py: New script.
31447         * benchtests/Makefile (bench-func): Call it.
31448         * benchtests/scripts/benchout.schema.json: New file.
31450 2014-06-10  Chris Metcalf  <cmetcalf@tilera.com>
31452         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
31453         * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
31454         * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
31455         * sysdeps/tile/nptl/bits/semaphore.h: ... here.
31456         * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
31457         * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
31458         * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
31459         * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
31460         * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
31461         * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
31462         * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
31463         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
31464         * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
31465         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
31466         * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
31467         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
31468         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
31469         Moved ...
31470         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
31471         ... here.
31472         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
31473         Moved ...
31474         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
31475         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
31476         Moved ...
31477         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
31478         ... here.
31479         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
31480         Moved ...
31481         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
31482         ... here.
31483         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
31484         Moved ...
31485         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
31486         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
31487         Moved ...
31488         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
31489         ... here.
31490         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
31491         Moved ...
31492         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
31493         ... here.
31494         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
31495         Moved ...
31496         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
31497         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
31498         Moved ...
31499         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
31500         ... here.
31501         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
31502         Moved ...
31503         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
31504         ... here.
31505         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
31506         Moved ...
31507         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
31508         ... here.
31509         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
31510         Moved ...
31511         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
31512         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
31513         Moved ...
31514         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
31515         ... here.
31516         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
31517         Moved ...
31518         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
31519         ... here.
31520         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
31521         Moved ...
31522         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
31523         ... here.
31524         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
31525         Moved ...
31526         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
31527         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
31528         Moved ...
31529         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
31530         ... here.
31531         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
31532         Moved ...
31533         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
31534         ... here.
31535         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
31536         Moved ...
31537         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
31538         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
31539         Moved ...
31540         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
31541         ... here.
31542         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
31543         Moved ...
31544         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
31545         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
31546         Moved ...
31547         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
31548         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
31549         Moved ...
31550         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
31551         ... here.
31552         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
31553         Moved ...
31554         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
31555         ... here.
31556         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
31557         Moved ...
31558         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
31559         ... here.
31560         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
31561         Moved ...
31562         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
31563         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
31564         Moved ...
31565         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
31566         ... here.
31567         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
31568         Moved ...
31569         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
31570         ... here.
31571         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
31572         * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
31573         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
31574         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
31575         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
31576         Moved ...
31577         * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
31578         ... here.
31579         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
31580         * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
31581         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
31582         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
31583         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
31584         * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
31585         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
31586         * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
31587         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
31588         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
31589         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
31590         * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
31591         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
31592         Moved ...
31593         * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
31594         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
31595         Moved ...
31596         * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
31597         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
31598         * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
31599         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
31600         Moved ...
31601         * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
31602         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
31603         * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
31604         * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
31605         * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
31606         * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
31607         * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
31609 2014-06-10  Wilco  <wdijkstr@arm.com>
31611         * math/test-fenv-return.c: New file.
31612         * math/Makefile: Add new test test-fenv-return.
31614 2014-06-10  Joseph Myers  <joseph@codesourcery.com>
31616         [BZ #17042]
31617         * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
31618         when x - 1 is zero.
31619         * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
31620         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
31621         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
31622         0.0L for an argument of 1.0L.
31623         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
31624         Likewise.
31625         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
31626         value when x - 1 is zero.
31627         * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
31628         * sysdeps/i386/fpu/libm-test-ulps: Update.
31629         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31631 2014-06-09  Bernard Ogden  <bernie.ogden@linaro.org>
31633         [BZ #15119]
31634         * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
31636 2014-06-09  Roland McGrath  <roland@hack.frob.com>
31638         * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
31639         * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
31641 2014-06-09  Roland McGrath  <roland@hack.frob.com>
31643         * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
31644         * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
31646         * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
31647         * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
31649         * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
31650         * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
31652         * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
31653         * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
31655         * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
31656         if not already defined.
31657         (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
31658         * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
31659         * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
31660         (TLS_INIT_TP): Use it.
31661         (TLS_DEFINE_INIT_TP): New macro.
31662         * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
31664 2014-06-09  Joseph Myers  <joseph@codesourcery.com>
31666         * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
31667         constant.
31668         [POSIX] (IXANY): Likewise.
31669         [POSIX] (OLCUC): Likewise.
31670         [POSIX || POSIX2008] (CBAUD): Do not allow.
31671         [POSIX || POSIX2008] (DEFECHO): Likewise.
31672         [POSIX || POSIX2008] (ECHOCTL): Likewise.
31673         [POSIX || POSIX2008] (ECHOKE): Likewise.
31674         [POSIX || POSIX2008] (ECHOPRT): Likewise.
31675         [POSIX || POSIX2008] (EXTA): Likewise.
31676         [POSIX || POSIX2008] (EXTB): Likewise.
31677         [POSIX || POSIX2008] (FLUSHO): Likewise.
31678         [POSIX || POSIX2008] (LOBLK): Likewise.
31679         [POSIX || POSIX2008] (PENDIN): Likewise.
31680         [POSIX || POSIX2008] (SWTCH): Likewise.
31681         [POSIX || POSIX2008] (VDISCARD): Likewise.
31682         [POSIX || POSIX2008] (VDSUSP): Likewise.
31683         [POSIX || POSIX2008] (VLNEXT): Likewise.
31684         [POSIX || POSIX2008] (VREPRINT): Likewise.
31685         [POSIX || POSIX2008] (VSTATUS): Likewise.
31686         [POSIX || POSIX2008] (VWERASE): Likewise.
31687         (B*): Change to B[0123456789]*.
31688         * conform/data/time.h-data [POSIX || UNIX98]
31689         (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
31690         [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
31691         [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
31692         [POSIX] (tm_*): Do not allow.
31694 2014-06-07  Joseph Myers  <joseph@codesourcery.com>
31696         * Makefile (install): Don't set LANGUAGE.
31697         * Makefile.in (install): Likewise.
31698         * assert/Makefile (test-assert-ENV): Remove variable.
31699         (test-assert-perr-ENV): Likewise.
31700         * elf/Makefile (neededtest4-ENV): Likewise.
31701         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
31702         [$(cross-compiling) = no]: Don't set LANGUAGE.
31703         * io/ftwtest-sh (LANG): Remove variable.
31704         * libio/Makefile (tst-widetext-ENV): Likewise.
31705         * manual/install.texi (Running make install): Don't refer to
31706         environment settings for make install.
31707         * INSTALL: Regenerated.
31708         * nptl/tst-tls6.sh: Don't set LANG.
31709         * posix/globtest.sh (LANG): Remove variable.
31710         * string/Makefile (tester-ENV): Likewise.
31711         (inl-tester-ENV): Likewise.
31712         (noinl-tester-ENV): Likewise.
31713         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
31714         [$(cross-compiling) = no]: Don't set LANGUAGE.
31715         * timezone/Makefile (build-testdata): Use $(built-program-cmd)
31716         without explicit environment settings.
31718 2014-06-06  Roland McGrath  <roland@hack.frob.com>
31720         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
31721         * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
31722         * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
31723         * sysdeps/sh/nptl/bits/semaphore.h: ... here.
31725 2014-06-06  Chris Metcalf  <cmetcalf@tilera.com>
31727         * crypt/crypt-private.h [DOS]: Add some includes taken from the
31728         other files in the crypt directory.
31729         * crypt/crypt.c: Remove duplicate includes.
31730         * crypt/crypt-entry.c: Likewise.
31731         * crypt/crypt_util.c: Likewise.
31733 2014-06-06  Joseph Myers  <joseph@codesourcery.com>
31735         * Makeconfig (run-program-env): New variable.
31736         (run-program-prefix-before-env): Likewise.
31737         (run-program-prefix-after-env): Likewise.
31738         (run-program-prefix): Define in terms of new variables.
31739         (built-program-cmd-before-env): New variable.
31740         (built-program-cmd-after-env): Likewise.
31741         (built-program-cmd): Define in terms of new variables.
31742         (test-program-prefix-before-env): New variable.
31743         (test-program-prefix-after-env): Likewise.
31744         (test-program-prefix): Define in terms of new variables.
31745         (test-program-cmd-before-env): New variable.
31746         (test-program-cmd-after-env): Likewise.
31747         (test-program-cmd): Define in terms of new variables.
31748         * Rules (make-test-out): Use $(run-program-env).
31749         * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
31750         (help): Do not mention environment variables.  Mention
31751         --timeoutfactor option.
31752         (timeoutfactor): New variable.
31753         (blacklist_exports): Remove function.
31754         (exports): Remove variable.
31755         (command): Do not include ${exports}.
31756         * manual/install.texi (Configuring and compiling): Do not mention
31757         test wrappers preserving environment variables.  Mention that last
31758         assignment to a variable must take precedence.
31759         * INSTALL: Regenerated.
31760         * benchtests/Makefile (run-bench): Use $(run-program-env).
31761         * catgets/Makefile ($(objpfx)test1.cat): Use
31762         $(built-program-cmd-before-env), $(run-program-env) and
31763         $(built-program-cmd-after-env).
31764         ($(objpfx)test2.cat): Do not specify environment variables
31765         explicitly.
31766         ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
31767         $(run-program-env) and $(built-program-cmd-after-env).
31768         ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
31769         $(run-program-env) and $(test-program-cmd-after-env).
31770         ($(objpfx)sample.SJIS.cat): Do not specify environment variables
31771         explicitly.
31772         * catgets/test-gencat.sh: Use test_program_cmd_before_env,
31773         run_program_env and test_program_cmd_after_env arguments.
31774         * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
31775         * elf/tst-pathopt.sh: Use run_program_env argument.
31776         * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
31777         $(test-wrapper-env) and $(run-program-env).
31778         * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
31779         run_program_env arguments.
31780         * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
31781         * intl/Makefile ($(objpfx)tst-gettext.out): Use
31782         $(test-program-prefix-before-env), $(run-program-env) and
31783         $(test-program-prefix-after-env).
31784         ($(objpfx)tst-gettext2.out): Likewise.
31785         * intl/tst-gettext.sh: Use test_program_prefix_before_env,
31786         run_program_env and test_program_prefix_after_env arguments.
31787         * intl/tst-gettext2.sh: Likewise.
31788         * intl/tst-gettext4.sh: Do not set environment variables
31789         explicitly.
31790         * intl/tst-gettext6.sh: Likewise.
31791         * intl/tst-translit.sh: Likewise.
31792         * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
31793         $(test-program-prefix-before-env), $(run-program-env) and
31794         $(test-program-prefix-after-env).
31795         * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
31796         run_program_env and test_program_prefix_after_env arguments.
31797         * math/Makefile (run-regen-ulps): Use $(run-program-env).
31798         * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
31799         * nptl/tst-tls6.sh: Use run_program_env argument.  Set LANG=C
31800         explicitly with each use of ${test_wrapper_env}.
31801         * posix/Makefile ($(objpfx)wordexp-tst.out): Use
31802         $(test-program-prefix-before-env), $(run-program-env) and
31803         $(test-program-prefix-after-env).
31804         * posix/tst-getconf.sh: Do not set environment variables
31805         explicitly.
31806         * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
31807         run_program_env and test_program_prefix_after_env arguments.
31808         * stdio-common/tst-printf.sh: Do not set environment variables
31809         explicitly.
31810         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
31811         $(test-program-prefix-before-env), $(run-program-env) and
31812         $(test-program-prefix-after-env).
31813         * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
31814         run_program_env and test_program_prefix_after_env arguments.
31815         Split $test calls into $test_pre and $test.
31816         * timezone/Makefile (build-testdata): Use
31817         $(built-program-cmd-before-env), $(run-program-env) and
31818         $(built-program-cmd-after-env).
31820 2014-06-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31822         * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
31823         strlen for non SHARED builds.
31825 2014-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
31827         * nptl/allocatestack.c (check_list): Inlined function...
31828         (__reclaim_stacks): ... here.
31830 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
31832         [BZ #15698]
31833         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
31834         memory overrun.
31836 2014-06-05  Joseph Myers  <joseph@codesourcery.com>
31838         * Rules (make-test-out): Include
31839         LOCPATH=$(common-objpfx)localedata in default environment.
31840         * debug/Makefile (tst-chk1-ENV): Remove variable.
31841         (tst-chk2-ENV): Likewise.
31842         (tst-chk3-ENV): Likewise.
31843         (tst-chk4-ENV): Likewise.
31844         (tst-chk5-ENV): Likewise.
31845         (tst-chk6-ENV): Likewise.
31846         (tst-lfschk1-ENV): Likewise.
31847         (tst-lfschk2-ENV): Likewise.
31848         (tst-lfschk3-ENV): Likewise.
31849         (tst-lfschk4-ENV): Likewise.
31850         (tst-lfschk5-ENV): Likewise.
31851         (tst-lfschk6-ENV): Likewise.
31852         * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
31853         (tst-iconv7-ENV): Likewise.
31854         * intl/Makefile (LOCPATH-ENV): Likewise.
31855         (tst-codeset-ENV): Likewise.
31856         (tst-gettext3-ENV): Likewise.
31857         (tst-gettext5-ENV): Likewise.
31858         * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
31859         (tst-fopenloc-ENV): Likewise.
31860         (tst-fgetws-ENV): Remove variable.
31861         (tst-ungetwc1-ENV): Likewise.
31862         (tst-ungetwc2-ENV): Likewise.
31863         (bug-ungetwc2-ENV): Likewise.
31864         (tst-swscanf-ENV): Likewise.
31865         (bug-ftell-ENV): Likewise.
31866         (tst-fgetwc-ENV): Likewise.
31867         (tst-fseek-ENV): Likewise.
31868         (tst-ftell-partial-wide-ENV): Likewise.
31869         (tst-ftell-active-handler-ENV): Likewise.
31870         (tst-ftell-append-ENV): Likewise.
31871         * posix/Makefile (tst-fnmatch-ENV): Likewise.
31872         (tst-regexloc-ENV): Likewise.
31873         (bug-regex1-ENV): Likewise.
31874         (tst-regex-ENV): Likewise.
31875         (tst-regex2-ENV): Likewise.
31876         (bug-regex5-ENV): Likewise.
31877         (bug-regex6-ENV): Likewise.
31878         (bug-regex17-ENV): Likewise.
31879         (bug-regex18-ENV): Likewise.
31880         (bug-regex19-ENV): Likewise.
31881         (bug-regex20-ENV): Likewise.
31882         (bug-regex22-ENV): Likewise.
31883         (bug-regex23-ENV): Likewise.
31884         (bug-regex25-ENV): Likewise.
31885         (bug-regex26-ENV): Likewise.
31886         (bug-regex30-ENV): Likewise.
31887         (bug-regex32-ENV): Likewise.
31888         (bug-regex33-ENV): Likewise.
31889         (bug-regex34-ENV): Likewise.
31890         (bug-regex35-ENV): Likewise.
31891         (tst-rxspencer-ENV): Likewise.
31892         (tst-rxspencer-no-utf8-ENV): Likewise.
31893         * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
31894         (tst-sscanf-ENV): Likewise.
31895         (tst-swprintf-ENV): Likewise.
31896         (tst-swscanf-ENV): Likewise.
31897         (test-vfprintf-ENV): Likewise.
31898         (scanf13-ENV): Likewise.
31899         (bug14-ENV): Likewise.
31900         (tst-grouping-ENV): Likewise.
31901         * stdlib/Makefile (tst-strtod-ENV): Likewise.
31902         (tst-strtod3-ENV): Likewise.
31903         (tst-strtod4-ENV): Likewise.
31904         (tst-strtod5-ENV): Likewise.
31905         (testmb2-ENV): Likewise./
31906         * string/Makefile (tst-strxfrm-ENV): Likewise.
31907         (tst-strxfrm2-ENV): Likewise.
31908         (bug-strcoll1-ENV): Likewise.
31909         (test-strcasecmp-ENV): Likewise.
31910         (test-strncasecmp-ENV): Likewise.
31911         * time/Makefile (tst-strptime-ENV): Likewise.
31912         (tst-ftime_l-ENV): Likewise.
31913         * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
31914         (tst-mbrtowc-ENV): Likewise.
31915         (tst-wcrtomb-ENV): Likewise.
31916         (tst-mbrtowc2-ENV): Likewise.
31917         (tst-c16c32-1-ENV): Likewise.
31918         (tst-mbsnrtowcs-ENV): Likewise.
31920 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
31922         * manual/resource.texi (How to get information about the memory
31923         subsystem?): Fix typo.
31924         Reported by Peon de la Parra Ivan <peon@keba.com>
31926 2014-06-03  Guo Yixuan  <culu.gyx@gmail.com>
31928         [BZ #16882]
31929         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
31930         (pthread_spin_lock): Branch out of spin loop to proper location.
31931         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
31932         (pthread_spin_lock): Likewise.
31934         * nptl/tst-spin4.c: New test.
31935         * nptl/Makefile (tests): Add tst-spin4.
31937 2014-06-03  Andreas Schwab  <schwab@suse.de>
31939         [BZ #15946]
31940         * resolv/res_send.c (send_dg): Reload file descriptor after
31941         calling reopen.
31943 2014-06-03  Stefan Liebler  <stli@linux.vnet.ibm.com>
31945         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
31947 2014-06-03  Richard Henderson  <rth@redhat.com>
31949         * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
31950         * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
31951         * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
31952         SAVE_PID and RESTORE_PID blocks from pt-vfork.S.  Map 0 to INT_MIN
31953         in the SAVE_PID block.
31954         (__libc_vfork): New alias.
31955         * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
31957         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
31958         child in registers, not on the stack.  Remove RESET_PID conditionals.
31959         * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
31961 2014-06-03  Marcus Shawcroft  <marcus.shawcroft@arm.com>
31963         * sysdeps/aarch64/libm-test-ulps: Regenerate.
31965 2014-06-03  Wilco  <wdijkstr@arm.com>
31967         * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
31968         (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
31969         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
31970         Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
31971         * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
31972         Likewise.
31974 2014-06-03  Wilco  <wdijkstr@arm.com>
31976         * sysdeps/aarch64/fpu/math_private.h
31977         (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
31978         (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
31979         (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
31980         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
31981         Fix declarations.
31983 2014-06-03  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
31985         * crypt/crypt-private.h: Include ufc-crypt.h.
31986         (__b64_from_24bit): Declare extern.
31987         * crypt/crypt_util.c(__b64_from_24bit): New function.
31988         (b64t): New static const variable.
31989         * crypt/md5-crypt.c (b64_from_24bit): Remove function.
31990         (b64t): Remove variable.
31991         (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
31992         * crypt/sha256-crypt.c: Include crypt-private.h.
31993         (b64t): Remove variable.
31994         (__sha256_crypt_r): Remove b64_from_24bit and replace
31995         with __b64_from_24bit.
31996         * crypt/sha512-crypt.c: Likewise.
31998 2014-06-02  Roland McGrath  <roland@hack.frob.com>
32000         * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
32001         * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
32002         Label the code __libc_vfork rather than __vfork.
32003         [!NOT_IN_libc] (vfork): Define as weak alias.
32004         [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
32005         * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
32006         * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
32008 2014-06-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
32010         * malloc/malloc.c (malloc_info): Fix format specifier for
32011         n_mmaps.
32013 2014-06-02  Wilco  <wdijkstr@arm.com>
32015         * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
32016         FPCR write.
32018 2014-06-02  Wilco  <wdijkstr@arm.com>
32020         [BZ #17009]
32021         * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
32022         Rewrite to reduce FPCR/FPSR accesses.
32024 2014-06-01  David S. Miller  <davem@davemloft.net>
32026         * sysdeps/sparc/fpu/libm-test-ulps: Update.
32028 2014-05-31  David S. Miller  <davem@davemloft.net>
32030         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
32031         to occur in round to nearest mode when |x| >= 2.0
32033 2014-05-30  Richard Henderson  <rth@twiddle.net>
32035         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
32036         (PSEUDO_RET_NOERRNO): Remove.
32037         (ret): Don't redefine.
32038         (ret_NOERRNO): Define in terms of ret.
32039         (ret_ERRVAL): Likewise.
32041         * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
32042         use of PSEUDO_RET; perform the error check directly.
32044 2014-05-30 Marko Myllynen  <myllynen@redhat.com>
32046         * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
32047         with __int128_t.
32049 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
32051         * malloc/malloc (malloc_info): Fix formatting.
32053 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
32054             Roland McGrath  <roland@hack.frob.com>
32056         * malloc/malloc (malloc_info): Also print mmapped statistics.
32058 2014-05-30  Roland McGrath  <roland@hack.frob.com>
32060         * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
32061         * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
32063 2014-05-30  Ondřej Bílka  <neleai@seznam.cz>
32065         * malloc/malloc.c (malloc_info): Inline mi_arena.
32067 2014-05-29  Richard Henderson  <rth@twiddle.net>
32069         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
32070         Remove comma before expanding ASM_ARGS_##nr.
32071         (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
32072         Make _x0 a strict output; make _x8 a strict input; adjust expansion
32073         of ASM_ARGS_##nr.
32074         (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
32075         (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
32076         (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
32077         (ASM_ARGS_1): Add leading comma.
32079         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
32080         (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
32081         to __errno_location.
32082         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
32083         Remove the expected plt for __errno_location.
32085         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
32086         [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
32087         call to __read_tp.
32089         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
32090         Always allocate 64 bytes of stack frame.  Use ldp/stp to create
32091         it and break it down.
32092         (DOCARGS_0, DOCARGS_1): Do nothing.
32093         (DOCARGS_2): Update to store into the new stack frame.
32094         (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
32095         (UNDOCARGS_1): Update to restore from the new stack frame.
32096         (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
32097         (UNDOCARGS_5, UNDOCARGS_6): Likewise.
32099         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
32100         (SINGLE_THREAD_P): New parameter for result regno.
32101         (PSEUDO): Update to match; use cbz instead of beq.
32103         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
32104         Use ENTRY to define the _nocancel entry point.  Share the syscall
32105         and syscall error check paths with the cancel path.
32106         (PSEUDO_END): New.
32108         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
32109         whitespace; tabs before and after asm mnemonics.
32111 2014-05-29  Eric Wong  <normalperson@yhbt.net>
32113         [BZ #15132]
32114         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
32115         Call fstat64 or stat64 internally, depending on arguments passed.
32116         Replace stat buffer argument with file descriptor argument.
32117         (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
32118         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
32119         Pass fd to __internal_statvfs instead of calling fstat64.
32120         * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
32121         Pass fd to __internal_statvfs64 instead of calling fstat64.
32122         * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
32123         Pass -1 to __internal_statvfs instead of calling stat64.
32124         * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
32125         Pass -1 to __internal_statvfs64 instead of calling stat64.
32127 2014-05-28  Roland McGrath  <roland@hack.frob.com>
32129         * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
32130         that was previously under [RESET_PID].
32131         * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
32133         * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
32134         * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
32136 2014-05-27  Roland McGrath  <roland@hack.frob.com>
32138         * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
32140         * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
32141         * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
32143 2014-05-27  Ondřej Bílka  <neleai@seznam.cz>
32145         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
32147 2014-05-27  Andreas Schwab  <schwab@suse.de>
32149         * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
32150         TLS_INIT_TP macro.
32151         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
32152         * elf/rtld.c (init_tls, dl_main): Likewise.
32153         * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
32154         * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
32155         * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
32156         * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
32157         * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
32158         * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
32159         * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
32160         * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
32161         * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
32162         * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
32163         * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
32164         * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
32165         * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
32166         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
32167         * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
32168         * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
32169         * sysdeps/generic/tls.h: Update description.
32171 2014-05-27  Will Newton  <will.newton@linaro.org>
32173         [BZ #16990]
32174         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
32175         and restore r2 rather than just restoring.
32177 2014-05-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
32179         [BZ #16724]
32180         * libio/tst-ftell-append.c: New test case.
32181         * libio/Makefile (tests): Add test case.
32182         * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
32183         append mode.
32184         * libio/wfileops.c (do_ftell_wide): Likewise.
32186 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32188         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32190         * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
32191         ...
32192         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
32193         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
32194         * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
32195         * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
32196         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
32197         * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
32198         * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
32199         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
32200         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
32201         Moved ...
32202         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
32203         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
32204         Moved ...
32205         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
32206         * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
32207         * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
32208         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
32209         * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
32210         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
32211         ...
32212         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
32213         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
32214         Moved ...
32215         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
32216         here.
32217         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
32218         ...
32219         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
32220         * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
32221         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
32223         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
32224         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
32225         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
32226         * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
32228         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
32229         merge into ...
32230         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
32231         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
32232         ...
32233         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
32234         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
32235         ...
32236         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
32237         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
32238         Moved ...
32239         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
32240         here.
32241         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
32242         Moved ...
32243         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
32244         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
32245         Moved ...
32246         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
32248         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
32249         conditional [RESET_PID].
32250         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
32251         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
32252         removed.
32253         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
32254         removed.
32256         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
32257         <tcb-offsets.h>.
32258         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
32259         (__libc_vfork): New strong alias.
32260         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
32261         removed.
32262         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
32263         Removed.
32265         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
32266         <tcb-offsets.h>.
32267         (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
32268         (__libc_vfork): New strong alias.
32269         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
32270         removed.
32271         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
32272         removed.
32274 2014-05-26  Carlos O'Donell  <carlos@redhat.com>
32276         * malloc/malloc.c (mi_arena): New function.
32277         (malloc_info): Remove nested function mi_arena. Call non-nosted
32278         function mi_arena.
32280 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32282         * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
32283         by insrwi.
32284         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
32285         * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
32286         * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
32287         * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
32288         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
32289         * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
32290         * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
32292 2014-05-26  Andreas Schwab  <schwab@suse.de>
32294         [BZ #16984]
32295         * locale/programs/repertoire.c (repertoire_read): Add slash
32296         between I18NPATH element and file name.
32297         * locale/programs/locfile.c (locfile_read): Likewise.
32299 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
32301         * nptl/pthread_mutexattr_settype.c
32302         (__pthread_mutexattr_settype):
32303         Disable lock elision for PTHREAD_MUTEX_NORMAL.
32305 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
32307         * nptl/tst-mutex5 (do_test):
32308         Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
32310 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
32312         * benchtests/README: Document 'init' directive.
32313         * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
32314         BENCH_INIT.
32315         * scripts/bench.py (gen_source): Define BENCH_INIT macro.
32316         (parse_file): Recognize 'init' directive.
32318 2014-05-26  Kyle McMartin  <kyle@redhat.com>
32320         [BZ #16796]
32321         * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
32322         alignment of struct pthread.
32324 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
32326         [BZ #16878]
32327         * nscd/netgroupcache.c (addgetnetgrentX): Look for
32328         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
32329         * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
32330         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
32332 2014-05-25  Richard Henderson  <rth@twiddle.net>
32334         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
32335         (SINGLE_THREAD_P_PIC): Remove.
32336         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
32337         (SINGLE_THREAD_P_PIC): Remove.
32339         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
32340         branch to syscall error ...
32341         (PSEUDO): ... here.
32342         [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
32343         from __local_syscall_error to .Lsyscall_error.
32344         [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
32345         (SYSCALL_ERROR): Update label name.
32347         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
32348         Do not use DOARGS/UNDOARGS.
32349         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
32350         (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
32351         (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
32352         (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
32353         (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
32355         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
32356         block comment.
32358         * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
32359         define if !NOT_IN_libc.
32360         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
32361         define with non-default symbol versions.
32363 2014-05-23  Richard Henderson  <rth@twiddle.net>
32365         * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
32366         (vfork, __vfork): Define via compat_symbol.
32368         * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
32369         [!HAVE_IFUNC] (vfork_compat): Remove.
32370         [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
32372 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
32374         [BZ #16978]
32375         * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
32376         * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
32377         variable.
32379 2014-05-23  Richard Henderson  <rth@twiddle.net>
32381         * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
32382         * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
32383         * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
32384         * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
32386         * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
32387         * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
32388         * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
32389         * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
32390         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
32391         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
32392         * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
32393         * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
32394         * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
32395         * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
32396         * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
32397         * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
32398         * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
32399         * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
32400         * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
32401         * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
32402         * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
32403         * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
32404         * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
32405         * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
32406         * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
32407         * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
32408         * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
32409         * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
32410         * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
32411         * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
32412         * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
32413         * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
32414         * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
32415         * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
32416         * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
32417         * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
32418         * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
32419         * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
32420         * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
32421         * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
32422         * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
32423         * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
32424         * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
32425         * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
32426         * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
32427         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
32428         * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
32429         * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
32430         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
32431         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
32432         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
32433         * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
32434         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
32435         * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
32436         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
32437         * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
32438         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
32439         * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
32440         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
32441         * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
32443         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
32444         * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
32445         * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here.  Restore PID
32446         before exiting on error.
32447         (__libc_vfork): New strong alias.
32448         * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
32449         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
32451         * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
32452         that was previously under [RESET_PID].
32453         * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
32455         * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
32457 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
32459         [BZ #16977]
32460         * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
32461         value when x - 1 is zero.
32462         * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
32463         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
32464         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
32465         0.0L for an argument of 1.0L.
32466         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
32467         Likewise.
32468         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
32469         value when x - 1 is zero.
32470         * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
32471         * sysdeps/i386/fpu/libm-test-ulps: Update.
32472         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32474 2014-05-23  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
32476         * manual/filesys.texi (Scanning Directory Content): Fix prototype of
32477         alphasort and versionsort.
32479 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32481         * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
32482         macro.
32483         [copysignf]: Likewise.
32485 2014-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
32487         * crypt/md5-crypt.c: Fix formatting.
32489 2014-05-22  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
32491         * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
32492         (b64_from_24bit): New function.
32494 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32496         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
32497         libc_hidden_builtin_def to ifunc.
32498         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
32499         [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
32501 2014-05-21  Roland McGrath  <roland@hack.frob.com>
32503         * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
32504         * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
32506 2014-05-21  Joseph Myers  <joseph@codesourcery.com>
32508         * nscd/Depend (linuxthreads): Remove.
32509         (nptl): Add.
32510         * resolv/Depend (linuxthreads): Remove.
32511         * rt/Depend (linuxthreads): Remove.
32513         * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
32514         (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
32515         $(common-objpfx)elf/.
32516         (link-libc-before-gnulib): Likewise.
32517         (elfobjdir): Remove variable.
32518         * Makefile (install): Use $(elf-objpfx) instead of
32519         $(common-objpfx)elf/.
32520         * Makerules (link-libc-args): Use $(elf-objpfx) instead of
32521         $(elfobjdir)/.
32522         (link-libc-deps): Likewise.
32523         ($(common-objpfx)libc.so): Likewise.
32524         ($(common-objpfx)linkobj/libc.so): Likewise.
32525         [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
32526         instead of $(common-objpfx)elf/.
32527         (symbolic-link-list): Likewise.
32528         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
32529         [$(cross-compiling) = no]: Likewise.
32530         * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
32531         $(elfobjdir)/.
32532         (static-gnulib-arch): Likewise.
32533         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
32534         [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
32535         $(common-objpfx)elf/.
32537 2014-05-21  Richard Henderson  <rth@redhat.com>
32539         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
32540         (SINGLE_THREAD_P): Use the correct width load.  Fold
32541         into the ldr offset.
32543         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
32544         (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
32546 2014-05-20  Joseph Myers  <joseph@codesourcery.com>
32548         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
32549         (libgcc_s_resume): Use __attribute_used__.
32550         * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
32551         Likewise.
32553 2014-05-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32555         * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
32556         optimization when used with float constants.
32558         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32560 2014-05-20  Aurelien Jarno  <aurelien@aurel32.net>
32562         [BZ #16915]
32563         * locale/nl_langinfo_l.c: Make direct reference to every
32564         _nl_current_CATEGORY symbol.
32565         * localedata/Makefile (test-srcs): Add tst-langinfo-static.
32566         (tests-static): Add tst-langinfo-static.
32567         (tests-special): Add tst-langinfo-static.out.
32568         ($(objpfx)tst-langinfo.out): Redirect output.
32569         ($(objpfx)tst-langinfo-static.out): New.
32570         * localedata/tst-langinfo.sh: Send output to stdout.
32571         * localedata/tst-langinfo-static.c: New file.
32573         [BZ #16965]
32574         * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
32575         when the shift amount is modulo the limb size.
32577 2014-05-20  Richard Henderson  <rth@redhat.com>
32579         [BZ #16967]
32580         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
32581         Change type of sa_flags from unsigned int to int.
32583         [BZ #16966]
32584         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
32586         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
32588 2014-05-20  Will Newton  <will.newton@linaro.org>
32590         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
32591         Test the return value of the system call in the nocancel case.
32593 2014-05-20  Will Newton  <will.newton@linaro.org>
32594             Yvan Roux  <yvan.roux@linaro.org>
32596         * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
32597         #include of asm/ptrace.h.
32598         (PTRACE_GET_THREAD_AREA): Remove #undef.
32599         (PTRACE_GETHBPREGS): Likewise.
32600         (PTRACE_SETHBPREGS): Likewise.
32601         (struct user_regs_struct): New structure.
32602         (struct user_fpsimd_struct): New structure.
32603         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
32604         #include of asm/ptrace.h and second #include of sys/user.h.
32605         (PTRACE_GET_THREAD_AREA): Remove #undef.
32606         (PTRACE_GETHBPREGS): Likewise.
32607         (PTRACE_SETHBPREGS): Likewise.
32608         (ELF_NGREG): Use new struct user_regs_struct.
32609         (elf_fpregset_t): Use new struct user_fpsimd_struct.
32611 2014-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32613         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
32614         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
32616 2014-05-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
32618         [BZ #16958]
32619         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
32620         membar to avoid block loads/stores to overlap previous stores.
32622 2014-05-17  Richard Henderson  <rth@redhat.com>
32624         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
32625         Create the __##syscall_name##_nocancel entry point.
32626         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
32627         Remove; let the sysdep-cancel.h code create it.
32629 2014-05-17  David S. Miller  <davem@davemloft.net>
32631         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
32632         Protect with __USE_GNU.
32633         (TIOCSET_TEMPT): Likewise.
32634         (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
32635         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
32636         these are already provided in bits/ioctl-types.h
32638 2014-05-16  Roland McGrath  <roland@hack.frob.com>
32640         * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
32641         * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
32643         * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
32644         Use wait4 regardless of [__NR_waitpid].
32646 2014-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
32648         PR libgcc/60166
32649         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
32650         (_FP_NANSIGN_Q): Set the quiet bit.
32652 2014-05-16  Joseph Myers  <joseph@codesourcery.com>
32654         * benchtests/Makefile
32655         ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
32656         not $(common-objpfx)math/libm.so.
32657         ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
32658         $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
32659         * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
32660         $(common-objpfx)dlfcn/libdl.so.
32661         ($(objpfx)tst-audit8): Depend on $(libm), not
32662         $(common-objpfx)math/libm.so.
32663         * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
32664         not $(common-objpfx)dlfcn/libdl.so.
32665         * math/Makefile
32666         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
32667         Depend on $(libm), not $(objpfx)libm.so.  Do not condition on
32668         [$(build-shared) = yes].
32669         ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
32670         $(common-objpfx)nptl/libpthread.so.
32671         * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
32672         $(common-objpfx)math/libm.so$(libm.so-version) or
32673         $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
32674         * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
32675         $(common-objpfx)dlfcn/libdl.so.
32676         * setjmp/Makefile (link-libm): Remove variable.
32677         ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
32678         * stdio-common/Makefile (link-libm): Remove variable.
32679         ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
32680         * stdlib/Makefile (link-libm): Remove variable.
32681         ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
32682         ($(objpfx)tst-strtod-round): Likewise.
32683         ($(objpfx)tst-tininess): Likewise.
32684         ($(objpfx)tst-strtod-underflow): Likewise.
32685         ($(objpfx)tst-strtod6): Likewise.
32686         ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
32687         $(libdl), not $(common-objpfx)nptl/libpthread.so and
32688         $(common-objpfx)dlfcn/libdl.so.
32690 2014-05-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32692         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
32693         BSD terminal modes definitions.
32695 2014-05-16  Roland McGrath  <roland@hack.frob.com>
32697         * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
32698         * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
32700         * sysdeps/unix/sysv/linux/arch-fork.h: New file.
32701         * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
32702         * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
32703         Don't do #include_next.
32704         * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
32705         * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
32706         Don't do #include_next.
32707         * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
32708         * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
32709         * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
32710         * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
32712 2014-05-16  Allan McRae  <allan@archlinux.org>
32714         * po/sv.po: Update Swedish translation from translation project.
32716         * timezone/Makefile ($(objpfx)tzselect): Use correct variable
32717         in sed expression.
32719 2014-05-16  Aurelien Jarno  <aurelien@aurel32.net>
32721         [BZ #16917]
32722         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
32723         errno if the TIOCGPTN ioctl fails with an error different than
32724         EINVAL.
32725         * login/tst-ptsname.c: New file.
32726         * login/Makefile (tests): Add tst-ptsname.
32728         [BZ #16943]
32729         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
32730         and prlimit64.
32732 2014-05-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
32734         [BZ #16849]
32735         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
32736         herrno to return EAI_AGAIN.
32738 2014-05-14  Roland McGrath  <roland@hack.frob.com>
32740         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
32741         * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
32742         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
32743         * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
32744         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
32745         * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
32746         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
32747         * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
32748         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
32749         * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
32750         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
32751         * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
32752         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
32753         * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
32754         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
32755         * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
32756         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
32757         * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
32758         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
32759         * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
32760         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
32761         * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
32762         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
32763         * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
32764         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
32765         * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
32766         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
32767         * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
32768         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
32769         * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
32770         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
32771         * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
32772         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
32773         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
32774         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
32775         Moved ...
32776         * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
32777         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
32778         * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
32779         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
32780         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
32781         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
32782         * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
32783         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
32784         * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
32785         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
32786         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
32787         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
32788         * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
32789         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
32790         * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
32791         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
32792         * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
32793         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
32794         * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
32795         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
32796         * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
32797         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
32798         * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
32799         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
32800         * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
32801         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
32802         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
32803         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
32804         Moved ...
32805         * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
32806         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
32807         * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
32808         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
32809         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
32810         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
32811         * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
32812         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
32813         * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
32814         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
32815         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
32816         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
32817         * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
32818         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
32819         * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
32820         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
32821         * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
32822         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
32823         * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
32824         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
32825         Moved ...
32826         * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
32827         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
32828         * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
32830         * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
32831         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
32832         (libpthread-sysdep_routines): Add elision-related stuff here instead.
32833         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
32834         * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
32835         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
32836         * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
32837         * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
32838         * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
32839         * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
32840         * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
32841         * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
32842         * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
32843         * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
32844         * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
32845         * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
32846         * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
32847         * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
32848         * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
32849         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
32850         * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
32851         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
32852         * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
32853         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
32854         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
32855         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
32856         * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
32857         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
32858         * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
32859         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
32860         * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
32862         * sysdeps/unix/sysv/linux/mips/fork.h: New file.
32863         * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
32865         * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
32866         * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
32867         * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
32868         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
32869         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
32870         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
32871         Moved ...
32872         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
32873         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
32874         Moved ...
32875         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
32876         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
32877         Moved ...
32878         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
32879         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
32880         Moved ...
32881         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
32882         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
32883         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
32884         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
32885         Moved ...
32886         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
32887         * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
32888         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
32889         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
32890         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
32891         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
32892         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
32893         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
32894         Moved ...
32895         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
32896         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
32897         Moved ...
32898         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
32899         ... here.
32900         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
32901         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
32902         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
32903         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
32904         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
32905         Moved ...
32906         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
32907         ... here.
32908         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
32909         Moved ...
32910         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
32911         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
32912         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
32913         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
32914         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
32915         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
32916         Moved ...
32917         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
32918         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
32919         Moved ...
32920         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
32921         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
32922         Moved ...
32923         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
32924         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
32925         Moved ...
32926         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
32927         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
32928         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
32929         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
32930         Moved ...
32931         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
32932         * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
32933         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
32934         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
32935         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
32936         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
32937         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
32938         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
32939         Moved ...
32940         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
32941         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
32942         Moved ...
32943         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
32944         ... here.
32945         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
32946         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
32947         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
32948         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
32949         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
32950         Moved ...
32951         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
32952         ... here.
32953         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
32954         Moved ...
32955         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
32956         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
32957         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
32958         * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
32959         * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
32960         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
32961         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
32962         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
32963         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
32964         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
32965         Moved ...
32966         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
32967         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
32968         Moved ...
32969         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
32970         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
32971         Moved ...
32972         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
32973         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
32974         Moved ...
32975         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
32976         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
32977         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
32978         * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
32979         * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
32980         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
32981         Moved ...
32982         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
32983         * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
32984         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
32985         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
32986         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
32987         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
32988         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
32989         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
32990         Moved ...
32991         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
32992         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
32993         Moved ...
32994         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
32995         ... here.
32996         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
32997         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
32998         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
32999         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
33000         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
33001         Moved ...
33002         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
33003         ... here.
33004         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
33005         Moved ...
33006         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
33007         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
33008         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
33009         * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
33010         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
33011         * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
33012         * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
33013         * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
33014         * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
33015         * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
33016         * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
33018         * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
33019         * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
33021         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
33022         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
33024         * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
33025         * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
33026         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
33027         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
33028         * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
33029         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
33030         * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
33031         * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
33032         * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
33033         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
33034         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
33035         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
33036         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
33037         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
33038         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
33039         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
33040         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
33041         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
33042         Moved ...
33043         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
33044         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
33045         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
33046         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
33047         Moved ...
33048         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
33049         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
33050         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
33051         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
33052         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
33053         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
33054         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
33055         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
33056         Moved ...
33057         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
33058         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
33059         Moved ...
33060         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
33061         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
33062         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
33063         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
33064         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
33065         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
33066         * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
33067         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
33068         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
33069         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
33070         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
33071         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
33072         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
33073         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
33074         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
33075         * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
33076         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
33078         * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
33079         * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
33080         * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
33081         * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
33082         * sysdeps/unix/sysv/linux/i386/fork.h: New file.
33084         * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
33085         * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
33086         * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
33087         * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
33088         * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
33089         * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
33090         * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
33091         * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
33092         * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
33093         * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
33095         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
33096         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
33098         * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
33099         * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
33100         * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
33101         * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
33102         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
33103         * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
33104         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
33105         * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
33106         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
33107         * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
33108         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
33109         * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
33110         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
33111         * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
33112         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
33113         Update #include.
33114         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
33115         Likewise.
33116         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
33117         Likewise.
33118         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
33119         Likewise.
33120         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
33121         Likewise.
33122         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
33123         Likewise.
33124         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
33125         Likewise.
33126         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
33127         Likewise.
33128         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
33129         Likewise.
33130         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
33131         Likewise.
33132         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
33133         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
33134         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
33135         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
33136         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
33137         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
33138         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
33139         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
33140         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
33141         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
33142         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
33143         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
33144         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
33145         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c:  Likewise.
33146         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c:  Likewise.
33148         * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
33149         that was previously under [RESET_PID].
33150         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
33151         * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
33152         * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
33154         * sysdeps/i386/nptl/Implies: New file.
33155         * sysdeps/x86_64/nptl/Implies: New file.
33156         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
33157         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
33158         * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
33159         * sysdeps/x86/nptl/bits/semaphore.h: ... here.
33161         * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
33162         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
33163         (__libc_vfork): New strong alias.
33164         * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
33165         * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
33167         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
33168         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
33169         (__libc_vfork): New strong alias.
33170         * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
33171         * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
33173         * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
33174         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
33175         (__libc_vfork): New strong alias.
33176         * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
33177         * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
33178         * nptl/pt-vfork.c: New file.
33179         * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
33180         (libpthread: GLIBC_2.20): New version set (empty).
33182 2014-05-14  Will Newton  <will.newton@linaro.org>
33184         * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
33185         rather than #if.
33187 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
33189         [BZ #16564]
33190         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
33191         arguments with exponent 65 or above.
33192         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
33193         arguments 0x1p113L or above.
33194         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
33195         to arguments 0x1p107L or above.
33196         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
33197         positive arguments with exponent 65 or above.
33198         * math/auto-libm-test-in: Add more tests of log1p.
33199         * math/auto-libm-test-out: Regenerated.
33201         [BZ #16928]
33202         * math/s_cacos.c (__cacos): Ensure zero real part of result from
33203         non-finite arguments is +0.
33204         * math/s_cacosf.c (__cacosf): Likewise.
33205         * math/s_cacosl.c (__cacosl): Likewise.
33206         * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
33207         * sysdeps/i386/fpu/libm-test-ulps: Update.
33208         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33210         [BZ #16927]
33211         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
33212         value.
33213         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
33214         * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
33215         * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
33216         for explicit high bit of mantissa when testing for argument equal
33217         to 1.
33218         * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
33219         * sysdeps/i386/fpu/libm-test-ulps: Update.
33220         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33222         [BZ #16516]
33223         * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
33224         (__erf): Scale by 16 instead of 8 in potentially underflowing
33225         case.  Ensure exception if result actually underflows.
33226         * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
33227         (__erff): Scale by 16 instead of 8 in potentially underflowing
33228         case.  Ensure exception if result actually underflows.
33229         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
33230         (efx8): Remove variable.
33231         (__erfl): Scale by 16 instead of 8 in potentially underflowing
33232         case.  Ensure exception if result actually underflows.
33233         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
33234         (efx8): Remove variable.
33235         (__erfl): Scale by 16 instead of 8 in potentially underflowing
33236         case.  Ensure exception if result actually underflows.
33237         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
33238         (efx8): Remove variable.
33239         (__erfl): Scale by 16 instead of 8 in potentially underflowing
33240         case.  Ensure exception if result actually underflows.
33241         * math/auto-libm-test-in: Add more tests of erf.
33242         * math/auto-libm-test-out: Regenerated.
33244 2014-05-14  Andreas Schwab  <schwab@suse.de>
33246         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
33247         Remove code conditionalized on USE___THREAD.
33249         * config.h.in (HAVE_PT_CHOWN): Define as 0.
33250         * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
33251         not definedness.
33253 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
33255         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
33256         Define unconditionally.
33257         (__ASSUME_O_CLOEXEC): Likewise.
33258         (__ASSUME_SOCK_CLOEXEC): Likewise.
33259         (__ASSUME_IN_NONBLOCK): Likewise.
33260         (__ASSUME_PIPE2): Likewise.
33261         (__ASSUME_EVENTFD2): Likewise.
33262         (__ASSUME_SIGNALFD4): Likewise.
33263         (__ASSUME_DUP3): Likewise.
33264         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
33265         (__ASSUME_DUP3): Do not define.
33266         (__ASSUME_EVENTFD2): Likewise.
33267         (__ASSUME_IN_NONBLOCK): Likewise.
33268         (__ASSUME_O_CLOEXEC): Likewise.
33269         (__ASSUME_PIPE2): Likewise.
33270         (__ASSUME_SIGNALFD4): Likewise.
33271         (__ASSUME_SOCK_CLOEXEC): Likewise.
33272         (__ASSUME_UTIMES): Undefine.
33273         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
33274         (__ASSUME_UTIMES): Do not define.
33275         (__ASSUME_O_CLOEXEC): Likewise.
33276         (__ASSUME_SOCK_CLOEXEC): Likewise.
33277         (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
33278         0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
33279         0x020621].
33280         (__ASSUME_PIPE2): Likewise.
33281         (__ASSUME_EVENTFD2): Likewise.
33282         (__ASSUME_SIGNALFD4): Likewise.
33283         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
33284         * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
33285         Do not define.
33286         (__ASSUME_EVENTFD2): Likewise.
33287         (__ASSUME_SIGNALFD4): Likewise.
33288         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
33289         (__ASSUME_32BITUIDS): Likewise.
33290         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
33291         (__ASSUME_IPC64): Likewise.
33292         (__ASSUME_ST_INO_64_BIT): Likewise.
33293         (__ASSUME_GETDENTS64_SYSCALL): Likewise.
33294         [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
33295         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
33296         (__ASSUME_UTIMES): Do not define.
33297         (__ASSUME_PSELECT): Likewise.
33298         (__ASSUME_PPOLL): Likewise.
33299         (__ASSUME_O_CLOEXEC): Likewise.
33300         (__ASSUME_SOCK_CLOEXEC): Likewise.
33301         (__ASSUME_IN_NONBLOCK): Likewise.
33302         (__ASSUME_PIPE2): Likewise.
33303         (__ASSUME_EVENTFD2): Likewise.
33304         (__ASSUME_SIGNALFD4): Likewise.
33305         (__ASSUME_DUP3): Likewise.
33306         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
33307         (__ASSUME_UTIMES): Likewise.
33308         (__ASSUME_O_CLOEXEC): Likewise.
33309         (__ASSUME_SOCK_CLOEXEC): Likewise.
33310         (__ASSUME_IN_NONBLOCK): Likewise.
33311         (__ASSUME_PIPE2): Likewise.
33312         (__ASSUME_EVENTFD2): Likewise.
33313         (__ASSUME_SIGNALFD4): Likewise.
33314         (__ASSUME_DUP3): Likewise.
33315         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
33316         (__ASSUME_UTIMES): Likewise.
33317         (__ASSUME_O_CLOEXEC): Likewise.
33318         (__ASSUME_SOCK_CLOEXEC): Likewise.
33319         (__ASSUME_IN_NONBLOCK): Likewise.
33320         (__ASSUME_PIPE2): Likewise.
33321         (__ASSUME_EVENTFD2): Likewise.
33322         (__ASSUME_SIGNALFD4): Likewise.
33323         (__ASSUME_DUP3): Likewise.
33324         * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
33325         Likewise.
33326         (__ASSUME_UTIMES): Likewise.
33327         (__ASSUME_EVENTFD2): Likewise.
33328         (__ASSUME_SIGNALFD4): Likewise.
33329         * sysdeps/unix/sysv/linux/tile/kernel-features.h
33330         (__ASSUME_O_CLOEXEC): Likewise.
33331         (__ASSUME_SOCK_CLOEXEC): Likewise.
33332         (__ASSUME_IN_NONBLOCK): Likewise.
33333         (__ASSUME_PIPE2): Likewise.
33334         (__ASSUME_EVENTFD2): Likewise.
33335         (__ASSUME_SIGNALFD4): Likewise.
33336         (__ASSUME_DUP3): Likewise.
33337         (__ASSUME_UTIMES): Undefine.
33339         * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
33340         feclearexcept.  Remove symbol versioning code.
33341         * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv.  Remove
33342         symbol versioning code.
33343         * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv.  Remove
33344         symbol versioning code.
33345         * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
33346         feupdateenv.  Remove symbol versioning code.
33347         * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
33348         fegetexceptflag.  Remove symbol versioning code.
33349         * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
33350         fesetexceptflag.  Remove symbol versioning code.
33351         * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
33352         GLIBC_2.2 and GLIBC_2.3.3 entries.  Change GLIBC_2.1 to GLIBC_2.4.
33353         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
33354         (__posix_fadvise64_l32): Remove prototype.
33355         [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
33356         code.
33358 2014-05-13  Roland McGrath  <roland@hack.frob.com>
33360         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
33361         * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
33362         * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
33363         * sysdeps/arm/nptl/bits/semaphore.h: ... here.
33365 2014-05-13  Sami Kerola  <kerolasa@iki.fi>
33367         * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
33368         current working directory
33370 2014-05-13  Roland McGrath  <roland@hack.frob.com>
33372         * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
33373         * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
33374         * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
33375         * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
33376         * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
33377         * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
33378         * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
33379         * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
33380         * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
33381         * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
33382         * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
33383         * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
33384         * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
33385         * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
33386         * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
33387         * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
33388         * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
33389         * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
33390         * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
33391         * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
33392         * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
33393         * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
33394         * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
33395         * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
33396         * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
33397         * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
33398         * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
33399         * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
33400         * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
33401         * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
33402         * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
33403         * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
33404         * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
33405         * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
33406         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
33407         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
33408         * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
33409         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
33410         * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
33411         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
33412         * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
33413         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
33415         * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
33416         * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
33418         * sysdeps/unix/sysv/linux/arm/Makefile
33419         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
33420         Add rt-aeabi_unwind_cpp_pr1.
33421         [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
33422         Add nptl-aeabi_unwind_cpp_pr1.
33423         [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
33424         * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
33425         * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
33426         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
33427         * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
33428         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
33430         * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
33431         * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
33432         * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
33433         * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
33435         * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
33436         Deconditionalize the code that was previously under [RESET_PID].
33437         * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
33439         * sysdeps/generic/exit-thread.h: New file.
33440         * sysdeps/unix/sysv/linux/exit-thread.h: New file.
33441         * include/unistd.h (__exit_thread): Remove declaration.
33442         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
33443         * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
33444         * csu/libc-start.c: Include <exit-thread.h>.
33445         (LIBC_START_MAIN): Pass no argument to __exit_thread.
33446         * nptl/pthread_create.c: Include <exit-thread.h>.
33447         (start_thread): Call __exit_thread in place of __exit_thread_inline.
33448         * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
33449         * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
33450         * nptl/sysdeps/s390/pthreaddef.h: Likewise.
33451         * nptl/sysdeps/sh/pthreaddef.h: Likewise.
33452         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
33453         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
33454         * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
33455         * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
33456         * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
33457         * sysdeps/arm/nptl/pthreaddef.h: Likewise.
33458         * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
33459         * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
33460         * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
33461         * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
33462         * sysdeps/mips/nptl/pthreaddef.h: Likewise.
33463         * sysdeps/tile/nptl/pthreaddef.h: Likewise.
33465 2014-05-13  Andreas Schwab  <schwab@suse.de>
33467         * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
33469 2014-05-12  Joseph Myers  <joseph@codesourcery.com>
33471         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
33472         (__ASSUME_UTIMES): Do not condition on kernel version.
33473         (__ASSUME_PSELECT): Define unconditionally.
33474         (__ASSUME_PPOLL): Likewise.
33475         (__ASSUME_ATFCTS): Likewise.
33476         (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
33477         (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
33478         (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
33479         (__ASSUME_UTIMENSAT): Define unconditionally.
33480         (__ASSUME_PRIVATE_FUTEX): Likewise.
33481         (__ASSUME_FALLOCATE): Likewise.
33482         (__ASSUME_O_CLOEXEC): Likewise.
33483         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
33484         (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
33485         (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
33486         (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
33487         (__ASSUME_IN_NONBLOCK): Likewise.
33488         (__ASSUME_PIPE2): Likewise.
33489         (__ASSUME_EVENTFD2): Likewise.
33490         (__ASSUME_SIGNALFD4): Likewise.
33491         (__ASSUME_DUP3): Likewise.
33492         [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
33493         (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
33494         (__ASSUME_AT_RANDOM): Likewise.
33495         (__ASSUME_PREADV): Likewise.
33496         (__ASSUME_PWRITEV): Likewise.
33497         (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
33498         (__ASSUME_F_GETOWN_EX): Define unconditionally.
33499         (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
33500         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
33501         [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
33502         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
33503         (__ASSUME_O_CLOEXEC): Define unconditionally.
33504         (__ASSUME_PSELECT): Do not undefine conditionally.
33505         (__ASSUME_PPOLL): Likewise.
33506         (__ASSUME_ATFCTS): Likewise.
33507         (__ASSUME_SET_ROBUST_LIST): Likewise.
33508         (__ASSUME_UTIMENSAT): Likewise.
33509         (__ASSUME_FDATASYNC): Define unconditionally.
33510         * sysdeps/unix/sysv/linux/arm/kernel-features.h
33511         (__ASSUME_SIGFRAME_V2): Likewise.
33512         )__ASSUME_EVENTFD2): Likewise.
33513         (__ASSUME_SIGNALFD4): Likewise.
33514         (__ASSUME_PSELECT): Do not undefine conditionally.
33515         (__ASSUME_PPOLL): Likewise.
33516         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
33517         (__ASSUME_PSELECT): Define unconditionally.
33518         (__ASSUME_PPOLL): Likewise.
33519         (__ASSUME_O_CLOEXEC): Likewise.
33520         (__ASSUME_SOCK_CLOEXEC): Likewise.
33521         (__ASSUME_IN_NONBLOCK): Likewise.
33522         (__ASSUME_PIPE2): Likewise.
33523         (__ASSUME_EVENTFD2): Likewise.
33524         (__ASSUME_SIGNALFD4): Likewise.
33525         (__ASSUME_DUP3): Likewise.
33526         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
33527         (__ASSUME_O_CLOEXEC): Likewise.
33528         (__ASSUME_SOCK_CLOEXEC): Likewise.
33529         (__ASSUME_IN_NONBLOCK): Likewise.
33530         (__ASSUME_PIPE2): Likewise.
33531         (__ASSUME_EVENTFD2): Likewise.
33532         (__ASSUME_SIGNALFD4): Likewise.
33533         (__ASSUME_DUP3): Likewise.
33534         * sysdeps/unix/sysv/linux/mips/kernel-features.h
33535         (__ASSUME_EVENTFD2): Likewise.
33536         (__ASSUME_SIGNALFD4): Likewise.
33537         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
33539 2014-05-12  Andreas Schwab  <schwab@suse.de>
33541         [BZ #16932]
33542         * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
33543         (_nss_nis_gethostbyname4_r): Return error if item length is larger
33544         than maximum RPC packet size.
33545         * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
33546         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
33547         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
33548         (_nss_nis_getservbyport_r): Likewise.
33550 2014-05-12  Will Newton  <will.newton@linaro.org>
33552         * malloc/Makefile (tests): Add tst-mallopt.
33553         * malloc/tst-mallopt.c: New file.
33555 2014-05-09  Roland McGrath  <roland@hack.frob.com>
33557         * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
33558         [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
33560 2014-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33562         * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
33563         (tst-tlsmod6.so): Likewise.
33565 2014-05-09  Roland McGrath  <roland@hack.frob.com>
33567         * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
33569 2014-05-09  Joseph Myers  <joseph@codesourcery.com>
33571         [BZ #16064]
33572         * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
33573         and <dl-procinfo.h>.
33574         (__fegetenv): Save SSE state in envp->__eip if supported.
33575         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
33576         envp->__eip if supported.
33577         * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
33578         and <dl-procinfo.h>.
33579         (__fesetenv): Always set __eip, __cs_selector, __opcode,
33580         __data_offset and __data_selector in environment to 0.  Set SSE
33581         state if supported.
33582         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
33583         test-fenv-sse.
33584         [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
33585         -mfpmath=sse.
33586         * sysdeps/x86/fpu/test-fenv-sse.c: New file.
33588 2014-05-09  Will Newton  <will.newton@linaro.org>
33590         * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
33591         and libc_relro_required for ARM.
33592         * sysdeps/arm/preconfigure: Regenerate.
33594 2014-05-09  Dominik Vogt  <vogt@linux.vnet.ibm.com>
33595             Stefan Liebler  <stli@linux.vnet.ibm.com>
33597         * config.make.in (enable-lock-elision): New Makefile variable.
33598         * configure.ac: Likewise.
33599         * configure: Regenerate.
33600         * sysdeps/s390/configure.ac:
33601         Add check for gcc transactions support.
33602         * sysdeps/s390/configure: Regenerate.
33603         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
33604         Build elision files if enabled.
33605         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
33606         Add lock elision support for s390.
33607         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
33608         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
33609         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
33610         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
33611         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
33612         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
33613         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
33614         Likewise.
33615         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
33616         Likewise.
33617         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
33618         Likewise.
33619         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
33620         Likewise.
33621         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
33622         (__lll_timedlock_elision, __lll_lock_elision)
33623         (__lll_unlock_elision, __lll_trylock_elision)
33624         (lll_timedlock_elision, lll_lock_elision)
33625         (lll_unlock_elision, lll_trylock_elision): Add.
33626         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
33627         (pthread_mutex_t): Add lock elision support for s390.
33629 2014-05-14  Wilco  <wdijkstr@arm.com>
33631         * sysdeps/arm/fclrexcpt.c: Cleanup.
33632         * sysdeps/arm/fedisblxcpt.c: Cleanup.
33633         * sysdeps/arm/feenablxcpt.c: Cleanup.
33634         * sysdeps/arm/fegetenv.c: Cleanup.
33635         * sysdeps/arm/fegetexcept.c: Cleanup.
33636         * sysdeps/arm/fegetround.c: Cleanup.
33637         * sysdeps/arm/feholdexcpt.c: Cleanup.
33638         * sysdeps/arm/fesetenv.c: Cleanup.
33639         * sysdeps/arm/fesetround.c: Cleanup.
33640         * sysdeps/arm/feupdateenv.c: Cleanup.
33641         * sysdeps/arm/fgetexcptflg.c: Cleanup.
33642         * sysdeps/arm/fraiseexcpt.c: Cleanup.
33643         * sysdeps/arm/fsetexcptflg.c: Cleanup.
33644         * sysdeps/arm/ftestexcept.c: Cleanup.
33645         * sysdeps/arm/get-rounding-mode.h: Cleanup.
33646         * sysdeps/arm/setfpucw.c: Cleanup.
33648 2014-05-09  Will Newton  <will.newton@linaro.org>
33650         * sysdeps/arm/armv7/strcmp.S: New file.
33651         * NEWS: Mention addition of ARMv7 optimized strcmp.
33653 2014-05-08  Roland McGrath  <roland@hack.frob.com>
33655         * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
33656         look for %.ac rather than %.in.
33658         * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
33659         * sysdeps/unix/sysv/linux/configure.ac: Likewise.
33660         * sysdeps/mach/hurd/configure: Regenerated.
33661         * sysdeps/unix/sysv/linux/configure: Regenerated.
33663         * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
33665 2014-05-07  Steve Ellcey  <sellcey@mips.com>
33667         [BZ# 16922]
33668         * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
33669         (LONG_SUB): Ditto.
33670         (PTR_SUB): Ditto.
33672 2014-05-07  Andreas Schwab  <schwab@suse.de>
33674         * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
33675         when skipping over non-matching result from nscd.
33677 2014-05-07  Ondřej Bílka  <neleai@seznam.cz>
33679         [BZ #16876]
33680         * nptl/sockperf.c (client): Check socket return value.
33682         [BZ #16877]
33683         * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
33684         nscd security class.
33686 2014-05-06  Roland McGrath  <roland@hack.frob.com>
33688         * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
33689         * sysdeps/arm/unwind.h: ... here.
33691 2014-05-06  Aurelien Jarno  <aurelien@aurel32.net>
33693         [BZ# 16916]
33694         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
33695         Define.
33697 2014-05-06  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
33699         * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
33700         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
33701         multiarch strncpy for PPC64.
33702         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
33703         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
33704         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
33705         multiarch optimizations.
33706         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
33707         (__libc_ifunc_impl_list): Likewise.
33708         * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
33709         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
33710         multiarch stpncpy for PPC64.
33711         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
33712         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
33714 2014-05-06  Andreas Schwab  <schwab@suse.de>
33716         [BZ #16912]
33717         * gmon/mcount.c (_MCOUNT_DECL): Use
33718         atomic_compare_and_exchange_bool_acq instead of
33719         catomic_compare_and_exchange_bool_acq.
33721 2014-05-05  Roland McGrath  <roland@hack.frob.com>
33723         * elf/Makefile (others, install-bin): Remove pldd.
33724         (pldd-modules): Variable removed.
33725         ($(objpfx)pldd): Target removed.
33726         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
33727         (others, install-bin): Append pldd here.
33728         ($(objpfx)pldd): New target.
33730         * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
33731         to 0, so the first #if test emitted later doesn't see it undefined.
33732         (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
33733         * sysdeps/gnu/errlist.c: Regenerated.
33735 2014-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33737         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
33738         [libc_hidden_builtin_def]: Define to empty value.
33739         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
33740         [libc_hidden_builtin_def]: Likewise.
33741         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
33742         [libc_hidden_builtin_def]: Likewise.
33743         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
33744         [libc_hidden_builtin_def]: Likewise.
33745         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
33746         __redirect_memcpy and define ifunc as default hidden symbol.
33747         * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
33748         * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
33750 2014-05-04  Adam Conrad  <adconrad@0c3.net>
33752         * locale/iso-4217.def: Reintroduce XDR currency.
33754 2014-05-04  Allan McRae  <allan@archlinux.org>
33756         * po/eo.po: Update Esperanto translation from translation project.
33758 2014-05-02  Carlos O'Donell  <carlos@redhat.com>
33760         * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
33761         and FEATURE_INDEX_MAX to 1.
33762         [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
33764 2014-05-01  Steve Ellcey  <sellcey@mips.com>
33766         * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
33767         * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
33768         * iconvdata/big5.c (ONE_DIRECTION): Define.
33769         * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
33770         * iconvdata/cp1255.c (ONE_DIRECTION): Define.
33771         * iconvdata/cp1258.c (ONE_DIRECTION): Define.
33772         * iconvdata/cp932.c (ONE_DIRECTION): Define.
33773         * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
33774         * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
33775         * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
33776         * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
33777         * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
33778         * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
33779         * iconvdata/gb18030.c (ONE_DIRECTION): Define.
33780         * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
33781         * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
33782         * iconvdata/gbk.c (ONE_DIRECTION): Define.
33783         * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
33784         * iconvdata/ibm930.c (ONE_DIRECTION): Define.
33785         * iconvdata/ibm932.c (ONE_DIRECTION): Define.
33786         * iconvdata/ibm933.c (ONE_DIRECTION): Define.
33787         * iconvdata/ibm935.c (ONE_DIRECTION): Define.
33788         * iconvdata/ibm937.c (ONE_DIRECTION): Define.
33789         * iconvdata/ibm939.c (ONE_DIRECTION): Define.
33790         * iconvdata/ibm943.c (ONE_DIRECTION): Define.
33791         * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
33792         * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
33793         * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
33794         * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
33795         * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
33796         * iconvdata/iso646.c (ONE_DIRECTION): Define.
33797         * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
33798         * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
33799         * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
33800         * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
33801         * iconvdata/johab.c (ONE_DIRECTION): Define.
33802         * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
33803         * iconvdata/sjis.c (ONE_DIRECTION): Define.
33804         * iconvdata/t.61.c (ONE_DIRECTION): Define.
33805         * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
33806         * iconvdata/tscii.c (ONE_DIRECTION): Define.
33807         * iconvdata/uhc.c (ONE_DIRECTION): Define.
33808         * iconvdata/unicode.c (ONE_DIRECTION): Define.
33809         * iconvdata/utf-16.c (ONE_DIRECTION): Define.
33810         * iconvdata/utf-32.c (ONE_DIRECTION): Define.
33811         * iconvdata/utf-7.c (ONE_DIRECTION): Define.
33813 2014-05-01  Roland McGrath  <roland@hack.frob.com>
33815         * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
33816         (_IO_JUMPS_OFFSET): Define to 0.
33818         * nptl/sysdeps/pthread/bits/libc-lock.h
33819         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
33820         (__libc_lock_define_initialized_recursive): Always define using
33821         initializer.  Modern compilers treat uninitialized (implicit zero) and
33822         explicit zero initializers the same (i.e. put the datum in bss).
33824 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
33826         * nscd/nscd-client.h: Include <string.h>.
33828 2014-05-01  David S. Miller  <davem@davemloft.net>
33830         [BZ #16885]
33831         * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
33832         multiple zero bytes exist at the end of a string.
33833         Reported by Aurelien Jarno <aurelien@aurel32.net>
33835         * string/test-strcmp.c (check): Add explicit test for situations where
33836         there are multiple zero bytes after the first.
33838 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
33840         [BZ #16890]
33841         * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
33842         when compiling wprintf.
33843         * stdio-common/tstdiomisc.c (t3): New function.
33844         (main): Call it.
33846 2014-05-01  Steve Ellcey  <sellcey@mips.com>
33848         * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
33849         * iconv/gconv_simple.c (ONE_DIRECTION): Define.
33850         * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
33851         * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
33853 2014-05-01  Steve Ellcey  <sellcey@mips.com>
33855         * stdlib/longlong.h: Updated from GCC.
33857 2014-05-01  Will Newton  <will.newton@linaro.org>
33858             Bernard Ogden  <bernie.ogden@linaro.org>
33860         * NEWS: Update fixed bug list.
33862         [BZ #15119]
33863         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
33865 2014-04-30  David S. Miller  <davem@davemloft.net>
33867         * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
33868         (libc_feholdexcept_setround_sparc_ctx): New function.
33869         (libc_fesetenv_sparc_ctx): Likewise.
33870         (libc_feupdateenv_sparc_ctx): Likewise.
33871         (libc_feholdsetround_sparc_ctx): Likewise.
33872         (libc_feholdexcept_setround_ctx): Define.
33873         (libc_feholdexcept_setroundf_ctx): Likewise.
33874         (libc_feholdexcept_setroundl_ctx): Likewise.
33875         (libc_fesetenv_ctx): Likewise.
33876         (libc_fesetenvf_ctx): Likewise.
33877         (libc_fesetenvl_ctx): Likewise.
33878         (libc_feupdateenv_ctx): Likewise.
33879         (libc_feupdateenvf_ctx): Likewise.
33880         (libc_feupdateenvl_ctx): Likewise.
33881         (libc_feresetround_ctx): Likewise.
33882         (libc_feresetroundf_ctx): Likewise.
33883         (libc_feresetroundl_ctx): Likewise.
33884         (libc_feholdsetround_ctx): Likewise.
33885         (libc_feholdsetroundf_ctx): Likewise.
33886         (libc_feholdsetroundl_ctx): Likewise.
33888         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
33889         with __USE_GNU instead of XOPEN cpp guards.
33891         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
33892         0.
33894         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
33895         with XOPEN cpp guards.
33897 2014-04-30  Julian Brown  <julian@codesourcery.com>
33899         [BZ #16888]
33900         * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
33901         handling.
33903 2014-04-30  Joseph Myers  <joseph@codesourcery.com>
33905         [BZ #9894]
33906         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
33907         Change to 2.6.32.
33908         (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
33909         * sysdeps/unix/sysv/linux/configure: Regenerated.
33910         * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
33911         * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
33912         * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
33913         * sysdeps/unix/sysv/linux/tile/configure: Likewise.
33914         * README: Update reference to required Linux kernel version.
33915         * manual/install.texi (Linux): Update reference to required Linux
33916         kernel headers version.
33917         * INSTALL: Regenerated.
33919         * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
33920         header inclusion.
33921         [POSIX] (limits.h): Likewise.
33922         [POSIX] (math.h): Likewise.
33923         [POSIX] (sys/wait.h): Likewise.
33924         * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
33925         function.
33926         [POSIX] (stddef.h): Do not allow header inclusion.
33928 2014-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33930         * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
33932 2014-04-30  Yang Yingliang  <yangyingliang@huawei.com>
33934         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
33935         Return immediately after lll_futex_wake.
33937 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
33939         [BZ #16791]
33940         * nscd/nscd-client.h (datahead_init_common): Initialize entire
33941         structure.
33942         (datahead_init_pos): Call datahead_init_common early.
33943         (datahead_init_neg): Likewise.
33945         * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
33946         datahead_init_neg): New functions.
33947         * nscd/aicache.c (addhstaiX): Use them.
33948         * nscd/grpcache.c (cache_addgr): Likewise.
33949         * nscd/hstcache.c (cache_addhst): Likewise.
33950         * nscd/initgrcache.c (addinitgroupsX): Likewise.
33951         * nscd/netgroupcache.c (do_notfound): Likewise.
33952         (addgetnetgrentX): Likewise.
33953         (addinnetgrX): Likewise.
33954         * nscd/pwdcache.c (cache_addpw): Likewise.
33955         * nscd/servicescache.c (cache_addserv): Likewise.
33957 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
33958             Atsushi Onoe  <atsushi@onoe.org>
33960         [BZ #14308]
33961         [BZ #12994]
33962         [BZ #13651]
33963         * resolv/res_query.c (__libc_res_nsearch): Return if at least
33964         one response is valid.
33965         * resolv/res_send.c (send_dg): Check for validity of other
33966         response if the current response is a referral.
33968 2014-04-29  Steve Ellcey  <sellcey@mips.com>
33970         * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
33972 2014-04-29  Stefan Liebler  <stli@linux.vnet.ibm.com>
33974         [BZ #16823]
33975         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
33976         Always divide by positive zero when computing -Inf result.
33977         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
33978         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
33980 2014-04-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33982         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
33983         FPSCR if value do not change.
33984         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
33985         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
33986         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
33987         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
33988         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
33989         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
33990         function.
33992 2014-05-29  Carlos O'Donell  <carlos@systemhalted.org>
33994         * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
33995         * sysdeps/unix/sysv/linux/hppa: Move directory from
33996         ports/systeps/unix/sysv/linux/hppa.
33997         * README: Update listing for hppa-*-linux-gnu.
33999 2014-04-28  Ondřej Bílka  <neleai@seznam.cz>
34001         [BZ #16754]
34002         * manual/stdio.texi (Hook functions): Fix types of stream hook
34003         functions.
34004         [BZ #16854]
34005         * socket/sys/socket.h: Fix typo in comment.
34007 2014-04-28  Wilco  <wdijkstr@arm.com>
34009         * sysdeps/arm/fenv_private.h: New file.
34010         * sysdeps/arm/math_private.h: New file.
34011         * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
34013 2014-04-25  H.J. Lu  <hongjiu.lu@intel.com>
34015         * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
34016         with __int128_t.
34017         (La_x86_64_retval): Likewise.
34019 2014-04-24  Ian Bolton  <ian.bolton@arm.com>
34021         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
34022         fpsr if value didn't change.
34023         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
34024         to fpcr if value didn't change.
34025         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
34026         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
34027         fpsr or fpcr if value didn't change.
34028         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
34029         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
34030         fpcr if value didn't change.
34031         * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
34032         to fpsr if value didn't change.
34034 2014-02-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
34036         * nptl/tst-sem3.c: Use test-skeleton.c
34037         (main): Rename to do_test.  Use return instead of
34038         exit.
34039         * nptl/tst-sem4.c: Use test-skeleton.c
34040         (main): Rename to do_test.
34042 2014-04-22  David S. Miller  <davem@davemloft.net>
34044         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
34045         (struct sigaction): New struct member __glibc_reserved0, change
34046         type of sa_flags to int.
34048 2014-04-22  Yufeng Zhang  <yufeng.zhang@arm.com>
34050         * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
34051         (COUNT_LEADING_ZEROS_0): Define for AArch64.
34053 2014-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
34055         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
34056         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
34058 2014-04-22  Will Newton  <will.newton@linaro.org>
34059             Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
34061         * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
34062         (__longjmp): Add longjmp and longjmp_target SystemTap
34063         probes.
34064         * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
34065         (__sigsetjmp): Add setjmp SystemTap probe.
34067 2014-04-17  Carlos O'Donell  <carlos@redhat.com>
34069         * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
34070         match manual order.
34072 2014-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34074         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
34076         * sysdeps/powerpc/fpu/fenv_private.h
34077         (libc_feholdexcept_setroundl_ctx): Define to
34078         libc_feholdexcept_setround_ppc_ctx.
34079         (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
34080         (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
34081         (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
34082         (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
34084 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
34086         * sysdeps/aarch64/math-tests.h: New file.
34088 2014-04-17  Sihai Yao  <sihai.ysh@alibaba-inc.com>
34090         * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
34091         New.
34092         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
34093         Check and set bit_AVX2_Usable.
34094         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
34095         macro.
34096         (bit_AVX2): Likewise.
34097         (index_AVX2_Usable): Likewise.
34098         (CPUID_AVX2): Likewise.
34099         (HAS_AVX2): Likewise.
34101 2014-04-17  Will Newton  <will.newton@linaro.org>
34103         * manual/setjmp.texi (System V contexts): Add note that
34104         calling setcontext on a context created by a call to a
34105         signal handler is undefined.  Update text to note that
34106         setcontext from a signal handler is possible but not
34107         recommended.
34109         [BZ #16629]
34110         * stdlib/tst-setcontext.c: Include signal.h.
34111         (main): Check that the signal stack before and
34112         after swapcontext is the same.
34114         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
34115         Re-implement to restore registers in user code and avoid
34116         rt_sigreturn system call.
34118 2014-04-17  Wilco  <wdijkstr@arm.com>
34120         * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
34121         * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
34122         * math/test-fenv.c: Skip exception trap tests on targets which only
34123         support non-stop mode.
34125 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
34126             Wilco Dijkstra  <wilco.dijkstra@arm.com>
34128         * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
34129         (libc_feholdsetround_aarch64_ctx)
34130         (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
34131         (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
34132         (libc_feresetround_ctx, libc_feresetroundf_ctx)
34133         (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
34134         (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
34135         (libc_feresetround_noexl_ctx): Define.
34137 2014-04-16  Richard Henderson  <rth@redhat.com>
34139         * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
34141         * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
34142         unwind tables.
34144         * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
34145         const from the non-libc, non-ldso copy.
34147         * sysdeps/alpha/libm-test-ulps: Regenerate.
34149 2014-04-16  Ian Bolton  <ian.bolton@arm.com>
34150             Wilco Dijkstra  <wilco.dijkstra@arm.com>
34152         * sysdeps/aarch64/fpu/math_private.h: New file.
34154 2014-04-16  Marcus Shawcroft  <marcus.shawcroft@arm.com>
34156         * sysdeps/aarch64/libm-test-ulps: Regenerate.
34158 2014-04-16  Igor Zamyatin  <igor.zamyatin@intel.com>
34160         [BZ #16275]
34161         * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
34162         (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
34163         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
34164         Intel MPX bound registers before _dl_profile_fixup.
34165         * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
34166         registers after _dl_profile_fixup.  Save and restore bound
34167         registers bnd0/bnd1 when calling _dl_call_pltexit.
34168         * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
34169         (LR_BND_OFFSET): Likewise.
34170         (LRV_BND0_OFFSET): Likewise.
34171         (LRV_BND1_OFFSET): Likewise.
34173 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
34175         * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
34176         to...
34177         * sysdeps/mach/hurd/i386/tls.h: ... here.
34178         (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
34179         pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
34180         fields.
34182 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
34184         * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
34186 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
34188         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
34190 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
34192         [BZ #14770]
34193         * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
34194         * sysdeps/s390/configure: Regenerate.
34196         [BZ #16824]
34197         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
34198         Set round-to-nearest internally to reduce error accumulation.
34200 2014-04-16  Alan Modra  <amodra@gmail.com>
34202         [BZ #16740]
34203         [BZ #16619]
34204         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
34205         * math/libm-test.inc (frexp_test_data): Add tests.
34206         * NEWS: Update fixed bug list.
34208 2014-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
34210         * benchtests/Makefile: Depend on libraries in build directory.
34211         (bench-math): Separate out math tests.
34212         (bench-pthread): Separate out pthread tests.
34213         (bench): Include math and pthread tests.
34215 2014-04-14  Carlos O'Donell  <carlos@redhat.com>
34217         [BZ #16831]
34218         * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
34219         _dl_debug_initialize.
34221         * configure.ac: Remove SELinux header check.
34222         * configure: Regenerate.
34223         * nscd/selinux.c (perms): Array of const char* to permission names.
34224         (nscd_request_avc_has_perm): Call security_deny_unknown to find
34225         default policy. Call string_to_security_class and string_to_av_perm to
34226         translate strings. Enforce default policy and call avs_has_perm with
34227         results of translated strings.
34229 2014-04-13  David S. Miller  <davem@davemloft.net>
34231         * sysdeps/sparc/fpu/libm-test-ulps: Update.
34233 2014-04-12  Allan McRae  <allan@archlinux.org>
34235         [BZ #16838]
34236         * manual/string.texi (Collation Functions): Fix qsort argument
34237         order in example.
34238         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
34240 2014-04-11  Chris Metcalf  <cmetcalf@tilera.com>
34242         * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
34243         Make the test a no-op if there are no exceptions defined.
34245 2014-04-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
34247         * elf/Makefile (tests): make tst-dlopen-aout conditional on
34248         enable-hardcoded-path-in-tests
34250 2014-04-11  Will Newton  <will.newton@linaro.org>
34252         * benchtests/Makefile (extra-objs): Add json-lib.o.
34253         (bench-func): Tidy up JSON output.
34254         * benchtests/bench-skeleton.c: Include json-lib.h.
34255         (main): Use JSON library functions to do output of
34256         benchmark results.
34257         * benchtests/bench-timing-type.c (main): Output the
34258         timing type simply, leaving formatting to the user.
34259         * benchtests/json-lib.c: New file.
34260         * benchtests/json-lib.h: Likewise.
34262 2014-04-11  Torvald Riegel  <triegel@redhat.com>
34264         [BZ #15215]
34265         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
34266         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here.  Add missing
34267         memory barriers.  Add comments.
34268         * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
34269         * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
34270         * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
34271         * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
34272         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
34273         * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
34275 2014-04-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
34277         * sysdeps/s390/s390-32/configure.ac: Unify file with ...
34278         * sysdeps/s390/s390-64/configure.ac: ... this ...
34279         * sysdeps/s390/configure.ac: ... to here.
34280         * sysdeps/s390/s390-32/configure: Delete file.
34281         * sysdeps/s390/s390-64/configure: Delete file.
34282         * sysdeps/s390/configure: Regenerate.
34284 2014-04-11  Joseph Anthony Pasquale Holsten  <joseph@josephholsten.com>
34286         * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
34288 2014-04-11  Will Newton  <will.newton@linaro.org>
34290         * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
34291         to zero if it is not defined elsewhere.  (mtrim): Test
34292         the value of MALLOC_DEBUG with #if rather than #ifdef.
34294 2014-04-10 Torvald Riegel  <triegel@redhat.com>
34296         * benchtests/pthread_once-inputs: New file.
34297         * benchtests/pthread_once-source.c: New file.
34298         * benchtests/README: Update documentation.
34300 2014-04-09  Igor Zamyatin  <igor.zamyatin@intel.com>
34301             H.J. Lu  <hongjiu.lu@intel.com>
34303         [BZ #16275]
34304         * config.h.in (HAVE_MPX_SUPPORT): New #undef.
34305         * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
34306         * sysdeps/x86_64/configure: Regenerated.
34307         * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
34308         macro.
34309         (REGISTER_SAVE_RAX): Likewise.
34310         (REGISTER_SAVE_RCX): Likewise.
34311         (REGISTER_SAVE_RDX): Likewise.
34312         (REGISTER_SAVE_RSI): Likewise.
34313         (REGISTER_SAVE_RDI): Likewise.
34314         (REGISTER_SAVE_R8): Likewise.
34315         (REGISTER_SAVE_R9): Likewise.
34316         (REGISTER_SAVE_BND0): Likewise.
34317         (REGISTER_SAVE_BND1): Likewise.
34318         (REGISTER_SAVE_BND2): Likewise.
34319         (_dl_runtime_resolve): Use them.  Save and restore Intel MPX
34320         bound registers when calling _dl_fixup.
34322 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34324         * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
34325         * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
34326         of its definition.
34327         * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
34328         * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
34329         * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
34330         * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
34331         * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
34332         * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
34333         * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
34335 2014-04-09  Peter Brett  <peter@peter-b.co.uk>
34337         [BZ #15514]
34338         * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
34339         pathconf(_PC_NAME_MAX).
34341 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34343         * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
34344         Remove macro usage.
34345         (__PTHREAD_SPINS): Move definition to ...
34346         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
34347         (__PTHREAD_SPINS): ... here.
34348         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
34349         (__PTHREAD_SPIN): Likewise.
34350         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
34351         (__PTHREAD_SPIN): Likewise.
34352         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
34353         (__PTHREAD_SPIN): Likewise.
34354         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
34355         (__PTHREAD_SPIN): Likewise.
34356         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
34357         (__PTHREAD_SPIN): Likewise.
34358         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
34359         (__PTHREAD_SPIN): Likewise.
34360         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
34361         (__PTHREAD_SPIN): Likewise.
34362         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
34363         (__PTHREAD_SPIN): Likewise.
34364         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
34365         (__PTHREAD_SPIN): Likewise.
34366         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
34367         (__PTHREAD_SPIN): Likewise.
34368         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
34369         (__PTHREAD_SPIN): Likewise.
34370         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
34371         (__PTHREAD_SPIN): Likewise.
34373         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
34374         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
34375         * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
34376         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
34377         imply folder.
34378         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
34379         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
34380         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
34381         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
34382         correct imply path.
34383         * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
34384         strlen symbol for non multi-arch builds.
34385         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
34386         missing hidden_def and weak_alias.
34388 2014-04-08  Carlos O'Donell  <carlos@redhat.com>
34390         * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
34392 2014-04-07  Will Newton  <will.newton@linaro.org>
34394         * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
34395         and contents.  [!_LIBC] Remove #ifndef and contents.
34396         (basename): Use ANSI prototype.  [_LIBC] Remove #idef.
34397         * string/memccpy.c (__memccpy): Use ANSI prototype.
34398         * string/memfrob.c (memfrob): Likewise.
34399         * string/strcoll.c (STRCOLL): Likewise.
34400         * string/strlen.c (strlen): Likewise.
34401         * string/strtok.c (STRTOK): Likewise.
34402         * string/strcat.c: Remove unused #include of memcopy.h.
34403         (strcat): Use ANSI prototype.
34404         * string/strchr.c: Remove unused #include of memcopy.h.
34405         (strchr): Use ANSI prototype.
34406         * string/strcmp.c: Remove unused #include of memcopy.h.
34407         (strcmp): Use ANSI prototype.
34408         * string/strcpy.c: Remove unused #include of memcopy.h.
34409         (strcpy): Use ANSI prototype.
34411 2014-04-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34413         * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
34414         * config.make.in (config-extra-cppflags): Set it from
34415         libc_extra_cppflags.
34416         * configure.ac (libc_extra_cflags): Make it accumulate over
34417         configure fragments.
34418         (libc_extra_cppflags): New flag.
34419         * configure. Regenerate.
34420         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
34421         (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
34422         not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
34423         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
34425         [BZ #16815]
34426         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
34427         result for FE_DOWNWARD rounding mode.
34428         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
34429         Likewise.
34430         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34432 2014-04-04  Chris Metcalf  <cmetcalf@tilera.com>
34434         * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
34435         in function argument name.
34437 2014-04-03  David Svoboda  <svoboda@cert.org>
34439         [BZ #5666]
34440         * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
34441         explicitly.
34443 2014-04-03  Roland McGrath  <roland@hack.frob.com>
34445         * elf/dl-unmap-segments.h: New file.
34446         * sysdeps/generic/ldsodefs.h
34447         (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
34448         * elf/dl-close.c: Include <dl-unmap-segments.h>.
34449         * elf/dl-fptr.c: Likewise.
34450         (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
34451         * sysdeps/aarch64/tlsdesc.c: Likewise.
34452         * sysdeps/arm/tlsdesc.c: Likewise.
34453         * sysdeps/i386/tlsdesc.c: Likewise.
34454         * sysdeps/tile/dl-runtime.c: Likewise.
34455         * sysdeps/x86_64/tlsdesc.c: Likewise.
34456         * elf/dl-load.h: New file.
34457         * elf/dl-load.c: Include it.
34458         (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
34459         Macros moved to dl-load.h.
34460         (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
34461         (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
34462         Use _dl_unmap_segments in place of __munmap.
34463         Break out segment-mapping loop into ...
34464         * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
34466 2014-04-03  Will Newton  <will.newton@linaro.org>
34468         * elf/dl-lookup.c (do_lookup_x): Remove comment
34469         referring to nested function and move variable
34470         declarations down to before first use.
34472 2014-04-02  Joseph Myers  <joseph@codesourcery.com>
34474         [BZ #16799]
34475         [BZ #16800]
34476         * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
34477         with 0 numerator.
34478         * math/s_catanf.c (__catanf): Likewise.
34479         * math/s_catanh.c (__catanh): Likewise.
34480         * math/s_catanhf.c (__catanhf): Likewise.
34481         * math/s_catanhl.c (__catanhl): Likewise.
34482         * math/s_catanl.c (__catanl): Likewise.
34483         * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
34484         by positive zero when computing -Inf result.
34485         * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
34486         (catanh_test): Likewise.
34487         * sysdeps/i386/fpu/libm-test-ulps: Update.
34488         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34490         [BZ #16789]
34491         * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
34492         instead of using underflowing value in computing result.
34493         * math/s_clog10.c (__clog10): Likewise.
34494         * math/s_clog10f.c (__clog10f): Likewise.
34495         * math/s_clog10l.c (__clog10l): Likewise.
34496         * math/s_clogf.c (__clogf): Likewise.
34497         * math/s_clogl.c (__clogl): Likewise.
34498         * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
34499         (clog10_test): Likewise.
34500         * sysdeps/i386/fpu/libm-test-ulps: Update.
34501         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34503 2014-04-02  Alan Modra  <amodra@gmail.com>
34505         [BZ #16739]
34506         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
34507         output when value is near a power of two.  Use int64_t for lx and
34508         remove casts.  Use decimal rather than hex exponent constants.
34509         Don't use long double multiplication when double will suffice.
34510         * math/libm-test.inc (nextafter_test_data): Add tests.
34511         * NEWS: Add 16739 and 16786 to bug list.
34513         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
34515         * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
34517 2014-04-01  Will Newton  <will.newton@linaro.org>
34519         * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
34520         -fno-builtin.  (CFLAGS-bench-ffsll.c): Likewise.
34522 2014-04-01  Florian Weimer  <fweimer@redhat.com>
34524         [BZ #13347]
34525         * nptl/nptl-init.c (sighandler_setxid): Check system call result.
34526         * nptl/tst-setuid2.c: New file.
34527         * nptl/Makefile (xtests): Add tst-setuid2.
34529 2014-04-01  Alan Modra  <amodra@gmail.com>
34531         [BZ #16786]
34532         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
34534 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
34536         [BZ #6803]
34537         [BZ #6804]
34538         * math/w_scalb.c (__scalb): For non-SVID mode, check result and
34539         set errno as appropriate.
34540         * math/w_scalbf.c (__scalbf): Likewise.
34541         * math/w_scalbl.c (__scalbl): Likewise.
34542         * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
34543         ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
34544         * math/libm-test.inc (scalb_test_data): Add errno expectations.
34545         Add more NaN tests.
34547         [BZ #16349]
34548         * math/w_atan2.c: Include <errno.h>.
34549         (__atan2): Set errno for result underflowing to zero.
34550         * math/w_atan2f.c: Include <errno.h>.
34551         (__atan2f): Set errno for result underflowing to zero.
34552         * math/w_atan2l.c: Include <errno.h>.
34553         (__atan2l): Set errno for result underflowing to zero.
34554         * math/auto-libm-test-in: Don't allow missing errno for some atan2
34555         tests.
34556         * math/auto-libm-test-out: Regenerated.
34558 2014-03-31  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34560         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
34561         Encode instruction correctly in little endian.
34562         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
34563         Likewise.
34564         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
34565         Likewise.
34566         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
34567         Likewise.
34568         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
34569         Likewise.
34571 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
34573         [BZ #9894]
34574         * sysdeps/unix/sysv/linux/kernel-features.h
34575         [__sparc__ && !__arch64__ && !__sparc_v9__]
34576         (__ASSUME_SET_ROBUST_LIST): Do not define.
34577         [__sparc__ && !__arch64__ && !__sparc_v9__]
34578         (__ASSUME_FUTEX_LOCK_PI): Likewise.
34579         [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
34580         Likewise.
34581         * sysdeps/unix/sysv/linux/arm/kernel-features.h
34582         (__ASSUME_FUTEX_LOCK_PI): Undefine.
34583         (__ASSUME_REQUEUE_PI): Likewise.
34584         (__ASSUME_SET_ROBUST_LIST): Likewise.
34585         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
34586         [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
34587         Undefine.
34588         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
34589         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
34590         Likewise.
34591         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
34592         Likewise.
34593         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
34594         Likewise.
34595         * sysdeps/unix/sysv/linux/mips/kernel-features.h
34596         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
34597         Undefine.
34598         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
34599         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
34600         Likewise.
34602         [BZ #16648]
34603         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
34604         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
34605         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
34607 2014-03-31  Will Newton  <will.newton@linaro.org>
34609         * benchtests/Makefile (bench): Add ffs and ffsll to list
34610         of tests.
34611         * benchtests/ffs-inputs: New file.
34612         * benchtests/ffsll-inputs: Likewise.
34614 2014-03-29  Joseph Myers  <joseph@codesourcery.com>
34616         [BZ #16770]
34617         * math/e_scalb.c (__ieee754_scalb): Check second argument is not
34618         too large before casting to int.
34619         * math/e_scalbf.c (__ieee754_scalbf): Likewise.
34620         * math/e_scalbl.c (__ieee754_scalbl): Likewise.
34621         * math/libm-test.inc (scalb_test_data): Add more tests.
34623 2014-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
34625         * benchtests/Makefile (DETAILED_OPT): New make option.
34626         (bench-func): Run benchmark program with -d if DETAILED_OPT is
34627         set.
34628         * benchtests/bench-skeleton.c: Include stdbool.h.
34629         (main): Store and print timings per input.
34630         * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
34631         member to each argument value.
34632         (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
34633         (_print_arg_data): Initialize per-input timing to 0.
34635         * benchtests/Makefile (timing-type): New binary.
34636         (bench-clean): Also remove bench-timing-type.
34637         (bench): New target for timing-type.
34638         (bench-func): Print output in JSON format.
34639         * benchtests/bench-skeleton.c (main): Print output in JSON
34640         format.
34641         * benchtests/bench-timing-type.c: New file.
34642         * benchtests/bench-timing.h (TIMING_TYPE): New macro.
34643         (TIMING_PRINT_STATS): Remove.
34644         * benchtests/scripts/bench.py (_print_arg_data): Store variant
34645         name separately.
34647         * benchtests/bench-modf.c: Remove.
34648         * benchtests/modf-inputs: New inputs file.
34650 2014-03-28  Joseph Myers  <joseph@codesourcery.com>
34652         [BZ #16362]
34653         * math/s_clog10.c (M_PI_LOG10E): New macro.
34654         (__clog10): Use M_PI_LOG10E instead of M_PI when real and
34655         imaginary parts are 0.
34656         * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
34657         (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
34658         imaginary parts are 0.
34659         * math/s_clog10l.c (M_PI_LOG10El): New macro.
34660         (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
34661         imaginary parts are 0.
34662         * math/libm-test.inc (clog10_test_data): Update expected results
34663         for when real and imaginary parts are 0.
34665 2014-03-27  Paul Pluzhnikov  <ppluzhnikov@google.com>
34667         * elf/dl-load.c: Finish conversion of __builtin_expect into
34668         __glibc_{un}likely.
34670 2014-03-27  Joseph Myers  <joseph@codesourcery.com>
34672         [BZ #16348]
34673         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
34674         1+x for argument with exponent below -67.
34675         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
34676         Likewise.
34677         * math/auto-libm-test-in: Add more tests of exp.
34678         * math/auto-libm-test-out: Regenerated.
34680 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
34682         [BZ #16759]
34683         * inet/getnetgrent_r.c (get_nonempty_val): New function.
34684         (nscd_getnetgrent): Use it.
34686         [BZ #16760]
34687         * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
34688         of stpcpy.
34690 2014-03-27  Andi Kleen  <ak@linux.intel.com>
34692         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
34693         (lll_robust_lock, lll_cond_lock, lll_timedlock)
34694         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
34695         (lll_robust_unlock): Remove out of line section. Use cfi
34696         intrinsics.
34697         (LLL_STUB_UNWIND_INFO*): Remove.
34698         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
34699         (lll_robust_lock, lll_cond_lock, lll_timedlock)
34700         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
34701         (lll_robust_unlock): Remove out of line section. Use cfi
34702         intrinsics.
34703         (LLL_STUB_UNWIND_INFO*): Remove.
34705 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
34707         [BZ #16758]
34708         * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
34709         blank values.
34711 2014-03-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
34713         * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
34715 2014-03-26  Joseph Myers  <joseph@codesourcery.com>
34717         [BZ #16198]
34718         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
34719         fnstenv.
34720         * math/test-fenv-preserve.c: New file.
34721         * math/Makefile (tests): Add test-fenv-preserve.
34723 2014-03-26  Will Newton <will.newton@linaro.org>
34725         * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
34727 2014-03-25  Roland McGrath  <roland@hack.frob.com>
34729         * scripts/versionlist.awk: Partition the version sets and emit all
34730         GLIBC_* (sorted) before all others (sorted).
34732 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
34734         * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
34735         GLIBC_2.2.5 version.
34737 2014-03-25 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34739         * scripts/localplt.awk: Check for PLT generated by internal IFUNC
34740         calls.
34742         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
34743         previous change.
34745         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34747 2014-03-25  Andreas Schwab  <schwab@suse.de>
34749         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
34750         label to be used after in6ailist is initialized.
34752 2014-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34754         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
34755         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
34757 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
34759         [BZ #16357]
34760         [BZ #16599]
34761         * math/gen-auto-libm-tests.c (fp_format_desc): Add field
34762         min_plus_half.
34763         (fp_formats): Update initializers.
34764         (init_fp_formats): Initialize new field.
34765         (output_for_one_input_case): Allow underflow for results up to
34766         min_plus_half.
34767         * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
34768         * math/auto-libm-test-in: Don't mark some underflows from asin and
34769         atanh as spurious.
34770         * math/auto-libm-test-out: Regenerated.
34771         * sysdeps/i386/fpu/libm-test-ulps: Update.
34772         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34774 2014-03-25  Andreas Schwab  <schwab@suse.de>
34776         * libio/Makefile (tst-ftell-partial-wide-ENV)
34777         (tst-ftell-active-handler-ENV): Define.
34779 2014-03-25  Stefan Liebler <stli@linux.vnet.ibm.com>
34781         * NEWS: Add 16712, 16713, 16714 to fixed bug list.
34783 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
34785         * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
34787 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
34789         * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
34790         * sysdeps/x86_64/fpu/multiarch/e_exp.c
34791         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
34793 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
34795         [BZ #16634]
34796         * elf/dl-load.c (open_verify): Add mode parameter.
34797         Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
34798         (open_path): Change from boolean 'secure' to complete flag 'mode'
34799         (_dl_map_object): Adjust.
34800         * elf/Makefile (tests): Add tst-dlopen-aout.
34801         * elf/tst-dlopen-aout.c: New test.
34803 2014-03-24  Stefan Liebler <stli@linux.vnet.ibm.com>
34805         [BZ #16714]
34806         * sysdeps/unix/sysv/linux/s390/bits/stat.h
34807         (struct stat): Rename member pad0 to __glibc_reserved0.
34809         [BZ #16712]
34810         * sysdeps/s390/s390-32/bits/wordsize.h
34811         (__WORDSIZE32_SIZE_ULONG): New define.
34812         * sysdeps/s390/s390-64/bits/wordsize.h
34813         (__WORDSIZE32_SIZE_ULONG): Likewise.
34814         * sysdeps/generic/stdint.h (SIZE_MAX):
34815         Define as UL if __WORDSIZE32_SIZE_ULONG.
34817         [BZ #16713]
34818         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
34819         (__glibc_reserved0): New variable.
34820         (sa_flags): Change type to int.
34822         * posix/Makefile (before-compile): Use += before-compile instead
34823         of a :=.
34825         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
34826         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
34828 2014-03-20  Andreas Schwab  <schwab@suse.de>
34830         [BZ #16743]
34831         * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
34832         non-matching result from nscd.
34834 2014-03-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
34836         * scripts/bench.py: Moved to ...
34837         * benchtests/scripts/bench.py: ... here.
34838         * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
34840 2014-03-24  Andreas Schwab  <schwab@suse.de>
34842         [BZ #16002]
34843         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
34844         alloca_account and account alloca use for struct in6ailist.
34846 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
34848         [BZ #16284]
34849         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
34850         rounding mode to recompute results that overflow to infinity or
34851         underflow to zero.
34852         * math/auto-libm-test-in: Don't mark tests as expected to fail for
34853         bug 16284.
34854         * math/auto-libm-test-out: Regenerated.
34855         * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
34856         (ccosh_test): Likewise.
34857         (csin_test_data): Use plus_oflow.
34858         (csin_test): Use ALL_RM_TEST.
34859         (csinh_test_data): Use plus_oflow.
34860         (csinh_test): Use ALL_RM_TEST.
34861         * sysdeps/i386/fpu/libm-test-ulps: Update.
34862         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34864 2014-03-21  Joseph Myers  <joseph@codesourcery.com>
34866         * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
34867         * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
34868         * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
34870         [BZ #16731]
34871         * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
34872         when x - 1 is zero.
34873         * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
34874         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
34875         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
34876         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
34877         argument is 1.
34878         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
34879         * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
34880         zero.
34881         * math/libm-test.inc (log_test): Use ALL_RM_TEST.
34882         * sysdeps/i386/fpu/libm-test-ulps: Update.
34883         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34885 2014-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
34887         * scripts/bench.pl: Remove file.
34888         * scripts/bench.py: New benchmark script.
34889         * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
34890         * benchtests/README: Mention python dependency.
34891         * scripts/pylintrc: New file.
34892         * scripts/pylint: New file.
34894         * bits/mathdef.h: Use #ifdef instead of #if.
34895         * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
34896         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
34897         * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
34898         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
34899         * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
34900         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
34902 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34903             Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
34905         * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
34906         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
34907         and strpbrk-ppc64 objects.
34908         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
34909         (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
34910         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
34911         multiarch strpbrk for POWER7.
34912         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
34913         multiarch strpbrk for PPC64.
34914         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
34915         ifunc selector.
34916         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
34917         strpbrk for POWER7.
34919 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
34921         * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
34922         (atan_test): Likewise.
34923         (atanh_test_data): Use NO_TEST_INLINE for two tests.
34924         (atanh_test): Use ALL_RM_TEST.
34925         (atan2_test_data): Likewise.
34926         (cabs_test): Likewise.
34927         (cacosh_test): Likewise.
34928         (carg_test): Likewise.
34929         (casin_test): Likewise.
34930         (casinh_test): Likewise.
34931         (cbrt_test): Likewise.
34932         (csqrt_test): Likewise.
34933         (erf_test): Likewise.
34934         (erfc_test): Likewise.
34935         (pow10_test): Likewise.
34936         (exp2_test): Likewise.
34937         (hypot_test): Likewise.
34938         (j0_test): Likewise.
34939         (j1_test): Likewise.
34940         (lgamma_test): Likewise.
34941         (gamma_test): Likewise.
34942         (sincos_test): Likewise.
34943         (tanh_test): Likewise.
34944         (y0_test): Likewise.
34945         (y1_test): Likewise.
34946         * sysdeps/i386/fpu/libm-test-ulps: Update.
34947         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34949 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34951         * string/strcspn.c (strcspn): Using macro to redefine symbol name.
34952         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
34953         and strcspn-ppc64 objects.
34954         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
34955         (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
34956         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
34957         multiarch strcspn for POWER7.
34958         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
34959         multiarch strcspn for PPC64.
34960         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
34961         ifunc selector.
34962         * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
34963         strcspn for POWER7.
34965 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
34967         * math/gen-libm-test.pl (generate_testfile): Expect only function
34968         name as argument to AUTO_TESTS_* and pass results for all rounding
34969         modes to parse_args.
34970         (parse_auto_input): Separate inputs of automatic tests from
34971         outputs before storing in %auto_tests.
34972         * math/libm-test.inc (acos_test_data): Update call to
34973         AUTO_TESTS_f_f.
34974         (acos_test): Use ALL_RM_TEST.
34975         (acos_tonearest_test_data): Remove.
34976         (acos_test_tonearest): Likewise.
34977         (acos_towardzero_test_data): Likewise.
34978         (acos_test_towardzero): Likewise.
34979         (acos_downward_test_data): Likewise.
34980         (acos_test_downward): Likewise.
34981         (acos_upward_test_data): Likewise.
34982         (acos_test_upward): Likewise.
34983         (acosh_test_data): Update call to AUTO_TESTS_f_f.
34984         (asin_test_data): Likewise.
34985         (asin_test): Use ALL_RM_TEST.
34986         (asin_tonearest_test_data): Remove.
34987         (asin_test_tonearest): Likewise.
34988         (asin_towardzero_test_data): Likewise.
34989         (asin_test_towardzero): Likewise.
34990         (asin_downward_test_data): Likewise.
34991         (asin_test_downward): Likewise.
34992         (asin_upward_test_data): Likewise.
34993         (asin_test_upward): Likewise.
34994         (asinh_test_data): Update call to AUTO_TESTS_f_f.
34995         (atan_test_data): Likewise.
34996         (atanh_test_data): Likewise.
34997         (atan2_test_data): Update call to AUTO_TESTS_ff_f.
34998         (cabs_test_data): Update call to AUTO_TESTS_c_f.
34999         (carg_test_data): Likewise.
35000         (cbrt_test_data): Update call to AUTO_TESTS_f_f.
35001         (ccos_test_data): Update call to AUTO_TESTS_c_c.
35002         (ccosh_test_data): Likewise.
35003         (cexp_test_data): Likewise.
35004         (clog_test_data): Likewise.
35005         (clog10_test_data): Likewise.
35006         (cos_test_data): Update call to AUTO_TESTS_f_f.
35007         (cos_test): Use ALL_RM_TEST.
35008         (cos_tonearest_test_data): Remove.
35009         (cos_test_tonearest): Likewise.
35010         (cos_towardzero_test_data): Likewise.
35011         (cos_test_towardzero): Likewise.
35012         (cos_downward_test_data): Likewise.
35013         (cos_test_downward): Likewise.
35014         (cos_upward_test_data): Likewise.
35015         (cos_test_upward): Likewise.
35016         (cosh_test_data): Update call to AUTO_TESTS_f_f.
35017         (cosh_test): Use ALL_RM_TEST.
35018         (cosh_tonearest_test_data): Remove.
35019         (cosh_test_tonearest): Likewise.
35020         (cosh_towardzero_test_data): Likewise.
35021         (cosh_test_towardzero): Likewise.
35022         (cosh_downward_test_data): Likewise.
35023         (cosh_test_downward): Likewise.
35024         (cosh_upward_test_data): Likewise.
35025         (cosh_test_upward): Likewise.
35026         (cpow_test_data): Update call to AUTO_TESTS_cc_c.
35027         (csqrt_test_data): Update call to AUTO_TESTS_c_c.
35028         (ctan_test_data): Likewise.
35029         (ctan_test): Use ALL_RM_TEST.
35030         (ctan_tonearest_test_data): Remove.
35031         (ctan_test_tonearest): Likewise.
35032         (ctan_towardzero_test_data): Likewise.
35033         (ctan_test_towardzero): Likewise.
35034         (ctan_downward_test_data): Likewise.
35035         (ctan_test_downward): Likewise.
35036         (ctan_upward_test_data): Likewise.
35037         (ctan_test_upward): Likewise.
35038         (ctanh_test_data): Update call to AUTO_TESTS_c_c.
35039         (ctanh_test): Use ALL_RM_TEST.
35040         (ctanh_tonearest_test_data): Remove.
35041         (ctanh_test_tonearest): Likewise.
35042         (ctanh_towardzero_test_data): Likewise.
35043         (ctanh_test_towardzero): Likewise.
35044         (ctanh_downward_test_data): Likewise.
35045         (ctanh_test_downward): Likewise.
35046         (ctanh_upward_test_data): Likewise.
35047         (ctanh_test_upward): Likewise.
35048         (erf_test_data): Update call to AUTO_TESTS_f_f.
35049         (erfc_test_data): Likewise.
35050         (exp_test_data): Likewise.
35051         (exp_test): Use ALL_RM_TEST.
35052         (exp_tonearest_test_data): Remove.
35053         (exp_test_tonearest): Likewise.
35054         (exp_towardzero_test_data): Likewise.
35055         (exp_test_towardzero): Likewise.
35056         (exp_downward_test_data): Likewise.
35057         (exp_test_downward): Likewise.
35058         (exp_upward_test_data): Likewise.
35059         (exp_test_upward): Likewise.
35060         (exp10_test_data): Update call to AUTO_TESTS_f_f.
35061         (exp10_test): Use ALL_RM_TEST.
35062         (exp10_tonearest_test_data): Remove.
35063         (exp10_test_tonearest): Likewise.
35064         (exp10_towardzero_test_data): Likewise.
35065         (exp10_test_towardzero): Likewise.
35066         (exp10_downward_test_data): Likewise.
35067         (exp10_test_downward): Likewise.
35068         (exp10_upward_test_data): Likewise.
35069         (exp10_test_upward): Likewise.
35070         (exp2_test_data): Update call to AUTO_TESTS_f_f.
35071         (expm1_test_data): Likewise.
35072         (expm1_test): Use ALL_RM_TEST.
35073         (expm1_tonearest_test_data): Remove.
35074         (expm1_test_tonearest): Likewise.
35075         (expm1_towardzero_test_data): Likewise.
35076         (expm1_test_towardzero): Likewise.
35077         (expm1_downward_test_data): Likewise.
35078         (expm1_test_downward): Likewise.
35079         (expm1_upward_test_data): Likewise.
35080         (expm1_test_upward): Likewise.
35081         (fma_test_data): Update call to AUTO_TESTS_fff_f.
35082         (fma_test): Use ALL_RM_TEST.
35083         (fma_towardzero_test_data): Remove.
35084         (fma_test_towardzero): Likewise.
35085         (fma_downward_test_data): Likewise.
35086         (fma_test_downward): Likewise.
35087         (fma_upward_test_data): Likewise.
35088         (fma_test_upward): Likewise.
35089         (hypot_test_data): Update call to AUTO_TESTS_ff_f.
35090         (j0_test_data): Update call to AUTO_TESTS_f_f.
35091         (j1_test_data): Likewise.
35092         (jn_test_data): Update call to AUTO_TESTS_if_f.
35093         (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
35094         (log_test_data): Update call to AUTO_TESTS_f_f.
35095         (log10_test_data): Likewise.
35096         (log1p_test_data): Likewise.
35097         (log2_test_data): Likewise.
35098         (pow_test_data): Update call to AUTO_TESTS_ff_f.
35099         (pow_tonearest_test_data): Likewise.
35100         (sin_test_data): Update call to AUTO_TESTS_f_f.
35101         (sin_test): Use ALL_RM_TEST.
35102         (sin_tonearest_test_data): Remove.
35103         (sin_test_tonearest): Likewise.
35104         (sin_towardzero_test_data): Likewise.
35105         (sin_test_towardzero): Likewise.
35106         (sin_downward_test_data): Likewise.
35107         (sin_test_downward): Likewise.
35108         (sin_upward_test_data): Likewise.
35109         (sin_test_upward): Likewise.
35110         (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
35111         (sinh_test_data): Update call to AUTO_TESTS_f_f.
35112         (sinh_test): Use ALL_RM_TEST.
35113         (sinh_tonearest_test_data): Remove.
35114         (sinh_test_tonearest): Likewise.
35115         (sinh_towardzero_test_data): Likewise.
35116         (sinh_test_towardzero): Likewise.
35117         (sinh_downward_test_data): Likewise.
35118         (sinh_test_downward): Likewise.
35119         (sinh_upward_test_data): Likewise.
35120         (sinh_test_upward): Likewise.
35121         (sqrt_test_data): Update call to AUTO_TESTS_f_f.
35122         (sqrt_test): Use ALL_RM_TEST.
35123         (sqrt_tonearest_test_data): Remove.
35124         (sqrt_test_tonearest): Likewise.
35125         (sqrt_towardzero_test_data): Likewise.
35126         (sqrt_test_towardzero): Likewise.
35127         (sqrt_downward_test_data): Likewise.
35128         (sqrt_test_downward): Likewise.
35129         (sqrt_upward_test_data): Likewise.
35130         (sqrt_test_upward): Likewise.
35131         (tan_test_data): Update call to AUTO_TESTS_f_f.
35132         (tan_test): Use ALL_RM_TEST.
35133         (tan_tonearest_test_data): Remove.
35134         (tan_test_tonearest): Likewise.
35135         (tan_towardzero_test_data): Likewise.
35136         (tan_test_towardzero): Likewise.
35137         (tan_downward_test_data): Likewise.
35138         (tan_test_downward): Likewise.
35139         (tan_upward_test_data): Likewise.
35140         (tan_test_upward): Likewise.
35141         (tanh_test_data): Update call to AUTO_TESTS_f_f.
35142         (tgamma_test_data): Likewise.
35143         (y0_test_data): Likewise.
35144         (y1_test_data): Likewise.
35145         (yn_test_data): Update call to AUTO_TESTS_if_f.
35146         (main): Do not call removed functions.
35148 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
35150         * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
35151         (ldexp_test_data): Remove.
35152         (ldexp_test): Move to after scalbn_test.  Use ALL_RM_TEST with
35153         scalbn_test_data.
35154         (scalb_test): Use ALL_RM_TEST.
35156 2014-03-19  Andreas Schwab  <schwab@suse.de>
35158         * nscd/nscd.service: Also invalidate netgroup cache on reload.
35160 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
35162         [BZ #16649]
35163         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
35164         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
35165         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
35166         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
35167         (__ASSUME_PREADV): Undefine.
35168         (__ASSUME_PWRITEV): Likewise.
35170 2014-03-18  Roland McGrath  <roland@hack.frob.com>
35172         * bits/mman-linux.h: Add comment about non-Linux use.
35173         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
35174         bits/mman-linux.h resting place.
35176         * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
35177         * bits/mman-linux.h: ... here.
35179 2014-03-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35181         * conform/conformtest.pl: Add standard definition when calling C
35182         preprocessor on data files.
35183         (checknamespace): Remove unused variable.
35185 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
35187         * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
35188         minus_oflow, plus_uflow and minus_uflow in expected results.
35189         * math/libm-test.inc (scalbn_test_data): Add more tests of
35190         negative arguments.  Use plus_oflow, minus_oflow, plus_uflow and
35191         minus_uflow.
35192         (scalbn_test): Use ALL_RM_TEST.
35193         (scalbln_test_data): Add more tests of negative arguments.  Use
35194         plus_oflow, minus_oflow, plus_uflow and minus_uflow.
35195         (scalbln_test): Use ALL_RM_TEST.
35197 2014-03-18  Roland McGrath  <roland@hack.frob.com>
35199         * scripts/abilist.awk: Ignore symbols marked with .hidden.
35201 2014-03-18  Will Newton  <will.newton@linaro.org>
35203         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
35204         inaccurate comment.
35206 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
35208         * Makerules [!subdir] (check-abi): Exit with error status if a
35209         test failed.
35211 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
35213         * math/libm-test.inc (nearbyint_test_data): Include all tests used
35214         for rint.  Include results for all rounding modes.
35215         (nearbyint_test): Use ALL_RM_TEST.
35216         (rint_test_data): Include all tests used for nearbyint.
35218 2014-03-17  Will Newton  <will.newton@linaro.org>
35220         * nptl/sysdeps/pthread/pthread.h: Revert previous
35221         change.
35223         * sysdeps/generic/ldsodefs.h: Revert previous
35224         change.
35226         * libio/genops.c: Revert previous change.
35227         * libio/libioP.h: Likewise.
35228         * stdio-common/vfprintf.c: Likewise.
35230         * sysdeps/generic/math_private.h: Revert previous
35231         change.
35233         * sysdeps/generic/math_private.h: Check whether
35234         HAVE_RM_CTX is defined with #ifdef rather
35235         than #if.
35237         * argp/argp-fmtstream.h: Check whether
35238         __STRICT_ANSI__ is defined with #ifdef rather
35239         than #if.
35240         * argp/argp.h: Likewise.
35242         * libio/genops.c: Check whether
35243         _IO_JUMPS_OFFSET is defined with #ifdef rather
35244         than #if.
35245         * libio/libioP.h: Likewise.
35246         * stdio-common/vfprintf.c: Likewise.
35248         * sysdeps/generic/ldsodefs.h: Check whether
35249         HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
35250         than #if.
35252         * nptl/sysdeps/pthread/pthread.h: Check
35253         __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
35254         its value.
35256 2014-03-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
35258         * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
35259         setting O_APPEND.
35260         * libio/tst-ftell-active-handler.c (do_append_test): Add a
35261         test case.
35263         [BZ #16680]
35264         * libio/fileops.c (_IO_file_open): Seek to end of file but
35265         don't cache the offset.
35266         (get_file_offset): Remove function.
35267         (do_ftell): Use cached offset when available.
35268         * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
35269         don't cache the offset.
35270         * libio/tst-ftell-active-handler.c (do_rewind_test): New test
35271         case.
35272         (do_one_test): Call it.
35273         (do_ftell_test): Fix up expected old offset for a+ mode.
35274         * libio/wfileops.c (do_ftell_wide): Used cached offset when
35275         available.
35277         * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
35278         up test status with function return status.
35279         (do_write_test): Likewise.
35280         (do_append_test): Likewise.
35282         * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
35283         && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
35284         Remove.
35286 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
35288         * math/gen-libm-test.pl (parse_args): Handle results specified for
35289         each rounding mode separately.
35290         * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
35291         tests and results from lrint_tonearest_test_data,
35292         lrint_towardzero_test_data, lrint_downward_test_data and
35293         lrint_upward_test_data.
35294         (lrint_test): Use ALL_RM_TEST.
35295         (lrint_tonearest_test_data): Remove.
35296         (lrint_test_tonearest): Likewise.
35297         (lrint_towardzero_test_data): Likewise.
35298         (lrint_test_towardzero): Likewise.
35299         (lrint_downward_test_data): Likewise.
35300         (lrint_test_downward): Likewise.
35301         (lrint_upward_test_data): Likewise.
35302         (lrint_test_upward): Likewise.
35303         (llrint_test_data): Merge in per-rounding-mode tests and results
35304         from llrint_tonearest_test_data, llrint_towardzero_test_data,
35305         llrint_downward_test_data and llrint_upward_test_data.
35306         (llrint_test): Use ALL_RM_TEST.
35307         (llrint_tonearest_test_data): Remove.
35308         (llrint_test_tonearest): Likewise.
35309         (llrint_towardzero_test_data): Likewise.
35310         (llrint_test_towardzero): Likewise.
35311         (llrint_downward_test_data): Likewise.
35312         (llrint_test_downward): Likewise.
35313         (llrint_upward_test_data): Likewise.
35314         (llrint_test_upward): Likewise.
35315         (rint_test_data): Merge in per-rounding-mode tests and results
35316         from rint_tonearest_test_data, rint_towardzero_test_data,
35317         rint_downward_test_data and rint_upward_test_data.  Add
35318         per-rounding-mode results for tests not in those arrays.
35319         (rint_test): Use ALL_RM_TEST.
35320         (rint_tonearest_test_data): Remove.
35321         (rint_test_tonearest): Likewise.
35322         (rint_towardzero_test_data): Likewise.
35323         (rint_test_towardzero): Likewise.
35324         (rint_downward_test_data): Likewise.
35325         (rint_test_downward): Likewise.
35326         (rint_upward_test_data): Likewise.
35327         (rint_test_upward): Likewise.
35328         (main): Don't call removed functions.
35330 2014-03-14  Roland McGrath  <roland@hack.frob.com>
35332         * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
35333         "Compiled on ..." crapola.  It is anti-useful.
35335 2014-03-14  Joseph Myers  <joseph@codesourcery.com>
35337         * scripts/evaluate-test.sh: Handle fourth argument to determine
35338         whether test run should stop on failure.
35339         * Makeconfig (stop-on-test-failure): New variable.
35340         (evaluate-test): Pass fourth argument to evaluate-test.sh based on
35341         $(stop-on-test-failure).
35342         * Makefile (tests): Give a summary of results from testing and
35343         exit with failure status if they include an ERROR or FAIL.
35344         (xtests): Likewise.
35345         * manual/install.texi (Configuring and compiling): Mention
35346         stop-on-test-failure=y.
35347         * INSTALL: Regenerated.
35349 2014-03-14  Roland McGrath  <roland@hack.frob.com>
35351         * scripts/versionlist.awk: New file.
35352         * Makerules [$(build-shared) = yes]
35353         (postclean-generated): Add Versions.def, not Versions.def.v and
35354         Versions.def.v.i.
35355         ($(common-objpfx)Versions.def.v.i): Target removed.
35356         ($(common-objpfx)Versions.def): New target.
35357         ($(common-objpfx)Versions.all): Depend on that rather that
35358         $(common-objpfx)Versions.def.v.
35359         * Versions.def: File removed.
35361         * Makeconfig (+gccwarn): Add -Wundef.
35362         * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
35363         a dl-sysdep.h breaking its contract.
35364         [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
35365         * include/stackinfo.h: New file.
35366         * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
35367         * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
35368         * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
35369         * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
35370         * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
35371         * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
35372         * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
35373         * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
35374         * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
35375         * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
35376         * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
35377         * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
35378         * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
35379         * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
35380         * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
35382 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35384         [BZ #16707]
35385         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
35386         implementation.
35387         * math/libm-test.inc (round_test_data): Add more tests.
35389         [BZ #16706]
35390         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
35391         implementation.
35392         * math/libm-test.inc (nearbyint_test_data): Add more tests.
35394         [BZ #16701]
35395         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
35396         implementation.
35397         * math/libm-test.inc (ceil_test_data): Add more tests.
35399         * math/libm-test.inc (trunc_test_data): Add more tests related to
35400         BZ#16414.
35402 2014-03-14  Roland McGrath  <roland@hack.frob.com>
35404         * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
35405         with #if rather than #ifdef.
35406         * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
35408 2014-03-14  H.J. Lu  <hongjiu.lu@intel.com>
35410         * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
35411         first.  Disable AVX-512 GCC support if assembler doesn't support
35412         it.
35413         * sysdeps/x86_64/configure: Regenerated.
35415 2014-03-13  Carlos O'Donell  <carlos@redhat.com>
35417         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
35418         [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
35419         (__old_pthread_attr_setstack): Likewise.
35420         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
35421         [!_STACK_GROWS_DOWN]: Likewise.
35423 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
35425         * config.make.in (have-bash2): Delete.
35426         * configure.ac (libc_cv_have_bash2): Delete.
35427         * configure: Regenerate.
35428         * elf/Makefile (common-ldd-rewrite): Rename to ...
35429         (ldd-rewrite): ... this.  Move bash-ldd-rewrite content to end.
35430         (sh-ldd-rewrite): Delete.
35431         (bash-ldd-rewrite): Delete.
35432         (have-bash2): Delete checks.
35433         [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
35434         ldd-rewrite.
35436         * config.make.in (have-ksh): Delete.
35437         (KSH): Delete.
35438         * configure.ac (libc_cv_have_ksh): Delete.
35439         * configure: Regenerate.
35441         * elf/Makefile: Delete $(have-ksh) check.
35442         ($(objpfx)sotruss): Change KSH to BASH.
35443         * elf/sotruss.ksh: Rename to ...
35444         * elf/sotruss.sh: ... this.  Change @KSH@ to @BASH@.  Change
35445         function style to match POSIX.  Drop ksh vim mode setting.
35447         * manual/time.texi (Specifying the Time Zone with TZ): Change
35448         Tuesday to Thursday.
35450         * debug/tst-longjmp_chk2.c: Update header comment.
35451         (stackoverflow_handler): Add comment.  Call assert on pass value.
35453 2014-03-13  Igor Zamyatin  <igor.zamyatin@intel.com>
35455         [BZ #16194]
35456         * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
35457         (HAVE_AVX512_ASM_SUPPORT): Likewise.
35458         * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
35459         (La_x86_64_vector): Add zmm.
35460         * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
35461         (modules-names): Add tst-auditmod10a and tst-auditmod10b.
35462         ($(objpfx)tst-audit10): New target.
35463         ($(objpfx)tst-audit10.out): Likewise.
35464         (tst-audit10-ENV): New.
35465         (AVX512-CFLAGS): Likewise.
35466         (CFLAGS-tst-audit10.c): Likewise.
35467         (CFLAGS-tst-auditmod10a.c): Likewise.
35468         (CFLAGS-tst-auditmod10b.c): Likewise.
35469         * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
35470         HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
35471         * sysdeps/x86_64/configure: Regenerated.
35472         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
35473         AVX-512 zmm register support.
35474         (_dl_x86_64_save_sse): Likewise.
35475         (_dl_x86_64_restore_sse): Likewise.
35476         * sysdeps/x86_64/dl-trampoline.h: Updated to support different
35477         size vector registers.
35478         * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
35479         (ZMM_SIZE): Likewise.
35480         * sysdeps/x86_64/tst-audit10.c: New file.
35481         * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
35482         * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
35484 2014-03-13  Roland McGrath  <roland@hack.frob.com>
35486         * configure.ac (HAVE_EHDR_START): New check.
35487         * configure: Regenerated.
35488         * config.h.in (HAVE_EHDR_START): New #undef.
35489         * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
35490         assuming the lowest-addressed segment maps the start of the file.
35492 2014-03-13  Joseph Myers  <joseph@codesourcery.com>
35494         * INSTALL: Regenerated.
35496 2014-03-13  Will Newton  <will.newton@linaro.org>
35498         * manual/setjmp.texi (System V contexts): Improve
35499         clarity and grammar of documentation.
35501 2014-03-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
35503         [BZ #16381]
35504         * elf/Makefile (tests): Add tst-pie2.
35505         (tests-pie): Add tst-pie2.
35506         * elf/tst-pie2.c: New file.
35507         * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
35508         for ET_EXEC.
35509         * elf/rtld.c (map_doit): Load executable as lt_executable.
35510         (dl_main): Likewise.
35512 2014-03-12  Joseph Myers  <joseph@codesourcery.com>
35514         [BZ #16642]
35515         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
35516         (__ASSUME_PSELECT): Undefine.
35518 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35520         [BZ #16689]
35521         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
35522         (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
35523         static build.
35524         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
35525         selector for static builds.
35527 2014-03-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
35529         [BZ #16695]
35530         * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
35531         key in the buffer.
35533 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35535         * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
35536         IFUNC selector for static builds.
35538 2014-03-11  Joseph Myers  <joseph@codesourcery.com>
35540         * sysdeps/mips/math_private.h [__mips_hard_float]
35541         (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
35542         libc_feresetround_mips_ctx.
35543         [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
35544         [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
35545         [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
35547         [BZ #16677]
35548         * math/s_nextafter.c (__nextafter): Do not return value from
35549         overflowing computation.
35550         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
35551         * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
35552         * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
35553         Likewise.
35554         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
35555         Likewise.
35556         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
35557         * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
35559 2014-03-11  Roland McGrath  <roland@hack.frob.com>
35561         * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
35562         * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
35563         Move sfi_sp use from the load-multiple (that no longer sets sp) to
35564         the new mov targetting sp.
35566 2014-03-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35568         [BZ #16683]
35569         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
35570         Define it for static builds as well.
35571         (NO_BZERO_IMPL): Likewise.
35573 2014-03-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
35575         * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
35576         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
35577         multiarch strspn for PPC64.
35578         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
35579         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
35580         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
35581         (__libc_ifunc_impl_list): Likewise.
35582         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
35583         multiarch optimizations
35584         * string/strspn.c (strspn): Using macro to redefine symbol name.
35586 2014-03-10  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
35587             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35589         * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
35590         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
35591         multiarch strncat for PPC64.
35592         * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
35593         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
35594         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
35595         (__libc_ifunc_impl_list): Likewise.
35596         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
35597         multiarch optimizations
35599 2014-03-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
35601         [BZ #16639]
35602         * nscd/nscd.service: Make service type forking.
35604 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35606         * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
35607         sign in non default rounding modes.
35608         * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
35610 2014-03-08  Joseph Myers  <joseph@codesourcery.com>
35612         * math/libm-test.inc (ALL_RM_TEST): New macro.
35613         (ceil_test): Use ALL_RM_TEST.
35614         (cimag_test): Likewise.
35615         (conj_test): Likewise.
35616         (copysign_test): Likewise.
35617         (cproj_test): Likewise.
35618         (creal_test): Likewise.
35619         (fabs_test): Likewise.
35620         (floor_test): Likewise.
35621         (fmax_test): Likewise.
35622         (fmin_test): Likewise.
35623         (fmod_test): Likewise.
35624         (fpclassify_test): Likewise.
35625         (frexp_test): Likewise.
35626         (ilogb_test): Likewise.
35627         (isfinite_test): Likewise.
35628         (finite_test): Likewise.
35629         (isgreater_test): Likewise.
35630         (isgreaterequal_test): Likewise.
35631         (isinf_test): Likewise.
35632         (isless_test): Likewise.
35633         (islessequal_test): Likewise.
35634         (islessgreater_test): Likewise.
35635         (isnan_test): Likewise.
35636         (isnormal_test): Likewise.
35637         (issignaling_test): Likewise.
35638         (isunordered_test): Likewise.
35639         (logb_test): Likewise.
35640         (logb_downward_test_data): Remove.
35641         (logb_test_downward): Likewise.
35642         (lround_test): Use ALL_RM_TEST.
35643         (llround_test): Likewise.
35644         (modf_test): Likewise.
35645         (nexttoward_test): Likewise.
35646         (remainder_test): Likewise.
35647         (drem_test): Likewise.
35648         (remainder_tonearest_test_data): Likewise.
35649         (remainder_test_tonearest): Likewise.
35650         (drem_test_tonearest): Likewise.
35651         (remainder_towardzero_test_data): Likewise.
35652         (remainder_test_towardzero): Likewise.
35653         (drem_test_towardzero): Likewise.
35654         (remainder_downward_test_data): Likewise.
35655         (remainder_test_downward): Likewise.
35656         (drem_test_downward): Likewise.
35657         (remainder_upward_test_data): Likewise.
35658         (remainder_test_upward): Likewise.
35659         (drem_test_upward): Likewise.
35660         (remquo_test): Use ALL_RM_TEST.  Remove comment about x.
35661         (round_test): Use ALL_RM_TEST.
35662         (signbit_test): Likewise.
35663         (trunc_test): Likewise.
35664         (significand_test): Likewise.
35665         (main): Don't call removed functions.
35667 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
35669         [BZ #16674]
35670         * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
35671         || __USE_XOPEN2K8].
35672         (ILL_ILLOPN): Likewise.
35673         (ILL_ILLADR): Likewise.
35674         (ILL_ILLTRP): Likewise.
35675         (ILL_PRVOPC): Likewise.
35676         (ILL_PRVREG): Likewise.
35677         (ILL_COPROC): Likewise.
35678         (ILL_BADSTK): Likewise.
35679         (FPE_INTDIV): Likewise.
35680         (FPE_INTOVF): Likewise.
35681         (FPE_FLTDIV): Likewise.
35682         (FPE_FLTOVF): Likewise.
35683         (FPE_FLTUND): Likewise.
35684         (FPE_FLTRES): Likewise.
35685         (FPE_FLTINV): Likewise.
35686         (FPE_FLTSUB): Likewise.
35687         (SEGV_MAPERR): Likewise.
35688         (SEGV_ACCERR): Likewise.
35689         (BUS_ADRALN): Likewise.
35690         (BUS_ADRERR): Likewise.
35691         (BUS_OBJERR): Likewise.
35692         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
35693         (TRAP_TRACE): Likewise.
35694         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
35695         __USE_XOPEN2K8].
35696         (CLD_KILLED): Likewise.
35697         (CLD_DUMPED): Likewise.
35698         (CLD_TRAPPED): Likewise.
35699         (CLD_STOPPED): Likewise.
35700         (CLD_CONTINUED): Likewise.
35701         (POLL_IN): Likewise.
35702         (POLL_OUT): Likewise.
35703         (POLL_MSG): Likewise.
35704         (POLL_ERR): Likewise.
35705         (POLL_PRI): Likewise.
35706         (POLL_HUP): Likewise.
35707         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
35708         Likewise.
35709         (ILL_ILLOPN): Likewise.
35710         (ILL_ILLADR): Likewise.
35711         (ILL_ILLTRP): Likewise.
35712         (ILL_PRVOPC): Likewise.
35713         (ILL_PRVREG): Likewise.
35714         (ILL_COPROC): Likewise.
35715         (ILL_BADSTK): Likewise.
35716         (FPE_INTDIV): Likewise.
35717         (FPE_INTOVF): Likewise.
35718         (FPE_FLTDIV): Likewise.
35719         (FPE_FLTOVF): Likewise.
35720         (FPE_FLTUND): Likewise.
35721         (FPE_FLTRES): Likewise.
35722         (FPE_FLTINV): Likewise.
35723         (FPE_FLTSUB): Likewise.
35724         (SEGV_MAPERR): Likewise.
35725         (SEGV_ACCERR): Likewise.
35726         (BUS_ADRALN): Likewise.
35727         (BUS_ADRERR): Likewise.
35728         (BUS_OBJERR): Likewise.
35729         (BUS_MCEERR_AR): Likewise.
35730         (BUS_MCEERR_AO): Likewise.
35731         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
35732         (TRAP_TRACE): Likewise.
35733         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
35734         __USE_XOPEN2K8].
35735         (CLD_KILLED): Likewise.
35736         (CLD_DUMPED): Likewise.
35737         (CLD_TRAPPED): Likewise.
35738         (CLD_STOPPED): Likewise.
35739         (CLD_CONTINUED): Likewise.
35740         (POLL_IN): Likewise.
35741         (POLL_OUT): Likewise.
35742         (POLL_MSG): Likewise.
35743         (POLL_ERR): Likewise.
35744         (POLL_PRI): Likewise.
35745         (POLL_HUP): Likewise.
35746         * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
35747         (ILL_ILLOPN): Likewise.
35748         (ILL_ILLADR): Likewise.
35749         (ILL_ILLTRP): Likewise.
35750         (ILL_PRVOPC): Likewise.
35751         (ILL_PRVREG): Likewise.
35752         (ILL_COPROC): Likewise.
35753         (ILL_BADSTK): Likewise.
35754         (FPE_INTDIV): Likewise.
35755         (FPE_INTOVF): Likewise.
35756         (FPE_FLTDIV): Likewise.
35757         (FPE_FLTOVF): Likewise.
35758         (FPE_FLTUND): Likewise.
35759         (FPE_FLTRES): Likewise.
35760         (FPE_FLTINV): Likewise.
35761         (FPE_FLTSUB): Likewise.
35762         (SEGV_MAPERR): Likewise.
35763         (SEGV_ACCERR): Likewise.
35764         (BUS_ADRALN): Likewise.
35765         (BUS_ADRERR): Likewise.
35766         (BUS_OBJERR): Likewise.
35767         (BUS_MCEERR_AR): Likewise.
35768         (BUS_MCEERR_AO): Likewise.
35769         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
35770         (TRAP_TRACE): Likewise.
35771         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
35772         __USE_XOPEN2K8].
35773         (CLD_KILLED): Likewise.
35774         (CLD_DUMPED): Likewise.
35775         (CLD_TRAPPED): Likewise.
35776         (CLD_STOPPED): Likewise.
35777         (CLD_CONTINUED): Likewise.
35778         (POLL_IN): Likewise.
35779         (POLL_OUT): Likewise.
35780         (POLL_MSG): Likewise.
35781         (POLL_ERR): Likewise.
35782         (POLL_PRI): Likewise.
35783         (POLL_HUP): Likewise.
35784         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
35785         Likewise.
35786         (ILL_ILLOPN): Likewise.
35787         (ILL_ILLADR): Likewise.
35788         (ILL_ILLTRP): Likewise.
35789         (ILL_PRVOPC): Likewise.
35790         (ILL_PRVREG): Likewise.
35791         (ILL_COPROC): Likewise.
35792         (ILL_BADSTK): Likewise.
35793         (ILL_BADIADDR): Likewise.
35794         (ILL_BREAK): Likewise.
35795         (FPE_INTDIV): Likewise.
35796         (FPE_INTOVF): Likewise.
35797         (FPE_FLTDIV): Likewise.
35798         (FPE_FLTOVF): Likewise.
35799         (FPE_FLTUND): Likewise.
35800         (FPE_FLTRES): Likewise.
35801         (FPE_FLTINV): Likewise.
35802         (FPE_FLTSUB): Likewise.
35803         (FPE_DECOVF): Likewise.
35804         (FPE_DECDIV): Likewise.
35805         (FPE_DECERR): Likewise.
35806         (FPE_INVASC): Likewise.
35807         (FPE_INVDEC): Likewise.
35808         (SEGV_MAPERR): Likewise.
35809         (SEGV_ACCERR): Likewise.
35810         (SEGV_PSTKOVF): Likewise.
35811         (BUS_ADRALN): Likewise.
35812         (BUS_ADRERR): Likewise.
35813         (BUS_OBJERR): Likewise.
35814         (BUS_MCEERR_AR): Likewise.
35815         (BUS_MCEERR_AO): Likewise.
35816         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
35817         (TRAP_TRACE): Likewise.
35818         (TRAP_BRANCH): Likewise.
35819         (TRAP_HWBKPT): Likewise.
35820         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
35821         __USE_XOPEN2K8].
35822         (CLD_KILLED): Likewise.
35823         (CLD_DUMPED): Likewise.
35824         (CLD_TRAPPED): Likewise.
35825         (CLD_STOPPED): Likewise.
35826         (CLD_CONTINUED): Likewise.
35827         (POLL_IN): Likewise.
35828         (POLL_OUT): Likewise.
35829         (POLL_MSG): Likewise.
35830         (POLL_ERR): Likewise.
35831         (POLL_PRI): Likewise.
35832         (POLL_HUP): Likewise.
35833         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
35834         (ILL_ILLOPN): Likewise.
35835         (ILL_ILLADR): Likewise.
35836         (ILL_ILLTRP): Likewise.
35837         (ILL_PRVOPC): Likewise.
35838         (ILL_PRVREG): Likewise.
35839         (ILL_COPROC): Likewise.
35840         (ILL_BADSTK): Likewise.
35841         (FPE_INTDIV): Likewise.
35842         (FPE_INTOVF): Likewise.
35843         (FPE_FLTDIV): Likewise.
35844         (FPE_FLTOVF): Likewise.
35845         (FPE_FLTUND): Likewise.
35846         (FPE_FLTRES): Likewise.
35847         (FPE_FLTINV): Likewise.
35848         (FPE_FLTSUB): Likewise.
35849         (SEGV_MAPERR): Likewise.
35850         (SEGV_ACCERR): Likewise.
35851         (BUS_ADRALN): Likewise.
35852         (BUS_ADRERR): Likewise.
35853         (BUS_OBJERR): Likewise.
35854         (BUS_MCEERR_AR): Likewise.
35855         (BUS_MCEERR_AO): Likewise.
35856         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
35857         (TRAP_TRACE): Likewise.
35858         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
35859         __USE_XOPEN2K8].
35860         (CLD_KILLED): Likewise.
35861         (CLD_DUMPED): Likewise.
35862         (CLD_TRAPPED): Likewise.
35863         (CLD_STOPPED): Likewise.
35864         (CLD_CONTINUED): Likewise.
35865         (POLL_IN): Likewise.
35866         (POLL_OUT): Likewise.
35867         (POLL_MSG): Likewise.
35868         (POLL_ERR): Likewise.
35869         (POLL_PRI): Likewise.
35870         (POLL_HUP): Likewise.
35871         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
35872         (ILL_ILLOPN): Likewise.
35873         (ILL_ILLADR): Likewise.
35874         (ILL_ILLTRP): Likewise.
35875         (ILL_PRVOPC): Likewise.
35876         (ILL_PRVREG): Likewise.
35877         (ILL_COPROC): Likewise.
35878         (ILL_BADSTK): Likewise.
35879         (FPE_INTDIV): Likewise.
35880         (FPE_INTOVF): Likewise.
35881         (FPE_FLTDIV): Likewise.
35882         (FPE_FLTOVF): Likewise.
35883         (FPE_FLTUND): Likewise.
35884         (FPE_FLTRES): Likewise.
35885         (FPE_FLTINV): Likewise.
35886         (FPE_FLTSUB): Likewise.
35887         (SEGV_MAPERR): Likewise.
35888         (SEGV_ACCERR): Likewise.
35889         (BUS_ADRALN): Likewise.
35890         (BUS_ADRERR): Likewise.
35891         (BUS_OBJERR): Likewise.
35892         (BUS_MCEERR_AR): Likewise.
35893         (BUS_MCEERR_AO): Likewise.
35894         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
35895         (TRAP_TRACE): Likewise.
35896         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
35897         __USE_XOPEN2K8].
35898         (CLD_KILLED): Likewise.
35899         (CLD_DUMPED): Likewise.
35900         (CLD_TRAPPED): Likewise.
35901         (CLD_STOPPED): Likewise.
35902         (CLD_CONTINUED): Likewise.
35903         (POLL_IN): Likewise.
35904         (POLL_OUT): Likewise.
35905         (POLL_MSG): Likewise.
35906         (POLL_ERR): Likewise.
35907         (POLL_PRI): Likewise.
35908         (POLL_HUP): Likewise.
35909         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
35910         (ILL_ILLOPN): Likewise.
35911         (ILL_ILLADR): Likewise.
35912         (ILL_ILLTRP): Likewise.
35913         (ILL_PRVOPC): Likewise.
35914         (ILL_PRVREG): Likewise.
35915         (ILL_COPROC): Likewise.
35916         (ILL_BADSTK): Likewise.
35917         (FPE_INTDIV): Likewise.
35918         (FPE_INTOVF): Likewise.
35919         (FPE_FLTDIV): Likewise.
35920         (FPE_FLTOVF): Likewise.
35921         (FPE_FLTUND): Likewise.
35922         (FPE_FLTRES): Likewise.
35923         (FPE_FLTINV): Likewise.
35924         (FPE_FLTSUB): Likewise.
35925         (SEGV_MAPERR): Likewise.
35926         (SEGV_ACCERR): Likewise.
35927         (BUS_ADRALN): Likewise.
35928         (BUS_ADRERR): Likewise.
35929         (BUS_OBJERR): Likewise.
35930         (BUS_MCEERR_AR): Likewise.
35931         (BUS_MCEERR_AO): Likewise.
35932         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
35933         (TRAP_TRACE): Likewise.
35934         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
35935         __USE_XOPEN2K8].
35936         (CLD_KILLED): Likewise.
35937         (CLD_DUMPED): Likewise.
35938         (CLD_TRAPPED): Likewise.
35939         (CLD_STOPPED): Likewise.
35940         (CLD_CONTINUED): Likewise.
35941         (POLL_IN): Likewise.
35942         (POLL_OUT): Likewise.
35943         (POLL_MSG): Likewise.
35944         (POLL_ERR): Likewise.
35945         (POLL_PRI): Likewise.
35946         (POLL_HUP): Likewise.
35947         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
35948         (ILL_ILLOPN): Likewise.
35949         (ILL_ILLADR): Likewise.
35950         (ILL_ILLTRP): Likewise.
35951         (ILL_PRVOPC): Likewise.
35952         (ILL_PRVREG): Likewise.
35953         (ILL_COPROC): Likewise.
35954         (ILL_BADSTK): Likewise.
35955         (ILL_DBLFLT): Likewise.
35956         (ILL_HARDWALL): Likewise.
35957         (FPE_INTDIV): Likewise.
35958         (FPE_INTOVF): Likewise.
35959         (FPE_FLTDIV): Likewise.
35960         (FPE_FLTOVF): Likewise.
35961         (FPE_FLTUND): Likewise.
35962         (FPE_FLTRES): Likewise.
35963         (FPE_FLTINV): Likewise.
35964         (FPE_FLTSUB): Likewise.
35965         (SEGV_MAPERR): Likewise.
35966         (SEGV_ACCERR): Likewise.
35967         (BUS_ADRALN): Likewise.
35968         (BUS_ADRERR): Likewise.
35969         (BUS_OBJERR): Likewise.
35970         (BUS_MCEERR_AR): Likewise.
35971         (BUS_MCEERR_AO): Likewise.
35972         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
35973         (TRAP_TRACE): Likewise.
35974         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
35975         __USE_XOPEN2K8].
35976         (CLD_KILLED): Likewise.
35977         (CLD_DUMPED): Likewise.
35978         (CLD_TRAPPED): Likewise.
35979         (CLD_STOPPED): Likewise.
35980         (CLD_CONTINUED): Likewise.
35981         (POLL_IN): Likewise.
35982         (POLL_OUT): Likewise.
35983         (POLL_MSG): Likewise.
35984         (POLL_ERR): Likewise.
35985         (POLL_PRI): Likewise.
35986         (POLL_HUP): Likewise.
35987         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
35988         (ILL_ILLOPN): Likewise.
35989         (ILL_ILLADR): Likewise.
35990         (ILL_ILLTRP): Likewise.
35991         (ILL_PRVOPC): Likewise.
35992         (ILL_PRVREG): Likewise.
35993         (ILL_COPROC): Likewise.
35994         (ILL_BADSTK): Likewise.
35995         (FPE_INTDIV): Likewise.
35996         (FPE_INTOVF): Likewise.
35997         (FPE_FLTDIV): Likewise.
35998         (FPE_FLTOVF): Likewise.
35999         (FPE_FLTUND): Likewise.
36000         (FPE_FLTRES): Likewise.
36001         (FPE_FLTINV): Likewise.
36002         (FPE_FLTSUB): Likewise.
36003         (SEGV_MAPERR): Likewise.
36004         (SEGV_ACCERR): Likewise.
36005         (BUS_ADRALN): Likewise.
36006         (BUS_ADRERR): Likewise.
36007         (BUS_OBJERR): Likewise.
36008         (BUS_MCEERR_AR): Likewise.
36009         (BUS_MCEERR_AO): Likewise.
36010         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
36011         (TRAP_TRACE): Likewise.
36012         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
36013         __USE_XOPEN2K8].
36014         (CLD_KILLED): Likewise.
36015         (CLD_DUMPED): Likewise.
36016         (CLD_TRAPPED): Likewise.
36017         (CLD_STOPPED): Likewise.
36018         (CLD_CONTINUED): Likewise.
36019         (POLL_IN): Likewise.
36020         (POLL_OUT): Likewise.
36021         (POLL_MSG): Likewise.
36022         (POLL_ERR): Likewise.
36023         (POLL_PRI): Likewise.
36024         (POLL_HUP): Likewise.
36025         * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
36026         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
36028         [BZ #16670]
36029         * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
36030         before #include of <time.h>.
36031         [!__USE_XOPEN2K] (__need_timespec): Likewise.
36032         * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
36033         (test-xfail-UNIX98/sched.h/conform): Likewise.
36035 2014-03-07  Marcus Shawcroft  <marcus.shawcroft@arm.com>
36037         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
36038         error absence of trapping exception support.
36039         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
36041 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
36043         * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
36044         ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
36045         * timezone/Makefile (testdata): Move definition above include of
36046         Rules.
36047         (test-zones): New variable.
36048         (tests-special): Add zone files.
36049         (build-testdata): Use $(evaluate-test).
36051         * elf/Makefile (tests-special): Rename tests to end with .out.
36052         ($(objpfx)noload-mem): Likewise.
36053         ($(objpfx)tst-leaks1-mem): Likewise.
36054         ($(objpfx)tst-leaks1-static-mem.out): Likewise.
36055         * iconv/Makefile (xtests-special): Change test-iconvconfig to
36056         $(objpfx)test-iconvconfig.out.
36057         (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out.  Use
36058         set -e inside subshell and redirect output to file.
36059         * iconvdata/Makefile (generated): Rename tests to end with .out.
36060         Correct type.
36061         (tests-special): Rename tests to end with .out.
36062         ($(objpfx)mtrace-tst-loading): Likewise.
36063         * intl/Makefile (generated): Likewise.
36064         (tests-special): Likewise.
36065         ($(objpfx)mtrace-tst-gettext): Likewise.
36066         * misc/Makefile (generated): Likewise.
36067         (tests-special): Likewise.
36068         ($(objpfx)tst-error1-mem): Likewise.
36069         * nptl/Makefile (tests-special): Likewise.
36070         ($(objpfx)tst-stack3-mem): Likewise.
36071         (generated): Likewise.
36072         * posix/Makefile (generated): Likewise.
36073         (tests-special): Likewise.
36074         (xtests-special): Likewise.
36075         ($(objpfx)tst-fnmatch-mem): Likewise.
36076         ($(objpfx)bug-regex2-mem): Likewise.
36077         ($(objpfx)bug-regex14-mem): Likewise.
36078         ($(objpfx)bug-regex21-mem): Likewise.
36079         ($(objpfx)bug-regex31-mem): Likewise.
36080         ($(objpfx)tst-vfork3-mem): Likewise.
36081         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
36082         ($(objpfx)tst-pcre-mem): Likewise.
36083         ($(objpfx)tst-boost-mem): Likewise.
36084         ($(objpfx)bug-ga2-mem): Likewise.
36085         ($(objpfx)bug-glob2-mem): Likewise.
36086         * resolv/Makefile (generate): Likewise.
36087         (tests-special): Likewise.
36088         (xtests-special): Likewise.
36089         (generated): Likewise.
36090         ($(objpfx)mtrace-tst-leaks): Likewise.
36091         ($(objpfx)mtrace-tst-leaks2): Likewise.
36093         * scripts/merge-test-results.sh: New file.
36094         * Makefile (tests-special-notdir): New variable.
36095         (tests): Run merge-test-results.sh.
36096         (xtests): Likewise.
36097         * Rules (tests-special-notdir): New variable.
36098         (xtests-special-notdir): Likewise.
36099         (tests): Run merge-test-results.sh
36100         (xtests): Likewise.
36102         * Makeconfig (test-xfail-name): New variable.
36103         (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
36104         compute variable name for expected failures.
36105         * conform/Makefile (conformtest-headers-data): New variable.
36106         (conformtest-standards): Likewise.
36107         (conformtest-headers-ISO): Likewise.
36108         (conformtest-headers-ISO99): Likewise.
36109         (conformtest-headers-ISO11): Likewise.
36110         (conformtest-headers-POSIX): Likewise.
36111         (conformtest-headers-XPG3): Likewise.
36112         (conformtest-headers-XPG4): Likewise.
36113         (conformtest-headers-UNIX98): Likewise.
36114         (conformtest-headers-XOPEN2K): Likewise.
36115         (conformtest-headers-POSIX2008): Likewise.
36116         (conformtest-headers-XOPEN2K8): Likewise.
36117         (conformtest-header-list-base): Likewise.
36118         (conformtest-header-list-tests): Likewise.
36119         (conformtest-header-base): Likewise.
36120         (conformtest-header-tests): Likewise.
36121         (tests-special): Add $(conformtest-header-list-tests).  If
36122         [$(fast-check) && !$(cross-compiling)], add
36123         $(conformtest-header-tests) instead of
36124         $(objpfx)run-conformtest.out.
36125         (generated): Add $(conformtest-header-list-base).  If
36126         [$(fast-check) && !$(cross-compiling)], add
36127         $(conformtest-header-base).  Remove previous setting.
36128         ($(conformtest-header-list-tests)): New target.
36129         (test-xfail-run-conformtest): Remove variable.
36130         ($(objpfx)run-conformtest.out): Remove target.
36131         (test-xfail-ISO11/complex.h/conform): New variable.
36132         (test-xfail-ISO11/stdalign.h/conform): Likewise.
36133         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
36134         (test-xfail-XPG3/varargs.h/conform): Likewise.
36135         (test-xfail-XPG4/varargs.h/conform): Likewise.
36136         (test-xfail-UNIX98/varargs.h/conform): Likewise.
36137         (test-xfail-XPG4/ndbm.h/conform): Likewise.
36138         (test-xfail-UNIX98/ndbm.h/conform): Likewise.
36139         (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
36140         (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
36141         (test-xfail-XPG3/fcntl.h/conform): Likewise.
36142         (test-xfail-XPG3/ftw.h/conform): Likewise.
36143         (test-xfail-XPG3/grp.h/conform): Likewise.
36144         (test-xfail-XPG3/langinfo.h/conform): Likewise.
36145         (test-xfail-XPG3/limits.h/conform): Likewise.
36146         (test-xfail-XPG3/pwd.h/conform): Likewise.
36147         (test-xfail-XPG3/search.h/conform): Likewise.
36148         (test-xfail-XPG3/signal.h/conform): Likewise.
36149         (test-xfail-XPG3/stdio.h/conform): Likewise.
36150         (test-xfail-XPG3/stdlib.h/conform): Likewise.
36151         (test-xfail-XPG3/string.h/conform): Likewise.
36152         (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
36153         (test-xfail-XPG3/sys/msg.h/conform): Likewise.
36154         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
36155         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
36156         (test-xfail-XPG3/sys/stat.h/conform): Likewise.
36157         (test-xfail-XPG3/sys/types.h/conform): Likewise.
36158         (test-xfail-XPG3/sys/wait.h/conform): Likewise.
36159         (test-xfail-XPG3/termios.h/conform): Likewise.
36160         (test-xfail-XPG3/time.h/conform): Likewise.
36161         (test-xfail-XPG3/unistd.h/conform): Likewise.
36162         (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
36163         (test-xfail-XPG4/fcntl.h/conform): Likewise.
36164         (test-xfail-XPG4/langinfo.h/conform): Likewise.
36165         (test-xfail-XPG4/netdb.h/conform): Likewise.
36166         (test-xfail-XPG4/netinet/in.h/conform): Likewise.
36167         (test-xfail-XPG4/signal.h/conform): Likewise.
36168         (test-xfail-XPG4/stdio.h/conform): Likewise.
36169         (test-xfail-XPG4/stdlib.h/conform): Likewise.
36170         (test-xfail-XPG4/stropts.h/conform): Likewise.
36171         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
36172         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
36173         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
36174         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
36175         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
36176         (test-xfail-XPG4/sys/stat.h/conform): Likewise.
36177         (test-xfail-XPG4/sys/time.h/conform): Likewise.
36178         (test-xfail-XPG4/sys/types.h/conform): Likewise.
36179         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
36180         (test-xfail-XPG4/termios.h/conform): Likewise.
36181         (test-xfail-XPG4/ucontext.h/conform): Likewise.
36182         (test-xfail-XPG4/unistd.h/conform): Likewise.
36183         (test-xfail-XPG4/utmpx.h/conform): Likewise.
36184         (test-xfail-POSIX/sched.h/conform): Likewise.
36185         (test-xfail-POSIX/signal.h/conform): Likewise.
36186         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
36187         (test-xfail-POSIX/tar.h/conform): Likewise.
36188         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
36189         (test-xfail-UNIX98/fcntl.h/conform): Likewise.
36190         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
36191         (test-xfail-UNIX98/netdb.h/conform): Likewise.
36192         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
36193         (test-xfail-UNIX98/sched.h/conform): Likewise.
36194         (test-xfail-UNIX98/signal.h/conform): Likewise.
36195         (test-xfail-UNIX98/stdio.h/conform): Likewise.
36196         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
36197         (test-xfail-UNIX98/stropts.h/conform): Likewise.
36198         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
36199         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
36200         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
36201         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
36202         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
36203         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
36204         (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
36205         (test-xfail-UNIX98/ucontext.h/conform): Likewise.
36206         (test-xfail-UNIX98/unistd.h/conform): Likewise.
36207         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
36208         (test-xfail-XOPEN2K/aio.h/conform): Likewise.
36209         (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
36210         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
36211         (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
36212         (test-xfail-XOPEN2K/math.h/conform): Likewise.
36213         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
36214         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
36215         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
36216         (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
36217         (test-xfail-XOPEN2K/signal.h/conform): Likewise.
36218         (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
36219         (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
36220         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
36221         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
36222         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
36223         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
36224         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
36225         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
36226         (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
36227         (test-xfail-XOPEN2K/termios.h/conform): Likewise.
36228         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
36229         (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
36230         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
36231         (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
36232         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
36233         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
36234         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
36235         (test-xfail-POSIX2008/signal.h/conform): Likewise.
36236         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
36237         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
36238         (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
36239         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
36240         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
36241         (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
36242         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
36243         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
36244         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
36245         (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
36246         (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
36247         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
36248         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
36249         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
36250         (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
36251         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
36252         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
36253         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
36254         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
36255         (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
36256         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
36257         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
36258         (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
36259         (conformtest-cc-flags): Likewise.
36260         ($(conformtest-header-tests): New target.
36261         * conform/check-header-lists.sh: New file.
36262         * conform/run-conformtest.sh: Remove.
36264         * conform/conformtest.pl: Allow ' and \ in values given for
36265         constants.
36266         * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
36267         inclusion.
36268         [POSIX] (sys/types.h): Likewise.
36269         [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
36270         inclusion.
36271         [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
36272         inclusion.
36273         * conform/data/signal.h-data (SIGIO): Remove expectation.
36274         [XPG3] (SIGBUS): Do not expect.
36275         [POSIX || XPG3] (SIGPOLL): Likewise.
36276         [POSIX || XPG3] (SIGPROF): Likewise.
36277         [POSIX || XPG3] (SIGSYS): Likewise.
36278         [XPG3] (SIGTRAP): Likewise.
36279         [POSIX || XPG3] (SIGURG): Likewise.
36280         [POSIX || XPG3] (SIGVTALRM): Likewise.
36281         [POSIX || XPG3] (SIGXCPU): Likewise.
36282         [POSIX || XPG3] (SIGXFSZ): Likewise.
36283         [POSIX] (SA_SIGINFO): Expect.
36284         [XPG3] (siginfo_t): Do not expect type or contents.
36285         [POSIX] (si_pid): Do not expect element.
36286         [POSIX] (si_uid): Likewise.
36287         [POSIX] (si_addr): Likewise.
36288         [POSIX] (si_status): Likewise.
36289         [POSIX] (si_band): Likewise.
36290         [XPG4] (si_value): Likewise.
36291         [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
36292         [POSIX || XPG3] (ILL_ILLOPN): Likewise.
36293         [POSIX || XPG3] (ILL_ILLADR): Likewise.
36294         [POSIX || XPG3] (ILL_ILLTRP): Likewise.
36295         [POSIX || XPG3] (ILL_PRVOPC): Likewise.
36296         [POSIX || XPG3] (ILL_PRVREG): Likewise.
36297         [POSIX || XPG3] (ILL_COPROC): Likewise.
36298         [POSIX || XPG3] (ILL_BADSTK): Likewise.
36299         [POSIX || XPG3] (FPE_INTDIV): Likewise.
36300         [POSIX || XPG3] (FPE_INTOVF): Likewise.
36301         [POSIX || XPG3] (FPE_FLTDIV): Likewise.
36302         [POSIX || XPG3] (FPE_FLTOVF): Likewise.
36303         [POSIX || XPG3] (FPE_FLTUND): Likewise.
36304         [POSIX || XPG3] (FPE_FLTRES): Likewise.
36305         [POSIX || XPG3] (FPE_FLTINV): Likewise.
36306         [POSIX || XPG3] (FPE_FLTSUB): Likewise.
36307         [POSIX || XPG3] (SEGV_MAPERR): Likewise.
36308         [POSIX || XPG3] (SEGV_ACCERR): Likewise.
36309         [POSIX || XPG3] (BUS_ADRALN): Likewise.
36310         [POSIX || XPG3] (BUS_ADRERR): Likewise.
36311         [POSIX || XPG3] (BUS_OBJERR): Likewise.
36312         [POSIX || XPG3] (CLD_EXITED): Likewise.
36313         [POSIX || XPG3] (CLD_KILLED): Likewise.
36314         [POSIX || XPG3] (CLD_DUMPED): Likewise.
36315         [POSIX || XPG3] (CLD_TRAPPED): Likewise.
36316         [POSIX || XPG3] (CLD_STOPPED): Likewise.
36317         [POSIX || XPG3] (CLD_CONTINUED): Likewise.
36318         [POSIX || XPG3] (POLL_IN): Likewise.
36319         [POSIX || XPG3] (POLL_OUT): Likewise.
36320         [POSIX || XPG3] (POLL_MSG): Likewise.
36321         [POSIX || XPG3] (POLL_ERR): Likewise.
36322         [POSIX || XPG3] (POLL_PRI): Likewise.
36323         [POSIX || XPG3] (POLL_HUP): Likewise.
36324         [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
36325         [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
36326         (SIG*): Do not allow.
36327         [XPG3] (si_*): Likewise.
36328         [XPG3] (SI_*): Likewise.
36329         [XPG3 || XPG4] (sigev_*): Likewise.
36330         [XPG3 || XPG4] (SIGEV_*): Likewise.
36331         [XPG3 || XPG4] (sival_*): Likewise.
36332         [POSIX || XPG3 || XPG4] (uc_*): Likewise.
36333         [POSIX || XPG3] (BUS_*): Likewise.
36334         [POSIX || XPG3] (CLD_*): Likewise.
36335         [POSIX || XPG3] (FPE_*): Likewise.
36336         [POSIX || XPG3] (ILL_*): Likewise.
36337         [POSIX || XPG3] (POLL_*): Likewise.
36338         [POSIX || XPG3] (SEGV_*): Likewise.
36339         [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
36340         [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
36341         [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
36342         [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
36343         [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
36344         * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
36345         Specify type and value.
36346         (TVERSLEN): Likewise.
36347         (REGTYPE): Likewise.
36348         (AREGTYPE): Likewise.
36349         (LNKTYPE): Likewise.
36350         (SYMTYPE): Likewise.
36351         (CHRTYPE): Likewise.
36352         (BLKTYPE): Likewise.
36353         (DIRTYPE): Likewise.
36354         (FIFOTYPE): Likewise.
36355         (CONTTYPE): Likewise.
36356         (TSUID): Likewise.
36357         (TSGID): Likewise.
36358         (TSVTX): Likewise.
36359         (TUREAD): Likewise.
36360         (TUWRITE): Likewise.
36361         (TUEXEC): Likewise.
36362         (TGREAD): Likewise.
36363         (TGWRITE): Likewise.
36364         (TGEXEC): Likewise.
36365         (TOREAD): Likewise.
36366         (TOWRITE): Likewise.
36367         (TOEXEC): Likewise.
36368         [POSIX] (TSVTX): Expect constant.
36370 2014-03-06  Joseph Myers  <joseph@codesourcery.com>
36372         * Makefile (tests): Change dependencies to ....
36373         (tests-special): ... additions to this variable.
36374         (tests): Depend on $(tests-special).
36375         * Makerules (check-abi-list): New variable.
36376         (check-abi): Depend on $(check-abi-list).
36377         [$(subdir) = elf] (tests-special): Add
36378         $(objpfx)check-abi-libc.out.
36379         [$(build-shared) = yes && subdir] (tests-special): Add
36380         $(check-abi-list).
36381         [$(build-shared) = yes && subdir] (tests): Do not depend on
36382         check-abi.
36383         * Rules (tests): Depend on $(tests-special).
36384         (xtests): Depend on $(xtests-special).
36385         * catgets/Makefile (tests): Change dependencies to ....
36386         (tests-special): ... additions to this variable.
36387         * conform/Makefile (tests): Change dependencies to ....
36388         (tests-special): ... additions to this variable.
36389         * elf/Makefile (tests): Change dependencies to ....
36390         (tests-special): ... additions to this variable.
36391         * grp/Makefile (tests): Change dependencies to ....
36392         (tests-special): ... additions to this variable.
36393         * iconv/Makefile (xtests): Change dependencies to ....
36394         (xtests-special): ... additions to this variable.
36395         * iconvdata/Makefile (tests): Change dependencies to ....
36396         (tests-special): ... additions to this variable.
36397         * intl/Makefile (tests): Change dependencies to ....
36398         (tests-special): ... additions to this variable.  Also add
36399         $(objpfx)tst-gettext.out.
36400         * io/Makefile (tests): Change dependencies to ....
36401         (tests-special): ... additions to this variable.
36402         * libio/Makefile (tests): Change dependencies to ....
36403         (tests-special): ... additions to this variable.
36404         * malloc/Makefile (tests): Change dependencies to ....
36405         (tests-special): ... additions to this variable.
36406         * misc/Makefile (tests): Change dependencies to ....
36407         (tests-special): ... additions to this variable.
36408         * nptl/Makefile (tests): Change dependencies to ....
36409         (tests-special): ... additions to this variable.
36410         * nptl_db/Makefile (tests): Change dependencies to ....
36411         (tests-special): ... additions to this variable.
36412         * posix/Makefile (tests): Change dependencies to ....
36413         (tests-special): ... additions to this variable.
36414         (xtests): Change dependencies to ....
36415         (xtests-special): ... additions to this variable.
36416         * resolv/Makefile (tests): Change dependencies to ....
36417         (tests-special): ... additions to this variable.
36418         (xtests): Change dependencies to ....
36419         (xtests-special): ... additions to this variable.
36420         * stdio-common/Makefile (tests): Change dependencies to ....
36421         (tests-special): ... additions to this variable.
36422         (do-tst-unbputc): Remove target.
36423         (do-tst-printf): Likewise.
36424         * stdlib/Makefile (tests): Change dependencies to ....
36425         (tests-special): ... additions to this variable.
36426         * string/Makefile (tests): Change dependencies to ....
36427         (tests-special): ... additions to this variable.
36428         * sysdeps/x86/Makefile (tests): Change dependencies to ....
36429         (tests-special): ... additions to this variable.
36431         * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
36432         whole file.
36433         * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
36434         whole file.
36435         * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
36436         * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
36438         * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
36439         * conform/data/arpa/inet.h-data [XPG3]: Likewise.
36440         * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
36441         * conform/data/fmtmsg.h-data [XPG3]: Likewise.
36442         * conform/data/libgen.h-data [XPG3]: Likewise.
36443         * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
36444         * conform/data/ndbm.h-data [XPG3]: Likewise.
36445         * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
36446         * conform/data/netdb.h-data [XPG3]: Likewise.
36447         * conform/data/netinet/in.h-data [XPG3]: Likewise.
36448         * conform/data/poll.h-data [XPG3]: Likewise.
36449         * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
36450         * conform/data/strings.h-data [XPG3]: Likewise.
36451         * conform/data/stropts.h-data [XPG3]: Likewise.
36452         * conform/data/sys/mman.h-data [XPG3]: Likewise.
36453         * conform/data/sys/resource.h-data [XPG3]: Likewise.
36454         * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
36455         Likewise.
36456         * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
36457         * conform/data/sys/time.h-data [XPG3]: Likewise.
36458         * conform/data/sys/timeb.h-data [XPG3]: Likewise.
36459         * conform/data/sys/uio.h-data [XPG3]: Likewise.
36460         * conform/data/sys/un.h-data [XPG3]: Likewise.
36461         * conform/data/syslog.h-data [XPG3]: Likewise.
36462         * conform/data/ucontext.h-data [XPG3]: Likewise.
36463         * conform/data/utmpx.h-data [XPG3]: Likewise.
36464         * conform/data/varargs.h-data [UNIX98]: Enable file.
36466         * manual/Makefile (INSTALL_INFO): Remove variable setting.
36468         * math/libm-test.inc (struct test_f_f_data): Move expected results
36469         into structure for each rounding mode.
36470         (struct test_ff_f_data): Likewise.
36471         (struct test_ff_f_data_nexttoward): Likewise.
36472         (struct test_fi_f_data): Likewise.
36473         (struct test_fl_f_data): Likewise.
36474         (struct test_if_f_data): Likewise.
36475         (struct test_fff_f_data): Likewise.
36476         (struct test_c_f_data): Likewise.
36477         (struct test_f_f1_data): Likewise.
36478         (struct test_fF_f1_data): Likewise.
36479         (struct test_ffI_f1_data): Likewise.
36480         (struct test_c_c_data): Likewise.
36481         (struct test_cc_c_data): Likewise.
36482         (struct test_f_i_data): Likewise.
36483         (struct test_ff_i_data): Likewise.
36484         (struct test_f_l_data): Likewise.
36485         (struct test_f_L_data): Likewise.
36486         (struct test_fFF_11_data): Likewise.
36487         (RM_): New macro.
36488         (RM_FE_DOWNWARD): Likewise.
36489         (RM_FE_TONEAREST): Likewise.
36490         (RM_FE_TOWARDZERO): Likewise.
36491         (RM_FE_UPWARD): Likewise.
36492         (RUN_TEST_LOOP_f_f): Update references to expected results.
36493         (RUN_TEST_LOOP_2_f): Likewise.
36494         (RUN_TEST_LOOP_fff_f): Likewise.
36495         (RUN_TEST_LOOP_c_f): Likewise.
36496         (RUN_TEST_LOOP_f_f1): Likewise.
36497         (RUN_TEST_LOOP_fF_f1): Likewise.
36498         (RUN_TEST_LOOP_fI_f1): Likewise.
36499         (RUN_TEST_LOOP_ffI_f1): Likewise.
36500         (RUN_TEST_LOOP_c_c): Likewise.
36501         (RUN_TEST_LOOP_cc_c): Likewise.
36502         (RUN_TEST_LOOP_f_i): Likewise.
36503         (RUN_TEST_LOOP_f_i_tg): Likewise.
36504         (RUN_TEST_LOOP_ff_i_tg): Likewise.
36505         (RUN_TEST_LOOP_f_b): Likewise.
36506         (RUN_TEST_LOOP_f_b_tg): Likewise.
36507         (RUN_TEST_LOOP_f_l): Likewise.
36508         (RUN_TEST_LOOP_f_L): Likewise.
36509         (RUN_TEST_LOOP_fFF_11): Likewise.
36510         * math/gen-libm-test.pl (parse_args): Output four copies of
36511         expected results for each test.
36513         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
36514         (__ASSUME_UTIMES): Remove.
36515         * sysdeps/unix/sysv/linux/tile/kernel-features.h
36516         (__ASSUME_UTIMES): Likewise.
36518         * math/gen-auto-libm-tests.c: Update comment on output format.
36519         (output_for_one_input_case): Generate before-rounding and
36520         after-rounding information as conditions on output flags not
36521         floating-point format.
36522         * math/auto-libm-test-out: Regenerated.
36523         * math/gen-libm-test.pl (cond_value): New function.
36524         (or_cond_value): Use cond_value.
36525         (generate_testfile): Handle conditional exceptions.
36527 2014-03-05  Joseph Myers  <joseph@codesourcery.com>
36529         * math/libm-test.inc (max_valid_error): New variable.
36530         (init_max_error): Take new argument specifying whether function
36531         results are exactly determined.  Set max_valid_error and bound
36532         other variables for errors based on this argument.
36533         (set_max_error): Do not record results above max_valid_error.
36534         (check_float_internal): Only accept errors of up to 0.5ulps if
36535         also at most max_valid_error.
36536         (START): Take new argument EXACT and pass it to init_max_error.
36537         (acos_test): Update call to START.
36538         (acos_test_tonearest): Likewise.
36539         (acos_test_towardzero): Likewise.
36540         (acos_test_downward): Likewise.
36541         (acos_test_upward): Likewise.
36542         (acosh_test): Likewise.
36543         (asin_test): Likewise.
36544         (asin_test_tonearest): Likewise.
36545         (asin_test_towardzero): Likewise.
36546         (asin_test_downward): Likewise.
36547         (asin_test_upward): Likewise.
36548         (asinh_test): Likewise.
36549         (atan_test): Likewise.
36550         (atanh_test): Likewise.
36551         (atan2_test): Likewise.
36552         (cabs_test): Likewise.
36553         (cacos_test): Likewise.
36554         (cacosh_test): Likewise.
36555         (carg_test): Likewise.
36556         (casin_test): Likewise.
36557         (casinh_test): Likewise.
36558         (catan_test): Likewise.
36559         (catanh_test): Likewise.
36560         (cbrt_test): Likewise.
36561         (ccos_test): Likewise.
36562         (ccosh_test): Likewise.
36563         (ceil_test): Likewise.
36564         (cexp_test): Likewise.
36565         (cimag_test): Likewise.
36566         (clog_test): Likewise.
36567         (clog10_test): Likewise.
36568         (conj_test): Likewise.
36569         (copysign_test): Likewise.
36570         (cos_test): Likewise.
36571         (cos_test_tonearest): Likewise.
36572         (cos_test_towardzero): Likewise.
36573         (cos_test_downward): Likewise.
36574         (cos_test_upward): Likewise.
36575         (cosh_test): Likewise.
36576         (cosh_test_tonearest): Likewise.
36577         (cosh_test_towardzero): Likewise.
36578         (cosh_test_downward): Likewise.
36579         (cosh_test_upward): Likewise.
36580         (cpow_test): Likewise.
36581         (cproj_test): Likewise.
36582         (creal_test): Likewise.
36583         (csin_test): Likewise.
36584         (csinh_test): Likewise.
36585         (csqrt_test): Likewise.
36586         (ctan_test): Likewise.
36587         (ctan_test_tonearest): Likewise.
36588         (ctan_test_towardzero): Likewise.
36589         (ctan_test_downward): Likewise.
36590         (ctan_test_upward): Likewise.
36591         (ctanh_test): Likewise.
36592         (ctanh_test_tonearest): Likewise.
36593         (ctanh_test_towardzero): Likewise.
36594         (ctanh_test_downward): Likewise.
36595         (ctanh_test_upward): Likewise.
36596         (erf_test): Likewise.
36597         (erfc_test): Likewise.
36598         (exp_test): Likewise.
36599         (exp_test_tonearest): Likewise.
36600         (exp_test_towardzero): Likewise.
36601         (exp_test_downward): Likewise.
36602         (exp_test_upward): Likewise.
36603         (exp10_test): Likewise.
36604         (exp10_test_tonearest): Likewise.
36605         (exp10_test_towardzero): Likewise.
36606         (exp10_test_downward): Likewise.
36607         (exp10_test_upward): Likewise.
36608         (pow10_test): Likewise.
36609         (exp2_test): Likewise.
36610         (expm1_test): Likewise.
36611         (expm1_test_tonearest): Likewise.
36612         (expm1_test_towardzero): Likewise.
36613         (expm1_test_downward): Likewise.
36614         (expm1_test_upward): Likewise.
36615         (fabs_test): Likewise.
36616         (fdim_test): Likewise.
36617         (floor_test): Likewise.
36618         (fma_test): Likewise.
36619         (fma_test_towardzero): Likewise.
36620         (fma_test_downward): Likewise.
36621         (fma_test_upward): Likewise.
36622         (fmax_test): Likewise.
36623         (fmin_test): Likewise.
36624         (fmod_test): Likewise.
36625         (fpclassify_test): Likewise.
36626         (frexp_test): Likewise.
36627         (hypot_test): Likewise.
36628         (ilogb_test): Likewise.
36629         (isfinite_test): Likewise.
36630         (finite_test): Likewise.
36631         (isgreater_test): Likewise.
36632         (isgreaterequal_test): Likewise.
36633         (isinf_test): Likewise.
36634         (isless_test): Likewise.
36635         (islessequal_test): Likewise.
36636         (islessgreater_test): Likewise.
36637         (isnan_test): Likewise.
36638         (isnormal_test): Likewise.
36639         (issignaling_test): Likewise.
36640         (isunordered_test): Likewise.
36641         (j0_test): Likewise.
36642         (j1_test): Likewise.
36643         (jn_test): Likewise.
36644         (ldexp_test): Likewise.
36645         (lgamma_test): Likewise.
36646         (gamma_test): Likewise.
36647         (lrint_test): Likewise.
36648         (lrint_test_tonearest): Likewise.
36649         (lrint_test_towardzero): Likewise.
36650         (lrint_test_downward): Likewise.
36651         (lrint_test_upward): Likewise.
36652         (llrint_test): Likewise.
36653         (llrint_test_tonearest): Likewise.
36654         (llrint_test_towardzero): Likewise.
36655         (llrint_test_downward): Likewise.
36656         (llrint_test_upward): Likewise.
36657         (log_test): Likewise.
36658         (log10_test): Likewise.
36659         (log1p_test): Likewise.
36660         (log2_test): Likewise.
36661         (logb_test): Likewise.
36662         (logb_test_downward): Likewise.
36663         (lround_test): Likewise.
36664         (llround_test): Likewise.
36665         (modf_test): Likewise.
36666         (nearbyint_test): Likewise.
36667         (nextafter_test): Likewise.
36668         (nexttoward_test): Likewise.
36669         (pow_test): Likewise.
36670         (pow_test_tonearest): Likewise.
36671         (pow_test_towardzero): Likewise.
36672         (pow_test_downward): Likewise.
36673         (pow_test_upward): Likewise.
36674         (remainder_test): Likewise.
36675         (drem_test): Likewise.
36676         (remainder_test_tonearest): Likewise.
36677         (drem_test_tonearest): Likewise.
36678         (remainder_test_towardzero): Likewise.
36679         (drem_test_towardzero): Likewise.
36680         (remainder_test_downward): Likewise.
36681         (drem_test_downward): Likewise.
36682         (remainder_test_upward): Likewise.
36683         (drem_test_upward): Likewise.
36684         (remquo_test): Likewise.
36685         (rint_test): Likewise.
36686         (rint_test_tonearest): Likewise.
36687         (rint_test_towardzero): Likewise.
36688         (rint_test_downward): Likewise.
36689         (rint_test_upward): Likewise.
36690         (round_test): Likewise.
36691         (scalb_test): Likewise.
36692         (scalbn_test): Likewise.
36693         (scalbln_test): Likewise.
36694         (signbit_test): Likewise.
36695         (sin_test): Likewise.
36696         (sin_test_tonearest): Likewise.
36697         (sin_test_towardzero): Likewise.
36698         (sin_test_downward): Likewise.
36699         (sin_test_upward): Likewise.
36700         (sincos_test): Likewise.
36701         (sinh_test): Likewise.
36702         (sinh_test_tonearest): Likewise.
36703         (sinh_test_towardzero): Likewise.
36704         (sinh_test_downward): Likewise.
36705         (sinh_test_upward): Likewise.
36706         (sqrt_test): Likewise.
36707         (sqrt_test_tonearest): Likewise.
36708         (sqrt_test_towardzero): Likewise.
36709         (sqrt_test_downward): Likewise.
36710         (sqrt_test_upward): Likewise.
36711         (tan_test): Likewise.
36712         (tan_test_tonearest): Likewise.
36713         (tan_test_towardzero): Likewise.
36714         (tan_test_downward): Likewise.
36715         (tan_test_upward): Likewise.
36716         (tanh_test): Likewise.
36717         (tgamma_test): Likewise.
36718         (trunc_test): Likewise.
36719         (y0_test): Likewise.
36720         (y1_test): Likewise.
36721         (yn_test): Likewise.
36722         (significand_test): Likewise.
36724         * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
36725         individual tests in comment.
36726         (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
36727         (prev_max_error): New variable.
36728         (prev_real_max_error): Likewise.
36729         (prev_imag_max_error): Likewise.
36730         (compare_ulp_data): Don't refer to test names in comment.
36731         (find_test_ulps): Remove function.
36732         (find_function_ulps): Likewise.
36733         (find_complex_function_ulps): Likewise.
36734         (init_max_error): Take function name as argument.  Look up ulps
36735         for that function.
36736         (print_ulps): Remove function.
36737         (print_max_error): Use prev_max_error instead of calling
36738         find_function_ulps.
36739         (print_complex_max_error): Use prev_real_max_error and
36740         prev_imag_max_error instead of calling find_complex_function_ulps.
36741         (check_float_internal): Take max_ulp parameter instead of calling
36742         find_test_ulps.  Don't call print_ulps.
36743         (check_float): Update call to check_float_internal.
36744         (check_complex): Update calls to check_float_internal.
36745         (START): Pass argument to init_max_error.
36746         * math/gen-libm-test.pl (%results): Don't include "kind"
36747         information.
36748         (parse_ulps): Don't handle ulps of individual tests.
36749         (print_ulps_file): Likewise.
36750         (output_ulps): Likewise.
36751         * math/README.libm-test: Update.
36752         * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
36753         individual tests.
36754         * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
36755         * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
36756         * sysdeps/arm/libm-test-ulps: Likewise.
36757         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
36758         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
36759         * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
36760         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
36761         * sysdeps/microblaze/libm-test-ulps: Likewise.
36762         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
36763         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
36764         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
36765         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
36766         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
36767         * sysdeps/sh/libm-test-ulps: Likewise.
36768         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
36769         * sysdeps/tile/libm-test-ulps: Likewise.
36770         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36772 2014-03-04  Joseph Myers  <joseph@codesourcery.com>
36774         * math/libm-test.inc (print_complex_max_error): Check separately
36775         whether real and imaginary errors are within allowed range and
36776         pass 0 to print_complex_function_ulps instead of value within
36777         allowed range.
36779 2014-03-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
36781         * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
36782         formatting.
36783         (get_handles_fopen): Likewise.
36784         (do_write_test): Likewise.
36786         * libio/wfileops.c (do_ftell_wide): Fix up formatting.
36788         * libio/fileops.c (do_ftell): Use cached offset when
36789         available.
36790         * libio/iofwide.c (do_ftell_wide): Likewise.
36791         * libio/iofdopen.c (_IO_new_fdopen): Don't use
36792         _IO_file_attach.
36793         * libio/wfileops.c (_IO_fwide): Don't cache offset.
36795         [BZ #16532]
36796         * libio/libioP.h (get_file_offset): New function.
36797         * libio/fileops.c (get_file_offset): Likewise.
36798         (do_ftell): Likewise.
36799         (_IO_new_file_seekoff): Split out ftell logic.
36800         * libio/wfileops.c (do_ftell_wide): Likewise.
36801         (_IO_wfile_seekoff): Split out ftell logic.
36802         * libio/tst-ftell-active-handler.c: New test case.
36803         * libio/Makefile (tests): Add it.
36805 2014-03-03  Roland McGrath  <roland@hack.frob.com>
36807         * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
36808         * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
36810 2014-03-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
36812         [BZ #16639]
36813         * nscd/connections.c (nscd_init): Call do_exit.
36814         (start_threads): Call do_exit and notify_parent.
36815         (begin_drop_privileges): Call do_exit.
36816         (finish_drop_privileges): Likewise.
36817         * nscd/selinux.c (preserve_capabilities): Likewise.
36818         (install_real_capabilities): Likewise.
36819         (nscd_selinux_enabled): Likewise.
36820         (avc_create_thread): Likewise.
36821         (avc_alloc_lock): Likewise.
36822         (nscd_avc_init): Likewise.
36823         * nscd/nscd.c (parent_fd): New static variable.
36824         (main): Create a pipe between parent and child processes.
36825         Skip closing parent_fd.
36826         (monitor_child): New function.
36827         (do_exit): Likewise.
36828         (notify_parent): Likewise.
36829         * nscd/nscd.h (notify_parent): Likewise.
36830         (do_exit): Likewise.
36832 2014-03-03  Carlos O'Donell  <carlos@redhat.com>
36834         * malloc/malloc.c (__libc_calloc): Revert last change.
36836 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36838         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36840 2014-03-03  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
36842         * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
36843         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
36844         implementation.
36845         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
36846         (__libc_ifunc_impl_list): Likewise.
36847         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
36848         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
36849         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
36850         * string/strrchr.c: Define STRRCHR.
36852 2014-02-28  Ondřej Bílka  <neleai@seznam.cz>
36854         * benchtest/bench-strtok.c (simple_strtok): Delete.
36855         (strtok_string): Use as benchmark.
36856         * string/strtok (STRTOK): New macro.
36858 2014-02-28  Carlos O'Donell  <carlos@redhat.com>
36860         * manual/threads.texi: Add header and standard comments to all
36861         functions.
36863         * elf/dl-lookup.c (check_match): New function.
36864         (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
36865         (do_lookup_x): Remove nested function check_match. Use non-nested
36866         function check_match.
36868 2014-02-28  Roland McGrath  <roland@hack.frob.com>
36870         * csu/Makefile (generated, before-compile): Use += rather than =.
36871         * catgets/Makefile (generated, generated-dirs): Likewise.
36872         * debug/Makefile (generated): Likewise.
36873         * dlfcn/Makefile (generated): Likewise.
36874         * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
36875         * iconvdata/Makefile (before-compile, generated): Likewise.
36876         * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
36877         * libio/Makefile (generated): Likewise.
36878         * malloc/Makefile (generated): Likewise.
36879         * manual/Makefile (generated, generated-dirs): Likewise.
36880         * misc/Makefile (generated): Likewise.
36881         * posix/Makefile (generated): Likewise.
36882         * resolv/Makefile (generated): Likewise.
36883         * sunrpc/Makefile (generated, generated-dirs): Likewise.
36884         * timezone/Makefile (generated, generated-dirs): Likewise.
36886         * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
36888 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36890         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
36891         power8 implementation.
36892         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
36893         file: POWER8 llround ifunc implementation.
36894         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
36895         (__lllround): Add POWER8 implementation.
36896         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
36897         POWER8 llround implementation.
36899         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
36900         power8 implementation.
36901         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
36902         file: POWER8 llrint ifunc implementation.
36903         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
36904         Add POWER8 implementation.
36905         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
36906         POWER8 llrint implementation.
36908         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
36909         power8 implementation.
36910         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
36911         file: POWER8 finite ifunc implementation.
36912         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
36913         Add POWER8 implementation.
36914         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
36915         Likewise.
36916         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
36917         POWER8 finite implementation.
36918         * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
36920         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
36921         power8 implementation.
36922         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
36923         file: POWER8 isinf ifunc implementation.
36924         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
36925         POWER8 implementation.
36926         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
36927         Likewise.
36928         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
36929         isinf implementation.
36930         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
36932         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
36933         (INIT_ARCH): Add hwcap2 initialization.
36934         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
36935         power8 implementation.
36936         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
36937         file: POWER8 isnan ifunc implementation.
36938         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
36939         POWER8 implementation.
36940         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
36941         Likewise.
36942         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
36943         isnan implementation.
36944         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
36946 2014-02-27  Joey Ye  <joey.ye@arm.com>
36948         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
36949         (_FP_NANFRAC_Q): Set to zero.
36951 2014-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
36953         [BZ #16623]
36954         * math/auto-libm-test-in: New test inputs.
36955         * math/auto-libm-test-out: Regenerate.
36956         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
36957         and DA.
36958         (__cos): Likewise.
36959         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
36961 2014-02-27  Joseph Myers  <joseph@codesourcery.com>
36963         * scripts/evaluate-test.sh: Take new argument indicating whether
36964         failure is expected.
36965         * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
36966         indicating whether failure is expected.
36967         * conform/Makefile (test-xfail-run-conformtest): New variable.
36968         ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
36969         level.
36970         * posix/Makefile (test-xfail-annexc): New variable.
36971         ($(objpfx)annexc.out): Don't expect to fail at makefile level.
36973 2014-02-26  Joseph Myers  <joseph@codesourcery.com>
36975         * argp/Makefile: Include Makeconfig immediately after defining
36976         subdir.
36977         * assert/Makefile: Likewise.
36978         * benchtests/Makefile: Likewise.
36979         * catgets/Makefile: Likewise.
36980         * conform/Makefile: Likewise.
36981         * crypt/Makefile: Likewise.
36982         * csu/Makefile: Likewise.
36983         (all): Remove target.
36984         * ctype/Makefile: Include Makeconfig immediately after defining
36985         subdir.
36986         * debug/Makefile: Likewise.
36987         * dirent/Makefile: Likewise.
36988         * dlfcn/Makefile: Likewise.
36989         * gmon/Makefile: Likewise.
36990         * gnulib/Makefile: Likewise.
36991         * grp/Makefile: Likewise.
36992         * gshadow/Makefile: Likewise.
36993         * hesiod/Makefile: Likewise.
36994         * hurd/Makefile: Likewise.
36995         (all): Remove target.
36996         * iconvdata/Makefile: Include Makeconfig immediately after
36997         defining subdir.
36998         * inet/Makefile: Likewise.
36999         * intl/Makefile: Likewise.
37000         * io/Makefile: Likewise.
37001         * libio/Makefile: Likewise.
37002         (all): Remove target.
37003         * locale/Makefile: Include Makeconfig immediately after defining
37004         subdir.
37005         * login/Makefile: Likewise.
37006         * mach/Makefile: Likewise.
37007         (all): Remove target.
37008         * malloc/Makefile: Include Makeconfig immediately after defining
37009         subdir.
37010         (all): Remove target.
37011         * manual/Makefile: Include Makeconfig immediately after defining
37012         subdir.
37013         * math/Makefile: Likewise.
37014         * misc/Makefile: Likewise.
37015         * nis/Makefile: Likewise.
37016         * nss/Makefile: Likewise.
37017         * po/Makefile: Likewise.
37018         (all): Remove target.
37019         * posix/Makefile: Include Makeconfig immediately after defining
37020         subdir.
37021         * pwd/Makefile: Likewise.
37022         * resolv/Makefile: Likewise.
37023         * resource/Makefile: Likewise.
37024         * rt/Makefile: Likewise.
37025         * setjmp/Makefile: Likewise.
37026         * shadow/Makefile: Likewise.
37027         * signal/Makefile: Likewise.
37028         * socket/Makefile: Likewise.
37029         * soft-fp/Makefile: Likewise.
37030         * stdio-common/Makefile: Likewise.
37031         * stdlib/Makefile: Likewise.
37032         * streams/Makefile: Likewise.
37033         * string/Makefile: Likewise.
37034         * sunrpc/Makefile: Likewise.
37035         (all): Remove target.
37036         * sysvipc/Makefile: Include Makeconfig immediately after defining
37037         subdir.
37038         * termios/Makefile: Likewise.
37039         * time/Makefile: Likewise.
37040         * timezone/Makefile: Likewise.
37041         (all): Remove target.
37042         * wcsmbs/Makefile: Include Makeconfig immediately after defining
37043         subdir.
37044         * wctype/Makefile: Likewise.
37046 2014-02-26  Steve Ellcey  <sellcey@mips.com>
37048         * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
37049         (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
37050         (libc_feholdexcept_setround_mips): Ditto.
37051         (libc_feholdsetround): New.
37052         (libc_feholdsetroundf): New.
37053         (libc_feholdsetroundl): New.
37054         (libc_feupdateenv_test_mips): New.
37055         (libc_feupdateenv_test): New.
37056         (libc_feupdateenv_testf): New.
37057         (libc_feupdateenv_testl): New.
37058         (libc_feresetround): New.
37059         (libc_feresetroundf): New.
37060         (libc_feresetroundl): New.
37061         (libc_fetestexcept_mips): New.
37062         (libc_fetestexcept): New.
37063         (libc_fetestexceptf): New.
37064         (libc_fetestexceptl): New.
37065         (HAVE_RM_CTX): New.
37066         (libc_feholdexcept_setround_mips_ctx): New.
37067         (libc_feholdexcept_setround_ctx): New.
37068         (libc_feholdexcept_setroundf_ctx): New.
37069         (libc_feholdexcept_setroundl_ctx): New.
37070         (libc_fesetenv_mips_ctx): New.
37071         (libc_fesetenv_ctx): New.
37072         (libc_fesetenv_ctxf): New.
37073         (libc_fesetenv_ctxl): New.
37074         (libc_feupdateenv_mips_ctx): New.
37075         (libc_feupdateenv_ctx): New.
37076         (libc_feupdateenvf_ctx): New.
37077         (libc_feupdateenvl_ctx): New.
37078         (libc_feholdsetround_mips_ctx): New.
37079         (libc_feholdsetround_ctx): New.
37080         (libc_feholdsetroundf_ctx): New.
37081         (libc_feholdsetroundl_ctx): New.
37082         (libc_feresetround_mips_ctx): New.
37083         (libc_feresetround_ctx): New.
37084         (libc_feresetroundf_ctx): New.
37085         (libc_feresetroundl_ctx): New.
37087 2014-02-26  Carlos O'Donell  <carlos@redhat.com>
37089         * manual/ipc.texi (Semaphores): Use @Theglibc{}.
37091         * manual/ipc.texi: New file.
37092         * manual/Makefile (chapters): Add ipc.
37093         * manual/job.texi: Add "Inter-Process Communication" to next.
37094         * manual/process.texi: Add "Inter-Process Communication" to prev.
37096 2014-02-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37098         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37100 2014-02-26  Ondřej Bílka  <neleai@seznam.cz>
37102         * malloc/malloc.c (__libc_calloc): Simplify implementation.
37104         * manual/arith.texi: Fix spaces after sentences.
37105         * manual/charset.texi: Likewise.
37106         * manual/errno.texi: Likewise.
37107         * manual/install.texi: Likewise.
37108         * manual/llio.texi: Likewise.
37109         * manual/locale.texi: Likewise.
37110         * manual/maint.texi: Likewise.
37111         * manual/math.texi: Likewise.
37112         * manual/memory.texi: Likewise.
37113         * manual/message.texi: Likewise.
37114         * manual/probes.texi: Likewise.
37115         * manual/resource.texi: Likewise.
37116         * manual/signal.texi: Likewise.
37117         * manual/socket.texi: Likewise.
37118         * manual/stdio.texi: Likewise.
37119         * manual/string.texi: Likewise.
37120         * manual/time.texi: Likewise.
37121         * manual/users.texi: Likewise.
37123 2014-02-25  Carlos O'Donell  <carlos@redhat.com>
37125         [BZ #16632]
37126         * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
37127         _DEFAULT_SOURCE is defined.
37129 2014-02-25  Ulrich Drepper  <drepper@gmail.com>
37130             Carlos O'Donell  <carlos@redhat.com>
37132         [BZ #16613]
37133         * elf/dl-tls.c (_dl_count_modids): New function.
37134         * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
37135         * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
37136         audit library and increment generation counter.
37137         (_dl_allocate_tls_init): Add assertion to check TLS generation count.
37138         * elf/tst-audit9.c: New file.
37139         * elf/tst-auditmod9a.c: New file.
37140         * elf/tst-auditmod9b.c: New file.
37141         * elf/Makefile: Add rules to build and run tst-audit9.
37143 2014-02-25  Florian Weimer  <fweimer@redhat.com>
37145         [BZ #15347]
37146         * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
37148 2014-02-25  Will Newton  <will.newton@linaro.org>
37150         * sysdeps/arm/__longjmp.S: Include stap-probe.h.
37151         (__longjmp): Restore sp and lr before restoring callee
37152         saved registers.  Add longjmp and longjmp_target
37153         SystemTap probe point.
37154         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
37155         * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
37156         Define to zero to match jmpbuf layout.
37157         * sysdeps/arm/setjmp.S: Include stap-probe.h.
37158         (__sigsetjmp): Save sp and lr before saving callee
37159         saved registers.  Add setjmp SystemTap probe point.
37161 2014-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
37163         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
37165 2014-02-24  Andreas Schwab  <schwab@suse.de>
37167         [BZ #15804]
37168         * elf/pldd.c (wait_for_ptrace_stop): New function.
37169         (main): Call it after attaching.
37171 2014-02-22  Roland McGrath  <roland@hack.frob.com>
37173         * Makerules ($(common-objpfx)Versions.v.i): No longer depend
37174         on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
37175         Versions files is now verboten.
37176         * hurd/Versions (libc: GLIBC_2.0):
37177         Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
37178         (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
37179         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
37180         * mach/Versions: Likewise.
37182         * csu/Versions: Remove unused %include.
37183         * resolv/Versions: Likewise.
37185 2014-02-21  Joseph Myers  <joseph@codesourcery.com>
37187         * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
37188         ($(objpfx)check-local-headers.out): Likewise.
37189         ($(objpfx)begin-end-check.out): Likewise.
37190         * Makerules (check-abi-%.out): Likewise.
37191         * catgets/Makefile ($(objpfx)test1.cat): Likewise.
37192         ($(objpfx)test2.cat): Likewise.
37193         ($(objpfx)de/libc.cat): Likewise.
37194         ($(objpfx)test-gencat.out): Likewise.
37195         * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
37196         * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
37197         ($(objpfx)noload-mem): Likewise.
37198         ($(objpfx)tst-pathopt.out): Likewise.
37199         ($(objpfx)tst-rtld-load-self.out): Likewise.
37200         ($(objpfx)tst-array1-cmp.out): Likewise.
37201         ($(objpfx)tst-array1-static-cmp.out): Likewise.
37202         ($(objpfx)tst-array2-cmp.out): Likewise.
37203         ($(objpfx)tst-array3-cmp.out): Likewise.
37204         ($(objpfx)tst-array4-cmp.out): Likewise.
37205         ($(objpfx)tst-array5-cmp.out): Likewise.
37206         ($(objpfx)tst-array5-static-cmp.out): Likewise.
37207         ($(objpfx)check-textrel.out): Likewise.
37208         ($(objpfx)check-execstack.out): Likewise.
37209         ($(objpfx)check-localplt.out): Likewise.
37210         ($(objpfx)order2-cmp.out): Likewise.
37211         ($(objpfx)tst-leaks1-mem): Likewise.
37212         ($(objpfx)tst-leaks1-static-mem): Likewise.
37213         ($(objpfx)tst-initorder-cmp.out): Likewise.
37214         ($(objpfx)tst-initorder2-cmp.out): Likewise.
37215         ($(objpfx)tst-unused-dep.out): Likewise.
37216         ($(objpfx)tst-unused-dep-cmp.out): Likewise.
37217         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
37218         * iconv/Makefile (test-iconvconfig): Likewise.
37219         * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
37220         ($(objpfx)iconv-test.out): Likewise.
37221         ($(objpfx)tst-tables.out): Likewise.
37222         * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
37223         ($(objpfx)tst-gettext.out): Likewise.
37224         ($(objpfx)tst-translit.out): Likewise.
37225         ($(objpfx)tst-gettext2.out): Likewise.
37226         ($(objpfx)tst-gettext4.out): Likewise.
37227         ($(objpfx)tst-gettext6.out): Likewise.
37228         * io/Makefile ($(objpfx)ftwtest.out): Likewise.
37229         * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
37230         ($(objpfx)tst-fopenloc-cmp.out): Likewise.
37231         ($(objpfx)tst-fopenloc-mem.out): Likewise.
37232         * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
37233         * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
37234         * posix/Makefile ($(objpfx)globtest.out): Likewise.
37235         ($(objpfx)wordexp-tst.out): Likewise.
37236         ($(objpfx)annexc.out): Likewise.
37237         ($(objpfx)tst-fnmatch-mem): Likewise.
37238         ($(objpfx)bug-regex2-mem): Likewise.
37239         ($(objpfx)bug-regex14-mem): Likewise.
37240         ($(objpfx)bug-regex21-mem): Likewise.
37241         ($(objpfx)bug-regex31-mem): Likewise.
37242         ($(objpfx)tst-vfork3-mem): Likewise.
37243         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
37244         ($(objpfx)tst-pcre-mem): Likewise.
37245         ($(objpfx)tst-boost-mem): Likewise.
37246         ($(objpfx)tst-getconf.out): Likewise.
37247         ($(objpfx)bug-ga2-mem): Likewise.
37248         ($(objpfx)bug-glob2-mem): Likewise.
37249         * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
37250         ($(objpfx)mtrace-tst-leaks2): Likewise.
37251         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
37252         ($(objpfx)tst-printf.out): Likewise.
37253         ($(objpfx)tst-setvbuf1.out): Likewise.
37254         ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
37255         * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
37256         ($(objpfx)tst-fmtmsg.out): Likewise.
37257         * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
37258         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
37260         * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
37261         * bits/sigaction.h [__USE_MISC]: Likewise.
37262         * bits/waitstatus.h: Update #endif comments.
37263         * ctype/ctype.h: Likewise.
37264         * dirent/dirent.h: Likewise.
37265         [__USE_MISC]: Remove redundant conditionals.
37266         * grp/grp.h: Update #endif comments.
37267         [__USE_GNU]: Remove redundant conditionals.
37268         [__USE_MISC]: Likewise.
37269         * inet/netinet/in.h [__USE_GNU]: Likewise.
37270         * io/sys/stat.h [__USE_MISC]: Likewise.
37271         * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
37272         * libio/bits/stdio.h: Update #endif comments.
37273         [__USE_MISC]: Remove redundant conditionals.
37274         * libio/bits/stdio2.h [__USE_MISC]: Likewise.
37275         * libio/stdio.h: Update #endif comments.
37276         [__USE_MISC]: Remove redundant conditionals.
37277         * math/bits/math-finite.h [__USE_MISC]: Likewise.
37278         * math/bits/mathcalls.h [__USE_MISC]: Likewise.
37279         * math/math.h: Update #else and #endif comments.
37280         [__USE_MISC]: Remove redundant conditionals.
37281         * misc/sys/uio.h: Update #endif comments.
37282         * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
37283         * posix/glob.h [__USE_MISC]: Likewise.
37284         * posix/sys/types.h: Update #endif comments.
37285         [__USE_MISC]: Remove redundant conditionals.
37286         * posix/sys/wait.h: Update #endif comments.
37287         [__USE_MISC]: Remove redundant conditionals.
37288         * posix/unistd.h: Update #endif comments.
37289         [__USE_MISC]: Remove redundant conditionals.
37290         * pwd/pwd.h [__USE_GNU]: Likewise.
37291         [__USE_MISC]: Likewise.
37292         * resolv/netdb.h [__USE_GNU]: Likewise.
37293         * signal/signal.h: Update #endif comments.
37294         [__USE_MISC]: Remove redundant conditionals.
37295         * stdlib/stdlib.h: Update #else and #endif comments.
37296         [__USE_MISC]: Remove redundant conditionals.
37297         [__USE_GNU]: Likewise.
37298         * string/bits/string2.h [__USE_MISC]: Likewise.
37299         * string/string.h: Update #endif comments.
37300         [__USE_MISC]: Remove redundant conditionals.
37301         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
37302         Likewise.
37303         * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
37304         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
37305         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
37306         Likewise.
37307         * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
37308         Likewise.
37309         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
37310         comments.
37311         [__USE_MISC]: Remove redundant conditionals.
37312         * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
37313         * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
37314         * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
37315         * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
37316         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
37317         Likewise.
37318         * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
37319         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
37320         Likewise.
37321         * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
37322         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
37323         Likewise.
37324         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
37325         Likewise.
37326         * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
37327         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
37328         Likewise.
37329         * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
37330         Likewise.
37331         * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
37332         * sysdeps/x86/bits/string.h: Update #endif comments.
37333         * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
37334         conditionals.
37335         * time/sys/time.h: Update #endif comments.
37336         * time/time.h: Likewise.
37337         [__USE_MISC]: Remove redundant conditionals.
37339 2014-02-21  Yury Gribov  <y.gribov@samsung.com>
37341         [BZ #16600]
37342         * sysdeps/arm/libm-test-ulps: Update for VFPv4.
37344 2014-02-21  Andreas Schwab  <schwab@linux-m68k.org>
37346         * Versions.def (librt): Add GLIBC_2.17.
37348 2014-02-21  Adam Conrad  <adconrad@0c3.net>
37350         * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
37351         synonym for _SYS_AUXV_H to allow direct inclusion.
37352         * sysdeps/sparc/bits/hwcap.h: Likewise.
37353         * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
37354         _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
37355         * sysdeps/sparc/sysdep.h: Likewise.
37357 2014-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
37359         * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
37361 2014-02-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
37363         * benchtests/bench-strrchr.c: Print length instead of position.
37365 2014-02-20  Joseph Myers  <joseph@codesourcery.com>
37367         [BZ #16611]
37368         * sysdeps/unix/sysv/linux/kernel-features.h
37369         [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
37370         (__ASSUME_SENDMMSG_SOCKETCALL): Define.
37371         [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
37372         __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
37373         Likewise.
37374         [__i386__ || __powerpc__ || __sh__ || __sparc__]
37375         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
37376         [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
37377         (__ASSUME_SENDMMSG): Define instead of using previous
37378         [__LINUX_KERNEL_VERSION >= 0x020627] condition.
37379         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
37380         (__ASSUME_SENDMMSG_SYSCALL): Define.
37381         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
37382         [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
37383         Likewise.
37384         * sysdeps/unix/sysv/linux/arm/kernel-features.h
37385         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
37386         Likewise.
37387         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
37388         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
37389         Likewise.
37390         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
37391         && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
37392         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
37393         [__ASSUME_SENDMMSG]: Change conditionals to
37394         [__ASSUME_SENDMMSG_SOCKETCALL].
37395         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
37396         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
37397         Define.
37398         * sysdeps/unix/sysv/linux/mips/kernel-features.h
37399         [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
37400         Likewise.
37401         * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
37402         !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
37403         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
37404         [!__ASSUME_SENDMMSG]: Change conditional to
37405         [!__ASSUME_SENDMMSG_SOCKETCALL].
37406         * sysdeps/unix/sysv/linux/tile/kernel-features.h
37407         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
37408         Define.
37410         [BZ #16610]
37411         * sysdeps/unix/sysv/linux/kernel-features.h
37412         [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
37413         (__ASSUME_RECVMMSG_SOCKETCALL): Define.
37414         [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
37415         __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
37416         || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
37417         [__i386__ || __sparc__]
37418         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
37419         [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
37420         (__ASSUME_RECVMMSG): Define instead of using previous
37421         [__LINUX_KERNEL_VERSION >= 0x020621] condition.
37422         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
37423         (__ASSUME_RECVMMSG_SYSCALL): Define.
37424         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
37425         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
37426         Likewise.
37427         * sysdeps/unix/sysv/linux/arm/kernel-features.h
37428         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
37429         Likewise.
37430         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
37431         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
37432         Likewise.
37433         * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
37434         && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
37435         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
37436         [__ASSUME_RECVMMSG]: Change condition to
37437         [__ASSUME_RECVMMSG_SOCKETCALL].
37438         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
37439         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
37440         Define.
37441         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
37442         * sysdeps/unix/sysv/linux/mips/kernel-features.h
37443         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
37444         Likewise.
37445         * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
37446         !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
37447         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
37448         [!__ASSUME_RECVMMSG]: Change condition to
37449         [!__ASSUME_RECVMMSG_SOCKETCALL].
37450         * sysdeps/unix/sysv/linux/tile/kernel-features.h
37451         (__ASSUME_RECVMMSG_SYSCALL): Define.
37453         [BZ #16609]
37454         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
37455         __powerpc__ || __s390__ || __sh__ || __sparc__]
37456         (__ASSUME_SOCKETCALL): Define.
37457         [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
37458         (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
37459         [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
37460         || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
37461         __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
37462         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
37463         [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
37464         (__ASSUME_ACCEPT4): Define instead of using previous
37465         [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
37466         __powerpc__ || __sparc__ || __s390__)] condition.
37467         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
37468         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
37469         * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
37470         !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
37471         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
37472         [!__ASSUME_ACCEPT4]: Change condition to
37473         [!__ASSUME_ACCEPT4_SOCKETCALL].
37474         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
37475         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.  Correct
37476         condition to [__LINUX_KERNEL_VERSION >= 0x030200].
37477         * sysdeps/unix/sysv/linux/arm/kernel-features.h
37478         [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
37479         __ASSUME_ACCEPT4_SYSCALL.
37480         * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
37481         Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
37482         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
37483         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
37484         __ASSUME_ACCEPT4_SYSCALL.
37485         * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
37486         && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
37487         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
37488         [__ASSUME_ACCEPT4]: Change condition to
37489         [__ASSUME_ACCEPT4_SOCKETCALL].
37490         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
37491         (__ASSUME_SOCKETCALL): Define.
37492         [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
37493         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
37494         (__ASSUME_SOCKETCALL): Define.
37495         (__ASSUME_ACCEPT4): Remove.
37496         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
37497         Define.
37498         * sysdeps/unix/sysv/linux/mips/kernel-features.h
37499         [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
37500         Likewise.
37501         * sysdeps/unix/sysv/linux/tile/kernel-features.h
37502         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
37504         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
37505         macro.
37506         (HWCAP_ARM_LPAE): Likewise.
37507         (HWCAP_ARM_EVTSTRM): Likewise.
37508         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
37509         Add vpfd32, lpae and evtstrm.
37510         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
37511         Increase to 22.
37513 2014-02-19  Joseph Myers  <joseph@codesourcery.com>
37515         * math/auto-libm-test-in: Add tests of clog10.
37516         * math/auto-libm-test-out: Regenerated.
37517         * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
37518         * sysdeps/i386/fpu/libm-test-ulps: Update.
37519         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37521 2014-02-18  Andreas Schwab  <schwab@suse.de>
37523         [BZ #16574]
37524         * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
37525         Store non-zero if the second buffer was newly allocated.
37526         (send_dg): Likewise.
37527         (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
37528         to send_vc and send_dg.
37529         (res_nsend): Pass NULL for ansp2_malloced.
37530         * resolv/res_query.c (__libc_res_nquery): Add parameter
37531         answerp2_malloced and pass it down to __libc_res_nsend.
37532         (res_nquery): Pass additional NULL to __libc_res_nquery.
37533         (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
37534         down to __libc_res_nquery and __libc_res_nquerydomain.  Deallocate
37535         second answer buffer if answerp2_malloced was set.
37536         (res_nsearch): Pass additional NULL to __libc_res_nsearch.
37537         (__libc_res_nquerydomain): Add parameter
37538         answerp2_malloced and pass it down to __libc_res_nquery.
37539         (res_nquerydomain): Pass additional NULL to
37540         __libc_res_nquerydomain.
37541         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
37542         additional NULL to __libc_res_nsend and __libc_res_nquery.
37543         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
37544         additional NULL to __libc_res_nsearch.
37545         (_nss_dns_gethostbyname4_r): Revert last change.  Use new
37546         parameter of __libc_res_nsearch to check for separately allocated
37547         second buffer.
37548         (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
37549         __libc_res_nquery.
37550         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
37551         additional NULL to __libc_res_nquery.
37552         * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
37553         __libc_res_nsearch.
37554         (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
37555         * include/resolv.h: Update prototypes of __libc_res_nquery,
37556         __libc_res_nsearch, __libc_res_nsend.
37558 2014-02-18  Joseph Myers  <joseph@codesourcery.com>
37560         * math/auto-libm-test-in: Add tests of fma.
37561         * math/auto-libm-test-out: Regenerated.
37562         * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
37563         (fma_towardzero_test_data): Likewise.
37564         (fma_downward_test_data): Likewise.
37565         (fma_upward_test_data): Likewise.
37566         * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
37567         mpc_mode.
37568         (rounding_modes): Add values for new field.
37569         (func_calc_method): Add value mpfr_fff_f.
37570         (func_calc_desc): Add mpfr_fff_f union field.
37571         (test_function): Add field exact_args.
37572         (FUNC): Add macro argument EXACT_ARGS.
37573         (FUNC_mpfr_f_f): Update call to FUNC.
37574         (FUNC_mpfr_f_f): Likewise.
37575         (FUNC_mpfr_ff_f): Likewise.
37576         (FUNC_mpfr_if_f): Likewise.
37577         (FUNC_mpc_c_f): Likewise.
37578         (FUNC_mpc_c_c): Likewise.
37579         (test_functions): Add fma.  Update calls to FUNC.
37580         (handle_input_arg): Add argument exact_args.
37581         (add_test): Update call to handle_input_arg.
37582         (calc_generic_results): Add argument mode.  Handle mpfr_fff_f.
37583         (output_for_one_input_case): Update call to calc_generic_results.
37584         Recalculate exact zero results in each rounding mode.
37586         * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
37587         non-negative before setting low bit.
37588         * math/auto-libm-test-in: Mark one asin test possibly having
37589         spurious underflow.
37590         * math/auto-libm-test-out: Regenerated.
37591         * sysdeps/i386/fpu/libm-test-ulps: Update.
37592         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37594 2014-02-17  David Holsgrove <david.holsgrove@xilinx.com>
37596         * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
37597         * sysdeps/unix/sysv/linux/microblaze: Move directory from
37598         ports/sysdeps/unix/sysv/linux/microblaze.
37599         * README: Add missing listing for microblaze*-*-linux-gnu.
37601 2014-02-16  Ondřej Bílka  <neleai@seznam.cz>
37603         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
37604         duplicate code
37606 2014-02-16  Mike Frysinger  <vapier@gentoo.org>
37608         * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
37609         * sysdeps/unix/sysv/linux/ia64: Move directory from
37610         ports/sysdeps/unix/sysv/linux/ia64.
37611         * README: Update listing for ia64-*-linux-gnu.
37613 2014-02-14  Tomas Dohnalek  <tdohnale@redhat.com>
37614             Joseph Myers  <joseph@codesourcery.com>
37616         * Makeconfig (test-name): New variable.
37617         (evaluate-test): Likewise.
37618         * Makerules (do-test-clean): Remove .test-result files.
37619         (common-mostlyclean): Likewise.
37620         * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
37621         * scripts/evaluate-test.sh: New file.
37623 2014-02-14  Joseph Myers  <joseph@codesourcery.com>
37625         * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
37626         separate $(objpfx)tst-fopenloc-cmp.out and
37627         $(objpfx)tst-fopenloc-mem.out targets.
37628         (tests): Update dependencies.
37629         * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
37630         (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
37631         tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
37632         (tst-rxspencer-no-utf8-ARGS): New variable.
37633         (tst-rxspencer-no-utf8-ENV): Likewise.
37634         (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
37635         instead of $(objpfx)tst-rxspencer-mem.
37636         ($(objpfx)tst-rxspencer-mem): Change target to
37637         $(objpfx)tst-rxspencer-no-utf8-mem.  Depend on
37638         $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
37639         * posix/tst-rxspencer-no-utf8.c: New file.
37641         * elf/Makefile ($(objpfx)order.out): Remove rule.
37642         [$(run-built-tests) = yes] (tests): Depend on
37643         $(objpfx)order-cmp.out.
37644         ($(objpfx)order-cmp.out): New rule.
37645         [$(run-built-tests) = yes] (tests): Depend on
37646         $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
37647         $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
37648         $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
37649         $(objpfx)tst-array5-static-cmp.out.
37650         ($(objpfx)tst-array1.out): Remove rule.
37651         ($(objpfx)tst-array1-cmp.out): New rule.
37652         ($(objpfx)tst-array1-static.out): Remove rule.
37653         ($(objpfx)tst-array1-static-cmp.out): New rule.
37654         ($(objpfx)tst-array2.out): Remove rule.
37655         ($(objpfx)tst-array2-cmp.out): New rule.
37656         ($(objpfx)tst-array3.out): Remove rule.
37657         ($(objpfx)tst-array3-cmp.out): New rule.
37658         ($(objpfx)tst-array4.out): Remove rule.
37659         ($(objpfx)tst-array4-cmp.out): New rule.
37660         ($(objpfx)tst-array5.out): Remove rule.
37661         ($(objpfx)tst-array5-cmp.out): New rule.
37662         ($(objpfx)tst-array5-static.out): Remove rule.
37663         ($(objpfx)tst-array5-static-cmp.out): New rule.
37664         [$(run-built-tests) = yes] (tests): Depend on
37665         $(objpfx)order2-cmp.out.
37666         ($(objpfx)order2.out): Remove rule.
37667         ($(objpfx)order2-cmp.out): New rule.
37668         ($(objpfx)tst-initorder.out): Remove rule.
37669         [$(run-built-tests) = yes] (tests): Depend on
37670         $(objpfx)tst-initorder-cmp.out.
37671         ($(objpfx)tst-initorder-cmp.out): New rule.
37672         ($(objpfx)tst-initorder2.out): Remove rule.
37673         [$(run-built-tests) = yes] (tests): Depend on
37674         $(objpfx)tst-initorder2-cmp.out.
37675         ($(objpfx)tst-initorder2-cmp.out): New rule.
37676         [$(run-built-tests) = yes] (tests): Depend on
37677         $(objpfx)tst-unused-dep-cmp.out.
37678         ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
37679         ($(objpfx)tst-unused-dep-cmp.out): New rule.
37680         * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
37681         on $(objpfx)tst-setvbuf1-cmp.out.
37682         ($(objpfx)tst-setvbuf1.out): Do not run cmp.
37683         ($(objpfx)tst-setvbuf1-cmp.out): New rule.
37684         * string/Makefile [$(run-built-tests) = yes] (tests): Depend
37685         $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
37686         ($(objpfx)tst-svc.out): Remove rule.
37687         ($(objpfx)tst-svc-cmp.out): New rule.
37689 2014-02-13  Joseph Myers  <joseph@codesourcery.com>
37691         * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
37692         * ctype/ctype.h [__USE_MISC]: Likewise.
37693         * dirent/dirent.h [__USE_MISC]: Likewise.
37694         * grp/grp.h [__USE_MISC]: Likewise.
37695         * io/fcntl.h [__USE_MISC]: Likewise.
37696         * io/sys/stat.h [__USE_MISC]: Likewise.
37697         * libio/stdio.h [__USE_MISC]: Likewise.
37698         * posix/unistd.h [__USE_MISC]: Likewise.
37699         * pwd/pwd.h [__USE_MISC]: Likewise.
37700         * stdlib.h [__USE_MISC]: Likewise.
37701         * string/bits/string2.h [__USE_MISC]: Likewise.
37702         * string/string.h [__USE_MISC]: Likewise.
37703         * time/time.h [__USE_MISC]: Likewise.
37705 2014-02-13  Andreas Schwab  <schwab@suse.de>
37707         [BZ #16574]
37708         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
37709         second answer buffer if it was separately allocated.
37711 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
37713         * sysdeps/mips/math-tests.h: Include <features.h>.
37714         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
37715         (ROUNDING_TESTS_long_double): Do not define.
37716         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
37717         (EXCEPTION_TESTS_long_double): Likewise.
37718         * sysdeps/mips/mips64/libm-test-ulps: Update.
37720         * include/features.h (__USE_BSD): Remove macro definitions.
37721         (__USE_SVID): Likewise.
37722         (_BSD_SOURCE): Likewise.
37723         (_SVID_SOURCE): Likewise.
37724         [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
37725         from definition of _DEFAULT_SOURCE.
37726         [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
37727         [_DEFAULT_SOURCE].
37728         * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
37729         * bits/mman.h [__USE_BSD]: Likewise.
37730         * bits/termios.h [__USE_BSD]: Likewise.
37731         * bits/waitstatus.h [__USE_BSD]: Likewise.
37732         * ctype/ctype.h [__USE_SVID]: Likewise.
37733         * dirent/dirent.h [__USE_BSD]: Likewise.
37734         * grp/grp.h [__USE_SVID]: Likewise.
37735         [__USE_BSD]: Likewise.
37736         * inet/netinet/igmp.h [__USE_BSD]: Likewise.
37737         * io/fcntl.h [__USE_BSD]: Likewise.
37738         * io/ftw.h [__USE_BSD]: Likewise.
37739         * io/sys/stat.h [__USE_BSD]: Likewise.
37740         * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
37741         * libio/bits/stdio2.h [__USE_BSD]: Likewise.
37742         * libio/stdio.h [__USE_SVID]: Likewise.
37743         [__USE_BSD]: Likewise.
37744         * math/math.h [__USE_SVID]: Likewise.
37745         [__USE_BSD]: Likewise.
37746         * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
37747         * misc/bits/syslog.h [__USE_BSD]: Likewise.
37748         * misc/search.h [__USE_SVID]: Likewise.
37749         * misc/sys/mman.h [__USE_BSD]: Likewise.
37750         * misc/sys/syslog.h [__USE_BSD]: Likewise.
37751         * misc/sys/uio.h [__USE_BSD]: Likewise.
37752         * posix/bits/unistd.h [__USE_BSD]: Likewise.
37753         * posix/glob.h [__USE_BSD]: Likewise.
37754         * posix/regex.h [__USE_BSD]: Likewise.
37755         * posix/sys/types.h [__USE_BSD]: Likewise.
37756         [__USE_SVID]: Likewise.
37757         * posix/sys/utsname.h [__USE_SVID]: Likewise.
37758         * posix/sys/wait.h [__USE_BSD]: Likewise.
37759         [__USE_SVID]: Likewise.
37760         * posix/unistd.h [__USE_BSD]: Likewise.
37761         [__USE_SVID]: Likewise.
37762         * pwd/pwd.h [__USE_SVID]: Likewise.
37763         * resolv/netdb.h [__USE_BSD]: Likewise.
37764         * setjmp/setjmp.h [__USE_BSD]: Likewise.
37765         * signal/signal.h [__USE_BSD]: Likewise.
37766         [__USE_SVID]: Likewise.
37767         * socket/sys/socket.h [__USE_BSD]: Likewise.
37768         * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
37769         * stdlib/stdlib.h [__USE_BSD]: Likewise.
37770         [__USE_SVID]: Likewise.
37771         * string/bits/string2.h [__USE_BSD]: Likewise.
37772         [__USE_SVID]: Likewise.
37773         * string/bits/string3.h [__USE_BSD]: Likewise.
37774         * string/endian.h [__USE_BSD]: Likewise.
37775         * string/string.h [__USE_SVID]: Likewise.
37776         [__USE_BSD]: Likewise.
37777         * string/strings.h [__USE_BSD]: Likewise.
37778         * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
37779         * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
37780         * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
37781         * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
37782         * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
37783         * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
37784         Likewise.
37785         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
37786         Likewise.
37787         * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
37788         * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
37789         Likewise.
37790         * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
37791         * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
37792         Likewise.
37793         * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
37794         Likewise.
37795         * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
37796         * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
37797         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
37798         Likewise.
37799         * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
37800         Likewise.
37801         * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
37802         * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
37803         * termios/termios.h [__USE_BSD]: Likewise.
37804         * time/sys/time.h [__USE_BSD]: Likewise.
37805         * time/time.h [__USE_BSD]: Likewise.
37806         [__USE_SVID]: Likewise.
37808         * Makefile (subdir_targets): Remove subdir_lint.out.
37810         * stdio-common/Makefile (do-tst-unbputc): Remove target.
37811         (do-tst-printf): Likewise.
37812         (tests): Depend directly on $(objpfx)tst-unbputc.out and
37813         $(objpfx)tst-printf.out.
37815         * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
37817         * Makerules (check-abi-%): Change target to
37818         $(objpfx)check-abi-%.out.
37819         (check-abi target): Update dependencies.
37820         (check-abi-pattern variable): Redirect output of diff to $@.
37821         (check-abi variable): Likewise.
37822         * elf/Makefile (check-abi): Update dependencies.
37824         * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
37825         unused.
37826         (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
37827         value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
37828         subnormal range.
37829         (_FP_PACK_CANONICAL): Determine tininess based on rounding to
37830         normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
37831         value has largest subnormal exponent.
37832         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
37833         (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
37834         * sysdeps/aarch64/soft-fp/sfp-machine.h
37835         (_FP_TININESS_AFTER_ROUNDING): New macro.
37836         * sysdeps/alpha/soft-fp/sfp-machine.h
37837         (_FP_TININESS_AFTER_ROUNDING): Likewise.
37838         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
37839         Likewise.
37840         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
37841         (_FP_TININESS_AFTER_ROUNDING): Likewise.
37842         * sysdeps/mips/soft-fp/sfp-machine.h
37843         (_FP_TININESS_AFTER_ROUNDING): Likewise.
37844         * sysdeps/powerpc/soft-fp/sfp-machine.h
37845         (_FP_TININESS_AFTER_ROUNDING): Likewise.
37846         * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
37847         Likewise.
37848         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
37849         (_FP_TININESS_AFTER_ROUNDING): Likewise.
37850         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
37851         (_FP_TININESS_AFTER_ROUNDING): Likewise.
37852         * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
37853         Likewise.
37855 2014-02-12  Dylan Alex Simon  <dylan@dylex.net>
37857         [BZ #16545]
37858         * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
37859         model 1.
37861 2014-02-12  Richard Henderson  <rth@redhat.com>
37863         * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
37864         * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
37865         * sysdeps/unix/sysv/linux/alpha: Move directory from
37866         ports/sysdeps/unix/sysv/linux/alpha.
37867         * README: Update listing for alpha-*-linux-gnu.
37869 2014-02-11  Joseph Myers  <joseph@codesourcery.com>
37871         * include/features.h: Update comment documenting feature test
37872         macros.
37873         [_BSD_SOURCE || _SVID_SOURCE]: Give #warning.  Define
37874         _DEFAULT_SOURCE.
37875         * manual/creature.texi (_BSD_SOURCE): Remove documentation.
37876         (_SVID_SOURCE): Likewise.
37877         (_DEFAULT_SOURCE): Update description of default features.
37878         (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
37879         with _GNU_SOURCE.
37880         * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
37881         (S_ISVTX): Likewise.
37882         * manual/math.texi (Mathematical Constants): Likewise.
37883         * manual/signal.texi (Interrupted Primitives): Likewise.
37884         * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
37885         * math/test-matherr.c (_SVID_SOURCE): Do not define.
37886         * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
37887         Don't refer to _SVID_SOURCE in warning text.
37889         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37891         * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
37892         already defined.
37893         (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
37894         * sysdeps/mips/dl-lookup.c: Remove.
37895         * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
37897 2014-02-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
37899         [BZ #16447]
37900         * math/auto-libm-test-in: Add testcase for expl.
37901         * math/auto-libm-test-out: Regenerate.
37902         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
37903         calculation of unsafe.
37904         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
37906 2014-02-11  Marcus Shawcroft  <marcus.shawcroft@arm.com>
37908         * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
37909         * sysdeps/unix/sysv/linux/aarch64: Move directory from
37910         ports/sysdeps/unix/sysv/linux/aarch64.
37911         * README: Update listing for aarch64*-*-linux-gnu.
37913 2014-02-11  Will Newton  <will.newton@linaro.org>
37915         * manual/probes.texi (Mathematical Function Probes): Use
37916         "triggered" instead of "hit".
37918         * manual/probes.texi (Internal Probes): Add documentation
37919         of setjmp, longjmp and longjmp_target probes.
37921         * include/stap-probe.h: Add comment about probe argument
37922         format.
37924         * malloc/mtrace.c (attribute_hidden): Remove unused macro
37925         definition.  (tr_where, tr_freehook, tr_mallochook,
37926         tr_reallochook, tr_memalignhook): Use ANSI protoype.
37928 2014-02-11  David S. Miller  <davem@davemloft.net>
37930         * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
37931         processing int_tests.
37933 2014-02-10  Joseph Myers  <joseph@codesourcery.com>
37935         * sysdeps/mips: Move directory from ports/sysdeps/mips.
37936         * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
37937         * sysdeps/unix/sysv/linux/mips: Move directory from
37938         ports/sysdeps/unix/sysv/linux/mips.
37939         * README: Update listing for mips-*-linux-gnu and
37940         mips64-*-linux-gnu.
37942 2014-02-10  Andreas Schwab  <schwab@linux-m68k.org>
37944         * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
37945         * sysdeps/unix/sysv/linux/m68k: Move directory from
37946         ports/sysdeps/unix/sysv/linux/m68k.
37947         * README: Update listing for m68k-*-linux-gnu.
37949 2014-02-10  Chris Metcalf  <cmetcalf@tilera.com>
37951         * sysdeps/tile: Move directory from ports/sysdeps/tile.
37952         * sysdeps/unix/sysv/linux/generic: Move directory from
37953         ports/sysdeps/unix/sysv/linux/generic.
37954         * sysdeps/unix/sysv/linux/tile: Move directory from
37955         ports/sysdeps/unix/sysv/linux/tile.
37956         * README: Update listing for tile*-*-linux-gnu.
37958 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
37960         * assert/assert.c (__assert_fail_base): Use glibc_likely instead
37961         __builtin_expect.
37962         * benchtests/bench-memmem.c (simple_memmem): Likewise.
37963         * catgets/open_catalog.c (__open_catalog): Likewise.
37964         * csu/libc-start.c (LIBC_START_MAIN): Likewise.
37965         * debug/confstr_chk.c: Likewise.
37966         * debug/fread_chk.c (__fread_chk): Likewise.
37967         * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
37968         * debug/getgroups_chk.c: Likewise.
37969         * debug/mbsnrtowcs_chk.c: Likewise.
37970         * debug/mbsrtowcs_chk.c: Likewise.
37971         * debug/mbstowcs_chk.c: Likewise.
37972         * debug/memcpy_chk.c: Likewise.
37973         * debug/memmove_chk.c: Likewise.
37974         * debug/mempcpy_chk.c: Likewise.
37975         * debug/memset_chk.c: Likewise.
37976         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
37977         * debug/strcat_chk.c (__strcat_chk): Likewise.
37978         * debug/strcpy_chk.c (__strcpy_chk): Likewise.
37979         * debug/strncat_chk.c (__strncat_chk): Likewise.
37980         * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
37981         * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
37982         * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
37983         * debug/wcpncpy_chk.c: Likewise.
37984         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
37985         * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
37986         * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
37987         * debug/wcsncpy_chk.c: Likewise.
37988         * debug/wcsnrtombs_chk.c: Likewise.
37989         * debug/wcsrtombs_chk.c: Likewise.
37990         * debug/wcstombs_chk.c: Likewise.
37991         * debug/wmemcpy_chk.c: Likewise.
37992         * debug/wmemmove_chk.c: Likewise.
37993         * debug/wmempcpy_chk.c: Likewise.
37994         * debug/wmemset_chk.c: Likewise.
37995         * dirent/scandirat.c (SCANDIRAT): Likewise.
37996         * dlfcn/dladdr1.c (dladdr1): Likewise.
37997         * dlfcn/dladdr.c (dladdr): Likewise.
37998         * dlfcn/dlclose.c (dlclose_doit): Likewise.
37999         * dlfcn/dlerror.c (__dlerror): Likewise.
38000         * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
38001         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
38002         * dlfcn/dlopen.c (dlopen_doit): Likewise.
38003         * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
38004         * dlfcn/dlsym.c (dlsym_doit): Likewise.
38005         * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
38006         * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
38007         * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
38008         Likewise.
38009         * elf/dl-conflict.c: Likewise.
38010         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
38011         * elf/dl-dst.h: Likewise.
38012         * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
38013         * elf/dl-fptr.c (_dl_make_fptr): Likewise.
38014         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
38015         * elf/dl-init.c (call_init, _dl_init): Likewise.
38016         * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
38017         * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
38018         (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
38019         Likewise.
38020         * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
38021         Likewise.
38022         * elf/dl-minimal.c (__libc_memalign): Likewise.
38023         * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
38024         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
38025         * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
38026         * elf/dl-sym.c (do_sym): Likewise.
38027         * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
38028         (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
38029         * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
38030         * elf/dl-writev.h (_dl_writev): Likewise.
38031         * elf/ldconfig.c (search_dir): Likewise.
38032         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
38033         (dl_main): Likewise.
38034         * elf/setup-vdso.h (setup_vdso): Likewise.
38035         * grp/compat-initgroups.c (compat_call): Likewise.
38036         * grp/fgetgrent.c (fgetgrent): Likewise.
38037         * grp/initgroups.c (getgrouplist, initgroups): Likewise.
38038         * grp/putgrent.c (putgrent): Likewise.
38039         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
38040         Likewise.
38041         * hurd/hurdinit.c: Likewise.
38042         * iconvdata/8bit-gap.c (struct): Likewise.
38043         * iconvdata/ansi_x3.110.c : Likewise.
38044         * iconvdata/big5.c : Likewise.
38045         * iconvdata/big5hkscs.c : Likewise.
38046         * iconvdata/cp1255.c: Likewise.
38047         * iconvdata/cp1258.c : Likewise.
38048         * iconvdata/cp932.c : Likewise.
38049         * iconvdata/euc-cn.c: Likewise.
38050         * iconvdata/euc-jisx0213.c : Likewise.
38051         * iconvdata/euc-jp.c: Likewise.
38052         * iconvdata/euc-jp-ms.c : Likewise.
38053         * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
38054         * iconvdata/gb18030.c : Likewise.
38055         * iconvdata/gbbig5.c (const): Likewise.
38056         * iconvdata/gbgbk.c: Likewise.
38057         * iconvdata/gbk.c : Likewise.
38058         * iconvdata/ibm1364.c : Likewise.
38059         * iconvdata/ibm930.c : Likewise.
38060         * iconvdata/ibm932.c: Likewise.
38061         * iconvdata/ibm933.c : Likewise.
38062         * iconvdata/ibm935.c : Likewise.
38063         * iconvdata/ibm937.c : Likewise.
38064         * iconvdata/ibm939.c : Likewise.
38065         * iconvdata/ibm943.c: Likewise.
38066         * iconvdata/iso_11548-1.c: Likewise.
38067         * iconvdata/iso-2022-cn.c : Likewise.
38068         * iconvdata/iso-2022-cn-ext.c : Likewise.
38069         * iconvdata/iso-2022-jp-3.c: Likewise.
38070         * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
38071         * iconvdata/iso-2022-kr.c : Likewise.
38072         * iconvdata/iso646.c (gconv_end): Likewise.
38073         * iconvdata/iso_6937-2.c : Likewise.
38074         * iconvdata/iso_6937.c : Likewise.
38075         * iconvdata/iso8859-1.c: Likewise.
38076         * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
38077         * iconvdata/shift_jisx0213.c : Likewise.
38078         * iconvdata/sjis.c : Likewise.
38079         * iconvdata/t.61.c : Likewise.
38080         * iconvdata/tcvn5712-1.c : Likewise.
38081         * iconvdata/tscii.c: Likewise.
38082         * iconvdata/uhc.c : Likewise.
38083         * iconvdata/unicode.c (gconv_end): Likewise.
38084         * iconvdata/utf-16.c (gconv_end): Likewise.
38085         * iconvdata/utf-32.c (gconv_end): Likewise.
38086         * iconvdata/utf-7.c (base64): Likewise.
38087         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
38088         * iconv/gconv_close.c (__gconv_close): Likewise.
38089         * iconv/gconv_open.c (__gconv_open): Likewise.
38090         * iconv/gconv_simple.c (internal_ucs4_loop_single)
38091         (ucs4_internal_loop, ucs4_internal_loop_unaligned)
38092         (ucs4_internal_loop_single, internal_ucs4le_loop_single)
38093         (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
38094         (ucs4le_internal_loop_single): Likewise.
38095         * iconv/iconv.c (iconv): Likewise.
38096         * iconv/iconv_close.c: Likewise.
38097         * iconv/loop.c (SINGLE): Likewise.
38098         * iconv/skeleton.c (FUNCTION_NAME): Likewise.
38099         * include/atomic.h: Likewise.
38100         * inet/inet6_option.c (option_alloc): Likewise.
38101         * intl/bindtextdom.c (set_binding_values): Likewise.
38102         * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
38103         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
38104         * intl/localealias.c (read_alias_file): Likewise.
38105         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
38106         * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
38107         (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
38108         * libio/fmemopen.c (fmemopen): Likewise.
38109         * libio/iofgets.c (_IO_fgets): Likewise.
38110         * libio/iofgets_u.c (fgets_unlocked): Likewise.
38111         * libio/iofgetws.c (fgetws): Likewise.
38112         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
38113         * libio/iogetdelim.c (_IO_getdelim): Likewise.
38114         * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
38115         (adjust_wide_data, _IO_wfile_seekoff): Likewise.
38116         * locale/findlocale.c (_nl_find_locale): Likewise.
38117         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
38118         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
38119         Likewise.
38120         * locale/setlocale.c (setlocale): Likewise.
38121         * login/programs/pt_chown.c (main): Likewise.
38122         * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
38123         * malloc/malloc.c (_int_malloc, _int_free): Likewise.
38124         * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
38125         (mmap, mmap64, mremap, munmap): Likewise.
38126         * math/e_exp2l.c: Likewise.
38127         * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
38128         * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
38129         * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
38130         * math/s_catan.c (__catan): Likewise.
38131         * math/s_catanf.c (__catanf): Likewise.
38132         * math/s_catanh.c (__catanh): Likewise.
38133         * math/s_catanhf.c (__catanhf): Likewise.
38134         * math/s_catanhl.c (__catanhl): Likewise.
38135         * math/s_catanl.c (__catanl): Likewise.
38136         * math/s_ccosh.c (__ccosh): Likewise.
38137         * math/s_ccoshf.c (__ccoshf): Likewise.
38138         * math/s_ccoshl.c (__ccoshl): Likewise.
38139         * math/s_cexp.c (__cexp): Likewise.
38140         * math/s_cexpf.c (__cexpf): Likewise.
38141         * math/s_cexpl.c (__cexpl): Likewise.
38142         * math/s_clog10.c (__clog10): Likewise.
38143         * math/s_clog10f.c (__clog10f): Likewise.
38144         * math/s_clog10l.c (__clog10l): Likewise.
38145         * math/s_clog.c (__clog): Likewise.
38146         * math/s_clogf.c (__clogf): Likewise.
38147         * math/s_clogl.c (__clogl): Likewise.
38148         * math/s_csin.c (__csin): Likewise.
38149         * math/s_csinf.c (__csinf): Likewise.
38150         * math/s_csinh.c (__csinh): Likewise.
38151         * math/s_csinhf.c (__csinhf): Likewise.
38152         * math/s_csinhl.c (__csinhl): Likewise.
38153         * math/s_csinl.c (__csinl): Likewise.
38154         * math/s_csqrt.c (__csqrt): Likewise.
38155         * math/s_csqrtf.c (__csqrtf): Likewise.
38156         * math/s_csqrtl.c (__csqrtl): Likewise.
38157         * math/s_ctan.c (__ctan): Likewise.
38158         * math/s_ctanf.c (__ctanf): Likewise.
38159         * math/s_ctanh.c (__ctanh): Likewise.
38160         * math/s_ctanhf.c (__ctanhf): Likewise.
38161         * math/s_ctanhl.c (__ctanhl): Likewise.
38162         * math/s_ctanl.c (__ctanl): Likewise.
38163         * math/w_pow.c: Likewise.
38164         * math/w_powf.c: Likewise.
38165         * math/w_powl.c: Likewise.
38166         * math/w_scalb.c (sysv_scalb): Likewise.
38167         * math/w_scalbf.c (sysv_scalbf): Likewise.
38168         * math/w_scalbl.c (sysv_scalbl): Likewise.
38169         * misc/error.c (error_tail): Likewise.
38170         * misc/pselect.c (__pselect): Likewise.
38171         * nis/nis_callback.c (__nis_create_callback): Likewise.
38172         * nis/nis_call.c (__nisfind_server): Likewise.
38173         * nis/nis_creategroup.c (nis_creategroup): Likewise.
38174         * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
38175         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
38176         * nis/nis_getservlist.c (nis_getservlist): Likewise.
38177         * nis/nis_lookup.c (nis_lookup): Likewise.
38178         * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
38179         * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
38180         (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
38181         * nis/nis_xdr.c (xdr_endpoint): Likewise.
38182         * nis/nss_compat/compat-grp.c (getgrent_next_file)
38183         (internal_getgrnam_r, internal_getgrgid_r): Likewise.
38184         * nis/nss_compat/compat-initgroups.c (add_group)
38185         (internal_getgrent_r): Likewise.
38186         * nis/nss_compat/compat-pwd.c (getpwent_next_file)
38187         (internal_getpwnam_r, internal_getpwuid_r): Likewise.
38188         * nis/nss_compat/compat-spwd.c (getspent_next_file)
38189         (internal_getspnam_r): Likewise.
38190         * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
38191         (_nss_nis_getaliasbyname_r): Likewise.
38192         * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
38193         (_nss_nis_getntohost_r): Likewise.
38194         * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
38195         (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
38196         (_nss_nis_getgrgid_r): Likewise.
38197         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
38198         (internal_nis_gethostent_r, internal_gethostbyname2_r)
38199         (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
38200         (_nss_nis_gethostbyname4_r): Likewise.
38201         * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
38202         (initgroups_netid): Likewise.
38203         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
38204         * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
38205         (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
38206         * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
38207         (_nss_nis_getprotobynumber_r): Likewise.
38208         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
38209         (_nss_nis_getsecretkey): Likewise.
38210         * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
38211         (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
38212         (_nss_nis_getpwuid_r): Likewise.
38213         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
38214         (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
38215         * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
38216         (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
38217         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
38218         (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
38219         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
38220         Likewise.
38221         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
38222         (_nss_nisplus_getntohost_r): Likewise.
38223         * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
38224         (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
38225         * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
38226         (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
38227         Likewise.
38228         * nis/nss_nisplus/nisplus-initgroups.c
38229         (_nss_nisplus_initgroups_dyn): Likewise.
38230         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
38231         (_nss_nisplus_getnetbyaddr_r): Likewise.
38232         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
38233         (_nss_nisplus_getprotobynumber_r): Likewise.
38234         * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
38235         (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
38236         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
38237         Likewise.
38238         * nis/nss_nisplus/nisplus-service.c
38239         (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
38240         (_nss_nisplus_getservbyport_r): Likewise.
38241         * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
38242         (_nss_nisplus_getspnam_r): Likewise.
38243         * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
38244         Likewise.
38245         * nscd/aicache.c (addhstaiX): Likewise.
38246         * nscd/cache.c (cache_search, prune_cache): Likewise.
38247         * nscd/connections.c (register_traced_file, send_ro_fd)
38248         (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
38249         (main_loop_epoll): Likewise.
38250         * nscd/grpcache.c (addgrbyX): Likewise.
38251         * nscd/hstcache.c (addhstbyX): Likewise.
38252         * nscd/initgrcache.c (addinitgroupsX): Likewise.
38253         * nscd/mem.c (gc, mempool_alloc): Likewise.
38254         * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
38255         (addinnetgrX): Likewise.
38256         * nscd/nscd-client.h (__nscd_acquire_maplock)
38257         (__nscd_drop_map_ref): Likewise.
38258         * nscd/nscd_getai.c (__nscd_getai): Likewise.
38259         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
38260         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
38261         Likewise.
38262         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
38263         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
38264         * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
38265         (__nscd_get_map_ref): Likewise.
38266         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
38267         * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
38268         Likewise.
38269         * nscd/pwdcache.c (addpwbyX): Likewise.
38270         * nscd/selinux.c (preserve_capabilities): Likewise.
38271         * nscd/servicescache.c (addservbyX): Likewise.
38272         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
38273         * posix/fnmatch.c (fnmatch): Likewise.
38274         * posix/getopt.c (_getopt_internal_r): Likewise.
38275         * posix/glob.c (glob, glob_in_dir): Likewise.
38276         * posix/wordexp.c (exec_comm_child): Likewise.
38277         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
38278         (getanswer_r, gaih_getanswer_slice): Likewise.
38279         * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
38280         * resolv/res_init.c: Likewise.
38281         * resolv/res_mkquery.c (res_nmkquery): Likewise.
38282         * resolv/res_query.c (__libc_res_nquery): Likewise.
38283         * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
38284         Likewise.
38285         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
38286         * stdio-common/perror.c (perror): Likewise.
38287         * stdio-common/printf_fp.c (___printf_fp): Likewise.
38288         * stdio-common/tmpnam.c (tmpnam): Likewise.
38289         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
38290         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
38291         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
38292         Likewise.
38293         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
38294         * stdlib/putenv.c (putenv): Likewise.
38295         * stdlib/setenv.c (__add_to_environ): Likewise.
38296         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
38297         * stdlib/strtol_l.c (INTERNAL): Likewise.
38298         * string/memmem.c (memmem): Likewise.
38299         * string/strerror.c (strerror): Likewise.
38300         * string/strnlen.c (__strnlen): Likewise.
38301         * string/test-memmem.c (simple_memmem): Likewise.
38302         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
38303         * sunrpc/pm_getport.c (__get_socket): Likewise.
38304         * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
38305         * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
38306         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
38307         (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
38308         Likewise.
38309         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
38310         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
38311         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
38312         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
38313         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
38314         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
38315         Likewise.
38316         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
38317         Likewise.
38318         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
38319         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
38320         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
38321         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
38322         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
38323         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
38324         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
38325         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
38326         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
38327         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
38328         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
38329         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
38330         Likewise.
38331         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
38332         Likewise.
38333         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
38334         Likewise.
38335         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
38336         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
38337         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
38338         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
38339         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
38340         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
38341         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
38342         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
38343         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
38344         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
38345         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
38346         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
38347         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
38348         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
38349         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
38350         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
38351         Likewise.
38352         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
38353         Likewise.
38354         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
38355         Likewise.
38356         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
38357         Likewise.
38358         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
38359         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
38360         * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
38361         Likewise.
38362         * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
38363         * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
38364         * sysdeps/posix/opendir.c (__opendirat): Likewise.
38365         * sysdeps/posix/sleep.c: Likewise.
38366         * sysdeps/posix/tempname.c: Likewise.
38367         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
38368         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
38369         Likewise.
38370         * sysdeps/powerpc/powerpc32/dl-machine.h
38371         (elf_machine_runtime_setup, elf_machine_rela): Likewise.
38372         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
38373         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
38374         * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
38375         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
38376         Likewise.
38377         * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
38378         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
38379         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
38380         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
38381         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
38382         * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
38383         * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
38384         * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
38385         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
38386         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
38387         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
38388         (elf_machine_lazy_rel): Likewise.
38389         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
38390         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
38391         (elf_machine_lazy_rel): Likewise.
38392         * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
38393         * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
38394         * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
38395         * sysdeps/unix/grantpt.c (grantpt): Likewise.
38396         * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
38397         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
38398         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
38399         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
38400         Likewise.
38401         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
38402         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
38403         * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
38404         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
38405         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
38406         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
38407         * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
38408         * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
38409         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
38410         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
38411         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
38412         Likewise.
38413         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
38414         (__posix_fallocate64_l64): Likewise.
38415         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
38416         (posix_fallocate): Likewise.
38417         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
38418         Likewise.
38419         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
38420         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
38421         (getifaddrs_internal): Likewise.
38422         * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
38423         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
38424         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
38425         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
38426         * sysdeps/unix/sysv/linux/posix_fallocate64.c
38427         (__posix_fallocate64_l64): Likewise.
38428         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
38429         Likewise.
38430         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
38431         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
38432         (__get_clockfreq): Likewise.
38433         * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
38434         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
38435         * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
38436         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
38437         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
38438         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
38439         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
38440         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
38441         Likewise.
38442         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
38443         * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
38444         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
38445         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
38446         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
38447         * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
38448         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
38449         Likewise.
38450         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
38451         (posix_fallocate): Likewise.
38452         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
38453         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
38454         * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
38455         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
38456         (elf_machine_rela, elf_machine_rela_relative)
38457         (elf_machine_lazy_rel): Likewise.
38458         * time/asctime.c (asctime_internal): Likewise.
38459         * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
38460         * time/tzset.c (__tzset_parse_tz): Likewise.
38461         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
38462         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
38463         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
38464         * wcsmbs/wcsmbsload.h: Likewise.
38466         [BZ #15894]
38467         * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
38469         * malloc/arena.c (grow_heap, get_free_list, reused_arena)
38470         (arena_get2): Remove THREAD_STATS conditionals.
38471         * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
38472         (__malloc_stats, int): Likewise.
38474 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
38476         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
38477         f.f_type to RAMFS_MAGIC too.  Compare mp->mnt_type to shm too.
38479         * manual/setjmp.texi: Fix typos/grammar errors.
38481         * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
38482         Only return early when n is <= 0.  Delete unused return statement.
38484         * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
38485         (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
38486         * debug/tst-longjmp_chk3.c: New file.
38488         * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
38489         (test_main): Replace code with set_fortify_handler call.
38490         * debug/test-strcpy_chk.c: Likewise.
38491         * debug/tst-chk1.c: Likewise.
38492         * debug/tst-longjmp_chk.c: Likewise.
38493         * test-skeleton.c: Include fcntl.h & paths.h
38494         (set_fortify_handler): Define.
38496         * debug/tst-longjmp_chk.c: Add header comment and include
38497         ../test-skeleton.c.
38498         (do_test): Mark static.
38499         (TEST_FUNCTION): Define.
38501         * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
38502         (IP_PMTUDISC_INTERFACE): Likewise.
38503         (IP_MULTICAST_IF): Likewise.
38504         (IP_MULTICAST_TTL): Likewise.
38505         (IP_MULTICAST_LOOP): Likewise.
38506         (IP_ADD_MEMBERSHIP): Likewise.
38507         (IP_DROP_MEMBERSHIP): Likewise.
38508         (IP_UNBLOCK_SOURCE): Likewise.
38509         (IP_BLOCK_SOURCE): Likewise.
38510         (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
38511         (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
38512         (IP_MSFILTER): Likewise.
38513         (MCAST_JOIN_GROUP): Likewise.
38514         (MCAST_BLOCK_SOURCE): Likewise.
38515         (MCAST_UNBLOCK_SOURCE): Likewise.
38516         (MCAST_LEAVE_GROUP): Likewise.
38517         (MCAST_JOIN_SOURCE_GROUP): Likewise.
38518         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
38519         (MCAST_MSFILTER): Likewise.
38520         (IP_MULTICAST_ALL): Likewise.
38521         (IP_UNICAST_IF): Likewise.
38523         * timezone/Makefile: Delete $(have-ksh) check.
38524         ($(objpfx)tzselect): Change $(KSH) to $(BASH).
38525         * timezone/tzselect.ksh: Add +x mode bits.
38527         * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
38528         (ANON_INODE_FS_MAGIC): Likewise.
38529         (BDEVFS_MAGIC): Likewise.
38530         (BINFMTFS_MAGIC): Likewise.
38531         (BTRFS_TEST_MAGIC): Likewise.
38532         (CRAMFS_MAGIC_WEND): Likewise.
38533         (DEBUGFS_MAGIC): Likewise.
38534         (ECRYPTFS_SUPER_MAGIC): Likewise.
38535         (EXT3_SUPER_MAGIC): Likewise.
38536         (EXT4_SUPER_MAGIC): Likewise.
38537         (FUTEXFS_SUPER_MAGIC): Likewise.
38538         (HOSTFS_SUPER_MAGIC): Likewise.
38539         (HUGETLBFS_MAGIC): Likewise.
38540         (MINIX3_SUPER_MAGIC): Likewise.
38541         (MTD_INODE_FS_MAGIC): Likewise.
38542         (NILFS_SUPER_MAGIC): Likewise.
38543         (OPENPROM_SUPER_MAGIC): Likewise.
38544         (PIPEFS_MAGIC): Likewise.
38545         (PSTOREFS_MAGIC): Likewise.
38546         (QNX6_SUPER_MAGIC): Likewise.
38547         (RAMFS_MAGIC): Likewise.
38548         (REISERFS_SUPER_MAGIC_STRING): Likewise.
38549         (REISER2FS_SUPER_MAGIC_STRING): Likewise.
38550         (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
38551         (SECURITYFS_MAGIC): Likewise.
38552         (SELINUX_MAGIC): Likewise.
38553         (SMACK_MAGIC): Likewise.
38554         (SOCKFS_MAGIC): Likewise.
38555         (SQUASHFS_MAGIC): Likewise.
38556         (STACK_END_MAGIC): Likewise.
38557         (TMPFS_MAGIC): Likewise.
38558         (USBDEVICE_SUPER_MAGIC): Likewise.
38559         (V9FS_MAGIC): Likewise.
38560         (XENFS_SUPER_MAGIC): Likewise.
38561         (CRAMFS_MAGIC): Fix typo in comment.
38562         (EXT2_SUPER_MAGIC): Update comment.
38563         (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
38565 2014-02-08  Joseph Myers  <joseph@codesourcery.com>
38567         * sysdeps/arm: Move directory from ports/sysdeps/arm.
38568         * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
38569         * sysdeps/unix/sysv/linux/arm: Move directory from
38570         ports/sysdeps/unix/sysv/linux/arm.
38571         * README: Update listing for arm-*-linux-gnueabi.
38573         * README: Remove mention of am33.
38575 2014-02-07  Roland McGrath  <roland@hack.frob.com>
38577         * bits/sigset.h (__sigemptyset): Use a statement expression rather
38578         than the comma operator, to avoid "rhs of comma has no effect"
38579         compiler warnings.
38580         (__sigfillset, __sigandset, __sigorset): Likewise.
38581         * include/signal.h (__sigemptyset): Likewise.
38582         * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
38584 2014-02-07  Allan McRae  <allan@archlinux.org>
38586         * version.h (RELEASE): Set to "development".
38587         (VERSION): Set to "2.19.90"
38588         * NEWS: Add 2.20 section.
38590 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
38592         [BZ #16529]
38593         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
38595 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
38597         * manual/contrib.texi: Update entry for Carlos O'Donell,
38598         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
38600 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
38602         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
38604         * sysdeps/unix/sysv/linux/kernel-features.h
38605         [__LINUX_KERNEL_VERSION >= 0x020621]
38606         (__ASSUME_PROC_PID_TASK_COMM): Define.
38608 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
38610         [BZ #16398]
38611         * libio/wfileops.c (_IO_wfile_seekoff): Break out form
38612         conversion when destination buffer does not have enough space.
38613         * libio/tst-ftell-partial-wide.c: New test case.
38614         * libio/Makefile (tests): Add tst-ftell-partial-wide.
38616         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
38617         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
38618         Leonard and Allan McRae.
38620 2014-02-04  David S. Miller  <davem@davemloft.net>
38622         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
38623         32-bit.
38625 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38627         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
38628         New file
38629         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
38630         New file
38631         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
38632         New file.
38633         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
38634         New file.
38635         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
38636         New file.
38637         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
38638         New file.
38639         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
38640         New file.
38641         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
38642         New file.
38643         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
38644         New file.
38645         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
38646         New file.
38647         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
38648         New file.
38649         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
38650         New file.
38651         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
38652         New file.
38654 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38656         * nptl/shlib-versions: Change powerpc*le start to 2.17.
38657         * shlib-versions: Likewise.
38659 2014-02-04  Roland McGrath  <roland@hack.frob.com>
38660             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38662         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
38663         (abilist-pattern): New variable, set to %-le.abilist.
38665         * Makerules (abilist-pattern): New variable.
38666         (vpath): Use $(abilist-pattern) in place of %.abilist.
38667         (check-abi-% pattern rule): Likewise.
38668         (check-abi, update-abi): Likewise.
38670 2014-02-04  Eric Wong  <normalperson@yhbt.net>
38672         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
38674 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
38676         * manual/startup.texi: Add next, previous, and top entries for
38677         the `Program Arguments' and `Environment Variables' nodes.
38679 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
38681         * manual/macros.texi: Add comments before MTASC-safety macros.
38683         * manual/users.texi: Document MTASC-safety properties.
38685         * manual/threads.texi (pthread_key_create, pthread_key_delete)
38686         (pthread_getspecific, pthread_setspecific): Format with
38687         @deftypefun, and add @safety note.
38688         * manual/signal.texi: Move comments that analyze the above
38689         functions to their home place.
38691 2014-02-03  Allan McRae  <allan@archlinux.org>
38693         * po/sl.po: Update Slovenian translation from translation project.
38695 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
38697         * manual/time.texi (timegm): Add missing blank after @c.
38698         Reported by Joseph Myers <joseph@codesourcery.com>.
38700 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
38702         * manual/check-safety.sh: New.
38703         * manual/Makefile ($(objpfx)stamp-summary): Run it.
38705         * manual/terminal.texi: Document MTASC-safety properties.
38707         * manual/filesys.texi: Document MTASC-safety properties.
38709         * manual/errno.texi: Document MTASC-safety properties.
38711         * manual/intro.texi: Document safety identifiers and
38712         conditionals.
38714         * manual/string.texi (wcstok): Fix prototype.
38715         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
38717         * manual/time.texi: Document MTASC-safety properties.
38719         * manual/string.texi: Document MTASC-safety properties.
38721         * manual/threads.texi: Document MTASC-safety properties.
38723         * manual/stdio.texi: Document MTASC-safety properties.
38725         * manual/syslog.texi: Document MTASC-safety properties.
38727         * manual/sysinfo.texi: Document MTASC-safety properties.
38729         * manual/startup.texi: Document MTASC-safety properties.
38731         * manual/socket.texi: Document MTASC-safety properties.
38733         * manual/signal.texi: Document MTASC-safety properties.
38735 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
38737         * manual/setjmp.texi: Document MTASC-safety properties.
38739         * manual/search.texi: Document MTASC-safety properties.
38741         * manual/resource.texi: Document MTASC-safety properties.
38743         * manual/process.texi: Document MTASC-safety properties.
38745         * manual/platform.texi: Document MTASC-safety properties.
38747         * manual/pipe.texi: Document MTASC-safety properties.
38749         * manual/pattern.texi: Document MTASC-safety properties.
38751         * manual/message.texi: Document MTASC-safety properties.
38753         [BZ #12751]
38754         * manual/memory.texi: Document MTASC-safety properties.
38756         * manual/math.texi: Document MTASC-safety properties.
38758         * manual/locale.texi: Document MTASC-safety properties.
38760         * manual/llio.texi: Document MTASC-safety properties.
38762         * manual/libdl.texi: New.
38764         * manual/lang.texi: Document MTASC-safety properties.
38766         * manual/job.texi: Document MTASC-safety properties.
38768         * manual/getopt.texi: Document MTASC-safety properties.
38770         * manual/ctype.texi: Document MTASC-safety properties.
38772 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
38774         [BZ #16046]
38775         * csu/libc-tls.c (static_map): Remove variable.
38776         (__libc_setup_tls): Use main executable's link map for TLS data.
38777         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
38778         casing for LM_ID_BASE and GL(dl_nns).
38779         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
38780         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
38781         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
38782         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
38783         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
38784         member.
38785         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
38786         l_phnum members.
38788 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
38790         * manual/debug.texi: Document MTASC-safety properties.
38792 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
38794         [BZ #16510]
38795         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
38796         of __x86_64__ when disabling x87 inline functions.
38798 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
38800         * manual/charset.texi: Document MTASC-safety properties.
38802         * manual/crypt.texi: Document MTASC-safety properties.
38804         * manual/conf.texi: Document MTASC-safety properties.
38806         * manual/arith.texi: Document MTASC-safety properties.
38808         * manual/argp.texi: Document MTASC-safety properties.
38810         * manual/macros.texi: Introduce macros to document multi
38811         thread, asynchronous signal and asynchronous cancellation
38812         safety properties.
38813         * manual/intro.texi: Introduce the properties themselves.
38815 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
38817         * sysdeps/sh/sh4/Makefile: New file.
38819 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
38821         * math/gen-libm-test.pl ($srcdir): New variable.
38822         ($auto_input): Use it.
38824 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
38826         [BZ #16506]
38827         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
38828         access beyond array bounds when parsing netgroups file.
38830         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
38831         the old buffer before realloc.
38833 2014-01-27  Allan McRae  <allan@archlinux.org>
38835         * po/fr.po: Update French translation from translation project.
38837 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
38839         * sysdeps/sh/libm-test-ulps: Regenerate.
38841 2014-01-24  David S. Miller  <davem@davemloft.net>
38843         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
38845 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
38847         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
38848         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
38850 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
38852         [BZ #16474]
38853         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
38854         string pointers after reallocation.
38856 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
38858         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
38859         __SH4A__ instead of __SH_FPU_ANY__.
38861 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
38863         * sysdeps/sh/fpu_control.h: New file.
38864         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
38865         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
38866         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
38867         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
38868         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
38869         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
38870         * sysdeps/sh/sys/ucontext.h: Remove.
38871         * sysdeps/sh/sys: Remove directory.
38873 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
38875         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
38876         s390/sys/ucontext.h.
38877         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
38878         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
38880 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
38882         [BZ #15605]
38883         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
38885 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38887         [BZ#16431]
38888         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
38889         Adjust the vDSO correctly for internal calls.
38890         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
38892 2014-01-20  Allan McRae  <allan@archlinux.org>
38894         * po/ca.po: Update Catalan translation from translation project.
38896 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
38898         * sysdeps/s390/sotruss-lib.c: New file.
38900 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38902         [BZ#16430]
38903         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
38904         (__GI___gettimeofday): Alias for a different internal symbol to avoid
38905         local calls issues by not having a PLT stub required for IFUNC calls.
38906         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
38908 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
38910         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
38911         * math/test-fpucw-static.c: Likewise.
38913 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
38915         [BZ #16453]
38916         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
38918 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38920         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
38921         implementation for powerpc.
38923 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
38925         [BZ #14782]
38926         * sysdeps/posix/system.c (__libc_system): Do not enable
38927         asynchronous cancellation.
38929 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
38931         [BZ #16427]
38932         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
38933         handling only for numbers special also in the IEEE case.
38935 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
38937         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
38939 2014-01-11  Allan McRae  <allan@archlinux.org>
38941         * po/bg.po: Update Bulgarian translation from translation project.
38943         * po/de.po: Update German translation from translation project.
38945 2014-01-10  Roland McGrath  <roland@hack.frob.com>
38947         * sysdeps/generic/gcc-compat.h: New file.
38949 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
38951         * benchtests/asin-inputs: Correct slow inputs.
38952         * benchtests/acos-inputs: Likewise.
38954 2014-01-10  Allan McRae  <allan@archlinux.org>
38956         * po:sv.po: Update Swedish translation from translation project.
38958         * po/vi.po: Update Vietnamese translation from translation project.
38960         * po/eo.po: Update Esperanto translation from translation project.
38962         * po/cs.po: Update Czech translation from translation project.
38964         * po/nl.po: Update Dutch translation from translation project.
38966         * po/pl.po: Update Polish translation from translation project.
38968         * po/ru.po: Update Russian translation from translation project.
38970         * po/uk.po: Update Ukrainian translation from translation project.
38972 2014-01-08  Brooks Moses  <bmoses@google.com>
38974         * elf/dl-load.c: Fix comment typo.
38976 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
38978         * po/header.pot: Rename to...
38979         * po/pot.header: ... this.
38980         * po/Makefile: Use pot.header.
38982 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
38983             Maxim Kuvyrkov  <maxim@kugelworks.com>
38985         [BZ #16394]
38986         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
38987         SRC and DEST against LEN.
38989 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38991         [BZ #16414]
38992         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
38993         implementation.
38994         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
38996 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38998         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39000 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
39002         [BZ #16408]
39003         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
39004         for large positive arguments.
39006 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
39008         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
39010         * math/auto-libm-test-in: Mark various tests with
39011         xfail-rounding:ldbl-128ibm.
39012         * math/auto-libm-test-out: Regenerated.
39014         [BZ #16407]
39015         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
39016         Increase overflow threshold.
39018 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
39020         [BZ #14286]
39021         * stdio-common/vfprintf.c: Check for integer overflow.
39023 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
39025         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
39026         the first argument and return value of __tls_get_addr_internal.
39028 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
39030         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
39031         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
39033 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
39035         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
39036         * sysdeps/s390/rtld-global-offsets.sym: New file.
39037         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
39038         GLIBC_2.19 symbol.
39039         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
39040         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
39041         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
39042         ... this.
39043         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
39044         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
39045         ... this.
39046         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
39047         Regenerate.
39048         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
39049         Regenerate.
39050         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
39051         halfs of GPRs for high_gprs contexts.
39052         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
39053         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
39054         field.
39055         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
39056         uc_flags field.
39057         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
39058         64 bit versions:
39059         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
39060         for high GPRs (uc_high_gprs) and for future extensions
39061         (__reserved).
39062         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
39063         for future extensions (__reserved).
39064         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
39065         64 bit versions:
39066         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
39067         SC_HIGHGPRS offset definition.
39068         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
39069         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
39071         * Versions.def: Add GLIBC_2.19 for libpthread.
39072         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
39073         siglongjmp for libpthread with GLIBC_2.19 symver.
39074         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
39075         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
39076         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
39077         * sysdeps/s390/__longjmp.c: New file.
39078         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
39079         * sysdeps/s390/longjmp.c: New file.
39080         * sysdeps/s390/setjmp.S: New file.
39081         * sysdeps/s390/sigjmp.S: New file.
39082         * sysdeps/s390/v1-longjmp.c: New file.
39083         * sysdeps/s390/v1-setjmp.h: New file.
39084         * sysdeps/s390/v1-sigjmp.c: New file.
39085         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
39086         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
39087         GLIBC_2.19 version.
39088         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
39089         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
39090         versioned symbols for ____longjmp_chk.
39091         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
39092         Likewise.
39093         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
39094         Regenerate.
39095         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
39096         Regenerate.
39097         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
39098         Regenerate.
39099         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
39100         Regenerate.
39101         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
39102         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
39103         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
39104         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
39105         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
39106         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
39107         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
39108         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
39109         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
39110         * sysdeps/s390/rtld-__longjmp.c: New file.
39111         * sysdeps/s390/rtld-setjmp.S: New file.
39113 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
39115         [BZ #16400]
39116         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
39117         Return -__logl (x) for small positive arguments without evaluating
39118         a polynomial.
39120 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
39122         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
39123         Rename to ...
39124         (__ptrace_peeksiginfo_args): ... this.
39125         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
39126         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
39127         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
39129 2014-01-06  Allan McRae  <allan@archlinux.org>
39131         * inet/netinet/in.h: Fix typo in comment.
39133 2014-01-05  Andreas Jaeger  <aj@suse.de>
39135         * sysdeps/i386/fpu/libm-test-ulps: Update.
39137 2014-01-05  Allan McRae  <allan@archlinux.org>
39139         * po/libc.pot: Regenerated.
39141         * malloc/memusagestat.c: Fix gettext call formatting.
39143 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
39145         * nscd/nscd.c: Improve usage() output.
39147 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
39149         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
39150         * sysdeps/unix/sysv/linux/configure: Regenerated.
39151         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
39152         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
39154 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
39156         [BZ #16390]
39157         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
39158         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
39160 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39162         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
39163         extra tokens at end of #undef directive.
39164         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
39165         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
39166         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
39168 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
39170         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
39172         * math/auto-libm-test-in: Mark various tests with
39173         xfail-rounding:ldbl-128ibm.
39174         * math/auto-libm-test-out: Regenerated.
39176 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
39178         [BZ #16386]
39179         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
39180         numbers with subnormal high part when calculating exponent.
39182         [BZ #16385]
39183         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
39184         fabs.
39186         [BZ #16384]
39187         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
39188         M_LN2l.
39189         (__ieee754_acoshl): Use __log1pl not __log1p.
39191 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
39193         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
39194         (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
39195         (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
39196         (grow_heap, heap_trim, _int_new_arena, get_free_list)
39197         (reused_arena, arena_get2): Convert to GNU style.
39198         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
39199         (mem2mem_check, mem2chunk_check, top_check, realloc_check)
39200         (memalign_check, __malloc_set_state): Likewise.
39201         * malloc/mallocbug.c (main): Likewise.
39202         * malloc/malloc.c (__malloc_assert, malloc_init_state)
39203         (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
39204         (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
39205         (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
39206         (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
39207         (__posix_memalign, malloc_info): Likewise.
39208         * malloc/malloc.h: Likewise.
39209         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
39210         (mallochook, memalignhook, reallochook, mabort): Likewise.
39211         * malloc/mcheck.h: Likewise.
39212         * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
39213         (free, mmap, mmap64, mremap, munmap, dest): Likewise.
39214         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
39215         * malloc/morecore.c (__default_morecore): Likewise.
39216         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
39217         * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
39218         (_obstack_allocated_p, obstack_free, _obstack_memory_used)
39219         (print_and_abort): Likewise.
39220         * malloc/obstack.h: Likewise.
39221         * malloc/set-freeres.c (__libc_freeres): Likewise.
39222         * malloc/tst-mallocstate.c (main): Likewise.
39223         * malloc/tst-mtrace.c (main): Likewise.
39224         * malloc/tst-realloc.c (do_test): Likewise.
39226 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
39228         [BZ #16366]
39229         * nscd/netgroupcache.c (do_notfound): New function.
39230         (addgetnetgrentX): Use it.
39232         [BZ # 16365]
39233         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
39234         NSS_STATUS_NOTFOUND.
39236 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
39238         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
39239         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39241 2014-01-01  Allan McRae  <allan@archlinux.org>
39243         * scripts/update-copyrights: Update configure input file suffix.
39245         * NEWS: Update copyright year.
39246         * catgets/gencat.c: Likewise.
39247         * csu/version.c: Likewise.
39248         * debug/catchsegv.sh: Likewise.
39249         * debug/pcprofiledump.c: Likewise.
39250         * debug/xtrace.sh: Likewise.
39251         * elf/ldconfig.c: Likewise.
39252         * elf/ldd.bash.in: Likewise.
39253         * elf/pldd.c: Likewise.
39254         * elf/sotruss.ksh: Likewise.
39255         * elf/sprof.c: Likewise.
39256         * iconv/iconv_prog.c: Likewise.
39257         * iconv/iconvconfig.c: Likewise.
39258         * locale/programs/locale.c: Likewise.
39259         * locale/programs/localedef.c: Likewise.
39260         * login/programs/pt_chown.c: Likewise.
39261         * malloc/memusage.sh: Likewise.
39262         * malloc/memusagestat.c: Likewise.
39263         * malloc/mtrace.pl: Likewise.
39264         * manual/libc.texinfo: Likewise.
39265         * nscd/nscd.c: Likewise.
39266         * nss/getent.c: Likewise.
39267         * nss/makedb.c: Likewise.
39268         * posix/getconf.c: Likewise.
39269         * scripts/test-installation.pl: Likewise.
39271         * All files with FSF copyright notices: Update copyright dates
39272         using scripts/update-copyrights.
39273         * intl/plural.c: Regenerated.
39274         * locale/programs/charmap-kw.h: Likewise.
39275         * locale/programs/locfile-kw.h: Likewise.
39277 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
39279         * sysdeps/unix/sysv/linux/configure: Regenerated.
39280         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
39281         the linux/fanotify.h header.
39282         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
39283         HAVE_LINUX_FANOTIFY_H is defined.
39285 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
39287         * benchtests/cos-inputs: New inputs.
39288         * benchtests/sin-inputs: Likewise.
39290         * benchtests/atan-inputs: New inputs. Fix name of multiple
39291         precision fallback inputs.
39293         * benchtests/atanh-inputs: New inputs.
39294         * benchtests/tanh-inputs: Likewise.
39296         * benchtests/acosh-inputs: New inputs.
39297         * benchtests/asinh-inputs: Likewise.
39299         * benchtests/cosh-inputs: New inputs.
39300         * benchtests/sinh-inputs: Likewise.
39302         * benchtests/acos-inputs: Add more inputs.
39303         * benchtests/asin-inputs: Likewise.
39305 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
39307         [BZ #16375]
39308         * manual/arith.texi: Fix spelling.
39309         * manual/charset.texi: Likewise.
39310         * manual/errno.texi: Likewise.
39311         * manual/filesys.texi: Likewise.
39312         * manual/lang.texi: Likewise.
39313         * manual/llio.texi: Likewise.
39314         * manual/locale.texi: Likewise.
39315         * manual/message.texi: Likewise.
39316         * manual/resource.texi: Likewise.
39317         * manual/search.texi: Likewise.
39318         * manual/setjmp.texi: Likewise.
39319         * manual/stdio.texi: Likewise.
39320         * manual/string.texi: Likewise.
39321         * manual/sysinfo.texi: Likewise.
39322         * manual/time.texi: Likewise.
39324 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
39326         * po/sl.po: New file.
39328 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
39330         * .gitignore: Add core/.gdbinit/.gdb_history.
39332 2013-12-27  Allan McRae  <allan@archlinux.org>
39334         [BZ #16369]
39335         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
39336         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
39338 2013-12-24  Brooks Moses  <bmoses@google.com>
39340         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
39341         all compilers that claim C++98 compliance, not just GCC.
39342         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
39343         Likewise.
39345 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
39347         * NEWS: Restore accidentally deleted bug-fix entries.
39349 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
39350             Ondřej Bílka  <neleai@seznam.cz>
39352         [BZ #15073]
39353         * malloc/malloc.c (_int_free): Perform sanity check only if we
39354         have_lock.
39356 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
39358         [BZ #12986]
39359         * manual/stdio.texi (String Input Conversions): Clarify that character
39360         classes are not supported.
39362 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39364         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39366 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
39368         [BZ #16337]
39369         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
39370         Calculate results for small negative arguments directly rather
39371         than using reflection formula with special underflow handling.
39373         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
39374         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
39375         sysdeps/unix/bsd/bsd4.4/syscalls.list.
39376         (fchflags): Likewise.
39377         (revoke): Likewise.
39378         (setlogin): Likewise.
39379         (sigaltstack): Likewise.
39380         (wait4): Likewise.
39381         (sigblock): Remove.
39382         (sigsetmask): Likewise.
39383         (wait3): Likewise.
39384         (waitpid): Likewise.
39385         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
39386         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
39387         file.
39388         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
39389         * sysdeps/unix/bsd/Makefile: ... here.
39390         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
39391         * sysdeps/unix/bsd/Versions: ... here.
39392         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
39393         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
39394         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
39395         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
39396         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
39397         * sysdeps/unix/bsd/sigblock.c: ... here.
39398         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
39399         * sysdeps/unix/bsd/sigsetmask.c: ... here.
39400         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
39401         * sysdeps/unix/bsd/sigvec.c: ... here.
39402         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
39403         * sysdeps/unix/bsd/tcdrain.c: ... here.
39404         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
39405         * sysdeps/unix/bsd/tcgetattr.c: ... here.
39406         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
39407         * sysdeps/unix/bsd/tcsetattr.c: ... here.
39408         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
39409         * sysdeps/unix/bsd/wait.c: ... here.
39410         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
39411         * sysdeps/unix/bsd/wait3.c: ... here.
39412         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
39413         * sysdeps/unix/bsd/waitpid.c: ... here.
39415 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
39417         [BZ #16356]
39418         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
39419         round-to-nearest for [!USE_AS_EXPM1L].
39420         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
39421         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
39422         more tests of exp and exp10.  Expect some exp10 tests to miss
39423         exceptions or fail in directed rounding modes.
39424         * math/auto-libm-test-out: Regenerated.
39425         * math/libm-test.inc (exp10_tonearest_test_data): New array.
39426         (exp10_test_tonearest): New function.
39427         (exp10_towardzero_test_data): New array.
39428         (exp10_test_towardzero): New function.
39429         (exp10_downward_test_data): New array.
39430         (exp10_test_downward): New function.
39431         (exp10_upward_test_data): New array.
39432         (exp10_test_upward): New function.
39433         (main): Call the new functions.
39434         * sysdeps/i386/fpu/libm-test-ulps: Update.
39435         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39437 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
39439         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
39440         asinh, atan, atan2, atanh, cbrt, cos and cosh.
39441         * math/auto-libm-test-out: Regenerated.
39442         * math/libm-test.inc (acosh_test_data): Add more tests.
39443         (atanh_test_data): Likewise.
39444         (ceil_test_data): Likewise.
39445         (copysign_test_data): Likewise.
39446         * sysdeps/i386/fpu/libm-test-ulps: Update.
39447         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39449         * timezone/checktab.awk: Update from tzcode 2013i.
39450         * timezone/private.h: Likewise.
39451         * timezone/scheck.c: Likewise.
39452         * timezone/tzfile.h: Likewise.
39453         * timezone/tzselect.ksh: Likewise.
39454         * timezone/zdump.c: Likewise.
39455         * timezone/zic.c: Likewise.
39457         * math/auto-libm-test-in: Add tests of cpow.
39458         * math/auto-libm-test-out: Regenerated.
39459         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
39460         * math/gen-auto-libm-tests.c (func_calc_method): Add value
39461         mpc_cc_c.
39462         (func_calc_desc): Add mpc_cc_c union field.
39463         (test_functions): Add cpow.
39464         (special_fill_2pi): New function.
39465         (special_real_inputs): Add 2pi.
39466         (calc_generic_results): Handle mpc_cc_c.
39467         * sysdeps/i386/fpu/libm-test-ulps: Update.
39468         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39470         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
39471         csqrt, ctan and ctanh.
39472         * math/auto-libm-test-out: Regenerated.
39473         * math/libm-test.inc (TEST_COND_x86_64): New macro.
39474         (TEST_COND_x86): Likewise.
39475         (ccos_test_data): Use AUTO_TESTS_c_c.
39476         (ccosh_test_data): Likewise.
39477         (cexp_test_data): Likewise.
39478         (clog_test_data): Likewise.
39479         (csqrt_test_data): Likewise.
39480         (ctan_test_data): Likewise.
39481         (ctan_tonearest_test_data): Likewise.
39482         (ctan_towardzero_test_data): Likewise.
39483         (ctan_downward_test_data): Likewise.
39484         (ctan_upward_test_data): Likewise.
39485         (ctanh_test_data): Likewise.
39486         (ctanh_tonearest_test_data): Likewise.
39487         (ctanh_towardzero_test_data): Likewise.
39488         (ctanh_downward_test_data): Likewise.
39489         (ctanh_upward_test_data): Likewise.
39490         * math/gen-auto-libm-tests.c (func_calc_method): Add value
39491         mpc_c_c.
39492         (func_calc_desc): Add mpc_c_c union field.
39493         (FUNC_mpc_c_c): New macro.
39494         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
39495         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
39496         ctanh.
39497         (special_fill_min_subnorm_p120): New function.
39498         (special_real_inputs): Add min_subnorm_p120.
39499         (calc_generic_results): Handle mpc_c_c.
39500         * sysdeps/i386/fpu/libm-test-ulps: Update.
39501         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39503 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
39505         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
39506         (do_sin_slow): New functions.
39507         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
39508         (cslow2, csloww1, csloww2): Use the new functions.
39510         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
39511         Use M to change sign of result instead of X.  Assume X is
39512         positive.
39513         (csloww1): Likewise.
39514         (__sin): Adjust.
39515         (__cos): Adjust.
39517         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
39518         arguments A and DA.
39519         (__sin): Adjust.
39520         (__cos): Likewise.
39522         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
39523         (__cos): Likewise.
39524         (sloww1): Don't adjust sign of DX.
39525         (csloww1): Likewise.
39526         (sloww2): Use X directly and don't adjust sign of DX.
39527         (csloww2): Likewise.
39529 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
39531         * math/auto-libm-test-in: Add tests of cabs and carg.
39532         * math/auto-libm-test-out: Regenerated.
39533         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
39534         (carg_test_data): Likewise.
39535         * math/gen-auto-libm-tests.c (func_calc_method): Add value
39536         mpc_c_f.
39537         (func_calc_desc): Add mpc_c_f union field.
39538         (test_functions): Add cabs and carg.
39539         (calc_generic_results): Handle mpc_c_f.
39541         * sysdeps/powerpc/powerpc32/libgcc-compat.S
39542         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
39543         as a macro and a compat symbol.
39544         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
39545         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
39546         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
39547         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
39548         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
39549         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
39550         not use .hidden.
39551         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
39552         Likewise.
39553         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
39554         Likewise.
39555         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
39556         Likewise.
39557         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
39558         Likewise.
39559         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
39560         Likewise.
39561         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
39562         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
39563         from GLIBC_2.3.2.
39565 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39567         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39569 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
39571         * manual/texinfo.tex: Update to version 2013-11-26.10 with
39572         trailing whitespace removed.
39573         * scripts/config.guess: Update to version 2013-11-29.
39574         * scripts/config.sub: Update to version 2013-10-01.
39576         * math/auto-libm-test-in: Add tests of sincos.
39577         * math/auto-libm-test-out: Regenerated.
39578         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
39579         * math/gen-auto-libm-tests.c (func_calc_method): Add value
39580         mpfr_f_11.
39581         (func_calc_desc): Add mpfr_f_11 union field.
39582         (test_functions): Add sincos.
39583         (calc_generic_results): Handle mpfr_f_11.
39584         * sysdeps/i386/fpu/libm-test-ulps: Update.
39585         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39587 2013-12-19  Andreas Schwab  <schwab@suse.de>
39589         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
39590         CALL_MCOUNT.
39591         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
39592         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
39593         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
39595 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
39597         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
39598         * sysdeps/i386/fpu/libm-test-ulps: Update.
39599         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39601         [BZ #16293]
39602         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
39603         round-to-nearest mode when using frndint.
39604         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
39605         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
39606         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
39607         Likewise.
39608         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
39609         sinh test to fail.
39610         * math/auto-libm-test-out: Regenerated.
39611         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
39612         (TEST_COND_x86): Likewise.
39613         (expm1_tonearest_test_data): New array.
39614         (expm1_test_tonearest): New function.
39615         (expm1_towardzero_test_data): New array.
39616         (expm1_test_towardzero): New function.
39617         (expm1_downward_test_data): New array.
39618         (expm1_test_downward): New function.
39619         (expm1_upward_test_data): New array.
39620         (expm1_test_upward): New function.
39621         (main): Run the new test functions.
39622         * sysdeps/i386/fpu/libm-test-ulps: Update.
39623         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39625         * include/features.h: Update comment documenting feature test
39626         macros.  Mention _DEFAULT_SOURCE in comment.
39627         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
39628         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
39629         _BSD_SOURCE and _SVID_SOURCE.
39630         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
39631         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
39632         !_SVID_SOURCE]: Likewise.
39633         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
39634         (__USE_POSIX_IMPLICITLY): Define.
39635         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
39636         (_POSIX_SOURCE): Undefine and redefine.
39637         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
39638         (_POSIX_C_SOURCE): Likewise.
39639         * manual/creature.texi (_DEFAULT_SOURCE): Document.
39640         (Feature Test Macros): Update documentation of default features.
39642 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
39644         * benchtests/Makefile: Add bench-strtok.
39645         * benchtests/bench-strtok.c: New file: strtok benchtest.
39647 2013-12-19  Allan McRae  <allan@archlinux.org>
39649         * manual/install.texi: Suppress menu for plain text output.
39650         * INSTALL: Regenerated.
39652 2013-12-18  Brooks Moses  <bmoses@google.com>
39654         [BZ #15846]
39655         * misc/getauxval.c: Include errno.h.
39656         (__getauxval): Set errno to ENOENT if the requested type is not
39657         found.
39658         * misc/sys/auxv.h (getauxval): Document that it may set errno;
39659         don't declare with __attribute_const__.
39660         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
39661         * manual/startup.texi: Document that getauxval sets errno.
39663 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
39665         * math/auto-libm-test-in: Add tests of jn and yn.
39666         * math/auto-libm-test-out: Regenerated.
39667         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
39668         (yn_test_data): Likewise.
39669         * math/gen-auto-libm-tests.c (func_calc_method): Add value
39670         mpfr_if_f.
39671         (func_calc_desc): Add mpfr_if_f union field.
39672         (FUNC_mpfr_if_f): New macro.
39673         (test_functions): Add jn and yn.
39674         (calc_generic_results): Assert type of second input for
39675         mpfr_ff_f.  Handle mpfr_if_f.
39676         (output_for_one_input_case): Disable all checking for arguments
39677         fitting floating-point types in case of an integer argument.
39678         * sysdeps/i386/fpu/libm-test-ulps: Update.
39679         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39681         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
39682         Don't expect fegetround reference in libm.so.
39684 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
39686         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
39687         $(config-cflags-nofma).
39689 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
39691         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
39692         * math/auto-libm-test-out: Regenerated.
39694         [BZ #16338]
39695         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
39696         to determine exponent and adjust argument to have exponent of -1.
39697         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
39698         log2.
39699         * math/auto-libm-test-out: Regenerated.
39700         * sysdeps/i386/fpu/libm-test-ulps: Update.
39701         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39703 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
39705         * manual/probes.texi: Remove cases when per-thread arenas are
39706         disabled.
39708 2013-12-18  Andreas Schwab  <schwab@suse.de>
39710         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
39711         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
39712         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
39713         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
39714         * sysdeps/i386/i686/multiarch/Makefile: Update.
39715         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
39717 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
39719         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
39720         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
39722 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
39724         [BZ #15968]
39725         Support TZ transition times < 00:00:00.
39726         This is needed for version-3 tz-format files; it supports time
39727         stamps past 2037 for America/Godthab (the only entry in the tz
39728         database for which this change is relevant).
39729         * manual/time.texi (TZ Variable): Document transition times
39730         from -167:59:59 through -00:00:01.
39731         * time/tzset.c (tz_rule): Time of day is now signed.
39732         (__tzset_parse_tz): Parse negative time of day.
39734         Document TZ transition times >= 25:00:00.
39735         * manual/time.texi (TZ Variable): Document transition times from
39736         25:00:00 through 167:59:59.  These are already supported, and this
39737         support will help with version-3 tz-format files.
39739         * manual/time.texi (TZ Variable): Modernize North America example
39740         to reflect current (i.e., 2007-and-later) daylight saving rules.
39742         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
39744 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
39746         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
39747         * sysdeps/unix/bsd/bits/stat.h: Likewise.
39748         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
39749         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
39750         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
39751         * sysdeps/unix/bsd/bsdstat.h: Likewise.
39752         * sysdeps/unix/bsd/clock.c: Likewise.
39753         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
39754         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
39755         * sysdeps/unix/bsd/init-posix.c: Likewise.
39756         * sysdeps/unix/bsd/poll.c: Likewise.
39757         * sysdeps/unix/bsd/ptsname.c: Likewise.
39758         * sysdeps/unix/bsd/seekdir.c: Likewise.
39759         * sysdeps/unix/bsd/setegid.c: Likewise.
39760         * sysdeps/unix/bsd/seteuid.c: Likewise.
39761         * sysdeps/unix/bsd/setgid.c: Likewise.
39762         * sysdeps/unix/bsd/setrgid.c: Likewise.
39763         * sysdeps/unix/bsd/setruid.c: Likewise.
39764         * sysdeps/unix/bsd/setsid.c: Likewise.
39765         * sysdeps/unix/bsd/setuid.c: Likewise.
39766         * sysdeps/unix/bsd/sigaction.c: Likewise.
39767         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
39768         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
39769         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
39770         * sysdeps/unix/bsd/telldir.c: Likewise.
39771         * sysdeps/unix/bsd/times.c: Likewise.
39772         * sysdeps/unix/bsd/usleep.c: Likewise.
39774         * misc/Makefile (install-lib): Remove libbsd-compat.a.
39775         ($(objpfx)libbsd-compat.a): Remove rule.
39777         * include/features.h (__FAVOR_BSD): Do not define.
39778         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
39779         features conflicting with POSIX.
39780         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
39781         (_BSD_SOURCE): Remove description of not being a subset of other
39782         feature test macros.
39783         * manual/job.texi (getpgrp): Do not document BSD version.
39784         (getpgid): Do not document by reference to BSD getpgrp.
39785         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
39786         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
39787         * signal/signal.h [__FAVOR_BSD]: Likewise.
39788         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
39789         instead of making contents conditional on [__FAVOR_BSD].
39790         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
39792 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39794         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39796 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
39798         [BZ #16314]
39799         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
39800         values below 2**-450, not 2**-500.
39801         * math/auto-libm-test-in: Don't allow spurious underflow from
39802         hypot.
39803         * math/auto-libm-test-out: Regenerated.
39805         [BZ #16316]
39806         [BZ #16330]
39807         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
39808         values of ha and hb and sort them after adjusting subnormal
39809         arguments.
39810         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
39811         Likewise.
39812         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
39813         values of ea and eb and sort them after adjusting subnormal
39814         arguments.
39815         * math/auto-libm-test-in: Do not expect some hypot tests of
39816         subnormals to fail.  Add more hypot tests.
39817         * math/auto-libm-test-out: Regenerated.
39819 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
39821         [BZ #13304]
39822         * sysdeps/sh/s_fma.c: New file.
39823         * sysdeps/sh/s_fmaf.c: New file.
39824         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
39825         version.
39826         * sysdeps/sh/Implies: Add sh/soft-fp.
39828 2013-12-16  Roland McGrath  <roland@hack.frob.com>
39830         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
39831         level of indirection to members `objname', `errstring', `malloced'.
39832         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
39833         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
39834         it as the __longjmp argument (just pass 1 instead).
39835         (_dl_catch_error): Initialize C with argument pointers and address of
39836         volatile local ERRCODE rather than copying values out of C at return.
39838 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
39840         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
39841         * math/auto-libm-test-out: Regenerated.
39842         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
39843         (hypot_test_data): Likewise.
39844         (pow_test_data): Likewise.
39845         (pow_tonearest_test_data): Likewise.
39846         * math/gen-auto-libm-tests.c (func_calc_method): Add value
39847         mpfr_ff_f.
39848         (func_calc_desc): Add mpfr_ff_f union field.
39849         (FUNC_mpfr_ff_f): New macro.
39850         (test_functions): Add atan2, hypot and pow.
39851         (special_fill_min): New function.
39852         (special_fill_minus_min): Likewise.
39853         (special_fill_min_subnorm): Likewise.
39854         (special_fill_minus_min_subnorm): Likewise.
39855         (special_real_inputs): Add min, -min, min_subnorm and
39856         -min_subnorm.
39857         (calc_generic_results): Handle mpfr_ff_f.
39858         * sysdeps/i386/fpu/libm-test-ulps: Update.
39859         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39861 2013-12-16  Will Newton  <will.newton@linaro.org>
39863         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
39864         (Aligned Memory Blocks): Add documentation for aligned_alloc
39865         and suggest it as an alternative to posix_memalign.
39866         (Hooks for Malloc): Document __memalign_hook is also called
39867         for aligned_alloc.  (Summary of Malloc): Add summary for
39868         aligned alloc.  Document __memalign_hook is also called
39869         for aligned_alloc.
39871 2013-12-16  Will Newton  <will.newton@linaro.org>
39873         * manual/memory.texi (Malloc Examples): Clarify default
39874         alignment documentation.  Suggest posix_memalign rather
39875         than memalign or valloc.
39876         (Aligned Memory Blocks): Remove suggestion to use memalign
39877         or valloc.  Remove obsolete comment about BSD.
39878         Document memalign errno values and mark the function obsolete.
39879         Document posix_memalign returned error codes.  Mark valloc
39880         as obsolete.  (Hooks for Malloc): __memalign_hook is also
39881         called for posix_memalign and valloc.
39882         (Summary of Malloc): Add posix_memalign to function summary.
39883         __memalign_hook is also called for posix_memalign and valloc.
39885 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
39887         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
39888         TAYLOR_SIN.
39889         (__sin): Adjust.
39890         (__cos): Likewise.
39891         (sloww): Use mynumber union.  Expand ternary operator into
39892         if-else statements.
39893         (cslow): use mynumber union.
39895 2013-12-16  Allan McRae  <allan@archlinux.org>
39897         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
39898         * configure: Regenerated.
39900         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
39902         [BZ #14120]
39903         * configure.ac: Added --enable-maintainer-mode. Check for
39904         autoconf when enabled.
39905         * configure: Regenerated.
39907         * nscd/nscd.service: New file.
39908         * nscd/nscd.tmpfiles: New file.
39910 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
39912         [BZ #12100]
39913         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
39914         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
39915         * sysdeps/x86_64/multiarch/strstr.c: ... here.
39916         (strstr): Add __strstr_sse2_unaligned ifunc.
39917         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
39918         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
39919         (strcasestr): Remove __strcasestr_sse42 ifunc.
39920         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
39921         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
39922         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
39924 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
39926         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
39927         * sysdeps/sh/bits/fenv.h: ... here.
39928         * sysdeps/sh/sh4/fpu/bits: Remove directory.
39930 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39932         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
39934         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
39935         hypotf multiarch implementations.
39936         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
39937         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
39938         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
39939         multiarch hypot for PPC64.
39940         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
39941         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
39942         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
39943         multiarch hypotf for PPC64.
39945         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
39946         modff multiarch implementations.
39947         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
39948         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
39949         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
39950         multiarch modf for PPC64.
39951         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
39952         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
39953         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
39954         multiarch modff for PPC64.
39956         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
39957         and logl multiarch implementations.
39958         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
39959         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
39960         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
39961         multiarch logb for PPC64.
39962         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
39963         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
39964         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
39965         multiarch logb for PPC64.
39966         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
39967         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
39968         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
39969         multiarch logb for PPC64.
39971         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
39972         isinff multiarch implementation.
39973         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
39974         file.
39975         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
39976         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
39977         multiarch isinf for PPC64.
39978         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
39979         file.
39980         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
39981         multiarch isinff for PPC64.
39983         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
39984         finitef multiarch implementation.
39985         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
39986         file.
39987         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
39988         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
39989         multiarch finite for PPC64.
39990         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
39991         file.
39992         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
39993         multiarch finitef for PPC64.
39995         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
39996         lrint multiarch implementation.
39997         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
39998         file.
39999         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
40000         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
40001         multiarch llrint for PPC64.
40002         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
40003         multiarch lrint for PPC64.
40005         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
40006         copysignf multiarch implementation.
40007         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
40008         file.
40009         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
40010         file.
40011         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
40012         multiarch copysign for PPC64.
40013         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
40014         multiarch copysignf for PPC64.
40016         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
40017         multiarch implementation.
40018         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
40019         file.
40020         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
40021         file.
40022         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
40023         file.
40024         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
40025         file.
40026         multiarch llround for PPC64.
40027         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
40028         multiarch trunc for PPC64.
40029         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
40030         multiarch truncf for PPC64.
40032         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
40033         multiarch implementation.
40034         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
40035         file.
40036         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
40037         file.
40038         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
40039         file.
40040         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
40041         file.
40042         multiarch llround for PPC64.
40043         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
40044         multiarch round for PPC64.
40045         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
40046         multiarch roundf for PPC64.
40048         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
40049         multiarch implementation.
40050         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
40051         file.
40052         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
40053         file.
40054         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
40055         file.
40056         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
40057         file.
40058         multiarch llround for PPC64.
40059         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
40060         multiarch floor for PPC64.
40061         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
40062         multiarch floorf for PPC64.
40064         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
40065         multiarch implementation.
40066         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
40067         file.
40068         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
40069         file.
40070         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
40071         file.
40072         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
40073         file.
40074         multiarch llround for PPC64.
40075         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
40076         multiarch ceil for PPC64.
40077         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
40078         multiarch ceilf for PPC64.
40080         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
40081         multiarch implementation.
40082         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
40083         file.
40084         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
40085         file.
40086         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
40087         file.
40088         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
40089         multiarch llround for PPC64.
40090         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
40091         multiarch lround for PPC64.
40093         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
40094         multiarch implementation.
40095         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
40096         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
40097         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
40098         file.
40099         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
40100         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
40101         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
40102         multiarch isnan for PPC64.
40103         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
40104         multiarch isnanf for PPC64.
40106         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
40107         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
40108         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
40109         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
40110         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
40111         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
40113         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
40114         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
40115         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
40116         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
40118         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
40119         multiarch implementations.
40120         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
40121         (__libc_ifunc_impl_list): Likewise.
40122         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
40123         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
40124         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
40125         multiarch stpcpy for PPC64.
40127         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
40128         multiarch implementations.
40129         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
40130         (__libc_ifunc_impl_list): Likewise.
40131         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
40132         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
40133         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
40134         multiarch strcpy for PPC64.
40136         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
40137         redefine function name.
40138         (_wordcopy_fwd_dest_aligned): Likewise.
40139         (_wordcopy_bwd_aligned): Likewise.
40140         (_wordcopy_bwd_dest_aligned): Likewise.
40141         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
40142         multiarch implementations.
40143         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
40144         (__libc_ifunc_impl_list): Likewise.
40145         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
40146         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
40147         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
40148         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
40149         multiarch wcscpy for PPC64.
40151         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
40152         multiarch implementations.
40153         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
40154         (__libc_ifunc_impl_list): Likewise.
40155         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
40156         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
40157         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
40158         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
40159         multiarch wcscpy for PPC64.
40161         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
40162         multiarch implementations.
40163         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
40164         (__libc_ifunc_impl_list): Likewise.
40165         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
40166         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
40167         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
40168         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
40169         multiarch wcsrchr for PPC64.
40171         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
40172         multiarch implementations.
40173         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
40174         (__libc_ifunc_impl_list): Likewise.
40175         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
40176         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
40177         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
40178         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
40179         multiarch wcschr for PPC64.
40181         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
40182         multiarch implementations.
40183         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
40184         (__libc_ifunc_impl_list): Likewise.
40185         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
40186         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
40187         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
40188         multiarch strchrnul for PPC64.
40190         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
40191         implementations.
40192         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
40193         (__libc_ifunc_impl_list): Likewise.
40194         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
40195         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
40196         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
40197         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
40198         strchr for PPC64.
40200         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
40201         implementations.
40202         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
40203         (__libc_ifunc_impl_list): Likewise.
40204         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
40205         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
40206         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
40207         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
40208         strncmp for PPC64.
40210         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
40211         multiarch implementations.
40212         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
40213         (__libc_ifunc_impl_list): Likewise.
40214         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
40215         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
40216         strncasecmp for PPC64.
40217         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
40218         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
40219         multiarch strncasecmp_l for PPC64.
40221         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
40222         multiarch implementations.
40223         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
40224         (__libc_ifunc_impl_list): Likewise.
40225         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
40226         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
40227         multiarch strcasecmp for PPC64.
40228         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
40229         file.
40230         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
40231         multiarch strcasecmp_l for PPC64.
40233         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
40234         implementations.
40235         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
40236         (__libc_ifunc_impl_list): Likewise.
40237         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
40238         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
40239         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
40240         strnlen for PPC64.
40242         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
40243         implementations.
40244         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
40245         (__libc_ifunc_impl_list): Likewise.
40246         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
40247         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
40248         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
40249         strlen for PPC64.
40251         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
40252         implementations.
40253         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
40254         (__libc_ifunc_impl_list): Likewise.
40255         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
40256         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
40257         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
40258         rawmemrchr for PPC64.
40260         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
40261         implementation.
40262         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
40263         (__libc_ifunc_impl_list): Likewise.
40264         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
40265         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
40266         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
40267         memrchr for PPC64.
40269         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
40270         implementation.
40271         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
40272         (__libc_ifunc_impl_list): Likewise.
40273         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
40274         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
40275         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
40276         memchr for PPC64.
40278         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
40279         implementation.
40280         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
40281         (__libc_ifunc_impl_list): Likewise.
40282         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
40283         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
40284         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
40285         mempcpy for PPC64.
40287         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
40288         avoid cretion of __bzero symbol.
40289         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
40290         Likewise.
40291         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
40292         Likewise.
40293         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
40294         Likewise.
40295         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
40296         multiarch implementations.
40297         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
40298         (__libc_ifunc_impl_list): Likewise.
40299         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
40300         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
40301         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
40302         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
40303         bzero for PPC32.
40304         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
40305         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
40306         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
40307         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
40308         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
40309         memset for PPC64.
40310         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
40312         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
40313         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
40314         implementations.
40315         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
40316         (__libc_ifunc_impl_list): Likewise.
40317         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
40318         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
40319         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
40320         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
40321         memcmp for PPC64.
40323         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
40324         multiarch for POWER/PPC64.
40325         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
40326         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
40327         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
40328         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
40329         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
40330         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
40331         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
40332         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
40333         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
40334         memcpy for PPC64.
40336         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
40337         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
40338         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
40339         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
40340         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
40341         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
40342         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
40343         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
40344         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
40345         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
40346         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
40347         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
40348         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
40349         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
40350         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
40351         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
40352         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
40353         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
40354         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
40355         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
40356         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
40357         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
40359 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
40361         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
40363 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
40365         * benchtests/Makefile (bench): Add exp2 and log2.
40366         (LDLIBS-bench-exp2): Add -lm.
40367         (LDLIBS-bench-log2): Likewise.
40368         * benchtests/exp2-inputs: New inputs file.
40369         * benchtests/log2-inputs: New inputs file.
40370         * benchtests/log-inputs: Add new inputs.
40371         * benchtests/tan-inputs: Likewise.
40373 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
40375         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
40376         definition...
40377         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
40378         (csloww2): ... from here.
40380         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
40381         instead of structures.
40382         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
40383         (POLYNOMIAL): Likewise.
40384         (TAYLOR_SLOW): Likewise.
40385         (__sin): Likewise.
40386         (__cos): Likewise.
40387         (slow1): Likewise.
40388         (slow2): Likewise.
40389         (sloww): Likewise.
40390         (sloww1); Likewise.
40391         (sloww2): Likewise.
40392         (bsloww1): Likewise.
40393         (bsloww2): Likewise.
40394         (cslow2): Likewise.
40395         (csloww): Likewise.
40396         (csloww1): Likewise.
40397         (csloww2): Likewise.
40399 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
40401         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
40402         (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
40403         Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
40404         * malloc/hooks.c (realloc_check): Likewise.
40406         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
40407         * malloc/arena.c: Remove PER_THREAD conditional.
40408         [!PER_THREAD]: Remove code.
40409         (ptmalloc_unlock_all2): Likewise.
40410         (ptmalloc_init): Likewise.
40411         (_int_new_arena): Likewise.
40412         (arena_get2): Likewise.
40413         * malloc/hooks.c (__malloc_get_state): Likewise.
40414         (__malloc_set_state): Likewise.
40415         * malloc/malloc.c: Likewise.
40416         (struct malloc_state): Likewise.
40417         (struct malloc_par): Likewise.
40418         (__libc_realloc): Likewise.
40419         (__libc_mallopt): Likewise.
40421 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40423         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
40425 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
40427         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
40428         macro to a function.  Check for zero perturb_byte.
40429         (_int_malloc, _int_free): Remove zero perturb_byte checks.
40431         * malloc/malloc.c: (force_reg): Remove.
40432         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
40433         (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
40434         force_reg by atomic_forced_read.
40435         * malloc/arena.c (ptmalloc_init): Likewise.
40436         * malloc/hooks.c (top_check): Likewise.
40438 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40440         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40442 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
40444         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
40446 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
40448         * math/auto-libm-test-in: Add tests of lgamma.
40449         * math/auto-libm-test-out: Regenerated.
40450         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
40451         (M_LOG_2_SQRT_PIl): Likewise.
40452         (lgamma_test_data): Use AUTO_TESTS_f_f1.
40453         * math/gen-auto-libm-tests.c (func_calc_method): Add value
40454         mpfr_f_f1.
40455         (func_calc_desc): Add mpfr_f_f1 union field.
40456         (ARGS1): New macro.
40457         (ARGS2): Likewise.
40458         (ARGS3): Likewise.
40459         (ARGS4): Likewise.
40460         (RET1): Likewise.
40461         (RET2): Likewise.
40462         (CALC): Likewise.
40463         (FUNC): Likewise.
40464         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
40465         (test_functions): Add lgamma.
40466         (calc_generic_results): Handle mpfr_f_f1.
40467         * sysdeps/i386/fpu/libm-test-ulps: Update.
40468         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40470 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40472         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
40473         __mpn_add_n for PowerPC64/POWER7.
40474         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
40475         __mpn_sub_n for PowerPC64/POWER7.
40477         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
40478         __mpn_addmul_1 for PowerPC64.
40479         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
40480         __mpn_submul_1 for PowerPC64.
40481         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
40482         for PowerPC64.
40483         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
40484         for PowerPC64.
40486 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
40488         [BZ #15089]
40489         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
40491 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40493         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
40495         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
40496         add multiarch folders.
40497         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
40498         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
40499         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
40500         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
40501         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
40502         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
40503         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
40504         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
40505         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
40506         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
40507         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
40508         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
40509         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
40510         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
40511         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
40512         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
40513         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
40515         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
40516         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
40517         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
40518         New file.
40519         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
40520         New file.
40521         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
40522         multiarch __ieee754_hypot for PowerPC32.
40523         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
40524         New file.
40525         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
40526         New file.
40527         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
40528         multiarch __ieee754_hypotf for PowerPC32.
40530         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
40531         long_double_symbol only if __logbl is defined.
40532         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
40533         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
40534         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
40535         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
40536         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
40537         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
40538         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
40539         path for implementation.
40540         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
40541         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
40542         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
40543         logb, and logbl multiarch implementations for PowerPC32.
40544         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
40545         file.
40546         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
40547         file.
40548         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
40549         multiarch logb for PowerPC32.
40550         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
40551         file.
40552         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
40553         file.
40554         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
40555         multiarch logbf for PowerPC32.
40556         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
40557         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
40558         file.
40559         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
40560         multiarch logbl implementation for PowerPC32.
40562         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
40563         and modff multiarch implementations.
40564         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
40565         New file.
40566         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
40567         New file.
40568         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
40569         multiarch modf for PowerPC32.
40570         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
40571         New file.
40572         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
40573         New file.
40574         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
40575         multiarch modff for PowerPC32.
40577         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
40578         and lrintf multiarch implementations.
40579         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
40580         New file.
40581         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
40582         New file.
40583         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
40584         multiarch lrint for PowerPC32.
40585         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
40586         file: multiarch lrintf for PowerPC32.
40588         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
40589         and lroundf multiarch implementations.
40590         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
40591         New file.
40592         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
40593         New file.
40594         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
40595         New file.
40596         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
40597         multiarch lround for PowerPC32.
40598         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
40599         file: multiarch lroundf for PowerPC32.
40601         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
40602         copysign and copysignf multiarch implementations.
40603         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
40604         New file.
40605         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
40606         New file.
40607         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
40608         file: multiarch copysign for PowerPC32.
40609         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
40610         file: multiarch copysignf for PowerPC32.
40612         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
40613         and truncf multiarch implementations.
40614         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
40615         New file.
40616         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
40617         file.
40618         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
40619         multiarch trunc for PowerPC32.
40620         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
40621         New file.
40622         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
40623         New file.
40624         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
40625         multiarch truncf for PowerPC32.
40627         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
40628         and roundf multiarch implementations.
40629         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
40630         New file.
40631         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
40632         file.
40633         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
40634         multiarch round for PowerPC32.
40635         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
40636         New file.
40637         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
40638         New file.
40639         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
40640         multiarch roundf for PowerPC32.
40642         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
40643         and floorf multiarch implementations.
40644         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
40645         New file.
40646         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
40647         file.
40648         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
40649         multiarch floor for PowerPC32.
40650         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
40651         New file.
40652         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
40653         New file.
40654         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
40655         multiarch floorf for PowerPC32.
40657         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
40658         and ceilf multiarch implementations.
40659         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
40660         New file.
40661         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
40662         file.
40663         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
40664         multiarch ceil for PowerPC32.
40665         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
40666         New file.
40667         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
40668         file.
40669         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
40670         multiarch ceilf for PowerPC32.
40672         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
40673         is defined.
40674         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
40675         FINITEF is defined.
40676         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
40677         and finitef multiarch implementations.
40678         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
40679         New file.
40680         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
40681         file.
40682         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
40683         multiarch finite for PowerPC32.
40684         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
40685         New file.
40686         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
40687         file: multiarch finitef for PowerPC32.
40689         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
40690         and isinff multiarch implementations.
40691         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
40692         file.
40693         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
40694         file.
40695         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
40696         multiarch isinf for PowerPC32.
40697         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
40698         New file.
40699         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
40700         multiarch isinff for PowerPC32.
40702         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
40703         alias when __isnan is defined.
40704         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
40705         and isnanf multiarch implementations.
40706         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
40707         file.
40708         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
40709         file.
40710         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
40711         file.
40712         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
40713         file.
40714         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
40715         multiarch isnan for PowerPC32.
40716         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
40717         New file.
40718         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
40719         New file.
40720         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
40721         multiarch isnanf for PowerPC32.
40723         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
40724         and sqrtf multiarch implementations.
40725         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
40726         file.
40727         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
40728         file.
40729         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
40730         multiarch sqrt for PowerPC32.
40731         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
40732         file.
40733         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
40734         file.
40735         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
40736         multiarch sqrtf for PowerPC32.
40738         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
40739         and llroundf multiarch implementations.
40740         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
40741         New file.
40742         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
40743         New file.
40744         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
40745         New file.
40746         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
40747         file: multiarch llround for PowerPC32.
40748         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
40749         file: multiarch llroundf for PowerPC32.
40751         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
40752         multiarch PowerPC32 fpu implementations.
40753         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
40754         New file.
40755         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
40756         New file.
40757         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
40758         multiarch llrint for PowerPC32.
40759         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
40760         New file.
40761         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
40762         New file.
40763         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
40764         file.
40766         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
40768         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
40769         file.
40770         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
40771         file.
40772         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
40773         file.
40774         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
40775         multiarch wordcopy for PPC32.
40776         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
40777         wordcopy objects.
40778         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
40779         (__libc_ifunc_impl_list): Likewise.
40780         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
40781         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
40782         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
40783         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
40784         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
40785         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
40787         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
40788         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
40789         file.
40790         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
40791         file.
40792         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
40793         file.
40794         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
40795         multiarch wcscpy for PPC32.
40796         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
40797         multiarch objects.
40798         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
40799         (__libc_ifunc_impl_list): Likewise.
40800         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
40801         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
40802         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
40803         sysdeps/powerpc/power6/wcscpy.c.
40805         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
40806         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
40807         file.
40808         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
40809         file.
40810         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
40811         file.
40812         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
40813         multiarch wcsrchr for PPC32.
40814         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
40815         multiarch objects.
40816         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
40817         (__libc_ifunc_impl_list): Likewise.
40818         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
40819         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
40820         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
40821         sysdeps/powerpc/power6/wcsrchr.c.
40823         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
40824         file.
40825         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
40826         file.
40827         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
40828         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
40829         multiarch wcschr for PPc32.
40830         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
40831         multiarch objects.
40832         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
40833         (__libc_ifunc_impl_list): Likewise.
40834         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
40835         * sysdeps/powerpc/power6/wcschr.c: ... to here.
40836         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
40837         sysdeps/powerpc/power6/wcschr.c.
40839         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
40840         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
40841         file.
40842         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
40843         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
40844         file: multiarch strchr for PPC32.
40845         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
40846         multiarch objects.
40847         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
40848         (__libc_ifunc_impl_list): Likewise.
40850         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
40851         name.
40852         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
40853         file.
40854         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
40855         file.
40856         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
40857         multiarch strchrnul for PPC32.
40858         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
40859         multiarch objects.
40860         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
40861         (__libc_ifunc_impl_list): Likewise.
40863         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
40864         file.
40865         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
40866         multiarch strncasecmp for PPC32.
40867         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
40868         file.
40869         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
40870         multiarch strncasecmp_l for PPC32.
40871         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
40872         strncasecmp multiarch objects.
40873         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
40874         (__libc_ifunc_impl_list): Likewise.
40876         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
40877         file.
40878         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
40879         multiarch strncasecmp for PPC32.
40880         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
40881         New file.
40882         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
40883         multiarch strcasecmp_l for PPC32.
40884         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
40885         multiarch objects.
40886         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
40887         (__libc_ifunc_impl_list): Likewise.
40889         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
40890         file.
40891         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
40892         file.
40893         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
40894         multiarch strncmp for PPC32.
40895         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
40896         multiarch objects.
40897         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
40898         (__libc_ifunc_impl_list): Likewise.
40900         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
40901         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
40902         file.
40903         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
40904         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
40905         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
40906         multiarch objects.
40907         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
40908         (__libc_ifunc_impl_list): Likewise.
40910         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
40911         file.
40912         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
40913         file.
40914         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
40915         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
40916         multiarch objects.
40917         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
40918         (__libc_ifunc_impl_list): Likewise.
40920         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
40921         file.
40922         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
40923         file.
40924         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
40925         multiarch rawmemchr for PPC32.
40926         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
40927         multiarch objects.
40928         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
40929         (__libc_ifunc_impl_list): Likewise.
40931         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
40932         file.
40933         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
40934         file.
40935         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
40936         file: memrchr multiarch for PPC32.
40937         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
40938         multiarch objects.
40939         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
40940         (__libc_ifunc_impl_list): Likewise.
40942         * string/memchr.c (__memchr): Using macro to redefine symbol name.
40943         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
40944         file.
40945         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
40946         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
40947         multiarch memchr for PPC32.
40948         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
40949         multiarch objects.
40950         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
40951         (__libc_ifunc_impl_list): Likewise.
40953         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
40954         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
40955         file.
40956         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
40957         file.
40958         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
40959         file: multiarch mempcpy for PPC32.
40960         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
40961         multiarch objects.
40962         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
40963         (__libc_ifunc_impl_list): Likewise.
40965         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
40966         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
40967         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
40968         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
40969         multiarch bzero for PPC32.
40970         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
40971         file.
40972         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
40973         file.
40974         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
40975         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
40976         file: multiarch memset for PPC32.
40977         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
40978         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
40979         memset multiarch objects.
40980         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
40981         (__libc_ifunc_impl_list): Likewise.
40983         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
40984         file.
40985         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
40986         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
40987         memcmp for PPC32.
40988         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
40989         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
40990         multiarch objects.
40991         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
40992         (__libc_ifunc_impl_list): Likewise.
40994         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
40995         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
40996         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
40997         file.
40998         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
40999         file.
41000         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
41001         file.
41002         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
41003         multiarch memcpy for PPC32.
41004         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
41005         multiarch objects.
41006         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
41007         (__libc_ifunc_impl_list): Likewise.
41009         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
41010         support multiarch for POWER/PPC32.
41011         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
41012         Likewise.
41013         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
41014         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
41015         Implies file to make multiarch folder appers before the fpu and
41016         default folder for power4 configuration.
41018 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
41020         * scripts/bench.pl: Append volatile keyword to type.
41022 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
41024         * sysdeps/sh/sotruss-lib.c: New file.
41025         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
41027 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41029         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41031 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
41033         [BZ #6810]
41034         * math/w_tgamma.c: Include <errno.h>.
41035         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
41036         * math/w_tgammaf.c: Include <errno.h>.
41037         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
41038         * math/w_tgammal.c: Include <errno.h>.
41039         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
41040         * math/auto-libm-test-in: Do not allow missing errno on tgamma
41041         underflow.  Add more tgamma tests.
41042         * math/auto-libm-test-out: Regenerated.
41043         * sysdeps/i386/fpu/libm-test-ulps: Update.
41044         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41046         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
41047         sin, sinh, tan, tanh, tgamma, y0 and y1.
41048         * math/auto-libm-test-out: Regenerated.
41049         * math/libm-test.inc (TEST_COND_x86_64): New macro.
41050         (TEST_COND_x86): Likewise.
41051         (M_E2l): Remove macro.
41052         (M_E3l): Likewise.
41053         (M_2_SQRT_PIl): Likewise.
41054         (M_SQRT_PIl): Likewise.
41055         (M_1_DIV_El): Likewise.
41056         (log_test_data): Use AUTO_TESTS_f_f.
41057         (log10_test_data): Likewise.
41058         (log1p_test_data): Likewise.
41059         (log2_test_data): Likewise.
41060         (sin_test_data): Likewise.
41061         (sin_tonearest_test_data): Likewise.
41062         (sin_towardzero_test_data): Likewise.
41063         (sin_downward_test_data): Likewise.
41064         (sin_upward_test_data): Likewise.
41065         (sinh_test_data): Likewise.
41066         (sinh_tonearest_test_data): Likewise.
41067         (sinh_towardzero_test_data): Likewise.
41068         (sinh_downward_test_data): Likewise.
41069         (sinh_upward_test_data): Likewise.
41070         (tan_test_data): Likewise.
41071         (tan_tonearest_test_data): Likewise.
41072         (tan_towardzero_test_data): Likewise.
41073         (tan_downward_test_data): Likewise.
41074         (tan_upward_test_data): Likewise.
41075         (tanh_test_data): Likewise.
41076         (tgamma_test_data): Likewise.
41077         (y0_test_data): Likewise.
41078         (y1_test_data): Likewise.
41079         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
41080         (special_real_inputs): Add pi/4.
41081         * sysdeps/i386/fpu/libm-test-ulps: Update.
41082         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41084 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41086         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
41087         "longjmp_target" static probes.
41088         (__longjmp): Rename to __longjmp_symbol.
41089         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
41090         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
41091         on which longjmp to generate.
41092         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
41093         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
41094         probe.
41095         (__sigsetjmp): Rename to __sigsetjmp_symbol.
41096         (__sigjmp_save): Rename to __sigjmp_save_symbol.
41097         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
41098         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
41099         and __sigjmp_save_symbol based on which sigsetjmp to generated.
41100         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
41101         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
41102         __longjmp_symbol based on which __longjmp to generate.
41103         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
41104         probe.
41105         (setjmp): Rename to setjmp_symbol.
41106         (__sigsetjmp): Rename to __sigsetjmp_symbol.
41107         (_setjmp): Rename to _setjmp_symbol.
41108         (__sigsetjmp): Rename to __sigsetjmp_symbol.
41109         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
41110         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
41111         which setjmp to generate.
41112         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
41113         "longjmp_target" static probes.
41115 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
41117         * benchtests/README: Add note about output arguments.
41118         * benchtests/bench-sincos.c: Remove file.
41119         * benchtests/sincos-inputs: New file.
41120         * scripts/bench.pl: Identify output arguments and define
41121         static variables for them.
41123         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
41125         [BZ #15941]
41126         * Makefile (INSTALL): Add install-plain.texi as the primary
41127         dependency.
41128         * manual/install-plain.texi: New file.
41129         * manual/install.texi: Include node directive only for
41130         non-plaintext output.
41132 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
41134         * stdlib/longlong.h: Update from GCC.
41136         [BZ #6807]
41137         [BZ #15901]
41138         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
41139         * math/w_j0f.c (y0f): Likewise.
41140         * math/w_j0l.c (__y0l): Likewise.
41141         * math/w_j1.c (y1): Likewise.
41142         * math/w_j1f.c (y1f): Likewise.
41143         * math/w_j1l.c (__y1l): Likewise.
41144         * math/w_jn.c (yn): Likewise.
41145         * math/w_jnf.c (ynf): Likewise.
41146         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
41147         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
41148         value for Bessel function domain errors outside _SVID_ mode.
41149         Adjust sign of return value for yn (negative integer, 0).
41150         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
41151         by zero in return for negative x and set sign appropriately for
41152         negative n.
41153         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
41154         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
41155         * math/libm-test.inc (y0_test_data): Add more tests and adjust
41156         expectations in error cases.
41157         (y1_test_data): Likewise.
41158         (yn_test_data): Likewise.
41159         * sysdeps/i386/fpu/libm-test-ulps: Update.
41160         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41162 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
41164         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
41165         "64" to "64-v1".  Add "64-v2".
41166         (abi-64-options): Rename to ...
41167         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
41168         (abi-64-condition): Rename to ...
41169         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
41170         (abi-64-ld-soname): Rename to ...
41171         (abi-64-v1-ld-soname): ... this.
41172         (abi-64-v2-options): Define.
41173         (abi-64-v2-condition): Likewise.
41174         (abi-64-v2-ld-soname): Likewise.
41175         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
41176         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
41177         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
41178         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
41179         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
41181 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
41182             Alan Modra  <amodra@gmail.com>
41184         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
41185         New versions for use with the ELFv2 ABI.
41186         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
41187         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
41188         declaration.
41189         (struct La_ppc64v2_retval): Likewise.
41190         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
41191         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
41192         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
41193         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
41194         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
41195         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
41196         Do not save or restore CR.
41197         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
41198         (_dl_profile_resolve): Do no save or restore CR.  Support extended
41199         return values for ELFv2 ABI.  Fix location of FPR return registers.
41200         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
41201         updated values for _CALL_ELF == 2.
41202         (La_regs, La_retval, int_retval): Likewise.
41204 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
41206         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
41207         (FRAME_MIN_SIZE_PARM): Likewise.
41208         (FRAME_BACKCHAIN): Likewise.
41209         (FRAME_CR_SAVE): Likewise.
41210         (FRAME_LR_SAVE): Likewise.
41211         (FRAME_TOC_SAVE): Likewise.
41212         (FRAME_PARM_SAVE): Likewise.
41213         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
41214         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
41215         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
41216         (call_mcount_parm_offset): New macro.
41217         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
41218         (PROF): Use symbolic stack frame offsets.
41219         (TAIL_CALL_SYSCALL_ERROR): Likewise.
41220         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
41221         Redefine in terms of FRAME_MIN_SIZE.
41222         (_dl_runtime_resolve): Use symbolic stack frame offsets.
41223         (_dl_profile_resolve): Likewise.  Update comment.
41224         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
41225         symbols stack frame offsets.
41226         (__sigsetjmp): Likewise.
41227         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
41228         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
41229         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
41230         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
41232         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
41233         (FRAME_BACKCHAIN): Remove.
41234         (FRAME_CR_SAVE): Likewise.
41235         (FRAME_LR_SAVE): Likewise.
41236         (FRAME_COMPILER_DW): Likewise.
41237         (FRAME_LINKER_DW): Likewise.
41238         (FRAME_TOC_SAVE): Likewise.
41239         (FRAME_PARM_SAVE): Likewise.
41240         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
41241         (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
41242         (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
41243         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
41244         (CHECK_SP): Use symbolic stack frame offsets.
41245         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
41246         zone" instead of caller's parameter save area for temp storage.
41247         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
41248         Likewise.  Also, use symbolic stack frame offsets.
41249         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
41250         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
41251         our own stack frame instead of the caller's.
41252         (__socket): Use symbolic stack frame offsets.
41254 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
41255             Alan Modra  <amodra@gmail.com>
41257         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
41258         Define.
41259         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
41260         (PPC64_LOCAL_ENTRY_OFFSET): Define.
41261         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
41262         New function.
41263         (elf_machine_fixup_plt): Call it.
41264         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
41265         reloc arguments.
41266         (elf_machine_rela): Update call to elf_machine_plt_conflict.
41267         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
41268         (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
41269         r2 before calling target.
41271 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
41272             Alan Modra  <amodra@gmail.com>
41274         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
41275         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
41276         versions of macros to support ELFv2 ABI.
41277         (LOCALENTRY): New macro.
41278         (ENTRY, EALIGN): Use it.
41279         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
41280         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
41281         fall through into ENTRY entry point.
41282         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
41283         Only define if _CALL_ELF != 2.
41285         (elf_machine_matches_host): Verify ABI version matches.
41286         (RTLD_START): Use LOCALENTRY.
41287         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
41288         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
41289         (PLT_ENTRY_WORDS): New macro.
41290         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
41291         (elf_machine_runtime_setup): Support ELFv2 ABI.
41292         (elf_machine_fixup_plt): Likewise.
41293         (elf_machine_plt_conflict): Likewise.
41294         (resolve_ifunc): Likewise.
41295         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
41296         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
41297         Likewise.
41298         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
41299         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
41300         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
41301         (makecontext): Support ELFv2 ABI.
41302         * elf/elf.h (EF_PPC64_ABI): Define.
41304 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
41306         * sysdeps/powerpc/powerpc64/sysdep.h
41307         (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
41308         (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
41309         (ENTRY) [ASSEMBLER]: ... but instead here ...
41310         (EALIGN) [ASSEMBLER]: ... and here.
41311         (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
41312         (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
41313         (ENTRY_2) [!ASSEMBLER]: Use it.
41314         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
41315         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
41316         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
41317         (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
41318         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
41319         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
41320         Use PPC64_LOAD_FUNCPTR.
41322         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
41324 2013-12-04  Alan Modra  <amodra@gmail.com>
41326         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
41327         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
41328         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
41329         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
41331         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
41332         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
41333         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
41334         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
41335         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
41336         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
41338 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
41340         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
41341         (__makecontext): Fix incorrect CFI when backtracing out of
41342         context created via makecontext.
41343         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
41344         (__setcontext): Fix incorrect CFI during switch to new context.
41345         (__novec_setcontext): Likewise.
41347 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
41349         [BZ #4772]
41350         * time/strptime_l.c (__strptime_internal): Allow modifiers
41351         in strptime.
41352         * time/tst-strptime.c (day_tests): Add testcase.
41354 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
41356         * scripts/bench.pl: Skip over blank lines.
41358 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
41360         [BZ #926]
41361         * manual/time.texi (Calendar Time): Clarify what timezone functions
41362         use.
41364 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41366         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41368 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
41370         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
41371         implementation.
41372         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
41373         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
41374         * debug/memset_chk.c (__memset_chk): Likewise.
41375         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
41376         * debug/strncpy_chk.c: Likewise.
41378 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
41380         [BZ #15268]
41381         [BZ #15425]
41382         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
41383         (__ieee754_exp): For possibly underflowing results, check size of
41384         result and force underflow exception if required.
41385         * math/auto-libm-test-in: Add more tests of exp.
41386         * math/auto-libm-test-out: Regenerated.
41387         * sysdeps/i386/fpu/libm-test-ulps: Update.
41388         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41390         [BZ #16283]
41391         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
41392         * math/w_exp2f.c (__exp2f): Likewise.
41393         * math/w_exp2l.c (__exp2l): Likewise.
41394         * math/auto-libm-test-in: Do not allow missing errno on exp2
41395         underflow.
41396         * math/auto-libm-test-out: Regenerated.
41398 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
41400         [BZ #16274]
41401         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
41402         handle filename validation.
41403         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
41404         (do_open): Delete.
41406 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
41408         [BZ #6786]
41409         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
41410         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
41411         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
41412         <float.h>.
41413         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
41414         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
41415         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
41416         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
41417         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
41418         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
41419         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
41420         * math/auto-libm-test-in: Don't allow missing errno from erfc.
41421         Add more erfc tests.
41422         * math/auto-libm-test-out: Regenerated.
41423         * sysdeps/i386/fpu/libm-test-ulps: Update.
41424         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41426         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
41427         exp2, expm1, j0 and j1.
41428         * math/auto-libm-test-out: Regenerated.
41429         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
41430         (erfc_test_data): Likewise.
41431         (exp_test_data): Likewise.
41432         (exp_tonearest_test_data): Likewise.
41433         (exp_towardzero_test_data): Likewise.
41434         (exp_downward_test_data): Likewise.
41435         (exp_upward_test_data): Likewise.
41436         (exp10_test_data): Likewise.
41437         (exp2_test_data): Likewise.
41438         (expm1_test_data): Likewise.
41439         (j0_test_data): Likewise.
41440         (j1_test_data): Likewise.
41441         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
41442         (input_flag_type): Add flag_xfail_rounding.
41443         (input_flags): Add xfail-rounding.
41444         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
41445         (output_for_one_input_case): Handle flag_xfail_rounding.
41446         * sysdeps/i386/fpu/libm-test-ulps: Update.
41447         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41449 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
41451         [BZ #16289]
41452         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
41453         division by 0.
41455 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
41457         [BZ #16195]
41458         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
41459         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
41460         (STAP_PROBE0): New macro.
41461         (STAP_PROBE1): Likewise.
41462         (STAP_PROBE2): Likewise.
41463         (STAP_PROBE3): Likewise.
41464         (STAP_PROBE4): Likewise.
41466 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
41468         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
41470 2013-12-02  Steve Ellcey  <sellcey@mips.com>
41472         * benchtests/Makefile (bench): Add sqrt.
41473         (LDLIBS-bench-sqrt): New.
41474         * benchtests/sqrt-input: New.
41476 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
41478         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
41479         (GAIH_EAI): Likewise.
41480         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
41481         (gaih_inet): Likewise.
41482         (getaddrinfo): Don't use GAIH_EAI.
41484         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
41485         (struct gaih): Remove definition.
41487 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
41489         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
41490         Use HERRNOP directly.
41492 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41494         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41496 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
41498         * math/gen-auto-libm-tests.c (test_functions): Add more
41499         single-argument functions.
41500         (special_fill_pi_2): New function.
41501         (special_fill_minus_pi_2): Likewise.
41502         (special_fill_pi_6): Likewise.
41503         (special_fill_minus_pi_6): Likewise.
41504         (special_fill_pi_3): Likewise.
41505         (special_fill_2pi_3): Likewise.
41506         (special_fill_e): Likewise.
41507         (special_fill_1_e): Likewise.
41508         (special_fill_e_minus_1): Likewise.
41509         (special_real_inputs): Add more special inputs.
41510         (output_for_one_input_case): Do not require ERANGE on underflow to
41511         zero if round-to-nearest result does not underflow to zero, unless
41512         exact results required.
41513         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
41514         atan, atanh, cbrt, cos and cosh.
41515         * math/auto-libm-test-out: Regenerated.
41516         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
41517         (acos_tonearest_test_data): Likewise.
41518         (acos_towardzero_test_data): Likewise.
41519         (acos_downward_test_data): Likewise.
41520         (acos_upward_test_data): Likewise.
41521         (acosh_test_data): Likewise.
41522         (asin_test_data): Likewise.
41523         (asin_tonearest_test_data): Likewise.
41524         (asin_towardzero_test_data): Likewise.
41525         (asin_upward_test_data): Likewise.
41526         (asinh_test_data): Likewise.
41527         (atan_test_data): Likewise.
41528         (atanh_test_data): Likewise.
41529         (cbrt_test_data): Likewise.
41530         (cos_test_data): Likewise.
41531         (cos_tonearest_test_data): Likewise.
41532         (cos_towardzero_test_data): Likewise.
41533         (cos_downward_test_data): Likewise.
41534         (cos_upward_test_data): Likewise.
41535         (cosh_test_data): Likewise.
41536         (cosh_tonearest_test_data): Likewise.
41537         (cosh_towardzero_test_data): Likewise.
41538         (cosh_downward_test_data): Likewise.
41539         (cosh_upward_test_data): Likewise.
41540         * sysdeps/i386/fpu/libm-test-ulps: Update.
41541         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41543 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
41545         [BZ #6787]
41546         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
41547         * math/w_exp10f.c (__exp10f): Likewise.
41548         * math/w_exp10l.c (__exp10l): Likewise.
41549         * math/libm-test.inc (exp10_test_data): Add more tests and expect
41550         errno settings in existing tests.
41552         [BZ #14032]
41553         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
41554         precision control set to double precision.
41555         * sysdeps/i386/fpu/w_sqrt.c: New file.
41556         * math/auto-libm-test-in: Add more tests.
41557         * math/auto-libm-test-out: Update.
41559         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
41560         (sqrt_test_tonearest): New function.
41561         (sqrt_towardzero_test_data): New variable.
41562         (sqrt_test_towardzero): New function.
41563         (sqrt_downward_test_data): New variable.
41564         (sqrt_test_downward): New function.
41565         (sqrt_upward_test_data): New variable.
41566         (sqrt_test_upward): New function.
41567         (main): Call the new functions.
41569         * math/gen-auto-libm-tests.c: New file.
41570         * math/auto-libm-test-in: Likewise.
41571         * math/auto-libm-test-out: New generated file.
41572         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
41573         variables.
41574         (%beautify): Add generated representations of zero.
41575         (top level): Set $auto_input and call parse_auto_input.
41576         (beautify): Remove trailing "f" from hex float constants.
41577         (parse_args): Handle XFAIL_TEST.
41578         (convert_condition): New function.
41579         (or_value): Likewise.
41580         (or_cond_value): Likewise.
41581         (generate_testfile): Handle AUTO_TESTS_* lines.
41582         (parse_auto_input): New function.
41583         * math/libm-test.inc (XFAIL_TEST): New macro.
41584         (ERRNO_UNCHANGED): Update value.
41585         (ERRNO_EDOM): Likewise.
41586         (ERRNO_ERANGE): Likewise.
41587         (IGNORE_RESULT): Likewise.
41588         (TEST_COND_flt_32): New macro.
41589         (TEST_COND_dbl_64): Likewise.
41590         (TEST_COND_ldbl_96_intel): Likewise.
41591         (TEST_COND_ldbl_96_m68k): Likewise.
41592         (TEST_COND_ldbl_128): Likewise.
41593         (TEST_COND_ldbl_128ibm): Likewise.
41594         (TEST_COND_long32): Likewise.
41595         (TEST_COND_long64): Likewise.
41596         (TEST_COND_before_rounding): Likewise.
41597         (TEST_COND_after_rounding): Likewise.
41598         (enable_test): Handle XFAIL_TEST flag.
41599         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
41600         with finite results.
41601         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
41602         auto-libm-test-out.
41604 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
41605             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
41607         [BZ #16214]
41608         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
41609         __tls_get_addr_internal instead of __tls_get_offset in order to
41610         avoid GOT pointer dependency.  Make rtld export
41611         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
41612         __tls_get_addr since we are a __tls_get_offset platform.
41613         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
41614         GOT pointer being set up before.
41615         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
41617 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
41619         * manual/math.texi (Errors in Math Functions): Document accuracy
41620         goals.
41622         [BZ #15004]
41623         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
41624         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
41625         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
41626         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
41627         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
41628         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
41629         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
41630         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
41631         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
41632         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
41633         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
41634         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
41635         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
41636         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
41637         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41638         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
41640         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
41641         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
41642         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
41643         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
41644         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
41645         Likewise.
41646         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
41647         Likewise.
41648         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
41649         Likewise.
41650         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
41651         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
41652         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
41653         atomic-feupdateenv and flt-rounds.
41654         * sysdeps/powerpc/nofpu/Versions (libc): Add
41655         __atomic_feholdexcept, __atomic_feclearexcept,
41656         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
41657         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
41658         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
41659         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
41660         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
41661         here.
41662         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
41663         Update.
41665         * manual/arith.texi (FP Exceptions): Document that exceptions may
41666         not be raised when matherr is used.
41667         (Math Error Reporting): Document overflow in directed rounding
41668         modes.  Document that errno may not be set when finite values are
41669         returned on overflow.  Document intent to set errno on underflow
41670         only for underflow to zero.
41672         [BZ #16271]
41673         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
41674         round-to-nearest then adjust result for other rounding modes.
41675         * include/fenv.h (fegetround): Use libm_hidden_proto.
41676         * math/fegetround.c (fegetround): Use libm_hidden_def.
41677         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
41678         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
41679         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
41680         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
41681         Likewise.
41682         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
41683         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
41684         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
41685         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
41687 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
41689         [BZ #16077]
41690         * nss/Versions (libnss_files): Add
41691         _nss_files_gethostbyname3_r.
41692         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
41693         New function.
41694         (HOST_DB_LOOKUP): Remove macro.
41695         (_nss_files_gethostbyname_r): Implement function without the
41696         HOST_DB_LOOKUP macro.
41697         (_nss_files_gethostbyname2_r): Likewise.
41699 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
41701         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
41703 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
41705         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
41706         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
41707         warning.
41709 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41711         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
41712         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
41713         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
41714         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
41715         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
41716         __fe_nomask_env_priv and attribute_hidden.
41717         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
41718         (libc_feupdateenv_test_ppc): Likewise.
41719         (libc_feresetround_ppc): Likewise.
41720         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
41721         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
41722         compat_symbol macro.
41723         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
41724         (__fe_nomask_env): Likewise.
41725         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
41727 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
41729         * string/Makefile: Remove ifunc tests.
41730         * string/test-string.h: Define TEST_IFUNC.
41731         * string/test-bcopy-ifunc.c: Remove.
41732         * string/test-bzero-ifunc.c: Likewise.
41733         * string/test-memccpy-ifunc.c: Likewise.
41734         * string/test-memchr-ifunc.c: Likewise.
41735         * string/test-memcmp-ifunc.c: Likewise.
41736         * string/test-memcpy-ifunc.c: Likewise.
41737         * string/test-memmem-ifunc.c: Likewise.
41738         * string/test-memmove-ifunc.c: Likewise.
41739         * string/test-mempcpy-ifunc.c: Likewise.
41740         * string/test-memrchr-ifunc.c: Likewise.
41741         * string/test-memset-ifunc.c: Likewise.
41742         * string/test-rawmemchr-ifunc.c: Likewise.
41743         * string/test-stpcpy-ifunc.c: Likewise.
41744         * string/test-stpncpy-ifunc.c: Likewise.
41745         * string/test-strcasecmp-ifunc.c: Likewise.
41746         * string/test-strcasestr-ifunc.c: Likewise.
41747         * string/test-strcat-ifunc.c: Likewise.
41748         * string/test-strchr-ifunc.c: Likewise.
41749         * string/test-strchrnul-ifunc.c: Likewise.
41750         * string/test-strcmp-ifunc.c: Likewise.
41751         * string/test-strcpy-ifunc.c: Likewise.
41752         * string/test-strcspn-ifunc.c: Likewise.
41753         * string/test-strlen-ifunc.c: Likewise.
41754         * string/test-strncasecmp-ifunc.c: Likewise.
41755         * string/test-strncat-ifunc.c: Likewise.
41756         * string/test-strncmp-ifunc.c: Likewise.
41757         * string/test-strncpy-ifunc.c: Likewise.
41758         * string/test-strnlen-ifunc.c: Likewise.
41759         * string/test-strpbrk-ifunc.c: Likewise.
41760         * string/test-strrchr-ifunc.c: Likewise.
41761         * string/test-strspn-ifunc.c: Likewise.
41762         * string/test-strstr-ifunc.c: Likewise.
41764 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
41766         * benchtests/Makefile: Remove ifunc tests.
41767         * benchtests/bench-string.h: Define TEST_IFUNC.
41768         * benchtests/bench-bcopy-ifunc.c: Remove.
41769         * benchtests/bench-bzero-ifunc.c: Likewise.
41770         * benchtests/bench-memccpy-ifunc.c: Likewise.
41771         * benchtests/bench-memchr-ifunc.c: Likewise.
41772         * benchtests/bench-memcmp-ifunc.c: Likewise.
41773         * benchtests/bench-memcpy-ifunc.c: Likewise.
41774         * benchtests/bench-memmem-ifunc.c: Likewise.
41775         * benchtests/bench-memmove-ifunc.c: Likewise.
41776         * benchtests/bench-mempcpy-ifunc.c: Likewise.
41777         * benchtests/bench-memrchr-ifunc.c: Likewise.
41778         * benchtests/bench-memset-ifunc.c: Likewise.
41779         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
41780         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
41781         * benchtests/bench-stpcpy-ifunc.c: Likewise.
41782         * benchtests/bench-stpncpy-ifunc.c: Likewise.
41783         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
41784         * benchtests/bench-strcasestr-ifunc.c: Likewise.
41785         * benchtests/bench-strcat-ifunc.c: Likewise.
41786         * benchtests/bench-strchr-ifunc.c: Likewise.
41787         * benchtests/bench-strchrnul-ifunc.c: Likewise.
41788         * benchtests/bench-strcmp-ifunc.c: Likewise.
41789         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
41790         * benchtests/bench-strcpy-ifunc.c: Likewise.
41791         * benchtests/bench-strcspn-ifunc.c: Likewise.
41792         * benchtests/bench-strlen-ifunc.c: Likewise.
41793         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
41794         * benchtests/bench-strncat-ifunc.c: Likewise.
41795         * benchtests/bench-strncmp-ifunc.c: Likewise.
41796         * benchtests/bench-strncpy-ifunc.c: Likewise.
41797         * benchtests/bench-strnlen-ifunc.c: Likewise.
41798         * benchtests/bench-strpbrk-ifunc.c: Likewise.
41799         * benchtests/bench-strrchr-ifunc.c: Likewise.
41800         * benchtests/bench-strsep-ifunc.c: Likewise.
41801         * benchtests/bench-strspn-ifunc.c: Likewise.
41802         * benchtests/bench-strstr-ifunc.c: Likewise.
41804 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
41806         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
41808 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
41810         * resolv/netdb.h: Use __glibc_reserved instead __unused.
41811         * rt/aio.h: Likewise.
41812         * sysdeps/gnu/bits/utmp.h: Likewise.
41813         * sysdeps/gnu/bits/utmpx.h: Likewise.
41814         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
41815         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
41816         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
41817         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
41818         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
41819         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
41820         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
41821         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
41822         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
41823         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
41824         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
41825         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
41826         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
41827         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
41828         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
41829         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
41830         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
41831         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
41832         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
41833         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
41834         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
41835         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
41836         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
41837         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
41838         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
41839         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
41840         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
41841         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
41842         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
41843         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
41844         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
41845         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
41846         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
41847         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
41848         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
41849         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
41850         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
41851         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
41852         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
41853         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
41854         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
41855         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
41857 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
41859         [BZ #16245]
41860         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
41861         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
41863 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
41865         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
41866         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
41867         Likewise.
41869 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41871         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
41872         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
41873         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
41874         (__fesetround): Remove define.
41875         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
41876         rounding and exceptions handling.
41877         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
41878         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
41879         (__fe_nomask_env): Likewise.
41880         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
41881         __fegetround instead of fegetround.
41882         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
41883         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
41885 2013-11-21  Roland McGrath  <roland@hack.frob.com>
41887         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
41888         it's there.
41890         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
41892 2013-11-21  Meador Inge  <meadori@codesourcery.com>
41894         [BZ #11157]
41895         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
41896         (encrypt_r): Likewise.
41897         * malloc/obstack.h (obstack_free): Likewise.
41898         * posix/unistd.h (encrypt): Likewise.
41900 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
41902         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
41903         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
41904         DL_CALL_DT_FINI() that call the functions directly.
41905         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
41906         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
41907         * elf/dl-fini.c: Likewise.
41909 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
41911         * malloc/hooks.c (memalign_check): Add alignment rounding.
41912         * malloc/malloc.c (_mid_memalign): New function.
41913         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
41914         Implement by calling _mid_memalign.
41915         * manual/probes.texi (Memory Allocation Probes): Remove
41916         memory_valloc_retry and memory_pvalloc_retry.
41918 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
41920         * locale/programs/locarchive.c (open_archive): Add const
41921         qualifier to ARCHIVEFNAME and copy default fname to
41922         DEFAULT_FNAME.
41924         [BZ #15601]
41925         * libio/tst-widetext.input: Rename Oriya to Odia.
41926         * locale/iso-639.def: Likewise.
41928         * manual/probes.texi (Mathematical Function Probes): Add
41929         documentation for sin, cos, asin and acos probes.
41930         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
41931         (__sin32): Add slowasin probe.
41932         (__cos32): Add slowacos probe.
41933         (__mpsin): Add slowsin probe.
41934         (__mpcos): Add slowcos probe.
41936 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
41938         [BZ #15483]
41939         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
41940         thread-local __sim_exceptions_thread and global
41941         __sim_exceptions_global.
41942         (__sim_disabled_exceptions): Change to thread-local
41943         __sim_disabled_exceptions_thread and global
41944         __sim_disabled_exceptions_global.
41945         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
41946         and global __sim_round_mode_global.
41947         (__simulate_exceptions): Use thread-local floating-point state and
41948         set global state from it as needed.
41949         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
41950         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
41951         __sim_round_mode_thread.
41952         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
41953         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
41954         and global __sim_exceptions_global.
41955         (__sim_disabled_exceptions): Change to thread-local
41956         __sim_disabled_exceptions_thread and global
41957         __sim_disabled_exceptions_global.
41958         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
41959         and global __sim_round_mode_global.
41960         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
41961         (SIM_SET_GLOBAL): Likewise.
41962         * sysdeps/powerpc/soft-fp/sfp-machine.h
41963         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
41964         __sim_round_mode_thread.
41965         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
41966         __sim_disabled_exceptions_thread.
41967         (__sim_exceptions): Change to __sim_exceptions_thread.
41968         (__sim_disabled_exceptions): Change to
41969         __sim_disabled_exceptions_thread.
41970         (__sim_round_mode): Change to __sim_round_mode_thread.
41971         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
41972         thread-local floating-point state and set global state from it as
41973         needed.
41974         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
41975         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
41976         (__sim_disabled_exceptions): Remove extern declaration.
41977         (feenableexcept): Use thread-local floating-point state and set
41978         global state from it as needed.
41979         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
41980         extern declaration.
41981         (__sim_disabled_exceptions): Likewise.
41982         (__sim_round_mode): Likewise.
41983         (__fegetenv): Use thread-local floating-point state.
41984         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
41985         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
41986         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
41987         floating-point state and set global state from it as needed.
41988         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
41989         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
41990         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
41991         Likewise.
41992         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
41993         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
41994         Likewise.
41995         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
41996         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
41997         Use __sim_round_mode_thread.
41998         * math/test-fenv-tls.c: New file.
41999         * math/Makefile (tests): Add test-fenv-tls.
42000         ($(objpfx)test-fenv-tls): Depend on
42001         $(common-objpfx)nptl/libpthread.so.
42003 2013-11-19  Andreas Schwab  <schwab@suse.de>
42005         * locale/programs/locale.c (show_info): Decode wordarray elements.
42006         * locale/categories.def (LC_MONETARY): Add element for
42007         _NL_MONETARY_CRNCYSTR.
42008         * locale/C-monetary.c (conversion_rate): New variable.
42009         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
42010         element.
42012 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
42014         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
42015         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
42017 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
42019         * elf/Makefile (tst-auxv): New test.
42020         * elf/tst-auxv.c: New
42021         * elf/rtld.c (dl_main): Adjust AT_EXECFN
42023 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
42025         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
42026         (hidden_proto): Caller changed.
42027         (hidden_tls_proto): New macro.
42028         (libc_hidden_tls_proto): Likewise.
42029         (rtld_hidden_tls_proto): Likewise.
42030         (libm_hidden_tls_proto): Likewise.
42031         (libresolv_hidden_tls_proto): Likewise.
42032         (librt_hidden_tls_proto): Likewise.
42033         (libdl_hidden_tls_proto): Likewise.
42034         (libnss_files_hidden_tls_proto): Likewise.
42035         (libnsl_hidden_tls_proto): Likewise.
42036         (libnss_nisplus_hidden_tls_proto): Likewise.
42037         (libutil_hidden_tls_proto): Likewise.
42039 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
42041         [BZ #10253]
42042         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
42043         (decompose_rpath): Defer expansion to fillin_rpath.
42044         (_dl_init_paths): Pass linkmap to fillin_rpath.
42046 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
42048         * benchtests/Makefile: Add strsep.
42049         * benchtests/bench-strsep.c: New file: strsep benchtest.
42050         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
42052 2013-11-18  Andreas Schwab  <schwab@suse.de>
42054         * locale/programs/locale.c (show_info) [case byte]: Check for
42055         '\377' instead of '\177'.
42056         * locale/C-monetary.c (not_available): Always use "\377".
42057         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
42058         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
42059         detect unavailable sign_posn locale elements.
42060         * locale/localeconv.c (__localeconv): For grouping and
42061         mon_grouping handle "\177" and "\377" like no grouping.
42062         (INT_ELEM): New macro.  Use it to set all numeric members.
42063         * locale/programs/ld-monetary.c (monetary_read)
42064         <tok_mon_grouping>: Normalize single -1 to the empty string.
42065         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
42066         Likewise.
42068 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
42070         [BZ #16055]
42071         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
42072         when we match (nil).
42073         * stdio-common/tst-sscanf.c (struct test): Add testcase.
42075 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
42077         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
42078         (NO_TEST_INLINE): Update value.
42079         (ERRNO_UNCHANGED): Likewise.
42080         (ERRNO_EDOM): Likewise.
42081         (ERRNO_ERANGE): Likewise.
42082         (IGNORE_RESULT): Likewise.
42083         (check_float_internal): Check signs of NaN results if
42084         TEST_NAN_SIGN used.
42085         (check_complex): Pass TEST_NAN_SIGN flag through to second
42086         check_float_internal call.
42087         (copysign_test_data): Add tests with quiet NaNs as second
42088         argument.  Use TEST_NAN_SIGN.
42089         (fabs_test_data): Add test of negative quiet NaN argument.  Use
42090         TEST_NAN_SIGN.
42091         (signbit_test_data): Add tests of quiet NaN argument.
42092         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
42094         * math/gen-libm-test.pl (show_exceptions): Take extra argument
42095         $ignore_result.
42096         (parse_args): Handle function results specified as IGNORE.
42097         * math/libm-test.inc (IGNORE_RESULT): New macro.
42098         (check_float_internal): Do not check numerical result if flag
42099         IGNORE_RESULT set.
42100         (check_complex): Pass through IGNORE_RESULT to second
42101         check_float_internal call.
42102         (check_int): Do not check numerical result if flag IGNORE_RESULT
42103         set.
42104         (check_long): Likewise.
42105         (check_bool): Likewise.
42106         (check_longlong): Likewise.
42107         (lrint_test_data): Add tests of infinite and NaN arguments.
42108         (lrint_tonearest_test_data): Likewise.
42109         (lrint_towardzero_test_data): Likewise.
42110         (lrint_downward_test_data): Likewise.
42111         (lrint_upward_test_data): Likewise.
42112         (llrint_test_data): Likewise.
42113         (llrint_tonearest_test_data): Likewise.
42114         (llrint_towardzero_test_data): Likewise.
42115         (llrint_downward_test_data): Likewise.
42116         (llrint_upward_test_data): Likewise.
42117         (lround_test_data): Likewise.
42118         (llround_test_data): Likewise.
42120         * math/libm-test.inc (NO_TEST_INLINE): New macro.
42121         (ERRNO_UNCHANGED): Update value.
42122         (ERRNO_EDOM): Likewise.
42123         (ERRNO_ERANGE): Likewise.
42124         (NO_TEST_INLINE_FLOAT): New macro.
42125         (NO_TEST_INLINE_DOUBLE): Likewise.
42126         (enable_test): New function.
42127         (RUN_TEST_f_f): Check enable_test before running test.
42128         (RUN_TEST_2_f): Likewise.
42129         (RUN_TEST_fff_f): Likewise.
42130         (RUN_TEST_c_f): Likewise.
42131         (RUN_TEST_f_f1): Likewise.
42132         (RUN_TEST_fF_f1): Likewise.
42133         (RUN_TEST_fI_f1): Likewise.
42134         (RUN_TEST_ffI_f1): Likewise.
42135         (RUN_TEST_c_c): Likewise.
42136         (RUN_TEST_cc_c): Likewise.
42137         (RUN_TEST_f_i): Likewise.
42138         (RUN_TEST_f_i_tg): Likewise.
42139         (RUN_TEST_ff_i_tg): Likewise.
42140         (RUN_TEST_f_b): Likewise.
42141         (RUN_TEST_f_b_tg): Likewise.
42142         (RUN_TEST_f_l): Likewise.
42143         (RUN_TEST_f_L): Likewise.
42144         (RUN_TEST_fFF_11): Likewise.
42145         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
42146         conditionals.
42147         (cosh_test_data): Likewise.
42148         (exp_test_data): Likewise.
42149         (expm1_test_data): Likewise.
42150         (hypot_test_data): Likewise.
42151         (pow_test_data): Likewise.
42152         (sinh_test_data): Likewise.
42153         (tanh_test_data): Likewise.
42154         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
42155         flags argument.
42157         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
42158         tests with quiet NaN input and output.
42159         (acosh_test_data): Likewise.
42160         (asin_test_data): Likewise.
42161         (asinh_test_data): Likewise.
42162         (atan_test_data): Likewise.
42163         (atanh_test_data): Likewise.
42164         (atan2_test_data): Likewise.
42165         (cbrt_test_data): Likewise.
42166         (cos_test_data): Likewise.
42167         (cosh_test_data): Likewise.
42168         (erf_test_data): Likewise.
42169         (erfc_test_data): Likewise.
42170         (exp_test_data): Likewise.
42171         (exp10_test_data): Likewise.
42172         (exp2_test_data): Likewise.
42173         (expm1_test_data): Likewise.
42174         (hypot_test_data): Likewise.
42175         (j0_test_data): Likewise.
42176         (j1_test_data): Likewise.
42177         (jn_test_data): Likewise.
42178         (lgamma_test_data): Likewise.
42179         (log_test_data): Likewise.
42180         (log10_test_data): Likewise.
42181         (log1p_test_data): Likewise.
42182         (log2_test_data): Likewise.
42183         (pow_test_data): Likewise.
42184         (scalb_test_data): Likewise.
42185         (sin_test_data): Likewise.
42186         (sincos_test_data): Likewise.
42187         (sinh_test_data): Likewise.
42188         (tan_test_data): Likewise.
42189         (tanh_test_data): Likewise.
42190         (tgamma_test_data): Likewise.
42191         (y0_test_data): Likewise.
42192         (y1_test_data): Likewise.
42193         (yn_test_data): Likewise.
42195         [BZ #16167]
42196         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
42197         argument being NaN and avoid computations with second argument in
42198         that case.
42199         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
42200         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
42201         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
42203 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
42205         * locale/iso-639.def: Add Chitwani Tharu (the).
42207 2013-11-14  Andreas Schwab  <schwab@suse.de>
42209         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
42210         word instead of empty string.
42212 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42214         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
42215         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
42216         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
42217         (__fe_nomask_env): Likewise.
42219 2013-11-13  Steve Ellcey  <sellcey@mips.com>
42221         * benchtests/bench-timing.h: Include time.h.
42223 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
42225         [BZ #15997]
42226         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
42227         to 3.4.0 for x32.
42228         * sysdeps/unix/sysv/linux/configure: Regenerated.
42230 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
42232         [BZ #16151]
42233         * stdlib/strtod_l.c (round_and_return): Do not consider
42234         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
42235         exponent one less than half the least subnormal exponent.
42236         * stdlib/test-strtod-round-data: Add more tests.
42237         * stdlib/tst-strtod-round.c (tests): Regenerated.
42239 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42241         [BZ #14143]
42242         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
42243         (__fe_mask_env): Likewise.
42244         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
42245         libm_hidden_proto and add function prototype.
42246         (__fe_mask_env): Add function prototype.
42247         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
42248         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
42249         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
42250         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
42251         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
42252         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
42254 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
42256         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
42257         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
42259 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
42261         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
42262         of htab_find_slot().
42264 2013-11-11  David S. Miller  <davem@davemloft.net>
42266         [BZ #16150]
42267         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
42268         symbol in the non-vis3 case in static builds.
42269         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
42270         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
42271         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
42272         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
42274 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
42276         [BZ #387]
42277         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
42278         it is empty.
42280 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42282         * benchtests/Makefile: Add bench-strtod.
42283         * benchtests/bench-strtod.c: New file: strtod benchtest
42285 2013-11-11  Andreas Schwab  <schwab@suse.de>
42287         [BZ #16153]
42288         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
42289         terminating NUL in key length.
42291 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42293         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
42294         Add artificial ODP entry for vDSO symbol for PPC64.
42295         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
42296         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
42298 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
42300         [BZ #15374]
42301         * nss/getent.c (services_keys): Recognize services starting with digit.
42303 2013-11-06  David S. Miller  <davem@davemloft.net>
42305         [BZ #15985]
42306         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
42307         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
42309 2013-11-06  Will Newton  <will.newton@linaro.org>
42311         * manual/memory.texi (Malloc Examples): Remove register
42312         keyword from examples.
42314 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
42316         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
42318 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
42320         [BZ #6981]
42321         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
42322         depending on [__GCC_IEC_559 > 0].
42323         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
42324         depending on [__GCC_IEC_559_COMPLEX > 0].
42326 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
42328         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
42329         to iso-639.def.
42331 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
42333         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
42335 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
42337         [BZ #16112]
42338         * malloc/malloc (malloc_info): Do not handle first bin as
42339         special case.
42341 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
42343         * locale/iso-639.def: Add Central Nahuatl (nhn).
42345 2013-11-01  Bruno Haible  <bruno@clisp.org>
42347         [BZ #7003]
42348         * manual/math.texi (BSD Random): Specify range upper bound as
42349         in POSIX.
42351 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
42353         * locale/iso-639.def: Add Meadow Mari (mhr).
42355 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
42357         [BZ #14752], [BZ #15763]
42358         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
42359         Validate name.
42360         * rt/tst_shm.c: Add test for escaping directory.
42362 2013-10-31  Andreas Schwab  <schwab@suse.de>
42364         [BZ #15917]
42365         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
42366         followed by 'x' as part of digit sequence.
42367         * stdio-common/tst-sscanf.c (double_tests2): New tests.
42369 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
42371         [BZ #16037]
42372         * configure.ac: allow GNU Make 4.0 and greater.
42373         * configure: Regenerated.
42375 2013-10-30  Will Newton  <will.newton@linaro.org>
42377         [BZ #16038]
42378         * malloc/hooks.c (memalign_check): Limit alignment to the
42379         maximum representable power of two.
42380         * malloc/malloc.c (__libc_memalign): Likewise.
42381         * malloc/tst-memalign.c (do_test): Add test for very
42382         large alignment values.
42383         * malloc/tst-posix_memalign.c (do_test): Likewise.
42385 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
42387         [BZ #11087]
42388         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
42389         (munmap_chunk): Likewise.
42390         (mremap_chunk): Likewise.
42392 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
42394         [BZ #15799]
42395         * stdlib/div.c (div): Remove obsolete code.
42396         * stdlib/ldiv.c (ldiv): Likewise.
42397         * stdlib/lldiv.c (lldiv): Likewise.
42399 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
42401         [BZ #16071]
42402         * nss/nss_files/files-XXX.c (get_contents_ret): New
42403         enumerator.
42404         (get_contents): New function.
42405         (internal_getent): Use it.  Expand size of LINEBUFLEN.
42407 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
42409         * configure.in: Moved to ...
42410         * configure.ac: ... here. Change reference to configure.in
42411         to configure.ac.
42412         * sysdeps/arm/preconfigure.ac: ... here.
42413         configure.in to configure.ac.
42414         * sysdeps/gnu/configure.in: Moved to ...
42415         * sysdeps/gnu/configure.ac: ... here.
42416         * sysdeps/i386/configure.in: Moved to ...
42417         * sysdeps/i386/configure.ac: ... here.
42418         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
42419         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
42420         * sysdeps/mach/configure.in: Moved to ...
42421         * sysdeps/mach/configure.ac: ... here.
42422         * sysdeps/mach/hurd/configure.in: Moved to ...
42423         * sysdeps/mach/hurd/configure.ac: ... here.
42424         * sysdeps/powerpc/configure.in: Moved to ...
42425         * sysdeps/powerpc/configure.ac: ... here.
42426         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
42427         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
42428         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
42429         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
42430         * sysdeps/s390/s390-32/configure.in: Moved to ...
42431         * sysdeps/s390/s390-32/configure.ac: ... here.
42432         * sysdeps/s390/s390-64/configure.in: Moved to ...
42433         * sysdeps/s390/s390-64/configure.ac: ... here.
42434         * sysdeps/sh/configure.in: Moved to ...
42435         * sysdeps/sh/configure.ac: ... here.
42436         * sysdeps/sparc/configure.in: Moved to ...
42437         * sysdeps/sparc/configure.ac: ... here.
42438         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
42439         * sysdeps/unix/sysv/linux/configure.ac: ... here.
42440         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
42441         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
42442         * sysdeps/x86_64/configure.in: Moved to ...
42443         * sysdeps/x86_64/configure.ac: ... here.
42444         * sysdeps/x86_64/preconfigure.in: Moved to ...
42445         * sysdeps/x86_64/preconfigure.ac: ... here.
42446         * aclocal.m4: Change reference to configure.in to configure.ac.
42447         * config.h.in: Likewise.
42448         * manual/install.texi: Likewise.
42449         * manual/maint.texi: Likewise.
42450         * Makefile: Likewise.
42451         * malloc/Makefile: Likewise.
42452         * nscd/Makefile: Likewise.
42453         * Makeconfig: Change reference to configure.in and
42454         preconfigure.in to configure.ac and preconfigure.ac
42455         respectively.
42456         * INSTALL: Regenerated.
42457         * configure: Likewise.
42458         * sysdeps/gnu/configure: Likewise.
42459         * sysdeps/i386/configure: Likewise.
42460         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
42461         * sysdeps/mach/configure: Likewise.
42462         * sysdeps/mach/hurd/configure: Likewise.
42463         * sysdeps/powerpc/configure: Likewise.
42464         * sysdeps/powerpc/powerpc32/configure: Likewise.
42465         * sysdeps/powerpc/powerpc64/configure: Likewise.
42466         * sysdeps/s390/s390-32/configure: Likewise.
42467         * sysdeps/s390/s390-64/configure: Likewise.
42468         * sysdeps/sh/configure: Likewise.
42469         * sysdeps/sparc/configure: Likewise.
42470         * sysdeps/unix/sysv/linux/configure: Likewise.
42471         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
42472         * sysdeps/x86_64/configure: Likewise.
42473         * sysdeps/x86_64/preconfigure: Likewise.
42475 2013-10-29  Andreas Schwab  <schwab@suse.de>
42477         * stdio-common/Makefile (tst-swscanf-ENV): Define.
42479 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
42481         * benchtests/pow-inputs: Add new inputs.
42483         * benchtests/exp-inputs: Add new inputs.
42485         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
42486         conditional check for return value.
42487         (__cos32): Likewise.
42489 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42491         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
42492         to provide a boost for large inputs with word alignment.
42493         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
42494         implementation based on optimized PPC64 strcpy.
42495         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
42496         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
42497         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
42498         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
42500 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
42502         [BZ #2801]
42503         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
42505 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
42507         [BZ #14876]
42508         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
42509         * time/tst-strptime.c (day_tests): Add testcase.
42511 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
42513         [BZ #14029]
42514         * manual/pattern.texi: Acknowledge that fnmatch can fail.
42516 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
42518         [BZ #16074]
42519         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
42520         MAP_FAILED on error.
42522 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
42524         [BZ #16072]
42525         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
42526         heap for large requests.
42528 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
42530         [BZ #9954]
42531         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
42532         result if the result has no associated interface.
42533         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
42534         interface for all 127.X.Y.Z addresses.
42536 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
42538         * locale/iso-639.def: Add Ligurian (lij)
42540 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
42542         [BZ #15825]
42543         * sunrpc/rpc_main.c: Document rpcgen -5.
42545 2013-10-19  Michael Stahl  <mstahl@redhat.com>
42547         * elf/rtld.c (do_preload): Print the reason why preloading failed.
42549 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
42551         [BZ #10278]
42552         * posix/glob.c: Match only directories when trailing slash is present.
42553         * posix/tst-gnuglob.c (my_opendir): Do not open files.
42554         (main): Add testcase.
42556 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
42558         [BZ #15670]
42559         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
42561 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
42563         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
42564         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
42565         AUTH_DES and cindex for FIPS 140-2.
42566         (DES Encryption): Add cindex FIPS 46-3.
42568         * locale/locarchive.h (struct locarhandle): Add fname.
42569         * locale/programs/localedef.c (main): Pass ARGV[remaining]
42570         if an optional argument was specified to --list-archive,
42571         otherwise NULL.
42572         * locale/programs/locarchive.c (show_archive_content): Take new
42573         argument fname and pass it via ah.fname to open_archive.
42574         * locale/programs/localedef.h: Update decl.
42575         (open_archive): If AH->fname is non-null, open that file
42576         rather than the default file name, and don't ignore ENOENT.
42577         (create_archive): Set AH.fname to NULL.
42578         (delete_locales_from_archive): Likewise.
42579         (add_locales_to_archive): Likewise.
42580         * locale/programs/locfile.c (write_all_categories): Likewise.
42582 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
42583             Aldy Hernandez  <aldyh@redhat.com>
42585         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
42586         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
42587         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
42588         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
42589         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
42590         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
42591         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
42592         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
42593         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
42594         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
42595         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
42596         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
42597         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
42598         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
42599         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
42600         Likewise.
42601         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
42602         Likewise.
42603         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
42604         Likewise.
42605         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
42606         Likewise.
42607         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
42608         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
42609         Likewise.
42610         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
42611         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
42612         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
42613         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
42614         Likewise.
42615         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
42616         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
42617         * sysdeps/powerpc/preconfigure: Likewise.
42618         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
42619         Likewise.
42620         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
42621         Replace contents of file by #include of <fenv_libc.h>.
42622         * sysdeps/powerpc/soft-fp/sfp-machine.h
42623         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
42624         and <sys/prctl.h>.
42625         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
42626         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
42627         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
42628         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
42629         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
42630         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
42631         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
42632         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
42633         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
42634         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
42635         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
42636         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
42637         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
42638         Allow copysignl PLT reference to be missing.
42640 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
42641             Joseph Myers  <joseph@codesourcery.com
42643         [BZ #15948]
42644         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
42645         single character.
42646         (add_to_tablewc): Assert sequence of wide characters is nonempty.
42648 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
42650         * elf/tst-tls-dlinfo.c: Don't include tls.h.
42651         * elf/tst-tls1.c: Likewise.
42652         * elf/tst-tls10.h: Likewise.
42653         * elf/tst-tls14.c: Likewise.
42654         * elf/tst-tls2.c: Likewise.
42655         * elf/tst-tls3.c: Likewise.
42656         * elf/tst-tls4.c: Likewise.
42657         * elf/tst-tls5.c: Likewise.
42658         * elf/tst-tls6.c: Likewise.
42659         * elf/tst-tls7.c: Likewise.
42660         * elf/tst-tls8.c: Likewise.
42661         * elf/tst-tls9.c: Likewise.
42662         * elf/tst-tlsmod1.c: Likewise.
42663         * elf/tst-tlsmod13.c: Likewise.
42664         * elf/tst-tlsmod13a.c: Likewise.
42665         * elf/tst-tlsmod14a.c: Likewise.
42666         * elf/tst-tlsmod16a.c: Likewise.
42667         * elf/tst-tlsmod16b.c: Likewise.
42668         * elf/tst-tlsmod2.c: Likewise.
42669         * elf/tst-tlsmod3.c: Likewise.
42670         * elf/tst-tlsmod4.c: Likewise.
42671         * elf/tst-tlsmod5.c: Likewise.
42672         * elf/tst-tlsmod6.c: Likewise.
42674 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
42676         [BZ #12486]
42677         * malloc/malloc.c: remove checks for statistics.
42679 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
42681         [BZ #15277]
42682         * inet/inet_net.c (inet_network): Detect additional invalid strings.
42683         * inet/tst-network.c: Add testcase.
42685 2013-10-17  Andreas Schwab  <schwab@suse.de>
42687         [BZ #15218]
42688         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
42689         to determine canonical name.
42691 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
42693         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
42694         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
42695         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
42696         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
42697         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
42698         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
42699         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
42700         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
42701         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
42702         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
42703         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
42704         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
42705         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
42706         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
42707         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
42708         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
42709         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
42710         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
42711         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
42712         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
42713         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
42714         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
42715         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
42716         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
42717         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
42718         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
42719         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
42720         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
42721         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
42722         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
42723         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
42724         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
42725         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
42726         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
42727         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
42728         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
42729         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
42730         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
42731         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
42732         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
42733         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
42734         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
42735         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
42736         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
42737         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
42738         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
42739         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
42740         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
42741         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
42742         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
42743         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
42744         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
42745         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
42746         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
42747         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
42748         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
42749         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
42750         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
42752 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
42754         [BZ #16041]
42755         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
42756         make result into a quiet NaN.
42758 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
42760         * soft-fp/adddf3.c: Fix horizontal whitespace.
42761         * soft-fp/addsf3.c: Likewise.
42762         * soft-fp/addtf3.c: Likewise.
42763         * soft-fp/divdf3.c: Likewise.
42764         * soft-fp/divsf3.c: Likewise.
42765         * soft-fp/divtf3.c: Likewise.
42766         * soft-fp/double.h: Likewise.
42767         * soft-fp/eqdf2.c: Likewise.
42768         * soft-fp/eqsf2.c: Likewise.
42769         * soft-fp/eqtf2.c: Likewise.
42770         * soft-fp/extenddftf2.c: Likewise.
42771         * soft-fp/extended.h: Likewise.
42772         * soft-fp/extendsfdf2.c: Likewise.
42773         * soft-fp/extendsftf2.c: Likewise.
42774         * soft-fp/extendxftf2.c: Likewise.
42775         * soft-fp/fixdfdi.c: Likewise.
42776         * soft-fp/fixdfsi.c: Likewise.
42777         * soft-fp/fixdfti.c: Likewise.
42778         * soft-fp/fixsfdi.c: Likewise.
42779         * soft-fp/fixsfsi.c: Likewise.
42780         * soft-fp/fixsfti.c: Likewise.
42781         * soft-fp/fixtfdi.c: Likewise.
42782         * soft-fp/fixtfsi.c: Likewise.
42783         * soft-fp/fixtfti.c: Likewise.
42784         * soft-fp/fixunsdfdi.c: Likewise.
42785         * soft-fp/fixunsdfsi.c: Likewise.
42786         * soft-fp/fixunsdfti.c: Likewise.
42787         * soft-fp/fixunssfdi.c: Likewise.
42788         * soft-fp/fixunssfsi.c: Likewise.
42789         * soft-fp/fixunssfti.c: Likewise.
42790         * soft-fp/fixunstfdi.c: Likewise.
42791         * soft-fp/fixunstfsi.c: Likewise.
42792         * soft-fp/fixunstfti.c: Likewise.
42793         * soft-fp/floatdidf.c: Likewise.
42794         * soft-fp/floatdisf.c: Likewise.
42795         * soft-fp/floatditf.c: Likewise.
42796         * soft-fp/floatsidf.c: Likewise.
42797         * soft-fp/floatsisf.c: Likewise.
42798         * soft-fp/floatsitf.c: Likewise.
42799         * soft-fp/floattidf.c: Likewise.
42800         * soft-fp/floattisf.c: Likewise.
42801         * soft-fp/floattitf.c: Likewise.
42802         * soft-fp/floatundidf.c: Likewise.
42803         * soft-fp/floatundisf.c: Likewise.
42804         * soft-fp/floatunditf.c: Likewise.
42805         * soft-fp/floatunsidf.c: Likewise.
42806         * soft-fp/floatunsisf.c: Likewise.
42807         * soft-fp/floatunsitf.c: Likewise.
42808         * soft-fp/floatuntidf.c: Likewise.
42809         * soft-fp/floatuntisf.c: Likewise.
42810         * soft-fp/floatuntitf.c: Likewise.
42811         * soft-fp/fmadf4.c: Likewise.
42812         * soft-fp/fmasf4.c: Likewise.
42813         * soft-fp/fmatf4.c: Likewise.
42814         * soft-fp/gedf2.c: Likewise.
42815         * soft-fp/gesf2.c: Likewise.
42816         * soft-fp/getf2.c: Likewise.
42817         * soft-fp/ledf2.c: Likewise.
42818         * soft-fp/lesf2.c: Likewise.
42819         * soft-fp/letf2.c: Likewise.
42820         * soft-fp/muldf3.c: Likewise.
42821         * soft-fp/mulsf3.c: Likewise.
42822         * soft-fp/multf3.c: Likewise.
42823         * soft-fp/negdf2.c: Likewise.
42824         * soft-fp/negsf2.c: Likewise.
42825         * soft-fp/negtf2.c: Likewise.
42826         * soft-fp/op-1.h: Likewise.
42827         * soft-fp/op-2.h: Likewise.
42828         * soft-fp/op-4.h: Likewise.
42829         * soft-fp/op-8.h: Likewise.
42830         * soft-fp/op-common.h: Likewise.
42831         * soft-fp/quad.h: Likewise.
42832         * soft-fp/single.h: Likewise.
42833         * soft-fp/soft-fp.h: Likewise.
42834         * soft-fp/sqrtdf2.c: Likewise.
42835         * soft-fp/sqrtsf2.c: Likewise.
42836         * soft-fp/sqrttf2.c: Likewise.
42837         * soft-fp/subdf3.c: Likewise.
42838         * soft-fp/subsf3.c: Likewise.
42839         * soft-fp/subtf3.c: Likewise.
42840         * soft-fp/truncdfsf2.c: Likewise.
42841         * soft-fp/trunctfdf2.c: Likewise.
42842         * soft-fp/trunctfsf2.c: Likewise.
42843         * soft-fp/trunctfxf2.c: Likewise.
42844         * soft-fp/unorddf2.c: Likewise.
42845         * soft-fp/unordsf2.c: Likewise.
42846         * soft-fp/unordtf2.c: Likewise.
42848 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
42850         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
42851         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
42853 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
42855         * elf/dl-libc.c: Clear initfini list after freeing.
42857 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
42859         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
42860         * soft-fp/addsf3.c: Likewise.
42861         * soft-fp/addtf3.c: Likewise.
42862         * soft-fp/divdf3.c: Likewise.
42863         * soft-fp/divsf3.c: Likewise.
42864         * soft-fp/divtf3.c: Likewise.
42865         * soft-fp/double.h: Likewise.
42866         * soft-fp/eqdf2.c: Likewise.
42867         * soft-fp/eqsf2.c: Likewise.
42868         * soft-fp/eqtf2.c: Likewise.
42869         * soft-fp/extenddftf2.c: Likewise.
42870         * soft-fp/extended.h: Likewise.
42871         * soft-fp/extendsfdf2.c: Likewise.
42872         * soft-fp/extendsftf2.c: Likewise.
42873         * soft-fp/extendxftf2.c: Likewise.
42874         * soft-fp/fixdfdi.c: Likewise.
42875         * soft-fp/fixdfsi.c: Likewise.
42876         * soft-fp/fixdfti.c: Likewise.
42877         * soft-fp/fixsfdi.c: Likewise.
42878         * soft-fp/fixsfsi.c: Likewise.
42879         * soft-fp/fixsfti.c: Likewise.
42880         * soft-fp/fixtfdi.c: Likewise.
42881         * soft-fp/fixtfsi.c: Likewise.
42882         * soft-fp/fixtfti.c: Likewise.
42883         * soft-fp/fixunsdfdi.c: Likewise.
42884         * soft-fp/fixunsdfsi.c: Likewise.
42885         * soft-fp/fixunsdfti.c: Likewise.
42886         * soft-fp/fixunssfdi.c: Likewise.
42887         * soft-fp/fixunssfsi.c: Likewise.
42888         * soft-fp/fixunssfti.c: Likewise.
42889         * soft-fp/fixunstfdi.c: Likewise.
42890         * soft-fp/fixunstfsi.c: Likewise.
42891         * soft-fp/fixunstfti.c: Likewise.
42892         * soft-fp/floatdidf.c: Likewise.
42893         * soft-fp/floatdisf.c: Likewise.
42894         * soft-fp/floatditf.c: Likewise.
42895         * soft-fp/floatsidf.c: Likewise.
42896         * soft-fp/floatsisf.c: Likewise.
42897         * soft-fp/floatsitf.c: Likewise.
42898         * soft-fp/floattidf.c: Likewise.
42899         * soft-fp/floattisf.c: Likewise.
42900         * soft-fp/floattitf.c: Likewise.
42901         * soft-fp/floatundidf.c: Likewise.
42902         * soft-fp/floatundisf.c: Likewise.
42903         * soft-fp/floatunsidf.c: Likewise.
42904         * soft-fp/floatunsisf.c: Likewise.
42905         * soft-fp/floatuntidf.c: Likewise.
42906         * soft-fp/floatuntisf.c: Likewise.
42907         * soft-fp/floatuntitf.c: Likewise.
42908         * soft-fp/fmadf4.c: Likewise.
42909         * soft-fp/fmasf4.c: Likewise.
42910         * soft-fp/fmatf4.c: Likewise.
42911         * soft-fp/gedf2.c: Likewise.
42912         * soft-fp/gesf2.c: Likewise.
42913         * soft-fp/getf2.c: Likewise.
42914         * soft-fp/ledf2.c: Likewise.
42915         * soft-fp/lesf2.c: Likewise.
42916         * soft-fp/letf2.c: Likewise.
42917         * soft-fp/muldf3.c: Likewise.
42918         * soft-fp/mulsf3.c: Likewise.
42919         * soft-fp/multf3.c: Likewise.
42920         * soft-fp/negdf2.c: Likewise.
42921         * soft-fp/negsf2.c: Likewise.
42922         * soft-fp/negtf2.c: Likewise.
42923         * soft-fp/op-1.h: Likewise.
42924         * soft-fp/op-2.h: Likewise.
42925         * soft-fp/op-4.h: Likewise.
42926         * soft-fp/op-8.h: Likewise.
42927         * soft-fp/op-common.h: Likewise.
42928         * soft-fp/quad.h: Likewise.
42929         * soft-fp/single.h: Likewise.
42930         * soft-fp/soft-fp.h: Likewise.
42931         * soft-fp/sqrtdf2.c: Likewise.
42932         * soft-fp/sqrtsf2.c: Likewise.
42933         * soft-fp/sqrttf2.c: Likewise.
42934         * soft-fp/subdf3.c: Likewise.
42935         * soft-fp/subsf3.c: Likewise.
42936         * soft-fp/subtf3.c: Likewise.
42937         * soft-fp/truncdfsf2.c: Likewise.
42938         * soft-fp/trunctfdf2.c: Likewise.
42939         * soft-fp/trunctfsf2.c: Likewise.
42940         * soft-fp/trunctfxf2.c: Likewise.
42941         * soft-fp/unorddf2.c: Likewise.
42942         * soft-fp/unordsf2.c: Likewise.
42943         * soft-fp/unordtf2.c: Likewise.
42945 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
42947         [BZ #15672]
42948         * misc/error.c (error_tail): Fix possible buffer overflow.
42950 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
42952         [BZ #13028]
42953         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
42954         address.
42956 2013-10-14  P. J. McDermott  <pj@pehjota.net>
42958         [BZ #832]
42959         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
42960         testing pipefail option.
42962 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
42964         * soft-fp/double.h: Indent preprocessor directives inside #if.
42965         * soft-fp/extended.h: Likewise.
42966         * soft-fp/op-2.h: Likewise.
42967         * soft-fp/op-4.h: Likewise.
42968         * soft-fp/op-common.h: Likewise.
42969         * soft-fp/quad.h: Likewise.
42970         * soft-fp/single.h: Likewise.
42971         * soft-fp/soft-fp.h: Likewise.
42973 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
42975         * iconv/iconv_prog.c: Fix typos.
42976         * stdio-common/psiginfo-data.h: Likewise.
42978 2013-10-12   Reuben Thomas <rrt@sc3d.org>
42980         [BZ #15764]
42981         * locale/setlocale.c: Fix typo.
42983 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
42985         [BZ #16036]
42986         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
42987         signaling NaN arguments.
42988         * soft-fp/unordsf2.c (__unordsf2): Likewise.
42989         * soft-fp/unordtf2.c (__unordtf2): Likewise.
42991         [BZ #14910]
42992         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
42993         unordered operands.
42994         * soft-fp/gesf2.c (__gesf2): Likewise.
42995         * soft-fp/getf2.c (__getf2): Likewise.
42996         * soft-fp/ledf2.c (__ledf2): Likewise.
42997         * soft-fp/lesf2.c (__lesf2): Likewise.
42998         * soft-fp/letf2.c (__letf2): Likewise.
43000         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
43001         * soft-fp/eqsf2.c (__eqsf2): Likewise.
43002         * soft-fp/eqtf2.c (__eqtf2): Likewise.
43003         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
43004         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
43005         * soft-fp/fixdfti.c (__fixdfti): Likewise.
43006         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
43007         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
43008         * soft-fp/fixsfti.c (__fixsfti): Likewise.
43009         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
43010         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
43011         * soft-fp/fixtfti.c (__fixtfti): Likewise.
43012         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
43013         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
43014         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
43015         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
43016         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
43017         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
43018         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
43019         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
43020         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
43021         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
43022         * soft-fp/floatdisf.c (__floatdisf): Likewise.
43023         * soft-fp/floatsisf.c (__floatsisf): Likewise.
43024         * soft-fp/floattidf.c (__floattidf): Likewise.
43025         * soft-fp/floattisf.c (__floattisf): Likewise.
43026         * soft-fp/floattitf.c (__floattitf): Likewise.
43027         * soft-fp/floatundidf.c (__floatundidf): Likewise.
43028         * soft-fp/floatundisf.c (__floatundisf): Likewise.
43029         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
43030         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
43031         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
43032         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
43033         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
43034         * soft-fp/gesf2.c (__gesf2): Likewise.
43035         * soft-fp/getf2.c (__getf2): Likewise.
43036         * soft-fp/ledf2.c (__ledf2): Likewise.
43037         * soft-fp/lesf2.c (__lesf2): Likewise.
43038         * soft-fp/letf2.c (__letf2): Likewise.
43040         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
43041         Undefine and redefine.
43042         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
43043         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
43044         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
43045         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
43046         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
43047         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
43048         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
43049         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
43050         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
43051         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
43052         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
43053         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
43054         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
43055         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
43056         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
43058         [BZ #16032]
43059         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
43060         without decrementing exponent if mantissa >= that for the
43061         denominator, not >.
43062         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
43063         denominator, not >.  Decrement exponent in < case instead of
43064         incrementing in >= case.
43065         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
43066         without decrementing exponent if mantissa >= that for the
43067         denominator, not >.
43069         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
43070         computing saturated result for unsigned overflow.
43072 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
43073             Jeff Law  <law@redhat.com>
43075         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
43076         (atan2Mp): Add systemtap probe marker.
43077         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
43078         (__ieee754_log): Add systemtap probe marker.
43079         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
43080         (atanMp): Add systemtap probe marker.
43081         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
43082         (tanMp): Add systemtap probe marker.
43083         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
43084         (__slowexp): Add systemtap probe marker.
43085         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
43086         (__slowpow): Add systemtap probe marker.
43087         * manual/probes.texi: Document probes.
43089 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
43091         [BZ #15362]
43092         * libio/fileops.c (_IO_new_file_write): Return count of bytes
43093         written.
43094         (_IO_new_file_xsputn): Don't return EOF if nothing has been
43095         written.
43096         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
43097         written to buffer but not flushed.
43098         * libio/iofwrite_u.c:  Likewise.
43099         * libio/iopadn.c:  Return bytes returned even if EOF was
43100         encountered.
43101         * libio/iowpadn.c:  Likewise.
43102         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
43103         if _IO_padn does not write the whole buffer.
43104         [!COMPILE_WPRINTF] (PAD): Likewise.
43106 2013-10-10  David S. Miller  <davem@davemloft.net>
43108         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
43109         directory block.
43111 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
43113         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
43114         instead of FSF address.
43115         * soft-fp/fixdfti.c: Likewise.
43116         * soft-fp/fixsfti.c: Likewise.
43117         * soft-fp/fixtfti.c: Likewise.
43118         * soft-fp/fixunsdfti.c: Likewise.
43119         * soft-fp/fixunssfti.c: Likewise.
43120         * soft-fp/fixunstfti.c: Likewise.
43121         * soft-fp/floattidf.c: Likewise.
43122         * soft-fp/floattisf.c: Likewise.
43123         * soft-fp/floattitf.c: Likewise.
43124         * soft-fp/floatuntidf.c: Likewise.
43125         * soft-fp/floatuntisf.c: Likewise.
43126         * soft-fp/floatuntitf.c: Likewise.
43127         * soft-fp/trunctfxf2.c: Likewise.
43129         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
43130         * soft-fp/fixdfti.c: Likewise.
43131         * soft-fp/fixsfti.c: Likewise.
43132         * soft-fp/fixtfti.c: Likewise.
43133         * soft-fp/fixunsdfti.c: Likewise.
43134         * soft-fp/fixunssfti.c: Likewise.
43135         * soft-fp/fixunstfti.c: Likewise.
43136         * soft-fp/floattidf.c: Likewise.
43137         * soft-fp/floattisf.c: Likewise.
43138         * soft-fp/floattitf.c: Likewise.
43139         * soft-fp/floatuntidf.c: Likewise.
43140         * soft-fp/floatuntisf.c: Likewise.
43141         * soft-fp/floatuntitf.c: Likewise.
43142         * soft-fp/trunctfxf2.c: Likewise.
43144 2013-10-10  David S. Miller  <davem@davemloft.net>
43146         * sysdeps/sparc/fpu/libm-test-ulps: Update.
43148 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
43150         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
43151         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
43152         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
43153         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
43154         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
43155         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
43156         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
43158         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
43159         for NaNs before doing comparisons on argument.
43160         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
43161         Likewise.
43163 2013-10-10  Will Newton  <will.newton@linaro.org>
43165         * malloc/hooks.c (memalign_check): Ensure the value of bytes
43166         passed to _int_memalign does not overflow.
43168 2013-10-10  Torvald Riegel  <triegel@redhat.com>
43170         * scripts/bench.pl: Add include-sources directive.
43171         * benchtests/README: Update documentation.
43173 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
43175         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
43176         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
43177         instead of FP_INIT_ROUNDMODE.
43178         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
43179         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
43181         [BZ #16034]
43182         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
43183         copy class of input value.
43184         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
43185         not handle exceptions.
43186         * soft-fp/negsf2.c (__negsf2): Likewise.
43187         * soft-fp/negtf2.c (__negtf2): Likewise.
43188         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
43190 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
43192         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
43193         semicolon.  From Linux kernel.
43195 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
43197         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
43199 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
43201         [BZ #156]
43202         * manual/socket.texi: Added statement about buffer
43203         for gethostbyname2_r.
43205 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
43207         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
43208         Use .p2align directive instead, throughout.
43209         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
43210         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
43211         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
43212         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
43213         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
43214         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
43215         * sysdeps/x86_64/strchr.S: Likewise.
43216         * sysdeps/x86_64/strrchr.S: Likewise.
43218 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
43220         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
43222         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
43224         * sysdeps/generic/math_private.h (__mpsin1): Remove
43225         declaration.
43226         (__mpcos1): Likewise.
43227         (__mpsin): New argument __range_reduce.
43228         (__mpcos): Likewise.
43229         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
43230         (slow): Use __mpsin and __mpcos.
43231         (slow1): Likewise.
43232         (slow2): Likewise.
43233         (sloww): Likewise.
43234         (sloww1): Likewise.
43235         (sloww2): Likewise.
43236         (bsloww): Likewise.
43237         (bsloww1): Likewise.
43238         (bsloww2): Likewise.
43239         (cslow2): Likewise.
43240         (csloww): Likewise.
43241         (csloww1): Likewise.
43242         (csloww2): Likewise.
43243         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
43244         range_reduce.  Merge in __mpsin1.
43245         (__mpcos): Likewise.
43246         (__mpsin1): Remove.
43247         (__mpcos1): Likewise.
43249 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
43251         * locale/loadlocale.c (_nl_intern_locale_data): Use
43252         LOCFILE_ALIGNED_P.
43253         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
43254         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
43255         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
43256         obstack data is appropriately aligned.
43257         (obstack_int32_grow_fast): Likewise.
43258         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
43259         * locale/programs/locfile.c (add_locale_uint32): Likewise.
43260         (add_locale_uint32_array): Likewise.
43262 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
43264         * benchtests/Makefile: Remove ARGLIST and RET variables.
43265         ($(objpfx)bench-%.c): Pass only function name to the script.
43266         * benchtests/README: Update documentation.
43267         * benchtests/acos-inputs: Add new directives.
43268         * benchtests/acosh-inputs: Likewise.
43269         * benchtests/asin-inputs: Likewise.
43270         * benchtests/asinh-inputs: Likewise.
43271         * benchtests/atan-inputs: Likewise.
43272         * benchtests/atanh-inputs: Likewise.
43273         * benchtests/cos-inputs: Likewise.
43274         * benchtests/cosh-inputs: Likewise.
43275         * benchtests/exp-inputs: Likewise.
43276         * benchtests/log-inputs: Likewise.
43277         * benchtests/pow-inputs: Likewise.
43278         * benchtests/rint-inputs: Likewise.
43279         * benchtests/sin-inputs: Likewise.
43280         * benchtests/sinh-inputs: Likewise.
43281         * benchtests/tan-inputs: Likewise.
43282         * benchtests/tanh-inputs: Likewise.
43283         * scripts/bench.pl: Add support for new directives.
43285 2013-10-07  Alan Modra  <amodra@gmail.com>
43287         * README: Fix careless merge.
43289 2013-10-05  Alan Modra  <amodra@gmail.com>
43291         * NEWS: Mention powerpc64le support and bugs fixed.
43292         * README: Both big-endian and little-endian powerpc64 supported.
43294 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
43296         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
43297         (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
43298         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
43299         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
43301 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
43303         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
43304         match prototype.
43306 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
43308         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
43309         Move -mhard-float appending from
43310         ports/sysdeps/powerpc/powerpc32/Makefile.
43311         [$(with-fp) = yes] (ASFLAGS): Likewise.
43312         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
43313         * sysdeps/powerpc/nofpu: Move directory from
43314         ports/sysdeps/powerpc/nofpu.
43315         * sysdeps/powerpc/soft-fp: Move directory from
43316         ports/sysdeps/powerpc/soft-fp.
43317         * sysdeps/powerpc/powerpc32/405: Move directory from
43318         ports/sysdeps/powerpc/powerpc32/405.
43319         * sysdeps/powerpc/powerpc32/440: Move directory from
43320         ports/sysdeps/powerpc/powerpc32/440.
43321         * sysdeps/powerpc/powerpc32/464: Move directory from
43322         ports/sysdeps/powerpc/powerpc32/464.
43323         * sysdeps/powerpc/powerpc32/476: Move directory from
43324         ports/sysdeps/powerpc/powerpc32/476.
43325         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
43326         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
43327         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
43328         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
43329         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
43330         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
43331         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
43332         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
43333         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
43334         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
43335         * README: Update for powerpc-*-linux-gnu software floating point
43336         support in libc.
43338         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
43339         case to powerpc/powerpc32*.
43340         * sysdeps/unix/sysv/linux/configure: Regenerated.
43342         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
43343         (_FPU_MASK_OM): Define as 0x04.
43344         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
43345         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
43346         0x00c10080.
43347         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
43348         0x0000003c.
43349         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
43351         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
43352         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
43353         getcontext_e500.
43354         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
43355         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
43356         setcontext_e500.
43357         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
43358         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
43359         and setcontext_e500.
43361 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
43363         * locale/iso-3166.def: Update iso-1366.def and related occurrences
43365 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
43367         * manual/threads.texi (Default Thread Attributes): Fix typo.
43369 2013-10-04  Will Newton  <will.newton@linaro.org>
43371         * malloc/Makefile: Add tst-memalign.
43372         * malloc/tst-memalign.c: New file.
43374         * malloc/tst-posix_memalign.c: Add comments.
43375         (do_test): Add comments and call free on all potentially
43376         allocated pointers. Add space after cast.
43378         * malloc/tst-pvalloc.c: Add comments.
43379         (do_test): Add comments and call free on all potentially
43380         allocated pointers. Remove duplicate check for NULL pointer.
43381         Add space after cast.
43383         * malloc/tst-valloc.c: Add comments.
43384         (do_test): Add comments and call free on all potentially
43385         allocated pointers. Remove duplicate check for NULL pointer.
43386         Add space after cast.
43388 2013-10-04  Alan Modra  <amodra@gmail.com>
43390         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
43391         Use stdint types in rather than __attribute__((mode())).
43392         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
43394 2013-10-04  Alan Modra  <amodra@gmail.com>
43396         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
43397         Correct handling of unaligned relocs for little-endian.
43398         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
43400 2013-10-04  Alan Modra  <amodra@gmail.com>
43402         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
43403         * configure: Regenerate.
43404         * nptl/shlib-versions: Powerpc*le starts at 2.18.
43405         * shlib-versions: Likewise.
43407 2013-10-04  Alan Modra  <amodra@gmail.com>
43409         * string/tester.c (test_memrchr): Increment reported test cycle.
43411 2013-10-04  Alan Modra  <amodra@gmail.com>
43413         * string/test-memcpy.c (do_one_test): When reporting errors, print
43414         string address and don't overrun end of string.
43416 2013-10-04  Alan Modra  <amodra@gmail.com>
43418         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
43419         insrdi.  Make better use of reg selection to speed exit slightly.
43420         Schedule entry path a little better.  Remove useless "are we done"
43421         checks on entry to main loop.  Handle wrapping around zero address.
43422         Correct main loop count.  Handle single left-over word from main
43423         loop inline rather than by using loop_small.  Remove extra word
43424         case in loop_small caused by wrong loop count.  Add little-endian
43425         support.
43426         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
43427         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
43428         cache hint.
43429         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
43430         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
43431         support.  Avoid rlwimi.
43432         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
43434 2013-10-04  Alan Modra  <amodra@gmail.com>
43436         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
43437         insrdi.  Formatting.
43438         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
43439         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
43440         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
43441         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
43442         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
43443         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
43445 2013-10-04  Alan Modra  <amodra@gmail.com>
43447         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
43448         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
43449         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
43450         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
43451         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
43452         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
43453         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
43454         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
43455         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
43456         use of regs.  Use power7 mtocrf.  Tidy function tails.
43458 2013-10-04  Alan Modra  <amodra@gmail.com>
43460         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
43461         Formatting.  Consistently use rXXX register defines or rN defines.
43462         Use early exit labels that avoid restoring unused non-volatile regs.
43463         Make cr field use more consistent with rWORDn compares.  Rename
43464         regs used as shift registers for unaligned loop, using rN defines
43465         for short lifetime/multiple use regs.
43466         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
43467         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
43468         addi 1,1,64 to pop stack frame.  Simplify return value code.
43469         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
43471 2013-10-04  Alan Modra  <amodra@gmail.com>
43473         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
43474         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
43475         rather than rlwimi.
43476         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
43477         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
43478         little-endian support.  Correct typos.
43479         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
43480         rather than rlwimi.
43481         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
43482         in loop and entry code to keep "and." results.
43483         (strchr): Add little-endian support.  Comment.  Move cntlzd
43484         earlier in tail.
43485         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
43487 2013-10-04  Alan Modra  <amodra@gmail.com>
43489         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
43490         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
43491         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
43492         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
43494 2013-10-04  Alan Modra  <amodra@gmail.com>
43496         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
43497         (rTMP): Define as r11.
43498         (strcmp): Add little-endian support.  Optimise tail.
43499         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
43500         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
43501         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
43502         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
43503         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
43504         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
43505         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
43507 2013-10-04  Alan Modra  <amodra@gmail.com>
43509         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
43510         little-endian support.  Remove unnecessary "are we done" tests.
43511         Handle "s" wrapping around zero and extremely large "size".
43512         Correct main loop count.  Handle single left-over word from main
43513         loop inline rather than by using small_loop.  Correct comments.
43514         Delete "zero" tail, use "end_max" instead.
43515         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
43517 2013-10-04  Alan Modra  <amodra@gmail.com>
43519         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
43520         support.  Don't branch over align.
43521         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
43522         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
43523         support.  Rearrange tmp reg use to suit.  Comment.
43524         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
43526 2013-10-04  Alan Modra  <amodra@gmail.com>
43528         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
43530 2013-10-04  Alan Modra  <amodra@gmail.com>
43532         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
43533         conditional form of branch and link when obtaining pc.
43534         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
43536 2013-10-04  Alan Modra  <amodra@gmail.com>
43538         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
43539         HIWORD/LOWORD.
43540         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
43541         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
43543 2013-10-04  Alan Modra  <amodra@gmail.com>
43545         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
43546         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
43547         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
43548         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
43549         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
43550         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
43551         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
43552         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
43553         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
43554         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
43556 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
43557             Alistair Popple <alistair@ozlabs.au.ibm.com>
43558             Alan Modra <amodra@gmail.com>
43560         [BZ #15723]
43561         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
43562         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
43563         _dl_hwcap access for little-endian.
43564         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
43565         destroy vmx regs when saving unaligned.
43566         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
43567         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
43568         destroy vmx regs when saving unaligned.
43570 2013-10-04  Alan Modra  <amodra@gmail.com>
43572         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
43573         Don't use a union to pack hi/low value.
43575 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
43577         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
43578         for little-endian.
43579         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
43580         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
43581         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
43582         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
43583         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
43585 2013-10-04  Alan Modra  <amodra@gmail.com>
43587         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
43588         constants to usual value for .cst8 section, and remove redundant
43589         high address load.
43590         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
43591         constant for 0x1p52.  Load little-endian words of double from
43592         correct stack offsets.
43594 2013-10-04  Alan Modra  <amodra@gmail.com>
43596         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
43597         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
43598         words of double from correct stack offsets.
43599         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
43600         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
43601         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
43602         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
43603         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
43604         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
43605         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
43606         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
43607         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
43608         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
43609         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
43610         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
43611         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
43612         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
43613         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
43614         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
43615         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
43617 2013-10-04  Alan Modra  <amodra@gmail.com>
43619         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
43620         64-bit int/double union.
43621         (_FPU_SETCW): Likewise.
43622         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
43623         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
43625 2013-10-04  Alan Modra  <amodra@gmail.com>
43627         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
43628         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
43630 2013-10-04  Alan Modra  <amodra@gmail.com>
43632         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
43633         use vector int constants.
43634         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
43636 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
43638         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
43639         array with long long.
43640         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
43641         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
43642         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
43643         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
43644         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
43645         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
43646         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
43647         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
43648         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
43649         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
43650         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
43651         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
43652         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
43654 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
43656         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
43657         (__signbit): Likewise.  Correct for little-endian.
43658         (__signbitl): Call __signbit.
43659         (lrint): Correct for little-endian.
43660         (lrintf): Call lrint.
43662 2013-10-04  Alan Modra  <amodra@gmail.com>
43664         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
43665         union 32-bit int array member with 64-bit int array.
43666         (t515, tm256): Double rather than long double.
43667         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
43669 2013-10-04  Alan Modra  <amodra@gmail.com>
43671         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
43672         Delete.
43673         (IEEE854_LONG_DOUBLE_BIAS): Delete.
43674         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
43675         version of math_ldbl.h.
43677 2013-10-04  Alan Modra  <amodra@gmail.com>
43679         [BZ #15734], [BZ #15735]
43680         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
43681         all uses of ieee875 long double macros and unions.  Simplify test
43682         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
43683         ldbl_extract_mantissa value for ix,iy exponents.  Properly
43684         normalize after ldbl_extract_mantissa, and don't add hidden bit
43685         already handled.  Don't treat low word of ieee854 mantissa like
43686         low word of IBM long double and mask off bit when testing for
43687         zero.
43688         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
43689         all uses of ieee875 long double macros and unions.  Simplify tests
43690         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
43691         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
43692         two1022, instead use their values.  Recognise that tests for large
43693         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
43694         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
43695         Rewrite all uses of ieee875 long double macros and unions.  Simplify
43696         test for 0.0L and nan.  Correct negation.
43697         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
43698         ieee875 long double macros and unions.  Correct output for large
43699         magnitude x.  Correct absolute value calculation.
43700         (__erfcl): Likewise.
43701         * math/libm-test.inc: Add tests for errors discovered in IBM long
43702         double versions of fmodl, remainderl, erfl and erfcl.
43704 2013-10-04  Alan Modra  <amodra@gmail.com>
43706         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
43707         all uses of ieee854 long double macros and unions.  Simplify tests
43708         for long doubles that are fully specified by the high double.
43709         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
43710         Likewise.
43711         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
43712         Remove dead code too.
43713         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
43714         (__ieee754_ynl): Likewise.
43715         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
43716         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
43717         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
43718         Remove dead code too.
43719         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
43720         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
43721         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
43722         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
43723         Simplify.
43724         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
43725         Simplify.
43726         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
43727         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
43728         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
43729         Comment on variable precision.
43730         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
43731         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
43732         Likewise.
43733         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
43734         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
43735         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
43736         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
43737         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
43739 2013-10-04  Alan Modra  <amodra@gmail.com>
43741         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
43742         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
43743         all uses of ieee854 long double macros and unions.
43744         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
43745         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
43746         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
43747         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
43748         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
43749         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
43750         Likewise.
43751         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
43752         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
43753         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
43754         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
43755         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
43756         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
43757         Simplify sign and nan test too.
43758         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
43759         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
43760         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
43761         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
43762         Likewise.
43763         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
43764         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
43765         Likewise.
43766         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
43767         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
43768         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
43769         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
43770         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
43771         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
43773 2013-10-04  Alan Modra  <amodra@gmail.com>
43775         * stdio-common/printf_size.c (__printf_size): Don't use
43776         union ieee854_long_double in fpnum union.
43777         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
43778         signbit macro to retrieve sign from long double.
43779         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
43780         retrieve sign from long double.
43781         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
43782         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
43783         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
43784         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
43785         * math/test-misc.c (main): Don't use union ieee854_long_double.
43787 2013-10-04  Alan Modra  <amodra@gmail.com>
43789         [BZ #15680]
43790         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
43791         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
43792         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
43793         calculation.  Remove unnecessary test for denormal exponent.
43794         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
43795         Correct handling of denormals.  Avoid undefined shift behaviour.
43796         Correct normalisation of low mantissa when low double is denormal.
43797         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
43798         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
43799         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
43800         Correct normalisation of low mantissa.  Test for overflow of high
43801         mantissa and normalise.
43802         (ldbl_nearbyint): Use more readable constant for two52.
43803         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
43804         (__mpn_construct_long_double): Fix test for overflow of high
43805         mantissa and correct normalisation.  Avoid undefined shift.
43807 2013-10-04  Alan Modra  <amodra@gmail.com>
43809         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
43810         (union ibm_extended_long_double): Define as an array of ieee754_double.
43811         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
43812         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
43813         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
43814         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
43815         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
43816         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
43817         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
43818         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
43819         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
43820         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
43821         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
43823 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
43825         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
43826         page size instead of calling getpagesize.
43828         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
43829         (LOCFILE_ALIGN_MASK): Likewise.
43830         (LOCFILE_ALIGN_UP): Likewise.
43831         (LOCFILE_ALIGNED_P): Likewise.
43832         * locale/programs/ld-collate.c (collate_output): Use the new
43833         macros instead of __alignof__ (int32_t).
43834         * locale/weight.h (findidx): Likewise.
43836 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
43838         [BZ #431]
43839         * manual/string.texi: Fix strncat and wcsncat.
43841 2013-10-03  Brooks Moses  <bmoses@google.com>
43843         [BZ #15915]
43844         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
43845         * Makerules: ...here, and adjust associated comments.
43847 2013-10-02  Will Newton  <will.newton@linaro.org>
43849         * malloc/Makefile: Add tst-pvalloc.
43850         * malloc/tst-pvalloc.c: New file.
43852 2013-10-02  Will Newton  <will.newton@linaro.org>
43854         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
43855         improve test coverage.
43857 2013-10-02  Will Newton  <will.newton@linaro.org>
43859         * malloc/Makefile: Add tst-posix_memalign.
43860         * malloc/tst-posix_memalign.c: New file.
43862 2013-10-01  Eric Blake  <eblake@redhat.com>
43864         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
43865         Use __THROWNL rather than __THROW on static functions.
43867 2013-09-30  Petr Machata  <pmachata@redhat.com>
43869         * elf/elf.h (R_AARCH64_ABS16): New macro.
43870         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
43871         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
43872         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
43873         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
43874         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
43875         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
43876         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
43877         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
43878         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
43879         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
43880         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
43881         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
43882         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
43883         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
43884         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
43885         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
43886         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
43887         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
43888         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
43889         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
43890         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
43891         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
43892         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
43893         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
43894         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
43895         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
43896         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
43897         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
43898         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
43899         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
43900         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
43901         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
43902         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
43903         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
43904         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
43905         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
43906         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
43907         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
43908         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
43909         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
43910         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
43911         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
43912         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
43913         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
43914         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
43915         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
43916         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
43917         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
43918         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
43919         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
43920         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
43921         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
43922         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
43923         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
43924         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
43925         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
43926         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
43927         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
43928         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
43929         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
43930         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
43931         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
43932         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
43933         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
43934         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
43935         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
43936         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
43937         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
43938         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
43939         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
43940         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
43941         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
43942         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
43943         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
43944         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
43945         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
43946         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
43947         (R_AARCH64_TLSDESC_LDR): Likewise.
43948         (R_AARCH64_TLSDESC_ADD): Likewise.
43949         (R_AARCH64_TLSDESC_CALL): Likewise.
43951 2013-09-30  Andreas Schwab  <schwab@suse.de>
43953         [BZ #15048]
43954         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
43955         the nss database lookup.
43956         * nscd/initgrcache.c (addinitgroupsX): Likewise.
43957         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
43959 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
43961         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
43963 2013-09-28  P. J. McDermott  <pj@pehjota.net>
43965         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
43966         ${Bash-specific parameter/pattern/string} parameter expansion.
43967         * sysdeps/unix/make-syscalls.sh: Likewise.
43969 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
43971         * sysdeps/sh/stackguard-macros.h: New file.
43973 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
43975         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
43976         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
43977         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
43978         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
43979         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
43980         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
43982 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43984         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
43985         Fix thread ID register.
43987 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
43989         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
43990         [POSIX || UNIX98]: Require rather than permitting all symbols from
43991         <time.h>.
43992         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
43993         element of struct sched_param.
43994         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
43995         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
43996         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
43997         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
43998         constant.
44000 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
44002         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
44003         argument calculation.
44005 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
44007         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
44008         Expect macro.
44009         [POSIX] (pthread_attr_t): Do not require type.
44010         [POSIX] (pthread_cond_t): Likewise.
44011         [POSIX] (pthread_condattr_t): Likewise.
44012         [POSIX] (pthread_key_t): Likewise.
44013         [POSIX] (pthread_mutex_t): Likewise.
44014         [POSIX] (pthread_mutexattr_t): Likewise.
44015         [POSIX] (pthread_once_t): Likewise.
44016         [POSIX] (pthread_t): Likewise.
44017         [POSIX-based standards] (pthread_atfork): Expect function.
44019 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
44020             Richard Sandiford  <richard@codesourcery.com>
44022         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
44023         (swap_endianness_p): New extern variable.
44024         (set_big_endian): New inline function.
44025         (maybe_swap_uint32): Likewise.
44026         (maybe_swap_uint32_array): Likewise.
44027         (maybe_swap_uint32_obstack): Likewise.
44028         * locale/programs/locfile.c: Include <stdbool.h>.
44029         (swap_endianness_p): New variable.
44030         (add_locale_uint32): Call maybe_swap_uint32.
44031         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
44032         (write_locale_data): Call maybe_swap_uint32_array.
44033         * locale/programs/ld-collate.c (obstack_int32_grow): Call
44034         maybe_swap_uint32.
44035         (obstack_int32_grow_fast): Likewise.
44036         (output_weightwc): Call maybe_swap_uint32_obstack.
44037         (collate_output): Likewise.
44038         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
44039         (OPT_LITTLE_ENDIAN): Likewise.
44040         (options): Add --little-endian and --big-endian options.
44041         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
44042         * locale/programs/locarchive.c: Include "locfile.h".
44043         (GET): New macro.
44044         (SET): Likewise.
44045         (INC): Likewise.
44046         (create_archive): Use the new macros to access fields of
44047         structures directly mapped from or written to locale archives.
44048         (oldlocrecentcmp): Likewise.
44049         (enlarge_archive): Likewise.
44050         (insert_name): Likewise.
44051         (add_alias): Likewise.
44052         (add_locale): Likewise.
44053         (delete_locales_from_archive): Likewise.
44054         (show_archive_content): Likewise.
44055         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
44056         locale data.
44058 2013-09-24  Roland McGrath  <roland@hack.frob.com>
44060         * manual/freemanuals.texi: Updated from (newly) canonical copy at
44061         http://www.gnu.org/doc/freemanuals.texi.
44062         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
44064 2013-09-24  Will Newton  <will.newton@linaro.org>
44066         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
44067         macro.
44069 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
44071         * locale/hashval.h (compute_hashval): Interpret bytes of key as
44072         unsigned char.
44074 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
44076         * manual/threads.texi (POSIX Threads): Fix a typo.
44078 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
44080         [BZ #14547]
44081         * string/tst-strcoll-overflow.c: New test case.
44082         * string/Makefile (xtests): Add tst-strcoll-overflow.
44083         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
44084         cache if string sizes may cause integer overflow.
44086         [BZ #14547]
44087         * string/strcoll_l.c (coll_seq): New members rule, idx,
44088         save_idx and back_us.
44089         (get_next_seq_nocache): New function.
44090         (do_compare_nocache): New function.
44091         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
44092         when malloc fails.
44094 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
44096         [BZ #15754]
44097         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
44098         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
44099         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
44101         [BZ #15754]
44102         * elf/Makefile (tests): Add tst-ptrguard1.
44103         (tests-static): Add tst-ptrguard1-static.
44104         (tst-ptrguard1-ARGS): Define.
44105         (tst-ptrguard1-static-ARGS): Define.
44106         * elf/tst-ptrguard1.c: New file.
44107         * elf/tst-ptrguard1-static.c: New file.
44108         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
44109         * sysdeps/i386/stackguard-macros.h: Likewise.
44110         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
44111         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
44112         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
44113         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
44114         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
44115         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
44117 2013-09-23  Hector Marco  <hecmargi@upv.es>
44118             Ismael Ripoll  <iripoll@disca.upv.es>
44119             Carlos O'Donell  <carlos@redhat.com>
44121         [BZ #15754]
44122         * sysdeps/generic/stackguard-macros.h: Define
44123         __pointer_chk_guard_local and POINTER_CHK_GUARD.
44124         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
44125         Define __pointer_chk_guard_local.
44126         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
44127         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
44129 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
44131         [BZ #15859]
44132         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
44134 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
44136         * include/string.h (__ffs): Declare as hidden.
44137         * string/ffs.c (__ffs): Define as hidden.
44138         * sysdeps/i386/ffs.c (__ffs): Likewise.
44139         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
44140         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
44141         * sysdeps/s390/ffs.c (__ffs): Likewise.
44142         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
44144 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
44146         * NEWS: Mention malloc probes.
44148         * malloc/arena.c (new_heap): New memory_heap_new probe.
44149         (grow_heap): New memory_heap_more probe.
44150         (shrink_heap): New memory_heap_less probe.
44151         (heap_trim): New memory_heap_free probe.
44152         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
44153         (systrim): New memory_sbrk_less probe.
44154         * manual/probes.texi: Document them.
44156         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
44157         * manual/probes.texi: Document it.
44159         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
44160         (__libc_realloc): Add memory_realloc_retry probe.
44161         (__libc_memalign): Add memory_memalign_retry probe.
44162         (__libc_valloc): Add memory_valloc_retry probe.
44163         (__libc_pvalloc): Add memory_pvalloc_retry probe.
44164         (__libc_calloc): Add memory_calloc_retry probe.
44165         * manual/probes.texi: Document them.
44167         * malloc/arena.c (get_free_list): Add probe
44168         memory_arena_reuse_free_list.
44169         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
44170         and memory_arena_reuse.
44171         (arena_get2) [!PER_THREAD]: Likewise.
44172         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
44173         memory_arena_reuse_realloc.
44174         * manual/probes.texi: Document them.
44176         * malloc/malloc.c (__libc_free): Add
44177         memory_mallopt_free_dyn_thresholds probe.
44178         (__libc_mallopt): Add multiple memory_mallopt probes.
44179         * manual/probes.texi: Document them.
44181         * malloc/malloc.c: Include stap-probe.h.
44182         (__libc_mallopt): Add memory_mallopt probe.
44183         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
44184         * manual/probes.texi: New.
44185         * manual/Makefile (chapters): Add probes.
44186         * manual/threads.texi: Set next node.
44188 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
44190         [BZ #15963, #13985]
44191         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
44192         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
44193         Add `Chinese' to `nan' entry name.
44195 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
44197         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
44198         (POLYNOMIAL): Likewise.
44199         (TAYLOR_SINCOS): Likewise.
44200         (TAYLOR_SLOW): Likewise.
44201         (__sin): Use TAYLOR_SINCOS.
44202         (__cos): Likewise.
44203         (slow): Use TAYLOR_SLOW.
44204         (sloww): Likewise.
44205         (bsloww): Likewise.
44206         (csloww): Likewise.
44208 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
44210         * stdlib/strtod_l.c: Fix buffer overrun.
44212 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
44214         * benchtests/Makefile (bench): Add sincos.
44215         * benchtests/bench-sincos.c: New file.
44217         * math/libm-test.inc (cos_test_data): New test inputs.
44218         (sin_test_data): Likewise.
44220         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
44221         macro.
44222         (__sin): Use it.
44223         (__cos): Likewise.
44224         (slow1): Likewise.
44225         (slow2): Likewise.
44226         (sloww1): Likewise.
44227         (sloww2): Likewise.
44228         (bsloww1): Likewise.
44229         (bsloww2): Likewise.
44230         (cslow2): Likewise.
44231         (csloww1): Likewise.
44232         (csloww2): Likewise.
44234         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
44235         function.
44236         (__sin): Use it.
44237         (__cos): Likewise.
44239         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
44240         gotos.
44241         (__cos): Likewise.
44243 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
44245         * config.h.in (HAVE_MIPS_NAN2008): New macro.
44246         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
44247         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
44248         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
44249         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
44250         * elf/cache.c (print_entry): Handle the new cache flags.
44252 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
44253             Aldy Hernandez  <aldyh@redhat.com>
44255         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
44256         Change condition to [_SOFT_FLOAT].
44257         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
44258         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
44259         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
44260         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
44261         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
44262         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
44263         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
44264         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
44265         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
44266         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
44267         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
44268         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
44269         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
44270         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
44271         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
44272         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
44273         declaration.
44275 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
44277         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
44278         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
44279         (__longjmp): Use LOAD_GP to load saved GPRs.
44280         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
44281         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
44282         (__sigsetjmp): Use SAVE_GP to save GPRs.
44284         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
44285         Do not append -msoft-float.
44286         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
44288 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
44290         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
44292 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
44294         [BZ #15966]
44295         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
44296         (_FPU_GETCW): Use initial "__" on variable and field names but not
44297         on macro parameter name.
44298         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
44299         parentheses around reference to macro parameter.
44301 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
44303         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
44304         prototype.
44305         (ctype_startup): Use uint32_t in cast and sizeof for
44306         ctype->charnames.
44308 2013-09-11  Jia Liu  <proljc@gmail.com>
44310         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
44311         __daddr_t_defined.
44312         [__FreeBSD__]: Likewise.
44314 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
44316         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
44317         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
44318         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
44319         (strchr): Remove __strchr_sse42 ifunc selection.
44320         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
44321         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
44323 2013-09-11  Will Newton  <will.newton@linaro.org>
44325         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
44326         parameter to RES. Remove hardcoded 1000 value.
44327         * benchtests/bench-skeleton.c (main): Pass RES parameter
44328         to TIMING_INIT and multiply result by 1000.
44330 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44332         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44334 2013-09-11  Andreas Schwab  <schwab@suse.de>
44336         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
44337         if not defined.
44338         (O_TMPFILE) [__USE_GNU]: Define.
44339         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
44340         Define.
44342 2013-09-11  Will Newton  <will.newton@linaro.org>
44344         [BZ #15857]
44345         * malloc/malloc.c (__libc_memalign): Check the value of bytes
44346         does not overflow.
44348 2013-09-11  Will Newton  <will.newton@linaro.org>
44350         [BZ #15856]
44351         * malloc/malloc.c (__libc_valloc): Check the value of bytes
44352         does not overflow.
44354 2013-09-11  Will Newton  <will.newton@linaro.org>
44356         [BZ #15855]
44357         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
44358         does not overflow.
44360 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
44362         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
44363         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
44364         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
44365         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
44366         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
44368 2013-09-10  Allan McRae  <allan@archlinux.org>
44370         [BZ #15748]
44371         * manual/arith.texi (Parsing of Floats): Clarify
44372         cross-reference.
44374         [BZ #15849]
44375         * manual/install.texi (Running make install): Mention
44376         --enable-pt-chown.
44377         * INSTALL: Regenerated.
44379 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
44381         * csu/init-first.c (_init): Remove the !SHARED condition around
44382         FPU control word initialization.
44383         * elf/dl-support.c (_dl_fpu_control): New variable.
44384         (_dl_aux_init) <AT_FPUCW>: Initialize it.
44385         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
44386         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
44387         * math/test-fpucw-static.c: New file.
44388         * math/test-fpucw-ieee.c: New file.
44389         * math/test-fpucw-ieee-static.c: New file.
44390         * math/Makefile (tests): Add `test-fpucw-ieee' and
44391         `$(tests-static)'.
44392         (tests-static): New variable.
44393         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
44394         dependency to...
44395         [($(build-shared),yes)]
44396         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
44397         ... this.
44398         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
44399         New dependency.
44401 2013-09-09  Allan McRae  <allan@archlinux.org>
44403         [BZ #15939]
44404         * manual/string.texi (Collation Functions): Fix typo in
44405         strcoll example.
44406         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
44408         [BZ #15893]
44409         * stdlib/isomac.c (get_null_defines): Fix memory leak.
44411         [BZ #15892]
44412         * libio/memstream.c (open_memstream): Fix memory leak.
44413         * libio/wmemstream.c (open_wmemstream): Likewise.
44415         [BZ #15895]
44416         * nscd/netgroupcache.c: Fix nesting of ifdefs.
44418 2013-09-09  Will Newton  <will.newton@linaro.org>
44420         * malloc/Makefile: Add tst-realloc to tests.
44421         * malloc/tst-realloc.c: New file.
44423 2013-09-09  Allan McRae  <allan@archlinux.org>
44425         [BZ #15844]
44426         * COPYING: Update from GNU website to fix FSF address.
44427         * COPYING.LIB: Likewise.
44429 2013-09-06  David S. Miller  <davem@davemloft.net>
44431         * po/zh_TW.po: Update Chinese (traditional) translation from
44432         translation project.
44434 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
44435             Joseph Myers  <joseph@codesourcery.com>
44437         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
44438         "localeinfo.h".
44439         (obstack_chunk_alloc): New macro.
44440         (obstack_chunk_free): Likewise.
44441         (record_offset): New function.
44442         (init_locale_data): Likewise.
44443         (align_locale_data): Likewise.
44444         (add_locale_empty): Likewise.
44445         (add_locale_raw_data): Likewise.
44446         (add_locale_raw_obstack): Likewise.
44447         (add_locale_string): Likewise.
44448         (add_locale_wstring): Likewise.
44449         (add_locale_uint32): Likewise.
44450         (add_locale_uint32_array): Likewise.
44451         (add_locale_char): Likewise.
44452         (start_locale_structure): Likewise.
44453         (end_locale_structure): Likewise.
44454         (start_locale_prelude): Likewise.
44455         (end_locale_prelude): Likewise.
44456         (write_locale_data): Take locale_file structure rather than an
44457         iovec.
44458         * locale/programs/locfile.h: Include "obstack.h".
44459         (struct locale_file): Change to store locale file contents instead
44460         of header.
44461         (init_locale_data): New prototype.
44462         (align_locale_data): Likewise.
44463         (add_locale_empty): Likewise.
44464         (add_locale_raw_data): Likewise.
44465         (add_locale_raw_obstack): Likewise.
44466         (add_locale_string): Likewise.
44467         (add_locale_wstring): Likewise.
44468         (add_locale_uint32): Likewise.
44469         (add_locale_uint32_array): Likewise.
44470         (add_locale_char): Likewise.
44471         (start_locale_structure): Likewise.
44472         (end_locale_structure): Likewise.
44473         (start_locale_prelude): Likewise.
44474         (end_locale_prelude): Likewise.
44475         (write_locale_data): Update prototype.
44476         * locale/programs/3level.h (struct TABLE): Remove result field.
44477         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
44478         Use new locale_file interface.
44479         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
44480         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
44481         * locale/programs/ld-address.c (address_output): Use new
44482         locale_file interface.
44483         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
44484         NO_ADD_LOCALE.
44485         (collate_finish): Don't call collseq_table_finalize.
44486         (collate_output): Use new locale_file interface.
44487         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
44488         in file.
44489         (NO_FINALIZE): Change to NO_ADD_LOCALE.
44490         (TABLE): Move defines earlier in file.
44491         (ELEMENT): Likewise.
44492         (DEFAULT): Likewise.
44493         (wctrans_table_add): Move macro and inline function earlier in
44494         file.
44495         (struct wctype_table): Move type earlier in file.
44496         (add_locale_wctype_table): New static prototype.
44497         (struct locale_ctype_t): Use logical types instead of struct iovec
44498         pointers for members.
44499         (ctype_output): Use new locale_file interface.
44500         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
44501         new locale_file interface.
44502         (allocate_arrays): Update for use of new locale_file interface.
44503         * locale/programs/ld-identification.c (identification_output): Use
44504         new locale_file interface.
44505         * locale/programs/ld-measurement.c (measurement_output): Likewise.
44506         * locale/programs/ld-messages.c (messages_output): Likewise.
44507         * locale/programs/ld-monetary.c (monetary_output): Likewise.
44508         * locale/programs/ld-name.c (name_output): Likewise.
44509         * locale/programs/ld-numeric.c (numeric_output): Likewise.
44510         * locale/programs/ld-paper.c (paper_output): Likewise.
44511         * locale/programs/ld-telephone.c (telephone_output): Likewise.
44512         * locale/programs/ld-time.c (time_output): Likewise.
44514 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44516         * benchtests/Makefile: Add memrchr benchmark.
44517         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
44518         benchmark as memrchr.
44519         * benchtests/bench-memrchr-ifunc.c: New file.
44520         * benchtests/bench-memrchr.c: New file.
44522 2013-09-06   Will Newton  <will.newton@linaro.org>
44524         * benchtests/Makefile (string-bench): Add memcpy.
44526 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
44527             Cong Wang  <amwang@redhat.com>
44529         [BZ #15850]
44530         * sysdeps/unix/sysv/linux/bits/in.h
44531         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
44532         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
44533         before __USE_KERNEL_IPV6_DEFS uses.
44534         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
44535         IPPROTO_BEETPH.
44536         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
44537         sockaddr_in6, or ipv6_mreq.
44539 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44541         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
44542         memory access for final bytes in some large inputs.
44543         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
44545 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44547         * string/test-memrchr.c: New file.
44548         * string/test-memrchr-ifunc.c: New file.
44549         * string/Makefile: Add new memrchr testcase.
44551 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
44553         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
44554         fanotify_init returns EPERM.
44556 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
44558         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
44559         errors.
44560         (top level): Treat second token from macro or constant entries for
44561         allowed headers as allowed.
44562         * include/complex.h: Condition internal declarations on
44563         [!_ISOMAC].
44564         * include/fenv.h: Condition include of <stdbool.h> and internal
44565         declarations on [!_ISOMAC].
44567 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
44569         [BZ #15923]
44570         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
44572 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
44574         * configure.in (--enable-versioning): Remove configure option.
44575         (libc_cv_asm_symver_directive): Remove configure test.
44576         (libc_cv_ld_version_script_option): Likewise.
44577         (VERSIONING): Remove variable and AC_SUBST.
44578         (DO_VERSIONING): Remove AC_DEFINE.
44579         * configure: Regenerated.
44580         * config.h.in (DO_VERSIONING): Remove macro.
44581         * Makerules [$(versioning) = yes]: Change conditionals to
44582         [$(build-shared) = yes].
44583         * config.make.in (versioning): Remove variable.
44584         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
44585         [$(build-shared) = yes].
44586         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
44587         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
44588         * elf/Makefile [$(versioning) = yes]: Change conditionals to
44589         [$(build-shared) = yes].
44590         * extra-lib.mk [$(versioning) = yes]: Likewise.
44591         * hurd/Makefile [$(versioning) = yes]: Likewise.
44592         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
44593         [SHARED].
44594         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
44595         [SHARED].
44596         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
44597         [SHARED && !NO_HIDDEN].
44598         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
44599         [SHARED].
44600         [SHARED && DO_VERSIONING]: Likewise..
44601         * libio/Makefile [$(versioning) = yes]: Change conditionals to
44602         [$(build-shared) = yes].
44603         * manual/install.texi (--disable-versioning): Remove
44604         documentation.
44605         * INSTALL: Regenerated.
44606         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
44607         to [SHARED].
44608         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
44609         [$(build-shared) = yes].
44610         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
44611         * sysdeps/i386/i686/multiarch/strstr-c.c
44612         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
44613         [SHARED && !NO_HIDDEN].
44614         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
44615         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
44616         * sysdeps/powerpc/powerpc32/dl-machine.c
44617         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
44618         * sysdeps/powerpc/powerpc32/sysdep.h
44619         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
44620         to [SHARED && PIC && !NO_HIDDEN].
44621         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
44622         conditional to [SHARED].
44624 2013-09-04   Will Newton  <will.newton@linaro.org>
44626         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
44627         * benchtests/bench-string.h: Include bench-timing.h instead
44628         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
44629         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
44630         call to HP_TIMING_DIFF_INIT.
44631         * benchtests/bench-memccpy.c: Use bench-timing.h macros
44632         instead of hp-timing.h macros.
44633         * benchtests/bench-memchr.c: Likewise.
44634         * benchtests/bench-memcmp.c: Likewise.
44635         * benchtests/bench-memcpy.c: Likewise.
44636         * benchtests/bench-memmem.c: Likewise.
44637         * benchtests/bench-memmove.c: Likewise.
44638         * benchtests/bench-memset.c: Likewise.
44639         * benchtests/bench-rawmemchr.c: Likewise.
44640         * benchtests/bench-strcasecmp.c: Likewise.
44641         * benchtests/bench-strcasestr.c: Likewise.
44642         * benchtests/bench-strcat.c: Likewise.
44643         * benchtests/bench-strchr.c: Likewise.
44644         * benchtests/bench-strcmp.c: Likewise.
44645         * benchtests/bench-strcpy.c: Likewise.
44646         * benchtests/bench-strcpy_chk.c: Likewise.
44647         * benchtests/bench-strlen.c: Likewise.
44648         * benchtests/bench-strncasecmp.c: Likewise.
44649         * benchtests/bench-strncat.c: Likewise.
44650         * benchtests/bench-strncmp.c: Likewise.
44651         * benchtests/bench-strncpy.c: Likewise.
44652         * benchtests/bench-strnlen.c: Likewise.
44653         * benchtests/bench-strpbrk.c: Likewise.
44654         * benchtests/bench-strrchr.c: Likewise.
44655         * benchtests/bench-strspn.c: Likewise.
44656         * benchtests/bench-strstr.c: Likewise.
44658 2013-09-04  Will Newton  <will.newton@linaro.org>
44660         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
44662 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
44664         [BZ #15427]
44665         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
44666         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
44667         * math/libm-test.inc (lgamma_test_data): Add more tests.
44668         * sysdeps/i386/fpu/libm-test-ulps: Update.
44669         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44671 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
44673         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
44674         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
44675         Add ifunc.
44676         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
44677         Add strcmp-sse2-unaligned
44678         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
44680 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
44682         * Versions.def (libc): Add GLIBC_2.19.
44684 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
44686         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
44687         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
44689 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
44691         [BZ #14155]
44692         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
44693         intermediate calculations in recurrence.
44694         (__ieee754_ynf): Likewise.
44695         * math/libm-test.inc (jn_test_data): Do not allow spurious
44696         underflow exception.  Add more tests.
44697         (yn_test_data): Add more tests.
44698         * sysdeps/i386/fpu/libm-test-ulps: Update.
44699         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44701 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
44703         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
44705 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
44707         * csu/init-first.c: Fix then/than typos.
44708         * locale/programs/ld-collate.c: Likewise.
44709         * locale/programs/linereader.h: Likewise.
44710         * manual/charset.texi: Likewise.
44711         * manual/filesys.texi: Likewise.
44712         * manual/stdio.texi: Likewise.
44713         * manual/string.texi: Likewise.
44714         * stdlib/fmtmsg.c: Likewise.
44715         * sysdeps/i386/stpncpy.S: Likewise.
44716         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
44717         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
44718         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
44719         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
44721 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
44723         * elf/dl-open.c: Fix typos.
44724         * iconvdata/gbbig5.c: Likewise.
44725         * iconvdata/iso-2022-jp.c: Likewise.
44726         * iconv/gconv_int.h: Likewise.
44727         * iconv/loop.c: Likewise.
44728         * nis/rpcsvc/nis.h: Likewise.
44729         * resolv/ns_name.c: Likewise.
44730         * stdio-common/vfscanf.c: Likewise.
44731         * streams/stropts.h: Likewise.
44732         * sunrpc/rpc_thread.c: Likewise.
44733         * sysdeps/i386/strpbrk.S: Likewise.
44734         * sysdeps/ieee754/k_standard.c: Likewise.
44735         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
44736         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
44737         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
44738         * sysdeps/mach/hurd/profil.c: Likewise.
44739         * sysdeps/s390/dl-procinfo.h: Likewise.
44740         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
44741         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
44742         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
44743         * sysdeps/x86_64/dl-trampoline.S: Likewise.
44744         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
44746 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
44748         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
44749         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
44751 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
44753         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
44754         aix specific files.
44755         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
44756         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
44757         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
44758         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
44759         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
44760         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
44761         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
44762         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
44764 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
44765             Roland McGrath  <roland@hack.frob.com>
44767         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
44768         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
44770 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
44772         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
44773         __executable_start symbol instead of _start.
44775 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
44777         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
44778         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
44779         Move macros to...
44780         * sysdeps/gnu/ldsodefs.h: ... this new file.
44782         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
44783         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
44784         instead of ELFOSABI_LINUX.
44786         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
44787         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
44788         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
44789         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
44790         Likewise.
44791         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
44792         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
44793         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
44794         Likewise.
44795         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
44796         (ibm_extended_long_double): Add ieee_nan member.
44797         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
44798         (do_test): New function.
44800         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
44801         TEST_TRUNC.
44802         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
44803         functions, renamed from truncdfsf_test, trunctfsf_test,
44804         trunctfdf_test.
44805         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
44806         functions.
44807         (do_test): Run all these.
44809 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
44811         * argp/argp-help.c: Fix typos.
44812         * argp/argp-parse.c: Likewise.
44813         * debug/backtracesyms.c: Likewise.
44814         * elf/elf.h: Likewise.
44815         * malloc/malloc.c: Likewise.
44816         * nis/nis_print.c: Likewise.
44817         * resolv/res_comp.c: Likewise.
44818         * stdlib/stdlib.h: Likewise.
44819         * sunrpc/clnt_tcp.c: Likewise.
44820         * sunrpc/clnt_udp.c: Likewise.
44821         * sunrpc/clnt_unix.c: Likewise.
44822         * sysdeps/unix/bsd/ptsname.c: Likewise.
44823         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
44824         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
44825         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
44826         Likewise.
44827         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
44828         Likewise.
44829         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
44830         Likewise.
44831         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
44833 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
44835         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
44836         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
44838 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
44840         [BZ #15897]
44841         * dlfcn/Makefile (tests): Add bug-dl-leaf.
44842         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
44843         ($(objpfx)bug-dl-leaf): New rule.
44844         ($(objpfx)bug-dl-leaf.so): Likewise.
44845         ($(objpfx)bug-dl-leaf.out): Likewise.
44846         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
44847         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
44848         * dlfcn/bug-dl-leaf.c: New test.
44849         * dlfcn/bug-dl-leaf-lib.c: Likewise.
44850         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
44851         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
44852         (dlclose): Likewise.
44853         (dlmopen): Likewise.
44855 2013-08-27  Roland McGrath  <roland@hack.frob.com>
44857         * include/netdb.h [!_ISOMAC]:
44858         Don't include <tls.h>.
44859         (h_errno, __libc_h_errno): Move declaration and macros out of
44860         [_LIBC_REENTRANT].
44862         * include/resolv.h [_RESOLV_H_]:
44863         Don't include <tls.h>.
44864         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
44865         * resolv/res_libc.c: Don't include <tls.h>.
44866         (_res): Use __attribute__ ((nocommon)) in place of
44867         __attribute__ ((section (".bss"))).
44869         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
44870         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
44872         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
44874         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
44875         only under [SIOCGIFCONF && SIOCGIFNETMASK].
44877         * resolv/res_mkquery.c: Include <sys/time.h>.
44879         * inet/ifreq.c: Moved to ...
44880         * sysdeps/unix/ifreq.c: ... here.
44881         * inet/ifreq.c: New file, true stub version.
44883         * socket/sa_len.c: New file.
44884         * socket/Makefile (aux): Add it.
44885         * sysdeps/unix/sysv/linux/Makefile
44886         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
44887         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
44888         and #include <socket/sa_len.c>.
44889         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
44890         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
44892         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
44893         * bits/socket.h: ... here.
44895         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
44896         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
44897         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
44899 2013-08-27  Andreas Schwab  <schwab@suse.de>
44901         [BZ #15736]
44902         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
44903         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
44904         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
44905         * string/test-strcasecmp.c (test_main): Run tests in several
44906         locales.
44907         * string/test-strncasecmp.c (test_main): Likewise.
44909         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
44910         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
44911         to __strcasecmp_nonascii and __strncasecmp_nonascii.
44912         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
44913         (__strncasecmp_ssse3) [PIC]: Likewise.
44915 2013-08-26  Roland McGrath  <roland@hack.frob.com>
44917         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
44919         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
44920         instead of explicitly declaring xdecrypt.
44921         * nis/nss_nis/nis-publickey.c: Likewise.
44923 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
44925         [BZ #15890]
44926         * nscd/aicache.c: Include res_hconf.h.
44927         (addhstaiX): Initialize res_hconf.
44929 2013-08-26  Andreas Schwab  <schwab@suse.de>
44931         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
44932         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
44934 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
44936         * nscd/aicache.c (addhstaiX): Fix indentation.
44938 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
44940         * configure.ac: Quote $build_pt_chown test.
44941         * configure: Regenerated.
44943 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
44945         [BZ #15532]
44946         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
44947         * math/s_cexpf.c (__cexpf): Likewise.
44948         * math/s_cexpl.c (__cexpl): Likewise.
44949         * math/libm-test.inc (cexp_test_data): Correct expected return
44950         value for NaN + i0.  Add another test.
44952 2013-08-22  David S. Miller  <davem@davemloft.net>
44954         * po/ca.po: Update Catalan translation from translation project.
44955         * po/uk.po: Add Ukrainian translations from translation project.
44957 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
44959         [BZ #15797]
44960         * math/s_fdim.c (__fdim): Check for infinite arguments if result
44961         is infinite, not alongside NaN test.
44962         * math/s_fdimf.c (__fdimf): Likewise.
44963         * math/s_fdiml.c (__fdiml): Likewise.
44964         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
44965         errno is unchanged.
44967 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
44969         * argp/argp-help.c: Fix typos.
44970         * crypt/speeds.c: Likewise.
44971         * csu/check_fds.c: Likewise.
44972         * elf/dl-load.c: Likewise.
44973         * elf/dl-open.c: Likewise.
44974         * elf/reldep3.c: Likewise.
44975         * elf/reldep.c: Likewise.
44976         * elf/sprof.c: Likewise.
44977         * iconv/iconv_charmap.c: Likewise.
44978         * iconv/skeleton.c: Likewise.
44979         * iconv/strtab.c: Likewise.
44980         * io/lockf64.c: Likewise.
44981         * libio/libioP.h: Likewise.
44982         * resolv/gai_notify.c: Likewise.
44983         * resolv/ns_name.c: Likewise.
44984         * resolv/ns_samedomain.c: Likewise.
44985         * resolv/res_send.c: Likewise.
44986         * stdlib/random.c: Likewise.
44987         * sunrpc/rpc/xdr.h: Likewise.
44988         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
44989         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
44990         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
44991         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
44992         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
44993         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
44994         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
44995         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
44996         * sysdeps/mach/hurd/check_fds.c: Likewise.
44997         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
44998         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
44999         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
45000         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
45001         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
45002         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
45003         * sysdeps/pthread/aio_notify.c: Likewise.
45004         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
45005         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
45006         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
45007         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
45008         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
45010 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
45012         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
45013         version if bit_Slow_SSE4_2 is set.
45014         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
45015         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
45017 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45019         [BZ #15867]
45020         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
45021         trampoline stack frame information.
45022         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
45023         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
45024         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
45025         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
45026         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
45027         * sysdeps/unix/sysv/linux/powerpc/init-first.c
45028         (_libc_vdso_platform_setup): Initialize the signal trampolines.
45029         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
45030         sa_flags value.
45031         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
45032         interrupting a syscall and set with option SA_SIGINFO.
45034 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
45036         [BZ #15531]
45037         * math/s_cproj.c (__cproj): Only return an infinity if one part of
45038         argument is infinite.
45039         * math/s_cprojf.c (__cprojf): Likewise.
45040         * math/s_cprojl.c (__cprojl): Likewise.
45041         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
45042         * math/libm-test.inc (cproj_test_data): Add more tests.
45044         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
45046         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
45047         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
45048         size.  Use __ffs to determine corresponding shift.
45050 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
45051             Roland McGrath  <roland@hack.frob.com>
45053         * Makefile (INSTALL): Remove trailing blank lines from output of
45054         makeinfo.
45056 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
45058         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
45059         Align 32 bit compat elf_greg to 8 bytes.
45061 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
45063         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
45065 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
45067         * string/strcoll_l.c (coll_seq): New structure.
45068         (get_next_seq_cached): New function.
45069         (get_next_seq): New function.
45070         (do_compare): New function.
45071         (STRCOLL): Use GNU style definition.  Simplify implementation
45072         by using get_next_seq, get_next_seq_cached and do_compare.
45074 2013-08-16  Florian Weimer  <fweimer@redhat.com>
45076         [BZ #14699]
45077         CVE-2013-4237
45078         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
45079         member.
45080         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
45081         member.
45082         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
45083         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
45084         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
45085         conditional.
45086         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
45087         GETDENTS_64BIT_ALIGNED.
45088         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
45089         * manual/filesys.texi (Reading/Closing Directory): Document
45090         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
45091         strongly.
45092         * manual/conf.texi (Limits for Files): Add portability note to
45093         NAME_MAX, PATH_MAX.
45094         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
45096 2013-08-13  Andreas Schwab  <schwab@suse.de>
45098         [BZ #15749]
45099         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
45100         of fabs.
45101         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
45102         LDBL_MAX_EXP >= 16384]: Add tests for it.
45104 2013-08-12  David S. Miller  <davem@davemloft.net>
45106         * version.h (RELEASE): Set to "development".
45107         (VERSION): Set to "2.18.90".
45108         * NEWS: Add 2.19 section.
45110 2013-08-03  David S. Miller  <davem@davemloft.net>
45112         * po/ko.po: Update Korean translation from translation project.
45114 2013-08-01  David S. Miller  <davem@davemloft.net>
45116         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
45117         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
45118         Bilka.
45120 2013-07-30  David S. Miller  <davem@davemloft.net>
45122         * po/fr.po: Update French translation from translation project.
45124 2013-07-28  David S. Miller  <davem@davemloft.net>
45126         * po/cs.po: Update Czech translation from translation project.
45128         * po/sv.po: Update Swedish translation from translation project.
45130 2013-07-27  David S. Miller  <davem@davemloft.net>
45132         * po/eo.po: Update Esperanto translation from translation project.
45134         * po/vi.po: Update Vietnamese translation from translation project.
45136         * po/de.po: Update German translation from translation project.
45138 2013-07-26  David S. Miller  <davem@davemloft.net>
45140         * po/bg.po: Update Bulgarian translation from translation project.
45142         * po/nl.po: Update Dutch translation from translation project.
45143         * po/pl.po: Update Polish translation from translation project.
45144         * po/ru.po: Update Russian translation from translation project.
45146 2013-07-24  David S. Miller  <davem@davemloft.net>
45148         * po/libc.pot: Update.
45150 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45152         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
45153         variable page size.
45154         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
45155         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
45156         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
45158 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
45160         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
45162 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
45163             Andreas Schwab  <schwab@suse.de>
45164             Roland McGrath  <roland@hack.frob.com>
45165             Joseph Myers  <joseph@codesourcery.com>
45166             Carlos O'Donell  <carlos@redhat.com>
45168         [BZ #15755]
45169         * config.h.in: Define HAVE_PT_CHOWN.
45170         * config.make.in (build-pt-chown): New variable.
45171         * configure.in (--enable-pt_chown): New configure option.
45172         * configure: Regenerate.
45173         * login/Makefile: Include Makeconfig.  Build pt_chown only if
45174         build-pt-chown is enabled.
45175         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
45176         pt_chown to fix pty ownership.
45177         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
45178         CLOSE_ALL_FDS.
45179         * manual/install.texi (Configuring and compiling): Mention
45180         --enable-pt_chown. Add @findex for grantpt.
45181         * INSTALL: Regenerate.
45183 2013-07-20  David S. Miller  <davem@davemloft.net>
45185         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
45186         difference between 32-bit and 64-bit.
45188 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
45190         [BZ #15711]
45191         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
45192         Avoid system header dependency with -ffreestanding.
45193         ($(objpfx)bits/syscall%d): Likewise.
45195 2013-07-13  David S. Miller  <davem@davemloft.net>
45197         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
45198         underflows from atanl/atan2l due to bug 15319.
45199         (casinh_test_data): Likewise.
45201 2013-07-07  David S. Miller  <davem@davemloft.net>
45203         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
45205 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
45207         * sysdeps/i386/fpu/libm-test-ulps: Update.
45208         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45210 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
45212         * configure.in (--enable-lock-elision): Fix message text.
45213         * INSTALL: Regenerate.
45214         * configure: Regenerate.
45216 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45218         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45220 2013-07-03  Andreas Jaeger  <aj@suse.de>
45222         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
45223         define.
45224         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
45225         (ptrace_peeksiginfo_args): Add.
45226         (__ptrace_peeksiginfo_flags): Add.
45227         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
45228         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
45229         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
45231 2013-07-03  Allan McRae  <allan@archlinux.org>
45233         * sysdeps/i386/fpu/libm-test-ulps: Update.
45235 2013-07-02  David S. Miller  <davem@davemloft.net>
45237         * sysdeps/sparc/fpu/libm-test-ulps: Update.
45239 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
45241         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
45243 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
45245         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
45246         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45248 2013-07-02  Andi Kleen <ak@linux.intel.com>
45250         * config.h.in (ENABLE_LOCK_ELISION): Add.
45251         * configure.in (--enable-lock-elision): Add option.
45252         * manual/install.texi: Document --enable lock elision.
45253         * configure: Regenerate
45254         * INSTALL: Regenerate.
45256 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
45258         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
45259         SSE4.2 strcasecmp for libc.a.
45260         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
45262 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
45264         [BZ #13304]
45265         * soft-fp/op-common.h (_FP_FMA): New macro.
45266         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
45267         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
45268         (_FP_MUL_MEAT_1_imm): ... here.
45269         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
45270         (_FP_MUL_MEAT_1_wide): ... here.
45271         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
45272         (_FP_MUL_MEAT_1_hard): ... here.
45273         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
45274         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
45275         (_FP_MUL_MEAT_2_wide): ... here.
45276         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
45277         (_FP_MUL_MEAT_2_wide_3mul): ... here.
45278         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
45279         (_FP_MUL_MEAT_2_gmp): ... here.
45280         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
45281         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
45282         (_FP_MUL_MEAT_4_wide): ... here.
45283         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
45284         (_FP_MUL_MEAT_4_gmp): ... here.
45285         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
45286         (_FP_WFRACBITS_DW_S): Likewise.
45287         (_FP_WFRACXBITS_DW_S): Likewise.
45288         (_FP_HIGHBIT_DW_S): Likewise.
45289         (FP_FMA_S): Likewise.
45290         (_FP_FRAC_HIGH_DW_S): Likewise.
45291         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
45292         (_FP_WFRACBITS_DW_D): Likewise.
45293         (_FP_WFRACXBITS_DW_D): Likewise.
45294         (_FP_HIGHBIT_DW_D): Likewise.
45295         (FP_FMA_D): Likewise.
45296         (_FP_FRAC_HIGH_DW_D): Likewise.
45297         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
45298         (_FP_WFRACBITS_DW_E): Likewise.
45299         (_FP_WFRACXBITS_DW_E): Likewise.
45300         (_FP_HIGHBIT_DW_E): Likewise.
45301         (FP_FMA_E): Likewise.
45302         (_FP_FRAC_HIGH_DW_E): Likewise.
45303         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
45304         (_FP_WFRACBITS_DW_Q): Likewise.
45305         (_FP_WFRACXBITS_DW_Q): Likewise.
45306         (_FP_HIGHBIT_DW_Q): Likewise.
45307         (FP_FMA_Q): Likewise.
45308         (_FP_FRAC_HIGH_DW_Q): Likewise.
45309         * soft-fp/fmasf4.c: New file.
45310         * soft-fp/fmadf4.c: Likewise.
45311         * soft-fp/fmatf4.c: Likewise.
45313 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
45315         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
45316         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
45317         Silvermont.
45318         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
45319         macro.
45320         (index_Slow_SSE4_2): Likewise.
45321         (index_Prefer_PMINUB_for_stringop): Likewise.
45322         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
45323         bit_Slow_SSE4_2 is set.
45324         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
45325         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
45327 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
45329         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
45330         rtld_global._dl_hwcap2.
45331         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
45332         POWER8.
45333         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
45334         POWER8 feature descriptions defined in _dl_hwcap2.
45335         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
45336         string handling for POWER8 feature bits.
45337         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
45338         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
45339         _dl_powerpc_cap_flags.
45340         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
45341         * sysdeps/powerpc/rtld-global-offsets.sym
45342         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
45343         _dl_hwcap2 in the rtld_global_ro structure.
45345 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
45347         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
45348         hardware capabilities in support of AT_HWCAP2.
45349         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
45350         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
45351         GLRO(dl_hwcap2).
45352         (_dl_show_auxv): Add support for calling _dl_procinfo to display
45353         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
45354         explicitly the unknown a_type display mechanism is used.
45355         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
45356         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
45357         struct member.
45358         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
45359         to macro prototype for AT_HWCAP2 support.
45360         * sysdeps/i386/dl-procinfo.h: Likewise.
45361         * sysdeps/s390/dl-procinfo.h: Likewise.
45362         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
45363         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
45364         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
45365         return -1 for unknown a_type display fallback.
45366         * sysdeps/sparc/dl-procinfo.h: Likewise.
45367         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
45368         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
45370 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
45372         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
45373         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
45375 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
45377         [BZ #12492]
45378         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
45379         mprotect making __stack_prot writable.
45381 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
45382             Joseph Myers  <joseph@codesourcery.com>
45384         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
45385         as being properly aligned.
45387 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
45389         * dlfcn/modstatic5.c: New file.
45390         * dlfcn/tststatic5.c: New file.
45391         * dlfcn/Makefile (tests): Add tststatic5.
45392         (tests-static): Likewise.
45393         (modules-names): Add modstatic5.
45394         (tststatic5-ENV): New variable.
45395         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
45397         [BZ #15022]
45398         * elf/dl-support.c (_dl_main_map): New variable.
45399         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
45400         (_dl_nns, _dl_load_adds): Set to 1.
45401         (_dl_initial_searchlist): Refer to _dl_main_map.
45402         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
45403         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
45404         call to _dl_get_origin.
45405         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
45406         around call_map.
45407         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
45408         * dlfcn/modstatic3.c: New file.
45409         * dlfcn/tststatic3.c: New file.
45410         * dlfcn/tststatic4.c: New file.
45411         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
45412         (tests-static): Likewise.
45413         (modules-names): Add modstatic3.
45414         (tststatic3-ENV, tststatic4-ENV): New variables.
45415         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
45416         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
45418 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
45420         * configure.in (CC): Require GCC version 4.4 or later.
45421         * configure: Regenerated.
45422         * manual/install.texi (Tools for Compilation): Update GCC version
45423         requirement.
45424         * INSTALL: Regenerated.
45426 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
45428         [BZ #15674]
45429         * string/test-memcmp.c (check2): New.
45430         (main): Call check2.
45432         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
45434 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
45436         [BZ #15022]
45437         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
45438         over to...
45439         (dl_open_worker) [!SHARED]: ... here.
45441 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
45443         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
45445 2013-06-25  Richard Henderson  <rth@redhat.com>
45447         * locale/programs/locarchive.c: Include <libc-internal.h>
45449 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
45451         * manual/texinfo.tex: Update to version 2013-06-21.17, with
45452         trailing whitespace removed.
45454 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
45456         [BZ #10283]
45457         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
45458         * locale/programs/locarchive.c: Include libc-mmap.h.
45459         (prepare_address_space): Take two new outputs (the mmap base and len).
45460         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
45461         values.
45462         (create_archive): Declare new mmap base and len values for
45463         prepare_address_space, and store the result in ah.
45464         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
45465         (enlarge_archive): If ah->mmap_base is not NULL, use that and
45466         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
45467         Declare new mmap base and len values for
45468         prepare_address_space, and store the result in new_ah.
45469         (open_archive): Declare new mmap base and len values for
45470         prepare_address_space, and store the result in ah.
45471         (close_archive): If ah->mmap_base is not NULL, use that and
45472         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
45473         * sysdeps/generic/libc-mmap.h: New file.
45475 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
45477         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
45478         (ALIGN_UP): Likewise.
45479         (PTR_ALIGN_DOWN): Likewise.
45480         (PTR_ALIGN_UP): Likewise.
45482 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
45484         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
45485         entry mapped to PPC_PLATFORM_POWER8.
45486         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
45487         POWER8.
45488         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
45489         (_dl_string_platform): Add case for exporting platform position for
45490         POWER8.
45491         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
45492         search path to sysdeps/powerpc/powerpc32/power8 directory.
45493         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
45494         search path to sysdeps/powerpc/powerpc64/power8 directory.
45495         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
45496         power7 directories.
45497         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
45498         power7 directories.
45500 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
45502         * INSTALL: Regenerate.
45504         * nscd/connections.c (nscd_init): Fix comment.
45506 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
45508         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
45510         [BZ #15667]
45511         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
45512         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
45514 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
45516         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
45517         DL_DST_REQ_STATIC.
45518         (DL_DST_REQ_STATIC): Remove macro.
45520 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
45522         [BZ #7006]
45523         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
45524         with a shift of 0 bits.
45526 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
45528         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
45529         $(tststatic-ENV).
45531 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
45533         [BZ #15655]
45534         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
45536 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45538         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
45539         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
45540         accepts -fno-tree-loop-distribute-patterns.
45541         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
45542         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
45543         recursive call.
45544         * string/memset.c (memset): Likewise.
45545         * string/test-memmove.c (simple_memmove): Disable loop transformation
45546         to library calls.
45547         * string/test-memset.c (simple_memset): Likewise.
45548         * benchtests/bench-memmove.c (simple_memmove): Likewise.
45549         * benchtests/bench-memset.c (simple_memset): Likewise.
45550         * configure: Regenerated.
45552 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
45554         * math/test-misc.c (main): Ignore fesetround failure when failures
45555         of subsequent rounding tests would be ignored.
45557         [BZ #15654]
45558         * math/fedisblxcpt.c (fedisableexcept): Return 0.
45559         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
45560         * math/fegetenv.c (__fegetenv): Return 0.
45561         * math/fegetexcept.c (fegetexcept): Return 0.
45562         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
45563         FE_TONEAREST.
45564         * math/feholdexcpt.c (feholdexcept): Return 0.
45565         * math/fesetenv.c (__fesetenv): Return 0.
45566         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
45567         argument FE_TONEAREST.
45568         * math/feupdateenv.c (__feupdateenv): Return 0.
45569         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
45571 2013-06-18  Roland McGrath  <roland@hack.frob.com>
45573         * elf/rtld-Rules (rtld-compile-command.S): New variable.
45574         (rtld-compile-command.s, rtld-compile-command.c): New variables.
45575         ($(objpfx)rtld-%.os rules): Use them.
45577 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45579         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
45580         fields.
45582 2013-06-17  Roland McGrath  <roland@hack.frob.com>
45584         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
45585         length of target pattern, then descending length of dependency pattern.
45586         * configure.in (AWK): Require gawk 3.1.2 or newer.
45587         * manual/install.texi (Tools for Compilation): Say that we do.
45588         * configure: Regenerated.
45590         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
45591         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
45592         * scripts/sysd-rules.awk: ... this new script.
45593         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
45594         than a glob-style pattern.
45596 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
45598         * math/test-misc.c (main): Do not treat incorrectly rounded
45599         conversions as failure unless ROUNDING_TESTS passes.
45601 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
45603         [BZ #15631]
45604         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
45605         restore exception state around main square root computation, then
45606         check for inexactness explicitly.
45608         * math/libm-test.inc (fma_test_data): Add another test.
45610 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
45612         * manual/threads.texi (Non-POSIX Extensions): New document
45613         node.  Document pthread_getattr_default_np and
45614         pthread_setattr_default_np.
45616         * Versions.def (libpthread): Add GLIBC_2.18.
45617         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
45618         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
45619         Likewise.
45620         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
45621         Likewise.
45622         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
45623         Likewise.
45624         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
45625         Likewise.
45626         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
45627         Likewise.
45628         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
45629         Likewise.
45630         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
45631         Likewise.
45632         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
45633         Likewise.
45634         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
45635         Likewise.
45637 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
45639         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
45640         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
45642 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
45643             H.J. Lu  <hjl.tools@gmail.com>
45645         [BZ #15627]
45646         * sysdeps/x86_64/rtld-memset.c: Remove file.
45647         * sysdeps/x86_64/rtld-memset.S: New file.
45649 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
45651         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
45652         (test_in_one_mode): Take arguments for whether the rounding mode
45653         is supported for each floating-point type.
45654         (do_test): Pass new arguments to test_in_one_mode using
45655         ROUNDING_TESTS.
45657 2013-06-13  Roland McGrath  <roland@hack.frob.com>
45659         * posix/tst-waitid.c (do_test): Distinguish different instances of
45660         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
45661         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
45662         before entering the kernel for waitpid.
45664 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
45666         * NEWS: Fix note on clock function precision.  Text by Roland
45667         McGrath.
45669 2013-06-13  Roland McGrath  <roland@hack.frob.com>
45671         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
45672         it into place only when and if the sanity check passes.
45674 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
45676         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
45677         output for whether conversion result is exact.  Take argument
45678         indicating whether type is IBM long double.
45679         (round_for_all): Change need_exact field to ibm_ld.
45680         * stdlib/tst-strtod-round.c (struct exactness): New type.
45681         (struct test): Change bool ld_ok field to struct exactness exact.
45682         (TEST): Update all definitions for change to field.
45683         (tests): Regenerate array contents.
45684         (test_in_one_mode): Take pointer to new field instead of old ld_ok
45685         field value.  Check for IBM long double here.
45686         (do_test): Update calls to test_in_one_mode.
45688 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
45690         [BZ #12515]
45691         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
45692         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
45694 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45696         [BZ #15605]
45697         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
45698         generated by the compiler on loop optimizations.
45699         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
45700         general definitions.
45702 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
45704         * math/bug-nextafter.c: Include <math-tests.h>.
45705         (main): Only test for exceptions if EXCEPTION_TESTS is true for
45706         the relevant type.
45707         * math/bug-nexttoward.c: Include <math-tests.h>.
45708         (main): Only test for exceptions if EXCEPTION_TESTS is true for
45709         the relevant type.
45710         * math/test-misc.c: Include <math-tests.h>.
45711         (main): Only test for exceptions if EXCEPTION_TESTS is true for
45712         the relevant type.
45714 2013-06-12  Andreas Jaeger  <aj@suse.de>
45716         * po/ia.po: Update Interlingua translation from translation
45717         project.
45719 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
45721         * include/fenv.h: Include stdbool.h.
45722         (struct rm_ctx): New structure.
45723         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
45724         Define macro.
45725         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
45726         (SET_RESTORE_ROUNDF): Likewise.
45727         (SET_RESTORE_ROUNDL): Likewise.
45728         (SET_RESTORE_ROUND_NOEX): Likewise.
45729         (SET_RESTORE_ROUND_NOEXF): Likewise.
45730         (SET_RESTORE_ROUND_NOEXL): Likewise.
45731         (SET_RESTORE_ROUND_53BIT): Likewise.
45732         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
45733         (libc_feresetround_noexf_ctx): Likewise.
45734         (libc_feresetround_noexl_ctx): Likewise.
45735         (libc_feholdsetround_53bit_ctx): Likewise.
45736         (libc_feresetround_53bit_ctx): Likewise.
45737         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
45738         (libc_feholdexcept_setround_sse_ctx): New function.
45739         (libc_fesetenv_sse_ctx): Likewise.
45740         (libc_feupdateenv_sse_ctx): Likewise.
45741         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
45742         (libc_feholdexcept_setround_387_ctx): Likewise.
45743         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
45744         (libc_feholdsetround_387_prec_ctx): Likewise.
45745         (libc_feholdsetround_387_ctx): Likewise.
45746         (libc_feholdsetround_387_53bit_ctx): Likewise.
45747         (libc_feholdsetround_sse_ctx): Likewise.
45748         (libc_feresetround_sse_ctx): Likewise.
45749         (libc_feresetround_387_ctx): Likewise.
45750         (libc_feupdateenv_387_ctx): Likewise.
45751         (libc_feholdexcept_setroundf_ctx): Define macro.
45752         (libc_fesetenvf_ctx): Likewise.
45753         (libc_feupdateenvf_ctx): Likewise.
45754         (libc_feholdsetroundf_ctx): Likewise.
45755         (libc_feresetroundf_ctx): Likewise.
45756         (libc_feholdexcept_setround_ctx): Likewise.
45757         (libc_fesetenv_ctx): Likewise.
45758         (libc_feupdateenv_ctx): Likewise.
45759         (libc_feholdsetround_ctx): Likewise.
45760         (libc_feresetround_ctx): Likewise.
45761         (libc_feholdexcept_setroundl_ctx): Likewise.
45762         (libc_feupdateenvl_ctx): Likewise.
45763         (libc_feholdsetroundl_ctx): Likewise.
45764         (libc_feresetroundl_ctx): Likewise.
45765         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
45766         (libc_feresetround_53bit_ctx): Likewise.
45768 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
45770         * locale/iso-639.def: Convert to UTF-8.
45772 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
45774         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
45775         (EXCEPTION_TESTS_double): Likewise.
45776         (EXCEPTION_TESTS_long_double): Likewise.
45777         (EXCEPTION_TESTS): Likewise.
45778         * math/libm-test.inc (test_exceptions): Only test exceptions if
45779         EXCEPTION_TESTS (FLOAT).
45781 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
45783         * benchtests/Makefile (string-bench): Add strcpy_chk and
45784         stpcpy_chk.
45785         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
45786         * benchtests/bench-stpcpy_chk.c: New file.
45787         * benchtests/bench-strcpy_chk-ifunc.c: New file.
45788         * benchtests/bench-strcpy_chk.c: New file.
45789         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
45790         code.
45791         (do_test): Likewise.
45793 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
45795         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
45796         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
45797         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
45798         with tabs where appropriate.
45799         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
45800         dl-procinfo.h.
45801         [PPC_PLATFORM_PPC440]: Likewise.
45802         [PPC_PLATFORM_PPC464]: Likewise.
45803         [PPC_PLATFORM_PPC476]: Likewise.
45804         (_dl_string_platform): Add support for detecting ppc405, ppc440,
45805         ppc464, and ppc476 platform strings merging from ports/
45806         dl-procinfo.h.
45808 2013-06-11  Andreas Schwab  <schwab@suse.de>
45810         [BZ #14991]
45811         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
45812         (from_ucs4_idx): Regenerate.
45813         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
45814         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
45815         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
45816         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
45817         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
45818         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
45819         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
45820         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
45821         from FROM_LOOP and TO_LOOP specific macros.
45822         (BODY): Handle combining characters.
45823         * iconvdata/BIG5HKSCS.irreversible: Update.
45824         * iconvdata/BIG5HKSCS.precomposed: New file.
45825         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
45826         characters.
45827         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
45829 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
45831         * include/sys/time.h: Fix indentation and add copyright header.
45833         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
45834         (do_test): Likewise.
45835         * string/test-memchr.c (do_one_test): Likewise.
45836         (do_test): Likewise.
45837         * string/test-memcmp.c (do_one_test): Likewise.
45838         (do_test): Likewise.
45839         * string/test-memcpy.c (do_one_test): Likewise.
45840         (do_test): Likewise.
45841         * string/test-memmem.c (do_one_test): Likewise.
45842         (do_test): Likewise.
45843         (do_random_tests): Likewise.
45844         * string/test-memmove.c (do_one_test): Likewise.
45845         (do_test): Likewise.
45846         * string/test-memset.c (do_one_test): Likewise.
45847         (do_test): Likewise.
45848         * string/test-rawmemchr.c (do_one_test): Likewise.
45849         (do_test): Likewise.
45850         * string/test-strcasecmp.c (do_one_test): Likewise.
45851         (do_test): Likewise.
45852         * string/test-strcasestr.c (do_one_test): Likewise.
45853         (do_test): Likewise.
45854         * string/test-strcat.c (do_one_test): Likewise.
45855         (do_test): Likewise.
45856         * string/test-strchr.c (do_one_test): Likewise.
45857         (do_test): Likewise.
45858         * string/test-strcmp.c (do_one_test): Likewise.
45859         (do_test): Likewise.
45860         * string/test-strcpy.c (do_one_test): Likewise.
45861         (do_test): Likewise.
45862         * string/test-string.h: Likewise.
45863         (test_init): Likewise.
45864         * string/test-strlen.c (do_one_test): Likewise.
45865         (do_test): Likewise.
45866         * string/test-strncasecmp.c (do_one_test): Likewise.
45867         (do_test): Likewise.
45868         * string/test-strncat.c (do_one_test): Likewise.
45869         (do_test): Likewise.
45870         * string/test-strncmp.c (do_one_test): Likewise.
45871         (do_test_limit): Likewise.
45872         (do_test): Likewise.
45873         * string/test-strncpy.c (do_one_test): Likewise.
45874         (do_test): Likewise.
45875         * string/test-strnlen.c (do_one_test): Likewise.
45876         (do_test): Likewise.
45877         * string/test-strpbrk.c (do_one_test): Likewise.
45878         (do_test): Likewise.
45879         * string/test-strrchr.c (do_one_test): Likewise.
45880         (do_test): Likewise.
45881         * string/test-strspn.c (do_one_test): Likewise.
45882         (do_test): Likewise.
45883         * string/test-strstr.c (do_one_test): Likewise.
45884         (do_test): Likewise.
45886         * benchtests/Makefile (string-bench): Add string benchmarks.
45887         * benchtests/bench-bcopy-ifunc.c: New file.
45888         * benchtests/bench-bcopy.c: New file.
45889         * benchtests/bench-bzero-ifunc.c: New file.
45890         * benchtests/bench-bzero.c: New file.
45891         * benchtests/bench-memccpy-ifunc.c: New file.
45892         * benchtests/bench-memccpy.c: New file.
45893         * benchtests/bench-memchr-ifunc.c: New file.
45894         * benchtests/bench-memchr.c: New file.
45895         * benchtests/bench-memcmp-ifunc.c: New file.
45896         * benchtests/bench-memcmp.c: New file.
45897         * benchtests/bench-memmem-ifunc.c: New file.
45898         * benchtests/bench-memmem.c: New file.
45899         * benchtests/bench-memmove-ifunc.c: New file.
45900         * benchtests/bench-memmove.c: New file.
45901         * benchtests/bench-mempcpy-ifunc.c: New file.
45902         * benchtests/bench-mempcpy.c: New file.
45903         * benchtests/bench-memset-ifunc.c: New file.
45904         * benchtests/bench-memset.c: New file.
45905         * benchtests/bench-rawmemchr-ifunc.c: New file.
45906         * benchtests/bench-rawmemchr.c: New file.
45907         * benchtests/bench-stpcpy-ifunc.c: New file.
45908         * benchtests/bench-stpcpy.c: New file.
45909         * benchtests/bench-stpncpy-ifunc.c: New file.
45910         * benchtests/bench-stpncpy.c: New file.
45911         * benchtests/bench-strcasecmp-ifunc.c: New file.
45912         * benchtests/bench-strcasecmp.c: New file.
45913         * benchtests/bench-strcasestr-ifunc.c: New file.
45914         * benchtests/bench-strcasestr.c: New file.
45915         * benchtests/bench-strcat-ifunc.c: New file.
45916         * benchtests/bench-strcat.c: New file.
45917         * benchtests/bench-strchr-ifunc.c: New file.
45918         * benchtests/bench-strchr.c: New file.
45919         * benchtests/bench-strchrnul-ifunc.c: New file.
45920         * benchtests/bench-strchrnul.c: New file.
45921         * benchtests/bench-strcmp-ifunc.c: New file.
45922         * benchtests/bench-strcmp.c: New file.
45923         * benchtests/bench-strcpy-ifunc.c: New file.
45924         * benchtests/bench-strcpy.c: New file.
45925         * benchtests/bench-strcspn-ifunc.c: New file.
45926         * benchtests/bench-strcspn.c: New file.
45927         * benchtests/bench-strlen-ifunc.c: New file.
45928         * benchtests/bench-strlen.c: New file.
45929         * benchtests/bench-strncasecmp-ifunc.c: New file.
45930         * benchtests/bench-strncasecmp.c: New file.
45931         * benchtests/bench-strncat-ifunc.c: New file.
45932         * benchtests/bench-strncat.c: New file.
45933         * benchtests/bench-strncmp-ifunc.c: New file.
45934         * benchtests/bench-strncmp.c: New file.
45935         * benchtests/bench-strncpy-ifunc.c: New file.
45936         * benchtests/bench-strncpy.c: New file.
45937         * benchtests/bench-strnlen-ifunc.c: New file.
45938         * benchtests/bench-strnlen.c: New file.
45939         * benchtests/bench-strpbrk-ifunc.c: New file.
45940         * benchtests/bench-strpbrk.c: New file.
45941         * benchtests/bench-strrchr-ifunc.c: New file.
45942         * benchtests/bench-strrchr.c: New file.
45943         * benchtests/bench-strspn-ifunc.c: New file.
45944         * benchtests/bench-strspn.c: New file.
45945         * benchtests/bench-strstr-ifunc.c: New file.
45946         * benchtests/bench-strstr.c: New file.
45948         * benchtests/Makefile: Disable parallel execution of targets.
45949         (string-bench): Add memcpy.
45950         (benchset): New variable to store a list of benchmark sets.
45951         (bench-func): Renamed from bench.
45952         (bench-set): New target.
45953         (bench): Depend on bench-func and bench-set.
45954         * benchtests/README: Add section on benchmark sets.
45955         * benchtests/bench-memcpy-ifunc.c: New file.
45956         * benchtests/bench-memcpy.c: New file.
45957         * benchtests/bench-string.h: New file.
45959 2013-06-11  Andreas Schwab  <schwab@suse.de>
45961         [BZ #15577]
45962         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
45963         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
45964         values in the triple.
45965         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
45966         terminator in the group key.
45968 2013-06-11  Andreas Jaeger  <aj@suse.de>
45970         * po/zh_TW.po: Update Chinese (traditional) translation from
45971         translation project.
45973 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
45975         * include/time.h (__clock_gettime): Add libc_hidden_proto.
45976         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
45977         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
45978         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
45979         (clock_getcpuclockid): Likewise.
45980         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
45981         Add weak_alias and libc_hidden_def.
45982         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
45983         * rt/clock_gettime.c (clock_gettime): Rename to
45984         __clock_gettime.  Add weak_alias and libc_hidden_def.
45985         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
45986         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
45987         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
45988         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
45989         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
45990         Likewise.
45991         * rt/clock_settime.c (clock_settime): Rename to
45992         __clock_settime.  Add weak_alias and libc_hidden_def.
45993         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
45995 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
45997         * mach/err_boot.sub: Remove trailing whitespace.
45998         * mach/err_ipc.sub: Likewise.
45999         * mach/err_mach.sub: Likewise.
46001         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
46002         (ROUNDING_TESTS_double): Likewise.
46003         (ROUNDING_TESTS_long_double): Likewise.
46004         (ROUNDING_TESTS): Likewise.
46005         * math/libm-test.inc: Include <math-tests.h>.
46006         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
46007         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
46008         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
46009         (IF_ROUND_INIT_FE_UPWARD): Likewise.
46011 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
46013         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
46014         of assigning.
46016 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
46018         * sysdeps/gnu/errlist.awk: Do not generate space at end of
46019         otherwise empty TRANS lines.
46020         * sysdeps/gnu/errlist.c: Regenerated.
46022         * catgets/gencat.c (error_print): Use (void) in function
46023         definition.
46024         * crypt/crypt_util.c (__init_des): Likewise.
46025         * crypt/speeds.c (Stop): Likewise.
46026         (main): Likewise.
46027         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
46028         * inet/ruserpass.c (token): Likewise.
46029         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
46030         * intl/localealias.c (extend_alias_table): Likewise.
46031         * intl/plural-exp.c (init_germanic_plural): Likewise.
46032         * libio/fcloseall.c (__fcloseall): Likewise.
46033         * libio/genops.c (_IO_flush_all): Likewise.
46034         (_IO_flush_all_linebuffered): Likewise.
46035         (_IO_cleanup): Likewise.
46036         (_IO_iter_begin): Likewise.
46037         (_IO_iter_end): Likewise.
46038         (_IO_list_lock): Likewise.
46039         (_IO_list_unlock): Likewise.
46040         (_IO_list_resetlock): Likewise.
46041         * libio/getchar.c (getchar): Likewise.
46042         * libio/getchar_u.c (getchar_unlocked): Likewise.
46043         * libio/getwchar.c (getwchar): Likewise.
46044         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
46045         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
46046         * login/getpt.c (__getpt): Likewise.
46047         * login/tst-utmp.c (main): Likewise.
46048         * malloc/hooks.c (__malloc_check_init): Likewise.
46049         * malloc/malloc.c (__malloc_stats): Likewise.
46050         * malloc/mtrace.c (tr_break): Likewise.
46051         (mtrace): Likewise.
46052         (muntrace): Likewise.
46053         * misc/fstab.c (endfsent): Likewise.
46054         * misc/getclktck.c (__getclktck): Likewise.
46055         * misc/getdtsz.c (__getdtablesize): Likewise.
46056         * misc/gethostid.c (gethostid): Likewise.
46057         * misc/getpagesize.c (__getpagesize): Likewise.
46058         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
46059         (__get_nprocs): Likewise.
46060         (__get_phys_pages): Likewise.
46061         (__get_avphys_pages): Likewise.
46062         * misc/getttyent.c (getttyent): Likewise.
46063         (setttyent): Likewise.
46064         (endttyent): Likewise.
46065         * misc/getusershell.c (getusershell): Likewise.
46066         (endusershell): Likewise.
46067         (setusershell): Likewise.
46068         (initshells): Likewise.
46069         * misc/hsearch.c (__hdestroy): Likewise.
46070         * misc/sync.c (sync): Likewise.
46071         * misc/syslog.c (closelog_internal): Likewise.
46072         (closelog): Likewise.
46073         * misc/ttyslot.c (ttyslot): Likewise.
46074         * misc/vhangup.c (vhangup): Likewise.
46075         * posix/fork.c (__fork): Likewise.
46076         * posix/getegid.c (__getegid): Likewise.
46077         * posix/geteuid.c (__geteuid): Likewise.
46078         * posix/getgid.c (__getgid): Likewise.
46079         * posix/getpid.c (__getpid): Likewise.
46080         * posix/getppid.c (__getppid): Likewise.
46081         * posix/getuid.c (__getuid): Likewise.
46082         * posix/pause.c (pause): Likewise.
46083         * posix/setpgrp.c (setpgrp): Likewise.
46084         * posix/setsid.c (__setsid): Likewise.
46085         * posix/test-vfork.c (noop): Likewise.
46086         * resolv/gethnamaddr.c (_endhtent): Likewise.
46087         (_gethtent): Likewise.
46088         (ht_endhostent): Likewise.
46089         (gethostent): Likewise.
46090         (dns_service): Likewise.
46091         * stdlib/drand48.c (drand48): Likewise.
46092         * stdlib/lrand48.c (lrand48): Likewise.
46093         * stdlib/mrand48.c (mrand48): Likewise.
46094         * stdlib/rand.c (rand): Likewise.
46095         * stdlib/random.c (__random): Likewise.
46096         * stdlib/setenv.c (clearenv): Likewise.
46097         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
46098         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
46099         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
46100         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
46101         (__get_nprocs): Likewise.
46102         (__get_phys_pages): Likewise.
46103         (__get_avphys_pages): Likewise.
46104         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
46105         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
46106         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
46107         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
46108         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
46109         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
46110         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
46111         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
46112         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
46113         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
46114         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
46115         * sysdeps/mach/hurd/sync.c (sync): Likewise.
46116         * sysdeps/posix/clock.c (clock): Likewise.
46117         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
46118         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
46119         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
46120         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
46121         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
46122         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
46123         (__get_nprocs_conf): Likewise.
46124         (__get_phys_pages): Likewise.
46125         (__get_avphys_pages): Likewise.
46126         * time/clock.c (clock): Likewise.
46127         * time/tzset.c (__tzname_max): Likewise.
46129 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
46131         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
46132         (__bswap_32): Do not use "register".
46133         * crypt/crypt.c (_ufc_doit_r): Likewise.
46134         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
46135         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
46136         * gmon/gmon.c (__monstartup): Likewise.
46137         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
46138         * hurd/hurdmalloc.c (more_memory): Likewise.
46139         (malloc): Likewise.
46140         (free): Likewise.
46141         (realloc): Likewise.
46142         (malloc_fork_prepare): Likewise.
46143         (malloc_fork_parent): Likewise.
46144         (malloc_fork_child): Likewise.
46145         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
46146         (_svcauth_des): Likewise.
46147         * inet/inet_lnaof.c (inet_lnaof): Likewise.
46148         * inet/inet_net.c (inet_network): Likewise.
46149         * inet/inet_netof.c (inet_netof): Likewise.
46150         * inet/rcmd.c (__validuser2_sa): Likewise.
46151         * io/fts.c (fts_open): Likewise.
46152         (fts_load): Likewise.
46153         (fts_close): Likewise.
46154         (fts_read): Likewise.
46155         (fts_children): Likewise.
46156         (fts_build): Likewise.
46157         (fts_stat): Likewise.
46158         (fts_sort): Likewise.
46159         (fts_alloc): Likewise.
46160         (fts_lfree): Likewise.
46161         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
46162         (_IO_file_xsgetn): Likewise.
46163         (_IO_file_xsgetn_mmap): Likewise.
46164         * libio/iofopncook.c (_IO_cookie_read): Likewise.
46165         (_IO_cookie_write): Likewise.
46166         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
46167         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
46168         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
46169         * malloc/obstack.c (_obstack_begin): Likewise.
46170         (_obstack_begin_1): Likewise.
46171         (_obstack_newchunk): Likewise.
46172         (_obstack_allocated_p): Likewise.
46173         (obstack_free): Likewise.
46174         (_obstack_memory_used): Likewise.
46175         * misc/getttyent.c (getttynam): Likewise.
46176         (getttyent): Likewise.
46177         (skip): Likewise.
46178         (value): Likewise.
46179         * misc/getusershell.c (initshells): Likewise.
46180         * misc/syslog.c (__vsyslog_chk): Likewise.
46181         * misc/ttyslot.c (ttyslot): Likewise.
46182         * nis/nis_hash.c (__nis_hash): Likewise.
46183         * posix/fnmatch_loop.c (FCT): Likewise.
46184         * posix/getconf.c (print_all): Likewise.
46185         (main): Likewise.
46186         * posix/getopt.c (exchange): Likewise.
46187         * posix/glob.c (globfree): Likewise.
46188         (prefix_array): Likewise.
46189         (__glob_pattern_type): Likewise.
46190         * resolv/arpa/nameser.h (NS_GET16): Likewise.
46191         (NS_GET32): Likewise.
46192         (NS_PUT16): Likewise.
46193         (NS_PUT32): Likewise.
46194         * resolv/gethnamaddr.c (getanswer): Likewise.
46195         (gethostbyname2): Likewise.
46196         (gethostbyaddr): Likewise.
46197         (_gethtent): Likewise.
46198         (_gethtbyname2): Likewise.
46199         (_gethtbyaddr): Likewise.
46200         * resolv/ns_print.c (dst_s_get_int16): Likewise.
46201         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
46202         * resolv/res_init.c (__res_vinit): Likewise.
46203         (net_mask): Likewise.
46204         * resolv/res_mkquery.c (outchar): Likewise.
46205         (PRINT): Likewise.
46206         * stdio-common/printf_fp.c (outchar): Likewise.
46207         (PRINT): Likewise.
46208         * stdio-common/printf_fphex.c (outchar): Likewise.
46209         (PRINT): Likewise.
46210         * stdio-common/printf_size.c (outchar): Likewise.
46211         (PRINT): Likewise.
46212         * stdio-common/test_rdwr.c (main): Likewise.
46213         * stdio-common/tfformat.c (matches): Likewise.
46214         * stdio-common/vfprintf.c (outchar): Likewise.
46215         (printf_unknown): Likewise.
46216         (buffered_vfprintf): Likewise.
46217         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
46218         * stdio-common/xbug.c (AppendToBuffer): Likewise.
46219         (ReadFile): Likewise.
46220         * stdlib/qsort.c (SWAP): Likewise.
46221         (_quicksort): Likewise.
46222         * stdlib/setenv.c (__add_to_environ): Likewise.
46223         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
46224         * stdlib/strtol_l.c (__strtol_l): Likewise.
46225         * stdlib/tst-strtod.c (main): Likewise.
46226         * stdlib/tst-strtol.c (main): Likewise.
46227         * stdlib/tst-strtoll.c (main): Likewise.
46228         * string/bits/string2.h (__strcmp_cc): Likewise.
46229         (__strcmp_cg): Likewise.
46230         (__strcspn_c1): Likewise.
46231         (__strcspn_c2): Likewise.
46232         (__strcspn_c3): Likewise.
46233         (__strspn_c1): Likewise.
46234         (__strspn_c2): Likewise.
46235         (__strspn_c3): Likewise.
46236         (__strsep_1c): Likewise.
46237         (__strsep_2c): Likewise.
46238         (__strsep_3c): Likewise.
46239         * string/memccpy.c (__memccpy): Likewise.
46240         * string/stpcpy.c (__stpcpy): Likewise.
46241         * string/strcmp.c (strcmp): Likewise.
46242         * string/strrchr.c (strrchr): Likewise.
46243         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
46244         Likewise.
46245         * sysdeps/mach/hurd/getcwd.c
46246         (_hurd_canonicalize_directory_name_internal): Likewise.
46247         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
46248         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
46249         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
46250         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
46251         Likewise, in both definitions.
46252         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
46253         definitions.
46254         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
46255         64] (__bswap_64): Likewise.
46256         * time/test_time.c (main): Likewise.
46257         * time/tzfile.c (__tzfile_read): Likewise.
46258         (__tzfile_compute): Likewise.
46259         * time/tzset.c (__tzset_parse_tz): Likewise.
46260         (tzset_internal): Likewise.
46261         (compute_change): Likewise.
46262         * wcsmbs/wcscat.c (__wcscat): Likewise.
46263         * wcsmbs/wcschr.c (wcschr): Likewise.
46264         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
46265         * wcsmbs/wcscspn.c (wcscspn): Likewise.
46266         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
46267         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
46268         * wcsmbs/wcsspn.c (wcsspn): Likewise.
46269         * wcsmbs/wcsstr.c (wcsstr): Likewise.
46270         * wcsmbs/wmemchr.c (wmemchr): Likewise.
46271         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
46272         * wcsmbs/wmemset.c (wmemset): Likewise.
46274 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
46276         * scripts/config.guess: Update to version 2013-05-16.
46277         * scripts/config.sub: Update to version 2013-04-24.
46278         * scripts/install-sh: Update to version 2011-11-20.07.
46279         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
46280         * scripts/move-if-change: Update to version 2012-01-06 07:23.
46282 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
46284         * debug/fgetws_u_chk.c: Fix leading whitespaces.
46285         * elf/sln.c: Likewise.
46286         * hurd/hurd/ioctl.h: Likewise.
46287         * hurd/hurdmalloc.c: Likewise.
46288         * hurd/xattr.c: Likewise.
46289         * include/shlib-compat.h: Likewise.
46290         * inet/ruserpass.c: Likewise.
46291         * libio/iofgets_u.c: Likewise.
46292         * libio/iofgetws_u.c: Likewise.
46293         * locale/programs/ld-identification.c: Likewise.
46294         * locale/programs/ld-time.c: Likewise.
46295         * mach/msg-destroy.c: Likewise.
46296         * nss/nss_files/files-netgrp.c: Likewise.
46297         * resolv/res_data.c: Likewise.
46298         * soft-fp/op-1.h: Likewise.
46299         * soft-fp/op-2.h: Likewise.
46300         * soft-fp/op-4.h: Likewise.
46301         * soft-fp/op-common.h: Likewise.
46302         * stdio-common/printf_fphex.c: Likewise.
46303         * stdlib/strtod_l.c: Likewise.
46304         * sunrpc/rpc/clnt.h: Likewise.
46305         * sysdeps/generic/framestate.c: Likewise.
46306         * sysdeps/i386/bsd-_setjmp.S: Likewise.
46307         * sysdeps/i386/bsd-setjmp.S: Likewise.
46308         * sysdeps/i386/__longjmp.S: Likewise.
46309         * sysdeps/i386/setjmp.S: Likewise.
46310         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
46311         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
46312         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
46313         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
46314         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
46315         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
46316         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
46317         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
46318         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
46319         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
46320         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
46321         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
46322         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
46323         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
46324         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
46325         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
46326         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
46327         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
46328         * sysdeps/ieee754/support.c: Likewise.
46329         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
46330         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
46331         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
46332         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
46333         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
46334         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
46335         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
46336         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
46337         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
46338         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
46339         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
46340         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
46341         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
46342         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
46343         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
46344         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
46345         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
46346         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
46348 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
46350         * posix/transbug.c: Remove executable mode.
46352 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
46354         * crypt/speeds.c: Remove trailing whitespace.
46355         * dlfcn/default.c: Likewise.
46356         * elf/ifuncdep2.c: Likewise.
46357         * elf/ifuncmain1.c: Likewise.
46358         * elf/ifuncmain1vis.c: Likewise.
46359         * elf/testobj.h: Likewise.
46360         * elf/tst-stackguard1.c: Likewise.
46361         * gmon/sys/gmon.h: Likewise.
46362         * hurd/hurdmsg.c: Likewise.
46363         * hurd/new-fd.c: Likewise.
46364         * hurd/ports-get.c: Likewise.
46365         * iconvdata/ibm1008_420.c: Likewise.
46366         * inet/tst-getni1.c: Likewise.
46367         * inet/tst-getni2.c: Likewise.
46368         * libio/ioungetc.c: Likewise.
46369         * libio/wfiledoalloc.c: Likewise.
46370         * manual/libm-err-tab.pl: Likewise.
46371         * math/w_dremf.c: Likewise.
46372         * misc/ftruncate.c: Likewise.
46373         * posix/bug-glob2.c: Likewise.
46374         * posix/tst-pcre.c: Likewise.
46375         * posix/wait4.c: Likewise.
46376         * resolv/README: Likewise.
46377         * resolv/res_debug.h: Likewise.
46378         * resolv/tst-inet_ntop.c: Likewise.
46379         * setjmp/bug269-setjmp.c: Likewise.
46380         * soft-fp/extended.h: Likewise.
46381         * soft-fp/op-1.h: Likewise.
46382         * soft-fp/op-2.h: Likewise.
46383         * soft-fp/op-4.h: Likewise.
46384         * soft-fp/op-8.h: Likewise.
46385         * soft-fp/testit.c: Likewise.
46386         * stdio-common/bug16.c: Likewise.
46387         * stdlib/random.c: Likewise.
46388         * sunrpc/rpcsvc/rquota.x: Likewise.
46389         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
46390         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
46391         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
46392         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
46393         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
46394         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
46395         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
46396         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
46397         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
46398         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
46399         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
46400         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
46401         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
46402         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
46403         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
46404         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
46405         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
46406         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
46407         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
46408         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
46409         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
46410         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
46411         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
46412         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
46413         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
46414         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
46415         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
46416         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
46417         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
46418         * sysdeps/ieee754/s_lib_version.c: Likewise.
46419         * sysdeps/mach/hurd/check_fds.c: Likewise.
46420         * sysdeps/mach/hurd/getsockname.c: Likewise.
46421         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
46422         * sysdeps/mach/hurd/recvfrom.c: Likewise.
46423         * sysdeps/powerpc/bits/link.h: Likewise.
46424         * sysdeps/powerpc/dl-procinfo.c: Likewise.
46425         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
46426         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
46427         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
46428         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
46429         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
46430         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
46431         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
46432         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
46433         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
46434         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
46435         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
46436         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
46437         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
46438         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
46439         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
46440         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
46441         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
46442         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
46443         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
46444         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
46445         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
46446         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
46447         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
46448         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
46449         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
46450         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
46451         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
46452         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
46453         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
46454         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
46455         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
46456         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
46457         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
46458         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
46459         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
46460         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
46461         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
46462         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
46463         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
46464         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
46465         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
46466         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
46467         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
46468         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
46469         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
46470         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
46471         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
46472         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
46473         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
46474         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
46475         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
46476         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
46477         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
46478         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
46479         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
46480         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
46481         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
46482         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
46483         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
46484         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
46485         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
46486         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
46487         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
46488         * sysdeps/powerpc/sysdep.h: Likewise.
46489         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
46490         * sysdeps/s390/s390-64/sub_n.S: Likewise.
46491         * sysdeps/sh/dl-trampoline.S: Likewise.
46492         * sysdeps/sh/memset.S: Likewise.
46493         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
46494         * sysdeps/sh/strlen.S: Likewise.
46495         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
46496         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
46497         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
46498         * sysdeps/sparc/sparc32/rem.S: Likewise.
46499         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
46500         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
46501         * sysdeps/sparc/sparc32/strchr.S: Likewise.
46502         * sysdeps/sparc/sparc32/udiv.S: Likewise.
46503         * sysdeps/sparc/sparc32/urem.S: Likewise.
46504         * sysdeps/sparc/sparc64/add_n.S: Likewise.
46505         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
46506         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
46507         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
46508         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
46509         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
46510         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
46511         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
46512         * sysdeps/unix/bsd/times.c: Likewise.
46513         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
46514         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
46515         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
46516         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
46517         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
46518         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
46519         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
46520         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
46521         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
46522         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
46523         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
46524         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
46525         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
46526         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
46527         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
46528         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
46529         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
46530         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
46531         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
46532         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
46533         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
46534         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
46535         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
46536         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
46537         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
46538         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
46539         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
46540         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
46541         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
46542         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
46543         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
46544         * sysdeps/x86_64/strcspn.S: Likewise.
46546 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
46548         * locale/C-translit.h: Revert #include <stdint.h> because this is a
46549         generated file.  Regenerate properly from gen-translit.pl.
46550         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
46551         locale/C-translit.h.
46553 2013-06-05  Andreas Schwab  <schwab@suse.de>
46555         [BZ #15100]
46556         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
46557         week as 6 instead of -1.
46558         * time/tst-strptime.c (day_tests): Add test case.
46560 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
46562         * sysdeps/generic/math_private.h
46563         (libc_feholdexcept_setround_53bit): Replace with
46564         libc_feholdsetround_53bit.
46565         (libc_feupdateenv_53bit): Replace with
46566         libc_feresetround_53bit.
46567         (SET_RESTORE_ROUND_53BIT): Adjust.
46569 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
46571         * string/test-strchrnul.c: Add copyright header.
46573         * posix/tst-getaddrinfo4.c: Increase test timeout.
46575 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
46577         [BZ #15536]
46578         * math/libm-test.inc (MAX_EXP): Remove
46579         (MIN_EXP): Define.
46580         (ulp): Use MIN_EXP - MANT_DIG.
46581         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
46583 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
46585         * po/be.po: Revert last change.
46586         * po/zh_CN.po: Likewise.
46587         * po/header.pot: Likewise.
46589 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
46591         * Makefile ($(common-objpfx)linkobj/libc.so): Define
46592         link-libc-deps to empty as target-specific variable.
46593         * Makerules (link-libc-args): New variable.
46594         (libc-for-link): Likewise.
46595         (link-libc-deps): Likewise.
46596         (lib%.so): Depend on $(link-libc-deps).  Link with
46597         $(link-libc-args).
46598         (build-module): Link with $(link-libc-args).
46599         (build-module-asneeded): Likewise.
46600         (build-module-helper-objlist): Filter out $(link-libc-deps) from
46601         list of objects.
46602         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
46603         target-specific variable.
46604         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
46605         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
46606         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
46607         libc.
46608         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
46609         libc and ld.so.
46610         ($(objpfx)libpcprofile.so): Likewise.
46611         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
46612         libc_nonshared.a.
46613         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
46614         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
46615         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
46616         $(link-libc-deps).
46617         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
46618         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
46619         * login/Makefile ($(objpfx)libutil.so): Likewise.
46620         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
46621         * math/Makefile ($(objpfx)libm.so): Likewise.
46622         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
46623         $(objpfx)libnsl.so): Define libc-for-link as target-specific
46624         variable instead of depending directly on libc.
46625         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
46626         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
46627         $(link-libc-deps).
46628         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
46629         libc.
46630         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
46631         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
46632         ($(objpfx)libanl.so): Likewise.
46633         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
46634         ld.so.
46635         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
46636         $(link-libc-deps).
46637         * sysdeps/i386/fpu/Makefile: Remove file.
46638         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
46639         ($(objpfx)libm.so): Remove dependency on ld.so.
46641 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
46643         [BZ # 15553]
46644         * nis/yp_xdr.c (XDRMAXNAME): Define.
46645         (XDRMAXRECORD): Define.
46646         (xdr_domainname): Use XDRMAXNAME.
46647         (xdr_mapname): Likewise.
46648         (xdr_peername): Likewise.
46649         (xdr_keydat): Use XDRMAXRECORD.
46650         (xdr_valdat): Likewise.
46652 2013-05-30  Jeff Law  <law@redhat.com>
46654         [BZ #14256]
46655         * manual/errno.texi (ESTALE): Update to account for more than
46656         just NFS file systems.
46657         * sysdeps/gnu/errlist.c: Regenerated.
46659 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
46661         [BZ #15465]
46662         * elf/Makefile (tests): Add tst-null-argv.
46663         (modules-names):  Add tst-null-argv-lib.
46664         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
46665         (tst-null-argv-ENV): Set environment for tst-null-argv.
46666         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
46667         (RTLD_PROGNAME): New macro.
46668         * elf/tst-null-argv.c: New test case.
46669         * elf/tst-null-argv-lib.c: Library for test case.
46670         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
46671         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
46672         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
46673         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
46674         * elf/dl-init.c (call_init): Likewise.
46675         (_dl_init): Likewise.
46676         * elf/dl-load.c (print_search_path): Likewise.
46677         (_dl_map_object): Likewise.
46678         * elf/dl-lookup.c (do_lookup_x): Likewise.
46679         (add_dependency): Likewise.
46680         (_dl_lookup_symbol_x): Likewise.
46681         (_dl_debug_bindings): Likewise.
46682         * elf/dl-open.c (_dl_show_scope): Likewise.
46683         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
46684         * elf/dl-version.c (match_symbol): Likewise.
46685         (_dl_check_map_versions): Likewise.
46686         * elf/rtld.c (dl_main): Likewise.
46687         (print_unresolved): Use RTLD_PROGNAME.
46688         (print_missing_version): Likewise.
46689         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
46690         (elf_machine_rela): Likewise.
46691         * sysdeps/powerpc/powerpc32/dl-machine.c
46692         (__process_machine_rela): Likewise.
46693         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
46694         Likewise.
46695         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
46696         Likewise.
46697         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
46698         Likewise.
46699         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
46700         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
46701         Likewise.
46702         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
46703         Likewise.
46704         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
46706 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
46708         * po/be.po: Add descriptive title.
46709         * po/zh_CN.po: Likewise.
46710         * po/header.pot: Likewise.
46712 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
46714         * locale/programs/locarchive.c (create_archive): Inlucde fname in
46715         error message.
46716         (enlarge_archive): Likewise.
46718 2013-05-28  Ben North  <ben@redfrontdoor.org>
46720         * manual/arith.texi (frexp): It is the magnitude of the return
46721         value which lies in [0.5, 1), not the return value itself.
46723 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46725         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46727 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
46729         * stdio-common/bug26.c (main): Correct fscanf template.
46731         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
46732         declare _dl_skip_args.
46734         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
46735         Don't declare.
46737         * manual/platform.texi: Add missing @end deftypefun.
46739 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
46741         [BZ #15529]
46742         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
46743         bit of mantissa of 2^16382.
46744         * math/libm-test.inc (hypot_test_data): Add more tests.
46746         * math/libm-test.inc: Add drem and pow10 to list of tested
46747         functions.
46748         (pow10_test): New function.
46749         (drem_test): Likewise.
46750         (drem_test_tonearest): Likewise.
46751         (drem_test_towardzero): Likewise.
46752         (drem_test_downward): Likewise.
46753         (drem_test_upward): Likewise.
46754         (main): Call the new functions.
46756         * math/libm-test.inc (finite_test_data): Remove.
46757         (finite_test): Run tests from isfinite_test_data.
46758         (gamma_test_data): Remove.
46759         (gamma_test): Run tests from lgamma_test_data.
46760         * sysdeps/i386/fpu/libm-test-ulps: Update.
46761         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46763 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46765         * manual/platform.texi: Add PowerPC PPR function set documentation.
46766         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
46767         implementation.
46769 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
46771         * math/libm-test.inc (MAX_EXP): Define.
46772         (ULPDIFF): Define.
46773         (ulp): New function.
46774         (check_float_internal): Use ULPDIFF.
46775         (cpow_test): Disable failing test.
46776         (check_ulp): Test ulp() implemetnation.
46777         (main): Call check_ulp before starting tests.
46779 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
46781         * math/gen-libm-test.pl (generate_testfile): Do not handle
46782         START_DATA and END_DATA.
46783         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
46784         END_DATA.
46785         (acos_tonearest_test_data): Likewise.
46786         (acos_towardzero_test_data): Likewise.
46787         (acos_downward_test_data): Likewise.
46788         (acos_upward_test_data): Likewise.
46789         (acosh_test_data): Likewise.
46790         (asin_test_data): Likewise.
46791         (asin_tonearest_test_data): Likewise.
46792         (asin_towardzero_test_data): Likewise.
46793         (asin_downward_test_data): Likewise.
46794         (asin_upward_test_data): Likewise.
46795         (asinh_test_data): Likewise.
46796         (atan_test_data): Likewise.
46797         (atanh_test_data): Likewise.
46798         (atan2_test_data): Likewise.
46799         (cabs_test_data): Likewise.
46800         (cacos_test_data): Likewise.
46801         (cacosh_test_data): Likewise.
46802         (carg_test_data): Likewise.
46803         (casin_test_data): Likewise.
46804         (casinh_test_data): Likewise.
46805         (catan_test_data): Likewise.
46806         (catanh_test_data): Likewise.
46807         (cbrt_test_data): Likewise.
46808         (ccos_test_data): Likewise.
46809         (ccosh_test_data): Likewise.
46810         (ceil_test_data): Likewise.
46811         (cexp_test_data): Likewise.
46812         (cimag_test_data): Likewise.
46813         (clog_test_data): Likewise.
46814         (clog10_test_data): Likewise.
46815         (conj_test_data): Likewise.
46816         (copysign_test_data): Likewise.
46817         (cos_test_data): Likewise.
46818         (cos_tonearest_test_data): Likewise.
46819         (cos_towardzero_test_data): Likewise.
46820         (cos_downward_test_data): Likewise.
46821         (cos_upward_test_data): Likewise.
46822         (cosh_test_data): Likewise.
46823         (cosh_tonearest_test_data): Likewise.
46824         (cosh_towardzero_test_data): Likewise.
46825         (cosh_downward_test_data): Likewise.
46826         (cosh_upward_test_data): Likewise.
46827         (cpow_test_data): Likewise.
46828         (cproj_test_data): Likewise.
46829         (creal_test_data): Likewise.
46830         (csin_test_data): Likewise.
46831         (csinh_test_data): Likewise.
46832         (csqrt_test_data): Likewise.
46833         (ctan_test_data): Likewise.
46834         (ctan_tonearest_test_data): Likewise.
46835         (ctan_towardzero_test_data): Likewise.
46836         (ctan_downward_test_data): Likewise.
46837         (ctan_upward_test_data): Likewise.
46838         (ctanh_test_data): Likewise.
46839         (ctanh_tonearest_test_data): Likewise.
46840         (ctanh_towardzero_test_data): Likewise.
46841         (ctanh_downward_test_data): Likewise.
46842         (ctanh_upward_test_data): Likewise.
46843         (erf_test_data): Likewise.
46844         (erfc_test_data): Likewise.
46845         (exp_test_data): Likewise.
46846         (exp_tonearest_test_data): Likewise.
46847         (exp_towardzero_test_data): Likewise.
46848         (exp_downward_test_data): Likewise.
46849         (exp_upward_test_data): Likewise.
46850         (exp10_test_data): Likewise.
46851         (exp2_test_data): Likewise.
46852         (expm1_test_data): Likewise.
46853         (fabs_test_data): Likewise.
46854         (fdim_test_data): Likewise.
46855         (finite_test_data): Likewise.
46856         (floor_test_data): Likewise.
46857         (fma_test_data): Likewise.
46858         (fma_towardzero_test_data): Likewise.
46859         (fma_downward_test_data): Likewise.
46860         (fma_upward_test_data): Likewise.
46861         (fmax_test_data): Likewise.
46862         (fmin_test_data): Likewise.
46863         (fmod_test_data): Likewise.
46864         (fpclassify_test_data): Likewise.
46865         (frexp_test_data): Likewise.
46866         (gamma_test_data): Likewise.
46867         (hypot_test_data): Likewise.
46868         (ilogb_test_data): Likewise.
46869         (isfinite_test_data): Likewise.
46870         (isgreater_test_data): Likewise.
46871         (isgreaterequal_test_data): Likewise.
46872         (isinf_test_data): Likewise.
46873         (isless_test_data): Likewise.
46874         (islessequal_test_data): Likewise.
46875         (islessgreater_test_data): Likewise.
46876         (isnan_test_data): Likewise.
46877         (isnormal_test_data): Likewise.
46878         (issignaling_test_data): Likewise.
46879         (isunordered_test_data): Likewise.
46880         (j0_test_data): Likewise.
46881         (j1_test_data): Likewise.
46882         (jn_test_data): Likewise.
46883         (ldexp_test_data): Likewise.
46884         (lgamma_test_data): Likewise.
46885         (lrint_test_data): Likewise.
46886         (lrint_tonearest_test_data): Likewise.
46887         (lrint_towardzero_test_data): Likewise.
46888         (lrint_downward_test_data): Likewise.
46889         (lrint_upward_test_data): Likewise.
46890         (llrint_test_data): Likewise.
46891         (llrint_tonearest_test_data): Likewise.
46892         (llrint_towardzero_test_data): Likewise.
46893         (llrint_downward_test_data): Likewise.
46894         (llrint_upward_test_data): Likewise.
46895         (log_test_data): Likewise.
46896         (log10_test_data): Likewise.
46897         (log1p_test_data): Likewise.
46898         (log2_test_data): Likewise.
46899         (logb_test_data): Likewise.
46900         (logb_downward_test_data): Likewise.
46901         (lround_test_data): Likewise.
46902         (llround_test_data): Likewise.
46903         (modf_test_data): Likewise.
46904         (nearbyint_test_data): Likewise.
46905         (nextafter_test_data): Likewise.
46906         (nexttoward_test_data): Likewise.
46907         (pow_test_data): Likewise.
46908         (pow_tonearest_test_data): Likewise.
46909         (pow_towardzero_test_data): Likewise.
46910         (pow_downward_test_data): Likewise.
46911         (pow_upward_test_data): Likewise.
46912         (remainder_test_data): Likewise.
46913         (remainder_tonearest_test_data): Likewise.
46914         (remainder_towardzero_test_data): Likewise.
46915         (remainder_downward_test_data): Likewise.
46916         (remainder_upward_test_data): Likewise.
46917         (remquo_test_data): Likewise.
46918         (rint_test_data): Likewise.
46919         (rint_tonearest_test_data): Likewise.
46920         (rint_towardzero_test_data): Likewise.
46921         (rint_downward_test_data): Likewise.
46922         (rint_upward_test_data): Likewise.
46923         (round_test_data): Likewise.
46924         (scalb_test_data): Likewise.
46925         (scalbn_test_data): Likewise.
46926         (scalbln_test_data): Likewise.
46927         (signbit_test_data): Likewise.
46928         (sin_test_data): Likewise.
46929         (sin_tonearest_test_data): Likewise.
46930         (sin_towardzero_test_data): Likewise.
46931         (sin_downward_test_data): Likewise.
46932         (sin_upward_test_data): Likewise.
46933         (sincos_test_data): Likewise.
46934         (sinh_test_data): Likewise.
46935         (sinh_tonearest_test_data): Likewise.
46936         (sinh_towardzero_test_data): Likewise.
46937         (sinh_downward_test_data): Likewise.
46938         (sinh_upward_test_data): Likewise.
46939         (sqrt_test_data): Likewise.
46940         (tan_test_data): Likewise.
46941         (tan_tonearest_test_data): Likewise.
46942         (tan_towardzero_test_data): Likewise.
46943         (tan_downward_test_data): Likewise.
46944         (tan_upward_test_data): Likewise.
46945         (tanh_test_data): Likewise.
46946         (tgamma_test_data): Likewise.
46947         (trunc_test_data): Likewise.
46948         (y0_test_data): Likewise.
46949         (y1_test_data): Likewise.
46950         (yn_test_data): Likewise.
46951         (significand_test_data): Likewise.
46953         * math/gen-libm-test.pl (@functions): Remove variable.
46954         (generate_testfile): Don't handle START and END lines.
46955         * math/libm-test.inc (START): New macro.
46956         (END): Likewise.
46957         (END_COMPLEX): Likewise.
46958         (acos_test): Use END macro without arguments.
46959         (acos_test_tonearest): Likewise.
46960         (acos_test_towardzero): Likewise.
46961         (acos_test_downward): Likewise.
46962         (acos_test_upward): Likewise.
46963         (acosh_test): Likewise.
46964         (asin_test): Likewise.
46965         (asin_test_tonearest): Likewise.
46966         (asin_test_towardzero): Likewise.
46967         (asin_test_downward): Likewise.
46968         (asin_test_upward): Likewise.
46969         (asinh_test): Likewise.
46970         (atan_test): Likewise.
46971         (atanh_test): Likewise.
46972         (atan2_test): Likewise.
46973         (cabs_test): Likewise.
46974         (cacos_test): Use END_COMPLEX macro without arguments.
46975         (cacosh_test): Likewise.
46976         (carg_test): Use END macro without arguments.
46977         (casin_test): Use END_COMPLEX macro without arguments.
46978         (casinh_test): Likewise.
46979         (catan_test): Likewise.
46980         (catanh_test): Likewise.
46981         (cbrt_test): Use END macro without arguments.
46982         (ccos_test): Use END_COMPLEX macro without arguments.
46983         (ccosh_test): Likewise.
46984         (ceil_test): Use END macro without arguments.
46985         (cexp_test): Use END_COMPLEX macro without arguments.
46986         (cimag_test): Use END macro without arguments.
46987         (clog_test): Use END_COMPLEX macro without arguments.
46988         (clog10_test): Likewise.
46989         (conj_test): Likewise.
46990         (copysign_test): Use END macro without arguments.
46991         (cos_test): Likewise.
46992         (cos_test_tonearest): Likewise.
46993         (cos_test_towardzero): Likewise.
46994         (cos_test_downward): Likewise.
46995         (cos_test_upward): Likewise.
46996         (cosh_test): Likewise.
46997         (cosh_test_tonearest): Likewise.
46998         (cosh_test_towardzero): Likewise.
46999         (cosh_test_downward): Likewise.
47000         (cosh_test_upward): Likewise.
47001         (cpow_test): Use END_COMPLEX macro without arguments.
47002         (cproj_test): Likewise.
47003         (creal_test): Use END macro without arguments.
47004         (csin_test): Use END_COMPLEX macro without arguments.
47005         (csinh_test): Likewise.
47006         (csqrt_test): Likewise.
47007         (ctan_test): Likewise.
47008         (ctan_test_tonearest): Likewise.
47009         (ctan_test_towardzero): Likewise.
47010         (ctan_test_downward): Likewise.
47011         (ctan_test_upward): Likewise.
47012         (ctanh_test): Likewise.
47013         (ctanh_test_tonearest): Likewise.
47014         (ctanh_test_towardzero): Likewise.
47015         (ctanh_test_downward): Likewise.
47016         (ctanh_test_upward): Likewise.
47017         (erf_test): Use END macro without arguments.
47018         (erfc_test): Likewise.
47019         (exp_test): Likewise.
47020         (exp_test_tonearest): Likewise.
47021         (exp_test_towardzero): Likewise.
47022         (exp_test_downward): Likewise.
47023         (exp_test_upward): Likewise.
47024         (exp10_test): Likewise.
47025         (exp2_test): Likewise.
47026         (expm1_test): Likewise.
47027         (fabs_test): Likewise.
47028         (fdim_test): Likewise.
47029         (finite_test): Likewise.
47030         (floor_test): Likewise.
47031         (fma_test): Likewise.
47032         (fma_test_towardzero): Likewise.
47033         (fma_test_downward): Likewise.
47034         (fma_test_upward): Likewise.
47035         (fmax_test): Likewise.
47036         (fmin_test): Likewise.
47037         (fmod_test): Likewise.
47038         (fpclassify_test): Likewise.
47039         (frexp_test): Likewise.
47040         (gamma_test): Likewise.
47041         (hypot_test): Likewise.
47042         (ilogb_test): Likewise.
47043         (isfinite_test): Likewise.
47044         (isgreater_test): Likewise.
47045         (isgreaterequal_test): Likewise.
47046         (isinf_test): Likewise.
47047         (isless_test): Likewise.
47048         (islessequal_test): Likewise.
47049         (islessgreater_test): Likewise.
47050         (isnan_test): Likewise.
47051         (isnormal_test): Likewise.
47052         (issignaling_test): Likewise.
47053         (isunordered_test): Likewise.
47054         (j0_test): Likewise.
47055         (j1_test): Likewise.
47056         (jn_test): Likewise.
47057         (ldexp_test): Likewise.
47058         (lgamma_test): Likewise.
47059         (lrint_test): Likewise.
47060         (lrint_test_tonearest): Likewise.
47061         (lrint_test_towardzero): Likewise.
47062         (lrint_test_downward): Likewise.
47063         (lrint_test_upward): Likewise.
47064         (llrint_test): Likewise.
47065         (llrint_test_tonearest): Likewise.
47066         (llrint_test_towardzero): Likewise.
47067         (llrint_test_downward): Likewise.
47068         (llrint_test_upward): Likewise.
47069         (log_test): Likewise.
47070         (log10_test): Likewise.
47071         (log1p_test): Likewise.
47072         (log2_test): Likewise.
47073         (logb_test): Likewise.
47074         (logb_test_downward): Likewise.
47075         (lround_test): Likewise.
47076         (llround_test): Likewise.
47077         (modf_test): Likewise.
47078         (nearbyint_test): Likewise.
47079         (nextafter_test): Likewise.
47080         (nexttoward_test): Likewise.
47081         (pow_test): Likewise.
47082         (pow_test_tonearest): Likewise.
47083         (pow_test_towardzero): Likewise.
47084         (pow_test_downward): Likewise.
47085         (pow_test_upward): Likewise.
47086         (remainder_test): Likewise.
47087         (remainder_test_tonearest): Likewise.
47088         (remainder_test_towardzero): Likewise.
47089         (remainder_test_downward): Likewise.
47090         (remainder_test_upward): Likewise.
47091         (remquo_test): Likewise.
47092         (rint_test): Likewise.
47093         (rint_test_tonearest): Likewise.
47094         (rint_test_towardzero): Likewise.
47095         (rint_test_downward): Likewise.
47096         (rint_test_upward): Likewise.
47097         (round_test): Likewise.
47098         (scalb_test): Likewise.
47099         (scalbn_test): Likewise.
47100         (scalbln_test): Likewise.
47101         (signbit_test): Likewise.
47102         (sin_test): Likewise.
47103         (sin_test_tonearest): Likewise.
47104         (sin_test_towardzero): Likewise.
47105         (sin_test_downward): Likewise.
47106         (sin_test_upward): Likewise.
47107         (sincos_test): Likewise.
47108         (sinh_test): Likewise.
47109         (sinh_test_tonearest): Likewise.
47110         (sinh_test_towardzero): Likewise.
47111         (sinh_test_downward): Likewise.
47112         (sinh_test_upward): Likewise.
47113         (sqrt_test): Likewise.
47114         (tan_test): Likewise.
47115         (tan_test_tonearest): Likewise.
47116         (tan_test_towardzero): Likewise.
47117         (tan_test_downward): Likewise.
47118         (tan_test_upward): Likewise.
47119         (tanh_test): Likewise.
47120         (tgamma_test): Likewise.
47121         (trunc_test): Likewise.
47122         (y0_test): Likewise.
47123         (y1_test): Likewise.
47124         (yn_test): Likewise.
47125         (significand_test): Likewise.
47127 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
47129         [BZ #15381]
47130         * libio/genops.c (_IO_no_init): Initialize wide struct info.
47132 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
47134         [BZ #14894]
47135         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
47136         __ppc_mdoio and __ppc_mdoom.
47137         * manual/platform.texi: Document new functions __ppc_yield,
47138         __ppc_mdoio and __ppc_mdoom.
47140 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
47142         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
47143         (main): Mention "tls" pseudo-hwcap is legacy.
47144         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
47146 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
47148         * math/gen-libm-test.pl (parse_args): Output only string of
47149         arguments as text for test name, not full call or descriptions of
47150         tests for extra outputs.
47151         (generate_testfile): Do not pass function name to parse_args.
47152         Generate this_func variable from START.
47153         * math/libm-test.inc (struct test_f_f_data): Rename test_name
47154         field to arg_str.
47155         (struct test_ff_f_data): Likewise.
47156         (test_ff_f_data_nexttoward): Likewise.
47157         (struct test_fi_f_data): Likewise.
47158         (struct test_fl_f_data): Likewise.
47159         (struct test_if_f_data): Likewise.
47160         (struct test_fff_f_data): Likewise.
47161         (struct test_c_f_data): Likewise.
47162         (struct test_f_f1_data): Likewise.  Remove field extra_name.
47163         (struct test_fF_f1_data): Likewise.
47164         (struct test_ffI_f1_data): Likewise.
47165         (struct test_c_c_data): Rename test_name field to arg_str.
47166         (struct test_cc_c_data): Likewise.
47167         (struct test_f_i_data): Likewise.
47168         (struct test_ff_i_data): Likewise.
47169         (struct test_f_l_data): Likewise.
47170         (struct test_f_L_data): Likewise.
47171         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
47172         and extra2_name.
47173         (COMMON_TEST_SETUP): New macro.
47174         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
47175         (COMMON_TEST_CLEANUP): Likewise.
47176         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
47177         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
47178         macros.
47179         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
47180         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
47181         macros.
47182         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
47183         (RUN_TEST_fff_f): Take argument string.  Call new setup and
47184         cleanup macros.
47185         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
47186         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
47187         macros.
47188         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
47189         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
47190         macros.
47191         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
47192         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
47193         cleanup macros.
47194         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
47195         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
47196         cleanup macros.
47197         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
47198         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
47199         cleanup macros.
47200         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
47201         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
47202         macros.
47203         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
47204         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
47205         macros.
47206         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
47207         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
47208         macros.
47209         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
47210         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
47211         cleanup macros.
47212         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
47213         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
47214         cleanup macros.
47215         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
47216         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
47217         macros.
47218         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
47219         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
47220         cleanup macros.
47221         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
47222         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
47223         macros.
47224         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
47225         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
47226         macros.
47227         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
47228         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
47229         cleanup macros.
47230         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
47232 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
47234         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
47235         to _sifields.sigfault.
47236         (si_addr_lsb): Define new macro.
47237         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
47238         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
47239         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
47241 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
47243         [BZ #15441]
47244         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
47245         returns -1.
47246         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
47247         null return -1.
47248         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
47249         loading the domain.
47251 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
47253         * math/gen-libm-test.pl (parse_args): Do not include expected
47254         result in test name.
47255         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
47256         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
47257         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
47258         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
47259         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
47260         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47262 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
47264         * benchtests/Makefile: Sort function entries.
47266         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
47267         tanh, asinh, acosh, atanh.
47268         * benchtests/acos-inputs: New file.
47269         * benchtests/acosh-inputs: New file.
47270         * benchtests/asin-inputs: New file.
47271         * benchtests/asinh-inputs: New file.
47272         * benchtests/atanh-inputs: New file.
47273         * benchtests/cosh-inputs: New file.
47274         * benchtests/log-inputs: New file.
47275         * benchtests/sinh-inputs: New file.
47276         * benchtests/tanh-inputs: New file.
47278 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
47280         [BZ #15339]
47281         * posix/tst-getaddrinfo4.c: New test.
47282         * posix/Makefile (tests): Add it.
47284 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
47286         [BZ #15339]
47287         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
47288         when no services were used.
47289         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
47290         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
47292 2013-05-21  Andreas Schwab  <schwab@suse.de>
47294         [BZ #15014]
47295         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
47296         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
47297         successful.
47298         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
47299         redundant variable declarations and reallocation of buffer when
47300         parsing as IPv6 address.  Always set NSS status when called from
47301         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
47302         buffer too small.  Correct computation of needed size.
47303         * nss/Makefile (tests): Add test-digits-dots.
47304         * nss/test-digits-dots.c: New test.
47306 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
47308         * benchtests/Makefile: Remove instructions for adding
47309         benchmark tests.
47310         * benchtests/README: New file to explain how to execute and
47311         enhance the benchmark tests.
47313 2013-05-21  Andreas Schwab  <schwab@suse.de>
47315         [BZ #15493]
47316         * setjmp/Makefile (tests): Add tst-sigsetjmp.
47317         * setjmp/tst-sigsetjmp.c: New test.
47319 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
47321         * sysdeps/x86_64/memset.S (memset): New implementation.
47322         (__bzero): Likewise.
47323         (__memset_tail): New function.
47325 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
47327         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
47328         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
47329         __memcpy_sse2_unaligned ifunc selection.
47330         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
47331         Add memcpy-sse2-unaligned.S.
47332         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
47333         Add: __memcpy_sse2_unaligned.
47335 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
47337         [BZ #15490]
47338         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
47339         math_force_eval before restoring floating-point envrionment.
47340         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
47341         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
47342         Likewise.
47343         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
47344         <math_private.h>.
47345         (__nearbyintl): Use math_force_eval before restoring
47346         floating-point environment.
47347         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
47349         * math/gen-libm-test.pl (special_functions): Remove.
47350         (parse_args): Don't handle TEST_extra.  Handle functions with no
47351         return value.
47352         * math/libm-test.inc (struct test_sincos_data): Replace with
47353         struct test_fFF_11_data.
47354         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
47355         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
47356         (sincos_test_data): Change element type to struct
47357         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
47358         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
47359         RUN_TEST_LOOP_sincos.
47360         * math/README.libm-test: Don't mention special handling of
47361         individual functions.
47362         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
47363         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
47364         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
47365         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
47366         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
47367         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47369         * math/gen-libm-test.pl (get_variable): Remove function.
47370         (parse_args): Don't show pointer parameters to call in test
47371         names.  Use "extra output N" in test names for extra outputs
47372         rather than naming variables.
47374 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
47376         [BZ #15488]
47377         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
47378         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
47379         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
47380         double tests.
47381         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
47382         disable.
47383         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
47384         check_long_double.
47386         * math/gen-libm-test.pl (@tests): Remove variable.
47387         ($count): Likewise.
47388         (new_test): Remove function.
47389         (show_exceptions): New function.
47390         (special_functions): Use show_exceptions instead of new_test.
47391         (parse_args): Likewise.
47392         (generate_testfile): Pass only function name in generated call to
47393         print_max_error or print_complex_max_error.
47394         (get_ulps): Do not handle complex tests specially.
47395         (output_test): Rename to ...
47396         (get_all_ulps_for_test): ... this.  Return a string rather than
47397         printing to a file.  Require ulps to be present.
47398         (output_ulps): Generate arrays rather than #defines.
47399         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
47400         (struct ulp_data): New type.
47401         (BUILD_COMPLEX_ULP): Remove macro.
47402         (compare_ulp_data): New function.
47403         (find_ulps): Likewise.
47404         (find_test_ulps): Likewise.
47405         (find_function_ulps): Likewise.
47406         (find_complex_function_ulps): Likewise.
47407         (print_max_error): Determine allowed ulps using
47408         find_function_ulps.
47409         (print_complex_max_error): Determine allowed ulps using
47410         find_complex_function_ulps.
47411         (check_float_internal): Determine max ulps using find_test_ulps.
47412         (check_float): Do not take max_ulp parameter.  Update call to
47413         check_float_internal.
47414         (check_complex): Likewise.
47415         (check_int): Do not take max_ulp parameter.
47416         (check_long): Likewise.
47417         (check_bool): Likewise.
47418         (check_longlong): Likewise.
47419         (struct test_f_f_data): Remove max_ulp field.
47420         (struct test_ff_f_data): Likewise.
47421         (struct test_ff_f_data_nexttoward): Likewise.
47422         (struct test_fi_f_data): Likewise.
47423         (struct test_fl_f_data): Likewise.
47424         (struct test_if_f_data): Likewise.
47425         (struct test_fff_f_data): Likewise.
47426         (struct test_c_f_data): Likewise.
47427         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
47428         (struct test_fF_f1_data): Likewise.
47429         (struct test_ffI_f1_data): Likewise.
47430         (struct test_c_c_data): Remove max_ulp field.
47431         (struct test_cc_c_data): Likewise.
47432         (struct test_f_i_data): Likewise.
47433         (struct test_ff_i_data): Likewise.
47434         (struct test_f_l_data): Likewise.
47435         (struct test_f_L_data): Likewise.
47436         (struct test_sincos_data): Likewise.
47437         (RUN_TEST_f_f): Do not handle ulps.
47438         (RUN_TEST_LOOP_f_f): Likewise.
47439         (RUN_TEST_2_f): Likewise.
47440         (RUN_TEST_LOOP_2_f): Likewise.
47441         (RUN_TEST_fff_f): Likewise.
47442         (RUN_TEST_LOOP_fff_f): Likewise.
47443         (RUN_TEST_c_f): Likewise.
47444         (RUN_TEST_LOOP_c_f): Likewise.
47445         (RUN_TEST_f_f1): Likewise.
47446         (RUN_TEST_LOOP_f_f1): Likewise.
47447         (RUN_TEST_fF_f1): Likewise.
47448         (RUN_TEST_LOOP_fF_f1): Likewise.
47449         (RUN_TEST_fI_f1): Likewise.
47450         (RUN_TEST_LOOP_fI_f1): Likewise.
47451         (RUN_TEST_ffI_f1): Likewise.
47452         (RUN_TEST_LOOP_ffI_f1): Likewise.
47453         (RUN_TEST_c_c): Likewise.
47454         (RUN_TEST_LOOP_c_c): Likewise.
47455         (RUN_TEST_cc_c): Likewise.
47456         (RUN_TEST_LOOP_cc_c): Likewise.
47457         (RUN_TEST_f_i): Likewise.
47458         (RUN_TEST_LOOP_f_i): Likewise.
47459         (RUN_TEST_f_i_tg): Likewise.
47460         (RUN_TEST_LOOP_f_i_tg): Likewise.
47461         (RUN_TEST_ff_i_tg): Likewise.
47462         (RUN_TEST_LOOP_ff_i_tg): Likewise.
47463         (RUN_TEST_f_b): Likewise.
47464         (RUN_TEST_LOOP_f_b): Likewise.
47465         (RUN_TEST_f_b_tg): Likewise.
47466         (RUN_TEST_LOOP_f_b_tg): Likewise.
47467         (RUN_TEST_f_l): Likewise.
47468         (RUN_TEST_LOOP_f_l): Likewise.
47469         (RUN_TEST_f_L): Likewise.
47470         (RUN_TEST_LOOP_f_L): Likewise.
47471         (RUN_TEST_sincos): Likewise.
47472         (RUN_TEST_LOOP_sincos): Likewise.
47474 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
47476         [BZ #15480]
47477         [BZ #15485]
47478         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
47479         main case of finite arguments, set rounding mode to FE_TONEAREST
47480         and discard exceptions.
47481         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
47482         exceptions.
47483         (remainder_tonearest_test_data): New variable.
47484         (remainder_test_tonearest): New function.
47485         (remainder_towardzero_test_data): New variable.
47486         (remainder_test_towardzero): New function.
47487         (remainder_downward_test_data): New variable.
47488         (remainder_test_downward): New function.
47489         (remainder_upward_test_data): New variable.
47490         (remainder_test_upward): New function.
47491         (main): Call the new test functions.
47493         * math/libm-test.inc (struct test_f_f1_data): Remove field
47494         extra_init.
47495         (struct test_fF_f1_data): Likewise.
47496         (struct test_ffI_f1_data): Likewise.
47497         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
47498         based on value of EXTRA_EXPECTED.
47499         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
47500         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
47501         EXTRA_VAR based on value of EXTRA_EXPECTED.
47502         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
47503         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
47504         EXTRA_VAR based on value of EXTRA_EXPECTED.
47505         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
47506         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
47507         EXTRA_VAR based on value of EXTRA_EXPECTED.
47508         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
47509         * math/gen-libm-test.pl (parse_args): Don't output initializers
47510         for extra output values.
47512         * math/libm-test.inc (check_int): Expect result to be exactly
47513         equal to expected value and do not handle ulps.
47514         (check_long): Likewise.
47515         (check_longlong): Likewise.
47517         * math/libm-test.inc (ceil_test_data): Test for "inexact"
47518         exceptions.
47519         (cimag_test_data): Likewise.
47520         (conj_test_data): Likewise.
47521         (copysign_test_data): Likewise.
47522         (cproj_test_data): Likewise.
47523         (creal_test_data): Likewise.
47524         (fabs_test_data): Likewise.
47525         (fdim_test_data): Likewise.
47526         (finite_test_data): Likewise.
47527         (floor_test_data): Likewise.
47528         (fmax_test_data): Likewise.
47529         (fmin_test_data): Likewise.
47530         (fmod_test_data): Likewise.
47531         (fpclassify_test_data): Likewise.
47532         (frexp_test_data): Likewise.
47533         (ilogb_test_data): Likewise.
47534         (isfinite_test_data): Likewise.
47535         (isgreater_test_data): Likewise.
47536         (isgreaterequal_test_data): Likewise.
47537         (isinf_test_data): Likewise.
47538         (isless_test_data): Likewise.
47539         (islessequal_test_data): Likewise.
47540         (islessgreater_test_data): Likewise.
47541         (isnan_test_data): Likewise.
47542         (isnormal_test_data): Likewise.
47543         (issignaling_test_data): Likewise.
47544         (isunordered_test_data): Likewise.
47545         (ldexp_test_data): Likewise.
47546         (lrint_test_data): Likewise.
47547         (lrint_test_data) [TEST_FLOAT]: Disable one test.
47548         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
47549         (lrint_tonearest_test_data): Test for "inexact" exceptions.
47550         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
47551         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
47552         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
47553         test input.
47554         (lrint_towardzero_test_data): Test for "inexact" exceptions.
47555         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
47556         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
47557         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
47558         that test input.
47559         (lrint_downward_test_data): Test for "inexact" exceptions.
47560         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
47561         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
47562         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
47563         test input.
47564         (lrint_upward_test_data): Test for "inexact" exceptions.
47565         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
47566         test input.
47567         (llrint_test_data): Test for "inexact" exceptions.
47568         (llrint_test_data) [TEST_FLOAT]: Disable one test.
47569         (llrint_tonearest_test_data): Test for "inexact" exceptions.
47570         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
47571         (llrint_towardzero_test_data): Test for "inexact" exceptions.
47572         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
47573         (llrint_downward_test_data): Test for "inexact" exceptions.
47574         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
47575         (llrint_upward_test_data): Test for "inexact" exceptions.
47576         (logb_test_data): Likewise.
47577         (logb_downward_test_data): Likewise.
47578         (nextafter_test_data): Likewise.
47579         (nexttoward_test_data): Likewise.
47580         (remainder_test_data): Likewise.
47581         (remquo_test_data): Likewise.
47582         (scalbn_test_data): Likewise.
47583         (scalbln_test_data): Likewise.
47584         (signbit_test_data): Likewise.
47585         (sqrt_test_data): Likewise.
47586         (significand_test_data): Likewise.
47588 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
47590         [BZ #15424]
47591         * benchtests/bench-modf.c (struct args): Mark arg0 as
47592         volatile.
47593         * scripts/bench.pl: Mark members of struct args as volatile.
47595 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47597         [BZ # 15497]
47598         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
47599         negative infinity on POWER6 or lower.
47600         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
47602 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
47604         [BZ #15442]
47605         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
47606         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
47607         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
47608         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
47609         (_FP_SETQNAN): New macro.
47610         (_FP_SETQNAN_SEMIRAW): Likewise.
47611         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
47612         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
47613         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
47614         (FP_EXTEND): Use _FP_FRAC_SNANP.
47615         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
47616         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
47617         into account.
47618         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
47619         New macro.
47620         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
47621         Likewise.
47623 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
47625         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
47626         with DIVIDE_BY_ZERO_EXCEPTION.
47627         (gamma_test_data): Likewise.
47628         (lgamma_test_data): Likewise.
47629         (log_test_data): Likewise.
47630         (log10_test_data): Likewise.
47631         (log2_test_data): Likewise.
47632         (tgamma_test_data): Likewise.
47634         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
47635         (acos_test_tonearest): Likewise.
47636         (acos_test_towardzero): Likewise.
47637         (acos_test_downward): Likewise.
47638         (acos_test_upward): Likewise.
47639         (acosh_test): Likewise.
47640         (asin_test): Likewise.
47641         (asin_test_tonearest): Likewise.
47642         (asin_test_towardzero): Likewise.
47643         (asin_test_downward): Likewise.
47644         (asin_test_upward): Likewise.
47645         (asinh_test): Likewise.
47646         (atan_test): Likewise.
47647         (atanh_test): Likewise.
47648         (atan2_test): Likewise.
47649         (cabs_test): Likewise.
47650         (cacos_test): Likewise.
47651         (cacosh_test): Likewise.
47652         (casin_test): Likewise.
47653         (casinh_test): Likewise.
47654         (catan_test): Likewise.
47655         (catanh_test): Likewise.
47656         (cbrt_test): Likewise.
47657         (ccos_test): Likewise.
47658         (ccosh_test): Likewise.
47659         (cexp_test): Likewise.
47660         (clog_test): Likewise.
47661         (clog10_test): Likewise.
47662         (cos_test): Likewise.
47663         (cos_test_tonearest): Likewise.
47664         (cos_test_towardzero): Likewise.
47665         (cos_test_downward): Likewise.
47666         (cos_test_upward): Likewise.
47667         (cosh_test): Likewise.
47668         (cosh_test_tonearest): Likewise.
47669         (cosh_test_towardzero): Likewise.
47670         (cosh_test_downward): Likewise.
47671         (cosh_test_upward): Likewise.
47672         (cpow_test): Likewise.
47673         (csin_test): Likewise.
47674         (csinh_test): Likewise.
47675         (csqrt_test): Likewise.
47676         (ctan_test): Likewise.
47677         (ctan_test_tonearest): Likewise.
47678         (ctan_test_towardzero): Likewise.
47679         (ctan_test_downward): Likewise.
47680         (ctan_test_upward): Likewise.
47681         (ctanh_test): Likewise.
47682         (ctanh_test_tonearest): Likewise.
47683         (ctanh_test_towardzero): Likewise.
47684         (ctanh_test_downward): Likewise.
47685         (ctanh_test_upward): Likewise.
47686         (erf_test): Likewise.
47687         (erfc_test): Likewise.
47688         (exp_test): Likewise.
47689         (exp_test_tonearest): Likewise.
47690         (exp_test_towardzero): Likewise.
47691         (exp_test_downward): Likewise.
47692         (exp_test_upward): Likewise.
47693         (exp10_test): Likewise.
47694         (exp2_test): Likewise.
47695         (expm1_test): Likewise.
47696         (fmod_test): Likewise.
47697         (gamma_test): Likewise.
47698         (hypot_test): Likewise.
47699         (j0_test): Likewise.
47700         (j1_test): Likewise.
47701         (jn_test): Likewise.
47702         (lgamma_test): Likewise.
47703         (log_test): Likewise.
47704         (log10_test): Likewise.
47705         (log1p_test): Likewise.
47706         (log2_test): Likewise.
47707         (logb_test_downward): Likewise.
47708         (pow_test): Likewise.
47709         (pow_test_tonearest): Likewise.
47710         (pow_test_towardzero): Likewise.
47711         (pow_test_downward): Likewise.
47712         (pow_test_upward): Likewise.
47713         (remainder_test): Likewise.
47714         (remquo_test): Likewise.
47715         (sin_test): Likewise.
47716         (sin_test_tonearest): Likewise.
47717         (sin_test_towardzero): Likewise.
47718         (sin_test_downward): Likewise.
47719         (sin_test_upward): Likewise.
47720         (sincos_test): Likewise.
47721         (sinh_test): Likewise.
47722         (sinh_test_tonearest): Likewise.
47723         (sinh_test_towardzero): Likewise.
47724         (sinh_test_downward): Likewise.
47725         (sinh_test_upward): Likewise.
47726         (sqrt_test): Likewise.
47727         (tan_test): Likewise.
47728         (tan_test_tonearest): Likewise.
47729         (tan_test_towardzero): Likewise.
47730         (tan_test_downward): Likewise.
47731         (tan_test_upward): Likewise.
47732         (tanh_test): Likewise.
47733         (tgamma_test): Likewise.
47734         (y0_test): Likewise.
47735         (y1_test): Likewise.
47736         (yn_test): Likewise.
47738         * math/gen-libm-test.pl (adjust_arg): Remove function.
47739         (special_function): Remove argument $in_func.  Only handle
47740         generating output for tables of tests, not inside functions.
47741         (parse_args): Likewise.
47742         (generate_testfile): Remove variable $in_func.  Update call to
47743         parse_args.
47744         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
47745         (MINUS_ZERO_INIT): Rename macro to minus_zero.
47746         (PLUS_INFTY_INIT): Rename macro to plus_infty.
47747         (MINUS_INFTY_INIT): Rename macro to minus_infty.
47748         (QNAN_VALUE_INIT): Rename macro to qnan_value.
47749         (MAX_VALUE_INIT): Rename macro to max_value.
47750         (MIN_VALUE_INIT): Rename macro to min_value.
47751         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
47752         (plus_zero): Remove variable.
47753         (minus_zero): Likewise.
47754         (plus_infty): Likewise.
47755         (minus_infty): Likewise.
47756         (qnan_value): Likewise.
47757         (max_value): Likewise.
47758         (min_value): Likewise.
47759         (min_subnorm_value): Likewise.
47761 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
47763         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
47764         uint64_t or uint32_t usage.
47765         * crypt/sha256-block.c: Likewise.
47766         * crypt/sha256-crypt.c: Likewise.
47767         * crypt/sha256.c: Likewise.
47768         * crypt/sha512-block.c: Likewise.
47769         * crypt/sha512-crypt.c: Likewise.
47770         * crypt/sha512.c: Likewise.
47771         * debug/backtrace-tst.c: Likewise.
47772         * debug/pcprofiledump.c: Likewise.
47773         * elf/cache.c: Likewise.
47774         * elf/dl-cache.c: Likewise.
47775         * elf/dl-misc.c: Likewise.
47776         * elf/dl-profile.c: Likewise.
47777         * elf/dl-support.c: Likewise.
47778         * elf/ldconfig.c: Likewise.
47779         * elf/sprof.c: Likewise.
47780         * iconv/dummy-repertoire.c: Likewise.
47781         * iconv/iconv_charmap.c: Likewise.
47782         * iconv/skeleton.c: Likewise.
47783         * iconvdata/8bit-generic.c: Likewise.
47784         * iconvdata/cp737.h: Likewise.
47785         * iconvdata/cp775.h: Likewise.
47786         * iconvdata/ibm1008.h: Likewise.
47787         * iconvdata/ibm1025.h: Likewise.
47788         * iconvdata/ibm1046.h: Likewise.
47789         * iconvdata/ibm1097.h: Likewise.
47790         * iconvdata/ibm1112.h: Likewise.
47791         * iconvdata/ibm1122.h: Likewise.
47792         * iconvdata/ibm1123.h: Likewise.
47793         * iconvdata/ibm1124.h: Likewise.
47794         * iconvdata/ibm1129.h: Likewise.
47795         * iconvdata/ibm1130.h: Likewise.
47796         * iconvdata/ibm1132.h: Likewise.
47797         * iconvdata/ibm1133.h: Likewise.
47798         * iconvdata/ibm1137.h: Likewise.
47799         * iconvdata/ibm1140.h: Likewise.
47800         * iconvdata/ibm1141.h: Likewise.
47801         * iconvdata/ibm1142.h: Likewise.
47802         * iconvdata/ibm1143.h: Likewise.
47803         * iconvdata/ibm1144.h: Likewise.
47804         * iconvdata/ibm1145.h: Likewise.
47805         * iconvdata/ibm1146.h: Likewise.
47806         * iconvdata/ibm1147.h: Likewise.
47807         * iconvdata/ibm1148.h: Likewise.
47808         * iconvdata/ibm1149.h: Likewise.
47809         * iconvdata/ibm1153.h: Likewise.
47810         * iconvdata/ibm1154.h: Likewise.
47811         * iconvdata/ibm1155.h: Likewise.
47812         * iconvdata/ibm1156.h: Likewise.
47813         * iconvdata/ibm1157.h: Likewise.
47814         * iconvdata/ibm1158.h: Likewise.
47815         * iconvdata/ibm1160.h: Likewise.
47816         * iconvdata/ibm1161.h: Likewise.
47817         * iconvdata/ibm1162.h: Likewise.
47818         * iconvdata/ibm1163.h: Likewise.
47819         * iconvdata/ibm1164.h: Likewise.
47820         * iconvdata/ibm1166.h: Likewise.
47821         * iconvdata/ibm1167.h: Likewise.
47822         * iconvdata/ibm12712.h: Likewise.
47823         * iconvdata/ibm1390.h: Likewise.
47824         * iconvdata/ibm1399.h: Likewise.
47825         * iconvdata/ibm16804.h: Likewise.
47826         * iconvdata/ibm4517.h: Likewise.
47827         * iconvdata/ibm4899.h: Likewise.
47828         * iconvdata/ibm4909.h: Likewise.
47829         * iconvdata/ibm4971.h: Likewise.
47830         * iconvdata/ibm5347.h: Likewise.
47831         * iconvdata/ibm803.h: Likewise.
47832         * iconvdata/ibm856.h: Likewise.
47833         * iconvdata/ibm901.h: Likewise.
47834         * iconvdata/ibm902.h: Likewise.
47835         * iconvdata/ibm9030.h: Likewise.
47836         * iconvdata/ibm9066.h: Likewise.
47837         * iconvdata/ibm921.h: Likewise.
47838         * iconvdata/ibm922.h: Likewise.
47839         * iconvdata/ibm9448.h: Likewise.
47840         * iconvdata/isiri-3342.h: Likewise.
47841         * iconvdata/jis0201.h: Likewise.
47842         * include/link.h: Likewise.
47843         * include/netdb.h: Likewise.
47844         * inet/check_native.c: Likewise.
47845         * inet/check_pf.c: Likewise.
47846         * inet/getipv4sourcefilter.c: Likewise.
47847         * inet/getnameinfo.c: Likewise.
47848         * inet/getsourcefilter.c: Likewise.
47849         * inet/htonl.c: Likewise.
47850         * inet/setipv4sourcefilter.c: Likewise.
47851         * inet/setsourcefilter.c: Likewise.
47852         * inet/test-inet6_opt.c: Likewise.
47853         * inet/tst-network.c: Likewise.
47854         * locale/C-collate.c: Likewise.
47855         * locale/C-ctype.c: Likewise.
47856         * locale/C-time.c: Likewise.
47857         * locale/C-translit.h: Likewise.
47858         * locale/loadarchive.c: Likewise.
47859         * locale/programs/3level.h: Likewise.
47860         * locale/programs/charmap.c: Likewise.
47861         * locale/programs/charmap.h: Likewise.
47862         * locale/programs/ld-address.c: Likewise.
47863         * locale/programs/ld-collate.c: Likewise.
47864         * locale/programs/ld-ctype.c: Likewise.
47865         * locale/programs/ld-identification.c: Likewise.
47866         * locale/programs/ld-measurement.c: Likewise.
47867         * locale/programs/ld-messages.c: Likewise.
47868         * locale/programs/ld-monetary.c: Likewise.
47869         * locale/programs/ld-name.c: Likewise.
47870         * locale/programs/ld-numeric.c: Likewise.
47871         * locale/programs/ld-paper.c: Likewise.
47872         * locale/programs/ld-telephone.c: Likewise.
47873         * locale/programs/ld-time.c: Likewise.
47874         * locale/programs/linereader.c: Likewise.
47875         * locale/programs/locale.c: Likewise.
47876         * locale/programs/locarchive.c: Likewise.
47877         * locale/programs/locfile.h: Likewise.
47878         * locale/programs/repertoire.c: Likewise.
47879         * locale/programs/simple-hash.c: Likewise.
47880         * locale/programs/simple-hash.h: Likewise.
47881         * malloc/memusage.c: Likewise.
47882         * malloc/memusagestat.c: Likewise.
47883         * nis/nis_defaults.c: Likewise.
47884         * nis/nis_hash.c: Likewise.
47885         * nis/nis_print.c: Likewise.
47886         * nis/nis_xdr.c: Likewise.
47887         * nscd/connections.c: Likewise.
47888         * nscd/hstcache.c: Likewise.
47889         * nscd/nscd_gethst_r.c: Likewise.
47890         * nscd/nscd_getserv_r.c: Likewise.
47891         * nscd/nscd_helper.c: Likewise.
47892         * nscd/servicescache.c: Likewise.
47893         * nss/makedb.c: Likewise.
47894         * nss/nss_db/db-XXX.c: Likewise.
47895         * nss/nss_db/db-initgroups.c: Likewise.
47896         * nss/nss_db/db-netgrp.c: Likewise.
47897         * nss/nss_files/files-network.c: Likewise.
47898         * nss/nss_files/files-parse.c: Likewise.
47899         * posix/bug-regex5.c: Likewise.
47900         * posix/fnmatch_loop.c: Likewise.
47901         * posix/regcomp.c: Likewise.
47902         * posix/regexec.c: Likewise.
47903         * posix/tst-rfc3484-2.c: Likewise.
47904         * posix/tst-rfc3484-3.c: Likewise.
47905         * posix/tst-rfc3484.c: Likewise.
47906         * resolv/nss_dns/dns-canon.c: Likewise.
47907         * resolv/nss_dns/dns-network.c: Likewise.
47908         * resolv/res_init.c: Likewise.
47909         * resolv/res_mkquery.c: Likewise.
47910         * resolv/tst-aton.c: Likewise.
47911         * stdlib/cxa_atexit.c: Likewise.
47912         * stdlib/cxa_finalize.c: Likewise.
47913         * stdlib/gen-fpioconst.c: Likewise.
47914         * stdlib/strtol_l.c: Likewise.
47915         * string/tst-endian.c: Likewise.
47916         * sunrpc/auth_des.c: Likewise.
47917         * sunrpc/clnt_udp.c: Likewise.
47918         * sunrpc/rtime.c: Likewise.
47919         * sunrpc/svcauth_des.c: Likewise.
47920         * sunrpc/xdr.c: Likewise.
47921         * sunrpc/xdr_intXX_t.c: Likewise.
47922         * sunrpc/xdr_rec.c: Likewise.
47923         * sysdeps/generic/ldconfig.h: Likewise.
47924         * sysdeps/generic/ldsodefs.h: Likewise.
47925         * sysdeps/generic/memusage.h: Likewise.
47926         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
47927         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
47928         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
47929         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
47930         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
47931         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
47932         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
47933         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
47934         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
47935         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
47936         * sysdeps/posix/getaddrinfo.c: Likewise.
47937         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
47938         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
47939         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
47940         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
47941         * sysdeps/powerpc/test-gettimebase.c: Likewise.
47942         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
47943         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
47944         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
47945         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
47946         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
47947         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
47948         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
47949         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
47950         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
47951         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
47952         * sysdeps/x86_64/dl-tls.h: Likewise.
47953         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
47954         * time/alt_digit.c: Likewise.
47955         * time/era.c: Likewise.
47956         * wcsmbs/tst-c16c32-1.c: Likewise.
47958 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
47960         * math/libm-test.inc (struct test_sincos_data): New type.
47961         (RUN_TEST_LOOP_sincos): New macro.
47962         (sincos_test_data): New variable.
47963         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
47965 2013-05-16  Richard Henderson  <rth@redhat.com>
47967         * math/atest-exp2.c (LIMB64): New macro.
47968         (CONSTSZ): New macro.
47969         (mp_exp1, mp_exp_m1, mp_log2): New variables.
47970         (hexdig): Move ...
47971         (print_mpn_fp): ... to function scope.
47972         (read_mpn_hex): Remove.
47973         (get_log2): Remove.
47974         (exp2_mpn): Use mp_log2.
47975         (main): Use mp_exp1.
47977 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
47979         * math/libm-test.inc: Remove comment about not testing "inexact"
47980         exceptions.
47981         (INEXACT_EXCEPTION): New macro.
47982         (NO_INEXACT_EXCEPTION): Likewise.
47983         (INVALID_EXCEPTION_OK): Update value.
47984         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
47985         (OVERFLOW_EXCEPTION_OK): Likewise.
47986         (UNDERFLOW_EXCEPTION_OK): Likewise.
47987         (IGNORE_ZERO_INF_SIGN): Likewise.
47988         (ERRNO_UNCHANGED): Likewise.
47989         (ERRNO_EDOM): Likewise.
47990         (ERRNO_ERANGE): Likewise.
47991         (test_exceptions): Handle testing "inexact" exceptions.
47992         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
47993         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
47994         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
47995         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
47996         INEXACT_EXCEPTION.
47997         (rint_towardzero_test_data): Likewise.
47998         (rint_downward_test_data): Likewise.
47999         (rint_upward_test_data): Likewise.
48001         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
48002         with OVERFLOW_EXCEPTION.
48003         (exp10_test_data): Likewise.
48004         (exp2_test_data): Likewise.
48005         (expm1_test_data): Likewise.
48006         (lgamma_test_data): Likewise.
48007         (pow_test_data): Likewise.
48008         (tgamma_test_data): Likewise.
48009         (yn_test_data): Remove duplicate test of overflow.
48011         * math/libm-test.inc (struct test_cc_c_data): New type.
48012         (RUN_TEST_LOOP_cc_c): New macro.
48013         (cpow_test_data): New variable.
48014         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
48016         * math/libm-test.inc (struct test_f_L_data): New type.
48017         (RUN_TEST_LOOP_f_L): New macro.
48018         (llrint_test_data): New variable.
48019         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
48020         (llrint_tonearest_test_data): New variable.
48021         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
48022         (llrint_towardzero_test_data): New variable.
48023         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
48024         (llrint_downward_test_data): New variable.
48025         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
48026         (llrint_upward_test_data): New variable.
48027         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
48028         (llround_test_data): New variable.
48029         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
48031 2013-05-13  Peter Collingbourne  <pcc@google.com>
48033         * math/atest-exp2.c (get_log2): Remove const attribute.
48035 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
48037         * math/libm-test.inc (struct test_f_l_data): New type.
48038         (RUN_TEST_LOOP_f_l): New macro.
48039         (lrint_test_data): New variable.
48040         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
48041         (lrint_tonearest_test_data): New variable.
48042         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
48043         (lrint_towardzero_test_data): New variable.
48044         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
48045         (lrint_downward_test_data): New variable.
48046         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
48047         (lrint_upward_test_data): New variable.
48048         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
48049         (lround_test_data): New variable.
48050         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
48052 2013-05-15  Peter Collingbourne  <pcc@google.com>
48054         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
48055         (EXTRACT_WORDS64) Use where appropriate.
48056         (INSERT_WORDS64) Likewise.
48058         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
48059         constraints with x constraints.
48060         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
48062         * malloc/obstack.c (_obstack_compat): Add initializer.
48064 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
48066         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
48067         si_trapno and add si_addr_lsb to _sifields.sigfault.
48068         (si_trapno): Remove macro.
48069         (si_addr_lsb): Define new macro.
48070         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
48072 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
48074         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
48075         instead of TEST_f_l.
48076         (llrint_test_tonearest): Likewise.
48077         (llrint_test_towardzero): Likewise.
48078         (llrint_test_downward): Likewise.
48079         (llrint_test_upward): Likewise.
48080         (llround_test): Likewise.
48082         * math/libm-test.inc (struct test_f_i_data): Add comment.
48083         (RUN_TEST_LOOP_f_b): New macro.
48084         (RUN_TEST_LOOP_f_b_tg): Likewise.
48085         (finite_test_data): New variable.
48086         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
48087         (isfinite_test_data): New variable.
48088         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
48089         (isinf_test_data): New variable.
48090         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
48091         (isnan_test_data): New variable.
48092         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
48093         (isnormal_test_data): New variable.
48094         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
48095         (issignaling_test_data): New variable.
48096         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
48097         (signbit_test_data): New variable.
48098         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
48100         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
48101         with INVALID_EXCEPTION.
48102         (acosh_test_data): Likewise.
48103         (asin_test_data): Likewise.
48104         (atanh_test_data): Likewise.
48105         (fmod_test_data): Likewise.
48106         (log_test_data): Likewise.
48107         (log10_test_data): Likewise.
48108         (log2_test_data): Likewise.
48109         (pow_test_data): Likewise.
48110         (sqrt_test_data): Likewise.
48111         (y0_test_data): Likewise.
48112         (y1_test_data): Likewise.
48113         (yn_test_data): Likewise.
48115         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
48116         function contents.
48118         * math/libm-test.inc (struct test_ff_i_data): New type.
48119         (RUN_TEST_LOOP_ff_i_tg): New macro.
48120         (isgreater_test_data): New variable.
48121         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
48122         (isgreaterequal_test_data): New variable.
48123         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
48124         (isless_test_data): New variable.
48125         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
48126         (islessequal_test_data): New variable.
48127         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
48128         (islessgreater_test_data): New variable.
48129         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
48130         (isunordered_test_data): New variable.
48131         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
48133 2013-05-14  David S. Miller  <davem@davemloft.net>
48135         * sysdeps/sparc/fpu/libm-test-ulps: Update.
48137 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
48139         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
48141         * math/libm-test.inc (struct test_fF_f1_data): Change type of
48142         extra_test to int.
48143         (struct test_f_i_data): Change type of max_ulp to int.
48145         * math/libm-test.inc (test_ffI_f1_data): New type.
48146         (RUN_TEST_LOOP_ffI_f1): New macro.
48147         (remquo_test_data): New variable.
48148         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
48150         * setjmp/tst-setjmp-fp.c: New file.
48151         * setjmp/Makefile (tests): Add tst-setjmp-fp.
48152         (link-libm): New variable.
48153         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
48155         * math/libm-test.inc (struct test_f_i_data): New type.
48156         (RUN_TEST_LOOP_f_i): New macro.
48157         (RUN_TEST_LOOP_f_i_tg): Likewise.
48158         (fpclassify_test_data): New variable.
48159         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
48160         (ilogb_test_data): New variable.
48161         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
48163         * math/libm-test.inc (scalbln_test): Correct function name in END
48164         call.
48166         * math/libm-test.inc (struct test_f_f1_data): Add comment.
48167         (RUN_TEST_LOOP_fI_f1): New macro.
48168         (frexp_test_data): New variable.
48169         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
48171         * math/libm-test.inc (struct test_fF_f1_data): New type.
48172         (RUN_TEST_LOOP_fF_f1): New macro.
48173         (modf_test_data): New variable.
48174         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
48176         * math/libm-test.inc (struct test_f_f1_data): New type.
48177         (RUN_TEST_LOOP_f_f1): New macro.
48178         (gamma_test_data): New variable.
48179         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
48180         (lgamma_test_data): New variable.
48181         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
48183 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
48185         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
48186         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
48187         (main): Comment "tls" pseudo-hwcap.
48189 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
48191         * math/libm-test.inc (struct test_fl_f_data): New type.
48192         (RUN_TEST_LOOP_fl_f): New variable.
48193         (scalbln_test_data): New variable.
48194         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
48196         * math/libm-test.inc (struct test_fi_f_data): New type.
48197         (RUN_TEST_LOOP_fi_f): New macro.
48198         (ldexp_test_data): New variable.
48199         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
48200         (scalbn_test_data): New variable.
48201         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
48203         * math/libm-test.inc (struct test_c_f_data): New type.
48204         (RUN_TEST_LOOP_c_f): New macro.
48205         (cabs_test_data): New variable.
48206         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
48207         (carg_test_data): New variable.
48208         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
48209         (cimag_test_data): New variable.
48210         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
48211         (creal_test_data): New variable.
48212         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
48214         * math/libm-test.inc (struct test_if_f_data): New type.
48215         (RUN_TEST_LOOP_if_f): New macro.
48216         (jn_test_data): New variable.
48217         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
48218         (yn_test_data): New variable.
48219         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
48221         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
48223 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48225         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
48226         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
48228 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
48230         * benchtests/Makefile (CPPFLAGS-nonlib): Add
48231         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
48232         (bench-deps): Add bench-timing.h.
48233         * benchtests-bench-skeleton.c: Include bench-timing.h.
48234         (main): Use TIMING_* macros instead of clock_gettime.
48235         * benchtests/bench-timing.h: New file.
48237         [BZ #14582]
48238         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
48239         Renamed from _LIB_VERSION.
48240         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
48242 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
48244         * math/libm-test.inc (struct test_fff_f_data): New type.
48245         (RUN_TEST_LOOP_fff_f): New macro.
48246         (fma_test_data): New variable.
48247         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
48248         (fma_towardzero_test_data): New variable.
48249         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
48250         (fma_downward_test_data): New variable.
48251         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
48252         (fma_upward_test_data): New variable.
48253         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
48255         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
48256         (struct test_c_c_data): New type.
48257         (RUN_TEST_LOOP_c_c): New macro.
48258         (cacos_test_data): New variable.
48259         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
48260         (cacosh_test_data): New variable.
48261         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
48262         (casin_test_data): New variable.
48263         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
48264         (casinh_test_data): New variable.
48265         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
48266         (catan_test_data): New variable.
48267         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
48268         (catanh_test_data): New variable.
48269         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
48270         (ccos_test_data): New variable.
48271         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
48272         (ccosh_test_data): New variable.
48273         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
48274         (cexp_test_data): New variable.
48275         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
48276         (clog_test_data): New variable.
48277         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
48278         (clog10_test_data): New variable.
48279         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
48280         (conj_test_data): New variable.
48281         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
48282         (cproj_test_data): New variable.
48283         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
48284         (csin_test_data): New variable.
48285         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
48286         (csinh_test_data): New variable.
48287         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
48288         (csqrt_test_data): New variable.
48289         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
48290         (ctan_test_data): New variable.
48291         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
48292         (ctan_tonearest_test_data): New variable.
48293         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
48294         (ctan_towardzero_test_data): New variable.
48295         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
48296         (ctan_downward_test_data): New variable.
48297         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
48298         (ctan_upward_test_data): New variable.
48299         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
48300         (ctanh_test_data): New variable.
48301         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
48302         (ctanh_tonearest_test_data): New variable.
48303         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
48304         (ctanh_towardzero_test_data): New variable.
48305         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
48306         (ctanh_downward_test_data): New variable.
48307         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
48308         (ctanh_upward_test_data): New variable.
48309         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
48310         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
48311         of BUILD_COMPLEX.
48313         * math/libm-test.inc (struct test_ff_f_data): New type.
48314         (struct test_ff_f_data_nexttoward): Likewise.
48315         (RUN_TEST_LOOP_2_f): New macro.
48316         (RUN_TEST_LOOP_ff_f): Likewise.
48317         (atan2_test_data): New variable.
48318         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
48319         (copysign_test_data): New variable.
48320         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
48321         (fdim_test_data): New variable.
48322         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
48323         (fmax_test_data): New variable.
48324         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
48325         (fmin_test_data): New variable.
48326         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
48327         (fmod_test_data): New variable.
48328         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
48329         (hypot_test_data): New variable.
48330         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
48331         (nextafter_test_data): New variable.
48332         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
48333         (nexttoward_test_data): New variable.
48334         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
48335         (pow_test_data): New variable.
48336         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
48337         (pow_tonearest_test_data): New variable.
48338         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
48339         (pow_towardzero_test_data): New variable.
48340         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
48341         (pow_downward_test_data): New variable.
48342         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
48343         (pow_upward_test_data): New variable.
48344         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
48345         (remainder_test_data): New variable.
48346         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
48347         (scalb_test_data): New variable.
48348         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
48349         * sysdeps/i386/fpu/libm-test-ulps: Update.
48351 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
48353         * math/libm-test.inc (fma_test): Use max_value instead of local
48354         variable fltmax.
48355         (nextafter_test): Likewise.
48357         * math/libm-test.inc (acos_towardzero_test_data): New variable.
48358         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
48359         (acos_downward_test_data): New variable.
48360         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
48361         (acos_upward_test_data): New variable.
48362         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
48363         (acosh_test_data): New variable.
48364         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
48365         (asin_test_data): New variable.
48366         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
48367         (asin_tonearest_test_data): New variable.
48368         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
48369         (asin_towardzero_test_data): New variable.
48370         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
48371         (asin_downward_test_data): New variable.
48372         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
48373         (asin_upward_test_data): New variable.
48374         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
48375         (asinh_test_data): New variable.
48376         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
48377         (atan_test_data): New variable.
48378         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
48379         (atanh_test_data): New variable.
48380         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
48381         (cbrt_test_data): New variable.
48382         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
48383         (ceil_test_data): New variable.
48384         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
48385         (cos_test_data): New variable.
48386         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
48387         (cos_tonearest_test_data): New variable.
48388         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
48389         (cos_towardzero_test_data): New variable.
48390         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
48391         (cos_downward_test_data): New variable.
48392         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
48393         (cos_upward_test_data): New variable.
48394         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
48395         (cosh_test_data): New variable.
48396         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
48397         (cosh_tonearest_test_data): New variable.
48398         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
48399         (cosh_towardzero_test_data): New variable.
48400         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
48401         (cosh_downward_test_data): New variable.
48402         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
48403         (cosh_upward_test_data): New variable.
48404         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
48405         (erf_test_data): New variable.
48406         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
48407         (erfc_test_data): New variable.
48408         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
48409         (exp_test_data): New variable.
48410         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
48411         (exp_tonearest_test_data): New variable.
48412         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
48413         (exp_towardzero_test_data): New variable.
48414         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
48415         (exp_downward_test_data): New variable.
48416         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
48417         (exp_upward_test_data): New variable.
48418         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
48419         (exp10_test_data): New variable.
48420         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
48421         (exp2_test_data): New variable.
48422         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
48423         (expm1_test_data): New variable.
48424         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
48425         (fabs_test_data): New variable.
48426         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
48427         (floor_test_data): New variable.
48428         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
48429         (j0_test_data): New variable.
48430         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
48431         (j1_test_data): New variable.
48432         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
48433         (log_test_data): New variable.
48434         (log_test): Run tests with RUN_TEST_LOOP_f_f.
48435         (log10_test_data): New variable.
48436         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
48437         (log1p_test_data): New variable.
48438         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
48439         (log2_test_data): New variable.
48440         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
48441         (logb_test_data): New variable.
48442         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
48443         (logb_downward_test_data): New variable.
48444         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
48445         (nearbyint_test_data): New variable.
48446         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
48447         (rint_test_data): New variable.
48448         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
48449         (rint_tonearest_test_data): New variable.
48450         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
48451         (rint_towardzero_test_data): New variable.
48452         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
48453         (rint_downward_test_data): New variable.
48454         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
48455         (rint_upward_test_data): New variable.
48456         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
48457         (round_test_data): New variable.
48458         (round_test): Run tests with RUN_TEST_LOOP_f_f.
48459         (sin_test_data): New variable.
48460         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
48461         (sin_tonearest_test_data): New variable.
48462         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
48463         (sin_towardzero_test_data): New variable.
48464         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
48465         (sin_downward_test_data): New variable.
48466         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
48467         (sin_upward_test_data): New variable.
48468         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
48469         (sinh_test_data): New variable.
48470         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
48471         (sinh_tonearest_test_data): New variable.
48472         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
48473         (sinh_towardzero_test_data): New variable.
48474         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
48475         (sinh_downward_test_data): New variable.
48476         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
48477         (sinh_upward_test_data): New variable.
48478         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
48479         (sqrt_test_data): New variable.
48480         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
48481         (tan_test_data): New variable.
48482         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
48483         (tan_tonearest_test_data): New variable.
48484         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
48485         (tan_towardzero_test_data): New variable.
48486         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
48487         (tan_downward_test_data): New variable.
48488         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
48489         (tan_upward_test_data): New variable.
48490         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
48491         (tanh_test_data): New variable.
48492         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
48493         (tgamma_test_data): New variable.
48494         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
48495         (trunc_test_data): New variable.
48496         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
48497         (y0_test_data): New variable.
48498         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
48499         (y1_test_data): New variable.
48500         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
48501         (significand_test_data): New variable.
48502         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
48504 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
48506         [BZ #12387]
48507         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
48509 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
48511         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
48513 2013-05-10  Andreas Jaeger  <aj@suse.de>
48515         [BZ #15448]
48516         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
48517         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
48519 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
48521         * math/gen-libm-test.pl (adjust_arg): New function.
48522         (special_functions): Handle generating output in both functions
48523         and arrays.
48524         (parse_args): Likewise.
48525         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
48526         $in_func argument to parse_args.
48527         * math/libm-test.inc (struct test_f_f_data): New type.
48528         (IF_ROUND_INIT_): New macro.
48529         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
48530         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
48531         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
48532         (IF_ROUND_INIT_FE_UPWARD): Likewise.
48533         (ROUND_RESTORE_): Likewise.
48534         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
48535         (ROUND_RESTORE_FE_TONEAREST): Likewise.
48536         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
48537         (ROUND_RESTORE_FE_UPWARD): Likewise.
48538         (RUN_TEST_LOOP_f_f): New macro.
48539         (acos_test_data): New variable.
48540         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
48541         (acos_tonearest_test_data): New variable.
48542         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
48544 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
48546         * benchtests/bench-skeleton.c (startup): Fix coding style.
48548 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
48550         [BZ #6809]
48551         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
48552         negative infinity argument.
48553         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
48554         negative infinity argument.
48555         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
48556         negative infinity argument.
48557         * math/libm-test.inc (tgamma_test): Expect errno to be set for
48558         domain errors.
48560 2013-05-10  Florian Weimer  <fweimer@redhat.com>
48562         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
48563         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
48564         * iconv/iconv_prog.c (main): Likewise.
48565         * locale/programs/charmap-dir.c (charmap_readdir)
48566         (fopen_uncompressed): Likewise.
48567         * locale/programs/locfile.c (siblings_uncached)
48568         (write_locale_data): Use lstat64 instead of lstat.
48569         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
48570         stat.
48572 2013-05-10  Andreas Jaeger  <aj@suse.de>
48574         [BZ #15395]
48575         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
48576         localization.
48577         Include <locale.h>.
48579 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
48581         * elf/dl-close.c (_dl_close_worker): Add comments.
48583 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
48585         [BZ #15359]
48586         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
48587         high part of pi/2.
48588         (__ieee754_rem_pio2l): Update comments.
48590         [BZ #15429]
48591         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
48592         high part of pi/2.
48593         (__ieee754_rem_pio2l): Update comments.
48595         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
48596         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
48598         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
48599         M_PI_4l.
48601         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
48602         (M_PI_34_LOG10El): Likewise.
48603         (M_PI2_LOG10El): Likewise.
48604         (M_PI4_LOG10El): Likewise.
48605         (M_PI_LOG10El): Likewise.
48607 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48609         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48611 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
48613         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
48614         (MINUS_ZERO_INIT): Likewise.
48615         (PLUS_INFTY_INIT): Likewise.
48616         (MINUS_INFTY_INIT): Likewise.
48617         (QNAN_VALUE_INIT): Likewise.
48618         (MAX_VALUE_INIT): Likewise.
48619         (MIN_VALUE_INIT): Likewise.
48620         (MIN_SUBNORM_VALUE_INIT): Likewise.
48621         (plus_zero): Initialize with PLUS_ZERO_INIT.
48622         (minus_zero): Initialize with MINUS_ZERO_INIT.
48623         (plus_infty): Initialize with PLUS_INFTY_INIT.
48624         (minus_infty): Initialize with MINUS_INFTY_INIT.
48625         (qnan_value): Initialize with QNAN_VALUE_INIT.
48626         (max_value): Initialize with MAX_VALUE_INIT.
48627         (min_value): Initialize with MIN_VALUE_INIT.
48628         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
48630         * math/libm-test.inc (RUN_TEST_if_f): New macro.
48631         (jn_test): Use TEST_if_f instead of TEST_ff_f.
48632         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
48633         (yn_test): Use TEST_if_f instead of TEST_ff_f.
48635         * math/libm-test.inc (RUN_TEST_f_f): New macro.
48636         (RUN_TEST_2_f): Likewise.
48637         (RUN_TEST_ff_f): Likewise.
48638         (RUN_TEST_fi_f): Likewise.
48639         (RUN_TEST_fl_f): Likewise.
48640         (RUN_TEST_fff_f): Likewise.
48641         (RUN_TEST_c_f): Likewise.
48642         (RUN_TEST_f_f1): Likewise.
48643         (RUN_TEST_fF_f1): Likewise.
48644         (RUN_TEST_fI_f1): Likewise.
48645         (RUN_TEST_ffI_f1): Likewise.
48646         (RUN_TEST_c_c): Likewise.
48647         (RUN_TEST_cc_c): Likewise.
48648         (RUN_TEST_f_i): Likewise.
48649         (RUN_TEST_f_i_tg): Likewise.
48650         (RUN_TEST_ff_i_tg): Likewise.
48651         (RUN_TEST_f_b): Likewise.
48652         (RUN_TEST_f_b_tg): Likewise.
48653         (RUN_TEST_f_l): Likewise.
48654         (RUN_TEST_f_L): Likewise.
48655         (RUN_TEST_sincos): Likewise.
48656         * math/gen-libm-test.pl (new_test): Take new argument to indicate
48657         whether to show exceptions.  Do not include ");\n" in return
48658         value.
48659         (special_functions): Output call to RUN_TEST_sincos instead of
48660         check_float calls.  Update calls to new_test.
48661         (parse_args): Output call to single RUN_TEST_* macro instead of
48662         check_* calls and other assignments.  Update calls to new_test.
48664         [BZ #2546]
48665         [BZ #2560]
48666         [BZ #5159]
48667         [BZ #15426]
48668         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
48669         input to result for tgamma overflow.
48670         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
48671         (gamma_coeff): New variable.
48672         (NCOEFF): New macro.
48673         (gamma_positive): New function.
48674         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
48675         underflow here.  Use gamma_positive instead of exp (lgamma) for
48676         other arguments.
48677         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
48678         (gamma_coeff): New variable.
48679         (NCOEFF): New macro.
48680         (gammaf_positive): New function.
48681         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
48682         underflow here.  Use gamma_positive instead of exp (lgamma) for
48683         other arguments.
48684         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
48685         (gamma_coeff): New variable.
48686         (NCOEFF): New macro.
48687         (gammal_positive): New function.
48688         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
48689         underflow here.  Use gamma_positive instead of exp (lgamma) for
48690         other arguments.
48691         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
48692         (gamma_coeff): New variable.
48693         (NCOEFF): New macro.
48694         (gammal_positive): New function.
48695         (__ieee754_gammal_r): Handle positive infinity, overflow and
48696         underflow here.  Handle NaN the same as positive infinity.  Remove
48697         check x < 0xffffffff for negative integers.  Use gamma_positive
48698         instead of exp (lgamma) for other arguments.
48699         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
48700         (gamma_coeff): New variable.
48701         (NCOEFF): New macro.
48702         (gammal_positive): New function.
48703         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
48704         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
48705         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
48706         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
48707         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
48708         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
48709         * sysdeps/generic/math_private.h (__gamma_productf): New
48710         prototype.
48711         (__gamma_product): Likewise.
48712         (__gamma_productl): Likewise.
48713         * math/Makefile (libm-calls): Add gamma_product.
48714         * math/libm-test.inc (tgamma_test): Add more tests.
48715         * sysdeps/i386/fpu/libm-test-ulps: Update.
48716         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48718 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
48720         * benchtests/bench-skeleton.c (main): Preheat CPU.
48722 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
48724         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
48726 2013-05-07  Roland McGrath  <roland@hack.frob.com>
48728         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
48729         and _dl_skip_args_internal.
48731 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
48733         * manual/message.texi (Message Translation): Talk about users.
48734         Message to key mapping impacts design.
48736 2013-05-06  Roland McGrath  <roland@hack.frob.com>
48738         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
48740         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
48742         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
48743         * sysdeps/wordsize-64/glob64.c: ... here.
48745         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
48746         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
48747         New macros.
48749         * debug/getlogin_r_chk.c: Moved to ...
48750         * login/getlogin_r_chk.c: ... here.
48751         * debug/Makefile (routines): Move getlogin_r_chk to ...
48752         * login/Makefile (routines): ... here.
48753         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
48754         * login/Versions (libc: GLIBC_2.4): ... here.
48756         * io/poll.c (__poll): Renamed from poll.
48757         Add libc_hidden_def.
48758         (poll): Define as weak alias.
48760         * debug/ptsname_r_chk.c: Moved to ...
48761         * login/ptsname_r_chk.c: ... here.
48762         * debug/Makefile (routines): Move ptsname_r_chk to ...
48763         * login/Makefile (routines): ... here.
48764         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
48765         * login/Versions (libc: GLIBC_2.4): ... here.
48767         * posix/getlogin.c: Moved to ...
48768         * login/getlogin.c: ... here.
48769         * posix/getlogin_r.c: Moved to ...
48770         * login/getlogin_r.c: ... here.
48771         * posix/getlogin_r.c: Moved to ...
48772         * login/getlogin_r.c: ... here.
48773         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
48774         * login/Makefile (routines): ... here.
48775         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
48776         * login/Versions (libc: GLIBC_2.0): ... here.
48778         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
48779         (setrlimit): Define as weak alias.
48781         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
48782         Call __ names for open, ftruncate, and close.
48783         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
48784         (truncate): Define as weak alias.
48786 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
48788         * math/gen-libm-test.pl (parse_args): Initialize x before each
48789         test of frexp, modf and remquo.
48791         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
48792         test signgam value.
48794 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48796         [BZ #15418]
48797         [BZ #15419]
48798         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
48799         internal tests.
48800         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
48802 2013-05-06  Roland McGrath  <roland@hack.frob.com>
48804         * elf/dl-writev.h: New file.
48805         * elf/dl-misc.c: Include it.
48806         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
48807         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
48809 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
48811         * math/libm-test.inc (noXFails): Remove variable.
48812         (noXPasses): Likewise.
48813         (BUILD_COMPLEX_INT): Remove macro.
48814         (print_screen): Remove xfail argument.
48815         (print_screen_max_error): Likewise.
48816         (update_stats): Likewise.
48817         (print_max_error): Likewise.  Update calls to other affected
48818         functions.
48819         (print_complex_max_error): Likewise.
48820         (test_single_exception): Update calls to print_screen.
48821         (test_single_errno): Likewise.
48822         (check_float_internal): Remove xfail argument.  Update calls to
48823         other affected functions.
48824         (check_float): Likewise.
48825         (check_complex): Likewise.
48826         (check_int): Likewise.
48827         (check_long): Likewise.
48828         (check_bool): Likewise.
48829         (check_longlong): Likewise.
48830         (main): Don't print noXFails and noXPasses.
48831         * math/gen-libm-test.pl (top level): Don't mention expected
48832         failure handling in comment.
48833         (new_test): Don't handle expected failures.
48834         (parse_args): Don't mention expected failure handling in comment.
48835         (generate_testfile): Don't handle expected failures.
48836         (parse_ulps): Likewise.
48837         (print_ulps_file): Likewise.
48838         (get_failure): Remove function.
48839         (output_test): Don't handle expected failures.
48840         * make/README.libm-test: Don't mention expected failure handling.
48842         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
48843         (minus_zero): Likewise.
48844         (plus_infty): Likewise.
48845         (minus_infty): Likewise.
48846         (qnan_value): Likewise.
48847         (max_value): Likewise.
48848         (min_value): Likewise.
48849         (min_subnorm_value): Likewise.
48850         (initialize): Do not initialize those variables dynamically.
48852 2013-05-03  Roland McGrath  <roland@hack.frob.com>
48854         * io/open.c (__open_2): Moved to ...
48855         * io/open_2.c: ... this new file.
48856         * io/open64.c (__open64_2): Moved to ...
48857         * io/open64_2.c: ... this new file.
48858         * io/openat.c (__openat_2): Moved to ...
48859         * io/openat_2.c: ... this new file.
48860         * io/openat64.c (__openat64_2): Moved to ...
48861         * io/openat64_2.c: ... this new file.
48862         * io/Makefile (routines): Add them.
48863         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
48864         * sysdeps/unix/sysv/linux/open_2.c: File removed.
48865         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
48866         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
48867         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
48868         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
48869         (__openat64): Add hidden_ver.
48870         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
48871         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
48873         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
48874         Separately conditionalize setting of GLRO(dl_sysinfo) so
48875         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
48876         as well, but the actual setting is only under [NEED_DL_SYSINFO].
48878 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48880         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
48881         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
48882         definition.
48883         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
48884         * sysdeps/unix/sysv/linux/powerpc/init-first.c
48885         (_libc_vdso_platform_setup): Add __vdso_time initialization.
48886         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
48887         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
48889 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
48891         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
48892         test signgam value.
48894         * math/libm-test.inc (hypot_test): Do not use
48895         IGNORE_ZERO_INF_SIGN.
48897 2013-05-03  Andreas Jaeger  <aj@suse.de>
48899         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
48900         Linux 3.9.
48901         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
48902         (PF_MAX): Adjust for VSOCK change.
48904 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48906         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48908 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
48910         [BZ #15264]
48911         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
48912         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
48913         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
48915 2013-05-02  David S. Miller  <davem@davemloft.net>
48917         * sysdeps/sparc/fpu/libm-test-ulps: Update.
48919 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
48921         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
48923 2013-05-01  Roland McGrath  <roland@hack.frob.com>
48925         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
48927 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
48929         [BZ #14952]
48930         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
48931         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
48932         Use __attribute__ ((__gnu_inline__)).
48933         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
48934         Don't use __attribute__ ((__gnu_inline__)).
48936 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
48938         [BZ #15423]
48939         * math/s_catan.c (__catan): Handle small real or imaginary part of
48940         input specially to avoid spurious underflow.
48941         * math/s_catanf.c (__catanf): Likewise.
48942         * math/s_catanh.c (__catanh): Likewise.
48943         * math/s_catanhf.c (__catanhf): Likewise.
48944         * math/s_catanhl.c (__catanhl): Likewise.
48945         * math/s_catanl.c (__catanl): Likewise.
48946         * math/libm-test.inc (catan_test): Add more tests.
48947         (catanh_test): Likewise.
48948         * sysdeps/i386/fpu/libm-test-ulps: Update.
48949         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48951 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48953         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48955 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
48957         [BZ #15416]
48958         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
48959         accurately for denominator in atan2.
48960         * math/s_catanf.c (__catanf): Likewise.
48961         * math/s_catanh.c (__catanh): Likewise.
48962         * math/s_catanhf.c (__catanhf): Likewise.
48963         * math/s_catanhl.c (__catanhl): Likewise.
48964         * math/s_catanl.c (__catanl): Likewise.
48965         * math/libm-test.inc (catan_test): Add more tests.
48966         (catanh_test): Likewise.
48967         * sysdeps/i386/fpu/libm-test-ulps: Update.
48968         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48970 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
48972         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
48974         * benchtests/Makefile (bench): Remove slow benchmarks.
48975         * benchtests/atan-inputs: Add slow benchmark inputs.
48976         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
48977         (BENCH_FUNC): Accept variant offset.
48978         (VARIANT): Define.
48979         * benchtests/bench-skeleton.c (main): Run benchmark for each
48980         variant.
48981         * benchtests/cos-inputs: Add slow benchmark inputs.
48982         * benchtests/exp-inputs: Likewise.
48983         * benchtests/pow-inputs: Likewise.
48984         * benchtests/sin-inputs: Likewise.
48985         * benchtests/slowatan-inputs: Remove.
48986         * benchtests/slowatan.c: Remove.
48987         * benchtests/slowcos-inputs: Remove.
48988         * benchtests/slowcos.c: Remove.
48989         * benchtests/slowexp-inputs: Remove.
48990         * benchtests/slowexp.c: Remove.
48991         * benchtests/slowpow-inputs: Remove.
48992         * benchtests/slowpow.c: Remove.
48993         * benchtests/slowsin-inputs: Remove.
48994         * benchtests/slowsin.c: Remove.
48995         * benchtests/slowtan-inputs: Remove.
48996         * benchtests/slowtan.c: Remove.
48997         * benchtests/tan-inputs: Add slow benchmark inputs.
48998         * scripts/bench.pl: Parse comments and directives.
49000         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
49001         in CPPFLAGS.
49002         ($(objpfx)bench-%.c): Remove *-ITER.
49003         * benchtests/bench-modf.c: Remove definition of ITER.
49004         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
49005         (main): Loop for DURATION seconds instead of fixed number of
49006         iterations.
49007         * scripts/bench.pl: Don't expect iterations in parameters.
49009 2013-04-29  Roland McGrath  <roland@hack.frob.com>
49011         * io/fchdir.c (__fchdir): Renamed from fchdir.
49012         (fchdir): Define as weak alias.
49014 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
49016         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
49017         (ERRNO_EDOM): Likewise.
49018         (ERRNO_ERANGE): Likewise.
49019         (noErrnoTests): New variable.
49020         (init_max_error): Set errno to 0.
49021         (test_single_errno): New function.
49022         (test_errno): Likewise.
49023         (check_float_internal): Call test_errno.  Set errno to 0.
49024         (check_complex): Refer to errno tests in comment.
49025         (check_int): Call test_errno.  Set errno to 0.
49026         (check_long): Likewise.
49027         (check_bool): Likewise.
49028         (check_longlong): Likewise.
49029         (cos_test): Use ERRNO_* flags for errno tests instead of
49030         check_int.
49031         (expm1_test): Likewise.
49032         (fmod_test): Likewise.
49033         (ilogb_test): Likewise.
49034         (lgamma_test): Likewise.
49035         (pow_test): Likewise.
49036         (remainder_test): Likewise.
49037         (sin_test): Likewise.
49038         (tan_test): Likewise.
49039         (yn_test): Likewise.
49040         (initialize): Set errno to 0.
49041         (main): Print number of errno tests.
49042         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
49044 2013-04-29  Andreas Jaeger  <aj@suse.de>
49046         [BZ #15084]
49047         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
49048         and RES_USEVC.
49050         [BZ #15085]
49051         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
49052         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
49053         unimplemented.
49055         [BZ #15380]
49056         * stdlib/random.c (__initstate): Return NULL if
49057         __initstate fails.
49059         [BZ #15086]
49060         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
49061         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
49062         RES_SNGLKUPREOP.
49064 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49066         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
49068 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
49070         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
49071         of individual tests.
49072         (casin_test): Likewise.
49073         (casinh_test): Likewise.
49075 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
49077         [BZ #15409]
49078         * math/s_catan.c (__catan): Handle arguments with large real or
49079         imaginary part separately without squaring.
49080         * math/s_catanf.c (__catanf): Likewise.
49081         * math/s_catanh.c (__catanh): Likewise.
49082         * math/s_catanhf.c (__catanhf): Likewise.
49083         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
49084         and redefine.
49085         (__catanhl): Handle arguments with large real or imaginary part
49086         separately without squaring.
49087         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
49088         and redefine.
49089         (__catanl): Handle arguments with large real or imaginary part
49090         separately without squaring.
49091         * math/libm-test.inc (catan_test): Add more tests.
49092         (catanh_test): Likewise.
49093         * sysdeps/i386/fpu/libm-test-ulps: Update.
49094         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49096 2013-04-27  Andreas Jaeger  <aj@suse.de>
49098         [BZ #15007]
49099         * stdlib/stdlib.h: Update guards for qecvt.
49100         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
49101         <stdlib.h>.
49103 2013-04-27  Allan McRae  <allan@archlinux.org>
49105         * sysdeps/i386/fpu/libm-test-ulps: Update.
49107 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
49109         [BZ #15406]
49110         * math/s_catan.c: Include <float.h>.
49111         (__catan): Ensure underflow exception occurs for underflowed
49112         result.
49113         * math/s_catanf.c: Include <float.h>.
49114         (__catanf): Ensure underflow exception occurs for underflowed
49115         result.
49116         * math/s_catanh.c: Include <float.h>.
49117         (__catanh): Ensure underflow exception occurs for underflowed
49118         result.
49119         * math/s_catanhf.c: Include <float.h>.
49120         (__catanhf): Ensure underflow exception occurs for underflowed
49121         result.
49122         * math/s_catanhl.c: Include <float.h>.
49123         (__catanhl): Ensure underflow exception occurs for underflowed
49124         result.
49125         * math/s_catanl.c: Include <float.h>.
49126         (__catanl): Ensure underflow exception occurs for underflowed
49127         result.
49128         * math/libm-test.inc (catan_test): Add more tests.
49129         (catanh_test): Likewise.
49131         [BZ #15405]
49132         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
49133         underflowed result.
49134         * math/s_ccoshf.c (__ccoshf): Likewise.
49135         * math/s_ccoshl.c (__ccoshl): Likewise.
49136         * math/s_csin.c (__csin): Likewise.
49137         * math/s_csinf.c (__csinf): Likewise.
49138         * math/s_csinh.c (__csinh): Likewise.
49139         * math/s_csinhf.c (__csinhf): Likewise.
49140         * math/s_csinhl.c (__csinhl): Likewise.
49141         * math/s_csinl.c (__csinl): Likewise.
49142         * math/libm-test.inc (ccos_test): Add more tests.
49143         (ccosh_test): Likewise.
49144         (csin_test): Likewise.
49145         (csinh_test): Likewise.
49147 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49149         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
49150         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
49151         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
49152         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
49153         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
49154         powerpc/power5+/fpu folders.
49155         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
49158 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
49160         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
49162 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
49164         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
49165         additions to variable.
49166         [$(config-machine) = x86_64] (modules-names): Likewise.
49167         ($(objpfx)tst-audit3): Remove dependency.
49168         ($(objpfx)tst-audit3.out): Likewise.
49169         ($(objpfx)tst-audit4): Likewise.
49170         ($(objpfx)tst-audit4.out): Likewise.
49171         ($(objpfx)tst-audit5): Likewise.
49172         ($(objpfx)tst-audit5.out): Likewise.
49173         ($(objpfx)tst-audit6): Likewise.
49174         ($(objpfx)tst-audit6.out): Likewise.
49175         ($(objpfx)tst-audit7): Likewise.
49176         ($(objpfx)tst-audit7.out): Likewise.
49177         (tst-audit3-ENV): Remove variable.
49178         (tst-audit4-ENV): Likewise.
49179         (tst-audit5-ENV): Likewise.
49180         (tst-audit6-ENV): Likewise.
49181         (tst-audit7-ENV): Likewise.
49182         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
49183         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
49184         addition to variable.
49185         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
49186         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
49187         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
49188         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
49189         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
49190         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
49191         tst-audit3, tst-audit4 and tst-audit5.
49192         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
49193         tst-audit6 and tst-audit7.
49194         [$(subdir) = elf] (modules-names): Add audit modules for those
49195         tests.
49196         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
49197         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
49198         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
49199         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
49200         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
49201         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
49202         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
49203         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
49204         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
49205         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
49206         [$(subdir) = elf] (tst-audit3-ENV): New variable.
49207         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
49208         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
49209         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
49210         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
49211         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
49212         Likewise.
49213         [$(subdir) = elf && $(config-cflags-avx) = yes]
49214         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
49215         [$(subdir) = elf && $(config-cflags-avx) = yes]
49216         (CFLAGS-tst-auditmod4a.c): Likewise.
49217         [$(subdir) = elf && $(config-cflags-avx) = yes]
49218         (CFLAGS-tst-auditmod4b.c): Likewise.
49219         [$(subdir) = elf && $(config-cflags-avx) = yes]
49220         (CFLAGS-tst-auditmod6b.c): Likewise.
49221         [$(subdir) = elf && $(config-cflags-avx) = yes]
49222         (CFLAGS-tst-auditmod6c.c): Likewise.
49223         [$(subdir) = elf && $(config-cflags-avx) = yes]
49224         (CFLAGS-tst-auditmod7b.c): Likewise.
49225         * elf/tst-audit3.c: Move to ...
49226         * sysdeps/x86_64/tst-audit3.c: ... here.
49227         * elf/tst-audit4.c: Move to ...
49228         * sysdeps/x86_64/tst-audit4.c: ... here.
49229         * elf/tst-audit5.c: Move to ...
49230         * sysdeps/x86_64/tst-audit5.c: ... here.
49231         * elf/tst-audit6.c: Move to ...
49232         * sysdeps/x86_64/tst-audit6.c: ... here.
49233         * elf/tst-audit7.c: Move to ...
49234         * sysdeps/x86_64/tst-audit7.c: ... here.
49235         * elf/tst-auditmod3a.c: Move to ...
49236         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
49237         * elf/tst-auditmod3b.c: Move to ...
49238         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
49239         * elf/tst-auditmod4a.c: Move to ...
49240         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
49241         * elf/tst-auditmod4b.c: Move to ...
49242         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
49243         * elf/tst-auditmod5a.c: Move to ...
49244         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
49245         * elf/tst-auditmod5b.c: Move to ...
49246         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
49247         * elf/tst-auditmod6a.c: Move to ...
49248         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
49249         * elf/tst-auditmod6b.c: Move to ...
49250         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
49251         * elf/tst-auditmod6c.c: Move to ...
49252         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
49253         * elf/tst-auditmod7a.c: Move to ...
49254         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
49255         * elf/tst-auditmod7b.c: Move to ...
49256         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
49258 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
49260         [BZ #15366]
49261         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
49262         define unconditionally.
49263         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
49264         define unconditionally.
49265         (INT8_C, INT16_C, etc.): Likewise.
49267 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
49269         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
49270         __ehdr_start with hidden visibility.
49272         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
49274 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
49276         * math/libm-test.inc (cos_test): Use accurate hex constants.
49277         (sincost_test): Likewise.
49279 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
49281         * math/libm-test.inc (catan_test): Add more tests.
49282         (catanh_test): Likewise.
49284         * math/s_catanf.c (__catanf): Use suffixed floating-point
49285         constants.
49286         * math/s_catanhf.c (__catanhf): Likewise.
49287         * math/s_catanhl.c (__catanhl): Likewise.
49288         * math/s_catanl.c (__catanl): Likewise.
49290         [BZ #15394]
49291         * math/s_catan.c (__catan): Calculate imaginary part of result
49292         with log1p not log unless computing log of number close to 0.
49293         * math/s_catanf.c (__catanf): Likewise.
49294         * math/s_catanl.c (__catanl): Likewise.
49295         * math/s_catanh.c (__catanh): Calculate real part of result with
49296         log1p not log unless computing log of number close to 0.
49297         * math/s_catanhf.c (__catanhf): Likewise.
49298         * math/s_catanhl.c (__catanhl): Likewise.
49299         * math/libm-test.inc (catan_test): Add more tests.
49300         (catanh_test): Likewise.
49301         * sysdeps/i386/fpu/libm-test-ulps: Update.
49302         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49304 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
49306         * benchtests/Makefile: Mention files in which fast and slow
49307         paths of math functions are implemented.
49309 2013-04-23  Roland McGrath  <roland@hack.frob.com>
49311         * sysdeps/posix/timespec_get.c: New file.
49313 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49315         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
49316         POWER.
49317         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
49318         for POWER.
49319         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
49320         powerpc/power5/fpu folders.
49321         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
49322         * benchtests/Makefile: Add modf testcase.
49323         * benchtests/bench-modf.c: New file: Benchmark test for mo
49325 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
49327         [BZ #14888]
49328         * time/Makefile (tests): Add tst-strptime-whitespace.
49329         * time/strptime_l.c (get_number): Use ISSPACE.
49330         (__strptime_internal): Likewise.
49331         * time/tst-strptime-whitespace.c: New test case.
49333 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
49335         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
49336         member.
49337         (_nss_files_init): Set it here.
49339 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
49341         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
49342         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
49343         unsigned.
49345 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
49347         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
49349 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
49351         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
49352         size just once.
49354 2013-04-21  David S. Miller  <davem@davemloft.net>
49356         * po/ru.po: Update Russion translation from translation project.
49358 2013-04-17  Adam Conrad  <adconrad@0c3.net>
49360         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
49361         and setfsgid.
49363 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
49365         * configure.in: Remove i386 configure warning. Remove i386 case.
49366         * configure: Regenerate.
49367         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
49368         Add example to error message.
49369         * sysdeps/i386/configure: Regenerate.
49371 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
49373         * benchtests/Makefile (bench): Add cos, tan, slowcos and
49374         slowtan.
49375         * benchtests/cos-inputs: New file.
49376         * benchtests/slowcos-inputs: New file.
49377         * benchtests/slowcos.c: New file.
49378         * benchtests/slowtan-inputs: New file.
49379         * benchtests/slowtan.c: New file.
49380         * benchtests/tan-inputs: New file.
49382 2013-04-16  Roland McGrath  <roland@hack.frob.com>
49384         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
49385         considered kosher.
49387 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
49389         * benchtests/Makefile: Include cppflags-iterator.mk to add
49390         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
49392         * Makefile.in (bench-clean): New target.
49393         * benchtests/Makefile (bench-clean): Likewise.
49395 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
49397         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
49399 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
49401         * stdio-common/tstdiomisc.c: Fix coding-style violation.
49403 2013-04-15  Andreas Schwab  <schwab@suse.de>
49405         * nscd/grpcache.c (cache_addgr): Properly check for short write.
49406         * nscd/initgrcache.c (addinitgroupsX): Likewise.
49407         * nscd/pwdcache.c (cache_addpw): Likewise.
49408         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
49409         more than recsize.
49411 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
49413         * benchtests/Makefile (bench): Write all output to
49414         bench-out.tmp together.
49416 2013-04-15  Andreas Schwab  <schwab@suse.de>
49418         * nscd/nscd.c (main): Don't fork again after closing files.
49420 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
49422         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
49424         * benchtests/Rules (bench-deps): Collect dependencies into a
49425         single variable.  Add Makefile to dependencies.
49426         ($(objpfx)bench-%.c): Depend on bench-deps.
49428 2013-04-12  Roland McGrath  <roland@hack.frob.com>
49429             Xavier Roche  <roche+kml2@exalead.com>
49431         [BZ #15361]
49432         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
49433         just that it's a file descriptor.
49434         * manual/llio.texi (Synchronizing AIO Operations): Update description
49435         for EBADF error from aio_fsync.
49437 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
49439         * Rules (bench): Move target definition...
49440         * benchtests/Makefile: ... here.
49442 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
49444         * math/libm-test.inc (cos_test): Fix PI/2 test.
49445         (sincos_test): Likewise.
49446         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
49447         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
49449 2013-04-11  Andreas Schwab  <schwab@suse.de>
49451         [BZ #13988]
49452         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
49453         accept exponent character only when digits were seen.
49454         * stdio-common/Makefile (tests): Add bug26.
49455         * stdio-common/bug26.c: New file.
49457         [BZ #14293]
49458         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
49459         non-freeable.
49461 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
49463         * Makeconfig (rtld-prefix): Define built linker prefix.
49464         * Rules (run-bench): Use it.
49465         * math/Makefile (run-regen-ulps): Likewise.
49467         * Rules (bench): Remove eval.
49469 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
49470             Roland McGrath  <roland@hack.frob.com>
49471             Ondrej Bilka  <neleai@seznam.cz>
49473         [BZ #15346]
49474         * time/getdate.c: Include ctype.h and alloca.h.
49475         (__getdate_r): Trim leading and trailing spaces of input.
49476         * time/tst-getdate.c (tests): Add tests with leading and
49477         trailing spaces.
49479 2013-04-08  Roland McGrath  <roland@hack.frob.com>
49481         [BZ #14280]
49482         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
49483         when computing value.
49485 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
49487         * math/README.libm-test (How can I generate "libm-test-ulps"?):
49488         Use testrun.sh to run libm tests.
49490         [BZ #15309]
49491         * elf/dl-open.c (dl_open_worker): memset all of seen array.
49493 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
49495         [BZ #15264]
49496         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
49498 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
49500         * Makefile.in (regen-ulps): New target.
49501         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
49502         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
49503         [ifneq (no,$(PERL)] (regen-ulps): New target.
49504         [ifeq (no,$(PERL)] (regen-ulps): New target.
49505         * math/libm-test.inc (ulps_file_name): Define.
49506         (output_dir): New variable.
49507         (options): Add "output-dir" option.
49508         (parse_opt): Handle 'o' case.
49509         (main): If output_dir is non-NULL use it as a prefix
49510         otherwise use "".
49511         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
49513 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
49515         [BZ #10060, #10062]
49516         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
49517         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
49518         fail configure if __sync_val_compare_and_swap is not inlined.
49519         * sysdeps/i386/configure: Regenerate.
49520         * configure.in: Build for i686 when configured for i386.
49521         * configure: Regenerate.
49522         * README: Remove i386 reference.
49524 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
49526         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
49527         * sysdeps/s390/s390-64/sysdep.h: Likewise.
49529 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
49531         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
49532         (lmsnanval): New variables.
49533         (F): Add conversion tests.
49534         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
49535         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
49537         * stdio-common/tstdiomisc.c (F): Properly collect individual
49538         tests' results.
49540         [BZ #14686, #15336]
49541         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
49542         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
49543         Instead, use input NaN values or generate a qNaN by arithmetic
49544         operation.  Also fix bugs to comply with the standard.
49545         * math/libm-test.inc (remainder_test): Add more tests.
49547         [BZ #15335, #15342]
49548         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
49549         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
49550         input NaN values or generate a qNaN by arithmetic operation.
49552         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
49553         unreachable code.
49555         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
49556         definitions.
49558 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
49560         [BZ #14478]
49561         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
49562         underflowed result.
49563         * math/s_cexpf.c (__cexpf): Likewise.
49564         * math/s_cexpl.c (__cexpl): Likewise.
49565         * math/libm-test.inc (cexp_test): Add more tests.
49567 2013-04-03  Andreas Schwab  <schwab@suse.de>
49569         [BZ #15330]
49570         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
49571         order arrays from heap if bigger than alloca cutoff.
49573 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
49575         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
49576         (SNAN_TESTS_double): Refer to GCC PR56831.
49577         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
49578         GCC PR56828.
49580 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
49582         * Rules (bench): Move bench.out after the run is complete.
49584         * Rules (bench): Echo currently running benchmark.
49586         * benchtests/Makefile (bench): Add atan and slowatan.
49587         * benchtests/atan-inputs: New file.
49588         * benchtests/slowatan-inputs: New file.
49589         * benchtests/slowatan.c: New file.
49591         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
49592         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
49593         its value.
49595         [BZ #15305]
49596         * sysdeps/unix/sysv/linux/kernel-features.h
49597         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
49598         __ASSUME_XFS_RESTRICTED_CHOWN.
49599         * sysdeps/unix/sysv/linux/pathconf.c
49600         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
49601         Save and restore errno.
49603 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
49605         [BZ #15327]
49606         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
49607         arguments using __kernel_casinh.
49608         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
49609         arguments using __kernel_casinhf.
49610         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
49611         arguments using __kernel_casinhl.
49612         * math/libm-test.inc (cacosh_test): Add more tests.
49613         * sysdeps/i386/fpu/libm-test-ulps: Update.
49614         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49616 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
49618         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
49619         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
49621         * bench/Makefile (bench): Add sin and slowsin.
49622         * benchtests/sin-inputs: New file.
49623         * benchtests/slowsin-inputs: New file.
49624         * benchtests/slowsin.c: New file.
49626         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
49627         (bench): Add slowexp and slowpow.
49628         (exp-ITER): Increase iterations.
49629         (pow-ITER): Likewise.
49630         * benchtests/exp-inputs: Change input.
49631         * benchtests/pow-inputs: Likewise.
49632         * benchtests/slowexp-inputs: New file.
49633         * benchtests/slowexp.c: New file.
49634         * benchtests/slowpow-inputs: New file.
49635         * benchtests/slowpow.c: New file.
49637 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49639         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
49640         instructions.
49641         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
49642         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
49643         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
49644         * benchtests/Makefile: Add rint benchtest.
49645         * benchtests/rint-inputs: Input for rint benchtest.
49647 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
49649         * Versions.def (libm): Add GLIBC_2.18.
49650         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
49651         hidden libm prototypes.
49652         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
49653         * math/Makefile (libm-calls): Add s_issignaling.
49654         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
49655         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
49656         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
49657         declaration.
49658         * math/math.h [__USE_GNU] (issignaling): New macro.
49659         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
49660         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
49661         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
49662         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
49663         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
49664         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
49665         * manual/arith.texi (issignaling): New section.
49666         * manual/libm-err-tab.pl (@all_functions): Update comment.
49667         * math/gen-libm-test.pl (parse_args): Apply special handling for
49668         issignaling.
49669         * math/libm-test.inc (print_float, issignaling_test): New
49670         functions.
49671         (check_float_internal): Add issignaling checks.
49672         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
49673         default definition.
49674         * sysdeps/powerpc/math-tests.h: New file.
49675         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
49676         tests.
49677         * math/test-snan.c (TEST_FUNC): Likewise.
49679 2013-03-30  David S. Miller  <davem@davemloft.net>
49681         * po/de.po: Update from translation team.
49683 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
49685         [BZ #10357]
49686         * math/k_casinh.c (__kernel_casinh): Handle arguments with
49687         imaginary part less than 1.0 and real part less than 0.5
49688         specially.
49689         * math/k_casinhf.c (__kernel_casinhf): Likewise.
49690         * math/k_casinhl.c (__kernel_casinhl): Likewise.
49691         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
49692         (cacos_test): Add more tests.
49693         (casin_test): Likewise.
49694         (casinh_test): Likewise.
49695         * sysdeps/i386/fpu/libm-test-ulps: Update.
49696         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49698 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
49700         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
49701         ONE with its value.
49703         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
49704         (__pow_mp): Replace ONE and MONE with their values.
49705         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
49706         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
49707         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
49708         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
49709         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
49710         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
49712         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
49714         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
49715         (__pow_mp): Replace ZERO and MZERO with their values.
49716         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
49717         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
49718         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
49719         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
49720         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
49721         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
49722         (__sqr): Likewise.
49724         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
49726         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
49728 2013-03-28  Roland McGrath  <roland@hack.frob.com>
49730         * include/stdlib.h [!SHARED] (__call_tls_dtors):
49731         Declare with __attribute__ ((weak)).
49732         * stdlib/exit.c (__libc_atexit) [!SHARED]:
49733         Call __call_tls_dtors only if it's not NULL.
49735 2013-03-28  Roland McGrath  <roland@hack.frob.com>
49737         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
49738         didn't do it already, then set _dl_phdr and _dl_phnum based on the
49739         magic __ehdr_start linker symbol if it's defined.
49740         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
49741         them up here if it was already done.
49743         * elf/dl-support.c (_dl_phdr): Make pointer to const.
49744         (_dl_aux_init): Use const in cast when setting it.
49745         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
49746         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
49747         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
49749         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
49750         Declare them here.
49751         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
49752         * csu/libc-tls.c: Nor here.
49753         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
49755         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
49756         (__libc_message): Never call vsyslog.
49758 2013-03-28  Alan Modra  <amodra@gmail.com>
49760         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
49761         Define as empty.
49762         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
49763         Likewise.
49765 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49767         [BZ #15214]
49768         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
49769         underflow.
49770         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
49772 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
49774         [BZ #15304]
49775         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
49776         Don't add gid passed as argument.
49778         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
49780 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
49782         [BZ #15307]
49783         * math/k_casinh.c (__kernel_casinh): Handle arguments with
49784         imaginary part between 1.0 and 1.5 and real part less than 0.5
49785         specially.
49786         * math/k_casinhf.c (__kernel_casinhf): Likewise.
49787         * math/k_casinhl.c (__kernel_casinhl): Likewise.
49788         * math/libm-test.inc (cacos_test): Add more tests.
49789         (casin_test): Likewise.
49790         (casinh_test): Likewise.
49791         * sysdeps/i386/fpu/libm-test-ulps: Update.
49792         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49794 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
49796         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
49797         constants.
49798         (norm): Likewise.
49799         (denorm): Likewise.
49800         (__dbl_mp): Likewise.
49801         (add_magnitudes): Likewise.
49802         (sub_magnitudes): Likewise.
49803         (__add): Likewise.
49804         (__sub): Likewise.
49805         (__mul): Likewise.
49806         (__sqr): Likewise.
49807         (__inv): Likewise.
49808         (__dvd): Likewise.
49810         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
49811         commented code.
49812         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
49813         (__dubcos): Likewise.
49814         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
49815         (__ieee754_acos): Likewise.
49816         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
49817         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
49818         (__exp1): Likewise.
49819         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
49820         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
49821         (log1): Likewise.
49822         (my_log2): Likewise.
49823         (checkint): Likewise.
49824         * sysdeps/ieee754/dbl-64/e_remainder.c
49825         (__ieee754_remainder): Likewise.
49826         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
49827         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
49828         (bsloww): Likewise.
49829         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
49831         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
49832         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
49833         MANTISSA_STORE_T to store computations on mantissa.  Use
49834         macros for rounding and division.
49835         (denorm): Likewise.
49836         (__dbl_mp): Likewise.
49837         (add_magnitudes): Likewise.
49838         (sub_magnitudes): Likewise.
49839         (__mul): Likewise.
49840         (__sqr): Likewise.
49841         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
49842         powers of two in terms of TWOPOW macro.
49843         (mp_no): Make type of mantissa as MANTISSA_T.
49844         [!RADIXI]: Define RADIXI.
49845         [!TWO52]: Define TWO52.
49846         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
49848 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49850         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
49851         llroundl symbol when building for PPC32.
49853 2013-03-24  Mark H Weaver  <mhw@netris.org>
49855         * manual/arith.texi (Normalization Functions): Fix prototypes for
49856         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
49858 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49860         [BZ #13889]
49861         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
49862         high value to check if expl overflow.
49863         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
49864         to check for underflow and overflow.
49865         * math/libm-test.inc: Add exp test.
49867 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
49869         [BZ #11120]
49870         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
49871         with NOT_IN_libc.
49873 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49875         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
49876         symbol.
49878 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
49880         * math/gen-libm-test.pl (parse_args, special_functions): Properly
49881         wrap blocks consisting of several statements.
49883         * sysdeps/generic/math-tests.h: New file.
49884         * sysdeps/i386/fpu/math-tests.h: Likewise.
49885         * math/test-snan.c: Include it.
49886         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
49888 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
49890         [BZ #15285]
49891         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
49892         (__ieee754_j0l): Do not improve calculations using cos of twice
49893         input for inputs above LDBL_MAX / 2.0L.
49894         (__ieee754_y0l): Likewise.
49895         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
49896         (__ieee754_j1l): Do not improve calculations using cos of twice
49897         input for inputs above LDBL_MAX / 2.0L.
49898         (__ieee754_y1l): Likewise.
49899         * math/libm-test.inc (j0_test): Add another test.
49900         (j1_test): Likewise.
49901         (y0_test): Likewise.
49902         (y1_test): Likewise.
49903         * sysdeps/i386/fpu/libm-test-ulps: Update.
49905 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
49907         * Rules ($(objpfx)bench-%.c): Include code from a C source
49908         file.
49910 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
49912         [BZ #15287]
49913         * math/k_casinh.c (__kernel_casinh): Handle arguments with
49914         imaginary part 1.0 and real part less than 0.5 specially.
49915         * math/k_casinhf.c (__kernel_casinhf): Likewise.
49916         * math/k_casinhl.c (__kernel_casinhl): Likewise.
49917         * math/libm-test.inc (cacos_test): Add more tests.
49918         (casin_test): Likewise.
49919         (casinh_test): Likewise.
49920         * sysdeps/i386/fpu/libm-test-ulps: Update.
49921         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49923 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
49925         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
49926         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
49928 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
49930         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
49931         * config.make.in (config-cflags-sse4): Remove variable.
49932         (config-cflags-avx): Likewise.
49933         (config-cflags-sse2avx): Likewise.
49934         (config-cflags-novzeroupper): Likewise.
49935         (config-asflags-i686): Likewise.
49936         (have-mfma4): Likewise.
49937         (have-as-vis3): Likewise.
49938         (MIG): Likewise.
49939         * configure.in (MIG): Do not AC_SUBST.
49940         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
49941         (libc_cv_cc_sse4): Do not AC_SUBST.
49942         (libc_cv_cc_avx): Likewise.
49943         (libc_cv_cc_sse2avx): Likewise.
49944         (libc_cv_cc_novzeroupper): Likewise.
49945         (libc_cv_cc_fma4): Likewise.
49946         (libc_cv_as_i686): Likewise.
49947         (libc_cv_sparc_as_vis3): Likewise.
49948         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
49949         LIBC_CONFIG_VAR.
49950         (config-asflags-i686): Likewise.
49951         (config-cflags-avx): Likewise.
49952         (config-cflags-sse2avx): Likewise.
49953         (have-mfma4): Likewise.
49954         (config-cflags-novzeroupper): Likewise.
49955         * sysdeps/mach/configure.in (MIG): Likewise.
49956         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
49957         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
49958         LIBC_CONFIG_VAR.
49959         (config-cflags-avx): Likewise.
49960         (config-cflags-sse2avx): Likewise.
49961         (have-mfma4): Likewise.
49962         (config-cflags-novzeroupper): Likewise.
49963         * configure: Regenerated.
49964         * sysdeps/i386/configure: Likewise.
49965         * sysdeps/mach/configure: Likewise.
49966         * sysdeps/sparc/configure: Likewise.
49967         * sysdeps/x86_64/configure: Likewise.
49969 2013-03-20  Roland McGrath  <roland@hack.frob.com>
49971         [BZ #14812]
49972         * locale/programs/localedef.c (options): Put N_ translation marker
49973         on argument names, not just descriptions.
49975 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
49977         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
49979 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
49981         [BZ #14176]
49982         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
49984 2013-03-19  Roland McGrath  <roland@hack.frob.com>
49986         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
49987         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
49988         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
49989         [!BEFORE_ABORT] (before_abort): New function.
49990         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
49991         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
49992         (writev_for_fatal): New function.
49993         (WRITEV_FOR_FATAL): New macro; call that.
49994         (backtrace_and_maps): New function.
49995         (BEFORE_ABORT): New macro; call that.
49996         (struct str_list): Type removed.
49997         (__libc_message, __libc_fatal): Functions removed.
49998         Include <sysdeps/posix/libc_fatal.c> instead.
50000 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
50002         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
50003         constants.
50004         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
50005         double constants.
50007 2013-03-19  Andreas Schwab  <schwab@suse.de>
50009         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
50010         * sysdeps/gnu/configure: Regenerate.
50012         * configure.in: Substitute libc_cv_rtlddir.
50013         * configure: Regenerate.
50014         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
50015         * Makeconfig (rtlddir, inst_rtlddir): New variables.
50016         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
50017         * elf/Makefile (install-others, CFLAGS-interp.c)
50018         (ldso_install, common-ldd-rewrite): Likewise.
50019         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
50020         $(inst_slibdir)/$(rtld-installed-name).
50021         * scripts/rellns-sh: Add -p option.
50022         * Makerules (make-shlib-link): Use rellns-sh to get relative name
50023         for source.
50025 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
50027         * manual/nptl.texi: Renamed to ...
50028         * manual/threads.texi: ... this.
50029         * manual/Makefile (chapters): Update.
50031 2013-03-18  Roland McGrath  <roland@hack.frob.com>
50033         [BZ #14812]
50034         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
50035         on argument names, not just descriptions.
50036         * malloc/memusagestat.c (options): Likewise.
50037         * nss/getent.c (options): Likewise.
50039 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
50041         [BZ #14812]
50042         * iconv/iconv_prog.c (options): Put N_ translation marker
50043         on argument names, not just descriptions.
50044         * iconv/iconvconfig.c (options): Likewise.
50046 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
50048         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
50049         implementation which is faster on all x86_64 architectures.
50050         Tested on AMD, Intel Nehalem, SNB, IVB.
50051         * sysdeps/x86_64/strnlen.S: Likewise.
50053         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
50054         Remove all multiarch strlen and strnlen versions.
50055         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
50056         Remove strlen and strnlen related parts.
50058         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
50059         Inline strlen part.
50060         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
50062         * sysdeps/x86_64/multiarch/strlen.S: Remove.
50063         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
50064         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
50065         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
50066         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
50067         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
50069 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
50071         * manual/memory.texi (Malloc Tunable Parameters):
50072         Sort parameters alphabetically. Add comments for missing entries.
50074 2013-03-17  David S. Miller  <davem@davemloft.net>
50076         * sysdeps/sparc/fpu/libm-test-ulps: Update.
50078 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
50080         [BZ #15283]
50081         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
50082         for arguments at most half maximum finite value.
50083         * math/libm-test.inc (j0_test): Add more tests.
50084         (j1_test): Likewise.
50085         (y0_test): Likewise.
50086         (y1_test): Likewise.
50087         * sysdeps/i386/fpu/libm-test-ulps: Update.
50088         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50090         [BZ #14155]
50091         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
50092         1 / x and functions P and Q for arguments above 0x1p256L.
50093         (__ieee754_y0l): Likewise.
50094         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
50095         (__ieee754_y1l): Likewise.
50096         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
50097         (j1_test): Likewise.
50098         (y0_test): Likewise.
50099         (y1_test): Likewise.
50101 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
50103         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
50104         variable.
50106 2013-03-15  Roland McGrath  <roland@hack.frob.com>
50108         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
50109         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
50110         zero since it's initialized to EXEC_PAGESIZE.
50112         * sysdeps/unix/sysv/linux/ldsodefs.h
50113         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
50114         * sysdeps/generic/ldsodefs.h: ... here.
50116 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
50118         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
50120         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
50121         math/test-snan.c.
50122         * math/test-snan.c: Renamed from
50123         sysdeps/powerpc/fpu/test-powerpc-snan.c.
50124         * math/Makefile (tests): Add test-snan.
50125         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
50126         test-powerpc-snan.
50128         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
50129         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
50130         functions.
50131         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
50132         __builtin_nan family of functions.
50133         * math/libm-test.inc (initialize): Initialize qnan_value with
50134         __builtin_nan family of functions.
50135         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
50136         Remove variables.
50137         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
50138         Remove functions.
50139         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
50140         storage class.  Initialize qNaN_var and sNaN_var with
50141         __builtin_nan and __builtin_nans families of functions,
50142         respectively.
50144         * math/libm-test.inc (acosh_test): Also test with qNaN input.
50145         (sqrt_test): Remove duplicate test with qNaN input.
50146         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
50147         (round_test, signbit_test, significand_test): Note missing +/-Inf
50148         as well as qNaN tests.
50150         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
50151         qNaN_var.  Fix a few strings, too.
50152         * math/libm-test.inc (nan_value): Rename to qnan_value.
50153         * math/gen-libm-test.pl (%beautify): Adjust to that.
50154         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
50155         * math/test-misc.c (main): Likewise.
50156         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
50157         to __qnan_bytes, and __qnan_union, respectively.
50158         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
50159         Likewise.
50160         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
50161         and lqnanval, respectively.
50162         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
50163         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
50164         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
50165         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
50167         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
50168         * math/test-misc.c (main) [__x86_64__]: Enable test for long
50169         doubles.
50171         * math/test-misc.c (main): Fix copy'n'pastos.
50172         * misc/tst-efgcvt.c (special): Likewise.
50174         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
50175         Remove declarations.
50177 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
50179         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
50180         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
50181         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
50182         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
50184 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50186         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
50187         macro to return vdso values correctly in IFUNC implementations.
50188         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
50189         Optimization by using IFUNC.
50191 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
50192             Richard Henderson  <rth@redhat.com>
50193             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
50195         * Makefile.in (bench): New target.
50196         * NEWS: Mention the benchmark framework.
50197         * Rules (bench): Likewise.
50198         (binaries-bench): Generate binaries for functions to
50199         benchmark.
50200         * benchtests/Makefile: New makefile for benchmark tests.
50201         * benchtests/bench-skeleton.c: New skeleton file for benchmark
50202         programs.
50203         * benchtests/exp-inputs: New input file for EXP function.
50204         * benchtests/pow-inputs: New input file for POW function.
50205         * scripts/bench.pl: New script to generate source files for
50206         benchmark programs.
50208 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
50210         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
50211         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
50212         computations on mantissa.  Use macros for rounding and
50213         division.
50214         (denorm): Likewise.
50215         (__dbl_mp): Likewise.
50216         (add_magnitudes): Likewise.
50217         (sub_magnitudes): Likewise.
50218         (__mul): Likewise.
50219         (__sqr): Likewise.
50220         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
50221         powers of two in terms of TWOPOW macro.
50222         (mp_no): Make type of mantissa as MANTISSA_T.
50223         [!RADIXI]: Define RADIXI.
50224         [!TWO52]: Define TWO52.
50225         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
50227         * manual/nptl.texi (cindex): Modify threads to pthreads.
50229 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
50231         * sysdeps/x86_64/preconfigure: Regenerated.
50233 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
50235         [BZ #14155]
50236         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
50237         0x1p28 and above.
50238         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
50239         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
50240         0x1p28 and above.
50241         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
50242         * math/libm-test.inc (j0_test): Do not allow one spurious
50243         underflow exception.
50244         (y1_test): Likewise.
50246 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
50248         * manual/Makefile (chapters): Add nptl.
50249         * manual/debug.texi (Debugging Support): Add link to Threads
50250         chapter.
50251         * manual/nptl.texi: New file.
50253         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
50255 2013-03-14  Petr Baudis  <pasky@ucw.cz>
50257         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
50258         for non-NULL pointer before the memory validity test. Pointed
50259         out by Holger Brunck <holger.brunck@keymile.com>.
50261 2013-03-13  Andreas Schwab  <schwab@suse.de>
50263         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
50264         instead of .os.
50266 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
50268         * timezone/zic.c: Update from tzcode 2013b.
50270 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
50272         * manual/install.texi (Configuring and compiling):
50273         Mention i686 and i586.
50274         * INSTALL: Regenerate.
50276 2013-03-12  Roland McGrath  <roland@hack.frob.com>
50278         * sysdeps/init_array/elf-init.c: New file.
50279         * csu/elf-init.c
50280         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
50281         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
50283         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
50284         __gmon_start__ as global, but as static with a .preinit_array pointer.
50285         * sysdeps/init_array/gmon-start.c: New file.  Use that.
50286         * sysdeps/init_array/crti.S: New file, empty except for comments.
50287         * sysdeps/init_array/crtn.S: Likewise.
50289 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
50291         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
50292         definining bcopy.
50293         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
50294         Remove Prefer_SSE_for_memop.
50295         * sysdeps/x86_64/multiarch/init-arch.h: Remove
50296         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
50297         HAS_PREFER_SSE_FOR_MEMOP.
50298         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
50299         memset-x86-64.
50300         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
50301         Remove bzero, memset ifunc support.
50302         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
50303         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
50304         * sysdeps/x86_64/multiarch/memset.S: Likewise.
50305         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
50307 2013-03-11  Andreas Schwab  <schwab@suse.de>
50309         [BZ #15234]
50310         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
50311         by SHLIB_COMPAT.
50312         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
50313         (GLIBC_2.16): Remove pthread_atfork.
50315 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
50317         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
50318         (ptestcases.h): Likewise.
50320 2013-03-08  Roland McGrath  <roland@hack.frob.com>
50322         * Makeconfig ($(common-objpfx)config.status): Depend on
50323         sysdeps/*/preconfigure{,.in} too.
50325 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
50327         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
50328         (__free_hook): Use void * instead of __malloc_ptr_t.
50329         (__malloc_hook): Likewise.
50330         (__realloc_hook): Likewise.
50331         (__memalign_hook): Likewise.
50332         (__after_morecore_hook): Likewise.
50333         * malloc/arena.c (save_malloc_hook): Likewise.
50334         (save_free_hook): Likewise.
50335         * malloc/hooks.c (malloc_hook_ini): Likewise.
50336         (realloc_hook_ini): Likewise.
50337         (memalign_hook_ini): Likewise.
50338         * malloc/malloc.c (malloc_hook_ini): Likewise.
50339         (realloc_hook_ini): Likewise.
50340         (memalign_hook_ini): Likewise.
50341         (__free_hook): Likewise.
50342         (__malloc_hook): Likewise.
50343         (__realloc_hook): Likewise.
50344         (__memalign_hook): Likewise.
50345         (__libc_malloc): Likewise.
50346         (__libc_free): Likewise.
50347         (__libc_realloc): Likewise.
50348         (__libc_memalign): Likewise.
50349         (__libc_valloc): Likewise.
50350         (__libc_pvalloc): Likewise.
50351         (__libc_calloc): Likewise.
50352         (__posix_memalign): Likewise.
50353         * malloc/morecore.c (__sbrk): Likewise.
50354         (__default_morecore): Likewise.
50356         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
50358         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
50359         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
50360         __malloc_ptrdiff_t.
50362         * malloc/malloc.h (__malloc_size_t): Remove macro.
50363         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
50364         __malloc_size_t.
50365         (old_memalign_hook): Likewise.
50366         (old_realloc_hook): Likewise.
50367         (struct hdr): Likewise.
50368         (flood): Likewise.
50369         (mallochook): Likewise.
50370         (memalignhook): Likewise.
50371         (reallochook): Likewise.
50372         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
50373         (tr_old_realloc_hook): Likewise.
50374         (tr_old_memalign_hook): Likewise.
50375         (tr_mallochook): Likewise.
50376         (tr_reallochook): Likewise.
50377         (tr_memalignhook): Likewise.
50379 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50381         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
50382         default_ldbl_pack and using as default implementation.
50383         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
50384         implementation.
50385         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
50386         redundant definition.
50387         (ldbl_insert_mantissa): Likewise.
50388         (ldbl_canonicalize): Likewise.
50389         (ldbl_nearbyint): Likewise.
50390         (ldbl_pack): Rename to ldbl_pack_ppc.
50391         (ldbl_unpack): Rename to ldbl_unpack_ppc.
50392         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
50393         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
50395 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
50397         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
50398         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
50399         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
50400         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
50401         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
50402         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
50403         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
50404         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
50406 2013-03-07  Andreas Jaeger  <aj@suse.de>
50408         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
50409         bits/mman-linux.h.
50411 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
50413         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
50414         Include mpa.h and declare __MPEXP.
50415         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
50416         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
50417         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
50418         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
50419         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
50420         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
50421         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
50423         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
50424         (__slowpow): Use long double EXPL and LOGL functions to
50425         compute POW.
50426         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
50427         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
50428         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
50429         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
50430         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
50431         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
50433         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
50434         intermediate variable to calculate exponent.
50435         (__sqr): Likewise.
50436         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
50437         Likewise.
50438         (__sqr): Likewise.
50440         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
50441         [!NO__SQR]: Define __sqr.
50442         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
50443         and NO__SQR.  Remove all code except __mul and __sqr.  Include
50444         sysdeps/ieee754/dbl-64/mpa.c.
50445         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
50447         [BZ #12723]
50448         * posix/Makefile (tests): Add tst-pathconf.
50449         * posix/tst-pathconf.c: New test case.
50450         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
50451         _PC_PIPE_BUF.
50452         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
50454 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
50456         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
50458 2013-03-06  Andreas Jaeger  <aj@suse.de>
50460         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
50461         definition via __MAP_ANONYMOUS.
50463         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
50464         it's not part of Linux headers.
50466         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
50467         (MAP_HUGE_MASK): Define.
50469         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
50470         Define.
50471         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
50472         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
50473         Define.
50474         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
50475         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
50476         Define.
50477         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
50478         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
50479         Define.
50480         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
50482         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
50483         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
50484         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
50485         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
50486         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
50487         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
50489         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
50490         Handle f2fs.
50492         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
50493         Handle f2fs and efivarfs.
50495         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
50496         f2fs.
50498         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
50499         (EFIVARFS_MAGIC): Add.
50500         (F2FS_LINK_MAX): Add.
50502 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
50504         * stdio-common/vfprintf.c: Replace __builtin_expect with
50505         __glibc_unlikely.
50507 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
50509         [BZ #13550]
50510         * sysdeps/generic/bp-sym.h: Remove file.
50511         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
50512         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
50513         <bp-sym.h> and <bp-asm.h>.
50514         (__longjmp): Don't use BP_SYM.
50515         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
50516         and <bp-asm.h>.
50517         (memcpy): Don't use BP_SYM.
50518         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
50519         <bp-sym.h> and <bp-asm.h>.
50520         (memcpy): Don't use BP_SYM.
50521         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
50522         <bp-asm.h>.
50523         (memcpy): Don't use BP_SYM.
50524         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
50525         <bp-asm.h>.
50526         (memset): Don't use BP_SYM.
50527         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
50528         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
50529         (__bzero): Don't use BP_SYM.
50530         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
50531         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
50532         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
50533         <bp-sym.h> and <bp-asm.h>.
50534         (memcmp): Don't use BP_SYM.  Remove comment about bounded
50535         pointers.
50536         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
50537         <bp-sym.h> and <bp-asm.h>.
50538         (memcpy): Don't use BP_SYM.
50539         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
50540         <bp-sym.h> and <bp-asm.h>.
50541         (memset): Don't use BP_SYM.
50542         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
50543         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
50544         (__bzero): Don't use BP_SYM.
50545         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
50546         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
50547         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
50548         <bp-sym.h> and <bp-asm.h>.
50549         (strncmp): Don't use BP_SYM.  Remove comment about bounded
50550         pointers.
50551         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
50552         <bp-sym.h> and <bp-asm.h>.
50553         (memcpy): Don't use BP_SYM.
50554         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
50555         <bp-sym.h> and <bp-asm.h>.
50556         (memset): Don't use BP_SYM.
50557         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
50558         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
50559         (__bzero): Don't use BP_SYM.
50560         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
50561         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
50562         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
50563         <bp-sym.h> and <bp-asm.h>.
50564         (__memchr): Don't use BP_SYM.
50565         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
50566         <bp-sym.h> and <bp-asm.h>.
50567         (memcmp): Don't use BP_SYM.  Remove comment about bounded
50568         pointers.
50569         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
50570         <bp-sym.h> and <bp-asm.h>.
50571         (memcpy): Don't use BP_SYM.
50572         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
50573         <bp-sym.h> and <bp-asm.h>.
50574         (__mempcpy): Don't use BP_SYM.
50575         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
50576         <bp-sym.h> and <bp-asm.h>.
50577         (__memrchr): Don't use BP_SYM.
50578         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
50579         <bp-sym.h> and <bp-asm.h>.
50580         (memset): Don't use BP_SYM.
50581         (__bzero): Likewise.
50582         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
50583         <bp-sym.h> and <bp-asm.h>.
50584         (__rawmemchr): Don't use BP_SYM.
50585         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
50586         <bp-sym.h> and <bp-asm.h>.
50587         (__STRCMP): Don't use BP_SYM.
50588         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
50589         <bp-sym.h> and <bp-asm.h>.
50590         (strchr): Don't use BP_SYM.
50591         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
50592         <bp-sym.h> and <bp-asm.h>.
50593         (__strchrnul): Don't use BP_SYM.
50594         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
50595         <bp-sym.h> and <bp-asm.h>.
50596         (strlen): Don't use BP_SYM.
50597         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
50598         <bp-sym.h> and <bp-asm.h>.
50599         (strncmp): Don't use BP_SYM.  Remove comment about bounded
50600         pointers.
50601         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
50602         <bp-sym.h> and <bp-asm.h>.
50603         (__strnlen): Don't use BP_SYM.
50604         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
50605         <bp-sym.h> and <bp-asm.h>.
50606         (__GI__setjmp): Don't use BP_SYM.
50607         (_setjmp): Likewise.
50608         (__sigsetjmp): Likewise.
50609         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
50610         (L(start_addresses)): Don't use BP_SYM.
50611         (_start): Likewise.
50612         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
50613         <bp-asm.h>.
50614         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
50615         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
50616         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
50617         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
50618         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
50619         <bp-asm.h>.
50620         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
50621         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
50622         about bounded pointers.
50623         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
50624         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
50625         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
50626         <bp-asm.h>.
50627         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
50628         about bounded pointers.  Remove GKM FIXME comments.
50629         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
50630         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
50631         <bp-asm.h>.
50632         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
50633         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
50634         Remove GKM FIXME comments.
50635         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
50636         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
50637         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
50638         <bp-asm.h>.
50639         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
50640         about bounded pointers.  Remove GKM FIXME comment.
50641         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
50642         and <bp-asm.h>.
50643         (strncmp): Don't use BP_SYM.  Remove comment about bounded
50644         pointers.
50645         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
50646         <bp-sym.h> and <bp-asm.h>.
50647         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
50648         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
50649         <bp-sym.h> and <bp-asm.h>.
50650         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
50651         comment.
50653 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
50655         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
50656         call free(NULL).
50658 2013-03-05  David S. Miller  <davem@davemloft.net>
50660         * po/es.po: Update from translation team.
50662 2013-03-05  Andreas Jaeger  <aj@suse.de>
50664         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
50665         <bits/mman-linux.h>.
50666         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
50667         is fine.
50668         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
50669         <bits/mman-linux.h> to end of file.
50670         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
50671         is fine.
50672         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
50673         <bits/mman-linux.h> to end of file.
50674         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
50675         is fine.
50676         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
50677         <bits/mman-linux.h> to end of file.
50679         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
50680         (MCL_CURRENT, MCL_FUTURE): Define here.
50682 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
50684         [BZ #15232]
50685         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
50686         attribute_hidden.
50687         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
50689 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
50691         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
50692         fourth parameter needed for rt_sigprocmask syscall.
50693         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
50694         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
50695         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
50696         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
50697         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
50698         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
50700 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
50702         [BZ #13550]
50703         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
50704         comment about bounded pointers.
50705         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
50706         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
50708 2013-03-04  Andreas Jaeger  <aj@suse.de>
50710         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
50711         common definitions.
50713         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
50714         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
50715         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
50716         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
50717         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
50718         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
50720 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50722         [BZ #15055]
50723         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
50724         __ieee754_sqrl instead of __sqrl.
50726 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
50728         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
50729         * sysdeps/powerpc/fpu_control.h: ... here.
50730         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
50731         * sysdeps/powerpc/bits/fenvinline.h: ... here.
50732         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
50733         * sysdeps/powerpc/bits/mathinline.h: ... here.
50735 2013-03-01  Roland McGrath  <roland@hack.frob.com>
50737         * elf/dl-hwcaps.c (_dl_important_hwcaps):
50738         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
50739         to just [NEED_DL_SYSINFO_DSO].
50740         * elf/dl-support.c: Likewise.
50741         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
50742         * elf/rtld.c (dl_main): Likewise.
50743         * elf/setup-vdso.h (setup_vdso): Likewise.
50744         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
50745         * sysdeps/unix/sysv/linux/dl-sysdep.c
50746         (_dl_discover_osversion): Likewise.
50748 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
50750         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
50751         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
50753 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
50755         * NEWS: Mention libm performance improvements and non-x86 PI
50756         futex support.
50758         * csu/libc-start.c (__pthread_initialize_minimal): Change
50759         function arguments.
50760         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
50762 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
50764         [BZ #13550]
50765         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
50766         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
50767         <bp-sym.h> and <bp-asm.h>.
50768         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
50769         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
50770         and <bp-asm.h>.
50771         (memcpy): Don't use BP_SYM.
50772         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
50773         <bp-asm.h>.
50774         (__mpn_add_n): Don't use BP_SYM.
50775         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
50776         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
50777         and <bp-asm.h>.
50778         (__mpn_addmul_1): Don't use BP_SYM.
50779         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
50780         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
50781         <bp-sym.h>.
50782         (_setjmp): Don't use BP_SYM.
50783         (__novmx_setjmp): Likewise.
50784         (__GI__setjmp): Likewise.
50785         (__vmx_setjmp): Likewise.
50786         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
50787         <bp-sym.h>.
50788         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
50789         (__bzero): Don't use BP_SYM.
50790         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
50791         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
50792         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
50793         <bp-sym.h> and <bp-asm.h>.
50794         (memcpy): Don't use BP_SYM.
50795         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
50796         <bp-sym.h> and <bp-asm.h>.
50797         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
50798         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
50799         <bp-sym.h> and <bp-asm.h>.
50800         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
50801         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
50802         <bp-asm.h>.
50803         (__mpn_lshift): Don't use BP_SYM.
50804         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
50805         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
50806         <bp-asm.h>.
50807         (memset): Don't use BP_SYM.
50808         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
50809         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
50810         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
50811         <bp-asm.h>.
50812         (__mpn_mul_1): Don't use BP_SYM.
50813         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
50814         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
50815         <bp-sym.h> and <bp-asm.h>.
50816         (memcmp): Don't use BP_SYM.
50817         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
50818         <bp-sym.h> and <bp-asm.h>.
50819         (memcpy): Don't use BP_SYM.
50820         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
50821         <bp-sym.h> and <bp-asm.h>.
50822         (memset): Don't use BP_SYM.
50823         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
50824         <bp-sym.h> and <bp-asm.h>.
50825         (strncmp): Don't use BP_SYM.
50826         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
50827         <bp-sym.h> and <bp-asm.h>.
50828         (memcpy): Don't use BP_SYM.
50829         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
50830         <bp-sym.h> and <bp-asm.h>.
50831         (memset): Don't use BP_SYM.
50832         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
50833         <bp-sym.h> and <bp-asm.h>.
50834         (__memchr): Don't use BP_SYM.
50835         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
50836         <bp-sym.h> and <bp-asm.h>.
50837         (memcmp): Don't use BP_SYM.
50838         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
50839         <bp-sym.h> and <bp-asm.h>.
50840         (memcpy): Don't use BP_SYM.
50841         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
50842         <bp-sym.h> and <bp-asm.h>.
50843         (__mempcpy): Don't use BP_SYM.
50844         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
50845         <bp-sym.h> and <bp-asm.h>.
50846         (__memrchr): Don't use BP_SYM.
50847         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
50848         <bp-sym.h> and <bp-asm.h>.
50849         (memset): Don't use BP_SYM.
50850         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
50851         <bp-sym.h> and <bp-asm.h>.
50852         (__rawmemchr): Don't use BP_SYM.
50853         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
50854         <bp-sym.h> and <bp-asm.h>.
50855         (__STRCMP): Don't use BP_SYM.
50856         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
50857         <bp-sym.h> and <bp-asm.h>.
50858         (strchr): Don't use BP_SYM.
50859         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
50860         <bp-sym.h> and <bp-asm.h>.
50861         (__strchrnul): Don't use BP_SYM.
50862         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
50863         <bp-sym.h> and <bp-asm.h>.
50864         (strlen): Don't use BP_SYM.
50865         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
50866         <bp-sym.h> and <bp-asm.h>.
50867         (strncmp): Don't use BP_SYM.
50868         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
50869         <bp-sym.h> and <bp-asm.h>.
50870         (__strnlen): Don't use BP_SYM.
50871         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
50872         <bp-asm.h>.
50873         (__mpn_rshift): Don't use BP_SYM.
50874         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
50875         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
50876         <bp-sym.h> and <bp-asm.h>.
50877         (__sigsetjmp): Don't use BP_SYM.
50878         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
50879         (L(start_addresses)): Don't use BP_SYM.
50880         (_start): Likewise.
50881         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
50882         <bp-asm.h>.
50883         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
50884         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
50885         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
50886         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
50887         <bp-asm.h>.
50888         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
50889         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
50890         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
50891         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
50892         <bp-asm.h>.
50893         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
50894         comments.
50895         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
50896         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
50897         <bp-asm.h>.
50898         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
50899         FIXME comments.
50900         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
50901         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
50902         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
50903         <bp-asm.h>.
50904         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
50905         comment.
50906         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
50907         and <bp-asm.h>.
50908         (strncmp): Don't use BP_SYM,
50909         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
50910         <bp-asm.h>.
50911         (__mpn_sub_n): Don't use BP_SYM.
50912         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
50913         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
50914         and <bp-asm.h>.
50915         (__mpn_submul_1): Don't use BP_SYM.
50916         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
50917         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
50918         <bp-sym.h> and <bp-asm.h>.
50919         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
50920         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
50921         <bp-sym.h> and <bp-asm.h>.
50922         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
50923         comment.
50925 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
50927         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
50928         Use ZK to minimize writes to Z.
50929         (sub_magnitudes): Simplify code a bit.
50930         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
50931         Use ZK to minimize writes to Z.
50932         (sub_magnitudes): Simplify code a bit.
50934 2013-02-27  Roland McGrath  <roland@hack.frob.com>
50936         * csu/gmon-start.c: Add special exception to license text.
50938 2013-02-27  Richard Henderson  <rth@redhat.com>
50940         * scripts/config.guess: Update from config.git.
50941         * scripts/config.sub: Likewise.
50943 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
50945         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
50947         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
50949         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
50951         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
50953         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
50955 2013-02-26  Roland McGrath  <roland@hack.frob.com>
50957         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
50958         [$(build-shared = yes].
50960 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
50962         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
50963         (__mul): Reduce iterations for calculating mantissa.
50965         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
50966         MPTWO.
50967         (__mpranred): Likewise.
50969         [BZ #15160]
50970         * malloc/memusagestat.c (main): Draw graphs for heap and stack
50971         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
50973 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
50975         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
50976         Define __attribute__.
50978 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
50980         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
50981         unused.
50982         * posix/regex_internal.h (__attribute): Remove.
50983         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
50984         (re_string_context_at): Likewise.
50985         (bitset_not): Use __attribute__ and mark function as possibly
50986         unused.
50987         (bitset_merge): Likewise.
50988         (bitset_mask): Likewise.
50989         (re_string_char_size_at): Likewise.
50990         (re_string_wchar_at): Likewise.
50991         (re_string_elem_size_at): Likewise.
50993 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
50995         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
50996         code.
50997         (cc32): Likewise.
50999         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
51000         (__acr): Likewise.
51001         (__cpy): Likewise.
51002         (norm): Likewise.
51003         (denorm): Likewise.
51004         (__dbl_mp): Likewise.
51005         (add_magnitudes): Likewise.
51006         (sub_magnitudes): Likewise.
51007         (__mul): Likewise.
51008         (__inv): Likewise.
51010         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
51011         style.
51013         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
51014         style.
51016         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
51017         code.
51019         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
51020         up changes with default code.
51021         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
51022         Likewise.
51024 2013-02-24  Allan McRae  <allan@archlinux.org>
51026         * manual/socket.texi (The Internet Namespace): Order menu items
51027         to match that in the file.
51029         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
51030         node listing of the info page menu.
51032 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
51034         [BZ #13550]
51035         * sysdeps/i386/bp-asm.h: Remove file.
51036         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
51037         (PARMS): Do not use macros from bp-asm.h.
51038         (S1): Likewise.
51039         (S2): Likewise.
51040         (SIZE): Likewise.
51041         (__mpn_add_n): Do not use BP_SYM
51042         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
51043         "bp-asm.h".
51044         (PARMS): Do not use macros from bp-asm.h.
51045         (S1): Likewise.
51046         (SIZE): Likewise.
51047         (__mpn_addmul_1): Do not use BP_SYM
51048         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
51049         "bp-asm.h".
51050         (PARMS): Do not use macros from bp-asm.h.
51051         (SIGMSK): Likewise.
51052         (_setjmp): Likewise.  Do not use BP_SYM.
51053         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
51054         "bp-asm.h".
51055         (PARMS): Do not use macros from bp-asm.h.
51056         (SIGMSK): Likewise.
51057         (setjmp): Likewise.  Do not use BP_SYM.
51058         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
51059         "bp-asm.h".
51060         (PARMS): Do not use macros from bp-asm.h.
51061         (__frexp): Do not use BP_SYM.
51062         (frexp): Likewise.
51063         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
51064         "bp-asm.h".
51065         (PARMS): Do not use macros from bp-asm.h.
51066         (__frexpf): Do not use BP_SYM.
51067         (frexpf): Likewise.
51068         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
51069         "bp-asm.h".
51070         (PARMS): Do not use macros from bp-asm.h.
51071         (__frexpl): Do not use BP_SYM.
51072         (frexpl): Likewise.
51073         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
51074         "bp-asm.h".
51075         (PARMS): Do not use macros from bp-asm.h.
51076         (__remquo): Do not use BP_SYM.
51077         (remquo): Likewise.
51078         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
51079         "bp-asm.h".
51080         (PARMS): Do not use macros from bp-asm.h.
51081         (__remquof): Do not use BP_SYM.
51082         (remquof): Likewise.
51083         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
51084         "bp-asm.h".
51085         (PARMS): Do not use macros from bp-asm.h.
51086         (__remquol): Do not use BP_SYM.
51087         (remquol): Likewise.
51088         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
51089         "bp-asm.h".
51090         (PARMS): Do not use macros from bp-asm.h.
51091         (DEST): Likewise.
51092         (SRC): Likewise.
51093         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
51094         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
51095         "bp-asm.h".
51096         (PARMS): Do not use macros from bp-asm.h.
51097         (strlen): Do not use BP_SYM.
51098         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
51099         "bp-asm.h".
51100         (PARMS): Do not use macros from bp-asm.h.
51101         (S1): Likewise.
51102         (S2): Likewise.
51103         (SIZE): Likewise.
51104         (__mpn_add_n): Do not use BP_SYM.
51105         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
51106         "bp-asm.h".
51107         (PARMS): Do not use macros from bp-asm.h.
51108         (S1): Likewise.
51109         (SIZE): Likewise.
51110         (__mpn_addmul_1): Do not use BP_SYM.
51111         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
51112         weak_alias.
51113         (bzero): Likewise.
51114         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
51115         "bp-asm.h".
51116         (PARMS): Do not use macros from bp-asm.h.
51117         (S): Likewise.
51118         (SIZE): Likewise.
51119         (__mpn_lshift): Do not use BP_SYM.
51120         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
51121         "bp-asm.h".
51122         (PARMS): Do not use macros from bp-asm.h.
51123         (DEST): Likewise.
51124         (SRC): Likewise.
51125         (LEN): Likewise.
51126         (memcpy): Likewise.  Do not use BP_SYM.
51127         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
51128         libc_hidden_def and weak_alias.
51129         (mempcpy): Do not use BP_SYM in weak_alias.
51130         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
51131         "bp-asm.h".
51132         (PARMS): Do not use macros from bp-asm.h.
51133         (DEST): Likewise.
51134         (LEN): Likewise.
51135         [!BZERO_P] (CHR): Likewise.
51136         (memset): Likewise.  Do not use BP_SYM.
51137         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
51138         "bp-asm.h".
51139         (PARMS): Do not use macros from bp-asm.h.
51140         (S1): Likewise.
51141         (SIZE): Likewise.
51142         (__mpn_mul_1): Do not use BP_SYM.
51143         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
51144         "bp-asm.h".
51145         (PARMS): Do not use macros from bp-asm.h.
51146         (S): Likewise.
51147         (SIZE): Likewise.
51148         (__mpn_rshift): Do not use BP_SYM.
51149         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
51150         "bp-asm.h".
51151         (PARMS): Do not use macros from bp-asm.h.
51152         (STR): Likewise.
51153         (CHR): Likewise.
51154         (strchr): Likewise.  Do not use BP_SYM.
51155         (index): Do not use BP_SYM in weak_alias.
51156         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
51157         "bp-asm.h".
51158         (PARMS): Do not use macros from bp-asm.h.
51159         (DEST): Likewise.
51160         (SRC): Likewise.
51161         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
51162         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
51163         "bp-asm.h".
51164         (PARMS): Do not use macros from bp-asm.h.
51165         (strlen): Do not use BP_SYM.
51166         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
51167         "bp-asm.h".
51168         (PARMS): Do not use macros from bp-asm.h.
51169         (S1): Likewise.
51170         (S2): Likewise.
51171         (SIZE): Likewise.
51172         (__mpn_sub_n): Do not use BP_SYM.
51173         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
51174         "bp-asm.h".
51175         (PARMS): Do not use macros from bp-asm.h.
51176         (S1): Likewise.
51177         (SIZE): Likewise.
51178         (__mpn_submul_1): Do not use BP_SYM.
51179         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
51180         "bp-asm.h".
51181         (PARMS): Do not use macros from bp-asm.h.
51182         (S1): Likewise.
51183         (S2): Likewise.
51184         (SIZE): Likewise.
51185         (__mpn_add_n): Do not use BP_SYM.
51186         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
51187         weak_alias.
51188         (bzero): Likewise.
51189         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
51190         "bp-asm.h".
51191         (PARMS): Do not use macros from bp-asm.h.
51192         (BLK2): Likewise.
51193         (LEN): Likewise.
51194         (memcmp): Do not use BP_SYM.
51195         (bcmp): Do not use BP_SYM in weak_alias.
51196         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
51197         "bp-asm.h".
51198         (PARMS): Do not use macros from bp-asm.h.
51199         (DEST): Likewise.
51200         (SRC): Likewise.
51201         (LEN): Likewise.
51202         (memcpy): Likewise.  Do not use BP_SYM.
51203         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
51204         "bp-asm.h".
51205         (PARMS): Do not use macros from bp-asm.h.
51206         (DEST): Likewise.
51207         (SRC): Likewise.
51208         (LEN): Likewise.
51209         (memmove): Likewise.  Do not use BP_SYM.
51210         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
51211         "bp-asm.h".
51212         (PARMS): Do not use macros from bp-asm.h.
51213         (DEST): Likewise.
51214         (SRC): Likewise.
51215         (LEN): Likewise.
51216         (__mempcpy): Likewise.  Do not use BP_SYM.
51217         (mempcpy): Do not use BP_SYM in weak_alias.
51218         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
51219         "bp-asm.h".
51220         (PARMS): Do not use macros from bp-asm.h.
51221         (DEST): Likewise.
51222         (LEN): Likewise.
51223         [!BZERO_P] (CHR): Likewise.
51224         (memset): Likewise.  Do not use BP_SYM.
51225         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
51226         "bp-asm.h".
51227         (PARMS): Do not use macros from bp-asm.h.
51228         (STR2): Likewise.
51229         (strcmp): Do not use BP_SYM.
51230         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
51231         "bp-asm.h".
51232         (PARMS): Do not use macros from bp-asm.h.
51233         (STR): Likewise.
51234         (DELIM): Likewise.
51235         [USE_AS_STRTOK_R] (SAVE): Likewise.
51236         (FUNCTION): Likewise.  Do not use BP_SYM.
51237         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
51238         aliases.
51239         (strtok_r): Likewise.
51240         (__GI___strtok_r): Likewise.
51241         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
51242         (PARMS): Do not use macros from bp-asm.h.
51243         (S): Likewise.
51244         (SIZE): Likewise.
51245         (__mpn_lshift): Do not use BP_SYM.
51246         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
51247         (PARMS): Do not use macros from bp-asm.h.
51248         (STR): Likewise.
51249         (CHR): Likewise.
51250         (__memchr): Do not use BP_SYM.
51251         (memchr): Do not use BP_SYM in weak_alias.
51252         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
51253         (PARMS): Do not use macros from bp-asm.h.
51254         (BLK2): Likewise.
51255         (LEN): Likewise.
51256         (memcmp): Do not use BP_SYM.
51257         (bcmp): Do not use BP_SYM in weak_alias.
51258         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
51259         (PARMS): Do not use macros from bp-asm.h.
51260         (S1): Likewise.
51261         (SIZE): Likewise.
51262         (__mpn_mul_1): Do not use BP_SYM.
51263         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
51264         "bp-asm.h".
51265         (PARMS): Do not use macros from bp-asm.h.
51266         (STR): Likewise.
51267         (CHR): Likewise.
51268         (__rawmemchr): Do not use BP_SYM.
51269         (rawmemchr): Do not use BP_SYM in weak_alias.
51270         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
51271         (PARMS): Do not use macros from bp-asm.h.
51272         (S): Likewise.
51273         (SIZE): Likewise.
51274         (__mpn_rshift): Do not use BP_SYM.
51275         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
51276         (PARMS): Do not use macros from bp-asm.h.
51277         (SIGMSK): Likewise.
51278         (__sigsetjmp): Likewise.  Do not use BP_SYM.
51279         * sysdeps/i386/start.S: Do not include "bp-sym.h".
51280         (_start): Do not use BP_SYM.
51281         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
51282         (PARMS): Do not use macros from bp-asm.h.
51283         (DEST): Likewise.
51284         (SRC): Likewise.
51285         (__stpcpy): Likewise.  Do not use BP_SYM.
51286         (stpcpy): Do not use BP_SYM in weak_alias.
51287         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
51288         "bp-asm.h".
51289         (PARMS): Do not use macros from bp-asm.h.
51290         (DEST): Likewise.
51291         (SRC): Likewise.
51292         (LEN): Likewise.
51293         (__stpncpy): Likewise.  Do not use BP_SYM.
51294         (stpncpy): Do not use BP_SYM in weak_alias.
51295         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
51296         (PARMS): Do not use macros from bp-asm.h.
51297         (STR): Likewise.
51298         (CHR): Likewise.
51299         (strchr): Likewise.  Do not use BP_SYM.
51300         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
51301         "bp-asm.h".
51302         (PARMS): Do not use macros from bp-asm.h.
51303         (STR): Likewise.
51304         (CHR): Likewise.
51305         (__strchrnul): Likewise.  Do not use BP_SYM.
51306         (strchrnul): Do not use BP_SYM in weak_alias.
51307         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
51308         "bp-asm.h".
51309         (PARMS): Do not use macros from bp-asm.h.
51310         (STOP): Likewise.
51311         (strcspn): Do not use BP_SYM.
51312         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
51313         "bp-asm.h".
51314         (PARMS): Do not use macros from bp-asm.h.
51315         (STR): Likewise.
51316         (STOP): Likewise.
51317         (strpbrk): Likewise.  Do not use BP_SYM.
51318         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
51319         "bp-asm.h".
51320         (PARMS): Do not use macros from bp-asm.h.
51321         (STR): Likewise.
51322         (CHR): Likewise.
51323         (strrchr): Likewise.  Do not use BP_SYM.
51324         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
51325         (PARMS): Do not use macros from bp-asm.h.
51326         (SKIP): Likewise.
51327         (strspn): Do not use BP_SYM.
51328         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
51329         (PARMS): Do not use macros from bp-asm.h.
51330         (STR): Likewise.
51331         (DELIM): Likewise.
51332         (SAVE): Likewise.
51333         (FUNCTION): Likewise.  Do not use BP_SYM.
51334         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
51335         aliases.
51336         (strtok_r): Likewise.
51337         (__GI___strtok_r): Likewise.
51338         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
51339         (PARMS): Do not use macros from bp-asm.h.
51340         (S1): Likewise.
51341         (S2): Likewise.
51342         (SIZE): Likewise.
51343         (__mpn_sub_n): Do not use BP_SYM.
51344         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
51345         "bp-asm.h".
51346         (PARMS): Do not use macros from bp-asm.h.
51347         (S1): Likewise.
51348         (SIZE): Likewise.
51349         (__mpn_submul_1): Do not use BP_SYM.
51350         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
51351         <bp-sym.h>.
51352         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
51353         and <bp-asm.h>.
51354         (PARMS): Do not use macros from bp-asm.h.
51355         (FLAGS): Likewise.
51356         (PTID): Likewise.
51357         (TLS): Likewise.
51358         (CTID): Likewise.
51359         (__clone): Do not use BP_SYM.
51360         (clone): Do not use BP_SYM in weak_alias.
51361         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
51362         and <bp-asm.h>.
51363         (PARMS): Do not use macros from bp-asm.h.
51364         (LEN): Likewise.
51365         (__mmap64): Do not use BP_SYM.
51366         (mmap64): Do not use BP_SYM in weak_alias.
51367         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
51368         <bp-sym.h> and <bp-asm.h>.
51369         (PARMS): Do not use macros from bp-asm.h.
51370         (__posix_fadvise64_l64): Do not use BP_SYM.
51371         * sysdeps/unix/sysv/linux/i386/semtimedop.S
51372         (PARMS): Do not use macros from bp-asm.h.
51373         (NSOPS): Likewise.
51374         (semtimedop): Do not use BP_SYM.
51375         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
51376         and <bp-asm.h>.
51378 2013-02-21  Allan McRae  <allan@archlinux.org>
51380         * manual/message.texi (Charset conversion in gettext):
51381         Move @end statement to beginning of line.
51383 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
51385         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
51386         static.
51387         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
51388         Likewise.
51390         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
51391         (denorm): Likewise.
51392         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
51393         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
51395 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
51397         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
51398         tail-call to the resolved function if pltexit isn't needed.
51400 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
51402         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
51403         or Y being zero as being unlikely.
51404         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
51405         Likewise.
51407 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
51409         * manual/nss.texi (System Databases and Name Service Switch):
51410         Remove frobnicate @pxref.
51412 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
51414         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
51415         __attribute__ ((unused)) to __attribute__ ((__unused__)).
51417 2013-02-20  Petr Machata  <pmachata@redhat.com>
51419         * elf/elf.h (R_ARM_TARGET1): New macro.
51420         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
51421         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
51422         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
51423         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
51424         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
51425         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
51426         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
51427         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
51428         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
51429         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
51430         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
51431         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
51432         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
51433         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
51434         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
51435         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
51436         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
51437         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
51438         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
51439         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
51440         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
51441         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
51442         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
51443         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
51444         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
51445         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
51446         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
51447         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
51448         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
51449         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
51450         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
51451         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
51452         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
51453         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
51454         (R_ARM_THM_GOT_BREL12): Likewise.
51455         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
51456         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
51457         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
51458         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
51459         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
51460         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
51461         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
51462         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
51463         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
51465 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
51467         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
51468         __attribute_used__ to __attribute__ ((unused)).
51470 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
51472         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
51473         powerpc mpa.c.
51474         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
51475         comment formatting.
51476         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
51478 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
51480         [BZ #13550]
51481         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
51482         Remove macro.
51483         (ENTER): Remove both macro definitions.
51484         (LEAVE): Likewise.
51485         (CHECK_BOUNDS_LOW): Likewise.
51486         (CHECK_BOUNDS_HIGH): Likewise.
51487         (CHECK_BOUNDS_BOTH): Likewise.
51488         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
51489         (RETURN_BOUNDED_POINTER): Likewise.
51490         (RETURN_NULL_BOUNDED_POINTER): Likewise.
51491         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
51492         (POP_ERRNO_LOCATION_RETURN): Likewise.
51493         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
51494         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
51495         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
51496         macros.
51497         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
51498         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
51499         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
51500         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
51501         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
51502         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
51503         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
51504         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
51505         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
51506         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
51507         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
51508         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
51509         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
51510         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
51511         removed macros.
51512         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
51513         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
51514         macros.
51515         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
51516         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
51517         * sysdeps/i386/i586/memset.S (memset): Likewise.
51518         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
51519         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
51520         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
51521         macros.
51522         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
51523         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
51524         Change uses of L(2) to L(out).
51525         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
51526         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
51527         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
51528         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
51529         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
51530         removed macros.
51531         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
51532         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
51533         macros.
51534         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
51535         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
51536         (RETURN): Do not use macro LEAVE.
51537         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
51538         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
51539         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
51540         * sysdeps/i386/i686/memset.S (memset): Likewise.
51541         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
51542         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
51543         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
51544         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
51545         Likewise.
51546         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
51547         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
51548         L(1_2) and L(1_3) into L(1).
51549         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
51550         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
51551         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
51552         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
51553         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
51554         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
51555         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
51556         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
51557         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
51558         macros.
51559         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
51560         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
51561         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
51562         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
51563         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
51564         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
51565         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
51566         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
51567         * sysdeps/i386/strcspn.S (strcspn): Likewise.
51568         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
51569         * sysdeps/i386/strrchr.S (strrchr): Likewise.
51570         * sysdeps/i386/strspn.S (strspn): Likewise.
51571         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
51572         conditional code.
51573         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
51574         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
51575         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
51576         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
51577         L(1_3) into L(1_1).
51578         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
51579         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
51580         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
51581         macros.
51582         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
51584 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
51586         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
51587         macro.
51589 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
51591         * math/atest-exp.c (exp_mpn): Remove ROUND.
51592         * math/atest-exp2.c (exp_mpn): Likewise.
51593         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
51595         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
51596         * stdlib/tst-tls-atexit-lib.c: Likewise.
51597         * stdlib/tst-tls-atexit.c: Likewise.
51599 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
51601         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
51602         and __attribute_alloc_size__.
51604 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
51606         * include/programs/xmalloc.h: Change __attribute_alloc_size to
51607         __attribute_alloc_size__.
51608         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
51609         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
51611 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
51613         * include/programs/xmalloc.h: New file.
51614         * catgets/gencat.c: Include it.
51615         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
51616         * elf/pldd.c: Likewise.
51617         * iconv/iconv_charmap.c: Likewise.
51618         * iconv/iconvconfig.c: Likewise.
51619         * iconv/strtab.c: Likewise.
51620         * locale/programs/locale.c: Likewise.
51621         * locale/programs/localedef.h: Likewise.
51622         * locale/programs/simple-hash.c: Likewise.
51623         * nscd/nscd.h: Likewise.
51624         * nss/makedb.c: Likewise.
51625         * sysdeps/generic/ldconfig.h: Likewise.
51627 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
51629         * Versions.def: Add GLIBC_2.18.
51630         * include/link.h (struct link_map): New member l_tls_dtor_count.
51631         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
51632         (__call_tls_dtors): Likewise.
51633         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
51634         __cxa_thread_atexit_impl.
51635         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
51636         Likewise.
51637         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
51638         Likewise.
51639         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
51640         Likewise.
51641         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
51642         Likewise.
51643         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
51644         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
51645         Likewise.
51646         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
51647         Likewise.
51648         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
51649         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
51650         Likewise.
51651         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
51652         (tests): Add test case tst-tls-atexit.
51653         (modules-names): Add shared library for tst-tls-atexit.
51654         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
51655         (GLIBC_PRIVATE): Add __call_tls_dtors.
51656         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
51657         for libstdc++.
51658         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
51659         * stdlib/tst-tls-atexit.c: New test case.
51660         * stdlib/tst-tls-atexit-lib.c: New test case.
51662         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
51664         * elf/Versions (ld): Add _dl_find_dso_for_object.
51665         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
51666         * elf/dl-open.c (_dl_find_dso_for_object): New function.
51667         (dl_open_worker): Use _dl_find_dso_for_object.
51668         * elf/dl-sym.c (do_sym): Likewise.
51669         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
51671 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
51673         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
51674         Syntactic changes only.
51675         (_dl_runtime_profile): Do a tail-call to the resolved function.
51677 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
51679         [BZ #13550]
51680         * sysdeps/x86_64/bp-asm.h: Remove file.
51681         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
51682         <bp-sym.h> and <bp-asm.h>.
51683         (__clone): Do not use BP_SYM.
51684         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
51685         <bp-sym.h> and <bp-asm.h>.
51686         * sysdeps/unix/x86_64/sysdep.S: Likewise.
51687         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
51688         "bp-asm.h".
51689         (_setjmp): Do not use BP_SYM.
51690         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
51691         "bp-asm.h".
51692         (setjmp): Do not use BP_SYM.
51693         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
51694         libc_hidden_def.
51695         (mempcpy): Do not use BP_SYM in weak_alias.
51696         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
51697         "bp-asm.h".
51698         (strchr): Do not use BP_SYM.
51699         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
51700         "bp-asm.h".
51701         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
51702         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
51703         (_start): Do not use BP_SYM.
51704         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
51705         "bp-asm.h".
51706         (strcat): Do not use BP_SYM.
51707         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
51708         "bp-asm.h".
51709         (STRCMP): Do not use BP_SYM.
51710         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
51711         "bp-asm.h".
51712         (STRCPY): Do not use BP_SYM.
51713         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
51714         "bp-asm.h".
51715         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
51716         "bp-asm.h".
51717         (FUNCTION): Do not use BP_SYM.
51718         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
51719         weak_alias.
51720         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
51722 2013-02-17  Andreas Jaeger  <aj@suse.de>
51724         * time/Versions: Sort entries.
51725         * string/Versions: Likewise.
51726         * resolv/Versions: Likewise.
51727         * posix/Versions: Likewise.
51728         * iconv/Versions: Likewise.
51729         * elf/Versions: Likewise.
51730         * wcsmbs/Versions: Likewise.
51732 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
51734         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
51735         loop termination condition.
51737         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
51738         variable to calculate EZ.
51739         (__sqr): Likewise.
51741         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
51742         the lower precision input.
51744 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
51746         [BZ #13550]
51747         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
51748         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
51749         (run-via-rtld-prefix): Do not handle %-bp tests.
51750         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
51751         (all-object-suffixes): Remove .ob.
51752         (bppfx): Remove variable.
51753         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
51754         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
51755         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
51756         [$(build-bounded) = yes] (libtype.ob): Likewise.
51757         * Makerules (elide-routines.ob): Remove variable.
51758         (do-tests-clean): Do not handle *-bp.out.
51759         (common-mostlyclean): Do not handle *-bp and *-bp.out.
51760         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
51761         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
51762         (tests): Do not include $(tests-bp.out).
51763         (xtests): Do not include $(xtests-bp.out).
51764         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
51765         [$(build-bounded) = yes] ($(addprefix
51766         $(objpfx),$(binaries-bounded))): Remove rule.
51767         ($(objpfx)%-bp.out): Remove rule.
51768         * config.make.in (build-bounded): Remove variable.
51769         * crypt/Makefile [$(build-bounded) = yes]
51770         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
51771         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
51772         append to variable.
51773         [$(build-bounded) = yes] (install-lib): Likewise.
51774         [$(build-bounded) = yes] (generated): Likewise.
51775         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
51776         Remove rule.
51777         * intl/Makefile [$(build-bounded) = yes]
51778         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
51779         * math/Makefile [$(build-bounded) = yes]
51780         ($(tests:%=$(objpfx)%-bp): Likewise.
51781         * misc/Makefile [$(build-bounded) = yes]
51782         ($(objpfx)tst-tsearch-bp): Likewise.
51783         * nptl/Makeconfig (bounded-thread-library): Remove variable.
51784         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
51785         Remove dependency.
51786         * string/Makefile (o-objects.ob): Remove variable.
51787         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
51788         (CFLAGS-.ob): Remove variable.
51789         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
51790         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
51791         both definitions of variable.
51792         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
51793         (ASFLAGS-.ob): Remove variable.
51795 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
51797         [BZ #13550]
51798         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
51799         Remove __BOUNDED_POINTERS__ from condition.
51800         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
51801         * string/bits/string2.h [!__NO_STRING_INLINES &&
51802         !__BOUNDED_POINTERS__]: Likewise.
51803         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
51804         Likewise.
51805         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
51806         Remove conditional code.
51807         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
51808         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
51809         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
51810         condition.
51812         [BZ #13550]
51813         * csu/libc-start.c: Do not include <bp-sym.h>.
51814         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
51815         * elf/dl-open.c: Do not include <bp-sym.h>.
51816         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
51817         * math/fegetenv.c: Do not include <bp-sym.h>.
51818         (fegetenv): Do not use BP_SYM in versioned symbols.
51819         * nptl/sysdeps/pthread/bits/libc-lockP.h
51820         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
51821         <bp-sym.h>.
51822         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
51823         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
51824         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
51825         (__pthread_mutex_destroy): Likewise.
51826         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
51827         (__pthread_mutex_lock): Likewise.
51828         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
51829         (__pthread_mutex_trylock): Likewise.
51830         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
51831         (__pthread_mutex_unlock): Likewise.
51832         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
51833         (__pthread_mutexattr_init): Likewise.
51834         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
51835         (__pthread_mutexattr_destroy): Likewise.
51836         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
51837         (__pthread_mutexattr_settype): Likewise.
51838         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
51839         (__pthread_rwlock_init): Likewise.
51840         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
51841         (__pthread_rwlock_destroy): Likewise.
51842         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
51843         (__pthread_rwlock_rdlock): Likewise.
51844         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
51845         (__pthread_rwlock_tryrdlock): Likewise.
51846         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
51847         (__pthread_rwlock_wrlock): Likewise.
51848         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
51849         (__pthread_rwlock_trywrlock): Likewise.
51850         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
51851         (__pthread_rwlock_unlock): Likewise.
51852         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
51853         (__pthread_key_create): Likewise.
51854         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
51855         (__pthread_setspecific): Likewise.
51856         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
51857         (__pthread_getspecific): Likewise.
51858         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
51859         Likewise.
51860         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
51861         (_pthread_cleanup_push_defer): Likewise.
51862         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
51863         (_pthread_cleanup_pop_restore): Likewise.
51864         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
51865         (pthread_setcancelstate): Likewise.
51866         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
51867         <bp-sym.h>.
51868         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
51869         (memchr): Do not use BP_SYM in weak_alias.
51870         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
51871         (fegetenv): Do not use BP_SYM in versioned symbols.
51872         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
51873         (fesetenv): Do not use BP_SYM in versioned symbols.
51874         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
51875         (feupdateenv): Do not use BP_SYM in versioned symbols.
51876         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
51877         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
51878         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
51879         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
51880         (open64): Do not use BP_SYM in weak_alias.
51881         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
51882         (fegetenv): Do not use BP_SYM in versioned symbols.
51883         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
51884         (fesetenv): Do not use BP_SYM in versioned symbols.
51885         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
51886         (feupdateenv): Do not use BP_SYM in versioned symbols.
51887         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
51888         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
51889         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
51890         (feraiseexcept): Do not use BP_SYM in versioned symbols.
51891         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
51892         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
51893         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
51894         <bp-sym.h>.
51895         (__libc_start_main): Do not use BP_SYM.
51897 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
51899         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
51900         redundant return line.
51901         (norm): Likewise.
51902         (denorm): Likewise.
51903         (dbl_mp): Likewise.
51904         (sub_magnitudes): Likewise.
51905         (__add): Likewise.
51906         (__sub): Likewise.
51907         (__mul): Likewise.
51908         (__inv): Likewise.
51909         (__dvd): Likewise.
51910         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
51911         (norm): Likewise.
51912         (denorm): Likewise.
51913         (dbl_mp): Likewise.
51914         (sub_magnitudes): Likewise.
51915         (__add): Likewise.
51916         (__sub): Likewise.
51917         (__mul): Likewise.
51918         (__inv): Likewise.
51919         (__dvd): Likewise.
51921         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
51922         instead of __mul.
51923         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
51924         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
51925         (cc32): Likewise.
51927         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
51928         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
51929         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
51930         of __mul for squares.
51931         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
51932         function
51933         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
51934         Likewise.
51935         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
51936         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
51938 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
51940         [BZ #13550]
51941         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
51942         code.
51943         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
51944         prototype or function definition.  Rename ubp_* variables and
51945         parameters.  Remove argv definitions conditional on
51946         [__BOUNDED_POINTERS__].
51947         * debug/backtrace.c (__backtrace): Do not use __unbounded.
51948         * elf/dl-runtime.c (_dl_fixup): Likewise.
51949         * include/set-hooks.h (RUN_HOOK): Likewise.
51950         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
51951         definition.
51952         * string/strcpy.c (strcpy): Do not use __unbounded.
51953         * sysdeps/generic/frame.h (struct layout): Likewise.
51954         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
51955         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
51956         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
51957         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
51958         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
51959         (__backtrace): Likewise.
51960         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
51961         use __ptrvalue.
51962         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
51963         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
51964         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
51965         Likewise.
51966         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
51967         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
51968         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
51969         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
51970         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
51971         Do not use __unbounded.
51972         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
51973         Rename __unboundedrlimits parameter to rlimits in prototype.
51974         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
51975         Do not use __unbounded.
51976         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
51977         not use __ptrvalue.
51978         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
51979         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
51980         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
51981         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
51982         __ptrvalue or __unbounded.
51983         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
51984         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
51985         use __unbounded.
51986         (__new_msgctl): Do not use __ptrvalue.
51987         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
51988         __unbounded.
51989         (__libc_msgrcv): Do not use __ptrvalue.
51990         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
51991         startup_info): Do not use __unbounded.
51992         (__libc_start_main): Likewise.  Rename ubp_* variables and
51993         parameters.  Remove argv definitions conditional on
51994         [__BOUNDED_POINTERS__].
51995         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
51996         __ptrvalue.
51997         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
51998         use __unbounded.
51999         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
52000         or __ptrvalue.
52001         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
52002         use __unbounded.
52003         (__new_shmctl): Do not use __ptrvalue.
52004         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
52005         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
52006         Likewise.
52007         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
52008         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
52009         (__libc_sigaction): Likewise.
52010         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
52011         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
52012         Likewise.
52013         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
52015 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
52017         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
52019         * string/mempcpy.c: Implement by calling memcpy.
52021 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
52023         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
52025         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
52026         evaluation.
52028         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
52029         values in the mantissa.
52031         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
52032         minimize writes to Z.
52033         (sub_magnitudes): Simplify code a bit.
52035 2013-02-12  Roland McGrath  <roland@hack.frob.com>
52037         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
52038         from the message.  The linker prefixes all warnings with that already.
52040 2013-02-12  Andreas Schwab  <schwab@suse.de>
52042         [BZ #15078]
52043         * posix/regexec.c (extend_buffers): Add parameter min_len.
52044         (check_matching): Pass minimum needed length.
52045         (clean_state_log_if_needed): Likewise.
52046         (get_subexp): Likewise.
52047         * posix/Makefile (tests): Add bug-regex34.
52048         (bug-regex34-ENV): Define.
52049         * posix/bug-regex34.c: New file.
52051         [BZ #11561]
52052         * posix/regcomp.c (parse_bracket_exp): When looking up collating
52053         elements compare against the byte sequence of it, not its name.
52054         * posix/Makefile (tests): Add bug-regex35.
52055         (bug-regex35-ENV): Define.
52056         * posix/bug-regex35.c: New file.
52058 2013-02-11  Tom de Vries  <tom@codesourcery.com>
52060         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
52061         comment.
52062         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
52063         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
52064         (CHECK_EOL): Add undef.
52066 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
52068         * bits/stdlib-bsearch.h: New file.
52069         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
52070         * stdlib/stdlib.h: Likewise.
52072 2013-02-11  Roland McGrath  <roland@hack.frob.com>
52074         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
52075         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
52076         declaration.
52077         * manual/search.texi (Array Search Function): Add missing const in
52078         lfind prototype.
52079         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
52080         declaration to use rlim_t.
52081         (Basic Scheduling Functions): Remove erroneous const from
52082         sched_getparam prototype.  Remove erroneous * from
52083         sched_get_priority_max and sched_get_priority_min prototypes.
52084         (Resource Usage): Fix summary @comment on vtimes to refer to
52085         sys/vtimes.h rather than vtimes.h.
52086         Add missing *s in vtimes prototype.
52087         (Limits on Resources): Fix ulimit prototype to return long int.
52088         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
52089         prototypes to use long int rather than double.
52090         (BSD Random): Fix initstate and setstate to use char *, not void *.
52091         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
52092         prototype to make second argument 'struct aiocb64 *const[]'.
52093         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
52094         (Status of AIO Operations): Remove erroneous const in aio_return and
52095         aio_return64 prototypes.
52096         (Synchronizing I/O): Fix sync prototype to return void.
52097         * manual/startup.texi (Suboptions): Remove an erroneous const in
52098         getsubopt prototype.
52099         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
52100         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
52101         use size_t rather than int.
52102         (Scanning All Users): Likewise for getpwent_r.
52103         (Setting Groups): Add missing const to setgroups prototype.
52104         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
52105         * manual/socket.texi (Host Names): Fix gethostbyaddr and
52106         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
52107         'const void *' rather than 'const char *'.
52108         (Host Address Functions): Likewise for inet_ntop.
52109         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
52110         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
52111         ssize_t for return value.
52112         (Sending Data): Likewise for send, sendto, sendmsg.
52113         (Socket Option Functions): Add a missing const in setsockopt prototype.
52114         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
52115         use wchar_t for the argument.
52116         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
52117         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
52118         take no arguments.
52119         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
52120         double/float/long double for second argument.
52121         Fix return types of significand, significandf, significandl.
52122         * manual/filesys.texi (Setting Permissions): Use mode_t for second
52123         argument in fchmod prototype.
52124         (File Owner): Use uid_t and gid_t in fchown prototype.
52125         (File Times): Add const to utimes, futimes, and lutimes prototypes.
52126         (Making Special Files): Use mode_t and dev_t in mknod prototype.
52127         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
52128         use 'const struct dirent **' as argument types to CMP function pointer
52129         argument.
52130         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
52131         (File Times): Fix summary magic @comment for struct utimbuf and utime
52132         to refer to utime.h, not time.h.
52133         * manual/string.texi (Argz Functions): Add missing const in
52134         argz_extract and argz_next prototypes.
52135         (Finding Tokens in a String): Likewise for basename.
52136         (String/Array Comparison): Fix typo in wcscasecmp prototype.
52137         (Copying and Concatenation): Fix typo in wmemmove prototype.
52138         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
52139         (Signal Stack): Remove erroneous const in sigstack prototype.
52140         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
52141         prototype.
52142         (Simple Calendar Time): Likewise for stime.
52143         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
52144         prototype.
52145         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
52146         say sys/sysctl.h instead.
52147         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
52148         and vsyslog prototypes.
52150 2013-02-11  Tom de Vries  <tom@codesourcery.com>
52152         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
52153         Remove.
52155 2013-02-11  Roland McGrath  <roland@hack.frob.com>
52157         * misc/sys/mman.h: Fix typo in mremap comment.
52159 2013-02-08  Roland McGrath  <roland@hack.frob.com>
52161         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
52162         the '\0' terminator.
52164 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
52166         [BZ #13550]
52167         * debug/segfault.c: Don't include <bp-checks.h>.
52168         * sysdeps/generic/bp-checks.h: Remove file.
52169         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
52170         (__GETDENTS): Don't use CHECK_N.
52171         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
52172         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
52173         (__getgroups): Don't use CHECK_N.
52174         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
52175         (setgroups): Don't use CHECK_N.
52176         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
52177         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
52178         (__libc_msgrcv): Don't use CHECK_N.
52179         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
52180         (__libc_msgsnd): Don't use CHECK_N.
52181         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
52182         <bp-checks.h>.
52183         (__libc_pread): Don't use CHECK_N.
52184         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
52185         include <bp-checks.h>.
52186         (__libc_pread64): Don't use CHECK_N.
52187         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
52188         include <bp-checks.h>.
52189         (__libc_pwrite): Don't use CHECK_N.
52190         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
52191         include <bp-checks.h>.
52192         (__libc_pwrite64): Don't use CHECK_N.
52193         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
52194         <bp-checks.h>.
52195         (__libc_pread): Don't use CHECK_N.
52196         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
52197         include <bp-checks.h>.
52198         (__libc_pread64): Don't use CHECK_N.
52199         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
52200         include <bp-checks.h>.
52201         (__libc_pwrite): Don't use CHECK_N.
52202         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
52203         include <bp-checks.h>.
52204         (__libc_pwrite64): Don't use CHECK_N.
52205         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
52206         (do_pread): Don't use CHECK_N.
52207         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
52208         (do_pread64): Don't use CHECK_N.
52209         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
52210         (do_pwrite): Don't use CHECK_N.
52211         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
52212         (do_pwrite64): Don't use CHECK_N.
52213         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
52214         (__libc_readv): Don't use CHECK_N.
52215         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
52216         (semop): Don't use CHECK_N.
52217         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
52218         <bp-checks.h>.
52219         (semtimedop): Don't use CHECK_N.
52220         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
52221         (__libc_pread): Don't use CHECK_N.
52222         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
52223         <bp-checks.h>.
52224         (__libc_pread64): Don't use CHECK_N.
52225         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
52226         <bp-checks.h>.
52227         (__libc_pwrite): Don't use CHECK_N.
52228         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
52229         <bp-checks.h>.
52230         (__libc_pwrite64): Don't use CHECK_N.
52231         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
52232         <bp-checks.h>.
52233         (__libc_msgrcv): Don't use CHECK_N.
52234         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
52235         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
52236         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
52237         (__libc_writev): Don't use CHECK_N.
52239 2013-02-08  Roland McGrath  <roland@hack.frob.com>
52241         * string/strcpy.c: Removed unused variable.
52243         * Makeconfig (+sysdep-includes): Define with := rather than =.
52244         Use an existing include/ subdir of each sysdeps dir before it.
52246 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
52248         * nscd/connection.c (register_traced_file): Comment function.
52249         [HAVE_INOTIFY] (union __inev): Define.
52250         [HAVE_INOTIFY] (inotify_check_files): New function.
52251         [HAVE_INOTIFY] (clear_db_cache): Likewise.
52252         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
52253         clear_db_cache.
52254         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
52256 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
52258         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
52259         loaded if not already and that a failure is permanent.
52261 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
52263         [BZ #15006]
52264         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
52265         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
52267 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
52269         [BZ #13550]
52270         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
52271         (CHECK_1_NULL_OK): Likewise.
52272         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
52273         (__fxstat): Do not use CHECK_1.
52274         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
52275         <bp-checks.h>.
52276         (___fxstat64): Do not use CHECK_1.
52277         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
52278         <bp-checks.h>.
52279         (__fxstatat): Do not use CHECK_1.
52280         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
52281         <bp-checks.h>.
52282         (__fxstatat64): Do not use CHECK_1.
52283         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
52284         <bp-checks.h>.
52285         (__fxstat): Do not use CHECK_1.
52286         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
52287         <bp-checks.h>.
52288         (__fxstatat): Do not use CHECK_1.
52289         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
52290         <bp-checks.h>.
52291         (__getresgid): Do not use CHECK_1.
52292         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
52293         <bp-checks.h>.
52294         (__getresuid): Do not use CHECK_1.
52295         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
52296         <bp-checks.h>.
52297         (__lxstat): Do not use CHECK_1.
52298         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
52299         <bp-checks.h>.
52300         (__old_msgctl): Do not use CHECK_1.
52301         (__new_msgctl): Likewise.
52302         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
52303         <bp-checks.h>.
52304         (__new_setrlimit): Do not use CHECK_1.
52305         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
52306         <bp-checks.h>.
52307         (__old_shmctl): Do not use CHECK_1.
52308         (__new_shmctl): Likewise.
52309         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
52310         <bp-checks.h>.
52311         (__xstat): Do not use CHECK_1.
52312         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
52313         (__lxstat): Do not use CHECK_1.
52314         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
52315         <bp-checks.h>.
52316         (___lxstat64): Do not use CHECK_1.
52317         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
52318         (__old_msgctl): Do not use CHECK_1.
52319         (__new_msgctl): Likewise.
52320         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
52321         <bp-checks.h>.
52322         (__gettimeofday): Do not use CHECK_1.
52323         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
52324         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
52325         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
52326         <bp-checks.h>.
52327         (__gettimeofday): Do not use CHECK_1.
52328         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
52329         (__old_shmctl): Do not use CHECK_1_NULL_OK.
52330         (__new_shmctl): Do not use CHECK_1.
52331         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
52332         <bp-checks.h>.
52333         (do_sigtimedwait): Do not use CHECK_1.
52334         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
52335         <bp-checks.h>.
52336         (do_sigwaitinfo): Do not use CHECK_1.
52337         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
52338         <bp-checks.h>.
52339         (msgctl): Do not use CHECK_1.
52340         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
52341         <bp-checks.h>.
52342         (shmctl): Do not use CHECK_1.
52343         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
52344         (ustat): Do not use CHECK_1.
52345         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
52346         <bp-checks.h>.
52347         (__fxstat): Do not use CHECK_1.
52348         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
52349         <bp-checks.h>.
52350         (__fxstatat): Do not use CHECK_1.
52351         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
52352         <bp-checks.h>.
52353         (__lxstat): Do not use CHECK_1.
52354         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
52355         <bp-checks.h>.
52356         (__xstat): Do not use CHECK_1.
52357         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
52358         (__xstat): Do not use CHECK_1.
52359         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
52360         (___xstat64): Do not use CHECK_1.
52362         [BZ #13550]
52363         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
52364         definitions.
52365         (CHECK_BOUNDS_HIGH): Likewise.
52366         * string/strcpy.c: Do not include <bp-checks.h>.
52367         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
52369 2013-02-07  Roland McGrath  <roland@hack.frob.com>
52371         * nscd/nscd-client.h (__nscd_drop_map_ref):
52372         Add __attribute__ ((unused)).
52373         * nis/nss-nisplus.h (niserr2nss): Likewise.
52375         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
52376         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
52378         * csu/libc-tls.c (init_static_tls, init_slotinfo):
52379         Remove inline keyword.
52380         * include/rounding-mode.h (round_away): Likewise.
52381         * libio/wfileops.c (adjust_wide_data): Likewise.
52382         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
52383         (__m128i_strloadu_tolower): Likewise.
52384         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
52385         (__m128i_strloadu_tolower): Likewise.
52386         * time/mktime.c (ydhms_diff): Likewise.
52387         * locale/elem-hash.h (elem_hash): Likewise.
52388         * locale/setlocale.c (setdata): Likewise.
52389         * posix/regex_internal.h (re_string_char_size_at): Likewise.
52390         (re_string_wchar_at): Likewise.
52391         (bitset_not, bitset_merge, bitset_mask): Likewise.
52392         [!(__GNUC__ > 3)] (inline): Remove macro.
52393         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
52394         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
52395         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
52396         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
52397         * string/memcmp.c (memcmp_bytes): Likewise.
52398         * locale/programs/locarchive.c (compute_hashval): Likewise.
52399         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
52400         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
52401         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
52402         * nss/getent.c (print_rpc, print_protocols): Likewise.
52403         (print_passwd, print_group, print_aliases): Likewise.
52404         * nis/nss-nisplus.h (niserr2nss): Likewise.
52405         * nscd/connections.c (restart_p): Likewise.
52406         Change return type to bool.
52408 2013-02-05  Roland McGrath  <roland@hack.frob.com>
52410         * Makeconfig (all-Depend-files): Add existing
52411         $(sorted-subdirs:=/Depend) files.
52412         (all-subdirs): Remove nss.
52413         * sysdeps/unix/inet/Subdirs: Add it here instead.
52414         * hesiod/Depend: New file.
52416         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
52417         instead of calling alloca.
52419         * io/lseek.c (__lseek): Rename to __libc_lseek.
52420         Define __lseek as an alias.
52422         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
52424 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
52426         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
52427         else clause and remove check for non-standard endianness.
52429 2013-02-04  David S. Miller  <davem@davemloft.net>
52431         * sysdeps/sparc/fpu/libm-test-ulps: Update.
52433 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
52435         [BZ #13550]
52436         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
52437         (__ubp_memchr): Remove prototype.
52438         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
52439         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
52440         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
52441         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
52442         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
52443         Remove alias.
52444         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
52445         (__ubp_memchr): Likewise.
52446         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
52447         (__ubp_memchr): Likewise.
52448         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
52449         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
52450         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
52451         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
52452         CHECK_STRING.
52453         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
52454         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
52455         (__getcwd): Do not use CHECK_STRING.
52456         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
52457         <bp-checks.h>.
52458         (__real_chown): Do not use CHECK_STRING.
52459         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
52460         <bp-checks.h>.
52461         (fchownat): Do not use CHECK_STRING.
52462         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
52463         CHECK_STRING.
52464         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
52465         <bp-checks.h>.
52466         (__lchown): Do not use CHECK_STRING.
52467         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
52468         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
52469         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
52470         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
52471         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
52472         include <bp-checks.h>.
52473         (truncate64): Do not use CHECK_STRING.
52474         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
52475         <bp-checks.h>.
52476         (__real_chown): Do not use CHECK_STRING.
52477         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
52478         <bp-checks.h>.
52479         (__lchown): Do not use CHECK_STRING.
52480         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
52481         <bp-checks.h>.
52482         (__chown): Do not use CHECK_STRING.
52483         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
52484         <bp-checks.h>.
52485         (truncate64): Do not use CHECK_STRING.
52486         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
52487         Likewise.
52488         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
52489         (__xmknod): Do not use CHECK_STRING.
52490         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
52491         <bp-checks.h>.
52492         (__xmknodat): Do not use CHECK_STRING.
52493         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
52494         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
52496 2013-02-04  Andreas Schwab  <schwab@suse.de>
52498         [BZ #14142]
52499         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
52500         * include/netdb.h: Likewise for h_errno.
52501         * elf/tst-stackguard1.c: Include <tls.h>.
52503 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
52505         * elf/link.h (struct link_map): Extend the l_addr comment.
52506         * include/link.h (struct link_map): Likewise.
52508 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
52510         [BZ #13550]
52511         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
52512         (BOUNDED_1): Remove macro.
52513         * debug/backtrace.c: Don't include <bp-checks.h>.
52514         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
52515         (__backtrace): Likewise.
52516         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
52517         <bp-checks.h>.
52518         (__backtrace): Don't use BOUNDED_1.
52519         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
52520         <bp-checks.h>.
52521         (__backtrace): Don't use BOUNDED_1.
52522         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
52523         (__backtrace): Don't use BOUNDED_1.
52524         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
52525         (shmat): Don't use BOUNDED_N.
52527 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
52529         [BZ #13550]
52530         * sysdeps/generic/bp-start.h: Remove file.
52531         * csu/libc-start.c: Don't include <bp-start.h>.
52532         (LIBC_START_MAIN): Set up __environ directly instead of using
52533         INIT_ARGV_and_ENVIRON.
52534         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
52535         <bp-start.h>.
52537         [BZ #13550]
52538         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
52539         definitions.
52540         (CHECK_FCNTL): Likewise.
52541         (CHECK_N_PAGES): Likewise.
52543         [BZ #13550]
52544         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
52545         definitions.
52546         (CHECK_SIGSET_NULL_OK): Likewise.
52547         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
52548         <bp-checks.h>.
52549         (sigpending): Don't use CHECK_SIGSET.
52550         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
52551         <bp-checks.h>.
52552         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
52553         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
52554         <bp-checks.h>.
52555         (do_sigsuspend): Don't use CHECK_SIGSET.
52556         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
52557         use CHECK_SIGSET.
52558         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
52559         (do_sigwait): Don't use CHECK_SIGSET.
52560         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
52561         use CHECK_SIGSET.
52562         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
52563         include <bp-checks.h>.
52564         (sigpending): Don't use CHECK_SIGSET.
52565         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
52566         include <bp-checks.h>.
52567         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
52568         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
52569         <bp-checks.h>.
52570         (sigpending): Don't use CHECK_SIGSET.
52571         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
52572         <bp-checks.h>.
52573         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
52575         [BZ #13550]
52576         * sysdeps/generic/bp-semctl.h: Remove file.
52577         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
52578         <bp-checks.h> and <bp-semctl.h>.
52579         (__old_semctl): Don't use CHECK_SEMCTL.
52580         (__new_semctl): Likewise.
52581         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
52582         and <bp-semctl.h>.
52583         (__old_semctl): Don't use CHECK_SEMCTL.
52584         (__new_semctl): Likewise.
52585         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
52586         <bp-checks.h> and <bp-semctl.h>.
52587         (__old_semctl): Don't use CHECK_SEMCTL.
52588         (__new_semctl): Likewise.
52589         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
52590         <bp-checks.h> and <bp-semctl.h>.
52591         (semctl): Don't use CHECK_SEMCTL.
52593         [BZ #13550]
52594         * Makerules (elide-bp-thunks): Remove variable.
52595         (elide-routines.oS): Don't use $(elide-bp-thunks).
52596         (elide-routines.os): Likewise.
52597         (elide-routines.o): Likewise.
52598         (elide-routines.op): Likewise.
52599         (elide-routines.og): Likewise.
52600         (objects): Don't use $(bp-thunks).
52601         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
52602         include.
52603         (common-generated): Do not add s-proto-bp.d.
52604         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
52605         (int): Likewise.
52606         (typ): Likewise.
52607         Do not generate makefile rules for bounded-pointer thunks.
52608         * sysdeps/generic/bp-thunks.h: Remove file.
52609         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
52610         * sysdeps/unix/s-proto-bp.S: Likewise.
52612         [BZ #15062]
52613         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
52614         parts of result separately when argument is not close to line from
52615         -i to i and one part of argument is small.
52616         * math/k_casinhf.c (__kernel_casinhf): Likewise.
52617         * math/k_casinhl.c (__kernel_casinhl): Likewise.
52618         * math/libm-test.inc (cacos_test): Add more tests.
52619         (casin_test): Likewise.
52620         (casinh_test): Likewise.
52621         * sysdeps/i386/fpu/libm-test-ulps: Update.
52622         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52624 2013-01-31  David S. Miller  <davem@davemloft.net>
52626         * po/de.po: Update from translation team.
52628 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
52630         * time/tzfile.c: Include stdint.h for SIZE_MAX.
52632 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
52634         * configure.in (_AC_PROG_CC_C89): New definition.
52635         * configure: Regenerate.
52637         * configure.in (AC_PROG_CPP): New definition.
52638         * configure: Regenerate.
52640 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
52642         * debug/tst-backtrace.h: New file.
52643         * debug/tst-backtrace2.c: Include tst-backtrace.h.
52644         (ret): Remove variable.
52645         (x): Likewise.
52646         (FAIL): Remove macro.
52647         (NO_INLINE): Likewise.
52648         (fn1): Use match function instead of strstr.
52649         * debug/tst-backtrace3.c: Include tst-backtrace.h.
52650         (ret): Remove variable.
52651         (x): Likewise.
52652         (FAIL): Remove macro.
52653         (NO_INLINE): Likewise.
52654         (fn): Use match function instead of strstr.
52655         * debug/tst-backtrace4.c: Include tst-backtrace.h.
52656         (ret): Remove variable.
52657         (x): Likewise.
52658         (FAIL): Remove macro.
52659         (NO_INLINE): Likewise.
52660         (handle_signal): Use match function instead of strstr.
52661         * debug/tst-backtrace5.c: Include tst-backtrace.h.
52662         (ret): Remove variable.
52663         (x): Likewise.
52664         (FAIL): Remove macro.
52665         (NO_INLINE): Likewise.
52666         (handle_signal): Use match function instead of strstr.
52668 2013-01-23  Roland McGrath  <roland@hack.frob.com>
52670         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
52672 2013-01-23  David S. Miller  <davem@davemloft.net>
52674         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
52675         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
52676         argument of CAS if possible.
52677         * sysdeps/sparc/sparc64/bits/atomic.h
52678         (__arch_compare_and_exchange_val_32_acq): Likewise.
52679         (__arch_compare_and_exchange_val_64_acq): Likewise.
52681 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
52683         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
52684         * sysdeps/posix/ulimit.c: ... this.
52685         Include <limits.h>.
52686         * sysdeps/unix/bsd/ulimit.c: Remove file.
52688 2013-01-23  Adam Conrad  <adconrad@0c3.net>
52690         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
52691         (LDFLAGS-tst-array5): Likewise.
52693 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
52695         [BZ #15036]
52696         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
52697         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
52698         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
52699         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
52701 2013-01-21  David S. Miller  <davem@davemloft.net>
52703         * sysdeps/sparc/backtrace.c: New file.
52704         * sysdeps/sparc/sparc32/backtrace.h: New file.
52705         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
52706         * sysdeps/sparc/sparc64/backtrace.h: New file.
52707         * sysdeps/sparc/sparc64/backtrace.c: Delete.
52708         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
52709         -funwind-tables.
52711 2013-01-21  Andreas Schwab  <schwab@suse.de>
52713         [BZ #15020]
52714         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
52715         closed its stdout.
52717 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
52719         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
52720         "mpa2.h".
52721         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
52723 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
52724             Mark Mitchell  <mark@codesourcery.com>
52725             Tom de Vries  <tom@codesourcery.com>
52726             Paul Pluzhnikov  <ppluzhnikov@google.com>
52728         * debug/tst-backtrace2.c: New file.
52729         * debug/tst-backtrace3.c: Likewise.
52730         * debug/tst-backtrace4.c: Likewise.
52731         * debug/tst-backtrace5.c: Likewise.
52732         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
52733         (CFLAGS-tst-backtrace3.c): Likewise.
52734         (CFLAGS-tst-backtrace4.c): Likewise.
52735         (CFLAGS-tst-backtrace5.c): Likewise.
52736         (LDFLAGS-tst-backtrace2): Likewise.
52737         (LDFLAGS-tst-backtrace3): Likewise.
52738         (LDFLAGS-tst-backtrace4): Likewise.
52739         (LDFLAGS-tst-backtrace5): Likewise.
52740         (tests): Add new tests tst-backtrace2, tst-backtrace3,
52741         tst-backtrace4 and tst-backtrace5.
52743 2013-01-18  Anton Blanchard  <anton@samba.org>
52744             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
52746         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
52747         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
52748         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
52749         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
52750         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
52751         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
52752         "+r" and remove output regs list as redundant.  Add explicit inline
52753         asm to specify register of return val to work around compiler codegen
52754         bug.  Remove (int) cast on return value.  Add return type parameter to
52755         use in macro so that this macro does not truncate return value for
52756         64-bit values.
52757         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
52758         pass to INTERNAL_VSYSCALL_NCS.
52759         (INLINE_VSYSCALL): Add 'long int' as return type to
52760         INTERNAL_VSYSCALL_NCS macro invocation.
52761         (INTERNAL_VSYSCALL): Add 'long int' as return type to
52762         INTERNAL_VSYSCALL_NCS macro invocation.
52763         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
52765 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
52767         [BZ #14496]
52768         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
52769         Fix application of SIMD FP exception mask.
52771         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
52772         mp_no from a power of two.
52773         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
52774         __mpexp_twomm1.  Use __pow_mp.
52776         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
52777         multiplication.
52779 2013-01-17  David S. Miller  <davem@davemloft.net>
52781         * sysdeps/sparc/fpu/libm-test-ulps: Update.
52783 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
52785         [BZ #15023]
52786         * include/complex.h: Condition contents on [!_COMPLEX_H].
52787         (__kernel_casinhf): New prototype.
52788         (__kernel_casinh): Likewise.
52789         (__kernel_casinhl): Likewise.
52790         * math/Makefile (libm_calls): Add k_casinh.
52791         * math/k_casinh.c: New file.
52792         * math/k_casinhf.c: Likewise.
52793         * math/k_casinhl.c: Likewise.
52794         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
52795         finite nonzero arguments.
52796         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
52797         finite nonzero arguments.
52798         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
52799         finite nonzero arguments.
52800         * math/s_casinh.c: Do not include <float.h>.
52801         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
52802         * math/s_casinhf.c: Do not include <float.h>.
52803         (__casinhf): Move code for finite nonzero arguments to
52804         k_casinhf.c.
52805         * math/s_casinhl.c: Do not include <float.h>.
52806         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
52807         redefine.
52808         (__casinhl): Move code for finite nonzero arguments to
52809         k_casinhl.c.
52810         * math/libm-test.inc (cacos_test): Add more tests.
52811         * sysdeps/i386/fpu/libm-test-ulps: Update.
52812         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52814 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
52816         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
52817         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
52818         [!HAVE_MREMAP]: Remove [defined linux] case.
52819         * malloc/arena.c: Do not include <malloc-sysdep.h>.
52821 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
52823         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
52825 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
52827         * elf/elf.h (R_386_SIZE32): New relocation.
52828         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
52829         R_386_SIZE32.
52830         (elf_machine_rela): Likewise.
52831         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
52832         R_X86_64_SIZE64 and R_X86_64_SIZE32.
52834 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
52836         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
52837         (FP_FAST_FMA): Do not define.
52838         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
52839         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
52840         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
52841         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
52842         !_SOFT_FLOAT]: Likewise.
52843         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
52844         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
52845         value.
52846         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
52847         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
52848         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
52849         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
52850         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
52851         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
52852         file.
52854 2013-01-16  Andreas Schwab  <schwab@suse.de>
52856         [BZ #14327]
52857         * include/stdlib.h (__mktemp): Add declaration.
52858         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
52859         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
52861 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
52863         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
52864         definitions.
52865         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
52866         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
52867         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
52868         definitions here.
52869         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
52870         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
52871         definitions.
52872         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
52873         and ONE.
52874         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
52875         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
52876         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
52877         definitions.
52878         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
52879         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
52880         definitions.
52881         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
52883         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
52885 2013-01-15  David S. Miller  <davem@davemloft.net>
52887         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
52888         trunc{,f} to libm-sysdep_routes.
52889         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
52890         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
52891         file.
52892         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
52893         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
52894         file.
52895         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
52896         file.
52897         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
52898         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
52899         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
52900         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
52901         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
52902         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
52903         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
52904         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
52906         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
52907         nearbyint{,f} to libm-sysdep_routes.
52908         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
52909         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
52910         New file.
52911         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
52912         file.
52913         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
52914         New file.
52915         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
52916         file.
52917         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
52918         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
52919         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
52920         file.
52921         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
52922         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
52923         file.
52924         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
52925         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
52926         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
52928         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
52929         libc_feholdexcept and libc_fesetenv.
52931 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
52933         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
52935 2013-01-14  David S. Miller  <davem@davemloft.net>
52937         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
52938         (SPARC_ASM_VIS2_IFUNC): Likewise.
52939         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
52940         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
52941         use of 'siam' instruction.
52942         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
52943         Likewise.
52944         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
52945         Likewise.
52946         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
52947         Likewise.
52948         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
52949         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
52950         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
52951         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
52952         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
52953         file.
52954         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
52955         file.
52956         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
52957         file.
52958         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
52959         file.
52960         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
52961         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
52962         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
52963         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
52964         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
52965         new VIS2 routines.
52966         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
52967         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
52968         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
52969         Likewise.
52970         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
52971         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
52972         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
52973         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
52974         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
52975         routines to libm-sysdep_routines.
52976         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
52978         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
52979         fdim/fdimf to libm-sysdep_routines.
52980         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
52981         file.
52982         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
52983         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
52984         file.
52985         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
52986         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
52987         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
52988         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
52989         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
52990         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
52991         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
52993 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
52995         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
52996         to optimize copies.
52998         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
52999         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
53000         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
53002         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
53003         local variable MPTWO.
53004         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
53005         Likewise.
53007 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
53009         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
53010         GLOB_NOESCAPE.
53012 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
53014         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
53016 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
53018         * manual/pattern.texi (glob_t): Document gl_flags.
53019         (glob64_t): Likewise.
53021 2013-01-11  David S. Miller  <davem@davemloft.net>
53023         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
53024         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
53025         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
53026         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
53027         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
53028         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
53029         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
53030         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
53031         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
53032         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
53033         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
53034         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
53035         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
53037         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
53038         sparc V9 rather than using V8 code.
53039         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
53040         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
53042         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
53043         Move to...
53044         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
53045         Here.
53047 2013-01-11  Roland McGrath  <roland@hack.frob.com>
53049         [BZ #14941]
53050         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
53051         not in the main loop.
53052         * configure: Regenerated.
53054 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
53056         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
53057         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
53058         to just #else.
53059         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
53060         [!__GLIBC_HAVE_LONG_LONG] case.
53061         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
53062         condition to just #else.
53063         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
53064         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
53065         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
53066         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
53067         unconditional.
53068         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
53069         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
53070         #elif condition to just #else.
53071         * sysdeps/unix/sysv/linux/sys/sysmacros.h
53072         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
53073         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
53074         #elif condition to just #else.
53076 2013-01-11  Steve Ellcey  <sellcey@mips.com>
53078         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
53079         (EF_MIPS_ARCH_64): Fix value.
53080         (EF_MIPS_ARCH_32R2): New.
53081         (EF_MIPS_ARCH_64R2): New.
53083 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
53085         * Makeconfig (+link-pie-before-libc): New.
53086         (+link-pie-after-libc): Likewise.
53087         (+link-pie-tests): Likewise.
53088         (+link-pie): Rewritten.
53089         (link-before-libc): Remove $(config-LDFLAGS).
53090         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
53091         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
53092         (config-LDFLAGS): Renamed to ...
53093         (rtld-LDFLAGS): This.
53094         (rtld-tests-LDFLAGS): New macro.
53095         (link-libc-rpath-link): Likewise.
53096         (link-libc-tests-rpath-link): Likewise.
53097         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
53098         (link-libc): Prepand $(link-libc-rpath-link).
53099         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
53100         (test-program-prefix): New macro.
53101         (test-via-rtld-prefix): Likewise.
53102         (test-program-cmd): Likewise.
53103         (host-test-program-cmd): Likewise.
53104         * Makefile ($(common-objpfx)testrun.sh): Replace
53105         $(run-program-prefix) with $(test-program-prefix).
53106         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
53107         $(rtld-LDFLAGS).
53108         ($(common-objpfx)shlib.lds): Likewise.
53109         (build-module-helper): Likewise.
53110         ($(common-objpfx)format.lds): Likewise.
53111         * Rules (binaries-pie-tests): New.
53112         (binaries-pie-notests): Likewise.
53113         (binaries-pie): Rewritten.
53114         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
53115         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
53116         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
53117         (make-test-out): Replace $(host-built-program-cmd) with
53118         $(host-test-program-cmd).
53119         * config.make.in (build-hardcoded-path-in-tests): New variable.
53120         * configure.in (--enable-hardcoded-path-in-tests): New configure
53121         option.
53122         (hardcoded_path_in_tests): New AC_SUBST.
53123         * configure: Regenerated.
53124         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
53125         $(built-program-cmd) with $(test-program-cmd).
53126         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
53127         (test_program_cmd): This.
53128         * elf/Makefile ($(objpfx)order.out): Run test with
53129         $(test-program-prefix).
53130         ($(objpfx)order2.out): Likewise.
53131         ($(objpfx)tst-initorder.out): Likewise.
53132         ($(objpfx)tst-initorder2.out): Likewise.
53133         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
53134         $(test-program-cmd).
53135         ($(objpfx)tst-array1-static.out): Likewise.
53136         ($(objpfx)tst-array2.out): Likewise.
53137         ($(objpfx)tst-array3.out): Likewise.
53138         ($(objpfx)tst-array4.out): Likewise.
53139         ($(objpfx)tst-array5.out): Likewise.
53140         ($(objpfx)tst-array5-static.out): Likewise.
53141         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
53142         $(test-program-cmd).
53143         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
53144         $(run-program-prefix) with $(test-program-prefix).
53145         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
53146         (test_program_prefix): This.
53147         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
53148         $(run-program-prefix) with $(test-program-prefix).
53149         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
53150         (test_program_prefix): This.
53151         * iconvdata/tst-tables.sh: Likewise.
53152         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
53153         $(run-program-prefix) with $(test-program-prefix).
53154         ($(objpfx)tst-translit.out): Likewise.
53155         ($(objpfx)tst-gettext2.out): Likewise.
53156         ($(objpfx)tst-gettext4.out): Likewise.
53157         ($(objpfx)tst-gettext6.out): Likewise.
53158         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
53159         (test_program_prefix): This.
53160         * intl/tst-gettext2.sh: Likewise.
53161         * intl/tst-gettext4.sh  Likewise.
53162         * intl/tst-gettext6.sh: Likewise.
53163         * intl/tst-translit.sh: Likewise.
53164         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
53165         with $(test-program-cmd).
53166         * libio/Makefile ($(objpfx)test-freopen.out): Replace
53167         $(run-program-prefix) with $(test-program-prefix).
53168         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
53169         (test_program_prefix): This.
53170         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
53171         $(run-program-prefix) with $(test-program-prefix).
53172         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
53173         (test_program_prefix): This.
53174         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
53175         * posix/Makefile ($(objpfx)globtest.out): Replace
53176         $(run-via-rtld-prefix) and $(test-wrapper) with
53177         $(test-program-prefix) and $(test-via-rtld-prefix).
53178         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
53179         $(test-program-prefix).
53180         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
53181         $(host-test-program-cmd).
53182         (tst-spawn-ARGS): Likewise.
53183         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
53184         $(test-program-prefix).
53185         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
53186         (test_via_rtld_prefix): This.
53187         (test_wrapper): Renamed to ...
53188         (test_program_prefix): This.
53189         (run_program_prefix): Replaced by test_program_prefix.
53190         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
53191         (test_program_prefix): This.
53192         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
53193         with $(host-test-program-cmd).
53194         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
53195         $(run-program-prefix) with $(test-program-prefix).
53196         ($(objpfx)tst-printf.out): Likewise.
53197         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
53198         $(test-program-cmd).
53199         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
53200         (test_program_prefix): This.
53201         * stdio-common/tst-unbputc.sh: Likewise.
53202         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
53203         $(run-program-prefix) with $(test-program-prefix).
53204         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
53205         (test_program_prefix): This.
53206         * string/Makefile ($(objpfx)tst-svc.out):  Replace
53207         $(built-program-cmd) with $(test-program-cmd).
53209 2013-01-11  Andreas Jaeger  <aj@suse.de>
53211         [BZ #15003]
53212         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
53213         value. Sync with Linux 3.7.
53215 2013-01-10  David S. Miller  <davem@davemloft.net>
53217         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
53218         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
53219         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
53221 2013-01-10  Roland McGrath  <roland@hack.frob.com>
53223         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
53224         never set.
53225         * configure: Regenerated.
53227 2013-01-10  David S. Miller  <davem@davemloft.net>
53229         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
53230         sparc V9 rather than using V8 code.
53231         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
53232         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
53234 2013-01-10  Roland McGrath  <roland@hack.frob.com>
53236         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
53237         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
53238         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
53239         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
53240         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
53241         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
53242         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
53243         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
53244         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
53245         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
53246         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
53247         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
53248         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
53249         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
53250         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
53251         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
53252         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
53253         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
53254         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
53255         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
53256         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
53257         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
53258         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
53259         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
53260         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
53261         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
53262         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
53264 2013-01-10  David S. Miller  <davem@davemloft.net>
53266         * sysdeps/sparc/fpu/libm-test-ulps: Update.
53268 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
53270         * posix/Makefile (tests-static): New variable.
53271         (tests): Add $(tests-static).
53272         (tst-exec-static-ARGS): New variable.
53273         (tst-spawn-static-ARGS): Likewise.
53274         * posix/tst-exec-static.c: New file.
53275         * posix/tst-spawn-static.c: Likewise.
53276         * posix/tst-exec.c: Support run directly.
53277         * posix/tst-spawn.c: Likewise.
53279 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
53281         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
53282         long.
53283         * math/bits/mathcalls.h (llrint): Likewise.
53284         (llround): Likewise.
53285         * stdlib/stdlib.h (struct drand48_data): Likewise.
53286         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
53287         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
53288         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
53289         Likewise.
53290         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
53291         Likewise.
53292         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
53293         (elf_greg_t): Likewise.
53294         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
53295         (__jmp_buf): Likewise.
53296         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
53297         definitions.
53298         (llrint): Likewise, for all definitions.
53299         (llrintl): Likewise.
53301         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
53302         Remove [__GNUC__] condition.
53303         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
53304         condition to just [__USE_ISOC99].
53305         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
53307 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
53309         [BZ #14200]
53310         * sysdeps/unix/sysv/linux/x86/bits/environments.h
53311         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
53312         defined.
53313         (_POSIX_V6_ILP32_OFF32): Likewise.
53314         (_XBS5_ILP32_OFF32): Likewise.
53315         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
53316         (__ILP32_OFFBIG_LDFLAGS): Likewise.
53318 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
53320         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
53322         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
53323         doubles __mpexp_twomm1.  Adjust usage.
53324         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
53325         Remove.
53327 2013-01-10  Andreas Schwab  <schwab@suse.de>
53329         [BZ #14964]
53330         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
53331         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
53333 2013-01-09  David S. Miller  <davem@davemloft.net>
53335         [BZ #15003]
53336         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
53337         (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
53338         (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
53339         (TCP_FASTOPEN): Define.
53340         (tcp_repair_opt): New structure.
53341         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
53342         enum values.
53343         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
53344         (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
53345         (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
53346         (tcp_cookie_transactions): New structure.
53348 2013-01-09  Anton Blanchard  <anton@samba.org>
53350         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
53351         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
53352         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
53353         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
53355 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
53357         * include/features.h (__USE_ANSI): Remove.
53359 2013-01-09  Roland McGrath  <roland@hack.frob.com>
53361         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
53363         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
53365 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
53367         * sysdeps/s390/fpu/libm-test-ulps: Update.
53369         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
53371         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
53372         (__acr): Likewise.
53373         (__cpy): Likewise.
53374         (norm): Likewise.
53375         (denorm): Likewise.
53376         (__mp_dbl): Likewise.
53377         (__dbl_mp): Likewise.
53378         (add_magnitudes): Likewise.
53379         (sub_magnitudes): Likewise.
53380         (__add): Likewise.
53381         (__sub): Likewise.
53382         (__mul): Likewise.
53383         (__inv): Likewise.
53384         (__dvd): Likewise.
53385         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
53386         (__acr): Likewise.
53387         (__cpy): Likewise.
53388         (norm): Likewise.
53389         (denorm): Likewise.
53390         (__mp_dbl): Likewise.
53391         (__dbl_mp): Likewise.
53392         (add_magnitudes): Likewise.
53393         (sub_magnitudes): Likewise.
53394         (__add): Likewise.
53395         (__sub): Likewise.
53396         (__mul): Likewise.
53397         (__inv): Likewise.
53398         (__dvd): Likewise.
53399         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
53400         (__acr): Likewise.
53401         (__cpy): Likewise.
53402         (norm): Likewise.
53403         (denorm): Likewise.
53404         (__mp_dbl): Likewise.
53405         (__dbl_mp): Likewise.
53406         (add_magnitudes): Likewise.
53407         (sub_magnitudes): Likewise.
53408         (__add): Likewise.
53409         (__sub): Likewise.
53410         (__mul): Likewise.
53411         (__inv): Likewise.
53412         (__dvd): Likewise.
53414 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
53416         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
53417         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
53418         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
53419         2 && __USE_EXTERN_INLINES]: Likewise.
53421 2013-01-08  Andreas Jaeger  <aj@suse.de>
53423         [BZ# 14985]
53424         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
53425         Remove.
53426         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
53427         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
53429 2013-01-07  Anton Blanchard  <anton@samba.org>
53431         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
53432         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
53433         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
53434         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
53435         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
53436         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
53437         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
53438         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
53439         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
53440         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
53441         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
53442         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
53443         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
53444         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
53445         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
53446         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
53447         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
53448         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
53449         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
53450         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
53451         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
53452         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
53453         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
53454         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
53455         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
53456         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
53457         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
53458         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
53459         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
53460         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
53461         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
53462         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
53463         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
53464         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
53465         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
53466         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
53467         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
53468         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
53469         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
53470         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
53471         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
53472         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
53473         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
53475 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
53477         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
53478         (__MALLOC_PMT): Likewise.
53479         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
53480         [__GNUC__], only on [_LIBC].
53481         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
53482         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
53483         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
53484         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
53485         forward declaration.
53486         (realloc_hook_ini): Likewise.
53487         (memalign_hook_ini): Likewise.
53488         (__libc_memalign): Do not use __MALLOC_PMT in variable
53489         declaration.
53490         (__libc_valloc): Likewise.
53491         (__libc_pvalloc): Likewise.
53492         (__libc_calloc): Likewise.
53493         (__posix_memalign): Likewise.
53495         [BZ #14996]
53496         * math/s_casinh.c: Include <float.h>.
53497         (__casinh): Do not do computation with squaring and square root
53498         for large arguments.
53499         * math/s_casinhf.c: Include <float.h>.
53500         (__casinhf): Do not do computation with squaring and square root
53501         for large arguments.
53502         * math/s_casinhl.c: Include <float.h>.
53503         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
53504         (__casinhl): Do not do computation with squaring and square root
53505         for large arguments.
53506         * math/libm-test.inc (casin_test): Add more tests.
53507         (casinh_test): Likewise.
53508         * sysdeps/i386/fpu/libm-test-ulps: Update.
53509         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53511 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
53513         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
53514         (__x86_64_raw_data_cache_size): Likewise.
53515         (__x86_64_data_cache_size_half): Likewise.
53516         (__x86_64_raw_data_cache_size_half): Likewise.
53517         (__x86_64_shared_cache_size): Likewise.
53518         (__x86_64_raw_shared_cache_size): Likewise.
53519         (__x86_64_shared_cache_size_half): Likewise.
53520         (__x86_64_raw_shared_cache_size_half): Likewise.
53521         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
53522         to ...
53523         (__x86_data_cache_size): This.
53524         (__x86_64_raw_data_cache_size): Renamed to ...
53525         (__x86_raw_data_cache_size): This.
53526         (__x86_64_data_cache_size_half): Renamed to ...
53527         (__x86_data_cache_size_half): This.
53528         (__x86_64_raw_data_cache_size_half): Renamed to ...
53529         (__x86_raw_data_cache_size_half): This.
53530         (__x86_64_shared_cache_size): Renamed to ...
53531         (__x86_shared_cache_size): This.
53532         (__x86_64_raw_shared_cache_size): Renamed to ...
53533         (__x86_raw_shared_cache_size): This.
53534         (__x86_64_shared_cache_size_half): Renamed to ...
53535         (__x86_shared_cache_size_half): This.
53536         (__x86_64_raw_shared_cache_size_half): Renamed to ...
53537         (__x86_raw_shared_cache_size_half): This.
53538         * sysdeps/x86_64/memcpy.S: Updated.
53539         * sysdeps/x86_64/memset.S: Likewise.
53540         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
53541         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
53542         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
53544 2013-01-04  David S. Miller  <davem@davemloft.net>
53546         * sysdeps/sparc/fpu/libm-test-ulps: Update.
53548 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
53550         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
53551         1 to avoid redefinition warning.
53552         (__USE_GNU): Don't define.
53553         (init_signaling_nan): Protoize.
53555         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
53557 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
53559         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
53560         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
53561         (__cpymn): Likewise.
53562         (norm): Remove commented code.
53563         (denorm): Likewise.
53564         (__mp_dbl): Likewise.
53565         (__inv): Likewise.
53566         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
53567         (__cpymn): Likewise.
53568         (norm): Remove commented code.
53569         (denorm): Likewise.
53570         (__mp_dbl): Likewise.
53571         (__inv): Likewise.
53573         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
53574         mp_no value for 1.0 and 2.0.
53575         (norm): Use RADIXI instead of radixi.d.
53576         (denorm): Likewise.
53577         (__mul): Use 0.0 instead of zero.d.
53578         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
53579         mp_no value for 1.0 and 2.0.
53580         (norm): Use RADIXI instead of radixi.d.
53581         (denorm): Likewise.
53582         (__mul): Use 0.0 instead of zero.d.
53584 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
53586         [BZ #14994]
53587         * math/s_casinh.c (__casinh): Reduce finite argument to first
53588         quadrant then set signs of results at the end.
53589         * math/s_casinhf.c (__casinhf): Likewise.
53590         * math/s_casinhl.c (__casinhl): Likewise.
53591         * math/libm-test.inc (casin_test): Add more tests.
53592         (casinh_test): Likewise.
53593         * sysdeps/i386/fpu/libm-test-ulps: Update.
53594         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53596 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
53598         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
53600         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
53602         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
53603         declarations.
53604         (denorm): Likewise.
53605         (__mp_dbl): Likewise.
53606         (__inv): Likewise.
53608         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
53609         and adjust the header comment.
53611         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
53612         variable name from declaration.
53614 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
53616         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
53617         Initialize COMMON_CPUID_INDEX_7 element.
53618         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
53619         (CPUID_RTM): Likewise.
53620         (HAS_RTM): Likewise.
53621         (COMMON_CPUID_INDEX_7): New enum.
53623 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
53625         [BZ #14981]
53626         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
53627         size is zero, record memory as freed.
53629 2013-01-03  Andreas Jaeger  <aj@suse.de>
53631         * po/ia.po: Add new Interlingua translation.
53633 2012-01-03  Allan McRae  <allan@archlinux.org>
53635         * locale/programs/localedef.c: Fix description of '--posix' flag.
53637 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
53639         * NEWS: Update dates in second copyright notice.
53640         * README: Update copyright dates in example.
53641         * manual/libc.texinfo: Update copyright dates.
53642         * scripts/test-installation.pl: Update copyright date in --version
53643         output.
53645         * hurd/ctty-input.c: Fix copyright notice formatting.
53646         * hurd/ctty-output.c: Likewise.
53647         * hurd/dtable.c: Likewise.
53648         * hurd/hurd-raise.c: Likewise.
53649         * hurd/hurdprio.c: Likewise.
53650         * hurd/msgportdemux.c: Likewise.
53651         * misc/sys/file.h: Likewise.
53652         * misc/sys/ioctl.h: Likewise.
53653         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
53654         * sysdeps/mach/hurd/chdir.c: Likewise.
53655         * sysdeps/mach/hurd/fchdir.c: Likewise.
53656         * sysdeps/mach/hurd/rename.c: Likewise.
53657         * sysdeps/mach/hurd/rmdir.c: Likewise.
53658         * sysdeps/mach/hurd/seekdir.c: Likewise.
53659         * sysdeps/mach/hurd/setsid.c: Likewise.
53660         * sysdeps/posix/wait3.c: Likewise.
53662         * All files with FSF copyright notices: Update copyright dates
53663         using scripts/update-copyrights.
53664         * intl/plural.c: Regenerated.
53665         * locale/programs/charmap-kw.h: Likewise.
53666         * locale/programs/locfile-kw.h: Likewise.
53668 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
53670         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
53671         four values.
53673         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
53674         calculation loop and add branch prediction.
53676         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
53677         check access beyond bounds of m1np.
53679         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
53680         MPTWO.
53681         (__inv): Remove local variable MPTWO to use the global
53682         constant.
53683         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
53684         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
53685         variable MPTWO.
53686         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
53687         MP3HALFS static const.
53689 2013-01-01  David S. Miller  <davem@davemloft.net>
53691         * po/ca.po: Update from translation team.
53693 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
53695         * scripts/update-copyrights: New file.
53696         * Makeconfig: Reformat copyright notice.
53697         * ctype/ctype.h: Likewise.
53698         * debug/swprintf_chk.c: Likewise.
53699         * elf/dl-cache.c: Likewise.
53700         * elf/dl-debug.c: Likewise.
53701         * elf/dl-object.c: Likewise.
53702         * grp/initgroups.c: Likewise.
53703         * hurd/Makefile: Likewise.
53704         * hurd/hurd/signal.h: Likewise.
53705         * hurd/hurdfault.c: Likewise.
53706         * hurd/hurdioctl.c: Likewise.
53707         * hurd/hurdlookup.c: Likewise.
53708         * hurd/intr-msg.c: Likewise.
53709         * iconv/gconv_open.c: Likewise.
53710         * libio/swprintf.c: Likewise.
53711         * locale/lc-ctype.c: Likewise.
53712         * locale/nl_langinfo.c: Likewise.
53713         * mach/Machrules: Likewise.
53714         * mach/Makefile: Likewise.
53715         * malloc/obstack.h: Likewise.
53716         * manual/Makefile: Likewise.
53717         * manual/tsort.awk: Likewise.
53718         * misc/bits/stab.def: Likewise.
53719         * nis/nis_print_group_entry.c: Likewise.
53720         * nis/nis_table.c: Likewise.
53721         * nis/nss_compat/compat-pwd.c: Likewise.
53722         * nis/nss_compat/compat-spwd.c: Likewise.
53723         * po/Makefile: Likewise.
53724         * posix/fnmatch.c: Likewise.
53725         * posix/regex.h: Likewise.
53726         * resolv/Makefile: Likewise.
53727         * resolv/nss_dns/dns-network.c: Likewise.
53728         * resolv/res_hconf.c: Likewise.
53729         * scripts/gen-sorted.awk: Likewise.
53730         * soft-fp/soft-fp.h: Likewise.
53731         * stdio-common/printf.h: Likewise.
53732         * stdlib/monetary.h: Likewise.
53733         * stdlib/random.c: Likewise.
53734         * stdlib/random_r.c: Likewise.
53735         * sysdeps/generic/Makefile: Likewise.
53736         * sysdeps/gnu/Makefile: Likewise.
53737         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
53738         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
53739         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
53740         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
53741         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
53742         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
53743         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
53744         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
53745         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
53746         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
53747         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
53748         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
53749         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
53750         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
53751         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
53752         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
53753         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
53754         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
53755         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
53756         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
53757         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
53758         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
53759         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
53760         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
53761         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
53762         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
53763         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
53764         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
53765         * sysdeps/mach/hurd/errnos.awk: Likewise.
53766         * sysdeps/mach/hurd/fork.c: Likewise.
53767         * sysdeps/mach/hurd/getcwd.c: Likewise.
53768         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
53769         * sysdeps/mach/hurd/mmap.c: Likewise.
53770         * sysdeps/mach/hurd/utimes.c: Likewise.
53771         * sysdeps/mach/hurd/xmknod.c: Likewise.
53772         * sysdeps/posix/profil.c: Likewise.
53773         * sysdeps/posix/readdir_r.c: Likewise.
53774         * sysdeps/powerpc/bits/mathdef.h: Likewise.
53775         * sysdeps/powerpc/bits/setjmp.h: Likewise.
53776         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
53777         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
53778         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
53779         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
53780         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
53781         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
53782         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
53783         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
53784         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
53785         * sysdeps/pthread/lio_listio.c: Likewise.
53786         * sysdeps/sparc/dl-procinfo.h: Likewise.
53787         * sysdeps/unix/i386/sysdep.S: Likewise.
53788         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
53789         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
53790         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
53791         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
53792         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
53793         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
53794         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
53795         * sysdeps/unix/sysv/linux/speed.c: Likewise.
53796         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
53797         * sysdeps/wordsize-32/divdi3.c: Likewise.
53798         * time/sys/time.h: Likewise.
53799         * wcsmbs/Makefile: Likewise.
53801 2013-01-01  David S. Miller  <davem@davemloft.net>
53803         * po/fr.po: Update from translation team.
53805         * catgets/gencat.c: Update copyright year.
53806         * csu/version.c: Likewise.
53807         * debug/catchsegv.sh: Likewise.
53808         * debug/pcprofiledump.c: Likewise.
53809         * debug/xtrace.sh: Likewise.
53810         * elf/ldconfig.c: Likewise.
53811         * elf/ldd.bash.in: Likewise.
53812         * elf/pldd.c: Likewise.
53813         * elf/sotruss.ksh: Likewise.
53814         * elf/sprof.c: Likewise.
53815         * iconv/iconv_prog.c: Likewise.
53816         * iconv/iconvconfig.c: Likewise.
53817         * locale/programs/locale.c: Likewise.
53818         * locale/programs/localedef.c: Likewise.
53819         * login/programs/pt_chown.c: Likewise.
53820         * malloc/memusage.sh: Likewise.
53821         * malloc/memusagestat.c: Likewise.
53822         * malloc/mtrace.pl: Likewise.
53823         * nscd/nscd.c: Likewise.
53824         * nss/getent.c: Likewise.
53825         * nss/makedb.c: Likewise.
53826         * posix/getconf.c: Likewise.
53828 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
53830         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
53831         numbers.
53833 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
53835         * math/bits/mathcalls.h (modf): Use __nonnull.
53837 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
53839         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
53840         (split): Use macro CN instead of the bare value.
53841         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
53842         could be used.
53843         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
53844         instead of the bare value.
53845         (power1): Likewise.
53847 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
53849         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
53850         __ATAN_TWOM.
53851         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
53853         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
53854         their values.
53855         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
53856         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
53857         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
53858         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
53860 2012-12-28  Andreas Jaeger  <aj@suse.de>
53862         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
53863         values are from Linux 3.7.
53865         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
53866         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
53868 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
53870         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
53871         TRUE case.
53873         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
53874         (norm): Likewise.
53875         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
53876         variables with preprocessor constants.
53877         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
53878         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
53879         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
53881 2012-12-27  Bruno Haible  <bruno@clisp.org>
53883         [BZ #14317]
53884         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
53885         only if needed.
53887 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
53889         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
53890         and use variable directly.
53891         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
53893         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
53894         MPONE.
53895         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
53896         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
53897         variable MPONE.
53898         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
53899         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
53900         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
53901         include directive.  Remove local variable MPONE.
53902         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
53903         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
53904         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
53906 2012-12-25  David S. Miller  <davem@davemloft.net>
53908         * version.h (RELEASE): Set to "development".
53909         (VERSION): Set to "2.17.90".
53910         * NEWS: Add 2.18 section.
53912 2012-12-21  David S. Miller  <davem@davemloft.net>
53914         * po/hr.po: Update from translation team.
53916 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
53918         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
53920 2012-12-19  Steve Ellcey  <sellcey@mips.com>
53922         * NEWS:  Mention new memcpy for MIPS.
53924 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
53926         * manual/contrib.texi (Contributors): Spelling correction.
53928 2012-12-15  David S. Miller  <davem@davemloft.net>
53930         * po/ru.po: Update from translation team.
53932 2012-12-13  David S. Miller  <davem@davemloft.net>
53934         * NEWS: Mention IFUNC testsuite enhancements.
53936         * po/pl.po: Update from translation team.
53937         * po/bg.po: Likewise.
53939         * manual/contrib.texi (Contributors): Update entries for Hongjiu
53940         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
53942 2012-12-11  David S. Miller  <davem@davemloft.net>
53944         * po/sv.po: Update from translation team.
53946         * po/vi.po: Update from translation team.
53948         * po/cs.po: Update from translation team.
53950         * po/de.po: Update from translation team.
53951         * po/eo.po: Likewise.
53952         * po/nl.po: Likewise.
53954 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
53956         [BZ #14246]
53957         * manual/argp.texi (Argp Helper Functions): Move node to follow
53958         Argp Parsing State.
53960         [BZ #14872]
53961         * manual/conf.texi (Limits on File System Capacity): Mention if
53962         terminating null is included in the max size.
53964 2012-12-10  Andreas Jaeger  <aj@suse.de>
53966         * po/cs.po: Update from translation team.
53968 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
53970         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
53971         void pointer and cast to uintptr_t.
53972         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
53973         path.
53974         * sysdeps/s390/s390-64/memcpy.S: Likewise.
53975         * sysdeps/s390/s390-64/memset.S: Likewise.
53977 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
53979         [BZ #14833]
53980         * menual/message.texi (Message Translation): Fix typos.
53981         (Helper programs for gettext): Likewise.
53983 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
53985         [BZ #14898]
53986         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
53987         Change to -1.
53989 2012-12-07  David S. Miller  <davem@davemloft.net>
53991         * po/libc.pot: Update.
53993 2012-12-07  Richard Henderson  <rth@redhat.com>
53995         [BZ #10114]
53996         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
53997         normal/normal case to before the switch.
53998         (_FP_DIV): Likewise.
54000 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
54001             Mike Frysinger  <vapier@gentoo.org>
54003         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
54004         check for __NR_fadvise64_64.
54006 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
54008         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
54009         0, not just to plain "0" as a statement.
54010         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
54011         with cw.
54013 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
54015         * NEWS: Use sourceware.org in Bugzilla URL.
54017 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
54019         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
54020         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
54022         * stdio-common/tst-put-error.c (do_test): Add newline to the
54023         padded test to ensure flush.
54025 2012-12-05  Jeff Law  <law@redhat.com>
54027         * sunrpc/etc.rpc (fedfs_admin): Add entry.
54029 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
54031         * README: Don't refer to ports add-on as distributed separately.
54032         Mention AArch64 in list of systems supported in the ports add-on.
54034         * LICENSES: Add more non-FSF copyright and license notices.
54036         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
54037         ((unused)).
54039         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
54041         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
54042         10000 as width of padded output.
54044 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
54046         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
54048         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
54049         variable LX with __attribute__ ((unused)).
54050         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
54051         Likewise.
54052         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
54053         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
54054         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
54055         with __attribute__ ((unused)).
54057 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
54059         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
54061 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
54063         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
54064         (CFLAGS-nldbl-acos.c): New variable.
54065         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
54066         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
54067         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
54068         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
54069         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
54070         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
54071         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
54072         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
54073         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
54074         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
54075         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
54076         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
54077         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
54078         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
54079         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
54080         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
54081         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
54082         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
54083         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
54084         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
54085         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
54086         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
54087         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
54088         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
54089         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
54090         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
54091         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
54092         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
54093         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
54094         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
54095         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
54096         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
54097         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
54098         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
54099         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
54100         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
54101         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
54102         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
54103         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
54104         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
54105         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
54106         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
54107         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
54108         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
54109         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
54110         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
54111         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
54112         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
54113         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
54114         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
54115         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
54116         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
54117         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
54118         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
54119         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
54120         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
54121         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
54122         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
54123         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
54124         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
54125         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
54126         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
54127         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
54128         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
54129         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
54130         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
54131         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
54132         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
54133         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
54134         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
54135         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
54136         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
54137         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
54138         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
54139         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
54140         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
54141         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
54142         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
54143         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
54144         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
54145         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
54146         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
54147         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
54148         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
54149         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
54150         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
54151         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
54152         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
54153         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
54154         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
54155         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
54156         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
54157         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
54158         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
54159         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
54160         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
54161         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
54163         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
54164         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
54166         [BZ #14914]
54167         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
54168         whole low double instead of just low 47 bits when splitting values
54169         into two parts.
54171 2012-12-03  Allan McRae  <allan@archlinux.org>
54173         * manual/stdio.texi (Predefined Printf Handlers): Remove
54174         @hsep and @vsep usage.
54176 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
54178         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
54179         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
54181 2012-12-03  Jeff Law  <law@redhat.com>
54183         * time/sys/time.h (settimeofday): Do not mark TV argument
54184         as __nonnull.
54186 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
54188         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
54189         when currently writing and seek to current position when not.
54190         * libio/Makefile (tests): Remove bug-fclose1.
54191         * libio/bug-fclose1.c: Delete.
54193 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
54195         * manual/arith.texi (feenableexcept): Fix typo.
54196         (fedisableexcept): Likewise.
54198 2012-11-30  Roland McGrath  <roland@hack.frob.com>
54200         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
54201         second, differently-typed declaration, rather than a cast.
54203 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
54205         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
54206         * include/rpc/svc.h: ... here.
54208 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
54210         [BZ #13013]
54211         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
54212         depending n and resplen2 to catch cases where answer
54213         equals answerp2.
54215 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
54217         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
54218         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
54220 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
54222         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
54224 2012-11-29  Roland McGrath  <roland@hack.frob.com>
54226         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
54228 2012-11-28  Jeff Law  <law@redhat.com>
54230         [BZ #13761]
54231         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
54232         dataset_temporary.  Track alloca usage into alloca_used.
54233         If dataset is large allocate and release it via malloc/free.
54235 2012-06-04  Florian Weimer  <fweimer@redhat.com>
54237         [BZ #14197]
54238         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
54240 2012-11-28  David S. Miller  <davem@davemloft.net>
54242         * sysdeps/sparc/fpu/libm-test-ulps: Update.
54244 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
54246         [BZ #14803]
54247         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
54248         of pi/2 rounded to nearest to 64 bits.
54249         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
54250         nearest to 64 bits.
54251         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
54252         bits.
54254 2012-11-28  Jeff Law <law@redhat.com>
54255             Martin Osvald <mosvald@redhat.com>
54257         [BZ #14889]
54258         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
54259         * sunrpc/svc.c: Include time.h.
54260         (__svc_accept_failed): New function.
54261         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
54262         any reason other than EINTR, call __svc_accept_failed.
54263         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
54264         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
54266 2012-11-28  Andreas Schwab  <schwab@suse.de>
54268         * scripts/abilist.awk: Also handle indirect functions in .opd
54269         section.
54271 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
54273         [BZ #13881]
54274         * sysdeps/x86/fpu/powl_helper.c: New file.
54275         * sysdeps/x86/fpu/Makefile: Likewise.
54276         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
54277         (p3): New object.
54278         (__ieee754_powl): Use __powl_helper for finite arguments except
54279         integer exponents below 8.
54280         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
54281         (p3): New object.
54282         (__ieee754_powl): Use __powl_helper for finite arguments except
54283         integer exponents below 8.
54284         * math/libm-test.inc (pow_test): Add more tests and enable some
54285         previously disabled tests.
54286         * sysdeps/i386/fpu/libm-test-ulps: Update.
54287         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54289 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
54290             Carlos O'Donell  <carlos_odonell@mentor.com>
54292         * nss/makedb.c (is_prime): Assert that input is odd and greater
54293         than 4.  Note that fact in a comment too.
54294         (next_prime): Add 4 to input.
54296 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
54298         [BZ #11741]
54299         * libio/Makefile (tests): Add test case tst-fwrite-error.
54300         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
54301         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
54302         * libio/tst-fwrite-error.c: New test case.
54304 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
54306         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
54307         before casting to void *.
54308         * include/libc-internal.h (__pointer_type): New macro.
54309         (__integer_if_pointer_type_sub): Likewise.
54310         (__integer_if_pointer_type): Likewise.
54311         (cast_to_integer): Likewise.
54312         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
54313         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
54314         before casting to atomic64_t.
54315         (atomic_exchange_acq): Likewise.
54316         (__arch_exchange_and_add_body): Likewise.
54317         (__arch_add_body): Likewise.
54318         (atomic_add_negative): Likewise.
54319         (atomic_add_zero): Likewise.
54321 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
54323         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
54324         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
54325         (add_fdes): Likewise.
54326         (linear_search_fdes): Likewise.
54327         (binary_search_unencoded_fdes): Likewise.
54329 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
54331         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
54333 2012-11-24  Adam Conrad  <adconrad@0c3.net>
54335         * configure.in: Autodetect C++ header directories.
54336         * configure: Regenerated.
54338 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
54340         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
54342 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
54344         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
54346 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
54348         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
54349         LDBL_MANT_DIG == 106]: Disable some tests.
54350         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
54351         Likewise.
54352         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
54353         Likewise.
54355         [BZ #14871]
54356         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
54357         input for small inputs.  Return +/- pi/2 for large inputs.
54358         * math/libm-test.inc (atan_test): Add more tests.
54360         * sysdeps/generic/unwind-dw2-fde-glibc.c
54361         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
54362         __attribute__ ((unused)).
54364         [BZ #14645]
54365         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
54366         x * y if x and y are nonzero and z is zero.
54368         [BZ #14811]
54369         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
54370         nonzero exponents with absolute value below 0x1p-117 to +/-
54371         0x1p-117.
54373         [BZ #14869]
54374         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
54375         up arguments below 2**-450, not just those below 2**-500.
54376         * math/libm-test.inc (hypot_test): Add another test.
54378         [BZ #14868]
54379         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
54380         Return a+b for ratio over 2**120, not 2**60.
54381         * math/libm-test.inc (hypot_test): Add another test.
54383         * math/libm-test.inc (clog_test): Use
54384         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
54385         (clog10_test): Likewise.
54387         [BZ #6778]
54388         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
54390 2012-11-22  Andreas Schwab  <schwab@suse.de>
54392         * sysdeps/i386/fpu/libm-test-ulps: Update.
54394 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
54396         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
54397         printf output with newline.
54399 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
54401         [BZ #14865]
54402         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
54403         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
54404         -z nodlopen, -z initfirst and -z execstack support.
54405         * configure: Regenerated.
54407         * elf/elf.h (DF_1_NODIRECT): New macro.
54408         (DF_1_IGNMULDEF): Likewise.
54409         (DF_1_NOKSYMS): Likewise.
54410         (DF_1_NOHDR): Likewise.
54411         (DF_1_EDITED): Likewise.
54412         (DF_1_NORELOC): Likewise.
54413         (DF_1_SYMINTPOSE): Likewise.
54414         (DF_1_GLOBAUDIT): Likewise.
54415         (DF_1_SINGLETON): Likewise.
54416         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
54417         DT_1_SUPPORTED_MASK bits.
54418         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
54420 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
54422         * sysdeps/unix/make-syscalls.sh: Document prefixes.
54424 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
54426         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
54427         macro.
54429         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
54430         (sendmmsg): Move declarations...
54431         * socket/sys/socket.h: ... here.
54432         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
54433         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
54434         include it from...
54435         * socket/recvmmsg.c: ... this new file.
54436         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
54437         (sendmmsg): Rename to __sendmmsg, create weak alias and make
54438         definition of __sendmmsg hidden.
54439         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
54440         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
54441         Move ENOSYS stub into and include it from...
54442         * socket/sendmmsg.c: ... this new file.
54443         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
54444         (sysdep_routines): Move recvmmsg and sendmmsg...
54445         * socket/Makefile (routines): ... here.
54446         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
54447         (GLIBC_PRIVATE): Add __sendmmsg.
54448         * include/sys/socket.h (__sendmmsg): Add declarations.
54449         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
54450         sendmmsg.
54452 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
54454         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
54455         variable I1 with __attribute__ ((unused)).
54456         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
54458 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
54460         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
54461         DUMMY variables with __attribute__ ((unused)).
54463         * bits/byteswap.h: Include <bits/types.h>.
54464         (__bswap_64): Use __uint64_t instead of unsigned long long int.
54466 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
54468         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
54469         string_t.  Do not manually set errno.
54470         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
54471         length with __strnlen.  Make sure to both set errno and return it on
54472         failure.
54474 2012-11-19  David S. Miller  <davem@davemloft.net>
54476         With help from Joseph Myers.
54477         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
54478         very large arguments properly.
54479         * math/libm-test.inc (atan_test): New tests.
54480         (atan2_test): New tests.
54481         * sysdeps/sparc/fpu/libm-test-ulps: Update.
54482         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
54484 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
54486         [BZ #14856]
54487         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
54488         Define to 3.
54490         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
54491         [POSIX] (EADDRNOTAVAIL): Likewise.
54492         [POSIX] (EAFNOSUPPORT): Likewise.
54493         [POSIX] (EALREADY): Likewise.
54494         [POSIX] (ECONNABORTED): Likewise.
54495         [POSIX] (ECONNREFUSED): Likewise.
54496         [POSIX] (ECONNRESET): Likewise.
54497         [POSIX] (EDESTADDRREQ): Likewise.
54498         [POSIX] (EDQUOT): Likewise.
54499         [POSIX] (EHOSTUNREACH): Likewise.
54500         [POSIX] (EIDRM): Likewise.
54501         [POSIX] (EISCONN): Likewise.
54502         [POSIX] (ELOOP): Likewise.
54503         [POSIX] (EMULTIHOP): Likewise.
54504         [POSIX] (ENETDOWN): Likewise.
54505         [POSIX] (ENETUNREACH): Likewise.
54506         [POSIX] (ENOBUFS): Likewise.
54507         [POSIX] (ENODATA): Likewise.
54508         [POSIX] (ENOLINK): Likewise.
54509         [POSIX] (ENOMSG): Likewise.
54510         [POSIX] (ENOPROTOOPT): Likewise.
54511         [POSIX] (ENOSR): Likewise.
54512         [POSIX] (ENOSTR): Likewise.
54513         [POSIX] (ENOTCONN): Likewise.
54514         [POSIX] (ENOTSOCK): Likewise.
54515         [POSIX] (EOPNOTSUPP): Likewise.
54516         [POSIX] (EOVERFLOW): Likewise.
54517         [POSIX] (EPROTO): Likewise.
54518         [POSIX] (EPROTONOSUPPORT): Likewise.
54519         [POSIX] (EPROTOTYPE): Likewise.
54520         [POSIX] (ESTALE): Likewise.
54521         [POSIX] (ETIME): Likewise.
54522         [POSIX] (ETXTBSY): Likewise.
54523         [POSIX] (EWOULDBLOCK): Likewise.
54524         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
54525         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
54526         [POSIX] (SEEK_CUR): Likewise.
54527         [POSIX] (SEEK_END): Likewise.
54528         [POSIX || UNIX98] (mode_t): Do not require.
54529         [POSIX] (off_t): Likewise.
54530         [POSIX] (pid_t): Likewise.
54531         [POSIX] (sys/stat.h): Do not allow header.
54532         [POSIX] (unistd.h): Likewise.
54533         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
54534         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
54535         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
54536         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
54537         require.
54538         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
54539         sigevent): Specify elements.
54540         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
54541         entry.
54542         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
54543         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
54545         * conform/data/cpio.h-data [POSIX]: Disable whole file.
54546         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
54547         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
54548         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
54549         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
54550         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
54551         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
54552         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
54553         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
54554         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
54555         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
54556         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
54557         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
54558         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
54559         Likewise.
54560         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
54561         Likewise.
54562         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
54563         Likewise.
54564         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
54565         Likewise.
54566         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
54567         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
54568         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
54569         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
54570         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
54571         Specify lower bound on value.
54572         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
54573         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
54574         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
54575         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
54576         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
54577         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise.
54578         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
54579         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
54580         value.
54581         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
54582         as optional.
54583         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
54584         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
54585         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
54586         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
54587         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
54588         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
54589         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
54590         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
54591         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
54592         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
54593         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
54594         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
54595         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
54596         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
54597         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
54598         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
54599         entry.
54600         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
54601         optional.
54602         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
54603         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
54604         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
54605         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
54606         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
54607         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
54608         Likewise.
54609         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
54610         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
54611         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
54612         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
54613         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
54614         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
54615         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
54616         as optional.
54617         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
54618         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
54619         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
54620         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
54621         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
54622         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
54623         specify as optional.
54624         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
54625         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
54626         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
54627         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
54628         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
54629         [XPG3] (NL_LANGMAX): Likewise.
54630         [POSIX || XPG3] (NL_MSGMAX): Likewise.
54631         [POSIX || XPG3] (NL_NMAX): Likewise.
54632         [POSIX || XPG3] (NL_SETMAX): Likewise.
54633         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
54634         [XPG3] (NZERO): Likewise.
54635         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
54636         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
54637         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
54638         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
54639         (REG_ERANGE): Expect.
54640         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
54641         optional-constant.
54642         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
54643         Use (void) in prototype.
54644         [POSIX] (*_t): Allow.
54645         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
54646         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
54647         (WRDE_BADVAL): Expect.
54649         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
54650         expect.
54651         [XPG3 || XPG4] (O_RSYNC): Likewise.
54652         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
54653         Likewise.
54654         [XPG3 || XPG4] (pthread_sigmask): Likewise.
54655         [XPG3 || XPG4] (sigqueue): Likewise.
54656         [XPG3 || XPG4] (sigtimedwait): Likewise.
54657         [XPG3 || XPG4] (sigwaitinfo): Likewise.
54658         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
54659         [XPG3 || XPG4] (vsnprintf): Likewise.
54660         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
54661         Likewise.
54662         [XPG3 || XPG4] (blksize_t): Likewise.
54663         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
54664         Likewise.
54665         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
54666         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
54667         [XPG3 || XPG4] (struct itimerspec): Likewise.
54668         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
54669         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
54670         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
54671         [XPG3 || XPG4] (clockid_t): Likewise.
54672         [XPG3 || XPG4] (timer_t): Likewise.
54673         [XPG3 || XPG4] (clock_getres): Likewise.
54674         [XPG3 || XPG4] (clock_gettime): Likewise.
54675         [XPG3 || XPG4] (clock_settime): Likewise.
54676         [XPG3 || XPG4] (nanosleep): Likewise.
54677         [XPG3 || XPG4] (timer_create): Likewise.
54678         [XPG3 || XPG4] (timer_delete): Likewise.
54679         [XPG3 || XPG4] (timer_gettime): Likewise.
54680         [XPG3 || XPG4] (timer_getoverrun): Likewise.
54681         [XPG3 || XPG4] (timer_settime): Likewise.
54682         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
54683         [XPG3 || XPG4] (getlogin_r): Likewise.
54684         [XPG3 || XPG4] (pread): Likewise.
54685         [XPG3 || XPG4] (pthread_atfork): Likewise.
54686         [XPG3 || XPG4] (pwrite): Likewise.
54688         [BZ #14835]
54689         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
54690         <bits/siginfo.h>.
54692 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
54694         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
54695         finalizing MALLSTREAM.
54697         * sysdeps/mach/hurd/syncfs.c: New file.
54699 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
54701         [BZ #14719]
54702         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
54703         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
54704         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
54705         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
54706         (_nss_dns_gethostbyname4_r): Likewise.
54707         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
54708         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
54710 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
54712         [BZ #13763]
54713         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
54715 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
54717         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
54718         * elf/cache.c (print_entry): Print ",AArch64" for
54719         FLAG_AARCH64_LIB64
54721         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
54722         * elf/cache.c (print_entry): Print ",hard-float" for
54723         FLAG_ARM_LIBHF.
54725 2012-11-18  David S. Miller  <davem@davemloft.net>
54727         With help from Joseph Myers.
54728         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
54729         cutoff to 2**-13.
54730         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
54731         cutoff to 2**-25.
54732         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
54733         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
54734         small.
54735         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
54736         * math/libm-test.inc (y0_test): New tests.
54737         (y1_test): New tests.
54738         * sysdeps/i386/fpu/libm-test-ulps: Update.
54739         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
54740         * sysdeps/sparc/fpu/libm-test-ulps: Update.
54742 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
54744         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
54745         64-bit targets.
54746         * configure: Regenerated.
54748 2012-11-17  David S. Miller  <davem@davemloft.net>
54750         [BZ #14811]
54751         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
54752         nonzero exponents with absolute value below 0x1p-128 to +/-
54753         0x1p-128.
54755 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
54757         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
54759         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
54761         * posix/getconf-speclist.c: New file.
54762         * posix/posix-envs.def: Likewise.
54763         * posix/confstr.c (START_ENV_GROUP): New macro.
54764         (END_ENV_GROUP): Likewise.
54765         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
54766         (KNOWN_PRESENT_ENV_STRING): Likewise.
54767         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
54768         (UNKNOWN_ENVIRONMENT): Likewise.
54769         (confstr): Include posix-envs.def instead of handling
54770         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
54771         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
54772         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
54773         (END_ENV_GROUP): Likewise.
54774         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
54775         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
54776         (UNKNOWN_ENVIRONMENT): Likewise.
54777         (__sysconf): Include posix-envs.def instead of handling associated
54778         cases directly here.
54779         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
54780         preprocessing getconf-speclist.c rather than running getconf or
54781         generating empty file.
54783 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
54785         * scripts/check-local-headers.sh: Ignore 'mach' headers.
54787 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
54789         [BZ #14672]
54790         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
54792 2012-11-16  David S. Miller  <davem@davemloft.net>
54794         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
54795         smaller than LDBL_EPSILON/2.0L, just return xm1.
54797 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
54799         * elf/tst-array1.c (init): Set constructor priority to 1000.
54800         (fini): Set destructor priority to 1000.
54801         * elf/tst-array2dep.c: Likewise.
54803 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
54805         [BZ #11741]
54806         * libio/fileops.c (_IO_new_file_write): Correctly return error.
54807         (_IO_new_file_xsputn): Also return EOF if none of the input
54808         data was written when overflow failed.
54809         * libio/iopadn.c (_IO_padn): Likewise.
54810         * libio/iowpadn.c (_IO_wpadn): Likewise.
54811         * stdio-common/tst-put-error.c: Add copyright notice.
54812         (do_test): Add case for printing padded string.
54813         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
54814         _IO_padn returned error.
54815         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
54816         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
54817         return EOF.
54819 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
54821         * libio/libioP.h: Add comment note that the references to C++
54822         bits are now obsolete.
54824 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
54826         * math/libm-test.inc (check_complex): Use asprintf.
54828 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
54830         * debug/pcprofiledump.c (print_version): Update copyright year.
54831         * malloc/memusagestat.c (print_version): Likewise.
54833 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
54835         [BZ #14831]
54836         * elf/Makefile (tests): Add tst-audit8.
54837         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
54838         ($(objpfx)tst-audit8.out): New target.
54839         (tst-audit8-ENV): New variable.
54840         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
54841         audit if l_reloc_result is NULL.
54842         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
54843         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
54844         * elf/tst-audit8.c: New file.
54846 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
54848         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
54849         * misc/Makefile (CFLAGS-select.c): Define.
54850         * posix/Makefile (CFLAGS-pause.c): Define.
54852 2012-11-13  David S. Miller  <davem@davemloft.net>
54854         * crypt/Makefile: Move test targets after toplevel Rules
54855         inclusion.  Grab any necessary sysdep routines when linking.
54856         * crypt/md5.c (md5_process_block): Remove define, we will always
54857         name it __md5_process_block.
54858         (md5_finish_ctx): Update md5_process_block call.
54859         (md5_stream): Likewise.
54860         (md5_process_bytes): Likewise.
54861         (md5_process_block): Rename to __md5_process_block and move to ...
54862         * crypt/md5-block.c: ... here.
54863         * crypt/sha256.c (sha256_process_block): Move to ...
54864         * crypt/sha256-block.c: ... here.
54865         * crypt/sha512.c (sha512_process_block): Move to ...
54866         * crypt/sha512-block.c: ... here.
54867         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
54868         path.
54869         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
54870         * sysdeps/sparc/sparc64/multiarch/Makefile
54871         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
54872         crypt subdir.
54873         (localedef-aux): Add md5 crypto assembler when in locale subdir.
54874         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
54875         multiarch changes.
54876         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
54877         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
54878         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
54879         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
54880         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
54881         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
54882         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
54883         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
54884         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
54885         file.
54886         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
54887         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
54888         file.
54889         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
54891 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
54893         * timezone/tzselect.ksh: Update from tzcode git revision
54894         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
54895         * timezone/zdump.c: Likewise.
54896         * timezone/zic.c: Likewise.
54897         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
54898         in TZVERSION setting, not $(PKGVERSION).
54899         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
54900         REPORT_BUGS_TO settings.
54902         [BZ #14838]
54903         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
54904         macro.
54906 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
54908         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
54909         detection to immediately after _FP_ROUND().
54910         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
54911         bits are 0.
54913 2012-11-11  David S. Miller  <davem@davemloft.net>
54915         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
54916         inttypes.h
54917         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
54918         __close rather than their public counterparts.
54920 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
54922         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
54923         file.
54924         [UNIX98] (sem_timedwait): Do not expect.
54925         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
54926         [XPG4 || UNIX98] (sockatmark): Do not expect.
54927         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
54928         (clock_getcpuclockid): Do not expect.
54929         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
54930         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
54931         Do not expect.
54932         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
54933         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
54934         [UNIX98] (vwscanf): Likewise.
54935         [UNIX98] (vswscanf): Likewise.
54937 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
54939         * timezone/version.h: Remove file.
54940         * timezone/README: Do not refer to version.h.
54941         * timezone/Makefile ($(objpfx)zic.o): New dependency on
54942         $(objpfx)version.h.
54943         ($(objpfx)zdump.o): Likewise.
54944         ($(objpfx)version.h): New target.
54946         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
54947         2012i.
54948         * timezone/README: Don't mention modification to tzselect.ksh.
54949         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
54950         work on unmodified tzselect.ksh.  Substitute version numbers in
54951         tzselect.ksh.
54953         * Makefile (format-me): Remove.
54954         (INSTALL): Adjust indentation.  Use commands directly instead of
54955         using $(format-me).
54957         * aclocal.m4 (ACX_PKGVERSION): New macro.
54958         (ACX_BUGURL): Likewise.
54959         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
54960         (PKGVERSION): New AC_DEFINE_UNQUOTED.
54961         (REPORT_BUGS_TO): Likewise.
54962         * configure: Regenerated.
54963         * config.h.in (PKGVERSION): New macro.
54964         (REPORT_BUGS_TO): Likewise.
54965         * config.make.in (PKGVERSION): New variable.
54966         (PKGVERSION_TEXI): Likewise.
54967         (REPORT_BUGS_TO): Likewise.
54968         (REPORT_BUGS_TEXI): Likewise.
54969         * Makefile (format-me): Use -I$(common-objpfx)manual.
54970         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
54971         ($(common-objpfx)manual/%): New target.
54972         (manual/%): Remove target.
54973         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
54974         (print_version): Use PKGVERSION.
54975         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
54976         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
54977         and REPORT_BUGS_TO.
54978         ($(objpfx)xtrace): Likewise.
54979         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
54980         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
54981         (print_version): Use PKGVERSION.
54982         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
54983         (do_version): Use PKGVERSION.
54984         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
54985         REPORT_BUGS_TO.
54986         (common-ldd-rewrite): Likewise.
54987         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
54988         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
54989         (print_version): Use PKGVERSION.
54990         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
54991         * elf/pldd.c (argp_program_bug_address): Remove variable.
54992         (more_help): New function.
54993         (argp): Use more_help.
54994         (print_version): Use PKGVERSION.
54995         * elf/sln.c (main): Use PKGVERSION.
54996         (usage): Use REPORT_BUGS_TO.
54997         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
54998         (top level): Use PKGVERSION.
54999         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
55000         (print_version): Use PKGVERSION.
55001         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
55002         (print_version): Use PKGVERSION.
55003         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
55004         (print_version): Use PKGVERSION.
55005         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
55006         (print_version): Use PKGVERSION.
55007         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
55008         (print_version): Use PKGVERSION.
55009         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
55010         (print_version): Use PKGVERSION.
55011         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
55012         and BUGURL.
55013         ($(objpfx)memusage): Likewise.
55014         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
55015         (do_version): Use PKGVERSION.
55016         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
55017         (print_version): Use PKGVERSION.
55018         * malloc/mtrace.pl ($PACKAGE): Remove variable.
55019         ($PKGVERSION): New variable.
55020         ($REPORT_BUGS_TO): Likewise.
55021         (usage): Use $REPORT_BUGS_TO.
55022         (top level): Use $PKGVERSION.
55023         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
55024         ($(objpfx)pkgvers.texi): New rule.
55025         ($(objpfx)stamp-pkgvers): Likewise.
55026         * manual/install.texi: Include pkgvers.texi.
55027         (--with-pkgversion): Document new configure option.
55028         (--with-bugurl): Likewise.
55029         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
55030         than necessarily for this particular distribution.  Use
55031         REPORT_BUGS_TO for where to report bugs.
55032         * INSTALL: Regenerated.
55033         * manual/libc.texinfo: Include pkgvers.texi.
55034         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
55035         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
55036         (print_version): Use PKGVERSION.
55037         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
55038         (print_version): Use PKGVERSION.
55039         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
55040         (print_version): Use PKGVERSION.
55041         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
55042         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
55043         macro.
55044         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
55045         (print_version): Use PKGVERSION.
55046         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
55047         (print_version): Use PKGVERSION.
55048         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
55049         and PKGVERSION.
55051         * timezone/checktab.awk: Update from tzcode 2012i.
55052         * timezone/ialloc.c: Likewise.
55053         * timezone/private.h: Likewise.
55054         * timezone/scheck.c: Likewise.
55055         * timezone/tzfile.h: Likewise.
55056         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
55057         (TZVERSION): Hardcode tzcode version number.
55058         * timezone/zdump.c: Update from tzcode 2012i.
55059         * timezone/zic.c: Likewise.
55060         * timezone/version.h: New file.
55061         * timezone/README: Describe version.h.  Update upstream location.
55063         [BZ #14824]
55064         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
55065         (mktemp): Enable declaration.
55066         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
55067         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
55068         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
55069         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
55070         Likewise.
55071         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
55072         Likewise.
55073         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
55074         Likewise.
55075         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
55076         Likewise.
55077         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
55078         Likewise.
55079         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
55080         Likewise.
55082         [BZ #14821]
55083         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
55084         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
55085         for copies of such integer values.
55086         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
55087         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
55089 2012-11-09  Andreas Jaeger  <aj@suse.de>
55091         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
55092         definitions and declarations that are provided by
55093         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
55095 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
55097         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
55098         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
55099         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
55100         definition.
55102 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
55104         * elf/elf.h: Update comment before AArch64 relocations.
55106 2012-11-07  David S. Miller  <davem@davemloft.net>
55108         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
55109         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
55110         (__start_context): Declare.
55111         (__makecontext_ret): Delete.
55112         (__makecontext): Hook up __start_context instead of
55113         __makecontext_ret.
55114         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
55115         (sysdep_routines): Add __start_context when in stdlib.
55117 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
55119         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
55120         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
55121         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
55122         hardcoded "nm".
55123         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
55124         (READELF): New variable.  Use it instead of hardcoded "readelf".
55126 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
55128         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
55129         * sysdeps/x86/Makefile: Here.
55130         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
55131         * sysdeps/x86/tst-xmmymm.sh: This.
55133 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
55135         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
55136         expectations.
55137         [UNIX98] (pthread_barrier_t): Do not expect.
55138         [UNIX98] (pthread_barrierattr_t): Likewise.
55139         [UNIX98] (pthread_spinlock_t): Likewise.
55140         [UNIX98] (pthread_barrier_destroy): Likewise.
55141         [UNIX98] (pthread_barrier_init): Likewise.
55142         [UNIX98] (pthread_barrier_wait): Likewise.
55143         [UNIX98] (pthread_barrierattr_destroy): Likewise.
55144         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
55145         [UNIX98] (pthread_barrierattr_init): Likewise.
55146         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
55147         [UNIX98] (pthread_getcpuclockid): Likewise.
55148         [UNIX98] (pthread_mutex_timedlock): Likewise.
55149         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
55150         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
55151         [UNIX98] (pthread_sigmask): Likewise.
55152         [UNIX98] (pthread_spin_destroy): Likewise.
55153         [UNIX98] (pthread_spin_init): Likewise.
55154         [UNIX98] (pthread_spin_lock): Likewise.
55155         [UNIX98] (pthread_spin_trylock): Likewise.
55156         [UNIX98] (pthread_spin_unlock): Likewise.
55157         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
55158         Do not expect.
55159         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
55160         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
55161         [XPG3 || XPG4] (pthread_cond_t): Likewise.
55162         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
55163         [XPG3 || XPG4] (pthread_key_t): Likewise.
55164         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
55165         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
55166         [XPG3 || XPG4] (pthread_once_t): Likewise.
55167         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
55168         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
55169         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
55170         [XPG3 || XPG4] (pthread_t): Likewise.
55172         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
55173         not expect.
55174         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
55176         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
55177         Change function return type to int.
55179         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
55180         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
55181         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
55182         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
55183         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
55184         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
55185         [!POSIX] (posix_madvise): Likewise.
55186         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
55187         && !UNIX98].
55188         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
55189         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
55190         (mode_t): Likewise.
55191         (posix_mem_offset): Likewise.
55192         (posix_typed_mem_get_info): Likewise.
55193         (posix_typed_mem_open): Likewise.
55195         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
55196         Change condition to [XOPEN2K8].
55198         * conform/conformtest.pl: Preprocess allow-header data with -x c
55199         instead of from stdin.
55200         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
55201         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
55202         [C99-based standards] (cerfc): Likewise.
55203         [C99-based standards] (cexp2): Likewise.
55204         [C99-based standards] (cexpm1): Likewise.
55205         [C99-based standards] (clog10): Likewise.
55206         [C99-based standards] (clog1p): Likewise.
55207         [C99-based standards] (clog2): Likewise.
55208         [C99-based standards] (clgamma): Likewise.
55209         [C99-based standards] (ctgamma): Likewise.
55210         [C99-based standards] (cerff): Likewise.
55211         [C99-based standards] (cerfcf): Likewise.
55212         [C99-based standards] (cexp2f): Likewise.
55213         [C99-based standards] (cexpm1f): Likewise.
55214         [C99-based standards] (clog10f): Likewise.
55215         [C99-based standards] (clog1pf): Likewise.
55216         [C99-based standards] (clog2f): Likewise.
55217         [C99-based standards] (clgammaf): Likewise.
55218         [C99-based standards] (ctgammaf): Likewise.
55219         [C99-based standards] (cerfl): Likewise.
55220         [C99-based standards] (cerfcl): Likewise.
55221         [C99-based standards] (cexp2l): Likewise.
55222         [C99-based standards] (cexpm1l): Likewise.
55223         [C99-based standards] (clog10l): Likewise.
55224         [C99-based standards] (clog1pl): Likewise.
55225         [C99-based standards] (clog2l): Likewise.
55226         [C99-based standards] (clgammal): Likewise.
55227         [C99-based standards] (ctgammal): Likewise.
55228         * conform/data/inttypes.h-data [C99-based standards]: Include
55229         stdint.h-data.  Remove all expectations for stdint.h contents.
55230         [C99-based standards] (PRI*): Do not allow.
55231         [C99-based standards] (SCN*): Likewise.
55232         [C99-based standards] (*_t): Likewise.
55233         [C99-based-standards] (PRId8): Expect macro.
55234         [C99-based-standards] (PRIi8): Likewise.
55235         [C99-based-standards] (PRIo8): Likewise.
55236         [C99-based-standards] (PRIu8): Likewise.
55237         [C99-based-standards] (PRIx8): Likewise.
55238         [C99-based-standards] (PRIX8): Likewise.
55239         [C99-based-standards] (SCNd8): Likewise.
55240         [C99-based-standards] (SCNi8): Likewise.
55241         [C99-based-standards] (SCNo8): Likewise.
55242         [C99-based-standards] (SCNu8): Likewise.
55243         [C99-based-standards] (SCNx8): Likewise.
55244         [C99-based-standards] (PRIdLEAST8): Likewise.
55245         [C99-based-standards] (PRIiLEAST8): Likewise.
55246         [C99-based-standards] (PRIoLEAST8): Likewise.
55247         [C99-based-standards] (PRIuLEAST8): Likewise.
55248         [C99-based-standards] (PRIxLEAST8): Likewise.
55249         [C99-based-standards] (PRIXLEAST8): Likewise.
55250         [C99-based-standards] (SCNdLEAST8): Likewise.
55251         [C99-based-standards] (SCNiLEAST8): Likewise.
55252         [C99-based-standards] (SCNoLEAST8): Likewise.
55253         [C99-based-standards] (SCNuLEAST8): Likewise.
55254         [C99-based-standards] (SCNxLEAST8): Likewise.
55255         [C99-based-standards] (PRIdFAST8): Likewise.
55256         [C99-based-standards] (PRIiFAST8): Likewise.
55257         [C99-based-standards] (PRIoFAST8): Likewise.
55258         [C99-based-standards] (PRIuFAST8): Likewise.
55259         [C99-based-standards] (PRIxFAST8): Likewise.
55260         [C99-based-standards] (PRIXFAST8): Likewise.
55261         [C99-based-standards] (SCNdFAST8): Likewise.
55262         [C99-based-standards] (SCNiFAST8): Likewise.
55263         [C99-based-standards] (SCNoFAST8): Likewise.
55264         [C99-based-standards] (SCNuFAST8): Likewise.
55265         [C99-based-standards] (SCNxFAST8): Likewise.
55266         [C99-based-standards] (PRId16): Likewise.
55267         [C99-based-standards] (PRIi16): Likewise.
55268         [C99-based-standards] (PRIo16): Likewise.
55269         [C99-based-standards] (PRIu16): Likewise.
55270         [C99-based-standards] (PRIx16): Likewise.
55271         [C99-based-standards] (PRIX16): Likewise.
55272         [C99-based-standards] (SCNd16): Likewise.
55273         [C99-based-standards] (SCNi16): Likewise.
55274         [C99-based-standards] (SCNo16): Likewise.
55275         [C99-based-standards] (SCNu16): Likewise.
55276         [C99-based-standards] (SCNx16): Likewise.
55277         [C99-based-standards] (PRIdLEAST16): Likewise.
55278         [C99-based-standards] (PRIiLEAST16): Likewise.
55279         [C99-based-standards] (PRIoLEAST16): Likewise.
55280         [C99-based-standards] (PRIuLEAST16): Likewise.
55281         [C99-based-standards] (PRIxLEAST16): Likewise.
55282         [C99-based-standards] (PRIXLEAST16): Likewise.
55283         [C99-based-standards] (SCNdLEAST16): Likewise.
55284         [C99-based-standards] (SCNiLEAST16): Likewise.
55285         [C99-based-standards] (SCNoLEAST16): Likewise.
55286         [C99-based-standards] (SCNuLEAST16): Likewise.
55287         [C99-based-standards] (SCNxLEAST16): Likewise.
55288         [C99-based-standards] (PRIdFAST16): Likewise.
55289         [C99-based-standards] (PRIiFAST16): Likewise.
55290         [C99-based-standards] (PRIoFAST16): Likewise.
55291         [C99-based-standards] (PRIuFAST16): Likewise.
55292         [C99-based-standards] (PRIxFAST16): Likewise.
55293         [C99-based-standards] (PRIXFAST16): Likewise.
55294         [C99-based-standards] (SCNdFAST16): Likewise.
55295         [C99-based-standards] (SCNiFAST16): Likewise.
55296         [C99-based-standards] (SCNoFAST16): Likewise.
55297         [C99-based-standards] (SCNuFAST16): Likewise.
55298         [C99-based-standards] (SCNxFAST16): Likewise.
55299         [C99-based-standards] (PRId32): Likewise.
55300         [C99-based-standards] (PRIi32): Likewise.
55301         [C99-based-standards] (PRIo32): Likewise.
55302         [C99-based-standards] (PRIu32): Likewise.
55303         [C99-based-standards] (PRIx32): Likewise.
55304         [C99-based-standards] (PRIX32): Likewise.
55305         [C99-based-standards] (SCNd32): Likewise.
55306         [C99-based-standards] (SCNi32): Likewise.
55307         [C99-based-standards] (SCNo32): Likewise.
55308         [C99-based-standards] (SCNu32): Likewise.
55309         [C99-based-standards] (SCNx32): Likewise.
55310         [C99-based-standards] (PRIdLEAST32): Likewise.
55311         [C99-based-standards] (PRIiLEAST32): Likewise.
55312         [C99-based-standards] (PRIoLEAST32): Likewise.
55313         [C99-based-standards] (PRIuLEAST32): Likewise.
55314         [C99-based-standards] (PRIxLEAST32): Likewise.
55315         [C99-based-standards] (PRIXLEAST32): Likewise.
55316         [C99-based-standards] (SCNdLEAST32): Likewise.
55317         [C99-based-standards] (SCNiLEAST32): Likewise.
55318         [C99-based-standards] (SCNoLEAST32): Likewise.
55319         [C99-based-standards] (SCNuLEAST32): Likewise.
55320         [C99-based-standards] (SCNxLEAST32): Likewise.
55321         [C99-based-standards] (PRIdFAST32): Likewise.
55322         [C99-based-standards] (PRIiFAST32): Likewise.
55323         [C99-based-standards] (PRIoFAST32): Likewise.
55324         [C99-based-standards] (PRIuFAST32): Likewise.
55325         [C99-based-standards] (PRIxFAST32): Likewise.
55326         [C99-based-standards] (PRIXFAST32): Likewise.
55327         [C99-based-standards] (SCNdFAST32): Likewise.
55328         [C99-based-standards] (SCNiFAST32): Likewise.
55329         [C99-based-standards] (SCNoFAST32): Likewise.
55330         [C99-based-standards] (SCNuFAST32): Likewise.
55331         [C99-based-standards] (SCNxFAST32): Likewise.
55332         [C99-based-standards] (PRId64): Likewise.
55333         [C99-based-standards] (PRIi64): Likewise.
55334         [C99-based-standards] (PRIo64): Likewise.
55335         [C99-based-standards] (PRIu64): Likewise.
55336         [C99-based-standards] (PRIx64): Likewise.
55337         [C99-based-standards] (PRIX64): Likewise.
55338         [C99-based-standards] (SCNd64): Likewise.
55339         [C99-based-standards] (SCNi64): Likewise.
55340         [C99-based-standards] (SCNo64): Likewise.
55341         [C99-based-standards] (SCNu64): Likewise.
55342         [C99-based-standards] (SCNx64): Likewise.
55343         [C99-based-standards] (PRIdLEAST64): Likewise.
55344         [C99-based-standards] (PRIiLEAST64): Likewise.
55345         [C99-based-standards] (PRIoLEAST64): Likewise.
55346         [C99-based-standards] (PRIuLEAST64): Likewise.
55347         [C99-based-standards] (PRIxLEAST64): Likewise.
55348         [C99-based-standards] (PRIXLEAST64): Likewise.
55349         [C99-based-standards] (SCNdLEAST64): Likewise.
55350         [C99-based-standards] (SCNiLEAST64): Likewise.
55351         [C99-based-standards] (SCNoLEAST64): Likewise.
55352         [C99-based-standards] (SCNuLEAST64): Likewise.
55353         [C99-based-standards] (SCNxLEAST64): Likewise.
55354         [C99-based-standards] (PRIdFAST64): Likewise.
55355         [C99-based-standards] (PRIiFAST64): Likewise.
55356         [C99-based-standards] (PRIoFAST64): Likewise.
55357         [C99-based-standards] (PRIuFAST64): Likewise.
55358         [C99-based-standards] (PRIxFAST64): Likewise.
55359         [C99-based-standards] (PRIXFAST64): Likewise.
55360         [C99-based-standards] (SCNdFAST64): Likewise.
55361         [C99-based-standards] (SCNiFAST64): Likewise.
55362         [C99-based-standards] (SCNoFAST64): Likewise.
55363         [C99-based-standards] (SCNuFAST64): Likewise.
55364         [C99-based-standards] (SCNxFAST64): Likewise.
55365         [C99-based-standards] (PRIdMAX): Likewise.
55366         [C99-based-standards] (PRIiMAX): Likewise.
55367         [C99-based-standards] (PRIoMAX): Likewise.
55368         [C99-based-standards] (PRIuMAX): Likewise.
55369         [C99-based-standards] (PRIxMAX): Likewise.
55370         [C99-based-standards] (PRIXMAX): Likewise.
55371         [C99-based-standards] (SCNdMAX): Likewise.
55372         [C99-based-standards] (SCNiMAX): Likewise.
55373         [C99-based-standards] (SCNoMAX): Likewise.
55374         [C99-based-standards] (SCNuMAX): Likewise.
55375         [C99-based-standards] (SCNxMAX): Likewise.
55376         [C99-based-standards] (PRIdPTR): Likewise.
55377         [C99-based-standards] (PRIiPTR): Likewise.
55378         [C99-based-standards] (PRIoPTR): Likewise.
55379         [C99-based-standards] (PRIuPTR): Likewise.
55380         [C99-based-standards] (PRIxPTR): Likewise.
55381         [C99-based-standards] (PRIXPTR): Likewise.
55382         [C99-based-standards] (SCNdPTR): Likewise.
55383         [C99-based-standards] (SCNiPTR): Likewise.
55384         [C99-based-standards] (SCNoPTR): Likewise.
55385         [C99-based-standards] (SCNuPTR): Likewise.
55386         [C99-based-standards] (SCNxPTR): Likewise.
55387         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
55388         allow.
55389         * conform/data/stdint.h-data: Update comments to clarify
55390         requirements.
55391         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
55392         type.
55393         [C99-based standards] (INT8_MAX): Likewise.
55394         [C99-based standards] (INT16_MIN): Likewise.
55395         [C99-based standards] (INT16_MAX): Likewise.
55396         [C99-based standards] (INT32_MIN): Likewise.
55397         [C99-based standards] (INT32_MAX): Likewise.
55398         [C99-based standards] (INT64_MIN): Likewise.
55399         [C99-based standards] (INT64_MAX): Likewise.
55400         [C99-based standards] (UINT8_MAX): Likewise.
55401         [C99-based standards] (UINT16_MAX): Likewise.
55402         [C99-based standards] (UINT32_MAX): Likewise.
55403         [C99-based standards] (UINT64_MAX): Likewise.
55404         [C99-based standards] (INT_LEAST8_MIN): Likewise.
55405         [C99-based standards] (INT_LEAST8_MAX): Likewise.
55406         [C99-based standards] (INT_LEAST16_MIN): Likewise.
55407         [C99-based standards] (INT_LEAST16_MAX): Likewise.
55408         [C99-based standards] (INT_LEAST32_MIN): Likewise.
55409         [C99-based standards] (INT_LEAST32_MAX): Likewise.
55410         [C99-based standards] (INT_LEAST64_MIN): Likewise.
55411         [C99-based standards] (INT_LEAST64_MAX): Likewise.
55412         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
55413         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
55414         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
55415         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
55416         [C99-based standards] (INT_FAST8_MIN): Likewise.
55417         [C99-based standards] (INT_FAST8_MAX): Likewise.
55418         [C99-based standards] (INT_FAST16_MIN): Likewise.
55419         [C99-based standards] (INT_FAST16_MAX): Likewise.
55420         [C99-based standards] (INT_FAST32_MIN): Likewise.
55421         [C99-based standards] (INT_FAST32_MAX): Likewise.
55422         [C99-based standards] (INT_FAST64_MIN): Likewise.
55423         [C99-based standards] (INT_FAST64_MAX): Likewise.
55424         [C99-based standards] (UINT_FAST8_MAX): Likewise.
55425         [C99-based standards] (UINT_FAST16_MAX): Likewise.
55426         [C99-based standards] (UINT_FAST32_MAX): Likewise.
55427         [C99-based standards] (UINT_FAST64_MAX): Likewise.
55428         [C99-based standards] (INTPTR_MIN): Likewise.
55429         [C99-based standards] (INTPTR_MAX): Likewise.
55430         [C99-based standards] (UINTPTR_MAX): Likewise.
55431         [C99-based standards] (INTMAX_MIN): Likewise.
55432         [C99-based standards] (INTMAX_MAX): Likewise.
55433         [C99-based standards] (UINTMAX_MAX): Likewise.
55434         [C99-based standards] (PTRDIFF_MIN): Likewise.
55435         [C99-based standards] (PTRDIFF_MAX): Likewise.
55436         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
55437         [C99-based standards] (SIZE_MAX): Likewise.
55438         [C99-based standards] (WCHAR_MAX): Likewise.
55439         [C99-based standards] (WINT_MAX): Likewise.
55440         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
55441         constraint on value.
55442         [C99-based standards] (WCHAR_MIN): Likewise.
55443         [C99-based standards] (WINT_MIN): Likewise.
55444         [C99-based standards] (*_t): Allow.
55445         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
55446         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
55447         Include math.h-data and complex.h-data.  Remove all expectations
55448         of math.h and complex.h contents.
55449         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
55450         at end of line.
55451         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
55452         (struct tm): Expect tag.
55453         [C99-based-standards] (wcstof): Expect function.
55454         [C99-based-standards] (wcstold): Likewise.
55455         [C99-based-standards] (wcstoll): Likewise.
55456         [C99-based-standards] (wcstoull): Likewise.
55457         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
55458         macro-int-constant.  Specify type.
55459         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
55460         constraint on value.
55461         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
55462         Specify type.
55463         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
55464         Specify value.
55465         [ISO C standards]: Do not allow headers.
55466         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
55467         wcs[abcdefghijklmnopqrstuvwxyz]*.
55468         [ISO C standards] (*_t): Do not allow.
55469         * conform/data/wctype.h-data [C99-based standards] (iswblank):
55470         Expect function.
55471         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
55472         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
55473         Specify type.
55474         [ISO C standards]: Do not allow headers.
55475         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
55476         is[abcdefghijklmnopqrstuvwxyz]*.
55477         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
55478         to[abcdefghijklmnopqrstuvwxyz]*.
55479         [ISO C standards] (*_t): Do not allow.
55480         * conform/data/stdalign.h-data: New file.
55481         * conform/data/stdbool.h-data: Likewise.
55482         * conform/data/stdnoreturn.h-data: Likewise.
55484 2012-11-07  Roland McGrath  <roland@hack.frob.com>
55486         [BZ #14815]
55487         * manual/filesys.texi (Directory Entries): Typo fix.
55488         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
55490 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
55492         * elf/elf.h (EM_AARCH64): New macro.
55493         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
55494         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
55495         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
55496         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
55497         (R_AARCH64_TLSDESC): Likewise.
55498         (NT_ARM_TLS): Likewise.
55499         (NT_ARM_HW_BREAK): Likewise.
55500         (NT_ARM_HW_WATCH): Likewise.
55502 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
55504         [BZ #14811]
55505         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
55506         (__ieee754_powl): Saturate nonzero exponents with absolute value
55507         below 0x1p-79 to +/- 0x1p-79.
55508         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
55509         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
55510         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
55511         nonzero exponents with absolute value below 0x1p-32 to +/-
55512         0x1p-32.
55513         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
55514         (__ieee754_powl): Saturate nonzero exponents with absolute value
55515         below 0x1p-79 to +/- 0x1p-79.
55516         * math/libm-test.inc (pow_test): Add more tests.
55518 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
55520         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
55521         _dl_s390_cap_flags with kernel. Increase string length.
55522         (_dl_s390_platforms): Add z196 and zEC12.
55524 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
55526         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
55527         Change XOPEN21K to XOPEN2K.
55529 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
55531         * string/memmove.c: Use memcpy when possible.
55533 2012-11-06  Andreas Jaeger  <aj@suse.de>
55535         * po/eo.po: Update from translation team.
55537 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
55539         [BZ #14793]
55540         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
55541         exponent and small x and y exponents, scale x or y up.  Increase
55542         by 2 the exponent used in scaling up.
55543         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
55544         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
55545         * math/libm-test.inc (fma_test): Add more tests.
55546         (fma_test_towardzero): Likewise.
55547         (fma_test_downward): Likewise.
55548         (fma_test_upward): Likewise.
55550 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
55552         [BZ #14805]
55553         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
55554         fenv_t *.
55556         [BZ #14801]
55557         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
55558         namespace for names of struct fields.
55559         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
55560         fenv_t fields.
55561         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
55562         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
55564 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
55566         [BZ #3665]
55567         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
55569 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
55571         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
55572         PTR_DEMANGLE.
55574         [BZ #5246]
55575         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
55576         PTR_DEMANGLE.
55578 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
55580         [BZ #14797]
55581         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
55582         definitely overflow as x * y not x * y + z.
55583         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
55584         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
55585         * math/libm-test.inc (fma_test): Add more tests.
55586         (fma_test_towardzero): Likewise.
55587         (fma_test_downward): Likewise.
55588         (fma_test_upward): Likewise.
55590 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
55592         [BZ #157]
55594         * include/stub-tag.h: Remove file.
55595         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
55596         '#include' of it.
55597         * manual/maint.texi (Porting): Don't reference it.
55598         * Makerules ($(objpfx)stubs): Likewise.
55599         * dirent/closedir.c: Don't include <stub-tag.h>.
55600         * dirent/dirfd.c: Likewise.
55601         * dirent/fdopendir.c: Likewise.
55602         * dirent/getdents.c: Likewise.
55603         * dirent/getdents64.c: Likewise.
55604         * dirent/opendir.c: Likewise.
55605         * dirent/readdir.c: Likewise.
55606         * dirent/readdir64.c: Likewise.
55607         * dirent/readdir64_r.c: Likewise.
55608         * dirent/readdir_r.c: Likewise.
55609         * dirent/rewinddir.c: Likewise.
55610         * dirent/seekdir.c: Likewise.
55611         * dirent/telldir.c: Likewise.
55612         * gmon/profil.c: Likewise.
55613         * grp/setgroups.c: Likewise.
55614         * inet/if_index.c: Likewise.
55615         * io/access.c: Likewise.
55616         * io/chdir.c: Likewise.
55617         * io/chmod.c: Likewise.
55618         * io/chown.c: Likewise.
55619         * io/close.c: Likewise.
55620         * io/dup.c: Likewise.
55621         * io/dup2.c: Likewise.
55622         * io/dup3.c: Likewise.
55623         * io/euidaccess.c: Likewise.
55624         * io/faccessat.c: Likewise.
55625         * io/fchdir.c: Likewise.
55626         * io/fchmod.c: Likewise.
55627         * io/fchmodat.c: Likewise.
55628         * io/fchown.c: Likewise.
55629         * io/fchownat.c: Likewise.
55630         * io/fcntl.c: Likewise.
55631         * io/flock.c: Likewise.
55632         * io/fstatfs.c: Likewise.
55633         * io/fstatfs64.c: Likewise.
55634         * io/fstatvfs.c: Likewise.
55635         * io/fstatvfs64.c: Likewise.
55636         * io/futimens.c: Likewise.
55637         * io/fxstat.c: Likewise.
55638         * io/fxstat64.c: Likewise.
55639         * io/fxstatat.c: Likewise.
55640         * io/fxstatat64.c: Likewise.
55641         * io/getcwd.c: Likewise.
55642         * io/isatty.c: Likewise.
55643         * io/lchmod.c: Likewise.
55644         * io/lchown.c: Likewise.
55645         * io/link.c: Likewise.
55646         * io/linkat.c: Likewise.
55647         * io/lseek.c: Likewise.
55648         * io/lseek64.c: Likewise.
55649         * io/lxstat64.c: Likewise.
55650         * io/mkdir.c: Likewise.
55651         * io/mkdirat.c: Likewise.
55652         * io/mkfifo.c: Likewise.
55653         * io/mkfifoat.c: Likewise.
55654         * io/open.c: Likewise.
55655         * io/open64.c: Likewise.
55656         * io/openat.c: Likewise.
55657         * io/openat64.c: Likewise.
55658         * io/pipe.c: Likewise.
55659         * io/pipe2.c: Likewise.
55660         * io/poll.c: Likewise.
55661         * io/posix_fadvise.c: Likewise.
55662         * io/posix_fadvise64.c: Likewise.
55663         * io/posix_fallocate.c: Likewise.
55664         * io/posix_fallocate64.c: Likewise.
55665         * io/read.c: Likewise.
55666         * io/readlink.c: Likewise.
55667         * io/readlinkat.c: Likewise.
55668         * io/rmdir.c: Likewise.
55669         * io/sendfile.c: Likewise.
55670         * io/sendfile64.c: Likewise.
55671         * io/statfs.c: Likewise.
55672         * io/statfs64.c: Likewise.
55673         * io/statvfs.c: Likewise.
55674         * io/statvfs64.c: Likewise.
55675         * io/symlink.c: Likewise.
55676         * io/symlinkat.c: Likewise.
55677         * io/ttyname.c: Likewise.
55678         * io/ttyname_r.c: Likewise.
55679         * io/umask.c: Likewise.
55680         * io/unlink.c: Likewise.
55681         * io/unlinkat.c: Likewise.
55682         * io/utime.c: Likewise.
55683         * io/utimensat.c: Likewise.
55684         * io/write.c: Likewise.
55685         * io/xmknod.c: Likewise.
55686         * io/xmknodat.c: Likewise.
55687         * io/xstat.c: Likewise.
55688         * io/xstat64.c: Likewise.
55689         * login/getpt.c: Likewise.
55690         * login/grantpt.c: Likewise.
55691         * login/unlockpt.c: Likewise.
55692         * math/e_acoshl.c: Likewise.
55693         * math/e_acosl.c: Likewise.
55694         * math/e_asinl.c: Likewise.
55695         * math/e_atan2l.c: Likewise.
55696         * math/e_atanhl.c: Likewise.
55697         * math/e_coshl.c: Likewise.
55698         * math/e_expl.c: Likewise.
55699         * math/e_fmodl.c: Likewise.
55700         * math/e_gammal_r.c: Likewise.
55701         * math/e_hypotl.c: Likewise.
55702         * math/e_j0l.c: Likewise.
55703         * math/e_j1l.c: Likewise.
55704         * math/e_jnl.c: Likewise.
55705         * math/e_lgammal_r.c: Likewise.
55706         * math/e_log10l.c: Likewise.
55707         * math/e_log2l.c: Likewise.
55708         * math/e_logl.c: Likewise.
55709         * math/e_powl.c: Likewise.
55710         * math/e_rem_pio2l.c: Likewise.
55711         * math/e_sinhl.c: Likewise.
55712         * math/e_sqrtl.c: Likewise.
55713         * math/fclrexcpt.c: Likewise.
55714         * math/fedisblxcpt.c: Likewise.
55715         * math/feenablxcpt.c: Likewise.
55716         * math/fegetenv.c: Likewise.
55717         * math/fegetexcept.c: Likewise.
55718         * math/fegetround.c: Likewise.
55719         * math/feholdexcpt.c: Likewise.
55720         * math/fesetenv.c: Likewise.
55721         * math/fesetround.c: Likewise.
55722         * math/feupdateenv.c: Likewise.
55723         * math/fgetexcptflg.c: Likewise.
55724         * math/fraiseexcpt.c: Likewise.
55725         * math/fsetexcptflg.c: Likewise.
55726         * math/ftestexcept.c: Likewise.
55727         * math/k_cosl.c: Likewise.
55728         * math/k_rem_pio2l.c: Likewise.
55729         * math/k_sinl.c: Likewise.
55730         * math/k_tanl.c: Likewise.
55731         * math/s_asinhl.c: Likewise.
55732         * math/s_atanl.c: Likewise.
55733         * math/s_cbrtl.c: Likewise.
55734         * math/s_erfl.c: Likewise.
55735         * math/s_expm1l.c: Likewise.
55736         * math/s_log1pl.c: Likewise.
55737         * math/s_tanhl.c: Likewise.
55738         * misc/acct.c: Likewise.
55739         * misc/brk.c: Likewise.
55740         * misc/chflags.c: Likewise.
55741         * misc/chroot.c: Likewise.
55742         * misc/fchflags.c: Likewise.
55743         * misc/fgetxattr.c: Likewise.
55744         * misc/flistxattr.c: Likewise.
55745         * misc/fremovexattr.c: Likewise.
55746         * misc/fsetxattr.c: Likewise.
55747         * misc/fsync.c: Likewise.
55748         * misc/ftruncate.c: Likewise.
55749         * misc/futimes.c: Likewise.
55750         * misc/futimesat.c: Likewise.
55751         * misc/getdomain.c: Likewise.
55752         * misc/getdtsz.c: Likewise.
55753         * misc/gethostid.c: Likewise.
55754         * misc/gethostname.c: Likewise.
55755         * misc/getloadavg.c: Likewise.
55756         * misc/getpagesize.c: Likewise.
55757         * misc/getsysstats.c: Likewise.
55758         * misc/getxattr.c: Likewise.
55759         * misc/gtty.c: Likewise.
55760         * misc/ioctl.c: Likewise.
55761         * misc/lgetxattr.c: Likewise.
55762         * misc/listxattr.c: Likewise.
55763         * misc/llistxattr.c: Likewise.
55764         * misc/lremovexattr.c: Likewise.
55765         * misc/lsetxattr.c: Likewise.
55766         * misc/lutimes.c: Likewise.
55767         * misc/madvise.c: Likewise.
55768         * misc/mincore.c: Likewise.
55769         * misc/mlock.c: Likewise.
55770         * misc/mlockall.c: Likewise.
55771         * misc/mmap.c: Likewise.
55772         * misc/mprotect.c: Likewise.
55773         * misc/msync.c: Likewise.
55774         * misc/munlock.c: Likewise.
55775         * misc/munlockall.c: Likewise.
55776         * misc/munmap.c: Likewise.
55777         * misc/preadv.c: Likewise.
55778         * misc/preadv64.c: Likewise.
55779         * misc/ptrace.c: Likewise.
55780         * misc/pwritev.c: Likewise.
55781         * misc/pwritev64.c: Likewise.
55782         * misc/readv.c: Likewise.
55783         * misc/reboot.c: Likewise.
55784         * misc/remap_file_pages.c: Likewise.
55785         * misc/removexattr.c: Likewise.
55786         * misc/revoke.c: Likewise.
55787         * misc/select.c: Likewise.
55788         * misc/setdomain.c: Likewise.
55789         * misc/setegid.c: Likewise.
55790         * misc/seteuid.c: Likewise.
55791         * misc/sethostid.c: Likewise.
55792         * misc/sethostname.c: Likewise.
55793         * misc/setregid.c: Likewise.
55794         * misc/setreuid.c: Likewise.
55795         * misc/setxattr.c: Likewise.
55796         * misc/sstk.c: Likewise.
55797         * misc/stty.c: Likewise.
55798         * misc/swapoff.c: Likewise.
55799         * misc/swapon.c: Likewise.
55800         * misc/sync.c: Likewise.
55801         * misc/syncfs.c: Likewise.
55802         * misc/syscall.c: Likewise.
55803         * misc/truncate.c: Likewise.
55804         * misc/ualarm.c: Likewise.
55805         * misc/usleep.c: Likewise.
55806         * misc/ustat.c: Likewise.
55807         * misc/utimes.c: Likewise.
55808         * misc/vhangup.c: Likewise.
55809         * misc/writev.c: Likewise.
55810         * posix/_exit.c: Likewise.
55811         * posix/alarm.c: Likewise.
55812         * posix/execve.c: Likewise.
55813         * posix/fexecve.c: Likewise.
55814         * posix/fork.c: Likewise.
55815         * posix/fpathconf.c: Likewise.
55816         * posix/getaddrinfo.c: Likewise.
55817         * posix/getegid.c: Likewise.
55818         * posix/geteuid.c: Likewise.
55819         * posix/getgid.c: Likewise.
55820         * posix/getgroups.c: Likewise.
55821         * posix/getlogin.c: Likewise.
55822         * posix/getlogin_r.c: Likewise.
55823         * posix/getpgid.c: Likewise.
55824         * posix/getpid.c: Likewise.
55825         * posix/getppid.c: Likewise.
55826         * posix/getresgid.c: Likewise.
55827         * posix/getresuid.c: Likewise.
55828         * posix/getsid.c: Likewise.
55829         * posix/getuid.c: Likewise.
55830         * posix/glob64.c: Likewise.
55831         * posix/nanosleep.c: Likewise.
55832         * posix/pathconf.c: Likewise.
55833         * posix/pause.c: Likewise.
55834         * posix/posix_madvise.c: Likewise.
55835         * posix/pread.c: Likewise.
55836         * posix/pread64.c: Likewise.
55837         * posix/pwrite.c: Likewise.
55838         * posix/pwrite64.c: Likewise.
55839         * posix/sched_getaffinity.c: Likewise.
55840         * posix/sched_getp.c: Likewise.
55841         * posix/sched_gets.c: Likewise.
55842         * posix/sched_primax.c: Likewise.
55843         * posix/sched_primin.c: Likewise.
55844         * posix/sched_rr_gi.c: Likewise.
55845         * posix/sched_setaffinity.c: Likewise.
55846         * posix/sched_setp.c: Likewise.
55847         * posix/sched_sets.c: Likewise.
55848         * posix/sched_yield.c: Likewise.
55849         * posix/setgid.c: Likewise.
55850         * posix/setlogin.c: Likewise.
55851         * posix/setpgid.c: Likewise.
55852         * posix/setresgid.c: Likewise.
55853         * posix/setresuid.c: Likewise.
55854         * posix/setsid.c: Likewise.
55855         * posix/setuid.c: Likewise.
55856         * posix/sleep.c: Likewise.
55857         * posix/spawni.c: Likewise.
55858         * posix/sysconf.c: Likewise.
55859         * posix/times.c: Likewise.
55860         * posix/wait.c: Likewise.
55861         * posix/wait3.c: Likewise.
55862         * posix/wait4.c: Likewise.
55863         * posix/waitpid.c: Likewise.
55864         * resolv/gai_sigqueue.c: Likewise.
55865         * resource/getpriority.c: Likewise.
55866         * resource/getrlimit.c: Likewise.
55867         * resource/getrusage.c: Likewise.
55868         * resource/nice.c: Likewise.
55869         * resource/setpriority.c: Likewise.
55870         * resource/setrlimit.c: Likewise.
55871         * resource/ulimit.c: Likewise.
55872         * rt/aio_cancel.c: Likewise.
55873         * rt/aio_fsync.c: Likewise.
55874         * rt/aio_read.c: Likewise.
55875         * rt/aio_sigqueue.c: Likewise.
55876         * rt/aio_suspend.c: Likewise.
55877         * rt/aio_write.c: Likewise.
55878         * rt/clock_getres.c: Likewise.
55879         * rt/clock_gettime.c: Likewise.
55880         * rt/clock_nanosleep.c: Likewise.
55881         * rt/clock_settime.c: Likewise.
55882         * rt/lio_listio.c: Likewise.
55883         * rt/mq_close.c: Likewise.
55884         * rt/mq_getattr.c: Likewise.
55885         * rt/mq_notify.c: Likewise.
55886         * rt/mq_open.c: Likewise.
55887         * rt/mq_receive.c: Likewise.
55888         * rt/mq_send.c: Likewise.
55889         * rt/mq_setattr.c: Likewise.
55890         * rt/mq_timedreceive.c: Likewise.
55891         * rt/mq_timedsend.c: Likewise.
55892         * rt/mq_unlink.c: Likewise.
55893         * rt/shm_open.c: Likewise.
55894         * rt/shm_unlink.c: Likewise.
55895         * rt/timer_create.c: Likewise.
55896         * rt/timer_delete.c: Likewise.
55897         * rt/timer_getoverr.c: Likewise.
55898         * rt/timer_gettime.c: Likewise.
55899         * rt/timer_settime.c: Likewise.
55900         * setjmp/__longjmp.c: Likewise.
55901         * setjmp/setjmp.c: Likewise.
55902         * signal/kill.c: Likewise.
55903         * signal/killpg.c: Likewise.
55904         * signal/raise.c: Likewise.
55905         * signal/sigaction.c: Likewise.
55906         * signal/sigaltstack.c: Likewise.
55907         * signal/sigblock.c: Likewise.
55908         * signal/sigignore.c: Likewise.
55909         * signal/sigintr.c: Likewise.
55910         * signal/signal.c: Likewise.
55911         * signal/sigpause.c: Likewise.
55912         * signal/sigpending.c: Likewise.
55913         * signal/sigqueue.c: Likewise.
55914         * signal/sigreturn.c: Likewise.
55915         * signal/sigset.c: Likewise.
55916         * signal/sigsetmask.c: Likewise.
55917         * signal/sigstack.c: Likewise.
55918         * signal/sigsuspend.c: Likewise.
55919         * signal/sigtimedwait.c: Likewise.
55920         * signal/sigvec.c: Likewise.
55921         * signal/sigwait.c: Likewise.
55922         * signal/sigwaitinfo.c: Likewise.
55923         * signal/sysv_signal.c: Likewise.
55924         * socket/accept.c: Likewise.
55925         * socket/accept4.c: Likewise.
55926         * socket/bind.c: Likewise.
55927         * socket/connect.c: Likewise.
55928         * socket/getpeername.c: Likewise.
55929         * socket/getsockname.c: Likewise.
55930         * socket/getsockopt.c: Likewise.
55931         * socket/isfdtype.c: Likewise.
55932         * socket/listen.c: Likewise.
55933         * socket/recv.c: Likewise.
55934         * socket/recvfrom.c: Likewise.
55935         * socket/recvmsg.c: Likewise.
55936         * socket/send.c: Likewise.
55937         * socket/sendmsg.c: Likewise.
55938         * socket/sendto.c: Likewise.
55939         * socket/setsockopt.c: Likewise.
55940         * socket/shutdown.c: Likewise.
55941         * socket/sockatmark.c: Likewise.
55942         * socket/socket.c: Likewise.
55943         * socket/socketpair.c: Likewise.
55944         * stdio-common/ctermid.c: Likewise.
55945         * stdio-common/cuserid.c: Likewise.
55946         * stdio-common/remove.c: Likewise.
55947         * stdio-common/rename.c: Likewise.
55948         * stdio-common/renameat.c: Likewise.
55949         * stdio-common/tempname.c: Likewise.
55950         * stdlib/getcontext.c: Likewise.
55951         * stdlib/makecontext.c: Likewise.
55952         * stdlib/setcontext.c: Likewise.
55953         * stdlib/swapcontext.c: Likewise.
55954         * stdlib/system.c: Likewise.
55955         * streams/fattach.c: Likewise.
55956         * streams/fdetach.c: Likewise.
55957         * streams/getmsg.c: Likewise.
55958         * streams/getpmsg.c: Likewise.
55959         * streams/putmsg.c: Likewise.
55960         * streams/putpmsg.c: Likewise.
55961         * sysdeps/unix/bsd/getpt.c: Likewise.
55962         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
55963         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
55964         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
55965         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
55966         Likewise.
55967         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
55968         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
55969         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
55970         * sysvipc/msgctl.c: Likewise.
55971         * sysvipc/msgget.c: Likewise.
55972         * sysvipc/msgrcv.c: Likewise.
55973         * sysvipc/msgsnd.c: Likewise.
55974         * sysvipc/semctl.c: Likewise.
55975         * sysvipc/semget.c: Likewise.
55976         * sysvipc/semop.c: Likewise.
55977         * sysvipc/semtimedop.c: Likewise.
55978         * sysvipc/shmat.c: Likewise.
55979         * sysvipc/shmctl.c: Likewise.
55980         * sysvipc/shmdt.c: Likewise.
55981         * sysvipc/shmget.c: Likewise.
55982         * termios/tcdrain.c: Likewise.
55983         * termios/tcflow.c: Likewise.
55984         * termios/tcflush.c: Likewise.
55985         * termios/tcgetattr.c: Likewise.
55986         * termios/tcgetpgrp.c: Likewise.
55987         * termios/tcsendbrk.c: Likewise.
55988         * termios/tcsetattr.c: Likewise.
55989         * termios/tcsetpgrp.c: Likewise.
55990         * time/adjtime.c: Likewise.
55991         * time/clock.c: Likewise.
55992         * time/getitimer.c: Likewise.
55993         * time/gettimeofday.c: Likewise.
55994         * time/setitimer.c: Likewise.
55995         * time/settimeofday.c: Likewise.
55996         * time/stime.c: Likewise.
55997         * time/time.c: Likewise.
55999 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
56001         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
56002         /usr/old/bin.
56004         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
56005         instead of spaces.
56006         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
56008 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
56010         [BZ #14796]
56011         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
56012         FE_TONEAREST before applying Dekker multiplication and Knuth
56013         addition.  Clear inexact exceptions and check for exact zero
56014         results afterwards.
56015         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
56016         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
56017         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
56018         * math/libm-test.inc (fma_test): Add more tests.
56019         (fma_test_towardzero): Likewise.
56020         (fma_test_downward): Likewise.
56021         (fma_test_upward): Likewise.
56022         * sysdeps/generic/math_private.h (default_libc_fesetround): New
56023         function.
56024         (libc_fesetround): New macro.
56025         (libc_fesetroundf): Likewise.
56026         (libc_fesetroundl): Likewise.
56027         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
56028         function.
56029         (libc_fesetround_387): Likewise.
56030         (libc_fesetroundf): New macro.
56031         (libc_fesetround): Likewise.
56032         (libc_fesetroundl): Likewise.
56033         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
56034         function.
56035         (libc_fesetroundf): New macro.
56036         (libc_fesetround): Likewise.
56037         (libc_fesetroundl): Likewise.
56038         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
56039         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
56040         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
56041         libm_hidden_ver.
56042         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
56043         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
56044         libm_hidden_def.
56045         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
56046         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
56047         libm_hidden_ver.
56048         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
56049         libm_hidden_def.
56051         [BZ #3439]
56052         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
56053         integer constant usable in #if and use that to give value to enum
56054         constant.
56055         (FE_DIVBYZERO): Likewise.
56056         (FE_UNDERFLOW): Likewise.
56057         (FE_OVERFLOW): Likewise.
56058         (FE_INVALID): Likewise.
56059         (FE_INVALID_SNAN): Likewise.
56060         (FE_INVALID_ISI): Likewise.
56061         (FE_INVALID_IDI): Likewise.
56062         (FE_INVALID_ZDZ): Likewise.
56063         (FE_INVALID_IMZ): Likewise.
56064         (FE_INVALID_COMPARE): Likewise.
56065         (FE_INVALID_SOFTWARE): Likewise.
56066         (FE_INVALID_SQRT): Likewise.
56067         (FE_INVALID_INTEGER_CONVERSION): Likewise.
56068         (FE_TONEAREST): Likewise.
56069         (FE_TOWARDZERO): Likewise.
56070         (FE_UPWARD): Likewise.
56071         (FE_DOWNWARD): Likewise.
56072         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
56073         (FE_DIVBYZERO): Likewise.
56074         (FE_OVERFLOW): Likewise.
56075         (FE_UNDERFLOW): Likewise.
56076         (FE_INEXACT): Likewise.
56077         (FE_TONEAREST): Likewise.
56078         (FE_DOWNWARD): Likewise.
56079         (FE_UPWARD): Likewise.
56080         (FE_TOWARDZERO): Likewise.
56081         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
56082         (FE_UNDERFLOW): Likewise.
56083         (FE_OVERFLOW): Likewise.
56084         (FE_DIVBYZERO): Likewise.
56085         (FE_INVALID): Likewise.
56086         (FE_TONEAREST): Likewise.
56087         (FE_TOWARDZERO): Likewise.
56088         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
56089         (FE_OVERFLOW): Likewise.
56090         (FE_UNDERFLOW): Likewise.
56091         (FE_DIVBYZERO): Likewise.
56092         (FE_INEXACT): Likewise.
56093         (FE_TONEAREST): Likewise.
56094         (FE_TOWARDZERO): Likewise.
56095         (FE_UPWARD): Likewise.
56096         (FE_DOWNWARD): Likewise.
56097         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
56098         (FE_DIVBYZERO): Likewise.
56099         (FE_OVERFLOW): Likewise.
56100         (FE_UNDERFLOW): Likewise.
56101         (FE_INEXACT): Likewise.
56102         (FE_TONEAREST): Likewise.
56103         (FE_DOWNWARD): Likewise.
56104         (FE_UPWARD): Likewise.
56105         (FE_TOWARDZERO): Likewise.
56107 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
56109         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
56111 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
56113         * scripts/cross-test-ssh.sh (command): Use newlines to separate
56114         commands.  Quote $PWD.
56115         (blacklist_exports): Don't use remove_newlines.  Replace "declare
56116         -x" by "export".
56117         (remove_newlines): Remove.
56119 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
56121         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
56122         * stdlib/stdlib.h (atof): Moved to ...
56123         * include/bits/stdlib-float.h: Here.  New file.
56124         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
56125         * stdlib/bits/stdlib-float.h: New file.
56126         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
56127         -mno-sse -mno-mmx.
56128         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
56129         <xmmintrin.h>.
56131 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
56133         * conform/conformtest.pl (@headers): Add fenv.h.
56134         * conform/data/fenv.h-data: New file.
56135         * include/fenv.h [_ISOMAC]: Disable all contents of file except
56136         include of <math/fenv.h>.
56138         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
56139         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
56140         && !UNIX98].  Enables tests for XOPEN2K8.
56141         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
56142         POSIX2008]: Likewise.
56144         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
56145         (struct rusage): Do not expect type or its members.
56147         [BZ #3439]
56148         * math/math.h (FP_NAN): Define macro to integer constant usable in
56149         #if and use that to give value to enum constant.
56150         (FP_INFINITE): Likewise.
56151         (FP_ZERO): Likewise.
56152         (FP_SUBNORMAL): Likewise.
56153         (FP_NORMAL): Likewise.
56155 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
56157         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
56158         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
56159         arguments.
56161 2012-11-02  Roland McGrath  <roland@hack.frob.com>
56163         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
56164         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
56165         autoconf-time if not.
56166         * configure.in: Remove AC_PREREQ.
56168 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
56170         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
56171         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
56172         of the internal implementation.
56174 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
56176         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
56177         except include of <misc/sys/syslog.h>.
56179 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
56181         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
56182         function returns with a NULL context exit with zero.
56184 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
56186         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
56188 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
56190         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
56191         (run_program_cmd): This.
56192         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
56193         (tst_langinfo): New variable.  Use it.
56195 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
56197         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
56198         floating point opcodes.
56200 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
56202         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
56203         variable.
56205         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
56207         * sysdeps/mach/hurd/powerpc: Remove directory.
56208         * sysdeps/mach/powerpc: Likewise.
56210 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
56212         * scripts/check-local-headers.sh: Ignore c++ headers.
56214 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
56216         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
56217         __libc_cleanup_region_start argument.
56219 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
56221         [BZ #14784]
56222         [BZ #14785]
56223         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
56224         x * y using scaling, not as x * y + z.
56225         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
56226         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
56227         * math/libm-test.inc (fma_test): Add more tests.
56228         (fma_test_towardzero): Likewise.
56229         (fma_test_downward): Likewise.
56230         (fma_test_upward): Likewise.
56232 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
56234         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
56236 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
56238         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
56239         New variable.
56241 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
56243         * rt/tst-shm.c (worker): Correct checking for mmap failure.
56245 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
56247         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
56248         Fix sort order.
56249         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
56250         Likewise.
56252 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
56254         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
56255         Fix the order of the list for glibc 2.17.
56256         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
56257         Likewise.
56259 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
56261         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
56263 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
56265         [BZ #14610]
56266         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
56267         for low part of x being zero before using __atanl (y).
56268         * math/libm-test.inc (atan2_test): Add another test.
56270         * manual/install.texi (Configuring and compiling): Document
56271         general use of test-wrapper and test-wrapper-env.
56272         * INSTALL: Regenerated.
56274         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
56275         (__fma): Do not extract and scale down low bits on after-rounding
56276         systems when result rounded to normal precision would have normal
56277         exponent.
56278         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
56279         (__fmal): Do not extract and scale down low bits on after-rounding
56280         systems when result rounded to normal precision would have normal
56281         exponent.
56282         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
56283         (__fmal): Do not extract and scale down low bits on after-rounding
56284         systems when result rounded to normal precision would have normal
56285         exponent.
56286         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
56287         macro.
56288         (fma_test): Add more tests.
56289         (fma_test_towardzero): Likewise.
56290         (fma_test_downward): Likewise.
56291         (fma_test_upward): Likewise.
56293 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
56295         * sysdeps/i386/tininess.h: Renamed to ...
56296         * sysdeps/x86/tininess.h: This.
56297         * sysdeps/x86_64/tininess.h: Removed.
56299 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
56301         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
56302         input.  Use $(build-program-cmd).
56303         ($(objpfx)tst-array1-static.out): Likewise.
56304         ($(objpfx)tst-array2.out): Likewise.
56305         ($(objpfx)tst-array3.out): Likewise.
56306         ($(objpfx)tst-array4.out): Likewise.
56307         ($(objpfx)tst-array5.out): Likewise.
56308         ($(objpfx)tst-array5-static.out): Likewise.
56310 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
56312         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
56313         if defined.
56315         * nss/nsswitch.h (nss_interface_function): Provide new
56316         macro for use with NSS functions.
56317         * grp/initgroups.c: Use new macro.
56318         * nss/getXXbyYY.c: Likewise.
56319         * nss/getXXbyYY_r.c: Likewise.
56320         * nss/getXXent.c: Likewise.
56321         * nss/getXXent_r.c: Likewise.
56322         * sysdeps/posix/getaddrinfo.c: Likewise.
56324 2012-10-30  Andreas Jaeger  <aj@suse.de>
56326         * po/ru.po: Update Russion translation from translation project.
56328 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
56330         [BZ #14152]
56331         [BZ #14783]
56332         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
56333         result and shift together with sticky bit instead of replicating
56334         round-to-nearest rounding.
56335         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
56336         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
56337         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
56338         missing underflow exceptions.
56339         (fma_test_towardzero): Add more tests.
56340         (fma_test_downward): Likewise.
56341         (fma_test_upward): Likewise.
56343         [BZ #14047]
56344         * sysdeps/generic/tininess.h: New file.
56345         * sysdeps/i386/tininess.h: Likewise.
56346         * sysdeps/sh/tininess.h: Likewise.
56347         * sysdeps/x86_64/tininess.h: Likewise.
56348         * stdlib/tst-strtod-underflow.c: Likewise.
56349         * stdlib/tst-tininess.c: Likewise.
56350         * stdlib/strtod_l.c: Include <tininess.h>.
56351         (round_and_return): Do not set errno for exact underflow cases.
56352         Force an underflow exception when setting errno for underflow.
56353         Determine underflow based on rounding to normal precision if
56354         TININESS_AFTER_ROUNDING.
56355         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
56356         ERANGE for exact underflow cases.
56357         * stdlib/Makefile (tests): Add tst-tininess and
56358         tst-strtod-underflow.
56359         ($(objpfx)tst-tininess): Use $(link-libm).
56360         ($(objpfx)tst-strtod-underflow): Likewise.
56362 2012-10-30  Andreas Jaeger  <aj@suse.de>
56364         [BZ#14767]
56365         * elf/Makefile (tests): Remove conditional for have-initfini-array
56366         since this is now always required and the variable does not exist
56367         anymore.
56368         (tests-static): Likewise.
56369         (modules-names): Likewise.
56371         * po/eo.po: Add Esperanto translation from translation project.
56373         * elf/tst-array1.c (fini_array): Make writeable so that it can be
56374         merged with constructor/destructor.
56375         (init_array): Likewise.
56376         * elf/tst-array2dep.c (fini_array): Likewise.
56377         (init_array): Likewise.
56379 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
56381         * manual/message.texi: Delete @cartouche tags.
56383 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
56385         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
56386         EOPNOTSUPP.
56387         * sysdeps/mach/hurd/fsync.c: Likewise.
56389         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
56390         [_POSIX_REALTIME_SIGNALS]: Change condition to
56391         [_POSIX_REALTIME_SIGNALS > 0].
56393 2012-10-27  Andreas Jaeger  <aj@suse.de>
56395         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
56396         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
56397         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
56398         [__WORDSIZE != 64]: Likewise.
56400 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
56402         *  iconvdata/tst-table.sh: Remove ${SHELL}.
56403         *  iconvdata/tst-tables.sh: Likewise.
56405 2012-10-25  David S. Miller  <davem@davemloft.net>
56407         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
56408         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
56409         of strtoull.
56411         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
56412         ifunc-impl-list.c
56413         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
56414         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
56415         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
56416         file.
56418 2012-10-25  Roland McGrath  <roland@hack.frob.com>
56420         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
56421         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
56422         __getdirentries.
56424 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
56425             Jim Blandy  <jimb@codesourcery.com>
56427         * scripts/cross-test-ssh.sh: New file.
56428         * manual/install.texi (Configuring and compiling): Document use of
56429         cross-test-ssh.sh.
56430         * INSTALL: Regenerated.
56432 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
56434         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
56435         EOPNOTSUPP.
56437 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
56439         * Makeconfig (run-program-prefix): Fix comment.
56441 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
56442             Jim Blandy  <jimb@codesourcery.com>
56444         * Makeconfig (test-wrapper): New variable,
56445         (test-wrapper-env): Likewise.
56446         [$(cross-compiling) = yes && $(test-wrapper) != ""]
56447         (run-built-tests): Define to yes.
56448         (run-program-prefix): Use $(test-wrapper).
56449         (built-program-cmd): Likewise.
56450         * Rules (make-test-out): Use $(test-wrapper-env) and
56451         $(host-built-program-cmd).
56452         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
56453         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
56454         tst-pathopt.sh.
56455         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
56456         $(test-wrapper-env) to tst-rtld-load-self.sh.
56457         ($(objpfx)order2.out): Use $(test-wrapper).
56458         ($(objpfx)tst-initorder.out): Likewise.
56459         ($(objpfx)tst-initorder2.out): Likewise.
56460         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
56461         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
56462         (test_wrapper_env): New variable.  Use it to run ld.so.
56463         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
56464         Use it to run ld.so.
56465         (test_wrapper_env): Likewise.
56466         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
56467         $(test-wrapper) to run-iconv-test.sh.
56468         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
56469         (ICONV): Use $test_wrapper.
56470         * posix/Makefile ($(objpfx)globtest.out): Pass
56471         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
56472         globtest.sh, not $(run-program-prefix).
56473         * posix/globtest.sh (run_via_rtld_prefix): New variable.
56474         (test_wrapper): Likewise.
56475         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
56476         set together with run_via_rtld_prefix.
56477         (run_program_prefix): Define in terms of test_wrapper and
56478         run_via_rtld_prefix.
56480 2012-10-24  Roland McGrath  <roland@hack.frob.com>
56482         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
56483         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
56484         Targets removed.
56486         [BZ #14743]
56487         * include/time.h: Remove librt_hidden_proto (clock_gettime).
56488         Declare __clock_getres, __clock_gettime, __clock_settime,
56489         __clock_nanosleep, and __clock_getcpuclockid.
56490         * rt/clock_gettime.c: Define __clock_gettime as an alias.
56491         Remove librt_hidden_def (clock_gettime).
56492         * sysdeps/unix/clock_gettime.c: Likewise.
56493         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
56494         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
56495         * rt/clock_getres.c: Define __clock_getres as an alias.
56496         * sysdeps/posix/clock_getres.c: Likewise.
56497         * rt/clock_settime.c: Define __clock_settime as an alias.
56498         * sysdeps/unix/clock_settime.c: Likewise.
56499         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
56500         * sysdeps/unix/clock_nanosleep.c: Likewise.
56501         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
56502         * rt/clock-compat.c: New file.
56503         * rt/Makefile (librt-routines): Add clock-compat and move
56504         $(clock-routines) to ...
56505         (routines): ... here, new variable.
56506         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
56507         Don't add get_clockfreq here.
56508         * rt/Versions (libc: GLIBC_2.17): New version set.
56509         Add clock_* symbols here.
56510         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
56511         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
56512         (GLIBC_2.17): Add clock_* symbols.
56513         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
56514         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
56515         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
56516         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
56517         Likewise.
56518         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
56519         Likewise.
56520         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
56521         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
56522         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
56523         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
56524         * NEWS: Mention the move.
56526         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
56527         Use __open, __read, __close rather than their public counterparts.
56528         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
56529         (__get_clockfreq_via_cpuinfo): Likewise.
56530         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
56531         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
56533         * config.h.in (HAVE_IFUNC): New #undef.
56534         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
56535         was successful.
56536         * configure: Regenerated.
56538 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
56540         * configure.in: Move READELF check to start of file.
56541         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
56542         libc_cv_asm_gnu_indirect_function in the process.
56543         * configure: Regenerated.
56545 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
56547         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
56548         send the output to /dev/null.
56549         (libc_cv_cc_with_libunwind): Likewise.
56550         (libc_cv_as_noexecstack): Likewise.
56551         * configure: Regenerate.
56553 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
56555         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
56557         * posix/globtest.sh (TMPDIR): Do not set.
56558         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
56559         (testout): Likewise.
56561 2012-10-24  Andreas Jaeger  <aj@suse.de>
56563         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
56564         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
56565         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
56566         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
56567         posix_fadvise64, posix_fallocate64.
56569         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
56570         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
56571         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
56572         Likewise.
56573         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
56574         Likewise.
56575         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
56577         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
56578         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
56579         <bits/fcntl-linux.h>.
56580         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
56582         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
56583         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
56584         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
56585         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
56586         [__WORDSIZE != 64]: Likewise.
56588 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
56590         * Makeconfig (run-built-tests): New variable.
56591         * Rules [$(cross-compiling) = yes]: Change condition to
56592         [$(run-built-tests) = no].
56593         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
56594         to [$(run-built-tests) = yes].
56595         * elf/Makefile [$(cross-compiling) = no]: Likewise.
56596         * grp/Makefile [$(cross-compiling) = no]: Likewise.
56597         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
56598         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
56599         * intl/Makefile [$(cross-compiling) = no]: Likewise.
56600         * io/Makefile [$(cross-compiling) = no]: Likewise.
56601         * libio/Makefile [$(cross-compiling) = no]: Likewise.
56602         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
56603         * misc/Makefile [$(cross-compiling) = no]: Likewise.
56604         * posix/Makefile [$(cross-compiling) = no]: Likewise.
56605         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
56606         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
56607         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
56608         * string/Makefile [$(cross-compiling) = no]: Likewise.
56610         * posix/Makefile ($(objpfx)globtest.out): Pass
56611         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
56612         $(rtld-installed-name).
56613         * posix/globtest.sh (elf_objpfx): Remove variable.
56614         (rtld_installed_name): Likewise.
56615         (library_path): Likewise.
56616         (run_program_prefix): New variable.  Use for running globtest
56617         binary.
56619 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
56620             Joseph Myers  <joseph@codesourcery.com>
56622         * Makeconfig (host-built-program-cmd): New variable.
56623         * elf/Makefile (tst-stackguard1-ARGS): Use
56624         $(host-built-program-cmd).
56625         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
56626         (tst-spawn-ARGS): Likewise.
56627         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
56629 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
56630             Jim Blandy  <jimb@codesourcery.com>
56632         * Makeconfig (run-via-rtld-prefix): New variable.
56633         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
56634         (built-program-cmd): Likewise.
56636 2012-10-22  Andreas Jaeger  <aj@suse.de>
56638         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
56639         __O_RSYNC if it exists, otherwise to O_SYNC.
56641 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
56642             Joseph Myers  <joseph@codesourcery.com>
56644         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
56645         /dev/null.
56646         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
56647         from /dev/null
56648         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
56649         /dev/null.
56651 2012-10-22  Andreas Jaeger  <aj@suse.de>
56653         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
56654         Define always.
56655         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
56657         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
56658         bits/fcntl-linux.h.
56660         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
56661         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
56663         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
56664         to __O_LARGEFILE.
56665         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
56666         to __O_LARGEFILE.
56668 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
56669             Joseph Myers  <joseph@codesourcery.com>
56671         * config.make.in (NM): New variable.
56673 2012-10-21  Andreas Jaeger  <aj@suse.de>
56675         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
56676         definitions and declarations that are provided by
56677         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
56679 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
56681         [BZ #14683]
56682         * elf/Makefile (tests-static): Add tst-leaks1-static.
56683         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
56684         ($(objpfx)tst-leaks1-static): New rule.
56685         ($(objpfx)tst-leaks1-static-mem): Likewise.
56686         (tst-leaks1-static-ENV): New macro.
56687         * elf/dl-open.c (dl_open_worker): Check the main application
56688         only if SHARED is defined.
56689         * elf/tst-leaks1-static.c: New file.
56691 2012-10-20  Andreas Jaeger  <aj@suse.de>
56693         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
56694         generic values for Linux.
56695         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
56696         and declarations that are provided by <bits/fcntl-linux.h> and
56697         include <bits/fcntl-linux.h>.
56698         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
56699         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
56701 2012-10-20  Roland McGrath  <roland@hack.frob.com>
56703         * io/fcntl.h: Move include of <bits/types.h> to the top and
56704         include it unconditionally.
56706 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
56708         * wcsmbs/Makefile (tests-ifunc): New variable.
56709         (tests): Add $(tests-ifunc).
56710         * wcsmbs/test-wcschr-ifunc.c: New file.
56711         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
56712         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
56713         * wcsmbs/test-wcslen-ifunc.c: Likewise.
56714         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
56715         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
56717         * string/Makefile (tests-ifunc): New variable.
56718         (tests): Add $(tests-ifunc).
56719         * string/test-memccpy.c (TEST_NAME): New macro.
56720         * string/test-memchr.c (TEST_NAME): Likewise.
56721         * string/test-memcmp.c (TEST_NAME): Likewise.
56722         * string/test-memcpy.c (TEST_NAME): Likewise.
56723         * string/test-memmem.c (TEST_NAME): Likewise.
56724         * string/test-memmove.c (TEST_NAME): Likewise.
56725         * string/test-memset.c (TEST_NAME): Likewise.
56726         * string/test-rawmemchr.c (TEST_NAME): Likewise.
56727         * string/test-stpcpy.c (TEST_NAME): Likewise.
56728         * string/test-stpncpy.c (TEST_NAME): Likewise.
56729         * string/test-strcasecmp.c (TEST_NAME): Likewise.
56730         * string/test-strcasestr.c (TEST_NAME): Likewise.
56731         * string/test-strcat.c (TEST_NAME): Likewise.
56732         * string/test-strchr.c (TEST_NAME): Likewise.
56733         * string/test-strcmp.c(TEST_NAME): Likewise.
56734         * string/test-strcpy.c (TEST_NAME): Likewise.
56735         * string/test-strcspn.c (TEST_NAME): Likewise.
56736         * string/test-strlen.c (TEST_NAME): Likewise.
56737         * string/test-strncasecmp.c (TEST_NAME): Likewise.
56738         * string/test-strncmp.c (TEST_NAME): Likewise.
56739         * string/test-strncpy.c (TEST_NAME): Likewise.
56740         * string/test-strnlen.c (TEST_NAME): Likewise.
56741         * string/test-strpbrk.c (TEST_NAME): Likewise.
56742         * string/test-strrchr.c (TEST_NAME): Likewise.
56743         * string/test-strspn.c (TEST_NAME): Likewise.
56744         * string/test-strstr.c (TEST_NAME): Likewise.
56745         * string/test-bcopy-ifunc.c: New file.
56746         * string/test-bzero-ifunc.c: Likewise.
56747         * string/test-memccpy-ifunc.c: Likewise.
56748         * string/test-memchr-ifunc.c: Likewise.
56749         * string/test-memcmp-ifunc.c: Likewise.
56750         * string/test-memcpy-ifunc.c: Likewise.
56751         * string/test-memmem-ifunc.c: Likewise.
56752         * string/test-memmove-ifunc.c: Likewise.
56753         * string/test-mempcpy-ifunc.c: Likewise.
56754         * string/test-memset-ifunc.c: Likewise.
56755         * string/test-rawmemchr-ifunc.c: Likewise.
56756         * string/test-stpcpy-ifunc.c: Likewise.
56757         * string/test-stpncpy-ifunc.c: Likewise.
56758         * string/test-strcasecmp-ifunc.c: Likewise.
56759         * string/test-strcasestr-ifunc.c: Likewise.
56760         * string/test-strcat-ifunc.c: Likewise.
56761         * string/test-strchr-ifunc.c: Likewise.
56762         * string/test-strchrnul-ifunc.c: Likewise.
56763         * string/test-strcmp-ifunc.c: Likewise.
56764         * string/test-strcpy-ifunc.c: Likewise.
56765         * string/test-strcspn-ifunc.c: Likewise.
56766         * string/test-strlen-ifunc.c: Likewise.
56767         * string/test-strncasecmp-ifunc.c: Likewise.
56768         * string/test-strncat-ifunc.c: Likewise.
56769         * string/test-strncmp-ifunc.c: Likewise.
56770         * string/test-strncpy-ifunc.c: Likewise.
56771         * string/test-strnlen-ifunc.c: Likewise.
56772         * string/test-strpbrk-ifunc.c: Likewise.
56773         * string/test-strrchr-ifunc.c: Likewise.
56774         * string/test-strspn-ifunc.c: Likewise.
56775         * string/test-strstr-ifunc.c: Likewise.
56777         * debug/Makefile (tests-ifunc): New variable.
56778         (tests): Add $(tests-ifunc).
56779         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
56780         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
56781         * debug/test-stpcpy_chk-ifunc.c: New file.
56782         * debug/test-strcpy_chk-ifunc.c: Likewise.
56784 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
56786         [BZ #13601]
56787         * elf/dl-load.c (open_verify): Retry read if the entire ELF
56788         header is not read in.
56790 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
56792         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
56793         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
56794         directly.  Pass built executable to script as
56795         $(built-program-cmd).
56796         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
56797         $testprogram without using LD_LIBRARY_PATH and $ldso.
56799         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
56800         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
56801         $(rtld-installed-name).
56802         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
56803         (rtld_installed_name): Likewise.
56804         (library_path): Likewise.
56805         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
56806         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
56807         $(run-program-prefix) to tst-tables.sh.
56808         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
56809         it to run tst-table-from and tst-table-to.
56810         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
56811         Pass it to tst-table.sh.
56812         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
56813         $(run-program-prefix) to tst-gettext.sh.
56814         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
56815         tst-translit.sh.
56816         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
56817         tst-gettext2.sh.
56818         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
56819         to run tst-gettext.
56820         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
56821         to run tst-gettext2.
56822         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
56823         to run tst-translit.
56824         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
56825         $(run-program-prefix) to tst-mtrace.sh.
56826         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
56827         to run tst-mtrace.
56828         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
56829         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
56830         $(rtld-installed-name).
56831         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
56832         (rtld_installed_name): Likewise.
56833         (run_program_prefix): New variable.  Use it to run wordexp-test.
56835         * Makeconfig (ARCH): Remove all definitions.
56836         (machine): Likewise.
56837         [ARCH]: Remove conditional code.
56838         [!objdir]: Give error.
56839         [!objdir] (objpfx): Remove.
56840         [!objdir] (common-objpfx): Likewise.
56841         [!objdir] (common-objdir): Likewise.
56842         * configure.in (config_makefile): Remove.  Hardcode Makefile in
56843         AC_CONFIG_FILES call.
56844         * configure: Regenerated.
56846         [BZ #13888]
56847         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
56848         or TMPDIR.
56849         (testout): Likewise.
56851         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
56852         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
56853         $(rtld-installed-name).
56854         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
56855         (rtld_installed_name): Likwise.
56856         (runit): Remove function.
56857         (run_getconf): New variable,  Use it for running getconf binary.
56859 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
56861         [BZ #14716]
56862         * string/test-memmem.c (check_result): New function.
56863         (do_one_test): Use it.
56864         (check1): New function.
56865         (test_main): Use it.
56867 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
56869         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
56871 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
56873         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
56874         (_G_LSEEK64): Likewise.
56875         (_G_MMAP64): Likewise.
56876         (_G_FSTAT64): Likewise.
56877         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
56878         (_G_LSEEK64): Likewise.
56879         (_G_MMAP64): Likewise.
56880         (_G_FSTAT64): Likewise.
56881         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
56882         unconditional.  Call __mmap64 directly.
56883         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
56884         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
56885         __lseek64 directly.
56886         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
56887         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
56888         __mmap64 directly.
56889         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
56890         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
56891         __lseek64 directly.
56892         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
56893         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
56894         __lseek64 directly.
56895         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
56896         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
56897         __lseek64 directly.
56898         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
56899         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
56900         __fxstat64 directly.
56901         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
56902         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
56903         unconditional.
56904         (freopen64) [!_G_OPEN64]: Remove conditional code.
56905         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
56906         unconditional.
56907         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
56908         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
56909         unconditional.
56910         (ftello64) [!_G_LSEEK64]: Remove conditional code.
56911         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
56912         unconditional.
56913         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
56914         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
56915         unconditional.
56916         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
56917         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
56918         unconditional.
56919         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
56920         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
56921         unconditional.
56922         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
56923         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
56924         unconditional.
56925         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
56927 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
56929         [BZ #12140]
56930         * manual/memory.texi (Malloc Tunable Parameters): Add note
56931         about free list pointers overwriting some perturb bytes.
56932         Wording suggested by Roland McGrath.
56934 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
56936         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
56937         (lgamma_test): Likewise.
56938         (tgamma_test): Likewise.
56940 2012-10-16  Florian Weimer  <fweimer@redhat.com>
56942         [BZ #14700]
56943         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
56944         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
56946 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
56948         * NEWS: Mention BZ #14716.
56949         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
56950         when removing AVAILABLE1_USES_J macro.
56952 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
56954         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
56955         (__bswap_64): __uint64_t for unsigned 64-bit int.
56957 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
56959         * include/string.h (memmem): Declare libc hidden alias.
56960         * string/memmem.c (memmem): Define libc hidden alias.
56961         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
56962         __read, __close instead of open, read, close.
56964 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
56966         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
56967         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
56968         global and hidden.
56969         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
56970         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
56971         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
56972         Likewise.
56973         (__rawmemchr_sse2): Likewise.
56974         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
56975         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
56976         (__strchr_sse2): Likewise.
56977         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
56978         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
56979         (__strcasecmp_sse2): Likewise.
56980         (__strncasecmp_sse2): Likewise.
56981         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
56982         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
56983         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
56984         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
56985         (__strrchr_sse2): Likewise.
56986         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
56987         ifunc-impl-list.c.
56988         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
56989         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
56990         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
56991         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
56992         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
56993         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
56994         * sysdeps/x86_64/multiarch/memset.S: Likewise.
56995         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
56996         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
56997         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
56998         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
56999         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
57000         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
57001         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
57002         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
57003         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
57004         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
57005         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
57006         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
57007         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
57008         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
57009         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
57010         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
57011         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
57012         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
57013         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
57014         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
57015         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
57016         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
57017         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
57019         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
57020         global and hidden.
57021         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
57022         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
57023         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
57024         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
57025         Likewise.
57026         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
57027         Likewise.
57028         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
57029         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
57030         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
57031         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
57032         ifunc-impl-list.c.
57033         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
57034         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
57035         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
57036         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
57037         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
57038         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
57039         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
57040         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
57041         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
57042         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
57043         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
57044         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
57045         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
57046         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
57047         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
57048         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
57049         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
57050         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
57051         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
57052         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
57053         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
57054         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
57055         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
57056         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
57057         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
57058         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
57059         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
57060         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
57061         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
57062         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
57063         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
57064         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
57065         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
57066         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
57067         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
57068         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
57069         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
57070         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
57071         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
57072         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
57073         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
57075         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
57076         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
57077         * include/ifunc-impl-list.h: New file.
57078         * misc/ifunc-impl-list.c: Likewise.
57079         * misc/Makefile (routines): Add ifunc-impl-list.
57080         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
57081         * string/test-string.h: Include <ifunc-impl-list.h>.
57082         (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
57083         TEST_NAME]: New variables.
57084         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
57085         are defined.
57086         (test_init): Call __libc_ifunc_impl_list to initialize
57087         func_list if TEST_IFUNC and TEST_NAME are defined.
57089         * string/Makefile (strop-tests): Add bcopy and bzero.
57090         * string/test-bcopy.c: New file.
57091         * string/test-bzero.c: Likewise.
57092         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
57093         defined.
57094         * string/test-memset.c: Support bzero test if TEST_BZERO is
57095         defined.
57096         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
57097         __libc_memmove.
57098         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
57099         __libc_memset.
57100         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
57101         of memset.
57103 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
57105         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
57106         * configure: Regenerated.
57108         * Makeconfig (+link-static-before-libc): Don't include
57109         $(link-static-libc).
57111         * libio/libio.h (_IO_pos_t): Remove.
57113 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
57115         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
57116         McGrath.
57118 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
57120         * crypt/crypt-entry.c: Include fips-private.h.
57121         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
57122         * crypt/md5c-test.c (main): Tolerate disabled MD5.
57123         * sysdeps/unix/sysv/linux/fips-private.h: New file.
57124         * sysdeps/generic/fips-private.h: New file, dummy fallback.
57126 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
57128         * crypt/crypt-private.h: Include stdbool.h.
57129         (_ufc_setup_salt_r): Return bool.
57130         * crypt/crypt-entry.c: Include errno.h.
57131         (__crypt_r): Return NULL with EINVAL for bad salt.
57132         * crypt/crypt_util.c (bad_for_salt): New.
57133         (_ufc_setup_salt_r): Check that salt is long enough and within
57134         the specified alphabet.
57135         * crypt/badsalttest.c: New file.
57136         * crypt/Makefile (tests): Add it.
57137         ($(objpfx)badsalttest): New.
57139 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
57141         * NEWS: Add entry for BZ #14602.
57143 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
57145         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
57146         type-generic.
57147         * math/libm-test.inc: Update comment listing what functions and
57148         macros are tested.
57149         (isgreater_test): New function.
57150         (isgreaterequal_test): Likewise.
57151         (isless_test): Likewise.
57152         (islessequal_test): Likewise.
57153         (islessgreater_test): Likewise.
57154         (isunordered_test): Likewise.
57155         (main): Call the new functions.
57157 2012-10-09  Roland McGrath  <roland@hack.frob.com>
57159         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
57160         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
57161         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
57162         * sysdeps/i386/configure: Regenerated.
57163         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
57164         * sysdeps/mach/configure: Regenerated.
57165         * sysdeps/mach/hurd/configure: Regenerated.
57166         * sysdeps/powerpc/configure: Regenerated.
57167         * sysdeps/powerpc/powerpc32/configure: Regenerated.
57168         * sysdeps/powerpc/powerpc64/configure: Regenerated.
57169         * sysdeps/s390/s390-32/configure: Regenerated.
57170         * sysdeps/s390/s390-64/configure: Regenerated.
57171         * sysdeps/sh/configure: Regenerated.
57172         * sysdeps/sparc/configure: Regenerated.
57173         * sysdeps/unix/sysv/linux/configure: Regenerated.
57174         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
57175         * sysdeps/x86_64/configure: Regenerated.
57177         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
57178         defined.  Don't check if MAP is NULL.
57180 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
57182         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
57183         (_G_stat64): Likewise.
57184         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
57185         (_G_stat64): Likewise.
57186         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
57187         instead of struct _G_stat64.
57188         * libio/fileops.c (mmap_remap_check): Likewise.
57189         (decide_maybe_mmap): Likewise.
57190         (_IO_new_file_seekoff): Likewise.
57191         (_IO_file_stat): Likewise.
57192         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
57193         _G_off64_t.
57194         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
57195         instead of struct _G_stat64.
57196         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
57198 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
57200         [BZ #14602]
57201         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
57202         Replace with ...
57203         (CHECK_EOL): New macro.
57204         (two_way_short_needle): Check beginning of haystack for EOL.  Use
57205         CHECK_EOL.
57206         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
57207         Replace with CHECK_EOL.
57208         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
57209         Replace with CHECK_EOL.
57211 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
57213         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
57214         type-generic.
57215         * math/libm-test.inc: Update comment listing what functions and
57216         macros are tested.
57217         (finite_test): New function.
57218         (isinf_test): Likewise.
57219         (isnan_test): Likewise.
57220         (fpclassify_test): Test subnormal input.
57221         (isfinite_test): Likewise.
57222         (isnormal_test): Likewise.
57223         (main): Call the new functions.
57225 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
57227         [BZ #14660]
57228         * Makerules (%.dynsym): Force C locale when running
57229         $(OBJDUMP) --dynamic-syms.
57231 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
57233         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
57234         <stdint.h>.
57236 2012-10-06  David S. Miller  <davem@davemloft.net>
57238         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
57239         upper 32-bits of the length value in %o2 since we use branch-on-register
57240         tests which consider the entire 64-bit register.
57242 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
57244         * string/test-strstr.c (check2): Add a test for page boundary.
57246 2012-10-05  David S. Miller  <davem@davemloft.net>
57248         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
57249         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
57250         file.
57251         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
57252         sysdep_routines.
57253         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
57254         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
57255         and bzero when HWCAP_SPARC_CRYPTO is present.
57257 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
57259         [BZ #14602]
57260         * string/test-strstr.c (check2): New function.
57261         (test_main): Call check2.
57263         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
57264         and bug-strchr1.
57265         * string/bug-strcasestr1.c (do_test): Moved to ...
57266         * string/test-strcasestr.c (check1): Here.  New function.
57267         (do_one_test): Break out result checking code into ...
57268         (check_result): This.  New function.
57269         (do_one_test): Call check_result.
57270         (test_main): Call check1.
57271         * string/bug-strchr1.c (do_test): Moved to ...
57272         * string/test-strchr.c (check1): Here.  New function.
57273         (do_one_test): Break out result checking code into ...
57274         (check_result): This.  New function.
57275         (do_one_test): Call check_result.
57276         (test_main): Call check1.
57277         * string/bug-strstr1.c (main): Moved to ...
57278         * string/test-strstr.c (check1): Here.  New function.
57279         (do_one_test): Break out result checking code into ...
57280         (check_result): This.  New function.
57281         (do_one_test): Call check_result.
57282         (test_main): Call check1.
57283         * string/bug-strcasestr1.c: Removed.
57284         * string/bug-strchr1.c: Likewise.
57285         * string/bug-strstr1.c: Likewise.
57287         * elf/Makefile (dl-routines): Add hwcaps.
57288         * elf/dl-support.c (_dl_important_hwcaps): Removed.
57289         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
57290         (_dl_important_hwcaps): Moved to ...
57291         * elf/dl-hwcaps.c: Here.  New file.
57292         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
57294         [BZ #14557]
57295         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
57296         if IS_IN_rtld isn't defined.
57298         * elf/dl-support.c (_dl_sysinfo_map): New.
57299         Include "get-dynamic-info.h" and "setup-vdso.h".
57300         (_dl_non_dynamic_init): Call setup_vdso.
57301         * elf/dynamic-link.h: Don't include <assert.h>.
57302         (elf_get_dynamic_info): Moved to ...
57303         * elf/get-dynamic-info.h: Here.  New file.
57304         * elf/dynamic-link.h: Include "get-dynamic-info.h".
57305         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
57306         * elf/setup-vdso.h: Here.  New file.
57307         * elf/rtld.c: Include "setup-vdso.h".
57308         (dl_main): Call setup_vdso.
57310 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
57312         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
57313         creal in comment listing functions tested.  List finite, isinf,
57314         isnan, isless, islessequal, isgreater, isgreaterequal,
57315         islessgreater, isunordered, lgamma_r and pow10 as functions and
57316         macros not tested.  Mention which functions not tested are aliases
57317         for other functions.  Fix typo.  Note that signs of NaNs are not
57318         tested.
57320         * scripts/config.guess: Update from config.git.
57321         * scripts/config.sub: Likewise.
57323 2012-10-04  Roland McGrath  <roland@hack.frob.com>
57325         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
57326         * misc/madvise.c (madvise): Renamed to __madvise.
57327         Make madvise a weak alias.
57328         * include/sys/mman.h: Declare __madvise.
57329         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
57330         * sysdeps/unix/syscalls.list
57331         (madvise): Make __madvise the strong name, and madvise a weak alias.
57332         * sysdeps/unix/sysv/linux/syscalls.list
57333         (madvise, mmap): Remove redundant entries.
57334         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
57335         * malloc/malloc.c (mtrim): Likewise.
57336         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
57338 2012-10-03  Roland McGrath  <roland@hack.frob.com>
57340         * sysdeps/mach/hurd/dl-cache.c: File removed.
57341         * config.h.in (USE_LDCONFIG): New #undef.
57342         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
57343         * configure: Regenerated.
57344         * elf/Makefile (dl-routines): Add dl-cache only under
57345         [$(use-ldconfig) = yes].
57346         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
57347         cache on [USE_LDCONFIG].
57348         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
57349         [USE_LDCONFIG].
57350         * elf/rtld.c (dl_main): Likewise.
57352 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
57354         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
57355         _SC_LEVEL4_CACHE_LINESIZE.
57357 2012-10-03  Roland McGrath  <roland@hack.frob.com>
57359         * sysdeps/unix/bsd/confstr.h: File removed.
57361 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
57363         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
57364         sys/sdt-config.h.
57366 2012-10-02  Roland McGrath  <roland@hack.frob.com>
57368         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
57369         Make 'mapoff' field ElfW(Off) rather than off_t.
57371 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
57373         * nscd/Makefile: Remove nscd-cflags and all its users.
57374         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
57375         (CFLAGS-nonlib): Add compiler flags for nscd modules.
57377         [BZ #10631]
57378         * malloc.c (malloc_printerr): Clarify error message.
57380 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
57382         [BZ #14648]
57383         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
57384         Set bit_FMA_Usable if FMA is supported.
57385         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
57386         macro.
57387         (bit_FMA4_Usable): Updated.
57388         (index_FMA_Usable): New macro.
57389         (CPUID_FMA): Likewise.
57390         (HAS_FMA): Defined with bit_FMA_Usable.
57392 2012-10-01  Roland McGrath  <roland@hack.frob.com>
57394         * bits/types.h (__swblk_t): Type removed.
57395         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
57396         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
57397         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
57398         (__SWBLK_T_TYPE): Likewise.
57399         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
57400         (__SWBLK_T_TYPE): Likewise.
57401         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
57402         (__SWBLK_T_TYPE): Likewise.
57403         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
57404         (__SWBLK_T_TYPE): Likewise.
57406 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
57407             Honza Horak <hhorak@redhat.com>
57409         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
57410         (xdr_mapname): Use YPMAXMAP as maxsize.
57411         (xdr_peername): Use YPMAXPEER as maxsize.
57412         (xdr_keydat): Use YPAXRECORD as maxsize.
57413         (xdr_valdat): Use YPMAXRECORD as maxsize.
57415 2012-10-01  Roland McGrath  <roland@hack.frob.com>
57417         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
57419         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
57420         * csu/init-first.c: ... here.
57421         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
57422         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
57423         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
57424         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
57425         * sysdeps/i386/init-first.c: File removed.
57426         * sysdeps/sh/init-first.c: File removed.
57428 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
57430         [BZ #14645]
57431         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
57432         if x * y might underflow to zero and z is zero.
57433         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
57434         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
57435         * math/libm-test.inc (min_subnorm_value): New variable.
57436         (fma_test): Add more tests.
57437         (fma_test_towardzero): Likewise.
57438         (fma_test_downward): Likewise.
57439         (fma_test_upward): Likewise.
57440         (initialize): Set min_subnorm_value.
57442 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
57444         [BZ #14638]
57445         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
57446         0 + 0.
57447         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
57448         mode for addition resulting in exact zero.
57449         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
57450         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
57451         exact 0 + 0.
57452         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
57453         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
57454         * math/libm-test.inc (fma_test): Add more tests.
57455         (fma_test_towardzero): New function.
57456         (fma_test_downward): Likewise.
57457         (fma_test_upward): Likewise.
57458         (main): Call the new functions.
57460 2012-09-28  David S. Miller  <davem@davemloft.net>
57462         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
57464 2012-09-28  Roland McGrath  <roland@hack.frob.com>
57466         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
57467         instead of SIGALRM.
57469         * sysdeps/gnu/_G_config.h: Moved to ...
57470         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
57471         * sysdeps/mach/hurd/_G_config.h: Moved to ...
57472         * sysdeps/generic/_G_config.h: ... here.
57474         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
57476         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
57478         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
57479         Conditionalize target on [libnss_test1.so-version].
57481         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
57483         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
57484         (elfobjdir): Move out of conditionals.
57486         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
57487         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
57488         (__nss_lookup_function): Conditionalize label remove_from_tree on
57489         [!DO_STATIC_NSS || SHARED], matching its only use.
57491 2012-09-28  David S. Miller  <davem@davemloft.net>
57493         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
57494         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
57495         file.
57496         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
57497         sysdep_routines.
57498         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
57499         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
57500         when HWCAP_SPARC_CRYPTO is present.
57502 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
57504         * io/tst-mknodat.c: Create a FIFO instead of a socket.
57506 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
57508         [BZ #6530]
57509         * stdio-common/vfprintf.c (process_string_arg): Revert
57510         2000-07-22 change.
57512 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
57514         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
57515         for testcase.
57516         * stdio-common/tst-sprintf.c: Include <locale.h>
57517         (main): Test sprintf's handling of incomplete multibyte
57518         characters.
57520 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
57522         * elf/dl-runtime.c (VERSYMIDX): Removed.
57523         * elf/dl-version.c (VERSYMIDX): Likewise.
57524         * elf/do-rel.h (VERSYMIDX): Likewise.
57525         (VALIDX): Likewise.
57526         * elf/dynamic-link.h (VERSYMIDX): Likewise.
57527         * elf/rtld.c (VALIDX): Likewise.
57528         (ADDRIDX): Likewise.
57529         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
57530         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
57531         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
57532         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
57533         (VALIDX): Likewise.
57534         (ADDRIDX): Likewise.
57536 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
57538         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
57540 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
57542         [BZ #11438]
57543         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
57544         to global scope.
57545         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
57546         addresses are in the same scope as 192.0.2/24.
57547         * posix/gai.conf: Document new scope table defaults.
57549 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
57551         [BZ #5298]
57552         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
57553         for ftell.  Compute offsets from write pointers instead.
57554         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
57556 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
57558         [BZ #14543]
57559         * libio/Makefile (tests): New test case tst-fseek.
57560         * libio/tst-fseek.c: New test case to verify that fseek/ftell
57561         combination works in wide mode.
57562         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
57563         state when the external buffer state changes.
57565 2012-09-27  David S. Miller  <davem@davemloft.net>
57567         [BZ #14376]
57568         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
57569         pass reloc->r_addend in as the 'high' argument to
57570         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
57572         * sysdeps/sparc/fpu/libm-test-ulps: Update.
57574 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
57576         * rt/tst-aio2.c: Include <pthread.h>.
57577         * rt/tst-aio3.c: Likewise.
57579 2012-09-27  Steve Ellcey  <sellcey@mips.com>
57581         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
57583 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
57585         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
57586         contents on [SHARED].
57588 2012-09-26  Marek Polacek  <polacek@redhat.com>
57590         [BZ #14530]
57591         [BZ #13741]
57592         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
57593         for C++ and GCC <4.3 as well as for non GCC compilers.
57595 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
57597         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
57599 2012-09-25  Roland McGrath  <roland@hack.frob.com>
57601         * Makefile.in (all, install): Declare with .PHONY.
57602         Reported by Michael Hope <michael.hope@linaro.org>.
57604 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
57606         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
57607         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
57608         system header.
57609         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
57610         Likewise.
57611         (sydep_routines): Add the new and the internal functions.
57612         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
57613         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
57614         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
57615         (GLIBC_2.17): Add the new function.
57616         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
57617         (GLIBC_2.17): Likewise.
57618         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
57619         (GLIBC_2.17): Likewise.
57620         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
57621         (GLIBC_2.17): Likewise.
57622         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
57624 2012-09-25  Alan Modra  <amodra@gmail.com>
57626         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
57627         Add release barrier before setting once_control to say
57628         initialisation is done.  Add hints on lwarx.  Use macro in
57629         place of isync.
57630         (clear_once_control): Add release barrier.
57632 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
57634         [BZ #13629]
57635         * math/s_clog.c (__clog): Handle more values close to |z| = 1
57636         specially.
57637         * math/s_clog10.c (__clog10): Likewise.
57638         * math/s_clog10f.c (__clog10f): Likewise.
57639         * math/s_clog10l.c (__clog10l): Likewise.
57640         * math/s_clogf.c (__clogf): Likewise.
57641         * math/s_clogl.c (__clogl): Likewise.
57642         * math/Makefile (libm-calls): Add x2y2m1.
57643         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
57644         (__x2y2m1): Likewise.
57645         (__x2y2m1l): Likewise.
57646         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
57647         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
57648         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
57649         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
57650         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
57651         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
57652         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
57653         * sysdeps/i386/fpu/libm-test-ulps: Update.
57654         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57656         [BZ #14621]
57657         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
57658         int as type of variable DEPTH.
57659         (glob): Use size_t instead of int as type of variables NEWCOUNT
57660         and OLD_PATHC.
57662 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
57664         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
57665         Add s_sincosf-sse2.
57666         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
57667         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
57668         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
57669         macros for using routine as __sincosf_ia32.
57670         Use macro for function declaration and weak_alias.
57671         * sysdeps/i386/fpu/libm-test-ulps: Update.
57673         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
57674         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
57676         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
57677         subnormal argument.
57678         * math/s_cexpf.c (__cexpf): Likewise.
57679         * math/s_csinf.c (__csinf): Likewise.
57680         * math/s_csinhf.c (__csinhf): Likewise.
57681         * math/s_ctanf.c (__ctanf): Likewise.
57682         * math/s_ctanhf.c (__ctanhf): Likewise.
57683         * math/s_ccosh.c (__ccoshf): Likewise.
57684         * math/s_cexp.c (__cexpl): Likewise.
57685         * math/s_csin.c (__csin): Likewise.
57686         * math/s_csinh.c (__csinh): Likewise.
57687         * math/s_ctan.c (__ctan): Likewise.
57688         * math/s_ctanh.c (ctanh): Likewise.
57689         * math/s_ccoshl.c (__ccoshl): Likewise.
57690         * math/s_cexpl.c (__cexpl): Likewise.
57691         * math/s_csinl.c (__csinl): Likewise.
57692         * math/s_csinhl.c (__csinhl): Likewise.
57693         * math/s_ctanl.c (__ctanl): Likewise.
57694         * math/s_ctanhl.c (__ctanhl): Likewise.
57696 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
57698         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
57699         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
57700         (_IO_off_t): Define to __off_t, not _G_off_t.
57701         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
57702         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
57703         (_IO_wint_t): Define to wint_t, not _G_wint_t.
57704         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
57705         type of __dummy and __dummy2 fields.
57706         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
57707         (_G_ssize_t): Likewise.
57708         (_G_off_t): Likewise.
57709         (_G_pid_t): Likewise.
57710         (_G_uid_t): Likewise.
57711         (_G_wchar_t): Likewise.
57712         (_G_wint_t): Likewise.
57713         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
57714         (_G_ssize_t): Likewise.
57715         (_G_off_t): Likewise.
57716         (_G_pid_t): Likewise.
57717         (_G_uid_t): Likewise.
57718         (_G_wchar_t): Likewise.
57719         (_G_wint_t): Likewise.
57720         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
57721         (_G_ssize_t): Likewise.
57722         (_G_off_t): Likewise.
57723         (_G_pid_t): Likewise.
57724         (_G_uid_t): Likewise.
57725         (_G_wchar_t): Likewise.
57726         (_G_wint_t): Likewise.
57728 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
57730         * malloc/arena.c: Include malloc-sysdep.h.
57731         (shrink_heap): Use check_may_shrink_heap to decide if madvise
57732         is sufficient to shrink the heap or an unmap is needed.
57733         * sysdeps/generic/malloc-sysdep.h: New file.  Define
57734         new function check_may_shrink_heap.
57735         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
57736         new function check_may_shrink_heap.
57738 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
57740         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
57741         comments.
57743 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
57745         * catgets/test-gencat.sh: Add "set -e".
57746         * elf/tst-pathopt.sh: Likewise.
57747         * grp/tst_fgetgrent.sh: Likewise.
57748         * iconvdata/run-iconv-test.sh: Likewise.
57749         * intl/tst-gettext.sh: Likewise.
57750         * intl/tst-gettext2.sh: Likewise.
57751         * intl/tst-gettext4.sh: Likewise.
57752         * intl/tst-gettext6.sh: Likewise.
57753         * intl/tst-translit.sh: Likewise.
57754         * io/ftwtest-sh: Likewise.
57755         * libio/test-freopen.sh: Likewise.
57756         * malloc/tst-mtrace.sh: Likewise.
57757         * posix/globtest.sh: Likewise.
57758         * posix/tst-getconf.sh: Likewise.
57759         * posix/wordexp-tst.sh: Likewise.
57760         * stdio-common/tst-printf.sh: Likewise.
57761         * stdio-common/tst-unbputc.sh: Likewise.
57762         * stdlib/tst-fmtmsg.sh: Likewise.
57763         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
57764         * catgets/Makefile: Do not specify -e option when running
57765         testsuite shell scripts.
57766         * elf/Makefile: Likewise.
57767         * grp/Makefile: Likewise.
57768         * iconvdata/Makefile: Likewise.
57769         * intl/Makefile: Likewise.
57770         * io/Makefile: Likewise.
57771         * libio/Makefile: Likewise.
57772         * malloc/Makefile: Likewise.
57773         * posix/Makefile: Likewise.
57774         * stdio-common/Makefile: Likewise.
57775         * stdlib/Makefile: Likewise.
57776         * sysdeps/x86_64/Makefile: Likewise.
57778         * io/ftwtest-sh: Add copyright header.
57779         * posix/globtest.sh: Likewise.
57780         * posix/tst-getconf.sh: Likewise.
57781         * posix/wordexp-tst.sh: Likewise.
57782         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
57784 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
57786         [BZ #13679]
57787         * Makeconfig (+link): Defined as $(+link-static) if
57788         $(build-shared) isn't yes.
57789         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
57790         isn't yes.
57791         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
57793         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
57795         [BZ #14562]
57796         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
57797         new chunk size with MALLOC_ALIGN_MASK.
57799 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
57801         [BZ #5044]
57802         * stdio-common/printf_fphex.c: Include <stdbool.h> and
57803         <rounding-mode.h>.
57804         (__printf_fphex): Determine rounding using get_rounding_mode and
57805         round_away.
57806         * stdio-common/tst-printf-round.c (struct hex_test): New
57807         structure.
57808         (hex_tests): New variable.
57809         (test_hex_in_one_mode): New function.
57810         (do_test): Also run tests for hex float output.
57812 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
57814         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
57815         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
57816         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
57817         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
57818         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
57819         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
57820         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
57821         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
57823 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
57825         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
57826         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
57827         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
57828         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
57830 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
57832         [BZ #14579]
57833         * elf/rtld.c (dl_main): Limit the check for self loading to normal
57834         mode only.
57835         * elf/tst-rtld-load-self.sh: New test.
57836         * elf/Makefile: Run it.
57838 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
57840         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
57841         (tst-writev-ENV): Remove.
57842         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
57844 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
57846         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
57848 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
57850         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
57851         unconditional.
57852         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
57853         Likewise.
57854         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
57855         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
57856         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
57857         Likewise.
57859 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
57861         [BZ #14587]
57862         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
57863         * config.make.in (have-cpp-asm-debuginfo): Removed.
57864         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
57865         * configure: Regenerated.
57867 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
57869         [BZ #5044]
57870         * stdio-common/printf_fp.c: Include <stdbool.h> and
57871         <rounding-mode.h>.
57872         (___printf_fp): Determine rounding using get_rounding_mode and
57873         round_away.
57874         * stdio-common/tst-printf-round.c: New file.
57875         * stdio-common/Makefile (tests): Add tst-printf-round.
57876         (link-libm): New variable.
57877         ($(objpfx)tst-printf-round): Depend in $(link-libm).
57879 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
57881         [BZ #14576]
57882         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
57883         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
57884         Likewise.
57885         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
57886         Likewise.
57888 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
57890         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
57891         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
57892         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
57893         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
57895 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
57897         [BZ #14518]
57898         * include/rounding-mode.h: New file.
57899         * sysdeps/generic/get-rounding-mode.h: Likewise.
57900         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
57901         * stdlib/strtod_l.c: Include <rounding-mode.h>.
57902         (MAX_VALUE): New macro.
57903         (MIN_VALUE): Likewise.
57904         (overflow_value): New function.
57905         (underflow_value): Likewise.
57906         (round_and_return): Use overflow_value and underflow_value to
57907         determine return values in overflow and underflow cases.  Use
57908         round_away to determine rounding depending on rounding mode.
57909         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
57910         determine return values in overflow and underflow cases.
57911         * stdlib/tst-strtod-round.c: Include <fenv.h>.
57912         (struct test_results): New structure.
57913         (struct test): Use struct test_results to store expected results
57914         for all rounding modes.
57915         (TEST): Include expected results for all rounding modes.
57916         (test_in_one_mode): New function.
57917         (do_test): Use test_in_one_mode to compute and check results.
57918         Check results for all rounding modes.
57919         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
57920         $(link-libm).
57922 2012-12-09  Allan McRae  <allan@archlinux.org>
57924         * sysdeps/i386/fpu/libm-test-ulps: Update
57926 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
57928         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
57929         (_G_int32_t): Likewise.
57930         (_G_uint16_t): Likewise.
57931         (_G_uint32_t): Likewise.
57932         (_G_HAVE_BOOL): Likewise.
57933         (_G_HAVE_ATEXIT): Likewise.
57934         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
57935         (_G_HAVE_IO_FILE_OPEN): Likewise.
57936         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
57937         (_G_int32_t): Likewise.
57938         (_G_uint16_t): Likewise.
57939         (_G_uint32_t): Likewise.
57940         (_G_HAVE_BOOL): Likewise.
57941         (_G_HAVE_ATEXIT): Likewise.
57942         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
57943         (_G_HAVE_IO_FILE_OPEN): Likewise.
57944         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
57945         (_G_int32_t): Likewise.
57946         (_G_uint16_t): Likewise.
57947         (_G_uint32_t): Likewise.
57948         (_G_HAVE_BOOL): Likewise.
57949         (_G_HAVE_ATEXIT): Likewise.
57950         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
57951         (_G_HAVE_IO_FILE_OPEN): Likewise.
57953 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
57955         * csu/libc-tls.c: Update copyright years.
57957 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
57959         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
57960         [!_G_USING_THUNKS]: Remove conditional code.
57961         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
57962         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
57964         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
57965         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
57966         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
57967         (_G_VTABLE_LABEL_PREFIX): Likewise.
57968         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
57969         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
57970         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
57971         (_G_VTABLE_LABEL_PREFIX): Likewise.
57972         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
57973         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
57974         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
57975         (_G_VTABLE_LABEL_PREFIX): Likewise.
57976         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
57978 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
57980         * libio/Makefile: Include ../Makeconfig before tests.
57981         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
57982         only if $(build-shared) is yes.
57984         * iconv/gconv_db.c: Update copyright years.
57986 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
57988         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
57989         unwind info if defined PIC. Fix special cases description.
57990         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
57992         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
57993         DP_HI_MASK entry.
57994         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
57996 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
57998         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
58000         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
58001         is NULL.
58003         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
58004         (LDLIBS-tst-chk4): This.
58005         (LDFLAGS-tst-chk5): Renamed to ...
58006         (LDLIBS-tst-chk5): This.
58007         (LDFLAGS-tst-chk6): Renamed to ...
58008         (LDLIBS-tst-chk6): This.
58009         (LDFLAGS-tst-lfschk4): Renamed to ...
58010         (LDLIBS-tst-lfschk4): This.
58011         (LDFLAGS-tst-lfschk5): Renamed to ...
58012         (LDLIBS-tst-lfschk5): This.
58013         (LDFLAGS-tst-lfschk6): Renamed to ...
58014         (LDLIBS-tst-lfschk6): This.
58016         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
58017         on $(common-objpfx)soversions.mk.
58019 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
58021         [BZ #10014]
58022         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
58023         example host name.
58025 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
58027         * malloc/arena.c (arena_get_retry): New function that gets
58028         another arena for the caller to try its request on.
58029         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
58030         current arena cannot fulfill the request.
58031         (__libc_memalign): Likewise.
58032         (__libc_memalign): Likewise.
58033         (__libc_pvalloc): Likewise.
58034         (__libc_calloc): Likewise.
58036 2012-09-05  John Tobey  <john.tobey@gmail.com>
58038         [BZ #13542]
58039         * manual/arith.texi (Operations on Complex): Fix description
58040         of carg branch cut.
58042 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
58044         [BZ #10014]
58045         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
58046         host name.
58048         [BZ #10038]
58049         * manual/memory.texi (Memory): Make order of menu items match
58050         order of sections.
58052 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
58054         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
58055         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
58056         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
58058 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
58060         * csu/libc-tls.c (static_dtv): Renamed to ...
58061         (_dl_static_dtv): This.  Make it global.
58062         (_dl_initial_dtv): Removed.
58063         (__libc_setup_tls): Updated.
58064         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
58065         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
58066         DL_INITIAL_DTV.
58068 2012-09-06  Petr Machata  <pmachata@redhat.com>
58070         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
58071         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
58072         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
58073         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
58075 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
58077         [BZ #14545]
58078         * csu/libc-tls.c (_dl_initial_dtv): New variable.
58079         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
58080         freeing dtv[-1].
58082 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
58084         [BZ #14544]
58085         * Makeconfig (link-static-before-libc): Replace $(+prector)
58086         with $(+prectorT).
58087         (link-static-after-libc): Replace $(+postctor) with
58088         $(+postctorT).
58089         (link-bounded): Replace $(+prector)/$(+postctor) with
58090         $(+prectorT)/$(+postctorT).
58091         (+prectorT): New macro.
58092         (+postctorT): Likewise.
58094 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
58096         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
58097         (round_str): Handle values above the maximum for IBM long double
58098         as inexact.
58099         * stdlib/tst-strtod-round.c (tests): Regenerated.
58101 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
58103         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
58104         assembler flag.
58105         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
58106         zarch_nohighgprs around the zarch optimized routines.
58107         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
58108         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
58109         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
58110         for zarch.
58112 2012-09-05  David S. Miller  <davem@davemloft.net>
58114         * sysdeps/sparc/fpu/libm-test-ulps: Update.
58116         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
58117         (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
58118         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
58119         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
58120         entries.
58122 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
58124         * malloc/arena.c: Fold copyright years.
58125         * malloc/mcheck.c, malloc/memusage.c: Likewise.
58127 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
58129         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
58131 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
58133         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
58135 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
58137         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
58138         change internal state upon failure.
58140 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
58142         * malloc/mcheck.c (mcheck_check_all): Fix typo.
58143         * malloc/memusage.c (mmap): Likewise.
58144         (mmap64, mremap): Likewise.  Adjust name in comment.
58146 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
58148         * libio/fileops.c: Fix typos in comments.
58149         * libio/oldfileops.c: Likewise.
58150         * libio/wfileops.c: Likewise.
58152 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
58154         [BZ #1349]
58155         * malloc/Makefile (tests): Add tst-malloc-usable test case.
58156         (tst-malloc-usable-ENV): Set environment for test case.
58157         * malloc/hooks.c (malloc_check_get_size): New function to get
58158         requested size.
58159         * malloc/malloc.c (musable): Use malloc_check_get_size.
58160         * malloc/tst-malloc-usable.c: New test case.
58162 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
58164         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
58166 2012-09-05  Allan McRae  <allan@archlinux.org>
58168         [BZ #13966]
58169         * configure.in (CXX_SYSINCLUDES): Use compiler output to
58170         determine header location.
58171         * configure: Regenerated.
58173 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
58175         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
58176         float format.
58177         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
58178         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
58179         format.
58180         (test): Regenerate.
58182 2012-09-04  David S. Miller  <davem@davemloft.net>
58184         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
58185         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
58186         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
58188 2012-09-04  Florian Weimer  <fweimer@redhat.com>
58190         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
58191         failures.
58193         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
58195 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
58197         [BZ #9914]
58198         * libio/iogetdelim.c: Include <limits.h>.
58199         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
58200         + len + 1 would overflow.
58202 2012-09-03  Andreas Jaeger  <aj@suse.de>
58204         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
58205         * sysdeps/i386/fpu/libm-test-ulps: Update.
58207 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
58209         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
58210         Add s_sinf-sse2, s_conf-sse2.
58212         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
58213         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
58214         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
58215         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
58217         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
58218         for using routine as __sinf_ia32.
58219         Use macro for function declaration and weak_alias.
58220         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
58221         for using routine as __cosf_ia32.
58222         Use macro for function declaration and weak_alias.
58224         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
58225         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
58227         * sysdeps/x86_64/fpu/s_sinf.S: New file.
58228         * sysdeps/x86_64/fpu/s_cosf.S: New file.
58229         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
58231         * math/libm-test.inc (cos_test): Add more test cases.
58232         (sin_test): Likewise.
58233         (sincos_test): Likewise.
58235 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
58237         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
58238         (IFUNC_RESOLVE): Make pointers to the specialized implementations
58239         hidden.
58240         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
58242 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
58244         [BZ #14538]
58245         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
58246         first element of the GOT.
58247         (elf_machine_load_address): Return the difference between
58248         the runtime address of _DYNAMIC and elf_machine_dynamic ().
58250 2012-09-01  Allan McRae  <allan@archlinux.org>
58252         [BZ #13412]
58253         * configure.in (AWK): Require gawk version 3.0 or later.
58254         * configure: Regenerated.
58256 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
58258         * sysdeps/unix/sysv/linux/kernel-features.h
58259         (__ASSUME_POSIX_CPU_TIMERS): Remove.
58260         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
58261         [__NR_clock_getres]: Make code unconditional.
58262         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
58263         (clock_getcpuclockid): Remove code left unreachable by removal of
58264         conditionals.
58265         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
58266         code unconditional.
58267         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
58268         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
58269         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
58270         Make code unconditional.
58271         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
58272         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
58273         * sysdeps/unix/sysv/linux/clock_settime.c
58274         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
58275         conditional code.
58276         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
58277         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
58279 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
58281         [BZ #14476]
58282         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
58283         scripts/test-installation.pl.
58285         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
58286         and $ld_so_version if it is set.
58288 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
58290         [BZ #14516]
58291         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
58292         failure if reading from procfs failed.
58293         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
58295 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
58297         * sysdeps/unix/sysv/linux/kernel-features.h
58298         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
58299         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
58300         Remove conditional code.
58301         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
58302         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
58303         Remove conditional code.
58304         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
58305         * sysdeps/unix/sysv/linux/i386/fxstat.c
58306         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
58307         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
58308         * sysdeps/unix/sysv/linux/i386/fxstatat.c
58309         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
58310         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
58311         * sysdeps/unix/sysv/linux/i386/lxstat.c
58312         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
58313         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
58314         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
58315         Remove conditional code.
58316         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
58317         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
58318         Remove conditional code.
58319         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
58320         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
58321         <kernel-features.h>.
58322         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
58323         Remove.
58324         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
58325         Remove conditional code.
58326         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
58327         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
58328         Remove conditional.
58330 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
58332         [BZ #5400]
58333         * NEWS: Add fixed bug number.
58335 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
58337         [BZ #14519]
58338         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
58339         underflowing exponent in case of negative sign.
58340         * stdlib/tst-strtod-round-data: Add more tests.
58341         * stdlib/tst-strtod-round.c (tests): Regenerated.
58343         [BZ #3479]
58344         * stdlib/strtod_l.c (NDIG): Remove.
58345         (HEXNDIG): Likewise.
58346         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
58347         smallest representable value.
58348         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
58349         lie within an exact representation of 1/2 ulp of the result.
58350         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
58351         unconditionally.
58352         (TENS_P9_IDX): Define unconditionally.
58353         (TENS_P9_SIZE): Likewise.
58354         (TENS_P10_IDX): Likewise.
58355         (TENS_P10_SIZE): Likewise.
58356         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
58357         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
58358         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
58359         entries for 10^2^13 and 10^2^14.
58360         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
58361         (TENS_P13_IDX): Define.
58362         (TENS_P13_SIZE): Likewise.
58363         (TENS_P14_IDX): Likewise.
58364         (TENS_P14_SIZE): Likewise.
58365         (_fpioconst_pow10): Change array size to
58366         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
58367         unconditional.
58368         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
58369         1024]: Add entries for 10^2^13 and 10^2^14.
58370         [LAST_POW10 > _LAST_POW10]: Remove #error.
58371         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
58372         (_fpioconst_pow10): Change array size to
58373         FPIOCONST_POW10_ARRAY_SIZE.
58374         * stdlib/gen-fpioconst.c: New file.
58375         * stdlib/gen-tst-strtod-round.c: Likewise.
58376         * stdlib/tst-strtod-round-data: Likewise.
58377         * stdlib/tst-strtod-round.c: Likewise.
58378         * stdlib/Makefile (tests): Add tst-strtod-round.
58380         [BZ #14459]
58381         * stdlib/strtod_l.c: Include <stdint.h>.
58382         (NDEBUG): Do not define.
58383         (round_and_return): Change EXPONENT parameter to type intmax_t.
58384         Rearrange calculations to avoid internal overflow possibilities.
58385         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
58386         Rearrange calculations to avoid internal overflow possibilities.
58387         Assert that number fits inside MPNSIZE limbs.
58388         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
58389         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
58390         calculations and add assertions to avoid internal overflow
58391         possibilities.  Add casts to avoid signed/unsigned operations.
58392         * stdlib/tst-strtod-overflow.c: New file.
58393         * stdlib/Makefile (tests): Add tst-strtod-overflow.
58395 2012-08-25  Marek Polacek  <polacek@redhat.com>
58397         * time/time.h: Fix some typos in comments.
58399 2012-08-23  Roland McGrath  <roland@hack.frob.com>
58401         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
58402         * posix/tst-rfc3484-2.c: Likewise.
58403         * posix/tst-rfc3484-3.c: Likewise.
58405 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
58407         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
58408         (EF_ARM_ABI_FLOAT_HARD): Likewise.
58410 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
58412         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
58413         #include of fxstatat64.c.
58415 2012-08-22  Roland McGrath  <roland@hack.frob.com>
58417         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
58418         * shadow/getspent_r.c: Likewise.
58419         * shadow/getspnam.c: Likewise.
58420         * shadow/getspnam_r.c: Likewise.
58421         * gshadow/getsgent.c: Likewise.
58422         * gshadow/getsgent_r.c: Likewise.
58423         * gshadow/getsgnam.c: Likewise.
58424         * gshadow/getsgnam_r.c: Likewise.
58425         * inet/getnetbyad.c: Likewise.
58426         * inet/getnetbyad_r.c: Likewise.
58427         * inet/getnetbynm.c: Likewise.
58428         * inet/getnetbynm_r.c: Likewise.
58429         * inet/getnetent.c: Likewise.
58430         * inet/getnetent_r.c: Likewise.
58431         * inet/getproto.c: Likewise.
58432         * inet/getproto_r.c: Likewise.
58433         * inet/getprtent.c: Likewise.
58434         * inet/getprtent_r.c: Likewise.
58435         * inet/getprtname.c: Likewise.
58436         * inet/getprtname_r.c: Likewise.
58437         * inet/getrpcbyname.c: Likewise.
58438         * inet/getrpcbyname_r.c: Likewise.
58439         * inet/getrpcbynumber.c: Likewise.
58440         * inet/getrpcbynumber_r.c: Likewise.
58441         * inet/getrpcent.c: Likewise.
58442         * inet/getrpcent_r.c: Likewise.
58443         * inet/getaliasent.c: Likewise.
58444         * inet/getaliasent_r.c: Likewise.
58445         * inet/getaliasname.c: Likewise.
58446         * inet/getaliasname_r.c: Likewise.
58447         * nscd/getgrgid_r.c: Likewise.
58448         * nscd/getgrnam_r.c: Likewise.
58449         * nscd/gethstbyad_r.c: Likewise.
58450         * nscd/gethstbynm3_r.c: Likewise.
58451         * nscd/getpwnam_r.c: Likewise.
58452         * nscd/getpwuid_r.c: Likewise.
58453         * nscd/getsrvbynm_r.c: Likewise.
58454         * nscd/getsrvbypt_r.c: Likewise.
58455         * nscd/gai.c: Likewise.
58457         * configure.in (build_nscd): New substituted variable, set
58458         by --disable-build-nscd and defaults to $use_nscd.
58459         * configure: Regenerated.
58460         * config.make.in (build-nscd): New substituted variable.
58461         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
58462         Change conditional to require [$(build-nscd) = yes] as well.
58463         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
58465         [BZ# 13696]
58466         * configure.in (use_nscd): New substituted variable, set by
58467         --disable-nscd.  If enabled, define USE_NSCD.
58468         * configure: Regenerated.
58469         * config.h.in: Add USE_NSCD.
58470         * config.make.in (use-nscd): New substituted variable.
58471         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
58472         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
58473         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
58474         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
58475         (CFLAGS-getgrnam_r.c): Likewise.
58476         (CFLAGS-initgroups.c): Likewise.
58477         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
58478         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
58479         Variables removed.
58480         * inet/getnetgrent_r.c
58481         (nscd_setnetgrent): New function, broken out of ...
58482         (setnetgrent): ... here.  Call it.
58483         (innetgr): Conditionalize nscd bits on [USE_NSCD].
58484         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
58485         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
58486         * nscd/Makefile (routines, aux): Move definitions after include of
58487         Makeconfig.  Conditionalize on [$(use-nscd) != no].
58488         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
58489         Conditionalize on [USE_NSCD].
58490         (is_nscd, nscd_init_cb): Likewise.
58491         (nss_load_library): Conditionalize init callback on [USE_NSCD].
58492         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
58493         * nss/nss_db/db-init.c: Likewise.
58494         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
58495         [USE_NSCD].
58496         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
58497         (make_request): Use it.
58498         (cache_valid_p): New function.
58499         (__check_pf): Use it.
58500         * NEWS: Add item for --disable-nscd.
58502 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
58504         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
58505         to support sed >= 4.2.1-20-ga9bf076.
58506         * configure: Regenerated.
58508 2012-08-22  Roland McGrath  <roland@hack.frob.com>
58510         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
58511         Conditionalize whole body on [IREL].
58513 2012-08-22  Jeff Law <law@redhat.com>
58515         [BZ #14505]
58516         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
58517         if the family is PF_UNSPEC.
58519 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
58521         * Makerules (lib-version): Rename from V.
58522         (install-lib-nosubdir): Change V to lib-version.
58524 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
58526         [BZ #14252]
58527         * powerpc32/power6/wcschr.c: New file.
58528         * powerpc32/power6/wcscpy.c: New file.
58529         * powerpc32/power6/wcsrchr.c: New file.
58530         * powerpc64/power6/wcschr.c: New file.
58531         * powerpc64/power6/wcscpy.c: New file.
58532         * powerpc64/power6/wcsrchr.c: New file.
58534 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
58536         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
58537         (two_way_short_needle): Use it.
58538         * string/strstr.c (AVAILABLE1_USES_J): Define.
58539         * string/strcasestr.c: Likewise.
58541         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
58542         array references.
58543         * string/strcasestr.c (TOLOWER): Make side-effect safe.
58545         [BZ #11607]
58546         * NEWS: Add an entry.
58547         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
58548         define their defaults.
58549         (two_way_short_needle): Detect end-of-string on-the-fly.
58550         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
58551         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
58552         * string/bug-strcasestr1.c: New test.
58553         * string/Makefile: Run it.
58555 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
58557         [BZ #11607]
58558         * string/str-two-way.h (two_way_short_needle): Optimize matching of
58559         the first character.
58561 2012-08-21  Roland McGrath  <roland@hack.frob.com>
58563         * csu/elf-init.c (__libc_csu_irel): Function removed.
58564         * csu/libc-start.c (apply_irel): New function.
58565         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
58567 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
58569         * sysdeps/unix/sysv/linux/kernel-features.h
58570         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
58571         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
58572         <kernel-features.h>.
58573         [__NR_fadvise64_64]: Make code unconditional.
58574         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
58575         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
58576         !__NR_fadvise64_64)]: Likewise.
58577         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
58578         !__NR_fadvise64_64))]: Likewise.
58579         [__NR_fadvise64]: Make code unconditional.
58580         [!__NR_fadvise64]: Remove conditional code.
58581         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
58582         <kernel-features.h>.
58583         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
58584         unconditional.
58585         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
58586         conditional code.
58587         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
58588         not include <kernel-features.h>.
58589         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
58590         unconditional.
58591         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
58592         conditional code.
58593         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
58594         include <kernel-features.h>.
58595         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
58596         unconditional.
58597         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
58598         conditional code.
58600 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
58602         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
58603         slight instruction rearrangements per scrollpipe analysis.
58604         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
58606 2012-08-20  Roland McGrath  <roland@hack.frob.com>
58608         * manual/syslog.texi (syslog; vsyslog, closelog):
58609         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
58610         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
58612         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
58613         DSOCAPS to match condition on defining it.
58615 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
58617         * sysdeps/unix/sysv/linux/kernel-features.h
58618         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
58619         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
58620         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
58621         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
58622         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
58623         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
58624         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
58625         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
58626         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
58627         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
58629         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
58630         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
58632         * sysdeps/unix/sysv/linux/kernel-features.h
58633         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
58634         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
58635         unconditional.
58636         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
58637         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
58638         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
58639         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
58640         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
58641         Make code unconditional.
58642         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
58643         (__mmap64) [!__NR_mmap2]: Likewise.
58644         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
58645         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
58646         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
58647         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
58648         [__NR_mmap2]: Make code unconditional.
58649         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
58650         (__mmap64) [!__NR_mmap2]: Likewise.
58652 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
58654         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
58656 2012-08-18  Andreas Jaeger  <aj@suse.de>
58658         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
58660 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
58662         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
58663         * include/unistd.h (__have_sock_cloexec): Likewise.
58664         (__have_pipe2): Likewise.
58665         (__have_dup3): Likewise.
58667 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
58669         [BZ #9685]
58670         * include/unistd.h (__have_pipe2): Change define into an extern int.
58671         (__have_dup3): Likewise.
58672         * socket/have_sock_cloexec.c: Include fcntl.h.
58673         (__have_pipe2): New variable.
58674         (__have_dup3): Likewise.
58676 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
58678         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
58680 2012-08-17  Marek Polacek  <polacek@redhat.com>
58682         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
58683         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
58685 2012-08-17  Roland McGrath  <roland@hack.frob.com>
58687         * configure.in: Add AC_SUBST for sysheaders.
58688         * configure: Regenerated.
58689         * config.make.in (sysheaders): New substituted variable.
58691         * sysdeps/unix/mkfifo.c: Moved ...
58692         * sysdeps/posix/mkfifo.c: ... here.
58693         * sysdeps/unix/mkfifoat.c: Moved ...
58694         * sysdeps/posix/mkfifoat.c: ... here.
58696         * sysdeps/unix/utime.c: Moved ...
58697         * sysdeps/posix/utime.c: ... here.
58699         * sysdeps/unix/time.c: Moved ...
58700         * sysdeps/posix/time.c: ... here.
58701         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
58702         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
58704         * sysdeps/unix/nice.c: Moved ...
58705         * sysdeps/posix/nice.c: ... here.
58707         * sysdeps/unix/alarm.c: Moved ...
58708         * sysdeps/posix/alarm.c: ... here.
58710         * intl/Makefile ($(codeset_mo)): Depend on the input file.
58712 2012-08-17  Jeff Law <law@redhat.com>
58714         * intl/Makefile (codeset_mo): New variable.
58715         ($(codeset_mo)): New target.
58716         (tst-codeset.out): Depend on that.  Remove explicit rule.
58717         (tst-gettext3.out, tst-gettext5.out): Likewise.
58718         (LOCPATH-ENV, tst-codeset-ENV): New variables.
58719         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
58720         * intl/tst-codeset.sh: Remove.
58721         * intl/tst-gettext3.sh: Likewise.
58722         * intl/tst-gettext5.sh: Likewise.
58724 2012-08-17  Roland McGrath  <roland@hack.frob.com>
58726         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
58727         * sysdeps/unix/syscalls.list: ... here.
58729         * sysdeps/posix/getaddrinfo.c
58730         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
58731         (gaiconf_init, gaiconf_reload): Use them.
58732         [!_STATBUF_ST_NSEC]
58733         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
58734         Define using time_t rather than struct timespec.
58736         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
58737         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
58738         Macros removed.
58739         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
58740         [!NO_THREADS].
58741         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
58742         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
58743         Likewise.
58745         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
58746         __libc_cleanup_push argument.
58748         * bits/param.h: New file.
58749         * misc/sys/param.h: New file.
58750         * include/sys/param.h: New file.
58751         * misc/Makefile (headers): Add bits/param.h.
58752         * sysdeps/generic/sys/param.h: File removed.
58753         * sysdeps/unix/sysv/linux/bits/param.h: New file.
58754         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
58755         * sysdeps/mach/hurd/bits/param.h: New file.
58756         * sysdeps/mach/hurd/sys/param.h: File removed.
58758         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
58759         last change.
58761         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
58762         [_IO_MTSAFE_IO].
58763         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
58764         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
58765         New macros.
58767         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
58768         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
58769         rather than -D_IO_MTSAFE_IO conditionally.
58770         * stdio-common/Makefile (CPPFLAGS): Likewise.
58771         * wcsmbs/Makefile (CPPFLAGS): Likewise.
58772         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
58773         Use $(libio-mtsafe).
58774         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
58775         of -D_IO_MTSAFE_IO.
58776         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
58777         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
58778         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
58779         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
58780         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
58781         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
58782         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
58783         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
58784         (CFLAGS-fread_u_chk.c): Likewise.
58785         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
58786         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
58787         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
58788         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
58789         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
58790         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
58791         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
58792         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
58793         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
58795         * libio/Makefile: Test [$(libc-reentrant) = yes]
58796         instead of [$(filter %REENTRANT, $(defines)) nonempty].
58798         * Makeconfig
58799         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
58800         * sysdeps/pthread/configure: File removed.
58801         * sysdeps/pthread/Makeconfig: New file.
58802         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
58803         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
58805 2012-08-16  Gary Benson  <gbenson@redhat.com>
58807         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
58808         unmapping the first object in a namespace.
58810 2012-08-16  Roland McGrath  <roland@hack.frob.com>
58812         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
58813         (__internal_setnetgrent): ... this.  Add internal_function to
58814         definition.  Add libc_hidden_def.
58815         (setnetgrent): Update caller.
58816         (internal_endnetgrent): Renamed to ...
58817         (__internal_endnetgrent): ... this.  Add internal_function to
58818         definition.  Add libc_hidden_def.
58819         (endnetgrent): Update caller.
58820         (internal_getnetgrent_r): Renamed to ...
58821         (__internal_getnetgrent_r): ... this.  Add internal_function to
58822         definition.  Add libc_hidden_def.
58823         (__getnetgrent_r): Update caller.
58824         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
58826 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
58828         * stdlib/longlong.h: Update from GCC.
58830 2012-08-16  Roland McGrath  <roland@hack.frob.com>
58832         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
58833         on _QL, which is set by umul_ppmm but never used.
58834         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
58835         variables, which are set by GMP macros but never used.
58836         * stdio-common/_itowa.c (_itowa): Likewise.
58837         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
58838         * stdlib/mod_1.c (mpn_mod_1): Likewise.
58840 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
58842         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
58843         struct La_sh_regs is not constant.
58844         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
58845         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
58846         and struct La_sparc64_regs are not constant.
58848 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
58850         * sysdeps/unix/sysv/linux/kernel-features.h
58851         (__ASSUME_POSIX_TIMERS): Remove.
58852         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
58853         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
58854         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
58855         Make code unconditional.
58856         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
58857         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
58858         Make code unconditional.
58859         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
58860         * sysdeps/unix/sysv/linux/clock_nanosleep.c
58861         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
58862         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
58863         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
58864         Make code unconditional.
58865         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
58866         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
58867         (__libc_missing_posix_timers): Remove.
58869 2012-08-15  Roland McGrath  <roland@hack.frob.com>
58871         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
58872         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
58874         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
58876         * elf/dl-sym.c: Include <stdlib.h>.
58878         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
58879         constants, which avoids warnings in 32-bit builds.
58881         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
58882         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
58884         * misc/lseek.c: File moved to ...
58885         * io/lseek.c: ... here.
58887         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
58889         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
58890         shifting LEN more than 31 bits at once.
58892 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
58894         [BZ #14195]
58895         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
58896         segmentation fault for a case of two empty input strings.
58897         * string/test-strncasecmp.c (check1): Renamed to...
58898         (bz12205): ...this.
58899         (bz14195): Add new testcase for two empty input strings and N > 0.
58900         (test_main): Call new testcase, adapt for renamed function.
58902 2012-08-15  Andreas Jaeger  <aj@suse.de>
58904         [BZ #14090]
58905         * crypt/md5test2.c: New test, based on test supplied by Serge
58906         Belyshev <belyshev@depni.sinp.msu.ru>.
58907         * crypt/Makefile (xtests): Add md5test-giant..
58908         * crypt/Makefile ($(objpfx)md5test-giant): Add.
58910 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
58912         [BZ #14090]
58913         * crypt/md5.c (md5_process_block): Don't assume the buffer
58914         length is less than 2**32.
58915         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
58916         length is less than 2**64.
58918 2012-08-15  Roland McGrath  <roland@hack.frob.com>
58920         * string/str-two-way.h: Include <sys/param.h>.
58921         (MAX): Macro removed.
58923         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
58924         Move #define and #undef of memmove to just before and after
58925         including <string.h>.
58927         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
58928         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
58929         and after including <string.h>.  Move declarations of
58930         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
58931         to before #include "string/memmove.c".
58933         * include/dirent.h: Declare __getdirentries.
58935         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
58936         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
58938 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
58940         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
58941         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
58942         * sysdeps/i386/configure: Regenerated.
58943         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
58944         STABS_CURRENT_FILE, and STABS_FUN.
58945         (END): Remove call to STABS_FUN_END.
58946         (STABS_CURRENT_FILE1): Delete.
58947         (STABS_CURRENT_FILE): Likewise.
58948         (STABS_FUN): Likewise.
58949         (STABS_FUN_END): Likewise.
58950         (STABS_FUN2): Likewise.
58951         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
58952         * sysdeps/x86_64/configure: Regenerated.
58954 2012-08-14  Roland McGrath  <roland@hack.frob.com>
58956         * elf/dl-open.c: Include <atomic.h>.
58957         * elf/dl-lookup.c: Likewise.
58959 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
58961         * sysdeps/unix/sysv/linux/kernel-features.h
58962         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
58963         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
58964         unconditionally.
58965         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
58966         unconditionally.
58967         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
58968         condition on __ASSUME_CLONE_THREAD_FLAGS.
58970 2012-08-14  Andreas Jaeger  <aj@suse.de>
58972         * sysdeps/i386/fpu/libm-test-ulps: Update.
58974 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
58976         * include/atomic.h (atomic_exchange_and_add): Split into ...
58977         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
58978         New atomic macros.
58980 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
58982         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
58984 2012-08-13  Jeff Law <law@redhat.com>
58986         * manual/stdio.texi (snprintf): Clarify handling of the trailing
58987         null byte in the output string.
58989 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
58991         * sysdeps/unix/sysv/linux/kernel-features.h
58992         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
58993         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
58994         (__ASSUME_ARG_MAX_STACK_BASED): Define.
58995         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
58996         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
58997         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
58998         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
59000 2012-08-09  Jeff Law <law@redhat.com>
59002         [BZ #13939]
59003         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
59004         When avoid_arena is set, don't retry in the that arena.  Pick the
59005         next one, whatever it might be.
59006         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
59007         (arena_lock): Pass in new parameter to arena_get2.
59008         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
59009         arena_get2.
59010         (__libc_malloc): Unify retrying after main arena failure with
59011         __libc_memalign version.
59012         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
59014 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
59016         [BZ #14166]
59017         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
59018         to __redirect_strstr.
59019         (__strstr_sse42): Use typeof __redirect_strstr.
59020         (__strstr_ia32): Likewise.
59021         (__libc_strstr): New prototype.
59022         (strstr): Renamed to ...
59023         (__libc_strstr): This.
59024         (strstr): New strong alias of __libc_strstr.
59025         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
59026         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
59027         __redirect_time.
59028         Include <time.h>.
59029         (__libc_time): New prototype.
59030         (time_ifunc): Replace time with __libc_time.
59031         (time): New strong alias and hidden definition of __libc_time.
59032         (__GI_time): Remove strong alias.
59033         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
59034         Include <stddef.h>.
59035         (memmove): Redefined to __redirect_memmove.
59036         (__memmove_sse2): Use typeof __redirect_memmove.
59037         (__memmove_ssse3): Likewise.
59038         (__memmove_ssse3_back): Likewise.
59039         (__libc_memmove): New prototype.
59040         (memmove): Renamed to ...
59041         (__libc_memmove): This.
59042         (memmove): New strong alias of __libc_memmove.
59044 2012-08-08  Mark Salter  <msalter@redhat.com>
59046         * elf/elf.h
59047         (R_MN10300_TLS_GD): Define.
59048         (R_MN10300_TLS_LD): Likewise.
59049         (R_MN10300_TLS_LDO): Likewise.
59050         (R_MN10300_TLS_GOTIE): Likewise.
59051         (R_MN10300_TLS_IE): Likewise.
59052         (R_MN10300_TLS_LE): Likewise.
59053         (R_MN10300_TLS_DTPMOD): Likewise.
59054         (R_MN10300_TLS_DTPOFF): Likewise.
59055         (R_MN10300_TLS_TPOFF): Likewise.
59056         (R_MN10300_SYM_DIFF): Likewise.
59057         (R_MN10300_ALIGN): Likewise.
59058         (R_MN10300_NUM): Update.
59060 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
59062         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
59063         Remove.
59065 2012-08-08  Roland McGrath  <roland@hack.frob.com>
59067         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
59069         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
59070         sysdeps/unix -> sysdeps/posix move.
59071         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
59073 2012-08-07      Allan McRae     <allan@archlinux.org>
59075         [BZ #14303]
59076         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
59077         (SUNOS_CPP): Likewise.
59078         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
59079         not found.
59080         (open_input): Call CPP using execvp.
59082 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
59084         * sysdeps/unix/sysv/linux/kernel-features.h
59085         (__ASSUME_PROT_GROWSUPDOWN): Remove.
59086         (__ASSUME_NO_CLONE_DETACHED): Likewise.
59087         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
59088         (__ASSUME_WAITID_SYSCALL): Likewise.
59089         * sysdeps/unix/sysv/linux/dl-execstack.c
59090         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
59091         code unconditional.
59092         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
59093         conditional code.
59094         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
59095         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
59096         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
59097         code.
59098         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
59099         unconditional.
59100         [__ASSUME_WAITID_SYSCALL]: Likewise.
59101         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
59103 2012-08-07  Roland McGrath  <roland@hack.frob.com>
59105         * sysdeps/unix/closedir.c: Renamed to ...
59106         * sysdeps/posix/closedir.c: ... here.
59107         * sysdeps/unix/dirfd.c: Renamed to ...
59108         * sysdeps/posix/dirfd.c: ... here.
59109         * sysdeps/unix/dirstream.h: Renamed to ...
59110         * sysdeps/posix/dirstream.h: ... here.
59111         * sysdeps/unix/fdopendir.c: Renamed to ...
59112         * sysdeps/posix/fdopendir.c: ... here.
59113         * sysdeps/unix/opendir.c: Renamed to ...
59114         * sysdeps/posix/opendir.c: ... here.
59115         * sysdeps/unix/readdir.c: Renamed to ...
59116         * sysdeps/posix/readdir.c: ... here.
59117         * sysdeps/unix/readdir_r.c: Renamed to ...
59118         * sysdeps/posix/readdir_r.c: ... here.
59119         * sysdeps/unix/rewinddir.c: Renamed to ...
59120         * sysdeps/posix/rewinddir.c: ... here.
59121         * sysdeps/unix/seekdir.c: Renamed to ...
59122         * sysdeps/posix/seekdir.c: ... here.
59123         * sysdeps/unix/telldir.c: Renamed to ...
59124         * sysdeps/posix/telldir.c: ... here.
59125         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
59126         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
59127         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
59128         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
59130         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
59131         * bits/fcntl.h: ... here.
59133         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
59134         not 0.
59135         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
59136         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
59137         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
59138         (struct flock): Move l_start, l_len to the beginning.
59139         Use __pid_t for l_pid.
59140         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
59141         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
59142         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
59143         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
59144         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
59145         [__USE_LARGEFILE64] (struct flock64): New type.
59146         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
59148         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
59149         * bits/dirent.h: ... here.
59151         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
59152         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
59154 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
59156         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
59157         Change from 2.6.0 to 2.6.16.
59158         * sysdeps/unix/sysv/linux/configure: Regenerated.
59159         * sysdeps/unix/sysv/linux/kernel-features.h
59160         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
59161         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
59162         version.
59163         (__ASSUME_UTIMES): Likewise.
59164         (__ASSUME_CLONE_STOPPED): Remove.
59165         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
59166         architectures, not kernel version.
59167         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
59168         (__ASSUME_NO_CLONE_DETACHED): Likewise.
59169         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
59170         (__ASSUME_WAITID_SYSCALL): Likewise.
59171         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
59172         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
59173         * README: State 2.6.16 as minimum Linux kernel version.  Do not
59174         refer to older versions.
59176 2012-08-06  Roland McGrath  <roland@hack.frob.com>
59178         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
59179         Define alphasort64 as an alias.
59180         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
59181         Define versionsort64 as an alias.
59182         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
59183         Define scandir64 as an alias.
59184         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
59185         Define scandirat64 as an alias.
59186         * dirent/alphasort64.c (alphasort64):
59187         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
59188         * dirent/versionsort64.c: Likewise.
59189         * dirent/scandir64.c: Likewise.
59190         * dirent/scandirat64.c: Likewise.
59191         * sysdeps/wordsize-64/alphasort.c: File removed.
59192         * sysdeps/wordsize-64/alphasort64.c: File removed.
59193         * sysdeps/wordsize-64/scandir.c: File removed.
59194         * sysdeps/wordsize-64/scandir64.c: File removed.
59195         * sysdeps/wordsize-64/scandirat.c: File removed.
59196         * sysdeps/wordsize-64/scandirat64.c: File removed.
59197         * sysdeps/wordsize-64/versionsort.c: File removed.
59198         * sysdeps/wordsize-64/versionsort64.c: File removed.
59199         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
59200         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
59201         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
59202         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
59203         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
59204         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
59205         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
59206         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
59208         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
59209         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
59210         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
59211         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
59212         [defined __arch64__ || defined __sparcv9]
59213         (__INO_T_MATCHES_INO64_T): New macro.
59214         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
59215         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
59216         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
59217         * sysdeps/unix/sysv/linux/bits/dirent.h
59218         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
59219         (_DIRENT_MATCHES_DIRENT64): New macro.
59221         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
59222         Define lockf64 as an alias.
59223         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
59224         Define fseeko64 as an alias.
59225         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
59226         Define ftello64 as an alias.
59227         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
59228         Define _IO_fgetpos64 and fgetpos64 as aliases.
59229         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
59230         Define _IO_fsetpos64 and fsetpos64 as aliases.
59231         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
59232         Conditionalize body on this.
59233         * libio/fseeko64.c: Likewise.
59234         * libio/ftello64.c: Likewise.
59235         * libio/iofgetpos64.c: Likewise.
59236         * libio/iofsetpos64.c: Likewise.
59237         * sysdeps/wordsize-64/lockf.c: File removed.
59238         * sysdeps/wordsize-64/lockf64.c: File removed.
59239         * sysdeps/wordsize-64/fseeko.c: File removed.
59240         * sysdeps/wordsize-64/fseeko64.c: File removed.
59241         * sysdeps/wordsize-64/ftello.c: File removed.
59242         * sysdeps/wordsize-64/ftello64.c: File removed.
59243         * sysdeps/wordsize-64/iofgetpos.c: File removed.
59244         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
59245         * sysdeps/wordsize-64/iofsetpos.c: File removed.
59246         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
59247         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
59248         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
59249         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
59250         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
59251         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
59252         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
59253         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
59254         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
59255         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
59256         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
59258         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
59259         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
59260         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
59261         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
59262         [defined __arch64__ || defined __sparcv9]
59263         (__OFF_T_MATCHES_OFF64_T): New macro.
59264         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
59265         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
59266         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
59267         (__OFF_T_MATCHES_OFF64_T): New macro.
59269 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
59271         * stdlib/secure-getenv.c (__secure_getenv): Replace
59272         GLIBC_2_16 with GLIBC_2_17.
59274 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
59276         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
59277         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
59279 2012-08-03  David S. Miller  <davem@davemloft.net>
59281         * sysdeps/sparc/fpu/libm-test-ulps: Update.
59283 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
59285         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
59286         Remove.
59287         (__ASSUME_CORRECT_SI_PID): Likewise.
59288         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
59289         (__ASSUME_TMPFS_NAME): Likewise.
59290         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
59291         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
59292         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
59293         (HAVE_AUX_SECURE): Make definition unconditional.
59294         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
59295         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
59297 2012-08-03  Roland McGrath  <roland@hack.frob.com>
59299         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
59300         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
59301         * sysdeps/mach/hurd/eloop-threshold.h: New file.
59302         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
59303         __eloop_threshold instead of SYMLOOP_MAX.
59305         * sysdeps/generic/eloop-threshold.h: New file.
59306         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
59307         of MAXSYMLINKS.
59308         * elf/chroot_canon.c (chroot_canon): Likewise.
59310 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
59312         [BZ #13717]
59313         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
59314         Change to 2.6.0 everywhere.
59315         * sysdeps/unix/sysv/linux/configure: Regenerated.
59316         * sysdeps/unix/sysv/linux/kernel-features.h
59317         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
59318         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
59319         kernel versions.
59320         (__ASSUME_POSIX_TIMERS): Define unconditionally.
59321         (__ASSUME_FUTEX_REQUEUE): Remove.
59322         (__ASSUME_STATFS64): Define unconditionally.
59323         (__ASSUME_AT_SECURE): Likewise.
59324         (__ASSUME_CORRECT_SI_PID): Likewise.
59325         (__ASSUME_TGKILL): Define without depending on kernel version for
59326         i386.
59327         (__ASSUME_UTIMES): Likewise.
59328         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
59329         kernel version.
59330         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
59331         (__ASSUME_TMPFS_NAME): Likewise.
59332         * README: Update reference to Linux kernel versions.
59334 2012-08-02  Marek Polacek  <polacek@redhat.com>
59336         [BZ# 14150]
59337         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
59338         libc_cv_asm_type_prefix with %.
59339         * configure: Regenerated.
59340         * include/libc-symbols.h: Remove comment about
59341         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
59342         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
59343         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
59344         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
59345         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
59346         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
59347         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
59348         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
59349         * elf/tst-unique2mod1.c: Likewise.
59350         * elf/tst-unique1mod2.c: Likewise.
59351         * elf/tst-unique1mod1.c: Likewise.
59352         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
59353         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
59354         Replace ASM_TYPE_DIRECTIVE with .type.
59355         * sysdeps/s390/s390-64/sysdep.h: Likewise.
59356         * sysdeps/i386/sysdep.h: Likewise.
59357         * sysdeps/x86_64/sysdep.h: Likewise.
59358         * sysdeps/sh/sysdep.h: Likewise.
59359         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
59360         Do not define ASM_TYPE_DIRECTIVE.
59361         * sysdeps/powerpc/sysdep.h: Likewise.
59362         * sysdeps/powerpc/powerpc32/sysdep.h:
59363         Replace ASM_TYPE_DIRECTIVE with .type.
59364         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
59365         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
59366         * sysdeps/i386/fpu/e_powf.S: Likewise.
59367         * sysdeps/i386/fpu/e_expl.S: Likewise.
59368         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
59369         * sysdeps/i386/fpu/e_acosh.S: Likewise.
59370         * sysdeps/i386/fpu/e_pow.S: Likewise.
59371         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
59372         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
59373         * sysdeps/i386/fpu/s_expm1.S: Likewise.
59374         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
59375         * sysdeps/i386/fpu/e_log2.S: Likewise.
59376         * sysdeps/i386/fpu/e_log2l.S: Likewise.
59377         * sysdeps/i386/fpu/e_scalb.S: Likewise.
59378         * sysdeps/i386/fpu/e_powl.S: Likewise.
59379         * sysdeps/i386/fpu/e_log10f.S: Likewise.
59380         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
59381         * sysdeps/i386/fpu/e_logl.S: Likewise.
59382         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
59383         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
59384         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
59385         * sysdeps/i386/fpu/e_log2f.S: Likewise.
59386         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
59387         * sysdeps/i386/fpu/e_log.S: Likewise.
59388         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
59389         * sysdeps/i386/fpu/e_logf.S: Likewise.
59390         * sysdeps/i386/fpu/e_log10l.S: Likewise.
59391         * sysdeps/i386/fpu/e_atanh.S: Likewise.
59392         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
59393         * sysdeps/i386/fpu/e_log10.S: Likewise.
59394         * sysdeps/i386/fpu/s_frexp.S: Likewise.
59395         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
59396         * sysdeps/i386/fpu/s_asinh.S: Likewise.
59397         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
59398         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
59399         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
59400         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
59401         * sysdeps/i386/i686/strtok.S: Likewise.
59402         * sysdeps/i386/i386-mcount.S: Likewise.
59403         * sysdeps/i386/strtok.S: Likewise.
59404         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
59405         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
59406         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
59407         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
59408         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
59409         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
59410         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
59411         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
59412         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
59413         * sysdeps/x86_64/_mcount.S: Likewise.
59414         * sysdeps/x86_64/strtok.S: Likewise.
59415         * sysdeps/sh/_mcount.S: Likewise.
59417 2012-08-01  Roland McGrath  <roland@hack.frob.com>
59419         * libio/iofopen.c: Include <fcntl.h>.
59420         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
59421         (_IO_fopen64, fopen64): Define as aliases.
59422         * libio/iofopen64.c: Include <fcntl.h>.
59423         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
59424         Conditionalize body on this.
59425         * sysdeps/wordsize-64/iofopen.c: File removed.
59426         * sysdeps/wordsize-64/iofopen64.c: File removed.
59428 2012-08-01  Marek Polacek  <polacek@redhat.com>
59430         * libc/Makeconfig: Use elf in place of binfmt-subdir.
59431         Use dlfcn directly instead of a variable.
59432         (binfmt-subdir): Do not define.
59433         (dlfcn): Likewise.
59435 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
59437         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
59438         Remove all definitions.
59439         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
59440         <kernel-features.h>.
59441         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
59442         (miss_F_GETOWN_EX): Remove all definitions.
59443         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
59444         macro definition.
59445         [!__ASSUME_FCNTL64]: Remove conditional code.
59446         [__ASSUME_FCNTL64]: Make code unconditional.
59447         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
59448         <kernel-features.h>.
59449         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
59450         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
59451         (lockf64) [__NR_fcntl64]: Make code unconditional.
59452         (lockf64) [__ASSUME_FCNTL64]: Likewise.
59454         * sysdeps/unix/sysv/linux/kernel-features.h
59455         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
59456         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
59457         Make code unconditional.
59458         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
59459         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
59460         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
59461         [__NR_vfork]: Make code unconditional.
59462         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
59463         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
59464         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
59465         [__NR_vfork]: Make code unconditional.
59466         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
59467         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
59469 2012-08-01  Roland McGrath  <roland@hack.frob.com>
59471         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
59472         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
59474         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
59475         Define mkstemp64 as an alias.
59476         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
59477         Define mkstemps64 as an alias.
59478         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
59479         Define mkostemp64 as an alias.
59480         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
59481         Define mkostemps64 as an alias.
59482         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
59483         Conditionalize body on this.
59484         * misc/mkostemp64.c: Likewise.
59485         * misc/mkostemps64.c: Likewise.
59486         * misc/mkstemps64.c: Likewise.
59487         * sysdeps/wordsize-64/mkstemp64.c: File removed.
59488         * sysdeps/wordsize-64/mkostemp64.c: File removed.
59489         * sysdeps/wordsize-64/mkostemp.c: File removed.
59490         * sysdeps/wordsize-64/mkstemp.c: File removed.
59491         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
59492         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
59493         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
59494         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
59496         [BZ #14138]
59497         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
59498         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
59499         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
59500         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
59502         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
59503         compat_symbol macros from <shlib-compat.h> rather than the underlying
59504         default_symbol_version and symbol_version macros, so that DEFAULT
59505         lines in shlib-versions are respected.
59506         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
59508 2012-08-01  Florian Weimer  <fweimer@redhat.com>
59510         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
59511         Declare with warn_unused_result.
59512         (setgid, setregid, setegid, setresgid): Likewise.
59513         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
59514         Likewise.
59515         * WUR-REPORT: Remove set*id functions.
59517 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
59519         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
59521 2012-07-31  Roland McGrath  <roland@hack.frob.com>
59523         [BZ #10191]
59524         * include/sys/socket.h (__libc_accept, __libc_accept4):
59525         Add attribute_hidden.
59526         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
59528         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
59529         use of PTR_MANGLE.
59530         * inet/getnetgrent_r.c (setup): Likewise.
59532         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
59534 2012-07-31  David S. Miller  <davem@davemloft.net>
59536         * sysdeps/sparc/fpu/libm-test-ulps: Update.
59538 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
59540         [BZ #13629]
59541         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
59542         value between 1.0 and 2.0 and smaller part has absolute value less
59543         than 1.0.
59544         * math/s_clog10.c (__clog10): Likewise.
59545         * math/s_clog10f.c (__clog10f): Likewise.
59546         * math/s_clog10l.c (__clog10l): Likewise.
59547         * math/s_clogf.c (__clogf): Likewise.
59548         * math/s_clogl.c (__clogl): Likewise.
59549         * math/libm-test.inc (clog_test): Add more tests.
59550         (clog10_test): Likewise.
59551         * sysdeps/i386/fpu/libm-test-ulps: Update.
59552         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
59554 2012-07-31  Florian Weimer  <fweimer@redhat.com>
59556         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
59557         Exit with zero in case no suitable GID is found, and write a
59558         message to standard error.
59560 2012-07-30  Roland McGrath  <roland@hack.frob.com>
59562         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
59563         rather than to 1.
59564         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
59565         (MAXPATHLEN): Removed.
59566         (NOGROUP, NODEV): New macros.
59567         (setbit, clrbit, isset, isclr): New macros.
59568         (howmany, roundup, powerof2): New macros.
59569         (DEV_BSIZE): New macro.
59571         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
59572         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
59574         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
59575         definition on [!__NO_LONG_DOUBLE_MATH].
59577         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
59578         PTR_MANGLE and PTR_DEMANGLE.
59580         * socket/accept4.c (accept4): Rename to __libc_accept4.
59581         Define accept4 as a weak alias.
59583         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
59584         on [_DIRENT_HAVE_D_TYPE].
59585         * io/ftw.c (ftw_dir): Likewise.
59587         * io/xmknod.c (__xmknod): Don't check PATH for being null.
59589         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
59591         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
59592         Use the BSD numbers rather than the arbitrary ones we had.
59593         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
59594         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
59595         (SIGXCPU, SIGXFSZ): New macros.
59596         (_NSIG): Now 32.
59598         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
59599         initializer on [_LIBC_REENTRANT].
59601         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
59602         definitions inside [_POSIX_MAPPED_FILES].
59604         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
59606         * dirent/opendir.c: Include <fcntl.h>.
59608         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
59609         (__libc_getspecific): Likewise.
59610         (__libc_key_create): Likewise.
59612         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
59613         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
59614         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
59615         (tmpfile64): Define as alias.
59616         * sysdeps/wordsize-64/tmpfile.c: File removed.
59617         * sysdeps/wordsize-64/tmpfile64.c: File removed.
59618         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
59619         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
59621         * stdio-common/vfscanf.c: Include <stdbool.h>.
59622         * nss/makedb.c: Likewise.
59623         * stdio-common/_i18n_number.h: Likewise.
59624         * argp/argp-help.c: Likewise.
59625         * posix/wordexp.c: Likewise.
59626         * sysdeps/posix/spawni.c: Likewise.
59627         * nss/nss_files/files-initgroups.c: Likewise.
59628         * stdio-common/reg-modifier.c: Include <stdlib.h>.
59629         * nss/nss_files/files-initgroups.c: Likewise.
59630         * nss/nss_db/db-netgrp.c: Likewise.
59631         * nss/nss_db/db-initgroups.c: Likewise.
59632         * io/fchmodat.c: Include <sys/stat.h>.
59634         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
59635         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
59637         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
59638         [HAVE_MMAP].
59640         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
59641         Add multiple inclusion protection.
59643 2012-07-27  David S. Miller  <davem@davemloft.net>
59645         * sysdeps/sparc/fpu/libm-test-ulps: Update.
59647 2012-07-27  Gary Benson  <gbenson@redhat.com>
59649         [BZ #14298]
59650         * elf/rtld.c: Include <stap-probe.h>.
59651         (dl_main): Added static probes "init_start" and "init_complete".
59652         * elf/dl-load.c: Include <stap-probe.h>.
59653         (lose): Take new parameter "nsid".
59654         Added static probe "map_failed".
59655         (_dl_map_object_from_fd): Pass namespace id to lose.
59656         Added static probe "map_start".
59657         (open_verify): Pass namespace id to lose.
59658         * elf/dl-open.c: Include <stap-probe.h>.
59659         (dl_open_worker) Added static probes "map_complete", "reloc_start"
59660         and "reloc_complete".
59661         * elf/dl-close.c: Include <stap-probe.h>.
59662         (_dl_close_worker): Added static probes "unmap_start" and
59663         "unmap_complete".
59664         * elf/rtld-debugger-interface.txt: New file documenting the above.
59666 2012-07-26  Roland McGrath  <roland@hack.frob.com>
59668         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
59669         rather than a string variable.
59670         * sunrpc/rpc_main.c (h_output): Likewise.
59671         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
59673 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
59675         * inet/check_native.c: New file.
59677 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
59679         [BZ #13629]
59680         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
59681         if larger part has absolute value 1.0.
59682         * math/s_clog10.c (__clog10): Likewise.
59683         * math/s_clog10f.c (__clog10f): Likewise.
59684         * math/s_clog10l.c (__clog10l): Likewise.
59685         * math/s_clogf.c (__clogf): Likewise.
59686         * math/s_clogl.c (__clogl): Likewise.
59687         * math/libm-test.inc (clog_test): Add more tests.
59688         (clog10_test): Likewise.
59689         * sysdeps/i386/fpu/libm-test-ulps: Update.
59690         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
59692         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
59693         (pltexit): Likewise.
59694         (La_regs): Likewise.
59695         (La_retval): Likewise.
59696         (int_retval): Likewise.
59697         Update #error for removed macros to refer only to definitions in
59698         tst-audit.h.
59699         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
59700         macro.
59701         (pltexit): Likewise.
59702         (La_regs): Likewise.
59703         (La_retval): Likewise.
59704         (int_retval): Likewise.
59705         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
59706         macro.
59707         (pltexit): Likewise.
59708         (La_regs): Likewise.
59709         (La_retval): Likewise.
59710         (int_retval): Likewise.
59711         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
59712         macro.
59713         (pltexit): Likewise.
59714         (La_regs): Likewise.
59715         (La_retval): Likewise.
59716         (int_retval): Likewise.
59717         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
59718         macro.
59719         (pltexit): Likewise.
59720         (La_regs): Likewise.
59721         (La_retval): Likewise.
59722         (int_retval): Likewise.
59723         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
59724         macro.
59725         (pltexit): Likewise.
59726         (La_regs): Likewise.
59727         (La_retval): Likewise.
59728         (int_retval): Likewise.
59729         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
59730         macro.
59731         (pltexit): Likewise.
59732         (La_regs): Likewise.
59733         (La_retval): Likewise.
59734         (int_retval): Likewise.
59735         * sysdeps/generic/tst-audit.h: Update comment to refer only to
59736         macro definitions in tst-audit.h.
59737         * sysdeps/i386/tst-audit.h: New file.
59738         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
59739         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
59740         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
59741         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
59742         * sysdeps/sh/tst-audit.h: Likewise.
59743         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
59744         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
59745         * sysdeps/x86_64/tst-audit.h: Likewise.
59747 2012-07-26  Andreas Jaeger  <aj@suse.de>
59749         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
59750         ptrace.
59752         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
59753         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
59754         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
59755         PTRACE_O_MASK.
59756         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
59757         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
59758         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
59760         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
59761         value.
59763         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
59764         _sigsys.
59765         (si_call_addr, si_syscall, si_arch): Define new macro.
59766         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
59767         _sigsys.
59768         (si_call_addr, si_syscall, si_arch): Define new marcro.
59769         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
59770         _sigsys.
59771         (si_call_addr, si_syscall, si_arch): Define new macro.
59772         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
59773         _sigsys.
59774         (si_call_addr, si_syscall, si_arch): Define new macro.
59776 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
59778         [BZ #13717]
59779         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
59780         Change to 2.4.21 where previously 2.4.1.
59781         * sysdeps/unix/sysv/linux/configure: Regenerated.
59782         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
59783         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
59784         Linux kernel version.
59785         (__ASSUME_STD_AUXV): Remove.
59786         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
59787         kernel version.
59788         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
59789         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
59790         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
59791         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
59792         (__ASSUME_NETLINK_SUPPORT): Likewise.
59793         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
59794         (__no_netlink_support): Remove conditional definition.
59795         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
59796         Remove.
59797         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
59798         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
59799         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
59800         (if_nameindex_ioctl): Remove.
59801         (if_nameindex_netlink): Do not handle __no_netlink_support.
59802         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
59803         code.
59804         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
59805         Remove conditional code.
59806         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
59807         code.
59808         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
59809         unconditional.
59810         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
59811         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
59812         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
59813         Remove.
59814         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
59815         [!__ASSUME_STD_AUXV]: Remove conditional code.
59816         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
59817         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
59818         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
59819         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
59820         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
59821         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
59822         code.
59823         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
59824         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
59825         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
59826         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
59827         conditional code.
59828         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
59829         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
59830         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
59831         code.
59832         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
59833         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
59834         conditional code.
59835         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
59836         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
59837         code unconditional.
59838         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
59839         conditional code.
59840         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
59841         unconditional.
59842         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
59843         conditional code.
59844         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
59845         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
59846         unconditional.
59847         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
59848         conditional code.
59849         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
59850         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
59851         code unconditional.
59852         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
59853         conditional code.
59854         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
59855         unconditional.
59856         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
59857         conditional code.
59858         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
59859         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
59860         code unconditional.
59861         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
59862         conditional code.
59863         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
59864         unconditional.
59865         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
59866         conditional code.
59868 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
59870         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
59871         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
59872         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
59873         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
59874         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
59875         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
59876         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
59877         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
59878         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
59879         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
59880         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
59881         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
59882         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
59883         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
59884         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
59885         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
59886         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
59887         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
59888         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
59889         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
59890         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
59891         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
59892         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
59894 2012-07-25  Florian Weimer  <fweimer@redhat.com>
59896         * Versions.def: Add GLIBC_2.17.
59897         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
59898         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
59899         Introduce __libc_secure_getenv.
59900         * stdlib/Versions (2.17): Add secure_getenv
59901         (GLIBC_PRIVATE): Add __libc_secure_getenv.
59902         * stdlib/secure-getenv.c: Rename __secure_getenv to
59903         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
59904         symbol __secure_getenv for GLIBC_2.0.
59905         * stdlib/tst-secure-getenv.c: New.
59906         * stdlib/Makefile (tests): Add testcase.
59907         * manual/startup.texi (Environment Access): Document
59908         secure_getenv.
59909         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
59910         __libc_secure_getenv.
59911         * inet/ruserpass.c (ruserpass): Likewise.
59912         * malloc/mtrace.c (mtrace): Likewise.
59913         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
59914         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
59915         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
59916         * sysdeps/posix/tempname.c: Likewise.  Evaluate
59917         HAVE_SECURE_GETENV.
59918         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
59919         __secure_getenv to __libc_secure_getenv.
59920         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
59921         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
59922         Likewise.
59923         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
59924         Likewise.
59925         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
59926         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
59927         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
59928         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
59929         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
59930         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
59931         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
59933 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
59935         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
59936         (struct La_i86_retval): Likewise.
59937         (struct La_x86_64_regs): Likewise.
59938         (struct La_x86_64_retval): Likewise.
59939         (struct La_x32_regs): Likewise.
59940         (struct La_x32_retval): Likewise.
59941         (struct La_ppc32_regs): Likewise.
59942         (struct La_ppc32_retval): Likewise.
59943         (struct La_ppc64_regs): Likewise.
59944         (struct La_ppc64_retval): Likewise.
59945         (struct La_sh_regs): Likewise.
59946         (struct La_sh_retval): Likewise.
59947         (struct La_s390_32_regs): Likewise.
59948         (struct La_s390_32_retval): Likewise.
59949         (struct La_s390_64_regs): Likewise.
59950         (struct La_s390_64_retval): Likewise.
59951         (struct La_sparc32_regs): Likewise.
59952         (struct La_sparc32_retval): Likewise.
59953         (struct La_sparc64_regs): Likewise.
59954         (struct La_sparc64_retval): Likewise.
59955         (struct audit_ifaces): Remove architecture-specific pltenter and
59956         pltexit members.
59957         * sysdeps/i386/ldsodefs.h: New file.
59958         * sysdeps/powerpc/ldsodefs.h: Likewise.
59959         * sysdeps/s390/ldsodefs.h: Likewise.
59960         * sysdeps/sh/ldsodefs.h: Likewise.
59961         * sysdeps/sparc/ldsodefs.h: Likewise.
59962         * sysdeps/x86_64/ldsodefs.h: Likewise.
59964 2012-07-25  Marek Polacek  <polacek@redhat.com>
59966         [BZ #6808]
59967         * math/libm-test.inc (yn_test): Add another test.
59968         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
59969         to ERANGE when the result is +-Inf.
59970         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
59971         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
59972         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
59973         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
59975 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
59977         * conform/data/time.h-data (NULL): Use macro-constant.  Require
59978         equal to 0.
59979         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
59980         clock_t.
59981         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
59983 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
59985         * configure.in <sysdeps resolving>: Correct printing
59986         Implies_before.
59987         * configure: Regenerate.
59989 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
59991         * math/w_ilogb.c: Include <limits.h>.
59992         * math/w_ilogbl.c: Likewise.
59994 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
59996         * manual/lang.texi (__va_copy): Document primarily as ISO C99
59997         va_copy.  Document allowing for unavailable va_copy only as
59998         pre-C99 compatibility.
59999         * manual/string.texi (Copying and Concatenation): Use va_copy
60000         instead of __va_copy in concat example.
60002 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
60004         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
60005         (__sendto): Use create_address_port.  Initialize APORT and deallocate
60006         it if not null.
60008         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
60009         with O_NOLINK passed to __file_name_lookup.
60011         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
60012         with O_NOLINK passed to __file_name_lookup.
60014         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
60015         negative N or less than NGIDS.
60017         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
60018         type to string_t.  Set ERANGE as errno and return it if NAME is not big
60019         enough.  Use memcpy instead of strncpy.
60021 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
60023         * elf/Makefile (check-data): Remove.
60024         (localplt.data): New vpath directive.
60025         ($(objpfx)check-localplt.out): Use localplt.data from vpath
60026         instead of $(check-data).
60027         * scripts/data/localplt-generic.data: Move to ...
60028         * sysdeps/generic/localplt.data: ... here.
60029         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
60030         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
60031         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
60032         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
60033         ... here.
60034         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
60035         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
60036         ... here.
60037         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
60038         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
60039         ... here.
60040         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
60041         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
60042         ... here.
60043         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
60044         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
60045         ... here.
60046         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
60047         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
60048         ... here.
60050 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
60052         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
60053         PPC32 and PPC64 files.
60054         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
60055         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
60057 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
60059         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
60060         __makecontext_ret to ...
60061         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
60062         ... here and call exit if uc_link is NULL.  New file.
60063         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
60064         __makecontext_ret.S.
60065         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
60066         __makecontext_ret to ...
60067         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
60068         ... here and call exit if uc_link is NULL.  New file.
60069         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
60070         __makecontext_ret.S.
60072 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
60074         * elf/elf.h (R_390_IRELATIVE): New definition.
60075         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
60076         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
60077         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
60078         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
60079         (elf_machine_lazy_rel): Likewise.
60080         * sysdeps/s390/dl-irel.h: New file.
60081         * sysdeps/s390/s390-64/memcpy.S: New asm code.
60082         * sysdeps/s390/s390-64/memset.S: New asm code.
60083         * sysdeps/s390/s390-64/memcmp.S: New asm code.
60084         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
60085         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
60086         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
60087         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
60088         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
60089         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
60090         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
60091         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
60092         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
60093         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
60094         * sysdeps/s390/s390-32/memcpy.S: New asm code.
60095         * sysdeps/s390/s390-32/memset.S: New asm code.
60096         * sysdeps/s390/s390-32/memcmp.S: New asm code.
60098 2012-07-17  Marek Polacek  <polacek@redhat.com>
60100         [BZ #14349]
60101         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
60102         * sysdeps/s390/s390-64/configure.in: Likewise.
60103         * sysdeps/sparc/configure.in: Likewise.
60104         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
60105         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
60106         * sysdeps/i386/configure.in: Likewise.
60107         * sysdeps/x86_64/configure.in: Likewise.
60108         * sysdeps/sh/configure.in: Likewise.
60109         * sysdeps/s390/s390-32/configure: Regenerated.
60110         * sysdeps/s390/s390-64/configure: Likewise.
60111         * sysdeps/x86_64/configure: Likewise.
60112         * sysdeps/sh/configure: Likewise.
60113         * sysdeps/powerpc/powerpc64/configure: Likewise.
60114         * sysdeps/powerpc/powerpc32/configure: Likewise.
60115         * sysdeps/sparc/configure: Likwise.
60116         * sysdeps/i386/configure: Likewise.
60118         * elf/dl-open.c: Comment fixes.
60120 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
60122         * Makefile [CXX] (check-data): Remove.
60123         [CXX] (c++-types.data): New vpath directive.
60124         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
60125         vpath.  Do not allow for C++ type data being missing.
60126         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
60127         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
60128         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
60129         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
60130         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
60131         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
60132         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
60133         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
60134         ... here.
60135         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
60136         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
60137         ... here.
60138         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
60139         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
60140         ... here.
60141         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
60142         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
60143         ... here.
60144         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
60145         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
60146         ... here.
60147         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
60148         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
60149         ... here.
60150         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
60151         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
60152         ... here.
60153         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
60154         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
60156         * elf/tls-macros.h (TLS_LE): Move architecture-specific
60157         definitions to architecture-specific files.
60158         (TLS_IE): Likewise.
60159         (TLS_LD): Likewise.
60160         (TLS_GD): Likewise.
60161         * sysdeps/i386/tls-macros.h: New file.
60162         * sysdeps/powerpc/tls-macros.h: Likewise.
60163         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
60164         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
60165         * sysdeps/sh/tls-macros.h: Likewise.
60166         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
60167         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
60168         * sysdeps/x86_64/tls-macros.h: Likewise.
60170 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
60172         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
60173         zero value for regular exit case.
60175         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
60176         (__start_context): Preserve zero value for regular exit case.
60178 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
60179             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
60181         * manual/setjmp.texi (setcontext): Clarify normal process
60182         termination when uc_link is the null pointer.
60183         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
60184         exit call.
60186 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
60188         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
60189         preprocessor.  Test for each exception mask separately.
60191 2012-07-16  Andreas Jaeger  <aj@suse.de>
60193         * po/ru.po: Update from translation team.
60195 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
60197         * conform/data/string.h-data (NULL): Use macro-constant.  Require
60198         equal to 0.
60199         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
60200         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
60201         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
60202         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
60203         [ISO || ISO99 || ISO11] (*_t): Do not allow.
60205 2012-07-13  Andreas Jaeger  <aj@suse.de>
60207         * po/fr.po: Update from translation team.
60209 2012-07-12  Marek Polacek  <polacek@redhat.com>
60211         [BZ #14173]
60212         * math/libm-test.inc (yn_test): Add test for BZ #14173.
60213         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
60214         loop condition.
60216 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
60218         [BZ #13717]
60219         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
60220         Change to 2.4.1 where previously 2.4.0.
60221         * sysdeps/unix/sysv/linux/configure: Regenerated.
60222         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
60223         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
60224         version.
60225         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
60226         (__ASSUME_AT_CLKTCK): Remove.
60227         (__ASSUME_AT_PAGESIZE): Likewise.
60228         (__ASSUME_AT_XID): Likewise.
60229         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
60230         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
60231         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
60232         unconditionally.
60233         (HAVE_AUX_PAGESIZE): Likewise.
60234         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
60235         [__ASSUME_AT_CLKTCK]: Make code unconditional.
60236         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
60238 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
60240         [BZ #14307]
60241         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
60242         the temporary buffer used to invoke __gethostbyname2_r,
60243         __gethostbyaddr_r and gethostbyname4_r to make room for struct
60244         host_data / struct gaih_addrtuple.
60245         * resolv/nss_dns/dns-host.c (global scope): Move definition of
60246         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
60247         header file nss/nsswitch.h.
60248         * nss/nsswitch.h (global scope): Add definition of implementation
60249         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
60250         resolv/nss_dns/dns-host.c).
60252 2012-07-11  Andreas Jaeger  <aj@suse.de>
60254         * po/fr.po: Update from translation team.
60256         * po/sv.po: Update from translation team
60257         * po/fr.po: Another update from translation team.
60259 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
60261         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
60262         for subnormals or multiply small sinh result by itself.
60263         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
60264         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
60266 2012-07-11  David S. Miller  <davem@davemloft.net>
60268         * sysdeps/sparc/fpu/libm-test-ulps: Update.
60270 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
60272         [BZ #14347]
60273         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
60274         (INTERNAL_MARK): Shift it here.
60276 2012-07-10  Marek Polacek  <polacek@redhat.com>
60278         [BZ #14151]
60279         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
60280         libc_cv_asm_global_directive with .globl.
60281         * configure: Regenerated.
60282         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
60283         with .globl.
60284         * sysdeps/i386/configure: Regenerated.
60285         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
60286         with .globl.
60287         * sysdeps/x86_64/configure: Regenerated.
60288         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
60289         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
60290         * elf/tst-unique2mod2.c: Likewise.
60291         * elf/tst-unique2mod1.c: Likewise.
60292         * elf/tst-unique1mod2.c: Likewise.
60293         * elf/tst-unique1mod1.c: Likewise.
60294         * sysdeps/s390/s390-32/sysdep.h: Likewise.
60295         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
60296         * sysdeps/s390/s390-64/sysdep.h: Likewise.
60297         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
60298         * sysdeps/mach/sysdep.h: Likewise.
60299         * sysdeps/i386/sysdep.h: Likewise.
60300         * sysdeps/i386/i386-mcount.S: Likewise.
60301         * sysdeps/x86_64/_mcount.S: Likewise.
60302         * sysdeps/x86_64/sysdep.h: Likewise.
60303         * sysdeps/sh/_mcount.S: Likewise.
60304         * sysdeps/sh/sysdep.h: Likewise.
60305         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
60306         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
60307         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
60308         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
60309         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
60310         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
60311         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
60312         * locale/localeinfo.h: Likewise.
60313         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
60314         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
60316 2012-07-09  Roland McGrath  <roland@hack.frob.com>
60318         [BZ #14336]
60319         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
60320         system".
60321         * manual/message.texi (The Uniforum approach): Likewise.
60322         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
60323         (glibc iconv Implementation): Likewise.
60325 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
60327         [BZ #14337]
60328         * math/s_clog.c (__clog): Avoid scaling a value down where that
60329         could result in underflow.
60330         * math/s_clog10.c (__clog10): Likewise.
60331         * math/s_clog10f.c (__clog10f): Likewise.
60332         * math/s_clog10l.c (__clog10l): Likewise.
60333         * math/s_clogf.c (__clogf): Likewise.
60334         * math/s_clogl.c (__clogl): Likewise.
60335         * math/libm-test.inc (clog_test): Add more tests.
60336         (clog10_test): Likewise.
60337         * sysdeps/i386/fpu/libm-test-ulps: Update.
60338         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60340 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
60342         [BZ #14283]
60343         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
60344         by 7 not 8 to examine high bit of fractional part.
60346         [BZ #14042]
60347         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
60348         for call to __mcount_internal.
60349         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
60350         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
60351         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
60353 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
60355         [BZ #14154]
60356         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
60357         approximation for values within 0x1p-13f of an odd multiple of
60358         pi/4.
60359         * math/libm-test.inc (tan_test): Do not allow spurious underflow
60360         exception.  Add more tests.
60361         * sysdeps/i386/fpu/libm-test-ulps: Update.
60363         [BZ #6778]
60364         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
60365         inputs and return -1 for them.  Do not check for +Inf in case not
60366         reachable for +Inf.
60367         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
60368         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
60369         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
60370         and return -1 for them.  Do not check for +Inf in case not
60371         reachable for +Inf.
60372         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
60373         define.
60374         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
60375         and return -1 for them.  Do not check for +Inf in case not
60376         reachable for +Inf.
60377         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
60378         spurious underflow.
60379         * sysdeps/i386/fpu/libm-test-ulps: Update.
60380         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60382 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
60384         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
60386 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
60388         [BZ #14157]
60389         [BZ #14331]
60390         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
60391         could result in spurious underflow.  Scale down values above
60392         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
60393         * math/s_csqrtf.c (__csqrtf): Likewise.
60394         * math/s_csqrtl.c (__csqrtl): Likewise.
60395         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
60396         spurious underflow.
60397         * sysdeps/i386/fpu/libm-test-ulps: Update.
60398         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60400 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
60402         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
60403         xopen-msg.sed.
60404         * catgets/xopen-msg.awk: New file.
60405         * catgets/xopen-msg.sed: Removed.
60407         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
60408         po2text.sed.
60409         * intl/po2test.awk: New file.
60410         * intl/po2test.sed: Removed.
60412 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
60414         [BZ #14328]
60415         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
60416         or multiply small sinh result by itself.
60417         * math/s_ctanf.c (__ctanf): Likewise.
60418         * math/s_ctanh.c (__ctanh): Likewise.
60419         * math/s_ctanhf.c (__ctanhf): Likewise.
60420         * math/s_ctanhl.c (__ctanhl): Likewise.
60421         * math/s_ctanl.c (__ctanl): Likewise.
60422         * math/libm-test.inc (ctan_test_tonearest): New function.
60423         (ctan_test_towardzero): Likewise.
60424         (ctan_test_downward): Likewise.
60425         (ctan_test_upward): Likewise.
60426         (ctanh_test_tonearest): Likewise.
60427         (ctanh_test_towardzero): Likewise.
60428         (ctanh_test_downward): Likewise.
60429         (ctanh_test_upward): Likewise.
60430         (main): Call these new functions.
60431         * sysdeps/i386/fpu/libm-test-ulps: Update.
60432         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60434 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
60436         * .gitignore: Delete /ports entry.
60438 2012-07-03  Andreas Jaeger  <aj@suse.de>
60440         * po/bg.po: Update from translation team.
60441         * po/cs.po: Likewise.
60442         * po/de.po: Likewise.
60443         * po/hr.po: Likewise.
60444         * po/nl.pl: Likewise.
60445         * po/pl.po: Likewise.
60446         * po/vi.po: Likewise.
60448 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
60450         * Makeconfig [!+link] (+link-before-libc): New variable.
60451         [!+link] (+link-after-libc): Likewise.
60452         [!+link] (+link-tests): Likewise.
60453         [!+link] (+link): Define in terms of $(+link-before-libc) and
60454         $(+link-after-libc).
60455         [!+link-static] (+link-static-before-libc): New variable.
60456         [!+link-static] (+link-static-after-libc): Likewise.
60457         [!+link-static] (+link-static-tests): Likewise.
60458         [!+link-static] (+link-static): Define in terms of
60459         $(+link-static-before-libc) and $(+link-static-after-libc).
60460         [build-shared] (link-libc-before-gnulib): New variable.
60461         [build-shared] (link-libc-tests): Likewise.
60462         [build-shared] (link-libc): Define in terms of
60463         $(link-libc-before-gnulib).
60464         [!build-shared] (link-libc-tests): New variable.
60465         (link-libc-static-tests): New variable.
60466         [!gnulib] (gnulib-arch): New variable.
60467         [!gnulib] (gnulib-tests): Likewise.
60468         [!gnulib] (static-gnulib-arch): Likewise.
60469         [!gnulib] (static-gnulib-tests): Likewise.
60470         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
60471         Define with "=" instead of ":=".
60472         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
60473         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
60474         * Rules (binaries-all-notests): New variable.
60475         (binaries-all-tests): Likewise.
60476         (binaries-static-notests): Likewise.
60477         (binaries-static-tests): Likewise.
60478         (binaries-all): Define using $(binaries-all-notests) and
60479         $(binaries-all-tests).
60480         (binaries-static): Define using $(binaries-static-notests) and
60481         $(binaries-static-tests).
60482         (binaries-shared-tests): New variable.
60483         (binaries-shared-notests): Likewise.
60484         (binaries-shared): Remove variable.
60485         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
60486         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
60487         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
60488         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
60489         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
60490         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
60491         * elf/Makefile (sln-modules): New variable.
60492         (extra-objs): Add $(sln-modules:=.o).
60493         (ldconfig-modules): Add static-stubs.
60494         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
60495         * elf/static-stubs.c: New file.
60497         [BZ #14283]
60498         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
60499         by 7 not 8 to examine high bit of fractional part.  Use volatile
60500         variables when splitting into final array of floats if
60501         __FLT_EVAL_METHOD__ != 0.
60502         * math/libm-test.inc (cos_test): Add another test.
60503         (sin_test): Likewise.
60504         * sysdeps/i386/fpu/libm-test-ulps: Update.
60506         [BZ #14273]
60507         * math/libm-test.inc (cosh_test): Add more tests.
60509         * version.h (RELEASE): Set to "development".
60510         (VERSION): Set to "2.16.90".
60512 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
60514         * NEWS: Update copyright. Remove last-updated date.
60515         Mention math library bug fixes and timezone data changes.
60516         * README: Mention GNU/Hurd, x32, and HPPA support status.
60518 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
60520         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
60522 2012-06-27  Andreas Jaeger  <aj@suse.de>
60524         * manual/contrib.texi (Contributors): Add Samuel Thibault.
60526 2012-06-25  Andreas Jaeger  <aj@suse.de>
60528         * sysdeps/s390/fpu/libm-test-ulps: Update.
60530 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
60531             Thomas Schwinge  <thomas@codesourcery.com>
60533         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
60534         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
60535         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
60536         fanotify_mark.
60538 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
60540         * sysdeps/mach/start.c: Remove file.
60541         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
60542         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
60543         * sysdeps/sh/init-first.c: Likewise.
60545         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
60546         registers for frame unwinding purposes, add CFI directives.
60547         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
60548         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise.
60549         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
60550         Likewise.
60552         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
60553         __fortify_fail returning.
60554         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
60556         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
60557         sysdeps/sh/____longjmp_chk.S.
60558         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
60559         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
60560         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
60561         (gen-as-const-headers): Append sigaltstack-offsets.sym.
60563         * sysdeps/sh/abort-instr.h: New file.
60564         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
60565         process in case exit returns.
60567         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
60568         initialize the GOT register before use.
60570         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
60571         calculation of ARGC > 4.
60573         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
60574         meaningful names to some local labels.
60576 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
60577             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
60579         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
60580         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
60581         (__arch_compare_and_exchange_val_16_acq): Likewise.
60582         (__arch_compare_and_exchange_val_32_acq): Likewise.
60583         (atomic_exchange_and_add): Fix gUSA sequence.
60584         (atomic_add): Likewise.
60585         (atomic_add_negative): Likewise.
60586         (atomic_add_zero): Likewise.
60587         (atomic_bit_test_set): Likewise.
60589 2012-06-22  Andreas Schwab  <schwab@redhat.com>
60591         [BZ #13579]
60592         * include/link.h (struct link_map): Add l_free_initfini.
60593         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
60594         l_initfini.
60595         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
60596         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
60597         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
60598         set.
60600 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
60602         * configure.in: Use AC_LANG_SOURCE.
60603         * configure: Regenerate.
60605 2012-06-22  Roland McGrath  <roland@hack.frob.com>
60607         * configure.in (libc_cv_localstatedir): New substituted variable.
60608         * configure: Regenerated.
60609         * config.make.in (localstatedir): New variable, substituted from
60610         libc_cv_localstatedir.
60611         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
60612         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
60613         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
60614         * sysdeps/gnu/configure: Regenerated.
60616 2012-06-21  Jeff Law  <law@redhat.com>
60618         [BZ #14277]
60619         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
60620         free.  Simplify list management for _LIBC case.
60622 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
60624         [BZ #14273]
60625         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
60626         Clear sign bit of 64-bit integer value before comparing against
60627         overflow value.
60629         * sysdeps/mach/configure: Regenerated.
60631 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
60633         [BZ #14278]
60634         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
60636 2012-06-21  Jeff Law  <law@redhat.com>
60638         [BZ #13882]
60639         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
60640         uint16_t for elements in the "seen" array to avoid char overflows.
60641         * elf/dl-fini.c (_dl_sort_fini): Likewise.
60642         * elf/dl-open.c (dl_open_worker): Likewise.
60644 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
60646         * scripts/list-sources.sh: Scan PORTS for translations.
60647         * po/libc.pot: Regenerated.
60649 2012-06-21  Andreas Jaeger  <aj@suse.de>
60651         [BZ #12194]
60652         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
60653         warning.
60654         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
60655         * bits/byteswap-16.h (__bswap_16): Likewise.
60656         * bits/byteswap.h (__bswap_constant_16): Likewise.
60658 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
60660         [BZ #14117]
60661         * sysdeps/i386/fpu_control.h: Removed.
60662         * sysdeps/x86_64/fpu_control.h: Moved to ...
60663         * sysdeps/x86/fpu_control.h: Here.
60665         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
60666         (_FPU_SETCW): Likewise.
60668 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
60670         [BZ #14117]
60671         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
60672         * sysdeps/x86/fpu/bits/mathinline.h: This.
60673         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
60675         [BZ #14050]
60676         [BZ #14117]
60677         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
60678         functions if __x86_64__ is defined.
60680 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
60682         * string/endian.h: Add !__ASSEMBLER__ condition for including
60683         conversion interfaces.
60685 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
60687         [BZ #14241]
60688         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
60689         of ABS(x) in calculating zero to negative powers other than odd
60690         integers.
60691         * math/libm-test.inc (pow_test): Add more tests.
60693 2012-06-15  Andreas Jaeger  <aj@suse.de>
60695         * manual/contrib.texi (Contributors): Update entry of Liubov
60696         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
60697         Machado Filho.
60699 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
60701         * string/string.h: Add __wur to GNU version of strerror_r.
60703 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
60705         [BZ #14229]
60706         * string/Makefile (tests): Add tst-strtok_r.
60707         * string/tst-strtok_r.c: New file.
60708         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
60709         RAX_LP/RDX_LP on SAVE_PTR.
60711 2012-06-14  Roland McGrath  <roland@hack.frob.com>
60713         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
60715 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
60717         * libm_test.inc (csqrt_test): Allow more spurious underflow
60718         exceptions.
60719         (j0_test): Likewise.
60720         (j1_test): Likewise.
60721         (y0_test): Likewise.
60722         (y1_test): Likewise.
60724 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
60726         * po/Makefile (libc.pot): Use UTF-8 charset.
60728 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
60730         [BZ #14210]
60731         Suppress sign-conversion warning from FD_SET.
60732         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
60733         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
60734         not unsigned long int.
60735         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
60737 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
60739         [BZ #14050]
60740         [BZ #14117]
60741         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
60742         __extern_always_inline instead of __extern_inline.
60743         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
60744         (__signbit): Likewise.
60745         (__signbitl): Support C++ namespace.
60746         (lrintf): New inline function.
60747         (lrint): Likewise.
60748         (llrintf): Likewise.
60749         (llrint): Likewise.
60750         (fmaxf): Likewise.
60751         (fmax): Likewise.
60752         (fminf): Likewise.
60753         (fmin): Likewise.
60754         (rint): Likewise.
60755         (rintf): Likewise.
60756         (ceil): Likewise.
60757         (ceilf): Likewise.
60758         (floor): Likewise.
60759         (floorf): Likewise.
60760         (nearbyint): Likewise.
60761         (nearbyintf): Likewise.
60763 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
60765         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
60766         non-default versions.
60768 2012-06-11  Roland McGrath  <roland@hack.frob.com>
60770         [BZ #14218]
60771         * manual/argp.texi (Argp): Reword argp_parse description slightly.
60773 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
60775         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
60776         (FE_UPWARD, FE_DOWNWARD): Don't define.
60777         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
60778         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
60780         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
60781         reading it.
60782         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
60783         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
60785 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
60787         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
60788         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
60789         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
60790         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
60792 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
60794         [BZ #14117]
60795         * sysdeps/i386/fpu/bits/fenv.h: Removed.
60796         * sysdeps/i386/fpu/Implies: New file.
60797         * sysdeps/x86_64/fpu/Implies: Likewise.
60798         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
60799         * sysdeps/x86/fpu/bits/fenv.h: This.
60801         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
60802         __SSE_MATH__.
60804 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
60806         [BZ #14134]
60807         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
60808         character 0xffff that matches the last element of the
60809         conversion table.
60811 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
60813         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
60814         fmodl commit.
60816 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
60818         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
60819         values higher than 25.6283.
60821 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
60823         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
60824         subnormal exponent extraction and add some __builtin_expect.
60825         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
60826         Fix for subnormal mantissa calculation.
60828 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
60830         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
60831         cpu2 is -1 and errno is not ENOSYS.
60833 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
60835         [BZ #14117]
60836         * sysdeps/i386/i486/bits/string.h: Renamed to ...
60837         * sysdeps/x86/bits/string.h: This.
60838         * sysdeps/x86_64/bits/string.h: Removed.
60840         * sysdeps/i386/i486/bits/string.h: Define inline functions only
60841         if not compiling for x86-64, but compiling for >= i486.
60843         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
60844         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
60846         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
60847         New macro from Linux kernel 3.4.0.
60848         (FP_XSTATE_MAGIC2): Likewise.
60849         (FP_XSTATE_MAGIC2_SIZE): Likewise.
60850         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
60851         (struct _fpx_sw_bytes): New struct.
60852         (struct _xsave_hdr): Likewise.
60853         (struct _ymmh_state): Likewise.
60854         (struct _xstate): Likewise.
60856         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
60857         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
60858         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
60859         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
60860         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
60861         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
60863         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
60864         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
60865         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
60866         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
60867         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
60868         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
60870 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
60872         [BZ #13743]
60873         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
60874         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
60875         (sysdep_headers): Include sys/platform/ppc.h.
60876         * sysdeps/powerpc/test-gettimebase.c: Test for
60877         __ppc_get_timebase() to catch future ISA opcode/insn changes.
60878         * manual/Makefile (appendices): Include platform.texi.
60879         * manual/contrib.texi (Contributors): Update @node pointers.
60880         * manual/maint.texi (Maintenance): Likewise.
60881         (Platform): New node.
60882         * manual/platform.texi: New file.  Document the new features.
60884 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
60885             Jakub Jelinek  <jakub@redhat.com>
60887         [BZ #14188]
60888         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
60889         where __builtin_expect is unavailable.
60891 2012-06-03  David S. Miller  <davem@davemloft.net>
60893         * stdlib/longlong.h: Updated from GCC.
60895 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
60897         [BZ #14042]
60898         * sysdeps/powerpc/powerpc32/mcount.c: New file.
60899         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
60900         __mcount_internal.
60901         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
60902         (GLIBC_2.16): Likewise.
60904 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
60906         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
60908 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
60910         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
60911         (default-abi): New variable.
60912         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
60913         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
60914         variable.
60915         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
60916         Likewise.
60917         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
60918         Likewise.
60919         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
60920         Likewise.
60922         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
60923         definition.  Document in comment.
60925 2012-06-01  David S. Miller  <davem@davemloft.net>
60927         * stdlib/longlong.h: Updated from GCC.
60929 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
60931         [BZ #14117]
60932         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
60933         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
60934         sys/debugreg.h sys/io.h here.
60935         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
60936         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
60937         sys/io.h.
60938         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
60939         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
60940         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
60941         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
60942         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
60943         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
60945         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
60946         Define only if __x86_64__ is defined.
60948 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
60950         [BZ #14048]
60951         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
60952         Use int64_t for variable i.
60953         * math/libm-test.inc (fmod_test): Add more tests.
60955         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
60956         z computation is not scheduled after fetestexcept.
60957         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
60958         Use math_force_eval instead of asm to ensure calculation scheduled
60959         before exception test.
60960         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
60961         Ensure a1 + u.d computation is not scheduled after fetestexcept.
60963 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
60965         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
60966         computation is not scheduled after fetestexcept.
60968 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
60970         [BZ #14117]
60971         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
60972         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
60974 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
60976         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
60977         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
60979 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
60981         [BZ #14117]
60982         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
60983         <bits/wordsize.h>.
60984         (__WCHAR_MIN): Support __WORDSIZE == 64.
60985         (__WCHAR_MAX): Likewise.
60987         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
60988         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
60990         [BZ #14183]
60991         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
60992         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
60994         [BZ #14117]
60995         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
60996         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
60998         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
60999         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
61001         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
61002         Defined to 1 if __x86_64__ isn't defined.
61003         (_STAT_VER_LINUX_OLD): New.
61004         (st_atime): Remove duplicate.
61005         (st_mtime): Likewise.
61006         (st_ctime): Likewise.
61008 2012-05-31  David S. Miller  <davem@davemloft.net>
61010         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
61011         entries.
61013 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
61015         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
61016         gen-libm-test.pl.
61018         [BZ #14132]
61019         * elf/dl-reloc.c: Include <_itoa.h>.
61020         (_dl_reloc_bad_type): Remove use of INTUSE.
61021         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
61022         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
61023         * stdio-common/psiginfo.c (psiginfo): Likewise.
61024         * stdio-common/psignal.c (psignal): Likewise.
61025         * string/strsignal.c (strsignal): Likewise.
61026         * include/signal.h (_sys_siglist): Declare hidden proto.
61027         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
61028         INTVARDEF with libc_hidden_data_def.
61029         * stdio-common/itoa-udigits.c: Likewise.
61030         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
61031         (_itoa_lower_digits_internal): Remove declaration.
61032         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
61033         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
61034         (_sys_sigabbrev_internal): Remove aliases.
61035         (_sys_siglist): Define hidden alias.
61037 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
61039         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
61040         bits/sysctl.h.
61042 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
61044         [BZ #14117]
61045         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
61046         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
61048         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
61049         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
61050         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
61051         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
61052         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
61053         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
61055         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
61056         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
61057         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
61059         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
61060         with __addr.
61061         (insw): Likewise.
61062         (insl): Likewise.
61063         (outsb): Likewise.
61064         (outsw): Likewise.
61065         (outsl): Likewise.
61067         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
61068         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
61069         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
61071         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
61072         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
61073         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
61074         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
61075         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
61076         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
61078         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
61079         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
61081         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
61082         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
61084         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
61085         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
61086         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
61088         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
61089         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
61090         to ...
61091         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
61093         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
61094         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
61095         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
61097         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
61098         for x86-64.
61099         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
61101 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
61103         * math/math.h (M_El): Use two more decimal places.
61104         (M_LOG2El): Likewise.
61105         (M_LOG10El): Likewise.
61106         (M_LN2l): Likewise.
61107         (M_LN10l): Likewise.
61108         (M_PIl): Likewise.
61109         (M_PI_2l): Likewise.
61110         (M_PI_4l): Likewise.
61111         (M_1_PIl): Likewise.
61112         (M_2_PIl): Likewise.
61113         (M_2_SQRTPIl): Likewise.
61114         (M_SQRT2l): Likewise.
61115         (M_SQRT1_2l): Likewise.
61117 2012-05-31  David S. Miller  <davem@davemloft.net>
61119         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
61120         values between float registers.
61121         * sysdeps/sparc/sparc64/memset.S: Likewise.
61122         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
61124 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
61126         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
61127         -D_FORTIFY_SOURCE=1.
61128         (CPPFLAGS-tst-longjmp_chk.c): Define.
61129         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
61130         (CPPFLAGS-tst-longjmp_chk2.c): Define.
61131         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
61132         CFLAGS-tst-wchar-h.c.
61134 2012-05-31  Marek Polacek  <polacek@redhat.com>
61136         [BZ #14132]
61137         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
61138         __endmntent_internal): Remove declaration.
61139         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
61140         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
61141         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
61143 2012-05-30  David S. Miller  <davem@davemloft.net>
61145         * sysdeps/sparc/sparc32/soft-fp/q_util.c
61146         (___Q_simulate_exceptions): Use real FP ops rather than writing
61147         into the %fsr.
61148         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
61149         Likewise.
61151 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
61153         [BZ #14117]
61154         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
61155         * sysdeps/x86/bits/xtitypes.h: This.
61157         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
61158         * sysdeps/x86/bits/wordsize.h: This.
61160         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
61161         * sysdeps/x86/bits/huge_vall.h: This.
61163         * sysdeps/i386/bits/select.h: Removed.
61164         * sysdeps/x86_64/bits/select.h: Renamed to ...
61165         * sysdeps/x86/bits/select.h: This.
61167         * sysdeps/i386/bits/setjmp.h: Removed.
61168         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
61169         * sysdeps/x86/bits/setjmp.h: This.
61171         * sysdeps/i386/bits/mathdef.h: Removed.
61172         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
61173         * sysdeps/x86/bits/mathdef.h: This.
61175 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
61177         [BZ #14132]
61178         * include/sys/socket.h (__connect_internal)
61179         (__libc_sa_len_internal): Remove declaration.
61180         (__connect, __libc_sa_len): Declare hidden_proto.
61181         (SA_LEN): Remove use of INTUSE.
61182         * socket/connect.c: Add libc_hidden_def.
61183         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
61184         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
61185         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
61186         alias.
61187         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
61188         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
61189         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
61190         of adding _internal alias.
61192 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
61194         [BZ #14117]
61195         * sysdeps/i386/bits/link.h: Removed.
61196         * sysdeps/i386/bits/linkmap.h: Likewise.
61197         * sysdeps/x86_64/bits/link.h: Renamed to ...
61198         * sysdeps/x86/bits/link.h: This.
61199         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
61200         * sysdeps/x86/bits/linkmap.h: This.
61202         * sysdeps/i386/bits/endian.h: Removed.
61203         * sysdeps/x86_64/bits/endian.h: Renamed to ...
61204         * sysdeps/x86/bits/endian.h: This.
61206         * sysdeps/i386/bits/byteswap.h: Removed.
61207         * sysdeps/i386/bits/byteswap-16.h: Likewise.
61208         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
61209         * sysdeps/x86/bits/byteswap.h: This.
61210         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
61211         * sysdeps/x86/bits/byteswap-16.h: This.
61212         * sysdeps/i386/Implies: Add x86.
61213         * sysdeps/x86_64/Implies: Likewise.
61215 2012-05-30  David S. Miller  <davem@davemloft.net>
61217         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
61218         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
61219         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
61220         (FP_TRAPPING_EXCEPTIONS): Define.
61221         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
61222         (FP_TRAPPING_EXCEPTIONS): Define.
61223         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
61224         subnormals only when inexact has been signalled or underflow
61225         exceptions are enabled.
61226         (_FP_PACK_CANONICAL): Likewise.
61228 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
61230         [BZ #14183]
61231         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
61232         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
61234 2012-05-30  Richard Henderson  <rth@twiddle.net>
61236         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
61237         with #ifndef NOT_IN_libc.
61239         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
61240         marked to avoid plt entry.
61242 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
61244         [BZ #14112]
61245         * Makeconfig (default-abi): New macro.
61246         (abi-includes): Likewise.
61247         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
61248         $(abi-$(default-abi)-lib-soname) for soname if defined.
61249         ($(common-objpfx)gnu/lib-names.stmp): Generate from
61250         abi-variants.
61251         * Makefile (installed-stubs): Likewise.
61252         * include/stubs-biarch.h: Removed.
61253         * scripts/lib-names.awk: Only handle one library at a time.
61254         * scripts/soversions.awk: Remove WORDSIZE support.
61255         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
61256         entries.
61257         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
61258         Removed.
61259         (syscall-list-default-condition): Likewise.
61260         (syscall-list-default-condition): Likewise.
61261         (syscall-list-includes): Likewise.
61262         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
61263         syscall-list-* with abi-*.  Handle undefined abi-variants.
61264         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
61265         * sysdeps/unix/sysv/linux/i386/Implies: New file.
61266         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
61267         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
61268         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
61269         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
61270         Removed.
61271         (syscall-list-32-options): Likewise.
61272         (syscall-list-32-condition): Likewise.
61273         (syscall-list-64-options): Likewise.
61274         (syscall-list-64-condition): Likewise.
61275         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
61276         macro.
61277         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
61278         Renamed to ...
61279         (abi-*): This.
61280         (abi-64-ld-soname): New macro.
61281         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
61282         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
61283         Renamed to ...
61284         (abi-*): This.
61285         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
61286         * sysdeps/x86_64/x32/shlib-versions: Likewise.
61288 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
61290         * sysdeps/unix/sysv/linux/kernel-features.h
61291         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
61292         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
61293         include <kernel-features.h>.
61294         [!__NR_ftruncate64]: Remove conditional code.
61295         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
61296         [__NR_ftruncate64]: Make code unconditional.
61297         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
61298         * sysdeps/unix/sysv/linux/truncate64.c: Do not
61299         include <kernel-features.h>.
61300         [!__NR_ftruncate64]: Remove conditional code.
61301         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
61302         [__NR_ftruncate64]: Make code unconditional.
61303         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
61304         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
61305         include <kernel-features.h>.
61306         [!__NR_ftruncate64]: Remove conditional code.
61307         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
61308         [__NR_ftruncate64]: Make code unconditional.
61309         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
61310         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
61311         include <kernel-features.h>.
61312         [!__NR_ftruncate64]: Remove conditional code.
61313         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
61314         [__NR_ftruncate64]: Make code unconditional.
61315         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
61317         * configure.in (libc_cv_fpie): Weaken to a compile test using
61318         LIBC_TRY_CC_OPTION.
61319         * configure: Regenerated.
61321 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
61323         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
61324         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
61325         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
61326         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
61327         Refreshed.
61328         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
61329         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
61330         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
61331         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
61332         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
61333         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
61334         Refreshed.
61336 2012-05-27  David S. Miller  <davem@davemloft.net>
61338         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
61339         (___Q_zero): New.
61340         (__Q_simulate_exceptions): Return void.  Change to simulate
61341         exceptions by writing into the %fsr.
61342         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
61343         (__Qp_handle_exceptions): Likewise.
61344         (numbers): Delete.
61345         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
61346         __Qp_handle_exceptions.
61347         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
61348         __Qp_handle_exceptions.
61349         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
61350         as unused and give dummy FP_RND_NEAREST initializer.
61351         (FP_INHIBIT_RESULTS): Define.
61352         (___Q_simulate_exceptions): Update declaration.
61353         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
61354         formatting.
61355         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
61356         as unused and give dummy FP_RND_NEAREST initializer.
61357         (__Qp_handle_exceptions): Update declaration.
61358         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
61359         formatting.
61361 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
61363         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
61364         the temporary FPU control word.
61365         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
61366         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
61367         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
61368         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
61369         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
61370         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
61371         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
61372         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
61373         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
61374         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
61375         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
61377 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
61379         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
61380         fields.
61382 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
61384         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
61385         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
61386         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
61387         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
61388         Likewise.
61389         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
61390         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
61391         Likewise.
61393 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
61395         * po/h.po: Update from translation team.
61397 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
61399         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
61401         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
61402         handling of denormals.
61403         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
61404         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
61405         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
61406         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
61407         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
61408         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
61409         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
61410         Likewise.
61412 2012-05-26  Marek Polacek  <polacek@redhat.com>
61414         [BZ #14152]
61415         * math/libm-test.inc (fma_test): Don't always expect underflow
61416         exception.
61418 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
61420         [BZ #12416]
61421         * elf/tst-execstack.c: Include stackinfo.h.
61422         (do_test): Adjust test case to ensure that pthread_getattr_np
61423         behaviour remains the same after marking stack executable.
61425 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
61427         * sysdeps/unix/sysv/linux/kernel-features.h
61428         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
61429         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
61430         kernel-features.h.
61431         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
61432         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
61433         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
61434         kernel-features.h.
61435         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
61436         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
61438 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
61440         * configure.in: Define the default includes to being none.
61441         * configure: Regenerated.
61443 2012-05-25  Roland McGrath  <roland@hack.frob.com>
61445         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
61446         * sysdeps/x86_64/setjmp.S: Likewise.
61447         * sysdeps/i386/bsd-setjmp.S: Likewise.
61448         * sysdeps/i386/bsd-_setjmp.S: Likewise.
61449         * sysdeps/i386/setjmp.S: Likewise.
61450         * sysdeps/i386/__longjmp.S: Likewise.
61451         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
61452         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
61454         * include/stap-probe.h: New file.
61455         * configure.in: Handle --enable-systemtap.
61456         * configure: Regenerated.
61457         * config.h.in (USE_STAP_PROBE): New #undef.
61458         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
61459         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
61460         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
61462 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
61464         [BZ #13717]
61465         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
61466         to 2.4.0 where earlier.
61467         * sysdeps/unix/sysv/linux/configure: Regenerated.
61468         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
61469         <kernel-features.h>.
61470         [__ASSUME_32BITUIDS]: Make code unconditional.
61471         [!__ASSUME_32BITUIDS]: Remove conditional code.
61472         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
61473         <kernel-features.h>.
61474         [__ASSUME_32BITUIDS]: Make code unconditional.
61475         [!__ASSUME_32BITUIDS]: Remove conditional code.
61476         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
61477         [__ASSUME_32BITUIDS]: Make code unconditional.
61478         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
61479         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
61480         <kernel-features.h>.
61481         [__ASSUME_32BITUIDS]: Make code unconditional.
61482         [!__ASSUME_32BITUIDS]: Remove conditional code.
61483         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
61484         <kernel-features.h>.
61485         [__ASSUME_32BITUIDS]: Make code unconditional.
61486         [!__ASSUME_32BITUIDS]: Remove conditional code.
61487         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
61488         <kernel-features.h>.
61489         [__ASSUME_32BITUIDS]: Make code unconditional.
61490         [!__ASSUME_32BITUIDS]: Remove conditional code.
61491         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
61492         <kernel-features.h>.
61493         [__ASSUME_32BITUIDS]: Make code unconditional.
61494         [!__ASSUME_32BITUIDS]: Remove conditional code.
61495         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
61496         <kernel-features.h>.
61497         [__ASSUME_32BITUIDS]: Make code unconditional.
61498         [!__ASSUME_32BITUIDS]: Remove conditional code.
61499         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
61500         <kernel-features.h>.
61501         [__ASSUME_32BITUIDS]: Make code unconditional.
61502         [!__ASSUME_32BITUIDS]: Remove conditional code.
61503         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
61504         <kernel-features.h>.
61505         [__ASSUME_32BITUIDS]: Make code unconditional.
61506         [!__ASSUME_32BITUIDS]: Remove conditional code.
61507         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
61508         <kernel-features.h>.
61509         [__ASSUME_32BITUIDS]: Make code unconditional.
61510         [!__ASSUME_32BITUIDS]: Remove conditional code.
61511         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
61512         <kernel-features.h>.
61513         [__ASSUME_32BITUIDS]: Make code unconditional.
61514         [!__ASSUME_32BITUIDS]: Remove conditional code.
61515         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
61516         <kernel-features.h>.
61517         [__ASSUME_32BITUIDS]: Make code unconditional.
61518         [!__ASSUME_32BITUIDS]: Remove conditional code.
61519         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
61520         <kernel-features.h>.
61521         [__NR_setresgid] (__setresgid): Do not declare.
61522         [__ASSUME_32BITUIDS]: Make code unconditional.
61523         [!__ASSUME_32BITUIDS]: Remove conditional code.
61524         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
61525         <kernel-features.h>.
61526         [__NR_setresuid] (__setresuid): Do not declare.
61527         [__ASSUME_32BITUIDS]: Make code unconditional.
61528         [!__ASSUME_32BITUIDS]: Remove conditional code.
61529         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
61530         <kernel-features.h>.
61531         [__ASSUME_32BITUIDS]: Make code unconditional.
61532         [!__ASSUME_32BITUIDS]: Remove conditional code.
61533         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
61534         <kernel-features.h>.
61535         [__ASSUME_32BITUIDS]: Make code unconditional.
61536         [!__ASSUME_32BITUIDS]: Remove conditional code.
61537         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
61538         <kernel-features.h>.
61539         [__ASSUME_32BITUIDS]: Make code unconditional.
61540         [!__ASSUME_32BITUIDS]: Remove conditional code.
61541         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
61542         <kernel-features.h>.
61543         [__ASSUME_32BITUIDS]: Make code unconditional.
61544         [!__ASSUME_32BITUIDS]: Remove conditional code.
61545         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
61546         <kernel-features.h>.
61547         [__ASSUME_32BITUIDS]: Make code unconditional.
61548         [!__ASSUME_32BITUIDS]: Remove conditional code.
61549         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
61550         <kernel-features.h>.
61551         [__ASSUME_32BITUIDS]: Make code unconditional.
61552         [!__ASSUME_32BITUIDS]: Remove conditional code.
61553         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
61554         <kernel-features.h>.
61555         [__ASSUME_32BITUIDS]: Make code unconditional.
61556         [!__ASSUME_32BITUIDS]: Remove conditional code.
61557         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
61558         <kernel-features.h>.
61559         [__ASSUME_32BITUIDS]: Make code unconditional.
61560         [!__ASSUME_32BITUIDS]: Remove conditional code.
61561         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
61562         <kernel-features.h>.
61563         [__ASSUME_32BITUIDS]: Make code unconditional.
61564         [!__ASSUME_32BITUIDS]: Remove conditional code.
61565         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
61566         <kernel-features.h>.
61567         [__ASSUME_32BITUIDS]: Make code unconditional.
61568         [!__ASSUME_32BITUIDS]: Remove conditional code.
61569         * sysdeps/unix/sysv/linux/kernel-features.h
61570         (__ASSUME_SETRESUID_SYSCALL): Remove.
61571         (__ASSUME_SETRESGID_SYSCALL): Likewise.
61572         (__ASSUME_32BITUIDS): Likewise.
61573         (__ASSUME_LDT_WORKS): Likewise.
61574         (__ASSUME_O_DIRECTORY): Likewise.
61575         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
61576         architecture but not kernel version.
61577         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
61578         (__ASSUME_MMAP2_SYSCALL): Likewise.
61579         (__ASSUME_STAT64_SYSCALL): Likewise.
61580         (__ASSUME_IPC64): Likewise.
61581         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
61582         <kernel-features.h>.
61583         [__ASSUME_32BITUIDS]: Make code unconditional.
61584         [!__ASSUME_32BITUIDS]: Remove conditional code.
61585         * sysdeps/unix/sysv/linux/opendir.c: Do not include
61586         <kernel-features.h>.
61587         [__ASSUME_O_DIRECTORY]: Make code unconditional.
61588         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
61589         132096]: Remove conditional code.
61590         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
61591         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
61592         <kernel-features.h>.
61593         [__ASSUME_32BITUIDS]: Make code unconditional.
61594         [!__ASSUME_32BITUIDS]: Remove conditional code.
61595         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
61596         <kernel-features.h>.
61597         [__ASSUME_32BITUIDS]: Make code unconditional.
61598         [!__ASSUME_32BITUIDS]: Remove conditional code.
61599         * sysdeps/unix/sysv/linux/setegid.c: Do not include
61600         <kernel-features.h>.
61601         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
61602         unconditional.
61603         (__setresgid): Do not declare.
61604         [__ASSUME_32BITUIDS]: Make code unconditional.
61605         [!__ASSUME_32BITUIDS]: Remove conditional code.
61606         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
61607         <kernel-features.h>.
61608         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
61609         unconditional.
61610         (__setresuid): Do not declare.
61611         [__ASSUME_32BITUIDS]: Make code unconditional.
61612         [!__ASSUME_32BITUIDS]: Remove conditional code.
61613         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
61614         <kernel-features.h>.
61615         [__ASSUME_32BITUIDS]: Make code unconditional.
61616         [!__ASSUME_32BITUIDS]: Remove conditional code.
61617         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
61618         <kernel-features.h>.
61619         [__ASSUME_32BITUIDS]: Make code unconditional.
61620         [!__ASSUME_32BITUIDS]: Remove conditional code.
61622 2012-05-25  Richard Henderson  <rth@twiddle.net>
61624         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
61625         dl_hwcap to ifunc resolver.
61626         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
61627         elf_ifunc_invoke.
61628         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
61629         dl_hwcap to ifunc resolver.
61630         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
61632 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
61634         [BZ #14153]
61635         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
61636         for |x| <= 2**-26, not 2**-57.
61637         * math/libm-test.inc (acos_test): Do not allow spurious underflow
61638         exception.
61640 2012-05-24  Jeff Law  <law@redhat.com>
61642         * stdio-common/Makefile (tests): Add bug25.
61643         * stdio-common/bug25.c: New test.
61645 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
61647         [BZ #13576]
61648         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
61649         multiple of MALLOC_ALIGNMENT in size.
61650         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
61652 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
61654         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
61655         Require >= 256.
61656         (FILENAME_MAX): Use macro-int-constant.
61657         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
61658         (_IOFBF): Use macro-int-constant.
61659         (_IOLBF): Likewise.
61660         (_IONBF): Likewise.
61661         (SEEK_CUR): Likewise.
61662         (SEEK_END): Likewise.
61663         (SEEK_SET): Likewise.
61664         (TMP_MAX): Likewise.
61665         (EOF): Use macro-int-constant.  Require < 0.
61666         (NULL): Use macro-constant.  Require == 0.
61667         (stdin): Require type to be FILE *.
61668         (stdout): Likewise.
61669         (stderr): Likewise.
61670         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
61671         macro-int-constant.
61672         (EXIT_SUCCESS): Likewise.
61673         (NULL): Use macro-constant.  Require == 0.
61674         (RAND_MAX): Use macro-int-constant.
61675         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
61676         [C99-based standards] (strtof): Require function.
61677         [C99-based standards] (strtold): Likewise.
61678         [C99-based standards] (strtoll): Likewise.
61679         [C99-based standards] (strtoull): Likewise.
61680         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
61681         [ISO || ISO99 || ISO11] (limits.h): Likewise.
61682         [ISO || ISO99 || ISO11] (math.h): Likewise.
61683         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
61684         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
61685         [ISO || ISO99 || ISO11] (*_t): Do not allow.
61687 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
61689         [BZ #14132]
61690         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
61691         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
61692         * intl/dgettext.c (DCGETTEXT): Likewise.
61693         * intl/gettext.c (DCGETTEXT): Likewise.
61694         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
61695         * posix/regex_internal.h (gettext): Likewise.
61696         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
61697         Remove declaration.
61698         * include/argz.h (__argz_count_internal)
61699         (__argz_stringify_internal): Remove declaration.
61700         (__argz_count, __argz_stringify): Declare hidden proto.
61701         * intl/dcgettext.c: Remove use of INTDEF.
61702         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
61703         * string/argz-stringify.c: Likewise.
61704         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
61705         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
61706         Declare hidden proto.
61707         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
61708         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
61709         Declare hidden proto.
61710         * include/stdio.h (__asprintf_internal): Don't declare.
61711         (__asprintf): Don't define as macro.  Declare hidden proto.
61712         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
61713         (__fsetlocking): Declare hidden proto.
61714         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
61715         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
61716         hidden proto.
61717         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
61718         (_IO_setlinebuf): Remove use of INTUSE.
61719         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
61720         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
61721         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
61722         Remove declaration.
61723         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
61724         (_IO_do_flush): Remove use of INTUSE.
61725         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
61726         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
61727         (_IO_adjust_column, _IO_least_wmarker)
61728         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
61729         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
61730         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
61731         (_IO_default_doallocate, _IO_wdefault_doallocate)
61732         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
61733         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
61734         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
61735         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
61736         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
61737         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
61738         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
61739         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
61740         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
61741         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
61742         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
61743         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
61744         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
61745         proto.
61746         (_IO_flush_all_internal, _IO_adjust_column_internal)
61747         (_IO_default_uflow_internal, _IO_default_finish_internal)
61748         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
61749         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
61750         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
61751         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
61752         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
61753         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
61754         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
61755         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
61756         (_IO_file_close_internal, _IO_file_close_it_internal)
61757         (_IO_file_underflow_internal, _IO_file_overflow_internal)
61758         (_IO_file_init_internal, _IO_file_attach_internal)
61759         (_IO_file_fopen_internal, _IO_file_read_internal)
61760         (_IO_file_sync_internal, _IO_file_seek_internal)
61761         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
61762         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
61763         (_IO_str_underflow_internal, _IO_str_overflow_internal)
61764         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
61765         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
61766         (_IO_list_all_internal, _IO_link_in_internal)
61767         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
61768         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
61769         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
61770         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
61771         (_IO_do_write_internal, _IO_padn_internal)
61772         (_IO_getline_info_internal, _IO_getline_internal)
61773         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
61774         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
61775         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
61776         (_IO_vfscanf_internal, _IO_vfprintf_internal)
61777         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
61778         (_IO_init_internal, _IO_un_link_internal): Don't declare.
61779         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
61780         with libc_hidden_ver, remove use of INTUSE.
61781         * libio/genops.c: Likewise.
61782         * libio/freopen.c: Likewise.
61783         * libio/freopen64.c: Likewise.
61784         * libio/iofclose.c: Likewise.
61785         * libio/iofdopen.c: Likewise.
61786         * libio/iofflush.c: Likewise.
61787         * libio/iofflush_u.c: Likewise.
61788         * libio/iofgets.c: Likewise.
61789         * libio/iofgets_u.c: Likewise.
61790         * libio/iofopen.c: Likewise.
61791         * libio/iofopncook.c: Likewise.
61792         * libio/iofread.c: Likewise.
61793         * libio/iofread_u.c: Likewise.
61794         * libio/ioftell.c: Likewise.
61795         * libio/iofwrite.c: Likewise.
61796         * libio/iogetline.c: Likewise.
61797         * libio/iogets.c: Likewise.
61798         * libio/iogetwline.c: Likewise.
61799         * libio/iopadn.c: Likewise.
61800         * libio/iopopen.c: Likewise.
61801         * libio/ioseekoff.c: Likewise.
61802         * libio/ioseekpos.c: Likewise.
61803         * libio/iosetbuffer.c: Likewise.
61804         * libio/iosetvbuf.c: Likewise.
61805         * libio/ioungetc.c: Likewise.
61806         * libio/ioungetwc.c: Likewise.
61807         * libio/iovdprintf.c: Likewise.
61808         * libio/iovsprintf.c: Likewise.
61809         * libio/iovsscanf.c: Likewise.
61810         * libio/memstream.c: Likewise.
61811         * libio/obprintf.c: Likewise.
61812         * libio/oldfileops.c: Likewise.
61813         * libio/oldiofclose.c: Likewise.
61814         * libio/oldiofdopen.c: Likewise.
61815         * libio/oldiofopen.c: Likewise.
61816         * libio/oldiopopen.c: Likewise.
61817         * libio/oldstdfiles.c: Likewise.
61818         * libio/putc.c: Likewise.
61819         * libio/setbuf.c: Likewise.
61820         * libio/setlinebuf.c: Likewise.
61821         * libio/stdfiles.c: Likewise.
61822         * libio/strops.c: Likewise.
61823         * libio/vasprintf.c: Likewise.
61824         * libio/vscanf.c: Likewise.
61825         * libio/vsnprintf.c: Likewise.
61826         * libio/vswprintf.c: Likewise.
61827         * libio/wfiledoalloc.c: Likewise.
61828         * libio/wfileops.c: Likewise.
61829         * libio/wgenops.c: Likewise.
61830         * libio/wmemstream.c: Likewise.
61831         * libio/wstrops.c: Likewise.
61832         * libio/__fpurge.c: Likewise.
61833         * libio/__fsetlocking.c: Likewise.
61834         * assert/assert.c: Likewise.
61835         * debug/fgets_chk.c: Likewise.
61836         * debug/fgets_u_chk.c: Likewise.
61837         * debug/fread_chk.c: Likewise.
61838         * debug/fread_u_chk.c: Likewise.
61839         * debug/gets_chk.c: Likewise.
61840         * debug/obprintf_chk.c: Likewise.
61841         * debug/vasprintf_chk.c: Likewise.
61842         * debug/vdprintf_chk.c: Likewise.
61843         * debug/vsnprintf_chk.c: Likewise.
61844         * debug/vsprintf_chk.c: Likewise.
61845         * malloc/mtrace.c: Likewise.
61846         * misc/error.c: Likewise.
61847         * misc/syslog.c: Likewise.
61848         * stdio-common/asprintf.c: Likewise.
61849         * stdio-common/fxprintf.c: Likewise.
61850         * stdio-common/getw.c: Likewise.
61851         * stdio-common/isoc99_fscanf.c: Likewise.
61852         * stdio-common/isoc99_scanf.c: Likewise.
61853         * stdio-common/isoc99_vfscanf.c: Likewise.
61854         * stdio-common/isoc99_vscanf.c: Likewise.
61855         * stdio-common/isoc99_vsscanf.c: Likewise.
61856         * stdio-common/printf-prs.c: Likewise.
61857         * stdio-common/printf_fp.c: Likewise.
61858         * stdio-common/printf_fphex.c: Likewise.
61859         * stdio-common/printf_size.c: Likewise.
61860         * stdio-common/putw.c: Likewise.
61861         * stdio-common/scanf.c: Likewise.
61862         * stdio-common/sprintf.c: Likewise.
61863         * stdio-common/tmpfile.c: Likewise.
61864         * stdio-common/vfprintf.c: Likewise.
61865         * stdio-common/vfscanf.c: Likewise.
61866         * stdlib/strfmon_l.c: Likewise.
61867         * sunrpc/openchild.c: Likewise.
61868         * sunrpc/xdr_stdio.c: Likewise.
61869         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
61870         * sysdeps/mach/hurd/tmpfile.c: Likewise.
61872 2012-05-24  Roland McGrath  <roland@hack.frob.com>
61874         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
61876         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
61877         in the third column, to generate for the shared library an IFUNC
61878         that uses _dl_vdso_vsym.
61879         * Makerules (COMPILE.c, compile-stdin.c): New variables.
61880         * Makeconfig (object-suffixes-noshared): New variable.
61882         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
61883         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
61884         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
61885         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
61887         [BZ #14132]
61888         * include/sys/time.h (__gettimeofday): Remove macro.
61889         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
61890         * time/gettimeofday.c (__gettimeofday): Remove #undef.
61891         Remove INTDEF.
61892         (__gettimeofday): Add libc_hidden_def.
61893         (gettimeofday): Add libc_hidden_weak.
61894         * sysdeps/mach/gettimeofday.c: Likewise.
61895         * sysdeps/posix/gettimeofday.c: Likewise.
61896         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
61897         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
61898         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
61899         (__gettimeofday_internal): Remove strong_alias.
61900         (__gettimeofday): Add libc_hidden_def.
61901         (gettimeofday): Add libc_hidden_weak.
61902         * sysdeps/unix/syscalls.list (gettimeofday):
61903         Remove __gettimeofday_internal alias.
61905 2012-05-24  Daniel Jacobowitz  <drow@false.org>
61906             H.J. Lu  <hongjiu.lu@intel.com>
61908         [BZ #12495]
61909         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
61910         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
61911         (largebin_index_32_big): New.
61912         (largebin_index): Use it for 16-byte alignment.
61913         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
61914         correction with front_misalign.
61916 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
61918         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
61919         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
61920         Likewise.
61921         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
61922         Likewise.
61923         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
61924         Likewise.
61925         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
61926         Likewise.
61927         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
61928         Likewise.
61929         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
61930         Likewise.
61931         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
61932         Likewise.
61933         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
61934         Likewise.
61935         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
61936         Likewise.
61937         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
61938         Likewise.
61939         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
61940         Likewise.
61941         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
61942         Likewise.
61944         * scripts/data/c++-types-x32-linux-gnu.data: New file.
61945         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
61947 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
61949         [BZ #10846]
61950         [BZ #14036]
61951         * math/libm-test.inc (exp_test): Add test from bug 14036.
61952         (pow_test): Add test from bug 10846.
61954         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
61955         and other flags.
61956         (special_function): Do not include flags in test name.
61957         (parse_args): Likewise.
61958         * sysdeps/i386/fpu/libm-test-ulps: Update.
61959         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
61960         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
61961         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
61962         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61964         * math/gen-libm-test.pl (%beautify): Add entries for underflow
61965         exceptions.
61966         * math/libm-test.inc ("Philosophy"): Update comment about
61967         exception testing.
61968         (UNDERFLOW_EXCEPTION): New macro.
61969         (UNDERFLOW_EXCEPTION_OK): Likewise.
61970         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
61971         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
61972         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
61973         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
61974         (INVALID_EXCEPTION_OK): Update value.
61975         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
61976         (OVERFLOW_EXCEPTION_OK): Likewise.
61977         (IGNORE_ZERO_INF_SIGN): Likewise.
61978         (test_exceptions): Handle underflow exceptions.
61979         (acos_test): Update for underflow exception expectations.
61980         (cexp_test): Likewise.
61981         (clog_test): Likewise.
61982         (clog10_test): Likewise.
61983         (csqrt_test): Likewise.
61984         (ctan_test): Likewise.
61985         (ctanh_test): Likewise.
61986         (exp_test): Likewise.
61987         (exp10_test): Likewise.
61988         (exp2_test): Likewise.
61989         (expm1_test): Likewise.
61990         (fma_test): Likewise.
61991         (j0_test): Likewise.
61992         (jn_test): Likewise.
61993         (nexttoward_test): Likewise.
61994         (pow_test): Likewise.
61995         (scalbn_test): Likewise.
61996         (scalbln_test): Likewise.
61997         (tan_test): Likewise.
61998         (y1_test): Likewise.
61999         * sysdeps/i386/fpu/libm-test-ulps: Update.
62000         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62002 2012-05-23  David S. Miller  <davem@davemloft.net>
62004         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
62005         (__libc_sigaction): Remove unused local variables.
62007 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
62009         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
62011 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
62013         mktime: avoid signed integer overflow
62014         * time/mktime.c (__mktime_internal): Do not mishandle the case
62015         where diff == INT_MIN.
62017         mktime: simplify computation of average
62018         * time/mktime.c (ranged_convert): Use new time_t_avg function
62019         instead of rolling our own (probably-slower) code.
62021         mktime: do not assume signed right shift propagates sign bit
62022         * time/mktime.c (isdst_differ): New static function.
62023         (__mktime_internal): No need to normalize tm_isdst now.
62024         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
62025         tm_isdst values.
62027         mktime: merge another wrapv change from gnulib
62028         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
62029         from some compilers.
62031         mktime: remove incorrect attempt at unusual arithmetics
62032         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
62033         The code didn't really work on such machines anyway.
62034         (TYPE_MINIMUM): Assume two's complement.
62035         (twos_complement_arithmetic): Verify that long_int and time_t
62036         are two's complement (or unsigned, in the latter case).
62038         mktime: check signed shifts on long_int and time_t, too
62039         * time/mktime.c (SHR): Check that shifts work as desired
62040         on the types long_int and time_t too, as SHR is used on
62041         such types.
62043         mktime: do not assume 'long' is wide enough
62044         * time/mktime.c (verify): Move decl up.
62045         (long_int): New type.
62046         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
62047         to remove assumption in the code that 'long' is wide enough to
62048         store year values.  This assumption is not true on x32 and on
62049         some non-glibc platforms.
62051         mktime: merge wrapv change from gnulib
62052         * time/mktime.c (WRAPV): New macro.
62053         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
62054         (guess_time_tm, __mktime_internal): Do not assume that signed
62055         integer overflow wraps around; modern compilers generate code
62056         where this assumption is no longer valid.
62058 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
62060         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
62061         Replace "jmp L(pseudo_end)" with "ret".
62062         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
62063         Likewise.
62065 2012-05-23  Andreas Jaeger  <aj@suse.de>
62067         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
62068         * sysdeps/unix/sysv/linux/poll.c: Remove file.
62070 2012-05-23  Andreas Jaeger  <aj@suse.de>
62071             Maximilian Attems  <max@stro.at>
62073         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
62074         New macros.
62076 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
62078         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
62079         code so that pseudo_end is just ret and the stack pointer is
62080         correct also for static library in error case.
62082 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
62084         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
62085         move to syscalls.list.
62086         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
62087         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
62088         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
62089         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
62091         * manual/install.texi (Running make install): Do not mention Linux
62092         kernel version for which pt_chown is not needed.
62093         (Linux): Do not mention problems with nscd with 2.0 kernels.
62094         * INSTALL: Regenerated.
62096 2012-05-23  Andreas Jaeger  <aj@suse.de>
62098         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
62099         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
62100         macro.
62101         * sysdeps/unix/sysv/linux/s390/bits/mman.h
62102         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
62103         * sysdeps/unix/sysv/linux/sh/bits/mman.h
62104         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
62105         * sysdeps/unix/sysv/linux/i386/bits/mman.h
62106         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
62107         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
62108         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
62109         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
62110         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
62111         * sysdeps/unix/sysv/linux/bits/in.h
62112         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
62114 2012-05-22  Roland McGrath  <roland@hack.frob.com>
62116         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
62117         (PREPARE_VERSION): Just use assert instead, it will be elided
62118         under [NDEBUG] anyway.
62120 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
62122         * sysdeps/unix/sysv/linux/Makefile: Include
62123         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
62124         (sysdep_routines): Remove sysctl.
62125         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
62126         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
62127         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
62128         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
62129         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
62131 2012-05-22  Andreas Jaeger  <aj@suse.de>
62133         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
62134         that pseudo_end is just ret and the stack pointer is correct also
62135         for static library in error case.
62137 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
62139         [BZ #14122]
62140         * nss/nsswitch.c (defconfig_entries): New variable.
62141         (__nss_database_lookup): Don't leak defconfig entries.
62142         (nss_parse_service_list): Don't leak on error paths.
62143         (free_database_entries): New function.
62144         (free_defconfig): New function.
62145         (free_mem): Move common code to free_database_entries.
62147 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
62149         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
62150         Add arch_prctl.
62151         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
62153         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
62154         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
62155         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
62156         New macro.
62157         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
62158         (INTERNAL_SYSCALL_TYPES): Likewise.
62159         (LOAD_ARGS_TYPES_[1-6]): Likewise.
62160         (LOAD_REGS_TYPES_[1-6]): Likewise.
62161         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
62162         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
62164 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
62166         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
62167         copysignl for GLIBC_2_0.
62168         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
62169         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
62170         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
62171         logbl for GLIBC_2_0.
62172         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
62173         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
62175 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
62177         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
62178         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
62180         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
62181         Use "neg %eax".
62183         * time/mktime.c: Update copyright years.
62185 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
62187         mktime: merge comment-quoting-style change from gnulib
62188         * time/mktime.c: Quote 'like this' in comments.
62189         The GNU coding standards suggest that we no longer quote `like this',
62190         as "`" and "'" are typically rendered asymmetrically nowadays.
62191         The typical gnulib style is to quote 'like this' when quoting
62192         code, and "like this" when quoting English.
62194         * time/mktime.c (compile-command): Add "-I.".
62196         mktime: merge mktime-internal.h change from gnulib
62197         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
62199         mktime: merge time_r change from gnulib
62200         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
62202         mktime: merge DEBUG change from gnulib
62203         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
62204         case system <time.h> has a #define.
62206         mktime: merge <sys/types.h> change from gnulib
62207         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
62208         since <time.t> is now guaranteed to define time_t.
62210         mktime: merge HAVE_CONFIG_H change from gnulib
62211         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
62213 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
62215         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
62216         Use "neg %eax".
62218         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
62219         __rlim_t cast.
62220         (struct rusage): Use anonymous union to pad each field to
62221         __syscall_slong_t.
62223 2012-05-21  David S. Miller  <davem@davemloft.net>
62225         * Makefules (o-iterator): Remove .s cases.
62226         (compile-command.s): Delete.
62227         (COMPILE.s): Delete.
62228         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
62230 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
62232         * configure.in (libc_cv_predef_stack_protector): Only consider
62233         "foobar" and "__stack_chk_fail" lines in libc_undefs.
62234         * configure: Regenerated.
62236 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
62238         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
62239         New macro.  Use R*LP on int and pointer.
62240         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
62241         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
62242         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
62243         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
62245         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
62246         [__WORDSIZE_TIME64_COMPAT32] instead of
62247         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
62248         (struct utmp): Likewise.
62249         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
62250         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
62251         Renamed to ...
62252         (__WORDSIZE_TIME64_COMPAT32): This.
62253         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
62254         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
62255         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
62256         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
62257         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
62258         (__WORDSIZE_TIME64_COMPAT32): New macro.
62260 2012-05-21  Andreas Jaeger  <aj@suse.de>
62262         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
62263         only if [SHARED]. Add prototype for __wcschr_ia32.
62265 2012-05-21  Roland McGrath  <roland@hack.frob.com>
62267         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
62268         of %rbp unmolested in the jmp_buf while mangling the low bits.
62269         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
62270         unmolested high bits of %rbp while demangling the low bits.
62271         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
62273 2012-05-21  Andreas Jaeger  <aj@suse.de>
62275         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
62276         * sunrpc/svc_simple.c: Use it for registerrpc.
62277         * sunrpc/xcrypt.c: Use it for passwd2des.
62279         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
62281 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
62283         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
62284         Don't define if [__SYSCALL_WORDSIZE != 32].
62285         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
62286         New macro.
62288 2012-05-21  Bruno Haible  <bruno@clisp.org>
62289             Andreas Jaeger  <aj@suse.de>
62291         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
62292         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
62293         inptr and inend for must_buffer_ch.
62294         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
62295         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
62296         * stdio-common/Makefile (tests): Remove bug15.
62297         (bug15-ENV): Remove macro.
62298         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
62299         anymore.
62301 2012-05-19  Andreas Jaeger  <aj@suse.de>
62302             Roland McGrath  <roland@hack.frob.com>
62304         * manual/contrib.texi: Completely rewritten. It contains now an
62305         alphabetical list of contributors and their contributions.
62307 2012-05-21  Richard Henderson  <rth@twiddle.net>
62309         * misc/getauxval.c (__getauxval): Use unsigned long int.
62310         * misc/sys/auxv.h: Include <sys/cdefs.h>.
62311         (getauxval): Use unsigned long int.
62313 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
62315         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
62317 2012-05-21  Roland McGrath  <roland@hack.frob.com>
62319         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
62320         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
62321         __alignof__ (long double).
62323 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
62325         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
62327 2012-05-20  Richard Henderson  <rth@twiddle.net>
62329         * misc/getauxval.c: New file.
62330         * misc/sys/auxv.h: New file.
62331         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
62332         (routines): Add getauxval.
62333         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
62334         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
62335         * elf/dl-sysdep.c (_dl_auxv): Remove.
62336         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
62337         * elf/dl-support.c (_dl_auxv): New variable.
62338         (_dl_aux_init): Initialize it.
62339         * manual/startup.texi (Auxiliary Vector): New node.
62340         * sysdeps/generic/bits/hwcap.h: New file.
62341         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
62342         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
62343         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
62344         * sysdeps/sparc/sysdep.h: ... here.  Include it.
62345         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
62346         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
62347         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
62348         Update.
62349         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
62350         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
62351         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
62352         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
62353         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
62354         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
62355         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
62356         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
62358 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
62360         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
62362 2012-05-19  David S. Miller  <davem@davemloft.net>
62364         * sysdeps/sparc/fpu/libm-test-ulps: Update.
62366 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
62368         [BZ #14123]
62369         * math/s_ccosh.c: Include <float.h>
62370         (__ccosh): Avoid internal overflow calculating sinh and cosh
62371         values before multiplying by sin and cos values.
62372         * math/s_ccoshf.c: Likewise.
62373         * math/s_ccoshl.c: Likewise.
62374         * math/s_csin.c: Likewise.
62375         * math/s_csinf.c: Likewise.
62376         * math/s_csinl.c: Likewise.
62377         * math/s_csinh.c: Likewise.
62378         * math/s_csinhf.c: Likewise.
62379         * math/s_csinhl.c: Likewise.
62380         * math/libm-test.inc (ccos_test): Add more tests.
62381         (ccosh_test): Likewise.
62382         (csin_test): Likewise.
62383         (csinh_test): Likewise.
62384         * sysdeps/i386/fpu/libm-test-ulps: Update.
62385         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62387 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
62389         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
62390         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
62392         * sysdeps/x86_64/x32/_itoa.h: Add comment.
62394 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
62396         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
62397         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
62398         * sysdeps/powerpc/soft-fp/Versions: Likewise.
62399         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
62400         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
62401         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
62402         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
62403         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
62404         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
62405         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
62406         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
62407         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
62408         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
62409         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
62410         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
62411         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
62412         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
62413         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
62414         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
62415         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
62416         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
62417         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
62418         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
62419         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
62420         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
62421         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
62422         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
62423         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
62424         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
62425         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
62426         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
62428 2012-05-18  Andreas Jaeger  <aj@suse.de>
62430         * csu/.gitignore: Delete.
62432 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
62434         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
62435         (timex): Use __syscall_slong_t.
62437 2012-05-18  Andreas Jaeger  <aj@suse.de>
62438             Carlos O'Donell  <carlos_odonell@mentor.com>
62440         * manual/install.texi (Configuring and compiling): Update
62441         description about files modified in the source directory.
62442         * INSTALL: Regenerated.
62444 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
62446         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
62447         value.  Use "or" to set return value to -1.
62448         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
62449         negate return value.
62451 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
62453         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
62454         (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
62455         failure if the compiler has Graphite support disabled.
62456         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
62457         Likewise.
62458         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
62459         (CFLAGS-memmove.c): Likewise.
62460         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
62461         Likewise.
62463 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
62465         * sysdeps/x86_64/x32/_itoa.h: New file.
62467         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
62468         getdents system call only if kernel and user dirents have the
62469         same d_ino and d_off.
62471         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
62472         LLONG_MAX != LONG_MAX.
62473         (_itoa_word): Use _ITOA_WORD_TYPE on value.
62474         (_fitoa_word): Likewise.
62476         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
62477         years.
62478         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
62479         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
62480         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
62482         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
62483         include <bits/wordsize.h>.  Check __x86_64__ instead of
62484         __WORDSIZE.
62485         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
62486         if __x86_64__ is defined.  Use anonymous union on fpstate.
62488         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
62489         anonymous union.
62491 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
62493         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
62494         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
62495         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
62496         Refer to _rtld_local_ro instead of _rtld_global_ro.
62497         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
62498         Likewise.
62499         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
62500         Likewise.
62501         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
62502         Likewise.
62503         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
62504         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
62505         of _rtld_global, and rtld_progname instead of _dl_argv[0].
62507         [BZ #10882]
62508         * sysdeps/powerpc/powerpc32/dl-machine.c
62509         (__elf_machine_runtime_setup) [PROF]: Don't reference
62510         _dl_prof_resolve.
62512 2012-05-18  Andreas Jaeger  <aj@suse.de>
62514         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
62515         function only available for GCCs before 3.4 since GCC 3.4
62516         introduced a builtin.
62517         (lrint): Likewise.
62518         (llrintf): Likewise.
62519         (llrint): Likewise.
62520         (fmaxf): Likewise.
62521         (fmax): Likewise.
62522         (fminf): Likewise.
62523         (fmin): Likewise.
62524         (rint): Likewise.
62525         (rintf): Likewise.
62526         (nearbyint): Likewise.
62527         (nearbyintf): Likewise.
62528         (ceil): Likewise.
62529         (ceilf): Likewise.
62530         (floor): Likewise.
62531         (floorf): Likewise.
62533 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
62535         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
62536         on both fields and cast pointer to __syscall_ulong_t.
62538         * bits/types.h (__fsword_t): New type.
62539         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
62540         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
62541         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
62542         (__FSWORD_T_TYPE): Likewise.
62543         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
62544         (__FSWORD_T_TYPE): Likewise.
62545         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
62546         (__FSWORD_T_TYPE): Likewise.
62547         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
62548         (__FSWORD_T_TYPE): Likewise.
62549         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
62550         __SWORD_TYPE with __fsword_t.
62551         (statfs64): Likewise.
62553 2012-05-17  David S. Miller  <davem@davemloft.net>
62555         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
62557 2012-05-17  Andreas Jaeger  <aj@suse.de>
62559         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
62560         warning.
62562 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
62564         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
62566 2012-05-17  Andreas Jaeger  <aj@suse.de>
62568         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
62569         when it is used.
62571 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
62573         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
62575 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
62577         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
62578         * sysdeps/x86_64/tst-mallocalign1.c: New file.
62580 2012-05-17  Andreas Jaeger  <aj@suse.de>
62581             Carlos O'Donell  <carlos_odonell@mentor.com>
62583         [BZ #14059]
62584         * sysdeps/x86_64/multiarch/init-arch.h
62585         (bit_YMM_Usable): Rename to...
62586         (bit_AVX_Usable): ... this.
62587         (bit_FMA4_Usable): New macro.
62588         (bit_XMM_state): New macro.
62589         (bit_YMM_state): New macro.
62590         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
62591         [__ASSEMBLER__] (index_AVX_Usable): ... this.
62592         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
62593         (CPUID_OSXSAVE): New macro.
62594         (CPUID_AVX): New macro.
62595         (CPUID_FMA4): New macro.
62596         (index_YMM_Usable): Rename to...
62597         (index_AVX_Usable): ... this.
62598         (HAS_AVX): Use HAS_ARCH_FEATURE.
62599         (HAS_FMA4): Likewise.
62600         (HAS_YMM_USABLE): Remove.
62601         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
62602         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
62603         are present.
62604         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
62605         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
62606         * sysdeps/x86_64/multiarch/Makefile: Likewise.
62607         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
62608         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
62610 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
62612         * math/libm-test.c: Support platforms without multiple rounding modes.
62613         * math/bug-nextafter.c: Support platforms without FP exceptions.
62614         * math/bug-nexttoward.c: Likewise.
62615         * math/test-fenv.c: Likewise.
62616         * math/test-misc.c: Likewise.
62617         * stdlib/bug-getcontext.c: Likewise.
62619 2012-05-17  Andreas Jaeger  <aj@suse.de>
62621         * manual/examples/search.c (critter_cmp): Change signature to
62622         avoid warnings.
62623         * manual/string.texi (Collation Functions): Likewise.
62625 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
62627         * bits/types.h: Fold copyright years.
62628         * bits/typesizes.h: Likewise.
62629         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
62630         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
62631         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
62632         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
62633         * time/time.h: Likewise.
62635 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
62637         [BZ #208]
62638         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
62639         in instead of returning them.  Return void.
62640         (__libc_mallinfo): Accumulate over all arenas.
62641         (__malloc_stats): Adjust for change in int_mallinfo interface.
62643 2012-05-16  Roland McGrath  <roland@hack.frob.com>
62645         [BZ #10375]
62646         * configure.in (NM): Add AC_CHECK_TOOL for it.
62647         (libc_extra_cflags): New substituted variable.
62648         Check for -fstack-protector being used implicitly.
62649         * configure: Regenerated.
62650         * config.make.in (config-extra-cflags): New variable,
62651         gets @libc_extra_cflags@.
62652         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
62654         [BZ #10375]
62655         * configure.in: Check for _FORTIFY_SOURCE being predefined.
62656         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
62657         * configure: Regenerated.
62658         * config.make.in (CPPUNDEFS): New substituted variable.
62659         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
62660         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
62661         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
62663 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
62665         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
62666         (mq_attr): Use __syscall_slong_t.
62668 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
62670         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
62671         Check __x86_64__ instead of __WORDSIZE.
62672         (_STAT_VER_LINUX): Likewise.
62673         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
62674         __syscall_ulong_t and __syscall_slong_t.
62675         (stat64): Likewise.
62677 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
62679         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
62681 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
62683         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
62685 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
62687         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
62688         __syscall_ulong_t.
62690         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
62691         include <bits/wordsize.h>.  Check __x86_64__ instead of
62692         __WORDSIZE.
62693         (greg_t): Use "__extension__ long long int" if __x86_64__ is
62694         defined.
62695         (mcontext_t): Replace "unsigned long" with "unsigned long long".
62697         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
62698         include <bits/wordsize.h>.  Check __x86_64__ instead of
62699         __WORDSIZE.
62700         (user_regs_struct): Use "__extension__ unsigned long long"
62701         instead of "unsigned long" if __x86_64__ is defined.
62702         (user): Likewise.  Pad after pointer field if __ILP32__ is
62703         defined.
62705 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
62707         * configure.in (makeinfo): Require version 4.5 or later.  Allow
62708         versions 5 to 9.
62709         * configure: Regenerated.
62710         * manual/install.texi (texinfo): Increase version requirement to
62711         4.5 or later.
62712         * INSTALL: Regenerated.
62714         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
62716 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
62718         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
62720         * sysdeps/x86_64/x32/ffs.c: New file.
62722         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
62723         __syscall_ulong_t.
62724         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
62725         defined.  Use __syscall_ulong_t.
62726         (shminfo): Use __syscall_ulong_t.
62727         (shm_info): Likewise.
62729         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
62730         __syscall_ulong_t.
62732         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
62733         <bits/wordsize.h>.
62734         (msgqnum_t): Use __syscall_ulong_t.
62735         (msglen_t): Likewise.
62736         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
62737         __syscall_ulong_t.
62739         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
62740         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
62742         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
62744         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
62745         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
62747         * sysvipc/sys/msg.h (msgbuf): Replace long int with
62748         __syscall_slong_t.
62750         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
62751         include <bits/wordsize.h>.  Check __x86_64__ instead of
62752         __WORDSIZE.
62754         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
62755         "unsigned long long int" if __x86_64__ is defined.
62756         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
62758         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
62759         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
62760         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
62762         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
62763         <stdint.h>.
62764         (GET_PC): Cast to uintptr_t first.
62765         (GET_FRAME): Likewise.
62766         (GET_STACK): Likewise.
62768         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
62769         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
62770         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
62771         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
62772         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
62773         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
62774         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
62775         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
62776         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
62777         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
62778         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
62779         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
62780         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
62781         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
62782         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
62783         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
62784         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
62785         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
62786         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
62787         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
62788         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
62789         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
62790         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
62791         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
62792         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
62793         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
62794         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
62795         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
62796         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
62798 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
62800         * Makerules (+depfiles): Also collect depfiles from .oS in
62801         $(extra-objs).
62802         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
62803         .oS, $(libnldbl-routines)).
62805         * Makerules (native-compile-mkdep-flags): Define.
62806         * sunrpc/Makefile (extra-objs): Add $(addprefix
62807         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
62808         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
62809         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
62810         calling $(make-target-directory).
62812 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
62814         * bits/types.h (__snseconds_t): Removed.
62815         * time/time.h (struct timespec): Replace __snseconds_t with
62816         __syscall_slong_t.
62817         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
62818         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
62819         Likewise.
62820         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
62821         (__SNSECONDS_T_TYPE): Likewise.
62822         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
62823         (__SNSECONDS_T_TYPE): Likewise.
62824         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
62825         (__SNSECONDS_T_TYPE): Likewise.
62827 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
62829         * sysdeps/mach/hurd/bits/typesizes.h
62830         (__SYSCALL_SLONG_TYPE): New macro.
62831         (__SYSCALL_ULONG_TYPE): Likewise.
62833 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
62835         * bits/types.h (__syscall_slong_t): New type.
62836         (__syscall_ulong_t): Likewise.
62838         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
62839         (__SYSCALL_ULONG_TYPE): Likewise.
62840         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
62841         (__SYSCALL_SLONG_TYPE): Likewise.
62842         (__SYSCALL_ULONG_TYPE): Likewise.
62843         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
62844         (__SYSCALL_SLONG_TYPE): Likewise.
62845         (__SYSCALL_ULONG_TYPE): Likewise.
62846         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
62847         (__SYSCALL_SLONG_TYPE): Likewise.
62848         (__SYSCALL_ULONG_TYPE): Likewise.
62850 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
62852         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
62853         Add sigaltstack-offsets.sym.
62854         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
62855         <sigaltstack-offsets.h>.
62856         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
62857         longjmp_msg pointer.
62858         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
62859         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
62860         signal stack.
62861         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
62863 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
62865         * elf/stackguard-macros.h: Remove file.
62866         * sysdeps/generic/stackguard-macros.h: New file.
62867         * sysdeps/i386/stackguard-macros.h: Likewise.
62868         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
62869         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
62870         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
62871         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
62872         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
62873         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
62874         * sysdeps/x86_64/stackguard-macros.h: Likewise.
62875         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
62876         <elf/stackguard-macros.h>.
62878         [BZ #14109]
62879         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
62880         __aligned__ in attribute.
62881         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
62882         (gregset_t): Likewise.
62884 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
62886         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
62887         * sysdeps/x86_64/64/Implies-after: Here.  New file.
62888         * sysdeps/x86_64/x32/Implies-after: New file.
62890 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
62892         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
62893         and access return value for _dl_profile_fixup.  Use R10_LP to
62894         load frame size.
62896 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
62898         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
62900 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
62902         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
62903         * sysdeps/x86_64/x32/sysdep.h: New file.
62905 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
62907         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
62908         * sysdeps/x86_64/setjmp.S: Likewise.
62910 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
62912         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
62913         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
62914         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
62915         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
62916         remove unused global constant.
62918 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
62920         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
62921         include of <not-cancel.h>.
62923 2012-05-15  Roland McGrath  <roland@hack.frob.com>
62925         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
62927 2012-05-15  Jeff Law  <law@redhat.com>
62928             Andreas Jaeger  <aj@suse.de>
62930         [BZ #13594]
62931         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
62932         out from...
62933         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
62934         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
62935         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
62936         code changing __hst_map_handle.map.
62938 2012-05-15  Roland McGrath  <roland@hack.frob.com>
62940         * configure.in (sysnames): Look for Implies-before and Implies-after
62941         files.
62942         * configure: Regenerated.
62944 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
62946         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
62947         8-byte data alignment with LP_SIZE alignment.
62949 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
62951         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
62952         into R10_LP.
62954 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
62956         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
62958 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
62960         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
62961         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
62962         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
62963         Likewise.
62964         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
62966 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
62968         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
62969         (stackinfo_sub_sp): Likewise.
62971 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
62973         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
62974         RAX_LP.
62976 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
62978         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
62979         into R*_LP.
62981 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
62983         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
62984         sizes into R*_LP.
62986 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
62988         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
62990 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
62992         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
62993         into R11_LP and load __x86_64_shared_cache_size_half into
62994         R8_LP.
62996 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
62998         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
62999         R8_LP.
63001 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
63003         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
63004         logb for POWER7.
63005         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
63006         logbf for POWER7.
63007         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
63008         logbl for POWER7.
63009         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
63010         powerpc32/power7/fpu/s_logb.c via #include.
63011         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
63012         powerpc32/power7/fpu/s_logbf.c via #include.
63013         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
63014         powerpc32/power7/fpu/s_logbl.c via #include.
63016 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
63018         * README.libm: Remove file.
63020 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
63022         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
63023         count for x32.  Use R*_LP and omit operand-size suffix.
63025 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
63027         * shlib-versions: Move x86_64-.*-linux.* entries to ...
63028         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
63029         * sysdeps/x86_64/x32/shlib-versions: New file.
63031 2012-05-14  Roland McGrath  <roland@hack.frob.com>
63033         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
63034         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
63035         Use _dl_fatal_printf instead.
63037 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
63039         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
63040         set if not set by the user.  Do not allow for being unset.
63041         * sysdeps/unix/sysv/linux/configure: Regenerated.
63043 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
63045         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
63046         the `q' suffix from lea and replace .quad with ASM_ADDR.
63048 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
63050         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
63051         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
63052         instead of $17.
63053         (PTR_DEMANGLE): Likewise.
63055 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
63057         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
63058         (LP_OP): Likewise.
63059         (ASM_ADDR): Likewise.
63060         (RAX_LP): Likewise.
63061         (RBP_LP): Likewise.
63062         (RBX_LP): Likewise.
63063         (RCX_LP): Likewise.
63064         (RDI_LP): Likewise.
63065         (RSI_LP): Likewise.
63066         (RSP_LP): Likewise.
63067         (R8_LP): Likewise.
63068         (R9_LP): Likewise.
63069         (R10_LP): Likewise.
63070         (R10_LP): Likewise.
63071         (R11_LP): Likewise.
63072         (R12_LP): Likewise.
63073         (R13_LP): Likewise.
63074         (R14_LP): Likewise.
63075         (R15_LP): Likewise.
63077 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
63079         * sysdeps/x86_64/x32/dl-machine.h: New file.
63081 2012-05-14  Andreas Jaeger  <aj@suse.de>
63083         * manual/Makefile (subdir): Remove export of subdir.
63084         (all): Remove target.
63085         (.PHONY): Remove all from list.
63086         (mkinstalldirs): Remove.
63087         (.PHONY): Remove installdirs from list.
63088         ($(inst_infodir)/libc.info): Use make-target-directory.
63089         (installdirs): Remove.
63090         (subdir_%): Remove.
63091         (glibc-targets): Remove.
63092         (lib): Remove.
63093         (stubs): Remove.
63094         ($(objpfx)stubs ../po/manual.pot): Remove.
63095         ($(objpfx)stamp%): Remove.
63096         (make-target-directory): Remove.
63097         (subdir_install): Remove.
63098         (routines): Remove.
63099         (aux): Remove.
63100         (sources): Remove.
63101         (objects): Remove.
63102         (headers): Remove.
63104         [BZ #13750]
63105         * manual/.gitignore: Remove, it's not needed anymore.
63106         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
63107         all files in it.
63108         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
63109         directory.
63110         (texis): Renamed to $(objpfx)texis.
63111         (texis-path): New, contains path to generated files.
63112         (chapters.%): Use texis-path for complete path, add extra argument
63113         libc-texinfo.sh.
63114         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
63115         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
63116         (summary,texi, stamp-summary): Use complete path of
63117         files. Generate files in build dir.
63118         (dir-add.texi): Build in build dir.
63119         (libm-err.texi,stamp-libm-err): Likewise.
63120         (version.texi, stamp-version): Likewise.
63121         (.%c.texi): Likewise.
63122         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
63123         (mostlyclean): Remove target.
63124         (realclean): Remove target.
63125         (generated): Add new variable with contents from mostlyclean and
63126         realclean, remove entries duplicated in common-mostlyclean, add
63127         stamp-libm-err and stamp-version.
63128         (generated-dirs): Add libc directory.
63129         ($(inst_infodir)/libc.info): Install files from build dir.
63131         * manual/install.texi (Configuring and compiling): Adjust since
63132         the info files are not part of the tar ball anymore.
63134 2012-05-14  Andreas Jaeger  <aj@suse.de>
63136         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
63137         variable.
63139 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
63141         [BZ #13717]
63142         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
63143         to 2.2.0 where earlier.
63144         * sysdeps/unix/sysv/linux/configure: Regenerated.
63145         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
63146         Remove conditional code.
63147         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
63148         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
63149         Remove conditional code.
63150         [!__NR_lchown]: Likewise.
63151         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
63152         [__NR_lchown]: Likewise.
63153         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
63154         comment referencing __ASSUME_LCHOWN_SYSCALL.
63155         * sysdeps/unix/sysv/linux/i386/sigaction.c
63156         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
63157         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
63158         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
63159         Remove conditional code.
63160         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
63161         (__protocol_available): Remove #if 0 code.
63162         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
63163         conditional code.
63164         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
63165         * sysdeps/unix/sysv/linux/kernel-features.h
63166         (__ASSUME_GETCWD_SYSCALL): Don't define.
63167         (__ASSUME_REALTIME_SIGNALS): Likewise.
63168         (__ASSUME_PREAD_SYSCALL): Likewise.
63169         (__ASSUME_PWRITE_SYSCALL): Likewise.
63170         (__ASSUME_POLL_SYSCALL): Likewise.
63171         (__ASSUME_LCHOWN_SYSCALL): Likewise.
63172         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
63173         non-SPARC.
63174         (__ASSUME_SIOCGIFNAME): Don't define.
63175         (__ASSUME_MSG_NOSIGNAL): Likewise.
63176         (__ASSUME_SENDFILE): Define unconditionally.
63177         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
63178         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
63179         conditional code.
63180         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
63181         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
63182         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
63183         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
63184         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
63185         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
63186         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
63187         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
63188         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
63189         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
63190         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
63191         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
63192         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
63193         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
63194         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
63195         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
63196         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
63197         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
63198         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
63199         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
63200         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
63201         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
63202         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
63203         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
63204         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
63205         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
63206         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
63207         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
63208         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
63209         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
63210         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
63211         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
63212         Remove conditional code.
63213         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
63214         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
63215         Remove conditional code.
63216         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
63217         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
63218         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
63219         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
63220         Remove conditional code.
63221         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
63222         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
63223         Remove conditional code.
63224         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
63225         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
63226         Remove conditional code.
63227         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
63228         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
63229         Remove conditional code.
63230         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
63231         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
63232         Remove conditional code.
63233         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
63234         * sysdeps/unix/sysv/linux/sh/pwrite64.c
63235         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
63236         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
63237         * sysdeps/unix/sysv/linux/sigaction.c
63238         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
63239         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
63240         * sysdeps/unix/sysv/linux/sigpending.c
63241         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
63242         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
63243         * sysdeps/unix/sysv/linux/sigprocmask.c
63244         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
63245         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
63246         * sysdeps/unix/sysv/linux/sigsuspend.c
63247         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
63248         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
63249         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
63250         (__libc_missing_rt_sigs): Remove.
63251         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
63252         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
63253         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
63254         Remove conditional code.
63255         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
63256         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
63257         return 1.
63258         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
63259         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
63260         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
63261         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
63263 2012-05-14  Andreas Jaeger  <aj@suse.de>
63265         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
63266         it's not used in glibc.
63267         (__coshm1): Likewise.
63268         (__acosh1p): Likewise.
63269         (__sgn): Likewise.
63271         * manual/string.texi (Copying and Concatenation): Add missing
63272         variable in concat example.
63273         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
63275 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
63277         [BZ #14103]
63278         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
63279         __builtin_clzl with __builtin_clzll.
63281 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
63283         [BZ #14104]
63284         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
63285         libc_freeres_ptr.
63287 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
63289         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
63290         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
63291         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
63292         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
63294 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
63296         * NEWS: Update ia64 info.
63298 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
63300         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
63301         used as bcopy.
63303 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
63305         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
63306         * sysdeps/unix/syscalls.list (dup3): Likewise.
63307         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
63308         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
63310 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
63312         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
63313         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
63315 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
63317         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
63318         thread pointer.
63319         (TLS_IE): Use mov/add instead of movq/addq to load thread
63320         pointer.
63321         (TLS_GD_PREFIX): New.
63322         (TLS_GD): Use it.
63324 2012-05-11  David S. Miller  <davem@davemloft.net>
63326         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
63327         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
63328         (_FPU_SETCW): Likewise.
63330 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
63332         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
63333         is 32-byte aligned.
63335 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
63337         [BZ #11837]
63338         * iconvdata/gb18030.c: Update tables.
63339         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
63340         characters specially.
63341         (BODY for TO_LOOP): Add encoding of missing ranges.
63343 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
63345         [BZ #13673]
63346         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
63347         * sysdeps/mach/hurd/dup3.c: Likewise.
63348         * sysdeps/mach/hurd/readlinkat.c: Likewise.
63349         * sysdeps/powerpc/memmove.c:: Likewise.
63351 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
63353         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
63354         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
63356 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
63358         * elf/elf.h (R_X86_64_RELATIVE64): New.
63359         (R_X86_64_NUM): Updated.
63360         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
63361         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
63362         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
63363         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
63364         tst-quad1pie tst-quad2pie
63365         (modules-names): Add tst-quadmod1 tst-quadmod2.
63366         ($(objpfx)tst-quad1): New dependency.
63367         ($(objpfx)tst-quad2): Likewise.
63368         ($(objpfx)tst-quad1pie): Likewise.
63369         ($(objpfx)tst-quad2pie): Likewise.
63370         * sysdeps/x86_64/tst-quad1.c: New file.
63371         * sysdeps/x86_64/tst-quad1pie.c: New file.
63372         * sysdeps/x86_64/tst-quad2.c: Likewise.
63373         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
63374         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
63375         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
63376         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
63377         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
63379 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
63381         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
63382         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
63383         * streams/stropts.h (t_scalar_t): Define type.
63385         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
63386         (_PATH_PRESERVE): Set to "/var/lib".
63387         (_PATH_RWHODIR): Set to "/var/spool/rwho".
63389         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
63390         instead of int.
63392         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
63393         if __dir_mkfile succeeded.
63395         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
63396         checking for _hurd_dtablesize.  Unlock it right after having
63397         finished _hurd_dtable allocation.
63399 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
63401         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
63402         * sysdeps/mach/hurd/configure: Regenerated.
63403         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
63404         special-casing to...
63405         * sysdeps/gnu/configure.in: ... this new file.
63406         * sysdeps/unix/sysv/linux/configure: Regenerated.
63407         * sysdeps/gnu/configure: New generated file.
63409         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
63410         for Linux: use nsec instead of usec, as well as:
63411         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
63412         members of type struct timespec.
63413         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
63414         New macros.
63415         (struct stat64): Likewise.
63416         (_STATBUF_ST_NSEC): New macro.
63417         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
63419         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
63420         __strtoul_internal rather than strtoul.
63422 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
63424         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
63425         and reject them.
63427 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
63429         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
63430         which preserves existing values.
63431         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
63433 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
63435         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
63436         TIMEOUT values.  Return EINVAL for NFDS values either negative or
63437         greater than FD_SETSIZE.
63439 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
63441         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
63442         allocated, call __vm_protect to finish enabling the existing space, and
63443         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
63444         allocate the remainder.
63446 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
63448         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
63449         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
63451 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
63453         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
63454         sysdeps/mach/hurd/readlink.c.
63456         * posix/tst-sysconf.c (posix_options): Only use
63457         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
63458         _POSIX_SYNCHRONIZED_IO when they are defined
63459         * sysdeps/mach/hurd/bits/posix_opt.h:
63460         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
63461         (_XOPEN_REALTIME): Undefine macro.
63462         (_XOPEN_REALTIME_THREADS): Undefine macro.
63463         (_XOPEN_SHM): Undefine macro.
63464         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
63465         macro to -1.
63466         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
63467         macro to -1.
63468         (_POSIX_ASYNC_IO): Undefine macro.
63469         (_POSIX_PRIORITIZED_IO): Undefine macro.
63470         (_POSIX_SPIN_LOCKS): Define macro to -1.
63472         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
63473         SA_NODEFER, SA_RESETHAND.
63474         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
63475         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
63476         F_DUPFD_CLOEXEC.
63478 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
63480         * elf/Makefile (pldd-modules): Define unconditionally.
63482 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
63484         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
63486 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
63488         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
63489         Return ENOENT when name is empty.
63490         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
63492 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
63494         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
63496         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
63498 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
63500         Fix mlock in all cases except non-readable pages.
63501         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
63502         instead of VM_PROT_ALL as parameter to __vm_wire function.
63504         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
63505         (__mkdir): When path is `/', just fail with EEXIST.
63506         * sysdeps/mach/hurd/mkdirat.c: Likewise.
63508 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
63510         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
63511         <sys/uio.h> (for writev).
63512         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
63513         and <sys/param.h> (for MIN).
63515 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
63517         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
63518         REQUESTED_TIME.  Properly set the remaining time and return EINTR
63519         if interrupted.
63521 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
63523         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
63524         Depend on against $(link-rpcuserlibs).
63526 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
63528         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
63529         (__libc_stack_end): Do not use attribute_relro.
63530         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
63531         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
63532         to libthread-provided value.
63533         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
63534         attribute_relro.
63536 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
63538         [BZ #3748]
63539         * bits/libc-lock.h (__libc_once_get): New macro.
63540         * sysdeps/mach/bits/libc-lock.h: Likewise.
63541         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
63542         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
63543         instead of using implementation details.
63545         * libio/fileops.c: Unconditionally include <kernel-features.h>.
63546         * libio/freopen.c: Likewise.
63547         * libio/freopen64.c: Likewise.
63548         * misc/syslog.c: Likewise.
63549         * nscd/connections.c: Likewise.
63550         * nscd/netgroupcache.c: Likewise.
63551         * sysdeps/posix/getcwd.c: Likewise.
63553 2012-05-10  Roland McGrath  <roland@hack.frob.com>
63555         * math/w_ilogbf.c: Add #include <limits.h>.
63557 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
63559         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
63560         path instead of returning without unlocking.
63562         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
63563         immediate-write ioctls.
63564         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
63566 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
63568         * sysdeps/mach/hurd/i386/init-first.c (init): Use
63569         __builtin_frame_address instead of making assumptions about the
63570         location of the return address relative to DATA.  Force early load of
63571         the return address.
63572         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
63573         __builtin_frame_address.
63575         dup3 for GNU Hurd.
63576         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
63577         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
63578         implement dup3 and do some further code clean-ups.
63579         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
63580         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
63582 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
63584         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
63586         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
63587         HURD_CRITICAL_END around holding _hurd_dtable_lock.
63588         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
63589         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
63590         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
63591         d->port.lock.
63593         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
63594         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
63595         when handler == SIG_ERR, not when handler != SIG_ERR.
63597 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
63599         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
63600         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
63601         definitions.
63603         accept4 for GNU Hurd.
63604         * include/sys/socket.h (__libc_accept4): New prototype.
63605         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
63606         to implement __libc_accept4.
63607         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
63608         __libc_accept4.
63609         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
63611         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
63612         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
63613         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
63614         signal-defines.sym.
63616 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
63618         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
63620 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
63622         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
63623         assertion on O_CLOEXEC flag.
63624         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
63625         * hurd/intern-fd.c: Likewise.
63626         * hurd/port2fd.c: Likewise.
63628 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
63630         [BZ #3906]
63631         * bits/in.h (IPV6_PKTINFO): Define new macro.
63632         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
63634 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
63636         [BZ #13954]
63637         [BZ #13955]
63638         [BZ #13956]
63639         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
63640         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
63641         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
63642         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
63643         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
63644         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
63645         * math/libm-test.inc (logb_test) : Additional logb tests.
63647 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
63648             Andreas Jaeger  <aj@suse.de>
63650         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
63651         * configure: Regenerated.
63652         * config.h.in (LINK_OBSOLETE_RPC): New macro.
63653         * config.make.in (link-obsolete-rpc): New substituted variable.
63654         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
63655         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
63656         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
63657         (shared-only-routines): Don't set it under [link-obsolete-rpc],
63658         so that libc.a contains the symbols.
63659         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
63660         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
63661         * sunrpc/auth_none.c: Likewise.
63662         * sunrpc/auth_unix.c: Likewise.
63663         * sunrpc/authdes_prot.c: Likewise.
63664         * sunrpc/authuxprot.c: Likewise.
63665         * sunrpc/clnt_gen.c: Likewise.
63666         * sunrpc/clnt_perr.c: Likewise.
63667         * sunrpc/clnt_raw.c: Likewise.
63668         * sunrpc/clnt_simp.c: Likewise.
63669         * sunrpc/clnt_tcp.c: Likewise.
63670         * sunrpc/clnt_udp.c: Likewise.
63671         * sunrpc/clnt_unix.c: Likewise.
63672         * sunrpc/des_crypt.c: Likewise.
63673         * sunrpc/des_soft.c: Likewise.
63674         * sunrpc/get_myaddr.c: Likewise.
63675         * sunrpc/key_call.c: Likewise.
63676         * sunrpc/key_prot.c: Likewise.
63677         * sunrpc/netname.c: Likewise.
63678         * sunrpc/pm_getmaps.c: Likewise.
63679         * sunrpc/pm_getport.c: Likewise.
63680         * sunrpc/pmap_clnt.c: Likewise.
63681         * sunrpc/pmap_prot.c: Likewise.
63682         * sunrpc/pmap_prot2.c: Likewise.
63683         * sunrpc/pmap_rmt.c: Likewise.
63684         * sunrpc/publickey.c: Likewise.
63685         * sunrpc/rpc_cmsg.c: Likewise.
63686         * sunrpc/rpc_common.c: Likewise.
63687         * sunrpc/rpc_dtable.c: Likewise.
63688         * sunrpc/rpc_prot.c: Likewise.
63689         * sunrpc/rpc_thread.c: Likewise.
63690         * sunrpc/rtime.c: Likewise.
63691         * sunrpc/svc.c: Likewise.
63692         * sunrpc/svc_auth.c: Likewise.
63693         * sunrpc/svc_raw.c: Likewise.
63694         * sunrpc/svc_run.c: Likewise.
63695         * sunrpc/svc_tcp.c: Likewise.
63696         * sunrpc/svc_udp.c: Likewise.
63697         * sunrpc/svc_unix.c: Likewise.
63698         * sunrpc/svcauth_des.c: Likewise.
63699         * sunrpc/xcrypt.c: Likewise.
63700         * sunrpc/xdr.c: Likewise.
63701         * sunrpc/xdr_array.c: Likewise.
63702         * sunrpc/xdr_float.c: Likewise.
63703         * sunrpc/xdr_intXX_t.c: Likewise.
63704         * sunrpc/xdr_mem.c: Likewise.
63705         * sunrpc/xdr_rec.c: Likewise.
63706         * sunrpc/xdr_ref.c: Likewise.
63707         * sunrpc/xdr_sizeof.c: Likewise.
63708         * sunrpc/xdr_stdio.c: Likewise.
63710 2012-05-10  Roland McGrath  <roland@hack.frob.com>
63712         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
63713         change.  Update copyright years.
63715 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
63717         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
63719 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
63720             Joseph Myers  <joseph@codesourcery.com>
63721             Paul Pluzhnikov  <ppluzhnikov@google.com>
63723         [BZ #14012]
63724         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
63725         requiring rpcgen.
63726         [cross-compiling] (extra-libs): Likewise.
63727         [cross-compiling] (extra-libs-others): Likewise.
63728         [cross-compiling] (librpcsvc-routines): Likewise.
63729         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
63730         [cross-compiling] (omit-deps): Likewise.
63731         (sunrpc-CPPFLAGS): New variable.
63732         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
63733         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
63734         (cross-rpcgen-objs): New variable.
63735         (extra-objs): Append $(cross-rpcgen-objs).
63736         ($(cross-rpcgen-objs)): New rule.
63737         ($(objpfx)cross-rpcgen): Likewise.
63738         (rpcgen-cmd): Define to use $(built-program-file).  Expand
63739         comment.
63740         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
63741         ($(objpfx)x%.stmp): Likewise.
63742         * sunrpc/proto.h [IS_IN_build] (_): Define.
63743         [IS_IN_build] (_libc_intl_domainname): Likewise.
63745 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
63747         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
63748         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
63749         and R_X86_64_TPOFF64.
63751 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
63753         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
63754         sysdeps/unix/sysv/syscalls.list.
63755         (stime): Likewise.
63756         (utime): Likewise.
63757         * sysdeps/unix/sysv/syscalls.list: Remove file.
63759 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
63761         [BZ #3440]
63762         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
63763         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
63764         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
63765         (__LC_IDENTIFICATION): Make these macros useful in #if
63766         expressions, as required by C99.
63768 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
63770         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
63771         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
63772         after this.
63774 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
63776         * stdlib/longlong.h: Updated from GCC.
63778 2012-05-09  Andreas Jaeger  <aj@suse.de>
63780         * nscd/nscd.c (run_modes): Make named enum, reorder so that
63781         default is first entry.
63782         (run_mode): Set type.
63783         (main): Remove informal message about syslog.
63784         (options): Fix typo.
63786         [BZ #14053]
63787         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
63788         to asm.
63789         (lrint): Likewise.
63790         (llrintf): Likewise.
63791         (llrint): Likewise.
63792         (rint): Likewise.
63793         (rintf): Likewise.
63794         (nearbyint): Likewise.
63795         (nearbyintf): Likewise.
63797 2012-05-09  Andreas Jaeger  <aj@suse.de>
63798             Pedro Alves  <palves@redhat.com>
63800         * nscd/nscd.c (run_mode): Use enum.
63801         (main): Cleanup coding style issue.
63803 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
63804             Andreas Jaeger  <aj@suse.de>
63806         * nscd/nscd.c (go_background): Replaced with...
63807         (run_mode): ... this.
63808         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
63809         (options): Add -F --foreground.
63810         (main): Implement it.
63811         (parse_opt): Parse it.
63813 2012-05-09  Andreas Jaeger  <aj@suse.de>
63815         [BZ #14083]
63816         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
63817         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
63818         -Wconversion warning.
63819         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
63820         Likewise.
63822 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
63824         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
63825         == 0.
63826         (LC_ALL): Use macro-int-constant.
63827         (LC_COLLATE): Likewise.
63828         (LC_CTYPE): Likewise.
63829         (LC_MESSAGES): Likewise.
63830         (LC_MONETARY): Likewise.
63831         (LC_NUMERIC): Likewise.
63832         (LC_TIME): Likewise.
63833         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
63834         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
63835         [ISO || ISO99 || ISO11] (*_t): Do not allow.
63836         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
63837         Specify type.
63838         [C99-based standards] (float_t): Expect type.
63839         [C99-based standards] (double_t): Expect type.
63840         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
63841         type.
63842         [C99-based standards] (HUGE_VALL): Likewise.
63843         [C99-based standards] (INFINITY): Likewise.
63844         [C99-based standards] (NAN): Likewise.
63845         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
63846         [C99-based standards] (FP_NAN): Likewise.
63847         [C99-based standards] (FP_NORMAL): Likewise.
63848         [C99-based standards] (FP_SUBNORMAL): Likewise.
63849         [C99-based standards] (FP_ZERO): Likewise.
63850         [C99-based standards] (FP_FAST_FMA): Use
63851         optional-macro-int-constant.  Specify type.  Require == 1.
63852         [C99-based standards] (FP_FAST_FMAF): Likewise.
63853         [C99-based standards] (FP_FAST_FMAL): Likewise.
63854         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
63855         [C99-based standards] (FP_ILOGBNAN): Likewise.
63856         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
63857         Specify type.
63858         [C99-based standards] (MATH_ERREXCEPT): Likewise.
63859         [C99-based standards] (math_errhandling): Specify type.
63860         [ISO99 || ISO11] (signgam): Do not allow.
63861         [non-C99-based standards] (copysignf): Do not allow.
63862         [non-C99-based standards] (exp2f): Likewise.
63863         [non-C99-based standards] (log2f): Likewise.
63864         [non-C99-based standards] (modff): Allow.
63865         [non-C99-based standards] (erff): Do not allow.
63866         [non-C99-based standards] (erfcf): Likewise.
63867         [non-C99-based standards] (gammaf): Likewise.
63868         [non-C99-based standards] (hypotf): Likewise.
63869         [non-C99-based standards] (j0f): Likewise.
63870         [non-C99-based standards] (j1f): Likewise.
63871         [non-C99-based standards] (jnf): Likewise.
63872         [non-C99-based standards] (lgammaf): Likewise.
63873         [non-C99-based standards] (tgammaf): Likewise.
63874         [non-C99-based standards] (y0f): Likewise.
63875         [non-C99-based standards] (y1f): Likewise.
63876         [non-C99-based standards] (ynf): Likewise.
63877         [non-C99-based standards] (isnanf): Likewise.
63878         [non-C99-based standards] (acoshf): Likewise.
63879         [non-C99-based standards] (asinhf): Likewise.
63880         [non-C99-based standards] (atanhf): Likewise.
63881         [non-C99-based standards] (cbrtf): Likewise.
63882         [non-C99-based standards] (expm1f): Likewise.
63883         [non-C99-based standards] (ilogbf): Likewise.
63884         [non-C99-based standards] (log1pf): Likewise.
63885         [non-C99-based standards] (logbf): Likewise.
63886         [non-C99-based standards] (nextafterf): Likewise.
63887         [non-C99-based standards] (remainderf): Likewise.
63888         [non-C99-based standards] (rintf): Likewise.
63889         [non-C99-based standards] (scalbf): Likewise.
63890         [non-C99-based standards] (copysignl): Likewise.
63891         [non-C99-based standards] (exp2l): Likewise.
63892         [non-C99-based standards] (log2l): Likewise.
63893         [non-C99-based standards] (modfl): Allow.
63894         [non-C99-based standards] (erfl): Do not allow.
63895         [non-C99-based standards] (erfcl): Likewise.
63896         [non-C99-based standards] (gammal): Likewise.
63897         [non-C99-based standards] (hypotl): Likewise.
63898         [non-C99-based standards] (j0l): Likewise.
63899         [non-C99-based standards] (j1l): Likewise.
63900         [non-C99-based standards] (jnl): Likewise.
63901         [non-C99-based standards] (lgammal): Likewise.
63902         [non-C99-based standards] (tgammal): Likewise.
63903         [non-C99-based standards] (y0l): Likewise.
63904         [non-C99-based standards] (y1l): Likewise.
63905         [non-C99-based standards] (ynl): Likewise.
63906         [non-C99-based standards] (isnanl): Likewise.
63907         [non-C99-based standards] (acoshl): Likewise.
63908         [non-C99-based standards] (asinhl): Likewise.
63909         [non-C99-based standards] (atanhl): Likewise.
63910         [non-C99-based standards] (cbrtl): Likewise.
63911         [non-C99-based standards] (expm1l): Likewise.
63912         [non-C99-based standards] (ilogbl): Likewise.
63913         [non-C99-based standards] (log1pl): Likewise.
63914         [non-C99-based standards] (logbl): Likewise.
63915         [non-C99-based standards] (nextafterl): Likewise.
63916         [non-C99-based standards] (remainderl): Likewise.
63917         [non-C99-based standards] (rintl): Likewise.
63918         [non-C99-based standards] (scalbl): Likewise.
63919         [ISO || ISO99 || ISO11] (*_t): Do not allow.
63920         [non-C99-based standards] (FP_*): Do not allow.
63921         [C99-based standards] (FP_*): Change to
63922         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
63923         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
63924         allow.
63925         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
63926         (SIG_ERR): Likewise.
63927         [X/Open-based standards] (SIG_HOLD): Likewise.
63928         (SIG_IGN): Likewise.
63929         (SIGABRT): Use macro-int-constant.  Specify type.  Require
63930         positive value.
63931         (SIGFPE): Likewise.
63932         (SIGILL): Likewise.
63933         (SIGINT): Likewise.
63934         (SIGSEGV): Likewise.
63935         (SIGTER): Likewise.
63936         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
63937         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
63938         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
63939         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
63940         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
63941         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
63942         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
63943         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
63944         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
63945         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
63946         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
63947         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
63948         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
63949         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
63950         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
63951         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
63952         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
63953         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
63954         [X/Open-based standards] (SIGTRAP): Likewise.
63955         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
63956         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
63957         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
63958         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
63959         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
63960         allow.
63962 2012-05-08  Ian Wienand  <ianw@vmware.com>
63964         [BZ #14080]
63965         * time/tzset.c (__tzset_parse_tz): Update default rules for
63966         daylight time changes in the Energy Policy Act of 2005.
63968 2012-05-09  Andreas Jaeger  <aj@suse.de>
63970         [BZ #13983]
63971         * elf/ldconfig.c (parse_conf): Change string to make clear that
63972         ldconfig only issued a warning if ld.so.conf does not exist.
63974 2012-05-08  David S. Miller  <davem@davemloft.net>
63976         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
63977         movxtod instead of popping the value on the stack.
63979         * sysdeps/sparc/fpu/libm-test-ulps: Update.
63981 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
63983         * config.h.in: Add HAVE_ARM_PCS_VFP.
63985 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
63987         [BZ #13979]
63988         * include/features.h: Warn if user requests __FORTIFY_SOURCE
63989         checking but the checks are disabled for any reason.
63991 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
63993         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
63994         and ELF64_R_TYPE with ELFW(R_TYPE).
63996 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
63998         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
63999         (ulimit): Likewise.
64001         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
64002         (settimeofday): Likewise.
64004 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
64006         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
64007         a struct th_u2 inside the union, and move tu_block/tu_code into
64008         a new th_u3 union of tu_block/tu_code inside of that.  Move
64009         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
64010         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
64011         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
64012         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
64013         (th_stuff): Change to th_u1.tu_stuff.
64014         (th_data): Define.
64015         (th_msg): Change to th_u1.th_u2.tu_data.
64017 2012-05-07  David S. Miller  <davem@davemloft.net>
64019         * sysdeps/sparc/fpu/libm-test-ulps: Update.
64021         [BZ #14074]
64022         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
64023         (SETUP_PIC_REG): Use it.
64024         (SETUP_PIC_REG_LEAF): Use it.
64026 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
64028         [BZ #13885]
64029         [BZ #13923]
64030         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
64031         USE_AS_EXPM1L.
64032         (EXPL_FINITE): Likewise.
64033         (FLDLOG): Likewise.
64034         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
64035         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
64036         e_expl.S.
64037         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
64038         USE_AS_EXPM1L.
64039         (EXPL_FINITE): Likewise.
64040         (FLDLOG): Likewise.
64041         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
64042         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
64043         e_expl.S.
64044         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
64045         test of -max_value argument for long double.
64046         * sysdeps/i386/fpu/libm-test-ulps: Update.
64047         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64049 2012-05-06  David S. Miller  <davem@davemloft.net>
64051         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
64052         quad soft-float symbols whose references which are compiler
64053         generated.
64054         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
64056 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
64058         [BZ #13884]
64059         [BZ #13914]
64060         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
64061         USE_AS_EXP10L.
64062         (EXPL_FINITE): Likewise.
64063         (FLDLOG): Likewise.
64064         (c0): Likewise.
64065         (c1): Likewise.
64066         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
64067         Adjust comments for base varying.
64068         (__expl_finite): Change alias to EXPL_FINITE.
64069         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
64070         e_expl.S.
64071         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
64072         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
64073         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
64074         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
64075         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
64076         USE_AS_EXP10L.
64077         (EXPL_FINITE): Likewise.
64078         (FLDLOG): Likewise.
64079         (c0): Likewise.
64080         (c1): Likewise.
64081         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
64082         Adjust comments for base varying.
64083         (__expl_finite): Change alias to EXPL_FINITE.
64084         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
64085         tests for bugs.
64086         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
64088         [BZ #14064]
64089         * math/libm-test.inc (check_float_internal): Correct ulp
64090         calculation for subnormal expected results.
64092 2012-05-06  Andreas Jaeger  <aj@suse.de>
64094         * Makeconfig (+math-flags): New, set to -frounding-math.
64095         (+cflags): Add +math-flags so that all of glibc gets compiled with
64096         it.
64098         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
64100 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
64102         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
64103         Disable one test.
64105         [BZ #13787]
64106         [BZ #13922]
64107         [BZ #14036]
64108         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
64109         (__ieee754_expl): Allow for and saturate large arguments.
64110         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
64111         (u_threshold): Likewise.
64112         (__exp): Call __ieee754_exp before checking for overflow and
64113         underflow.
64114         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
64115         (u_threshold): Likewise.
64116         (__expf): Call __ieee754_expf before checking for overflow and
64117         underflow.
64118         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
64119         (u_threshold): Likewise.
64120         (__expl): Call __ieee754_expl before checking for overflow and
64121         underflow.
64122         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
64123         (__ieee754_expl): Allow for and saturate large arguments.
64124         * math/libm-test.inc (exp_test): Add another test.  Do not allow
64125         missing overflow exception on overflow.
64126         (expm1_test): Do not allow missing overflow exception on overflow.
64128         * sysdeps/i386/fpu/e_expl.c: Move to ...
64129         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
64130         rather than using inline asm.
64131         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
64132         * sysdeps/x86_64/fpu/e_expl.S: Copy from
64133         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
64135         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
64136         (nice): Likewise.
64137         (poll): Likewise.
64138         (signal): Likewise.
64139         (time): Likewise.
64140         (times): Likewise.
64142 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
64144         * sysdeps/unix/syscalls.list (adjtime): Add entry from
64145         sysdeps/unix/common/syscalls.list.
64146         (fchmod): Likewise.
64147         (fchown): Likewise.
64148         (ftruncate): Likewise.
64149         (getrusage): Likewise.
64150         (gettimeofday): Likewise.
64151         (setpgid): Likewise.
64152         (setregid): Likewise.
64153         (setreuid): Likewise.
64154         (sigaction): Likewise.
64155         (truncate): Likewise.
64156         (vhangup): Likewise.
64157         * sysdeps/unix/common/syscalls.list: Remove file.
64158         * sysdeps/unix/bsd/Implies: Don't include unix/common.
64159         * sysdeps/unix/sysv/linux/Implies: Likewise.
64161 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
64163         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
64164         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
64165         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
64166         Moved to ...
64167         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
64168         Here.
64169         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
64170         to ...
64171         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
64172         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
64173         to ...
64174         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
64175         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
64176         to ...
64177         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
64178         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
64179         to ...
64180         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
64181         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
64182         to ...
64183         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
64184         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
64185         to ...
64186         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
64187         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
64188         to ...
64189         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
64190         Here.
64191         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
64192         to ...
64193         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
64194         Here.
64195         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
64196         to ...
64197         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
64198         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
64199         Moved to ...
64200         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
64201         Here.
64202         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
64203         to ...
64204         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
64206 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
64208         * sysdeps/unix/common/bits/dirent.h: Remove file.
64209         * sysdeps/unix/common/bits/fcntl.h: Likewise.
64211         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
64212         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
64213         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
64214         * sysdeps/unix/bsd/isatty.c: Likewise.
64215         * sysdeps/unix/bsd/tcdrain.c: Likewise.
64216         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
64217         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
64219 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
64221         [BZ #13563]
64222         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
64223         long double comparison inaccuracies.
64224         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
64225         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
64227 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
64229         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
64230         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
64232 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
64234         [BZ #14049]
64235         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
64236         nonzero digits before rounding a hex value.
64237         * stdlib/tst-strtod.c (tests): Add another test.
64239 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
64241         * sysdeps/s390/fpu/libm-test-ulps: Update.
64243 2012-05-03  Andreas Jaeger  <aj@suse.de>
64245         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
64246         does not get optimized out.
64247         (malloc_opt_barrier): New.
64249 2012-05-03  Andreas Jaeger  <aj@suse.de>
64250             Roland McGrath  <roland@hack.frob.com>
64252         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
64253         intermediate file deletion.
64254         (generated): Add .symlist files.
64256 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
64258         [BZ #13775]
64259         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
64260         Redirect under this condition.
64261         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
64262         [__USE_GNU] (__dprintf_chk): Not under this condition.
64263         [__USE_GNU] (__vdprintf_chk): Likewise.
64264         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
64265         under this condition.
64266         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
64267         [__USE_XOPEN2K8] (dprintf): Define under this condition.
64268         [__USE_XOPEN2K8] (vdprintf): Likewise.
64269         [__USE_GNU] (__dprintf_chk): Not under this condition.
64270         [__USE_GNU] (__vdprintf_chk): Likewise.
64271         [__USE_GNU] (dprintf): Likewise.
64272         [__USE_GNU] (vdprintf): Likewise.
64274 2012-05-03  Roland McGrath  <roland@hack.frob.com>
64276         * elf/Makefile (common-generated): Set this instead of generated for
64277         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
64278         $(all-built-dso)-derived lists.
64280 2012-05-03  Andreas Jaeger  <aj@suse.de>
64282         * sysdeps/i386/fpu/libm-test-ulps: Update.
64284         * FAQ: Removed.
64285         * FAQ.in: Likewise.
64286         * scripts/gen-FAQ.pl: Likewise.
64287         * manual/install.texi (Installation): Point to online location of
64288         FAQ.
64289         * Makefile (files-for-dist): Remove FAQ.
64290         (FAQ): Remove.
64292 2012-05-02  Allan McRae  <allan@archlinux.org>
64294         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
64295         (LDFLAGS-reldepmod5.so): Likewise.
64296         (LDFLAGS-reldep6mod1.so): Likewise.
64297         (LDFLAGS-reldep6mod4.so): Likewise.
64298         (LDFLAGS-reldep8mod3.so): Likewise.
64299         (LDFLAGS-unload4mod1.so): Likewise.
64300         (LDFLAGS-unload4mod2.so): Likewise.
64301         (LDFLAGS-tst-initorder): Likewise.
64302         (LDFLAGS-tst-initordera2.so): Likewise.
64303         (LDFLAGS-tst-initordera3.so): Likewise.
64304         (LDFLAGS-tst-initordera4.so): Likewise.
64305         (LDFLAGS-tst-initorderb2.so): Likewise.
64306         (LDFLAGS-noload): Likewise.
64307         (LDFLAGS-next): Likewise.
64308         (LDFLAGS-order2mod1.so): Likewise.
64309         (LDFLAGS-order2mod2.so): Likewise.
64310         (LDFLAGS-tst-initorder2): Likewise.
64311         (LDFLAGS-tst-initorder2a.so): Likewise.
64312         (LDFLAGS-tst-initorder2b.so): Likewise.
64313         (LDFLAGS-tst-initorder2c.so): Likewise.
64314         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
64316 2012-05-02  David S. Miller  <davem@davemloft.net>
64318         * sysdeps/sparc/fpu/libm-test-ulps: Update.
64320 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
64322         [BZ #14055]
64323         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
64325 2012-05-02  Andreas Jaeger  <aj@suse.de>
64327         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
64328         since we manipulate rounding mode.
64329         (CPPFLAGS-test-idouble.c): Likewise.
64330         (CPPFLAGS-test-ifloat.c): Likewise.
64331         (CFLAGS-test-ldouble.c): Likewise.
64332         (CFLAGS-test-double.c): Likewise.
64333         (CFLAGS-test-float.c): Likewise.
64334         (CFLAGS-test-misc.c): Likewise.
64335         (CFLAGS-test-test-fenv.c): Likewise.
64337 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
64339         [BZ #2550]
64340         [BZ #2570]
64341         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
64342         comparisons to determine direction to adjust input.
64344 2012-05-01  Roland McGrath  <roland@hack.frob.com>
64346         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
64347         output to the target.
64349         * scripts/localplt.awk: New file.
64350         * elf/Makefile ($(objpfx)check-localplt): Target removed.
64351         (check-localplt-CFLAGS): Variable removed.
64352         ($(all-built-dso:=.jmprel)): New static pattern rule.
64353         (generated): Add those targets.
64354         (localplt-built-dso): New variable.
64355         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
64357         * elf/check-localplt.c: File removed.
64359         * scripts/check-execstack.awk: New file.
64360         * elf/Makefile ($(objpfx)check-execstack): Target removed.
64361         (check-execstack-CFLAGS): Variable removed.
64362         ($(objpfx)check-execstack.h): Target removed.
64363         ($(objpfx)execstack-default): New target.
64364         (generated): Add that instead of check-execstack.h.
64365         ($(all-built-dso:=.phdr)): New static pattern rule.
64366         (generated): Add those targets.
64367         * elf/check-execstack.c: File removed.
64369         * scripts/check-textrel.awk: New file.
64370         * elf/Makefile ($(objpfx)check-textrel): Target removed.
64371         (check-textrel-CFLAGS): Variable removed.
64372         (all-built-dso): Use := to define.o
64373         ($(all-built-dso:=.dyn)): New static pattern rule.
64374         (generated): Add those targets.
64375         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
64376         * config.make.in (READELF): New substituted variable.
64377         * elf/check-textrel.c: File removed.
64379 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
64381         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
64382         allow.
64383         * conform/data/ctype.h-data [C99-based standards] (isblank):
64384         Expect function.
64385         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
64386         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
64387         [ISO || ISO99 || ISO11] (*_t): Do not allow.
64388         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
64389         Specify type.  Require positive value.
64390         (EILSEQ): Likewise.
64391         (ERANGE): Likewise.
64392         [ISO || POSIX] (EILSEQ): Do not expect.
64393         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
64394         Specify type.  Require positive value.
64395         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
64396         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
64397         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
64398         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
64399         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
64400         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
64401         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
64402         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
64403         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
64404         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
64405         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
64406         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
64407         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
64408         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
64409         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
64410         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
64411         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
64412         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
64413         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
64414         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
64415         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
64416         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
64417         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
64418         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
64419         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
64420         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
64421         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
64422         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
64423         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
64424         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
64425         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
64426         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
64427         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
64428         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
64429         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
64430         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
64431         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
64432         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
64433         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
64434         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
64435         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
64436         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
64437         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
64438         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
64439         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
64440         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
64441         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
64442         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
64443         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
64444         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
64445         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
64446         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
64447         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
64448         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
64449         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
64450         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
64451         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
64452         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
64453         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
64454         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
64455         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
64456         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
64457         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
64458         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
64459         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
64460         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
64461         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
64462         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
64463         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
64464         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
64465         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
64466         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
64467         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
64468         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
64469         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
64470         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
64471         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
64472         Require >= 2.
64473         (FLT_ROUNDS): Expect as macro, not constant.
64474         (FLT_MANT_DIG): Use macro-int-constant.
64475         (DBL_MANT_DIG): Likewise.
64476         (LDBL_MANT_DIG): Likewise.
64477         (FLT_DIG): Likewise.
64478         (DBL_DIG): Likewise.
64479         (LDBL_DIG): Likewise.
64480         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
64481         (DBL_MIN_EXP): Likewise.
64482         (LDBL_MIN_EXP): Likewise.
64483         (FLT_MAX_EXP): Use macro-int-constant.
64484         (DBL_MAX_EXP): Likewise.
64485         (LDBL_MAX_EXP): Likewise.
64486         (FLT_MAX_10_EXP): Likewise.
64487         (DBL_MAX_10_EXP): Likewise.
64488         (LDBL_MAX_10_EXP): Likewise.
64489         (FLT_MAX): Use macro-constant.
64490         (DBL_MAX): Likewise.
64491         (LDBL_MAX): Likewise.
64492         (FLT_EPSILON): Use macro-constant.  Give upper bound.
64493         (DBL_EPSILON): Likewise.
64494         (LDBL_EPSILON): Likewise.
64495         (FLT_MIN): Likewise.
64496         (DBL_MIN): Likewise.
64497         (LDBL_MIN): Likewise.
64498         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
64499         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
64500         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
64501         [ISO11] (FLT_HAS_SUBNORM): Likewise.
64502         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
64503         [ISO11] (DBL_DECIMAL_DIG): Likewise.
64504         [ISO11] (FLT_DECIMAL_DIG): Likewise.
64505         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
64506         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
64507         [ISO11] (FLT_TRUE_MIN): Likewise.
64508         [ISO11] (LDBL_TRUE_MIN): Likewise.
64509         [ISO || ISO99 || ISO11] (*_t): Do not allow.
64510         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
64511         (SCHAR_MIN): Use macro-int-constant.  Specify type.
64512         (SCHAR_MAX): Likewise.
64513         (UCHAR_MAX): Likewise.
64514         (CHAR_MIN): Likewise.
64515         (CHAR_MAX): Likewise.
64516         (MB_LEN_MAX): Use macro-int-constant.
64517         (SHRT_MIN): Use macro-int-constant.  Specify type.
64518         (SHRT_MAX): Likewise.
64519         (USHRT_MAX): Likewise.
64520         (INT_MAX): Likewise.
64521         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
64522         bound negative.
64523         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
64524         bound with "U".
64525         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
64526         bound with "L".
64527         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
64528         bound negative.  Suffix upper bound with "L".
64529         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
64530         bound with "UL".
64531         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
64532         Specify type.
64533         [C99-based standards] (LLONG_MAX): Likewise.
64534         [C99-based standards] (ULLONG_MAX): Likewise.
64535         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
64536         == 0.
64537         [ISO11] (max_align_t): Require type.
64538         [ISO || ISO99 || ISO11] (*_t): Do not allow.
64540         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
64541         from $CFLAGS, without defining away __attribute__ calls.
64542         (checknamespace): Use $CFLAGS_namespace.
64544         * conform/conformtest.pl (@keywords): Only include C99 keywords
64545         for standards based on C99 or C11.
64547         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
64548         Disable tests.
64549         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
64550         UNIX98]: Likewise.
64552         * conform/conformtest.pl: Handle "macro-int-constant" and test for
64553         usability of symbols in #if.
64555         * conform/conformtest.pl: If macro or constant types start
64556         "promoted:", expect the symbol to be of the following type
64557         promoted by the integer promotions.
64559         * conform/conformtest.pl: Parse all "constant" and "macro" lines
64560         in one place.  Also handle "macro-constant".
64562         * conform/conformtest.pl: Only accept expected macro values with
64563         "==".  Parse all "macro" lines in one place.
64564         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
64566         * conform/conformtest.pl: Handle braced types on "constant" lines
64567         instead of handling "typed-constant".
64568         * conform/data/signal.h-data: Use "constant" instead of
64569         "typed-constant".
64571         * conform/conformtest.pl: Handle "optional-" at start of lines in
64572         one place rather than duplicating several cases.  Handle each
64573         format of "macro" line with initial "optional-".
64575         * conform/conformtest.pl: Only accept expected constant or
64576         optional-constant values with "==".  Parse all "constant" lines in
64577         one place.  Parse all "optional-constant" lines in one place.
64578         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
64579         * conform/data/fmtmsg.h-data: Likewise.
64580         * conform/data/netinet/in.h-data: Likewise.
64581         * conform/data/tar.h-data: Likewise.
64582         * conform/data/limits.h-data: Use "==" form on "constant" and
64583         "optional-constant" lines.
64585         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
64586         Use -std=c99 for XOPEN2K.
64587         (@knownproblems): Remove.
64588         (newtoken): Don't check %isknown.
64590         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
64591         Do not expect macro.
64592         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
64593         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
64594         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
64595         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
64596         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
64597         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
64598         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
64599         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
64600         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
64601         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
64602         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
64603         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
64604         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
64605         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
64606         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
64607         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
64608         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
64609         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
64610         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
64611         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
64612         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
64613         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
64614         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
64615         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
64616         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
64617         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
64618         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
64619         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
64620         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
64621         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
64622         [XPG3] (acosh): Likewise.
64623         [XPG3] (asinh): Likewise.
64624         [XPG3] (atanh): Likewise.
64625         [XPG3] (cbrt): Likewise.
64626         [XPG3] (expm1): Likewise.
64627         [XPG3] (ilogb): Likewise.
64628         [XPG3] (log1p): Likewise.
64629         [XPG3] (logb): Likewise.
64630         [XPG3] (nextafter): Likewise.
64631         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
64632         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
64633         [XPG3] (remainder): Likewise.
64634         [XPG3] (rint): Likewise.
64635         [XPG3 || XPG4 || UNIX98] (round): Likewise.
64636         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
64637         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
64638         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
64639         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
64640         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
64641         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
64642         [UNIX98 || XOPEN2K] (scalb): Expect.
64643         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
64644         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
64645         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
64646         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
64647         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
64648         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
64649         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
64650         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
64651         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
64652         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
64653         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
64654         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
64655         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
64656         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
64657         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
64658         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
64659         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
64660         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
64661         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
64662         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
64663         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
64664         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
64665         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
64666         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
64667         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
64668         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
64669         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
64670         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
64671         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
64672         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
64673         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
64674         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
64675         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
64676         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
64677         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
64678         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
64679         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
64680         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
64681         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
64682         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
64683         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
64684         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
64685         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
64686         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
64687         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
64688         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
64689         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
64690         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
64691         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
64692         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
64693         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
64694         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
64695         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
64696         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
64697         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
64698         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
64699         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
64700         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
64701         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
64702         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
64703         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
64704         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
64705         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
64706         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
64707         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
64708         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
64709         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
64710         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
64711         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
64712         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
64713         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
64714         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
64715         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
64716         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
64717         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
64718         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
64719         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
64720         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
64721         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
64722         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
64723         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
64724         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
64725         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
64726         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
64727         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
64728         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
64729         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
64730         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
64731         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
64732         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
64733         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
64734         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
64735         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
64736         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
64737         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
64738         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
64739         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
64740         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
64741         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
64742         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
64743         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
64744         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
64745         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
64746         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
64747         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
64748         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
64749         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
64750         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
64751         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
64752         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
64753         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
64754         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
64755         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
64756         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
64757         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
64758         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
64759         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
64760         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
64761         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
64762         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
64763         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
64764         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
64765         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
64766         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
64767         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
64768         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
64769         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
64770         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
64771         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
64772         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
64773         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
64774         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
64775         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
64776         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
64777         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
64778         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
64779         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
64781         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
64782         _XOPEN_SOURCE_EXTENDED for XPG4.
64784         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
64786         * Makeconfig (localtime): Remove variable.
64787         (inst_localtime-file): Likewise.
64789 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
64791         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
64792         Update.
64793         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
64794         Update.
64795         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
64796         Update.
64797         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
64798         Update.
64799         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
64800         Update.
64801         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
64802         Update.
64803         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
64804         Update.
64805         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
64806         Update.
64807         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
64808         Update.
64810 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
64812         [BZ #2550]
64813         [BZ #2570]
64814         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
64815         comparisons to determine direction to adjust input.
64816         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
64817         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
64818         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
64819         Likewise.
64820         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
64821         Likewise.
64822         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
64823         Likewise.
64824         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
64825         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
64826         Likewise.
64827         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
64828         Likewise.
64829         * math/libm-test.inc (nexttoward_test): Add more tests.
64831 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
64833         [BZ #14040]
64834         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
64835         in version GLIBC_2.1, not GLIBC_2.0.
64836         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
64837         Likewise.
64839 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
64841         [BZ #13942]
64842         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
64843         (1 - x) * (1 + x).
64844         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
64845         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
64846         * math/libm-test.inc (acos_test): Add more tests.
64847         (asin_test): Likewise.
64848         * sysdeps/i386/fpu/libm-test-ulps: Update.
64849         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64851         [BZ #14034]
64852         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
64853         of square root.
64854         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
64855         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
64856         * math/libm-test.inc (acos_test_tonearest): New function.
64857         (acos_test_towardzero): Likewise.
64858         (acos_test_downward): Likewise.
64859         (acos_test_upward): Likewise.
64860         (asin_test_tonearest): Likewise.
64861         (asin_test_towardzero): Likewise.
64862         (asin_test_downward): Likewise.
64863         (asin_test_upward): Likewise.
64864         (main): Call the new functions.
64865         * sysdeps/i386/fpu/libm-test-ulps: Update.
64866         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
64868         [BZ #13884]
64869         [BZ #13924]
64870         * math/e_exp10.c: Include <float.h>.
64871         (__ieee754_exp10): Handle underflow here rather than multiplying
64872         large negative argument by M_LN10.
64873         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
64874         of __ieee754_expf.
64875         * math/e_exp10l.c: Include <float.h>.
64876         (__ieee754_exp10l): Handle underflow here rather than multiplying
64877         large negative argument by M_LN10l.
64878         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
64879         spurious overflow exception on underflow.
64881 2012-04-29  Marek Polacek  <polacek@redhat.com>
64883         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
64884         (__fortify_function): New macro.
64885         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
64886         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
64887         __extern_always_inline.
64888         * libio/bits/stdio2.h: Likewise.
64889         * libio/bits/stdio.h: Likewise.
64890         * string/string.h: Likewise.
64891         * string/bits/string3.h: Likewise.
64892         * include/stdio.h: Likewise.
64893         * stdlib/bits/stdlib.h: Likewise.
64894         * stdlib/stdlib.h: Likewise.
64895         * rt/bits/mqueue2.h: Likewise.
64896         * rt/mqueue.h: Likewise.
64897         * posix/bits/unistd.h: Likewise.
64898         * posix/unistd.h: Likewise.
64899         * io/bits/poll2.h: Likewise.
64900         * io/bits/fcntl2.h: Likewise.
64901         * io/fcntl.h: Likewise.
64902         * io/sys/poll.h: Likewise.
64903         * misc/bits/syslog.h: Likewise.
64904         * misc/bits/syslog-ldbl.h: Likewise.
64905         * misc/sys/syslog.h: Likewise.
64906         * socket/bits/socket2.h: Likewise.
64907         * socket/sys/socket.h: Likewise.
64908         * debug/tst-chk1.c: Likewise.
64909         * wcsmbs/bits/wchar2.h: Likewise.
64910         * wcsmbs/bits/wchar-ldbl.h: Likewise.
64911         * wcsmbs/wchar.h: Likewise.
64913 2012-04-29  Andreas Jaeger  <aj@suse.de>
64915         * Makerules (tests): Remove enable-check-abi protection.
64916         (check-abi-warn): Remove.
64917         (check-abi-%): Remove check-abi-warn usage.
64919         * configure.in: Remove check-abi configure option.
64920         * configure: Regenerated.
64921         * config.make.in (enable-check-abi): Remove.
64923 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
64925         [BZ #14033]
64926         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
64927         double functions to double *_finite functions.
64929         [BZ #13941]
64930         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
64931         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
64932         LDBL_MIN_EXP.
64933         * stdio-common/Makefile (tests): Add tst-sprintf3.
64934         * stdio-common/tst-sprintf3.c: New file.
64936         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
64937         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
64939 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
64941         * conform/conformtest.pl: Remove duplicate typed-constant
64942         handling.
64944 2012-04-28  David S. Miller  <davem@davemloft.net>
64946         * Makerules (%.abilist): Add vpath on sysdep_dirs.
64947         (check-abi-%): Remove AWK script prerequisite and explicit
64948         abilist directory.
64949         (check-abi): Rewrite to just diff the symlist with the abilist.
64950         (config-tls, config-abi-config): Delete, no longer used.
64951         (update-abi-%): Remove AWK script and explicit abilist directory.
64952         (update-abi): Rewrite to simply compare and conditionally copy the
64953         symlist and the sysdep abilist file.  Remove update-abi-config
64954         checks.
64955         * abilist/ld.abilist: Remove.
64956         * abilist/libBrokenLocale.abilist: Remove.
64957         * abilist/libanl.abilist: Remove.
64958         * abilist/libcrypt.abilist: Remove.
64959         * abilist/libdl.abilist: Remove.
64960         * abilist/librt.abilist: Remove.
64961         * abilist/libthread_db.abilist: Remove.
64962         * abilist/libutil.abilist: Remove.
64963         * scripts/extract-abilist.awk: Remove.
64964         * scripts/merge-abilist.awk: Remove.
64965         * sysdeps/generic/libcidn.abilist: New file.
64966         * sysdeps/generic/libnss_compat.abilist: New file.
64967         * sysdeps/generic/libnss_db.abilist: New file.
64968         * sysdeps/generic/libnss_dns.abilist: New file.
64969         * sysdeps/generic/libnss_files.abilist: New file.
64970         * sysdeps/generic/libnss_hesiod.abilist: New file.
64971         * sysdeps/generic/libnss_nis.abilist: New file.
64972         * sysdeps/generic/libnss_nisplus.abilist: New file.
64973         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
64974         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
64975         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
64976         file.
64977         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
64978         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
64979         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
64980         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
64981         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
64982         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
64983         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
64984         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
64985         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
64986         file.
64987         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
64988         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
64989         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
64990         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
64991         file.
64992         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
64993         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
64994         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
64995         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
64996         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
64997         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
64998         file.
64999         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
65000         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
65001         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
65002         file.
65003         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
65004         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
65005         New file.
65006         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
65007         New file.
65008         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
65009         New file.
65010         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
65011         New file.
65012         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
65013         New file.
65014         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
65015         New file.
65016         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
65017         New file.
65018         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
65019         New file.
65020         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
65021         New file.
65022         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
65023         New file.
65024         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
65025         New file.
65026         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
65027         New file.
65028         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
65029         New file.
65030         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
65031         file.
65032         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
65033         New file.
65034         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
65035         New file.
65036         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
65037         file.
65038         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
65039         New file.
65040         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
65041         New file.
65042         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
65043         file.
65044         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
65045         New file.
65046         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
65047         New file.
65048         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
65049         New file.
65050         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
65051         New file.
65052         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
65053         New file.
65054         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
65055         New file.
65056         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
65057         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
65058         file.
65059         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
65060         New file.
65061         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
65062         file.
65063         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
65064         file.
65065         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
65066         file.
65067         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
65068         file.
65069         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
65070         file.
65071         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
65072         New file.
65073         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
65074         file.
65075         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
65076         file.
65077         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
65078         New file.
65079         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
65080         file.
65081         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
65082         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
65083         file.
65084         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
65085         New file.
65086         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
65087         file.
65088         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
65089         file.
65090         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
65091         file.
65092         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
65093         file.
65094         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
65095         file.
65096         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
65097         New file.
65098         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
65099         file.
65100         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
65101         file.
65102         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
65103         New file.
65104         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
65105         file.
65106         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
65107         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
65108         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
65109         file.
65110         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
65111         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
65112         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
65113         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
65114         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
65115         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
65116         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
65117         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
65118         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
65119         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
65120         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
65121         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
65122         file.
65123         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
65124         New file.
65125         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
65126         file.
65127         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
65128         file.
65129         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
65130         file.
65131         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
65132         file.
65133         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
65134         file.
65135         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
65136         New file.
65137         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
65138         New file.
65139         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
65140         file.
65141         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
65142         New file.
65143         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
65144         file.
65145         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
65146         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
65147         file.
65148         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
65149         New file.
65150         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
65151         file.
65152         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
65153         file.
65154         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
65155         file.
65156         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
65157         file.
65158         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
65159         file.
65160         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
65161         New file.
65162         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
65163         New file.
65164         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
65165         file.
65166         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
65167         New file.
65168         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
65169         file.
65171 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
65173         * conform/conformtest.pl: Fix typo in handling typed-constant from
65174         allow-header.
65176 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
65178         * README: Cut down references to pre-2.6 Linux kernels and
65179         Linuxthreads.  Update lists of configurations in libc and ports
65180         and sort alphabetically.  Say "or newer" with Linux kernel version
65181         requirements.
65183         * config.h.in [IS_IN_build]: Allow compiling without optimization.
65185 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
65187         [BZ #887]
65188         * math/libm-test.inc (logb_test_downward): New test to expose
65189         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
65190         rounding mode.
65192 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
65194         [BZ #14027]
65195         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
65196         to be done.
65197         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
65198         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
65200 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
65202         * sysdeps/unix/i386/brk.S: Remove file.
65203         * sysdeps/unix/i386/dl-brk.S: Likewise.
65204         * sysdeps/unix/i386/pipe.S: Likewise.
65205         * sysdeps/unix/i386/sigreturn.S: Likewise.
65206         * sysdeps/unix/i386/syscall.S: Likewise.
65207         * sysdeps/unix/i386/vfork.S: Likewise.
65208         * sysdeps/unix/i386/wait.S: Likewise.
65210         * sysdeps/unix/common/tcsendbrk.c: Move to ...
65211         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
65213         * configure.in (arm*-none*): Do not allow without
65214         --enable-hacker-mode.
65215         (netbsd*): Remove case setting base_os.
65216         (386bsd*): Likewise.
65217         (freebsd*): Likewise.
65218         (bsdi*): Likewise.
65219         (osf*): Likewise.
65220         (sunos*): Likewise.
65221         (ultrix*): Likewise.
65222         (newsos*): Likewise.
65223         (dynix*): Likewise.
65224         (*bsd*): Likewise.
65225         (sysv*): Likewise.
65226         (isc*): Likewise.
65227         (esix*): Likewise.
65228         (sco*): Likewise.
65229         (minix*): Likewise.
65230         (irix4*): Likewise.
65231         (irix6*): Likewise.
65232         (solaris[2-9]*): Likewise.
65233         (none): Likewise.
65234         * configure: Regenerated.
65236 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
65238         [BZ #11521]
65239         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
65240         overflow or cancellation in calculating denominator.
65241         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
65242         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
65243         down expression to avoid unexpected rounding in newer GCCs.
65244         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
65246 2012-04-26  David S. Miller  <davem@davemloft.net>
65248         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
65249         long-double compat symbols.
65250         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
65251         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
65252         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
65253         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
65254         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
65255         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
65256         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
65257         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
65258         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
65259         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
65260         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
65261         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
65262         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
65264 2012-04-25  David S. Miller  <davem@davemloft.net>
65266         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
65267         HWCAP_* values only after the memory barriers have been defined.
65268         (atomic_full_barrier): Define.
65269         (atomic_read_barrier): Define.
65270         (atomic_write_barrier): Define.
65272 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
65274         * shlib-versions: Add libgcc_s version information.
65275         * sysdeps/generic/libgcc_s.h: Remove.
65276         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
65277         libgcc_s.h.
65278         * sysdeps/gnu/unwind-resume.c: Likewise.
65279         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
65281 2012-04-25  David S. Miller  <davem@davemloft.net>
65283         * sysdeps/unix/sparc/brk.S: Delete.
65284         * sysdeps/unix/sparc/dl-brk.S: Delete.
65285         * sysdeps/unix/sparc/pipe.S: Delete.
65286         * sysdeps/unix/sparc/sysdep.S: Delete.
65287         * sysdeps/unix/sparc/sysdep.h: Delete.
65288         * sysdeps/unix/sparc/vfork.S: Delete.
65289         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
65290         (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
65291         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
65292         (ret_ERRVAL, r0, r1, MOVE): Define.
65293         (JUMPTARGET): Remove.
65294         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
65295         sysdeps/unix/sparc/sysdep.h
65296         (ENTRY, END): Remove.
65297         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
65299 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
65301         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
65302         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
65303         -DIS_IN_build.
65305         * timezone/README: Update upstream location and email address for
65306         tzcode and tzdata.
65307         * timezone/zdump.c: Update from tzcode 2012b.
65308         * timezone/zic.c: Likewise.
65310         * configure.in (libc_cv_as_needed): Remove test.
65311         * configure: Regenerated.
65312         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
65313         conditional definition.
65314         [$(have-as-needed) != yes] (no-as-needed): Likewise.
65315         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
65316         * config.make.in (have-as-needed): Remove variable.
65318 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
65319             Paul Pluzhnikov  <ppluzhnikov@google.com>
65321         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
65322         strings correctly.
65324 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
65326         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
65327         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
65328         * sysdeps/sh/strlen.S: Likewise.
65330 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
65332         * sysdeps/unix/fork.S: Remove file.
65333         * sysdeps/unix/i386/fork.S: Likewise.
65334         * sysdeps/unix/sparc/fork.S: Likewise.
65336         * sysdeps/unix/system.c: Remove file.
65337         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
65339         * sysdeps/unix/getegid.S: Remove file.
65340         * sysdeps/unix/geteuid.S: Likewise.
65342 2012-04-24  Roland McGrath  <roland@hack.frob.com>
65344         * scripts/check-localplt.awk: New file.
65345         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
65346         of diff.
65347         * scripts/data/localplt-generic.data: Add a comment.
65349         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
65350         NODE when __dir_mkfile failed.
65351         * sysdeps/mach/hurd/symlinkat.c: Likewise.
65352         Reported by Ludovic Courtès <ludo@gnu.org>.
65354 2012-04-24  Andreas Jaeger  <aj@suse.de>
65356         * Makerules (common-clean): Also remove gen-as-const-headers
65357         files.
65359 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
65361         * Makerules (native-compile): Do not change working directory for
65362         build.  Use $(OUTPUT_OPTION) in command.
65363         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
65365 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
65367         [BZ #13886]
65368         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
65369         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
65370         * math/libm-test.inc (floor_test): Add more tests.
65371         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
65373 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
65375         * sysdeps/unix/getdents.c: Remove file.
65376         * sysdeps/unix/sysv/getdents.c: Likewise.
65377         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
65379         * sysdeps/unix/syscalls.list (madvise): Add syscall from
65380         sysdeps/unix/mman/syscalls.list.
65381         (mmap): Likewise.
65382         (mprotect): Likewise.
65383         (msync): Likewise.
65384         (munmap): Likewise.
65385         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
65386         * sysdeps/unix/mman/syscalls.list: Remove.
65387         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
65389         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
65390         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
65391         * configure: Regenerated.
65392         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
65393         $(libgcc_s_suffix).
65394         * config.make.in (libgcc_s_suffix): Remove variable.
65396 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
65398         * sysdeps/unix/sysv/gethostname.c: Move to ...
65399         * sysdeps/posix/gethostname.c: ... here.
65401         * sysdeps/unix/execve.S: Remove file.
65403         * sysdeps/unix/_exit.S: Remove file.
65405 2012-04-23  Andreas Jaeger  <aj@suse.de>
65407         [BZ #13739]
65408         * manual/Makefile: Remove make dist support, there's no
65409         need for a stand-alone documentation tar ball.
65410         (TEXI2DVI): Define always, it's not in Makeconfig.
65411         (dist): Removed.
65412         (tar-it): Removed.
65413         (edition): Removed.
65414         (glibc-doc-$(edition).tar): Removed
65415         (%.Z): Removed.
65416         (%.gz): Removed.
65417         (%.uu): Removed.
65418         (ETAGS): Remove, it's in Makeconfig.
65419         (move-if-change): Remove, it's in Makeconfig.
65421 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
65423         [BZ #13970]
65424         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
65425         (strtod, strtof, strtold, strtol, strtoul, strtoq)
65426         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
65427         (strtod_l, strtof_l, strtold_l): Remove __wur.
65428         It is not necessarily an error to ignore strtol's return value.
65429         One can reliably look at the stored endptr to decide whether
65430         the number had valid syntax.
65432 2012-04-21  Andreas Jaeger  <aj@suse.de>
65434         [BZ #13739]
65435         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
65437 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
65439         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
65440         * sysdeps/unix/sysv/Versions: Remove file.
65442 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
65444         [BZ #13927]
65445         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
65447 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
65449         [BZ #7064]
65450         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
65451         version from __vm86.
65453 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
65455         * sysdeps/unix/common/lxstat.c: Remove file.
65456         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
65458         * sysdeps/unix/sysv/Makefile: Remove file.
65460         * sysdeps/unix/sysv/direct.h: Remove file.
65462         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
65463         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
65464         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
65465         * sysdeps/unix/sysv/bits/signum.h: Likewise.
65466         * sysdeps/unix/sysv/bits/stat.h: Likewise.
65467         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
65468         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
65470         * sysdeps/unix/sysv/setrlimit.c: Remove file.
65472         * sysdeps/unix/xmknod.c: Remove file.
65473         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
65475         * sysdeps/unix/sysv/settimeofday.c: Remove file.
65477         * sysdeps/unix/sysv/i386/time.S: Remove file.
65479         * sysdeps/unix/fxstat.c: Remove file.
65480         * sysdeps/unix/xstat.c: Likewise.
65481         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
65483         * sysdeps/unix/sysv/sigaction.c: Remove file.
65485         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
65486         (sysdep_headers): Remove variable.
65487         [termio.h not in sysdep_headers] (generated): Likewise.
65488         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
65489         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
65490         * sysdeps/unix/sysv/tcdrain.c: Likewise.
65491         * sysdeps/unix/sysv/tcflow.c: Likewise.
65492         * sysdeps/unix/sysv/tcflush.c: Likewise.
65493         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
65494         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
65495         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
65496         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
65497         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
65499         * sysdeps/unix/siglist.c: Remove file.
65501         * sysdeps/unix/getppid.S: Remove file.
65503         * sysdeps/unix/mkdir.c: Remove file.
65504         * sysdeps/unix/rmdir.c: Likewise.
65506 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
65508         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
65509         ERR_MAX value.
65510         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
65511         errlist-compat value.
65513 2012-04-18  David S. Miller  <davem@davemloft.net>
65515         * sysdeps/generic/memcopy.h (reg_char): Delete.
65516         * debug/strcat_chk.c: Use char, not reg_char.
65517         * debug/strcpy_chk.c: Likewise.
65518         * debug/strncat_chk.c: Likewise.
65519         * debug/strncpy_chk.c: Likewise.
65520         * string/memchr.c: Likewise.
65521         * string/memrchr.c: Likewise.
65522         * string/rawmemchr.c: Likewise.
65523         * string/strcat.c: Likewise.
65524         * string/strchr.c: Likewise.
65525         * string/strchrnul.c: Likewise.
65526         * string/strcmp.c: Likewise.
65527         * string/strcpy.c: Likewise.
65528         * string/strncat.c: Likewise.
65529         * string/strncmp.c: Likewise.
65530         * string/strncpy.c: Likewise.
65532 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
65534         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
65535         __builtin_memcopy is called when src and dest ranges are known to not
65536         overlap.
65538 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
65540         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
65541         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
65542         fwd_align_merge macro call.
65543         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
65544         bwd_align_merge macro call.
65545         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
65547 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
65549         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
65550         bwd_align_merge macros.
65551         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
65552         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
65553         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
65555 2012-04-18  David S. Miller  <davem@davemloft.net>
65557         * sysdeps/sparc/sparc64/memcopy.h: Delete.
65559 2012-04-18  Andreas Jaeger  <aj@suse.de>
65561         [BZ# 6794]
65562         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
65563         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
65564         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
65566         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
65567         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
65568         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
65570         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
65571         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
65572         Adjust for changed ldbl-128 files.
65574         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
65575         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
65576         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
65578 2012-04-17  David S. Miller  <davem@davemloft.net>
65580         * sysdeps/sparc/sparc32/memcopy.h: Delete.
65582 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
65584         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
65585         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
65586         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
65587         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
65588         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
65589         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
65591 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
65593         [BZ #6794]
65594         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
65595         * math/libm-test.inc: Add ilogb errno and exception tests.
65596         * math/w_ilogb.c: New file: ilogb wrapper.
65597         * math/w_ilogbf.c: New file: ilogbf wrapper.
65598         * math/w_ilogbl.c: New file: ilogbl wrapper.
65599         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
65600         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
65601         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
65602         exception being thrown with 0.0 as argument.
65603         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
65604         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
65605         exception being thrown with 0.0 as argument.
65606         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
65607         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
65608         exception being thrown with 0.0 as argument.
65609         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
65610         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
65611         exception being thrown with 0.0 as argument.
65612         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
65613         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
65614         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
65615         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
65616         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
65617         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
65618         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
65619         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
65620         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
65622 2012-04-17  Petr Baudis  <pasky@ucw.cz>
65624         * include/sys/uio.h: Change __vector to __iovec to avoid clash
65625         with altivec.
65627 2012-04-16  Marek Polacek  <polacek@redhat.com>
65629         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
65631 2012-04-16  Marek Polacek  <polacek@redhat.com>
65633         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
65634         operands of fdivp instruction.
65636 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
65638         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
65639         * elf/tst-auditmod3b.c: Likewise.
65640         * elf/tst-auditmod4b.c: Likewise.
65641         * elf/tst-auditmod5b.c: Likewise.
65642         * elf/tst-auditmod6b.c: Likewise.
65643         * elf/tst-auditmod6c.c: Likewise.
65644         * elf/tst-auditmod7b.c: Likewise.
65645         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
65646         * sysdeps/x86_64/preconfigure.in: Likewise.
65647         * sysdeps/x86_64/preconfigure: Regenerated.
65649 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
65651         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
65652         __ILP32__.
65654 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
65656         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
65657         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
65659 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
65661         [BZ #13973]
65662         * locale/iso-639.def: Fix gl language name. Spotted by
65663         Yaron Shahrabani.
65665 2012-04-12  Roland McGrath  <roland@hack.frob.com>
65667         [BZ #2074]
65668         * libio/libio.h (__io_write_fn): Update comment.
65670 2012-04-12  Petr Baudis  <pasky@ucw.cz>
65672         [BZ #2074]
65673         * stdio.texi (Hook Functions): The user provided writer function
65674         is not allowed to return -1.
65676 2012-04-11  David S. Miller  <davem@davemloft.net>
65678         * sysdeps/sparc/fpu/libm-test-ulps: Update.
65680 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
65682         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
65683         Add a leading slash to rtkaio.
65685 2012-04-11  Jim Meyering  <meyering@redhat.com>
65687         [BZ #11959]
65688         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
65689         It is not necessarily an error to ignore fwrite's return
65690         value.  One can reliably use ferror to test for errors after
65691         the fact.
65693 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
65695         * bits/types.h (__snseconds_t): New type.
65696         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
65698         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
65699         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
65700         (__SNSECONDS_T_TYPE): Likewise.
65701         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
65702         (__SNSECONDS_T_TYPE): Likewise.
65703         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
65704         (__SNSECONDS_T_TYPE): Likewise.
65706 2012-04-10  Andreas Jaeger  <aj@suse.de>
65708         [BZ #2636]
65709         * manual/time.texi (Processor Time): Return type of times is
65710         elapsed real time since an arbitrary point in the past.
65711         (CPU Time): Move CLK_TCK from here...
65712         (Processor Time): ...to here.  Correct description.
65713         * manual/conf.texi (Constants for Sysconf): Correct description of
65714         _SC_CLK_TCK.
65716 2012-04-10  David S. Miller  <davem@davemloft.net>
65718         [BZ #13967]
65719         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
65720         where the is a gap between DT_REL(A) and DT_JMPREL.
65722 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
65724         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
65725         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
65726         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
65728 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
65730         * elf/dl-support.c (_dl_inhibit_cache): New variable.
65731         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
65732         (dl_main): Handle --inhibit-cache.
65733         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
65734         _dl_inhibit_cache.
65735         * elf/dl-load.c (_dl_map_object): Use it.
65736         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
65738 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
65740         [BZ #13872]
65741         * sysdeps/i386/fpu/e_powl.S (p78): New object.
65742         (__ieee754_powl): Saturate large exponents rather than testing for
65743         overflow of y*log2(x).
65744         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
65745         * math/libm-test.inc (pow_test): Do not permit spurious overflow
65746         exceptions.
65748         [BZ #11521]
65749         * math/s_ctan.c: Include <float.h>.
65750         (__ctan): Avoid internal overflow or cancellation in calculating
65751         denominator.
65752         * math/s_ctanf.c: Likewise.
65753         * math/s_ctanl.c: Likewise.
65754         * math/s_ctanh.c: Likewise.
65755         * math/s_ctanhf.c: Likewise.
65756         * math/s_ctanhl.c: Likewise.
65757         * math/libm-test.inc (ctan_test): Add more tests.
65758         (ctanh_test): Likewise.
65759         * sysdeps/i386/fpu/libm-test-ulps: Update.
65760         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
65762 2012-04-09  Andreas Jaeger  <aj@suse.de>
65764         [BZ #6894]
65765         * manual/filesys.texi (Directory Entries): Mention that d_namlen
65766         is an optional BSD extension.
65768         [BZ #10254]
65769         * manual/stdio.texi (Opening Streams): Document additional fopen
65770         parameters.
65772 2012-04-09  Roland McGrath  <roland@hack.frob.com>
65774         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
65775         %eax without telling the compiler.
65777 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
65779         [BZ # 13963]
65780         * manual/install.texi: Use sourceware.org.
65782 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
65784         [BZ #13873]
65785         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
65786         (__ieee754_pow): Generate overflow and underflow using huge*huge
65787         and tiny*tiny rather than just returning constant infinity or zero
65788         for large exponents.
65789         * math/libm-test.inc (pow_test): Require overflow exceptions for
65790         applicable cases of large exponents.
65792         [BZ #706]
65793         * sysdeps/i386/fpu/e_pow.S (p10): New object.
65794         (__ieee754_pow): Use iterative multiplication algorithm only for
65795         integer exponents with absolute value below 1024.  Check for odd
65796         integer exponents when using algorithm for real exponents.
65797         * math/libm-test.inc (pow_test): Add more tests.
65798         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
65800 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
65802         [BZ #13705]
65803         * math/libm-test.inc (exp_test): Do not allow overflow exception
65804         on underflow test.
65806 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
65808         [BZ #13705]
65809         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
65810         instead of __kernel_standard_f.
65812 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
65814         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
65815         * sysdeps/x86_64/memset_chk.S: Likewise.
65817 2012-04-08  Andreas Jaeger  <aj@suse.de>
65819         [BZ #10153]
65820         * manual/startup.texi (Environment Access): Describe return value
65821         for putenv and setenv.
65823         [BZ #6895]
65824         * manual/filesys.texi (Directory Entries): Add description for
65825         DT_LNK.
65827         [BZ #6890]
65828         * manual/filesys.texi (Directory Entries): Clarify that it's file
65829         system not operating system in the description of DT_UNKNOWN.
65831         [BZ #6578]
65832         * manual/syslog.texi (closelog): Fix reference, it's openlog.
65834 2012-04-08  Stephen Compall  <s11@member.fsf.org>
65836         [BZ #6649]
65837         * manual/llio.texi (Opening and Closing Files): Add cross
65838         reference to explain mode argument.
65840 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
65842         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
65843         * sysdeps/x86_64/memset_chk.S: Likewise.
65845 2012-04-07  David S. Miller  <davem@davemloft.net>
65847         * elf/elf.h (R_SPARC_WDISP10): Define.
65848         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
65849         R_SPARC_SIZE32.
65850         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
65851         R_SPARC_SIZE64 and R_SPARC_H34.
65853 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
65855         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
65856         conditions and remove no longer applicable assertion.
65858 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
65860         * bits/byteswap.h: Include <features.h>.
65861         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
65862         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
65864 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
65866         * bits/byteswap.h (__bswap_16): Removed.
65867         Include <bits/byteswap-16.h> to get __bswap_16.
65868         * sysdeps/i386/bits/byteswap.h: Likewise.
65869         * sysdeps/s390/bits/byteswap.h: Likewise.
65870         * sysdeps/x86_64/bits/byteswap.h: Likewise.
65871         * bits/byteswap-16.h: New file.
65872         * sysdeps/i386/bits/byteswap-16.h: Likewise.
65873         * sysdeps/s390/bits/byteswap-16.h: Likewise.
65874         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
65875         * string/Makefile (headers): Add bits/byteswap-16.h.
65877 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
65879         [BZ #13895]
65880         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
65881         extra indirection.
65882         * nss/Makefile (tests-static, tests): Add tst-nss-static.
65883         * nss/tst-nss-static.c: New.
65885 2012-04-06  Robert Millan  <rmh@gnu.org>
65887         [BZ #6486]
65888         * manual/llio.texi (File Position Primitive): lseek
65889         refers to WHENCE when it really means OFFSET.
65891 2012-04-06  Andreas Jaeger  <aj@suse.de>
65893         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
65894         strncmp declarations.
65896         * abilist/libc.abilist: Add __poll and __ppoll.
65898 2012-04-05  David S. Miller  <davem@davemloft.net>
65900         * scripts/check-local-headers.sh: Accept a host triplet in the
65901         path matched by the exclude regexp.
65903         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
65904         definition.
65905         * sysdeps/powerpc/powerpc32/dl-machine.h
65906         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
65907         * sysdeps/s390/s390-32/dl-machine.h
65908         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
65909         * sysdeps/sparc/sparc32/dl-machine.h
65910         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
65911         * sysdeps/sparc/sparc64/dl-machine.h
65912         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
65914         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
65915         lazy binding.
65916         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
65917         undefined symbol errors.
65919         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
65920         DT_NEEDED entries.
65922 2012-04-05  Michael Matz  <matz@suse.de>
65924         [BZ #13592]
65925         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
65927 2012-04-05  Andreas Jaeger  <aj@suse.de>
65929         [BZ #13908]
65930         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
65931         comment.
65933 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
65935         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
65936         which ROUND is no valid rounding mode.
65938 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
65940         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
65941         read again.
65942         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
65944 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
65946         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
65947         an exception using FPU order intentionally.
65949 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
65951         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
65952         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
65953         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
65954         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
65956 2012-04-05  Simon Josefsson  <simon@josefsson.org>
65958         [BZ #12340]
65959         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
65960         EINVAL when BUFLEN is too smal.
65962 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
65964         [BZ #13553]
65965         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
65966         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
65968 2012-04-03  Andreas Jaeger  <aj@suse.de>
65970         [BZ #13938]
65971         * manual/setjmp.texi (System V contexts): Fix sentence.
65973         [BZ #13926]
65974         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
65975         New macro for this case.
65976         [!__GNUC__] (__bswap_64): New inline function for this case.
65977         * sysdeps/x86_64/bits/byteswap.h: Likewise.
65978         * bits/byteswap.h: Likewise.
65979         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
65980         ull, guard with __GLIBC_HAVE_LONG_LONG.
65982         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
65983         __GLIBC_HAVE_LONG_LONG.
65985         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
65986         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
65988 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
65990         [BZ #13691]
65991         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
65992         inptr and inend, rather than using last_ch.
65994 2012-04-02  David S. Miller  <davem@davemloft.net>
65996         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
65997         * stdio-common/printf-parse.h (read_int): Change return type to
65998         'int', return -1 on INT_MAX overflow.
65999         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
66000         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
66001         overflows INT_MAX.  Check for overflow of in-format-string precision
66002         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
66003         SIZE_MAX not INT_MAX for integer overflow test.
66004         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
66005         skip the construct in the format string but do not record anything.
66006         * stdio-common/bug22.c: Adjust to test both width/prevision
66007         INT_MAX overflow as well as total length INT_MAX overflow.  Check
66008         explicitly for proper errno values.
66010 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
66012         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
66013         CHAR_MAX.
66014         * string/test-strcmp.c [! WIDE]: Likewise.
66015         * time/tst-mktime2.c: Likewise for INT_MAX.
66016         * string/test-string.h: #include <sys/param.h> for MIN.
66018         * csu/init-first.c (__libc_init_first): Call __ctype_init.
66019         * sysdeps/i386/init-first.c (init): Likewise.
66020         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
66021         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
66022         * sysdeps/sh/init-first.c (init): Likewise.
66024 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
66026         * po/ru.po: Update from translation team.
66027         * po/vi.po: Likewise.
66029 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
66031         * resolv/nss_dns/dns-host.c: Merge copyright years.
66033 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
66035         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
66036         Optimize memcpy with prefetch if
66037         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
66038         src, dst pointers have unequal 16 byte alignments.
66040 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
66042         [BZ #13928]
66043         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
66044         from a CNAME entry and return the minimum ttl for the query.
66045         (gaih_getanswer_slice): Likewise.
66047 2012-03-30  Jeff Law  <law@redhat.com>
66049         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
66050         due to long keys.
66051         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
66052         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
66054         * resolv/nss_dns/dns-host.c: Update copyright year.
66056 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
66058         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
66059         requests to save a system call.  Fix check that all bytes are sent.
66061         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
66062         comments for sendmmsg.
66064 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
66066         [BZ #13691]
66067         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
66068         with only 1 character between 0x0041 and 0x01b0.
66069         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
66070         * wcsmbs/tst-mbsnrtowcs.c: New file.
66072 2012-03-29  David S. Miller  <davem@davemloft.net>
66074         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
66075         small copies by hand.
66077 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
66079         [BZ #13761]
66080         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
66081         (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
66082         group memberships.
66084 2012-03-28  David S. Miller  <davem@davemloft.net>
66086         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
66087         that branches into memcpy.
66088         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
66089         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
66090         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
66091         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
66092         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
66093         bits.
66094         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
66095         implementation too.
66096         * sysdeps/sparc/mempcpy.S: New file.
66098         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
66099         the IFUNC routine in the libc case.
66100         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
66102         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
66103         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
66104         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
66105         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
66106         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
66107         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
66108         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
66109         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
66111         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
66112         loop to 256 bytes instead of 64 bytes and fix test signedness.
66114         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
66115         * sysdeps/sparc/sparc32/Makefile: rather than here...
66116         * sysdeps/sparc/sparc64/Makefile: and here.
66118 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
66120         * malloc/mallocbug.c: Avoid warnings about unused variables.
66122 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
66124         [BZ #13760]
66125         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
66126         in the right place. Discard and retry query if response is
66127         larger than input buffer size.
66129 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
66131         [BZ #369]
66132         [BZ #2678]
66133         [BZ #3866]
66134         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
66135         x for large integer exponent.
66136         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
66137         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
66138         sign of result as needed afterwards.
66139         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
66140         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
66141         result for underflowing pow the same as for overflow.
66142         (__kernel_standard_l): Handle powl overflow and underflow here
66143         rather than calling __kernel_standard.
66144         * math/libm-test.inc (pow_test): Add more tests.
66146         [BZ #3868]
66147         [BZ #13879]
66148         [BZ #13910]
66149         [BZ #13911]
66150         [BZ #13912]
66151         [BZ #13913]
66152         [BZ #13915]
66153         [BZ #13916]
66154         [BZ #13917]
66155         [BZ #13918]
66156         [BZ #13919]
66157         [BZ #13920]
66158         [BZ #13921]
66159         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
66160         * sysdeps/ieee754/k_standard.c: Include <float.h>.
66161         (__kernel_standard_l): New function.
66162         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
66163         __kernel_standard.
66164         * math/w_acosl.c (__acosl): Likewise.
66165         * math/w_asinl.c (__asinl): Likewise.
66166         * math/w_atan2l.c (__atan2l): Likewise.
66167         * math/w_atanhl.c (__atanhl): Likewise.
66168         * math/w_coshl.c (__coshl): Likewise.
66169         * math/w_exp10l.c (__exp10l): Likewise.
66170         * math/w_exp2l.c (__exp2l): Likewise.
66171         * math/w_fmodl.c (__fmodl): Likewise.
66172         * math/w_hypotl.c (__hypotl): Likewise.
66173         * math/w_j0l.c (__j0l, __y0l): Likewise.
66174         * math/w_j1l.c (__j1l, __y1l): Likewise.
66175         * math/w_jnl.c (__jnl, __ynl): Likewise.
66176         * math/w_lgammal.c (__lgammal): Likewise.
66177         * math/w_log10l.c (__log10l): Likewise.
66178         * math/w_log2l.c (__log2l): Likewise.
66179         * math/w_logl.c (__logl): Likewise.
66180         * math/w_powl.c (__powl): Likewise.
66181         * math/w_remainderl.c (__remainderl): Likewise.
66182         * math/w_scalbl.c (sysv_scalbl): Likewise.
66183         * math/w_sinhl.c (__sinhl): Likewise.
66184         * math/w_sqrtl.c (__sqrtl): Likewise.
66185         * math/w_tgammal.c (__tgammal): Likewise.
66186         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
66187         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
66188         * math/libm-test.inc (acos_test): Add more tests.
66189         (acosh_test): Likewise.
66190         (asin_test): Likewise.
66191         (atanh_test): Likewise.
66192         (exp_test): Likewise.
66193         (exp10_test): Likewise.
66194         (exp2_test): Likewise.
66195         (expm1_test): Likewise.
66196         (lgamma_test): Likewise.
66197         (log_test): Likewise.
66198         (log10_test): Likewise.
66199         (log1p_test): Likewise.
66200         (log2_test): Likewise.
66201         (pow_test): Do not allow some spurious overflow exceptions.
66202         (sqrt_test): Add more tests.
66203         (tgamma_test): Likewise.
66204         (y0_test): Likewise.
66205         (y1_test): Likewise.
66206         (yn_test): Likewise.
66208 2012-03-27  Anton Blanchard  <anton@samba.org>
66210         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
66211         MAP_HUGETLB.
66212         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
66213         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
66214         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
66216 2012-03-27  David S. Miller  <davem@davemloft.net>
66218         * conform/Makefile: Run run-conformtest.sh using $(BASH).
66220         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
66221         have-as-vis3 check.
66223 2012-03-27  Andreas Jaeger  <aj@suse.de>
66225         * sysdeps/x86_64/elf/configure.in: Moved to ...
66226         * sysdeps/x86_64/configure.in: ... here.
66227         * sysdeps/x86_64/elf/start.S: Moved to ...
66228         * sysdeps/x86_64/start.S: ... here.
66229         * sysdeps/x86_64/elf/configure: Delete.
66231         * sysdeps/x86_64/configure.in: Merge contents from
66232         sysdeps/i386/configure.in (without i686 check).
66234         * sysdeps/i386/elf/Versions: Merge into ...
66235         * sysdeps/i386/Versions: ... this.
66236         * sysdeps/i386/elf/Versions: Delete file.
66237         * sysdeps/i386/elf/start.S: Moved to ...
66238         * sysdeps/i386/start.S: ...here.
66239         * sysdeps/i386/elf/configure.in: Merge into...
66240         * sysdeps/i386/configure.in: ...here.
66241         * sysdeps/i386/elf/configure.in: Delete file.
66242         * sysdeps/i386/elf/configure: Delete file.
66244         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
66245         * debug/backtracesyms.c: ... here.
66246         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
66247         * debug/backtracesymsfd.c: ... here.
66248         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
66249         * sysdeps/generic/ifunc-sel.h: ... here.
66251         * sysdeps/unix/i386/start.c: Delete file.
66252         * sysdeps/unix/sparc/start.c: Delete file.
66253         * sysdeps/unix/start.c: Delete file.
66255         * sysdeps/sh/elf/configure.in: Moved to ...
66256         * sysdeps/sh/configure.in: ... here.
66257         * sysdeps/sh/elf/start.S: Moved to ...
66258         * sysdeps/sh/start.S: ... here.
66259         * sysdeps/sh/elf/configure: Delete file.
66261         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
66262         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
66263         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
66264         * sysdeps/powerpc/powerpc64/entry.h: ... here.
66265         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
66266         * sysdeps/powerpc/powerpc64/start.S: here.
66267         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
66268         * sysdeps/powerpc/powerpc64/Makefile: ... this.
66269         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
66270         * sysdeps/powerpc/powerpc64/configure.in: ... this.
66271         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
66273         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
66274         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
66275         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
66276         * sysdeps/powerpc/powerpc32/start.S: ... here.
66277         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
66278         * sysdeps/powerpc/powerpc32/configure.in: ... this.
66279         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
66281         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
66282         * sysdeps/powerpc/ifunc-sel.h: ... here.
66283         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
66284         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
66286         * sysdeps/sparc/elf/configure.in: Moved to ...
66287         * sysdeps/sparc/configure.in: ... here.
66288         * sysdeps/sparc/elf/configure: Delete file.
66289         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
66290         * sysdeps/sparc/sparc32/start.S: ... here.
66291         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
66292         * sysdeps/sparc/sparc64/start.S: ... here.
66293         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
66294         * sysdeps/sparc/sparc32/Makefile: ... this.
66295         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
66296         * sysdeps/sparc/sparc64/Makefile: ... this.
66298         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
66299         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
66300         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
66301         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
66302         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
66303         * sysdeps/s390/s390-32/setjmp.S: ... here.
66304         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
66305         * sysdeps/s390/s390-32/configure.in: ... here.
66306         * sysdeps/s390/s390-32/elf/configure: Delete file.
66307         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
66308         * sysdeps/s390/s390-32/start.S: ... here.
66310         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
66311         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
66312         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
66313         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
66314         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
66315         * sysdeps/s390/s390-64/setjmp.S: ... here.
66316         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
66317         * sysdeps/s390/s390-64/configure.in: ... here
66318         * sysdeps/s390/s390-64/elf/configure: Delete file.
66319         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
66320         * sysdeps/s390/s390-64/start.S: ... here.
66321         * sysdeps/s390/s390-64/elf/configure: Delete.
66323         * configure.in: Remove support for elf directories in sysdeps.
66325         * configure: Regenerated.
66326         * sysdeps/i386/configure: Regenerated.
66327         * sysdeps/powerpc/powerpc32/configure: Regenerated.
66328         * sysdeps/powerpc/powerpc64/configure: Regenerated.
66329         * sysdeps/s390/s390-32/configure: Regenerated.
66330         * sysdeps/s390/s390-64/configure: Regenerated.
66331         * sysdeps/sh/configure: Regenerated.
66332         * sysdeps/sparc/configure: Regenerated.
66333         * sysdeps/x86_64/configure: Regenerated.
66335 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
66337         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
66339         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
66340         denormal result into account.
66342 2012-03-25  Roland McGrath  <roland@hack.frob.com>
66344         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
66345         Reported by Allan McRae <allan@archlinux.org>.
66347 2012-03-23  Jeff Law  <law@redhat.com>
66349         * nss/getnssent.c (__nss_getent): Fix typo.
66351 2012-03-23  David S. Miller  <davem@davemloft.net>
66353         * sysdeps/sparc/fpu/libm-test-ulps: Update.
66355 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
66357         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
66358         to pad to uint64_t for each field.
66359         (dl_tls_index): Replace unsigned long with uint64_t.
66361 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
66362         Paul Pluzhnikov  <ppluzhnikov@google.com>
66364         [BZ #6528]
66365         * grp/Makefile (otherlibs): Don't set it.
66366         * inet/Makefile (otherlibs): Likewise.
66367         * login/Makefile (otherlibs): Likewise.
66368         * nscd/Makefile (otherlibs): Likewise.
66369         * posix/Makefile (otherlibs): Likewise.
66370         * pwd/Makefile (otherlibs): Likewise.
66371         * rt/Makefile (otherlibs): Likewise.
66372         * sunrpc/Makefile (otherlibs): Likewise.
66373         * nss/Makefile (otherlibs): Likewise.
66374         Add libnss_files to routines and static-only-routines.
66375         ($(objpfx)getent): Remove rule.
66376         * resolv/Makefile: Add libnss_dns and libresolv to routines and
66377         static-only-routines.
66379 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
66381         [BZ #13892]
66382         * math/s_cexp.c: Include <float.h>.
66383         (__cexp): Handle exp result overflowing not necessarily
66384         overflowing both real and imaginary parts of result.
66385         * math/s_cexpf.c: Likewise.
66386         * math/s_cexpl.c: Likewise.
66387         * math/libm-test.inc (cexp_test): Add more tests.
66388         * sysdeps/i386/fpu/libm-test-ulps: Update.
66389         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66391 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
66393         * include/link.h (ELFW): New macro.
66394         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
66395         Replace ELF64_R_TYPE with ELFW(R_TYPE).
66397 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
66399         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
66400         with uint64_t.
66402 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
66404         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
66405         declaration.
66406         (struct La_x32_retval): Likewise.
66408 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
66410         * sysdeps/x86_64/preconfigure.in: New file.
66411         * sysdeps/x86_64/preconfigure: New generated file.
66413 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
66415         [BZ #13824]
66416         * math/e_exp2l.c: Include <float.h>.
66417         (__ieee754_exp2l): Handle overflow and underflow cases
66418         separately.  Only pass fractional part of argument to
66419         __ieee754_expl.
66420         * math/libm-test.inc (exp2_test): Add more tests.
66422         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
66423         negating x to take absolute value.
66424         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
66425         Likewise.
66426         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
66427         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
66428         Likewise.
66429         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
66430         computing low part if x was negated.
66431         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
66433 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
66435         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
66436         la_x32_gnu_pltexit.
66437         (pltexit): Cast int_retval to ptrdiff_t.
66438         * elf/tst-auditmod3b.c: Likewise.
66439         * elf/tst-auditmod4b.c: Likewise.
66440         * elf/tst-auditmod5b.c: Likewise.
66441         * elf/tst-auditmod6b.c: Likewise.
66442         * elf/tst-auditmod6c.c: Likewise.
66443         * elf/tst-auditmod7b.c: Likewise.
66445         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
66446         and x32_gnu_pltexit.
66448         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
66449         __ELF_NATIVE_CLASS.
66450         (La_x32_regs): New macro.
66451         (La_x32_retval): Likewise.
66452         (la_x32_gnu_pltenter): New function prototype.
66453         (la_x32_gnu_pltexit): Likewise.
66455 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
66457         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
66458         exponent.
66460         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
66462         * configure.in (libc_cv_cc_nofma): Check for option to disable
66463         generation of FMA instructions.
66464         * configure: Regenerate.
66465         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
66466         * sysdeps/ieee754/dbl-64/Makefile: New file.
66467         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
66468         Remove brandred-fma4.
66469         (CFLAGS-brandred-fma4.c): Remove.
66470         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
66471         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
66472         define.
66473         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
66474         define.
66476 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
66478         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
66479         LLONG_MAX != LONG_MAX.
66480         (_itoa_word): Use _ITOA_WORD_TYPE on value.
66481         (_fitoa_word): Likewise.
66482         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
66483         LLONG_MAX != LONG_MAX.
66484         * stdio-common/_itowa.h: Include <_itoa.h>.
66485         (_itowa_word): Use _ITOA_WORD_TYPE on value.
66486         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
66487         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
66488         only if not defined.
66489         (_ITOA_WORD_TYPE): Likewise.
66490         (_itoa_word): Use _ITOA_WORD_TYPE on value.
66491         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
66493 2012-03-21  David S. Miller  <davem@davemloft.net>
66495         * sysdeps/sparc/fpu/libm-test-ulps: Update.
66497 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
66499         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
66500         of x86_64 when setting libc_cv_slibdir, libdir and
66501         libc_cv_localedir.
66502         * sysdeps/unix/sysv/linux/configure: Regenerated.
66504 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
66506         * manual/lang.texi (Old Varargs): Remove section.
66507         (How Variadic): Update menu.
66508         (va_start): Do not mention varargs.h.
66510 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
66511             Joseph Myers  <joseph@codesourcery.com>
66513         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
66514         link test.
66515         * configure: Regenerated.
66517 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
66519         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
66520         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
66521         conformtest.pl
66523 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
66525         * NOTES: Remove.
66526         * Makefile (files-for-dist): Remove NOTES.
66527         (NOTES): Remove rule.
66528         * README: Don't refer to NOTES.
66529         * manual/creature.texi: Don't include macros.texi.
66530         * manual/intro.texi (creature.texi): Remove comment referring to
66531         NOTES.
66533         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
66534         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
66535         * configure: Regenerated.
66536         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
66537         LIBC_TRY_CC_OPTION.
66538         (libc_cv_as_i686): Likewise.
66539         (libc_cv_cc_avx): Likewise.
66540         (libc_cv_cc_sse2avx): Likewise.
66541         (libc_cv_cc_fma4): Likewise.
66542         (libc_cv_cc_novzeroupper): Likewise.
66543         * sysdeps/i386/configure: Regenerated.
66545         [BZ #13883]
66546         * sysdeps/i386/fpu/s_cexp.S: Remove.
66547         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
66548         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
66549         * math/libm-test.inc (cexp_test): Add more tests.
66550         * sysdeps/i386/fpu/libm-test-ulps: Update.
66551         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66553 2012-03-21  Allan McRae  <allan@archlinux.org>
66555         * timezone/Makefile: Do not install iso3166.tab and zone.tab
66557 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
66559         [BZ #13871]
66560         * math/w_exp2.c: Do not include <float.h>.
66561         (o_threshold, u_threshold): Remove.
66562         (__exp2): Calculate result before checking finiteness and calling
66563         __kernel_standard.
66564         * math/w_exp2f.c: Likewise.
66565         * math/w_exp2l.c: Likewise.
66566         * math/libm-test.inc (exp2_test): Require overflow exception for
66567         1e6 input.
66569         [BZ #3866]
66570         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
66571         range of signed 64-bit integers before using fistpll.  Remove
66572         checks for whether integers fit in mantissa bits.
66573         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
66574         the range of signed 32-bit integers before using fistpl.  Remove
66575         checks for whether integers fit in mantissa bits.
66576         * sysdeps/i386/fpu/e_powl.S (p64): New object.
66577         (__ieee754_powl): Test for y outside the range of signed 64-bit
66578         integers before using fistpll.  Reduce 64-bit values to 63-bit
66579         ones as needed.
66580         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
66581         divide-by-zero is raised for zero to large negative powers.
66582         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
66583         (__ieee754_powl): Test for y outside the range of signed 64-bit
66584         integers before using fistpll.  Reduce 64-bit values to 63-bit
66585         ones as needed.
66586         * math/libm-test.inc (pow_test): Add more tests.
66588 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
66590         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
66591         <stdio-common/_itoa.h>.
66592         * debug/segfault.c: Likewise.
66593         * elf/dl-cache.c: Likewise.
66594         * elf/dl-minimal.c: Likewise.
66595         * elf/dl-misc.c: Likewise.
66596         * elf/dl-sysdep.c: Likewise.
66597         * elf/dl-version.c: Likewise.
66598         * elf/rtld.c: Likewise.
66599         * hurd/hurdsock.c: Likewise.
66600         * hurd/lookup-retry.c: Likewise.
66601         * malloc/malloc.c: Likewise.
66602         * malloc/mtrace.c: Likewise.
66603         * nscd/nscd_getgr_r.c: Likewise.
66604         * nscd/nscd_getpw_r.c: Likewise.
66605         * nscd/nscd_getserv_r.c: Likewise.
66606         * posix/getopt_init.c: Likewise.
66607         * posix/wordexp.c: Likewise.
66608         * stdio-common/_itoa.c: Likewise.
66609         * stdio-common/printf_fphex.c: Likewise.
66610         * stdio-common/vfprintf.c: Likewise.
66611         * string/_strerror.c: Likewise.
66612         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
66613         * sysdeps/i386/i686/hp-timing.h: Likewise.
66614         * sysdeps/mach/_strerror.c: Likewise.
66615         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
66616         * sysdeps/mach/hurd/sethostid.c: Likewise.
66617         * sysdeps/mach/hurd/xmknodat.c: Likewise.
66618         * sysdeps/mach/xpg-strerror.c: Likewise.
66619         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
66620         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
66621         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
66622         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
66623         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
66624         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
66625         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
66626         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
66627         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
66628         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
66629         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
66630         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
66631         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
66632         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
66633         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
66634         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
66635         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
66636         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
66637         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
66638         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
66639         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
66641         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
66643         * stdio-common/_itoa.h: Moved to ...
66644         * sysdeps/generic/_itoa.h: Here.
66646         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
66648         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
66649         instead of "_itoa.h" and "_itowa.h".
66650         * stdio-common/vfprintf.: Likewise.
66652 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
66654         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
66655         <bits/wordsize.h>.
66656         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
66657         (__signbit): Likwise.
66658         (llrintf): Likwise.
66659         (llrint): Likwise.
66661 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
66663         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
66664         __WORDSIZE != 64.
66666 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
66668         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
66669         OVERFLOW_EXCEPTION_OK.
66670         * math/libm-test.inc ("Philosophy"): Update comment about
66671         exception testing.
66672         (OVERFLOW_EXCEPTION): Define.
66673         (OVERFLOW_EXCEPTION_OK): Likewise.
66674         (INVALID_EXCEPTION_OK): Renumber.
66675         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
66676         (IGNORE_ZERO_INF_SIGN): Likewise.
66677         (test_exceptions): Handle FE_OVERFLOW.
66678         (exp10_test): Expect overflow exceptions.
66679         (exp2_test): Likewise.
66680         (expm1_test): Likewise.
66681         (nextafter_test): Likewise.
66682         (pow_test): Likewise.
66683         (scalbn_test): Likewise.
66684         (scalbln_test): Likewise.
66686 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
66688         * sysdeps/x86_64/bits/atomic.h
66689         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
66690         64bit integer.
66691         (atomic_exchange_acq): Likewise.
66692         (__arch_exchange_and_add_body): Likewise.
66693         (__arch_add_body): Likewise.
66694         (atomic_add_negative): Likewise.
66695         (atomic_add_zero): Likewise.
66697 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
66699         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
66700         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
66702 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
66704         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
66705         Check __x86_64__ instead of __WORDSIZE.
66707 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
66709         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
66711 2012-03-19  David S. Miller  <davem@davemloft.net>
66713         * sysdeps/sparc/fpu/libm-test-ulps: Update.
66715         * sysdeps/sparc/fpu/fenv_private.h: New file.
66716         * sysdeps/sparc/fpu/math_private.h: Use it.
66717         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
66718         Remove.
66719         (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
66720         (libc_feholdexcept_setroundl): Remove.
66721         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
66722         Remove.
66723         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
66724         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
66726 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
66728         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
66729         int64_t instead of long int.
66730         (INSERT_WORDS64): Likwise.
66732 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
66734         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
66735         _Unwind_GetCFA return to _Unwind_Ptr first.
66737 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
66739         [BZ #13629]
66740         * math/s_clog.c: Include <float.h>.
66741         (__clog): Scale large or subnormal inputs.
66742         * math/s_clogf.c: Likewise.
66743         * math/s_clogl.c: Likewise.
66744         * math/s_clog10.c: Include <float.h>.
66745         (M_LOG10_2): Define.
66746         (__clog10): Scale large or subnormal inputs.
66747         * math/s_clog10f.c: Likewise.
66748         * math/s_clog10l.c: Likewise.
66749         * math/libm-test.inc (clog_test): Add more tests.
66750         (clog10_test): Likewise.
66751         * sysdeps/i386/fpu/libm-test-ulps: Update.
66752         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66754         [BZ #11451]
66755         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
66756         x and y.
66757         * math/libm-test.inc (atan2_test): Add another test.
66759         * Makerules (common-objdir-compile): Remove.
66760         * sysdeps/unix/Makefile (config-generated): Do not add
66761         $(unix-generated) to variable.
66762         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
66763         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
66764         Remove rule.
66765         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
66766         Likewise.
66767         [generic bits/local_lim.h] (before-compile): Do not append to
66768         variable.
66769         [generic bits/local_lim.h] (common-generated): Likewise.
66770         [generic sys/param.h] (before-compile): Do not append to variable.
66771         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
66772         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
66773         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
66774         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
66775         include.
66776         [generic sys/param.h] (sys/param.h-includes): Remove variable.
66777         [generic sys/param.h] (sys/param.h-includes): Remove rule.
66778         [generic sys/param.h] ($(addprefix
66779         $(common-objpfx),$(sys/param.h-includes))): Likewise.
66780         [generic sys/param.h] (common-generated): Do not append to
66781         variable.
66782         [generic sys/param.h] (sysdep_headers): Likewise.
66783         [generic bits/errno.h] (before-compile): Do not append to
66784         variable.
66785         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
66786         rule.
66787         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
66788         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
66789         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
66790         [generic bits/errno.h] (common-generated): Do not append to
66791         variable.
66792         [generic bits/ioctls.h] (before-compile): Do not append to
66793         variable.
66794         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
66795         rule.
66796         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
66797         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
66798         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
66799         rule.
66800         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
66801         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
66802         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
66803         [generic bits/ioctls.h] (common-generated): Do not append to
66804         variable.
66805         [generic sys/syscall.h] (syscall.h): Remove variable.
66806         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
66807         rule.
66808         [generic sys/syscall.h] (before-compile): Do not append to
66809         variable.
66810         [generic sys/syscall.h] (common-generated): Likewise.
66811         * sysdeps/unix/errnos-tmpl.c: Remove file.
66812         * sysdeps/unix/errnos.awk: Likewise.
66813         * sysdeps/unix/ioctls-tmpl.c: Likewise.
66814         * sysdeps/unix/ioctls.awk: Likewise.
66815         * sysdeps/unix/mk-local_lim.c: Likewise.
66816         * sysdeps/unix/snarf-ioctls: Likewise.
66818 2012-03-19  Richard Henderson  <rth@twiddle.net>
66820         * sysdeps/i386/fpu/fenv_private.h: New file.
66821         * sysdeps/i386/fpu/math_private.h: Use it.
66822         (math_opt_barrier, math_force_eval): Remove.
66823         (libc_feholdexcept_setround_53bit): Remove.
66824         (libc_feupdateenv_53bit): Remove.
66825         * sysdeps/x86_64/fpu/math_private.h: Likewise.
66826         (math_opt_barrier, math_force_eval): Remove.
66827         (libc_feholdexcept): Remove.
66828         (libc_feholdexcept_setround): Remove.
66829         (libc_fetestexcept, libc_fesetenv): Remove.
66830         (libc_feupdateenv_test): Remove.
66831         (libc_feupdateenv, libc_feholdsetround): Remove.
66832         (libc_feresetround): Remove.
66834         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
66835         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
66837         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
66838         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
66839         (libc_feupdateenv_testl): New.
66840         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
66841         (libc_feupdateenv_testf): New.
66842         (libc_feupdateenv): Use libc_feupdateenv_test.
66843         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
66844         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
66846         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
66847         (libc_feholdsetroundf, libc_feholdsetroundl): New.
66848         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
66849         (libc_feresetround_noex): New.
66850         (libc_feresetround_noexf): New.
66851         (libc_feresetround_noexl): New.
66852         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
66853         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
66854         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
66855         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
66856         SET_RESTORE_ROUND.
66857         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
66858         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
66859         (__cos): Likewise.
66860         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
66861         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
66862         SET_RESTORE_ROUND_NOEX.
66863         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
66864         SET_RESTORE_ROUND_NOEXF.
66865         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
66866         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
66867         (libc_feholdsetroundf): New.
66868         (libc_feresetround, libc_feresetroundf): New.
66870         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
66871         (libc_feholdexcept_setround_53bit): Convert from macro to function.
66872         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
66874         * sysdeps/generic/math_private.h: Include <fenv.h>.
66875         (default_libc_feholdexcept): New.
66876         (default_libc_feholdexcept_setround): New.
66877         (default_libc_fesetenv, default_libc_feupdateenv): New.
66878         (libc_feholdexcept): Only define if undefined.
66879         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
66880         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
66881         (libc_feholdexcept_setroundl): Likewise.
66882         (libc_feholdexcept_setround_53bit): Likewise.
66883         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
66884         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
66885         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
66886         (libc_feupdateenv_53bit): Likewise.
66887         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
66888         (libc_feholdexcept): Convert from macro to inline function.
66889         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
66890         (libc_fesetenv, libc_feupdateenv): Likewise.
66892         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
66893         not previously defined.
66894         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
66895         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
66896         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
66897         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
66898         * sysdeps/ieee754/flt-32/math_private.h: New file.
66899         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
66900         math_private.h below SET_FLOAT_WORD.
66901         (__isnan, __isinf_ns, __finite): Remove.
66902         (__isnanf, __isinf_nsf, __finitef): Remove.
66904 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
66906         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
66908 2012-03-17  David S. Miller  <davem@davemloft.net>
66910         [BZ #6471]
66911         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
66912         for 2.16.
66914 2012-03-16  David S. Miller  <davem@davemloft.net>
66916         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
66917         warnings.
66919         [BZ #6471]
66920         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
66921         properly.
66922         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
66923         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
66924         sysdep_routines when subdir is sysvipc.
66925         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
66926         __getshmlba helper.
66928         * sysdeps/sparc/fpu/libm-test/ulps: Update.
66930 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
66932         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
66933         [__LP64__].
66935 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
66937         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
66938         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
66939         (__lround): Renamed to ...
66940         (__llround): This.  Replace long int with long long int.
66941         Define lround functions as aliases of llround functions.
66942         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
66944 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
66946         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
66947         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
66948         adresses to uintptr_t.  Replace "long int" and "unsigned long
66949         int" with "greg_t" on va_arg.
66951 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
66953         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
66954         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
66956         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
66957         Move e_machine check before EI_CLASS check.  Handle x32
66958         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
66959         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
66960         SKIP_EM_IA_64 and include
66961         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
66963         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
66964         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
66965         (add_system_dir): New macro.
66967         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
66968         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
66970 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
66972         [BZ #2551]
66973         [BZ #2552]
66974         [BZ #2553]
66975         [BZ #2554]
66976         [BZ #2562]
66977         [BZ #2563]
66978         [BZ #2565]
66979         [BZ #2566]
66980         [BZ #2576]
66981         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
66982         (y0): Likewise.
66983         * math/w_j0f.c (j0f): Likewise.
66984         (y0f): Likewise.
66985         * math/w_j0l.c (__j0l): Likewise.
66986         (__y0l): Likewise.
66987         * math/w_j1.c (j1): Likewise.
66988         (y1): Likewise.
66989         * math/w_j1f.c (j1f): Likewise.
66990         (y1f): Likewise.
66991         * math/w_j1l.c (__j1l): Likewise.
66992         (__y1l): Likewise.
66993         * math/w_jn.c (jn): Likewise.
66994         (yn): Likewise.
66995         * math/w_jnf.c (jnf): Likewise.
66996         (ynf): Likewise.
66997         * math/w_jnl.c (__jnl): Likewise.
66998         (__ynl): Likewise.
66999         * math/libm-test.inc (j0_test): Add more tests.
67000         (j1_test): Likewise.
67001         (jn_test): Likewise.  Add trailing semicolon to existing test.
67002         (y0_test): Likewise.
67003         (y1_test): Likewise.
67004         * sysdeps/i386/fpu/libm-test-ulps: Update.
67005         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
67007         [BZ #13851]
67008         [BZ #13854]
67009         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
67010         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
67011         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
67012         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
67013         (__tanl): Set errno for infinite argument.
67014         * sysdeps/i386/fpu/mptan.c: Remove.
67015         * sysdeps/i386/fpu/s_tan.S: Likewise.
67016         * sysdeps/i386/fpu/s_tanl.S: Likewise.
67017         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
67018         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
67019         * math/libm-test.inc (tan_test): Add more tests and enable more
67020         tests for double and long double.
67021         * sysdeps/i386/fpu/libm-test-ulps: Update.
67022         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
67024 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
67026         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
67027         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
67029 2012-03-16  Roland McGrath  <roland@hack.frob.com>
67031         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
67032         * configure.in: Use it for both main tree and add-ons.
67033         * configure: Regenerated.
67035 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
67037         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
67039 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
67041         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
67042         in comment.
67044         [BZ #13851]
67045         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
67046         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
67047         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
67048         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
67049         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
67050         infinite argument.
67051         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
67052         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
67053         != 0 for prec == 2.
67054         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
67055         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
67056         * sysdeps/i386/fpu/s_cosl.S: Likewise.
67057         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
67058         * sysdeps/i386/fpu/s_sinl.S: Likewise.
67059         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
67060         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
67061         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
67062         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
67063         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
67064         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
67065         * math/libm-test.inc (cos_test): Add more tests and enable more
67066         tests for long double.
67067         (sin_test): Likewise.
67068         (sincos_test): Likewise.
67069         * sysdeps/i386/fpu/libm-test-ulps: Update.
67070         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
67072 2012-03-16  David S. Miller  <davem@davemloft.net>
67074         * sysdeps/sparc/fpu/math_private.h: New file.
67076 2012-03-15  David S. Miller  <davem@davemloft.net>
67078         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
67079         file.
67080         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
67081         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
67082         file.
67083         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
67084         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
67085         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
67086         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
67087         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
67088         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
67089         sysdep routines.
67090         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
67092         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
67093         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
67095         * sysdeps/sparc/sparc-ifunc.h: New file.
67096         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
67097         sparc-ifunc.h
67098         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
67099         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
67100         Likewise.
67101         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
67102         Likewise.
67103         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
67104         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
67105         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
67106         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
67107         Likewise.
67108         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
67109         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
67110         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
67111         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
67112         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
67113         Likewise.
67114         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
67115         Likewise.
67116         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
67117         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
67118         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
67119         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
67120         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
67121         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
67122         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
67123         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
67124         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
67125         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
67126         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
67127         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
67128         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
67129         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
67130         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
67131         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
67132         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
67133         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
67134         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
67135         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
67136         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
67137         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
67138         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
67139         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
67141 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
67143         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
67144         scaling.
67145         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
67147 2012-03-15  Andreas Jaeger  <aj@suse.de>
67149         [BZ #13852]
67150         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
67151         ieee754/flt-32 implementation for sin, cos and sincos.
67152         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
67153         * sysdeps/i386/fpu/s_cosf.S: Likewise.
67154         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
67155         * sysdeps/i386/fpu/s_sinf.S: Likewise.
67156         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
67157         ieee754/flt-32 implementation for tan.
67159         * math/libm-test.inc (cos_test): Enable some large input tests for
67160         float as well
67161         (sin_test): Likewise.
67162         (sincos_test): Likewise.
67163         (tan_test): Add tests for large input.
67165         * sysdeps/i386/fpu/libm-test-ulps: Update.
67167 2012-03-15  Andreas Jaeger  <aj@suse.de>
67169         [BZ #13658]
67170         * math/libm-test.inc (cos_test): Add more test cases.
67171         (sin_test): Likewise.
67172         (sincos_test): Likewise.
67174 2012-03-15  Andreas Jaeger  <aj@suse.de>
67176         [BZ #13837]
67177         * math/libm-test.inc (cos_test): Add a test case for large input
67178         value.
67179         (sin_test): Likewise.
67180         (sincos_test): Likewise.
67182 2012-03-15  Andreas Jaeger  <aj@suse.de>
67183             Joseph Myers  <joseph@codesourcery.com>
67185         [BZ #13658]
67186         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
67187         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
67188         * sysdeps/i386/fpu/branred.c: Likewise.
67189         * sysdeps/i386/fpu/dosincos.c: Likewise.
67190         * sysdeps/i386/fpu/mpa.c: Likewise.
67191         * sysdeps/i386/fpu/s_cos.S: Likewise.
67192         * sysdeps/i386/fpu/s_sin.S: Likewise.
67193         * sysdeps/i386/fpu/s_sincos.S: Likewise.
67194         * sysdeps/i386/fpu/sincos32.c: Likewise.
67196         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
67197         Define.
67198         (libc_feupdateenv_53bit): Define.
67199         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
67200         Define.
67201         (libc_feupdateenv_53bit): Define.
67203         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
67204         53 bit (without extend i386 double precision).
67206         * math/libm-test.inc (sincos_test): Add tests for large input.
67207         (sin): Likewise.
67208         (cos): Likewise.
67210         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
67212 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
67214         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
67216 2012-03-15  David S. Miller  <davem@davemloft.net>
67218         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
67219         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
67220         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
67221         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
67222         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
67223         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
67224         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
67225         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
67226         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
67227         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
67228         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
67229         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
67230         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
67231         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
67232         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
67233         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
67234         file.
67235         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
67236         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
67237         file.
67238         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
67239         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
67240         file.
67241         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
67242         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
67243         file.
67244         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
67245         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
67246         fmin/fmax sysdep routines.
67247         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
67249 2012-03-14  David S. Miller  <davem@davemloft.net>
67251         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
67252         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
67253         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
67254         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
67255         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
67256         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
67257         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
67258         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
67259         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
67260         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
67261         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
67262         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
67263         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
67264         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
67265         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
67266         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
67267         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
67268         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
67269         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
67270         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
67271         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
67272         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
67273         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
67274         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
67275         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
67276         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
67277         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
67278         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
67279         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
67280         routines.
67281         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
67282         file.
67283         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
67284         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
67285         file.
67286         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
67287         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
67288         file.
67289         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
67290         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
67291         file.
67292         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
67293         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
67294         file.
67295         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
67296         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
67297         file.
67298         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
67299         file.
67300         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
67301         file.
67302         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
67303         file.
67304         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
67305         New file.
67306         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
67307         file.
67308         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
67309         file.
67310         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
67311         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
67312         file.
67313         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
67314         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
67315         file.
67316         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
67317         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
67318         file.
67319         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
67320         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
67321         VIS3 routines.
67323         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
67324         New file.
67326         * sysdeps/sparc/fpu/libm-test-ulps: Update.
67328         * sysdeps/sparc/configure.in: New file.
67329         * sysdeps/sparc/configure: Generate.
67330         * configure.in (libc_cv_sparc_as_vis3): Substitute.
67331         * configure: Regenerate.
67332         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
67333         * config.make.in (have-as-vis3): New.
67334         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
67335         available use -Av9d instead of -Av9a.
67336         * sysdeps/sparc/sparc64/Makefile: Likewise.
67337         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
67338         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
67339         New file.
67340         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
67341         file.
67342         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
67343         New file.
67344         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
67345         file.
67346         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
67347         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
67348         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
67349         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
67350         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
67352         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
67353         fzeros/fnegs to load 0x80000000 into a float register instead of
67354         using the stack.
67355         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
67357 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
67359         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
67360         bits/syscall.h.
67361         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
67362         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
67363         ($(inst_includedir)/bits/syscall.h): Remove rule.
67364         ($(objpfx)bits/syscall.d): Include instead of
67365         $(objpfx)syscall-list.d.
67366         (generated): Change syscall-list.h and syscall-list.d to
67367         bits/syscall.h and bits/syscall.d.
67369 2012-03-14  Roland McGrath  <roland@hack.frob.com>
67371         [BZ #13846]
67372         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
67374 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
67376         [BZ #13841]
67377         * math/s_csqrt.c: Include <float.h>.
67378         (__csqrt): Scale large or subnormal inputs.
67379         * math/s_csqrtf.c: Likewise.
67380         * math/s_csqrtl.c: Likewise.
67381         * math/libm-test.inc (csqrt_test): Add more tests.
67382         * sysdeps/i386/fpu/libm-test-ulps: Update.
67383         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
67385         [BZ #13840]
67386         * math/libm-test.inc (hypot_test): Add more tests.
67388 2012-03-13  David S. Miller  <davem@davemloft.net>
67390         [BZ #13840]
67391         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
67392         double-precision for the calculation instead of scaling.
67394 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
67396         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
67397         manipulate bits before adding and subtracting TWO52[sx].
67398         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
67399         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
67400         Likewise.
67401         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
67403 2012-03-13  David S. Miller  <davem@davemloft.net>
67405         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
67406         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
67407         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
67408         rtld-global-offsets.h
67409         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
67411         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
67412         large parameters.
67414         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
67416         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
67417         'err' in the ifdef scope in which it is actually used.
67419         * nss/nss_db/db-init.c: Include string.h
67421 2012-03-12  David S. Miller  <davem@davemloft.net>
67423         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
67424         masking out of the most significant byte of random value used.
67425         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
67426         Fix coding style in previous change.
67428         * sysdeps/unix/sysv/linux/kernel-features.h
67429         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
67430         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
67431         expression.
67432         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
67433         later.
67435 2012-03-11  David S. Miller  <davem@davemloft.net>
67437         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
67438         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
67439         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
67440         for 'resultvar' otherwise things get truncated on 64-bit.
67442         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
67443         Fix masking out of the most significant byte of random value used.
67445         * sysdeps/sparc/fpu/libm-test-ulps: Update.
67447 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
67449         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
67451 2012-03-09  David S. Miller  <davem@davemloft.net>
67453         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
67454         variables with appropriate CPP guards.
67455         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
67456         from the frame pointer, not the stack pointer.  Correct layout
67457         comments.  Fix test on resulting framesize and the management of
67458         the outregs buffer for pltexit.  Preserve floating point return
67459         values across _dl_call_pltexit call.
67460         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
67461         framesize and the management of the outregs buffer for pltexit.
67462         Preserve floating point return values across _dl_call_pltexit
67463         call.
67464         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
67465         (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
67466         (la_sparc64_gnu_pltexit): New functions.
67467         (print_exit): Fix format string for return register value.
67469 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
67471         * sunrpc/Makefile (others): Add rpcgen.
67472         ($(objpfx)rpcgen): Remove special build rule and dependency on
67473         libc.
67474         * sunrpc/rpcgen.c: New file.
67476 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
67478         [BZ #13673]
67479         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
67480         * stdio-common/bug-vfprintf-nargs.c: Likewise.
67481         * sysdeps/i386/crti.S: Likewise.
67482         * sysdeps/i386/crtn.S: Likewise.
67483         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
67484         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
67485         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
67486         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
67487         * sysdeps/sh/crti.S: Likewise.
67488         * sysdeps/sh/crtn.S: Likewise.
67489         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
67491         [BZ #13673]
67492         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
67493         with URL.
67494         * locale/programs/locfile-kw.gperf: Likewise.
67495         * locale/programs/charmap-kw.h: Regenerated.
67496         * locale/programs/locfile-kw.h: Likewise.
67498         [BZ #13673]
67499         * intl/plural.y: Replace FSF snail mail address with URL.
67500         * intl/plural.c: Regenerated.
67502 2012-03-09  Richard Henderson  <rth@twiddle.net>
67504         * include/math_private.h: Remove file.
67505         * math/math_private.h: Move file ...
67506         * sysdeps/generic/math_private.h: ... here.
67508         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
67509         * sysdeps/powerpc/fpu/math_private.h: Likewise.
67510         * sysdeps/x86_64/fpu/math_private.h: Likewise.
67512         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
67513         and <math_private.h>.
67514         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
67515         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
67516         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
67517         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
67518         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
67519         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
67520         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
67521         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
67522         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
67523         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
67524         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
67525         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
67526         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
67527         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
67528         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
67529         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
67530         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
67531         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
67532         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
67533         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
67534         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
67535         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
67536         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
67537         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
67538         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
67539         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
67540         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
67541         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
67542         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
67543         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
67544         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
67545         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
67546         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
67547         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
67548         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
67549         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
67550         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
67551         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
67552         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
67553         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
67554         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
67555         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
67556         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
67557         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
67558         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
67559         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
67560         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
67561         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
67562         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
67563         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
67564         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
67565         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
67566         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
67567         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
67568         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
67569         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
67570         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
67571         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
67572         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
67573         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
67574         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
67575         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
67576         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
67577         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
67578         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
67579         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
67580         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
67581         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
67582         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
67583         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
67584         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
67585         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
67586         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
67587         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
67588         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
67589         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
67590         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
67591         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
67592         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
67593         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
67594         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
67595         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
67596         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
67597         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
67598         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
67599         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
67600         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
67601         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
67602         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
67603         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
67604         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
67605         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
67606         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
67607         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
67608         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
67609         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
67610         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
67611         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
67612         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
67613         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
67614         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
67615         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
67616         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
67617         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
67618         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
67619         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
67620         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
67621         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
67622         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
67623         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
67624         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
67625         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
67626         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
67627         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
67628         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
67629         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
67630         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
67631         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
67632         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
67633         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
67634         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
67635         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
67636         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
67637         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
67638         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
67639         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
67640         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
67641         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
67642         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
67643         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
67644         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
67645         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
67646         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
67647         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
67648         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
67649         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
67650         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
67651         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
67652         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
67653         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
67654         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
67655         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
67656         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
67657         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
67658         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
67659         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
67660         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
67661         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
67662         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
67663         * sysdeps/ieee754/k_standard.c: Likewise.
67664         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
67665         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
67666         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
67667         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
67668         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
67669         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
67670         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
67671         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
67672         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
67673         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
67674         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
67675         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
67676         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
67677         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
67678         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
67679         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
67680         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
67681         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
67682         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
67683         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
67684         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
67685         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
67686         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
67687         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
67688         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
67689         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
67690         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
67691         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
67692         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
67693         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
67694         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
67695         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
67696         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
67697         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
67698         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
67699         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
67700         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
67701         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
67702         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
67703         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
67704         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
67705         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
67706         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
67707         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
67708         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
67709         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
67710         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
67711         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
67712         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
67713         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
67714         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
67715         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
67716         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
67717         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
67718         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
67719         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
67720         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
67721         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
67722         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
67723         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
67724         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
67725         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
67726         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
67727         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
67728         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
67729         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
67730         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
67731         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
67732         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
67733         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
67734         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
67735         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
67736         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
67737         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
67738         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
67739         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
67740         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
67741         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
67742         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
67743         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
67744         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
67745         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
67746         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
67747         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
67748         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
67749         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
67750         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
67751         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
67752         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
67753         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
67754         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
67755         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
67756         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
67757         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
67758         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
67759         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
67760         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
67761         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
67762         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
67763         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
67764         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
67765         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
67766         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
67767         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
67768         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
67769         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
67770         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
67771         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
67772         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
67773         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
67774         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
67775         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
67776         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
67777         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
67778         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
67779         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
67780         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
67781         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
67782         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
67783         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
67784         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
67785         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
67786         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
67787         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
67788         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
67789         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
67790         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
67791         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
67792         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
67793         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
67794         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
67795         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
67796         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
67797         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
67798         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
67799         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
67800         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
67801         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
67802         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
67803         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
67804         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
67805         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
67806         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
67807         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
67808         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
67809         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
67810         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
67811         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
67812         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
67813         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
67814         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
67815         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
67816         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
67817         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
67818         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
67819         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
67820         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
67821         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
67822         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
67823         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
67824         * sysdeps/ieee754/s_lib_version.c: Likewise.
67825         * sysdeps/ieee754/s_matherr.c: Likewise.
67826         * sysdeps/ieee754/s_signgam.c: Likewise.
67827         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
67828         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
67829         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
67830         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
67831         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
67832         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
67833         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
67834         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
67835         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
67836         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
67837         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
67838         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
67839         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
67840         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
67841         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
67842         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
67843         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
67844         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
67845         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
67846         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
67847         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
67849 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
67851         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
67852         * sunrpc/rpc_main.c: Likewise.
67853         * sunrpc/rpc_svcout.c: Likewise.
67855 2012-03-09  David S. Miller  <davem@davemloft.net>
67857         * include/math_private.h: New file.
67859 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
67861         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
67862         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
67863         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
67864         from <bits/socket_type.h>.
67865         (enum __socket_type): Don't define here.
67866         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
67867         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
67868         bits/socket_type.h.
67870         [BZ #13566]
67871         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
67872         checking __USE_GNU.
67874         * Makerules ($(inst_includedir)/%.h): New rule.
67875         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
67876         (install-others): Remove variable setting.
67877         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
67879 2012-03-08  Richard Henderson  <rth@twiddle.net>
67881         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
67882         from macro to inline function; merge with the
67883         !__LIBC_INTERNAL_MATH_INLINES version.
67884         (__ieee754_sqrtf): Likewise.
67886         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
67887         to inline function.
67888         (__rintf, __floor, __floorf): Likewise.
67890         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
67891         macro to inline function.
67892         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
67894         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
67895         not <math/math_private.h>.
67897 2012-03-08  David S. Miller  <davem@davemloft.net>
67899         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
67900         copyright year.
67901         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
67903 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
67905         * resolv/gai_misc.c (handle_requests): Fix struct timespec
67906         normalization.
67907         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
67908         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
67910 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
67912         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
67913         be defined individually, they must be defined as a block.  Define
67914         S for printing a string instead of hidint the different by using a
67915         macro for adding the 'l'.
67916         * stdio-common/tst-fphex-wide.c: Adjust.
67918 2012-03-07  Marek Polacek  <polacek@redhat.com>
67920         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
67922 2012-03-08  Marek Polacek  <polacek@redhat.com>
67924         [BZ #13806]
67925         * stdio-common/Makefile (tests): Add tst-fphex-wide.
67926         * stdio-common/tst-fphex.c: Define a few macros to make the
67927         test reusable.  Use them.
67928         * stdio-common/tst-fphex-wide.c: New file.
67930 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
67932         [BZ #6911]
67933         * manual/macros.texi (gnusystems): New macro.
67934         (nongnusystems): Likewise.
67935         (gnulinuxhurdsystems): Likewise.
67936         (gnuhurdsystems): Likewise..
67937         (gnulinuxsystems): Likewise.
67938         * manual/charset.texi: Use new macros or @theglibc{} to refer to
67939         variants of the GNU system, not "GNU system".
67940         * manual/conf.texi: Likewise.
67941         * manual/errno.texi: Likewise.  Update example of errno macro
67942         expansion.
67943         * manual/filesys.texi: Likewise.
67944         (getumask): Document as specific to GNU/Hurd.
67945         * manual/install.texi: Likewise.  Reword some references to
67946         GNU/Linux.
67947         * manual/intro.texi: Likewise.
67948         * manual/io.texi: Likewise.
67949         (File Name Portability): Detail which constraints are inapplicable
67950         to all GNU systems and which are only inapplicable to GNU/Hurd.
67951         * manual/job.texi: Likewise.
67952         * manual/llio.texi: Likewise.
67953         (O_NOCTTY): Document as present on GNU/Linux.
67954         * manual/maint.texi: Likewise.
67955         * manual/memory.texi: Likewise.
67956         * manual/pattern.texi: Likewise.
67957         * manual/pipe.texi: Likewise.
67958         * manual/process.texi: Likewise.
67959         * manual/resource.texi: Likewise.
67960         (RUSAGE_CHILDREN): Remove statement about specifying a particular
67961         child on GNU/Hurd.
67962         * manual/setjmp.texi: Likewise.
67963         * manual/signal.texi: Likewise.
67964         * manual/startup.texi: Likewise.
67965         * manual/stdio.texi: Likewise.
67966         * manual/terminal.texi: Likewise.
67967         (ONLCR): Document as POSIX.
67968         (OXTABS): Document availability on GNU/Linux as XTABS.
67969         (ONOEOT): Document availability separately from other bits.
67970         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
67971         * manual/time.texi: Likewise.
67972         * manual/users.texi: Likewise.
67973         * INSTALL: Regenerated.
67974         * sysdeps/gnu/errlist.c: Regenerated.
67976         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
67977         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
67978         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
67979         puts.
67980         * configure: Regenerated.
67982 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
67984         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
67985         default includes instead of AC_HEADER_CHECK.
67986         * sysdeps/i386/configure: Regenerated.
67988         [BZ #10716]
67989         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
67990         * math/s_cacoshf.c (__cacoshf): Likewise.
67991         * math/s_cacoshl.c (__cacoshl): Likewise.
67992         * math/s_casinh.c (__casinh): Set signs of result from argument.
67993         * math/s_casinhf.c (__casinhf): Likewise.
67994         * math/s_casinhl.c (__casinhl): Likewise.
67995         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
67996         (casinh_test): Add more tests.
67997         * sysdeps/i386/fpu/libm-test-ulps: Update.
67998         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68000 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
68002         * po/zh_TW.po: Update from translation team.
68004         * login/Makefile (distribute): Remove variable.
68005         * catgets/Makefile: Likewise.
68006         * mach/Makefile: Likewise.
68007         * malloc/Makefile: Likewise.
68008         * misc/Makefile: Likewise.
68009         * iconv/Makefile: Likewise.
68010         * nscd/Makefile: Likewise.
68011         * hurd/Makefile: Likewise.
68012         * manual/Makefile: Likewise.
68013         * locale/Makefile: Likewise.
68014         * intl/Makefile: Likewise.
68015         * conform/Makefile: Likewise.
68016         * nss/Makefile: Likewise.
68017         * time/Makefile: Likewise.
68018         * soft-fp/Makefile: Likewise.
68019         * dirent/Makefile: Likewise.
68020         * gmon/Makefile: Likewise.
68021         * po/Makefile: Likewise.
68022         * rt/Makefile: Likewise.
68023         * socket/Makefile: Likewise.
68024         * math/Makefile: Likewise.
68025         * signal/Makefile: Likewise.
68026         * debug/Makefile: Likewise.
68027         * elf/Makefile: Likewise.
68028         * timezone/Makefile: Likewise.
68029         * stdlib/Makefile: Likewise.
68030         * iconvdata/Makefile: Likewise.
68031         * sunrpc/Makefile: Likewise.
68032         * io/Makefile: Likewise.
68033         * argp/Makefile: Likewise.
68034         * inet/Makefile: Likewise.
68035         * hesiod/Makefile: Likewise.
68036         * grp/Makefile: Likewise.
68037         * csu/Makefile: Likewise.
68038         * wctype/Makefile: Likewise.
68039         * crypt/Makefile: Likewise.
68040         * libio/Makefile: Likewise.
68041         * string/Makefile: Likewise.
68042         * nis/Makefile: Likewise.
68043         * resolv/Makefile: Likewise.
68044         * stdio-common/Makefile: Likewise.
68045         * wcsmbs/Makefile: Likewise.
68046         * dlfcn/Makefile: Likewise.
68047         * posix/Makefile: Likewise.
68049         [BZ #6959]
68050         * timezone/Makefile: Don't install timezone files, just the programs
68051         and scripts.
68053 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
68055         * nss/databases.def: Add missing gshadow entry.
68057         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
68059 2012-03-06  Marek Polacek  <polacek@redhat.com>
68061         [BZ #13726]
68062         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
68063         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
68064         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
68065         * stdio-common/tst-long-dbl-fphex.c: New file.
68067 2012-03-06  David S. Miller  <davem@davemloft.net>
68069         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
68070         (set_obp_int): New function.
68071         (get_obp_int): New function.
68072         (__get_clockfreq_via_dev_openprom): Likewise.
68073         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
68074         Avoid unused variable warnings on 'val' and use builtin_expect.
68075         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
68076         __builtin_expect.
68077         (INLINE_CLONE_SYSCALL): Likewise.
68079 2012-03-05  David S. Miller  <davem@davemloft.net>
68081         * sysdeps/sparc/fpu/libm-test-ulps: Update.
68083 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
68085         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
68087         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
68088         only for |x| >= 40.
68089         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
68091 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
68093         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
68094         Replace gettimeofday with __vdso_gettimeofday.
68096         * sysdeps/unix/sysv/linux/x86_64/init-first.c
68097         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
68098         __vdso_clock_gettime and __vdso_getcpu.
68100         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
68101         time with __vdso_time.
68103 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
68105         * manual/lang.texi (size_t): Note types to which size_t may be
68106         equivalent with the GNU C Library, but do not describe when
68107         differences between them are significant.
68109 2012-03-05  Andreas Jaeger  <aj@suse.de>
68111         * sysdeps/i386/fpu/libm-test-ulps: Update.
68113 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
68115         [BZ #3976]
68116         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
68117         (__ieee754_pow): Save and restore rounding mode and use
68118         round-to-nearest for main computations.
68119         * math/libm-test.inc (pow_test_tonearest): New function.
68120         (pow_test_towardzero): Likewise.
68121         (pow_test_downward): Likewise.
68122         (pow_test_upward): Likewise.
68123         (main): Call the new functions.
68124         * sysdeps/i386/fpu/libm-test-ulps: Update.
68125         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68127         [BZ #3976]
68128         * math/libm-test.inc (cosh_test_tonearest): New function.
68129         (cosh_test_towardzero): Likewise.
68130         (cosh_test_downward): Likewise.
68131         (cosh_test_upward): Likewise.
68132         (sinh_test_tonearest): Likewise.
68133         (sinh_test_towardzero): Likewise.
68134         (sinh_test_downward): Likewise.
68135         (sinh_test_upward): Likewise.
68136         (main): Call the new functions.
68137         * sysdeps/i386/fpu/libm-test-ulps: Update.
68138         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68140 2012-03-05  Tom de Vries  <tom@codesourcery.com>
68142         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
68143         default stack guard is set in last bytes.
68144         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
68146 2012-03-05  Kees Cook  <keescook@chromium.org>
68148         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
68150         [BZ #13656]
68151         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
68152         possibly allocate from heap instead of stack.
68153         * stdio-common/bug-vfprintf-nargs.c: New file.
68154         * stdio-common/Makefile (tests): Add nargs overflow test.
68156 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
68158         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
68160 2012-03-03  Marek Polacek  <polacek@redhat.com>
68162         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
68163         * math/math_private.h: Likewise.
68164         * stdlib/tst-strtod.c: Likewise.
68165         * sysdeps/i386/i486/bits/atomic.h: Likewise.
68166         * sysdeps/x86_64/bits/atomic.h: Likewise.
68168 2012-03-02  David S. Miller  <davem@davemloft.net>
68170         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
68171         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
68172         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
68173         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
68174         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
68175         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
68176         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
68177         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
68179 2012-03-02  Roland McGrath  <roland@hack.frob.com>
68181         [BZ #13792]
68182         * manual/examples/README: New file, says the example source files
68183         can be used under GPL>=2.
68184         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
68185         line containing just "*/".
68186         * manual/examples/add.c: Add copyright header (GPL>=2).
68187         * manual/examples/argp-ex1.c: Likewise.
68188         * manual/examples/argp-ex2.c: Likewise.
68189         * manual/examples/argp-ex3.c: Likewise.
68190         * manual/examples/argp-ex4.c: Likewise.
68191         * manual/examples/atexit.c: Likewise.
68192         * manual/examples/db.c: Likewise.
68193         * manual/examples/dir.c: Likewise.
68194         * manual/examples/dir2.c: Likewise.
68195         * manual/examples/execinfo.c: Likewise.
68196         * manual/examples/filecli.c: Likewise.
68197         * manual/examples/filesrv.c: Likewise.
68198         * manual/examples/fmtmsgexpl.c: Likewise.
68199         * manual/examples/genpass.c: Likewise.
68200         * manual/examples/inetcli.c: Likewise.
68201         * manual/examples/inetsrv.c: Likewise.
68202         * manual/examples/isockad.c: Likewise.
68203         * manual/examples/longopt.c: Likewise.
68204         * manual/examples/memopen.c: Likewise.
68205         * manual/examples/memstrm.c: Likewise.
68206         * manual/examples/mkfsock.c: Likewise.
68207         * manual/examples/mkisock.c: Likewise.
68208         * manual/examples/mygetpass.c: Likewise.
68209         * manual/examples/pipe.c: Likewise.
68210         * manual/examples/popen.c: Likewise.
68211         * manual/examples/rprintf.c: Likewise.
68212         * manual/examples/search.c: Likewise.
68213         * manual/examples/select.c: Likewise.
68214         * manual/examples/setjmp.c: Likewise.
68215         * manual/examples/sigh1.c: Likewise.
68216         * manual/examples/sigusr.c: Likewise.
68217         * manual/examples/stpcpy.c: Likewise.
68218         * manual/examples/strdupa.c: Likewise.
68219         * manual/examples/strftim.c: Likewise.
68220         * manual/examples/strncat.c: Likewise.
68221         * manual/examples/subopt.c: Likewise.
68222         * manual/examples/swapcontext.c: Likewise.
68223         * manual/examples/termios.c: Likewise.
68224         * manual/examples/testopt.c: Likewise.
68225         * manual/examples/testpass.c: Likewise.
68226         * manual/examples/timeval_subtract.c: Likewise.
68228         [BZ #13792]
68229         * manual/time.texi (Elapsed Time): Move timeval_subtract example
68230         function to ...
68231         * manual/timeval_subtract.c.texi: ... here, new file.
68233 2012-03-02  David S. Miller  <davem@davemloft.net>
68235         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
68237 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
68239         [BZ #3976]
68240         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
68241         (__sin): Save and restore rounding mode and use round-to-nearest
68242         for all computations.
68243         (__cos): Save and restore rounding mode and use round-to-nearest
68244         for all computations.
68245         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
68246         <fenv.h>.
68247         (tan): Save and restore rounding mode and use round-to-nearest for
68248         all computations.
68249         * math/libm-test.inc (cos_test_tonearest): New function.
68250         (cos_test_towardzero): Likewise.
68251         (cos_test_downward): Likewise.
68252         (cos_test_upward): Likewise.
68253         (sin_test_tonearest): Likewise.
68254         (sin_test_towardzero): Likewise.
68255         (sin_test_downward): Likewise.
68256         (sin_test_upward): Likewise.
68257         (tan_test_tonearest): Likewise.
68258         (tan_test_towardzero): Likewise.
68259         (tan_test_downward): Likewise.
68260         (tan_test_upward): Likewise.
68261         (main): Call the new functions.
68262         * sysdeps/i386/fpu/libm-test-ulps: Update.
68263         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68265         [BZ #10135]
68266         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
68267         small n, then large n, before computing and testing k+n.
68268         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
68269         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
68270         Likewise.
68271         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
68272         Likewise.
68273         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
68274         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
68275         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
68276         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
68277         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
68278         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
68279         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
68280         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
68281         * math/libm-test.inc (scalbn_test): Add more tests.
68282         (scalbln_test): Likewise.
68284         * manual/filesys.texi (mode_t): Describe constraints on size and
68285         signedness, not exact equivalence to a particular type.
68286         (ino_t): Likewise.
68287         (ino64_t): Likewise.
68288         (dev_t): Likewise.
68289         (nlink_t): Likewise.
68290         (blkcnt_t): Likewise.
68291         (blkcnt64_t): Likewise.
68292         * manual/llio.texi (off_t): Likewise.
68294         [BZ #3976]
68295         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
68296         (__ieee754_exp): Save and restore rounding mode and use
68297         round-to-nearest for all computations.
68298         * math/libm-test.inc (exp_test_tonearest): New function.
68299         (exp_test_towardzero): Likewise.
68300         (exp_test_downward): Likewise.
68301         (exp_test_upward): Likewise.
68302         (main): Call the new functions.
68303         * sysdeps/i386/fpu/libm-test-ulps: Update.
68304         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68306 2012-03-01  Chris Demetriou  <cgd@google.com>
68308         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
68309         have predictable order.
68311 2012-03-01  David S. Miller  <davem@davemloft.net>
68313         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
68315         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
68316         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
68317         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
68318         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
68320         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
68321         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
68322         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
68323         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
68324         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
68325         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
68326         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
68327         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
68328         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
68330         * sysdeps/sparc/fpu/libm-test-ulps: Update.
68332         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
68333         * sysdeps/sparc/fpu/libm-test-ulps: to here.
68334         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
68336         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
68337         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
68338         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
68339         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
68340         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
68341         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
68342         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
68343         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
68344         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
68345         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
68346         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
68347         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
68348         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
68349         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
68350         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
68351         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
68352         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
68353         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
68354         * sysdeps/sparc/elf/configure: Regenerated.
68356 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
68358         * configure.in (AS, LD): Require binutils 2.20 or later.
68359         * configure: Regenerated.
68360         * manual/install.texi (Tools for Compilation): Give binutils 2.20
68361         as required minimum version.
68362         * INSTALL: Regenerated.
68364         [BZ #2541]
68365         [BZ #4108]
68366         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
68367         before squaring exponent.
68368         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
68369         bottom long double and 27 bits of top long double before squaring
68370         exponent.
68371         * math/libm-test.inc (erfc_test): Add more tests.
68372         * sysdeps/i386/fpu/libm-test-ulps: Update.
68373         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
68374         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68376 2012-03-01  Kai Tietz  <ktietz@redhat.com>
68378         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
68379         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
68380         containing bit-fields.
68381         * soft-fp/extended.h (_FP_UNION_E): Likewise.
68382         * soft-fp/single.h (_FP_UNION_S): Likewise.
68383         * soft-fp/double.h (_FP_UNION_D): Likewise.
68385 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
68387         [BZ #13786]
68388         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
68389         not include ../strcmp.S.
68390         [USE_AS_STRNCASECMP_L]: Likewise.
68391         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
68392         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
68393         * sysdeps/i386/i686/multiarch/strncase_l-c.c
68394         (__strncasecmp_l_ia32): Define as alias to
68395         __strncasecmp_l_nonascii.
68397         [BZ #5794]
68398         * math/libm-test.inc (expm1_test): Add test for bug 5794.
68399         * sysdeps/i386/fpu/libm-test-ulps: Update.
68400         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68402         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
68403         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68405 2012-02-29  Jeff Law  <law@redhat.com>
68407         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
68408         out of bounds read.
68410 2012-02-29  Marek Polacek  <polacek@redhat.com>
68412         [BZ #13706]
68413         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
68414         * elf/Makefile: Add rules to run tst-unused-dep.out.
68416 2012-02-28  David S. Miller  <davem@davemloft.net>
68418         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
68419         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
68420         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
68421         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
68422         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
68423         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
68425 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
68427         * math/libm-test.inc (llround_test): Move one test from
68428         lround_test.  Use TEST_f_L in moved test.
68429         (lround_test): Move misplaced test to llround_test.  Add testcase
68430         from bug 2561.
68432 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
68434         * sysdeps/x86_64/fpu/e_expf.S: New file.
68435         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
68437 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
68439         [BZ #13637]
68440         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
68441         of remain_len that may cause incomplete multi-byte character and
68442         false match.
68443         * posix/bug-regex33.c: New file.
68444         * posix/Makefile (tests): Add bug-regex33.
68446 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
68448         * manual/macros.texi: New file.
68449         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
68450         * manual/libc.texinfo: Include macros.texi.
68451         * manual/creatute.texi: Likewise.
68452         * manual/install.texi: Likewise.
68453         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
68454         @glibcadj{} in references to the GNU C Library.
68455         * manual/charset.texi: Likewise.
68456         * manual/conf.texi: Likewise.
68457         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
68458         when not using those macros.
68459         * manual/creature.texi: Likewise.
68460         * manual/crypt.texi: Likewise.
68461         * manual/errno.texi: Likewise.
68462         * manual/filesys.texi: Likewise.
68463         * manual/header.texi: Likewise.
68464         * manual/install.texi: Likewise.
68465         * manual/intro.texi: Likewise.
68466         * manual/io.texi: Likewise.
68467         * manual/job.texi: Likewise.
68468         * manual/lang.texi: Likewise.
68469         * manual/libc.texiinfo: Likewise.
68470         * manual/llio.texi: Likewise.
68471         * manual/locale.texi: Likewise.
68472         * manual/maint.texi: Likewise.
68473         * manual/math.texi: Likewise.
68474         * manual/memory.texi: Likewise.
68475         * manual/message.texi: Likewise.
68476         * manual/nss.texi: Likewise.
68477         * manual/pattern.texi: Likewise.
68478         * manual/process.texi: Likewise.
68479         * manual/resource.texi: Likewise.
68480         * manual/search.texi: Likewise.
68481         * manual/setjmp.texi: Likewise.
68482         * manual/signal.texi: Likewise.
68483         * manual/socket.texi: Likewise.
68484         * manual/startup.texi: Likewise.
68485         * manual/stdio.texi: Likewise.
68486         * manual/string.texi: Likewise.
68487         * manual/sysinfo.texi: Likewise.
68488         * manual/syslog.texi: Likewise.
68489         * manual/terminal.texi: Likewise.
68490         * manual/time.texi: Likewise.
68491         * manual/users.texi: Likewise.
68492         * INSTALL: Regenerated.
68493         * NOTES: Regenerated.
68494         * sysdeps/gnu/errlist.c: Regenerated.
68496 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
68498         * include/dirent.h: Include <dirstream.h> before
68499         <dirent/dirent.h>.
68501 2012-02-28  David S. Miller  <davem@davemloft.net>
68503         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
68504         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
68505         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
68506         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
68508 2012-02-27  David S. Miller  <davem@davemloft.net>
68510         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
68511         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
68512         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
68513         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
68515         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
68516         frame pointer instead of stack pointer relative arg slot.
68517         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
68518         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
68519         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
68521 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
68523         [BZ #3992]
68524         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
68526 2012-02-27  David S. Miller  <davem@davemloft.net>
68528         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
68529         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
68530         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
68531         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
68532         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
68533         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
68534         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
68535         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
68537 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
68539         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
68540         later.  Allow versions 5-9.
68541         * configure: Regenerated.
68542         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
68543         required minimum version and 4.6 as recommended version.  Do not
68544         mention bugs in GCC 2.7 and 2.8.
68545         * INSTALL: Regenerated.
68547 2012-02-27  David S. Miller  <davem@davemloft.net>
68549         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
68550         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
68551         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
68552         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
68553         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
68554         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
68555         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
68556         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
68558         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
68559         manipulate bits before adding and subtracting TWO112[sx].
68560         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
68562 2012-02-27  Roland McGrath  <roland@hack.frob.com>
68564         [BZ #13775]
68565         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
68566         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
68567         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
68568         being in POSIX, because they are in 1003.1-2008.
68570         * rt/tst-aio.c: Include <fcntl.h>.
68571         * rt/tst-aio7.c: Likewise.
68572         * rt/tst-aio64.c: Likewise.
68574         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
68576 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
68578         * manual/install.texi (--with-headers): Describe headers as
68579         interface headers, not private headers.
68580         (Specific advice for GNU/Linux systems): Describe use of headers
68581         from "make headers_install", not private headers from older
68582         kernels.
68583         * INSTALL: Regenerated.
68584         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
68585         Change to 2.6.19.
68586         * sysdeps/unix/sysv/linux/configure: Regenerated.
68588         * manual/llio.texi (fclean): Remove documentation.
68590         * manual/Makefile (libc-texi-generated): New variable.  Include
68591         version.texi.
68592         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
68593         $(libc-texi-generated), not duplicated list of files.
68594         (version.texi, stamp-version): New rules.
68595         (realclean): Remove $(libc-texi-generated), not individual files
68596         from that list.  Do not remove dir-add.texinfo.
68597         * manual/libc.texinfo: Comment out uses of edition numbers and
68598         references to printed manual.  Remove last-updated dates.
68599         (EDITION): Comment out.
68600         (ISBN): Likewise.
68601         (VERSION, UPDATED): Remove.
68602         (version.texi): Include.
68604 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
68606         * sysdeps/posix/spawni.c: Include <signal.h>.
68607         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
68608         * sysdeps/pthread/aio_fsync.c: Likewise.
68610 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
68612         * conform/Makefile (tests): Run only when not cross-compiling and
68613         when fast-check is not defined.
68615         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
68616         * conform/data/limits.h-data: Fixes for POSIX2008.
68617         * conform/run-conformtest.sh: Run all tests.
68618         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
68619         headers.
68620         * include/bits/dlfcn.h: Likewise.
68621         * include/langinfo.h: Likewise.
68622         * include/monetary.h: Likewise.
68623         * include/sys/poll.h: Likewise.
68625         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
68626         for __USE_GNU.
68627         * posix/spawn.h: Define __need_sigset_t.
68628         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
68629         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
68630         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
68631         to get sigevent_t only.
68632         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
68633         only for __USE_GNU.
68634         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
68635         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
68636         process_vm_writev only for __USE_GNU.
68637         * termios/termios.h: Declare tcgetsid also for POSIX2008.
68639         * conform/Makefile: For now ignore errors from run-conformtest.
68640         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
68641         POSIX to avoid namespace pollution.  Don't prepend headers.
68642         * conform/data/aio.h-data: Fixes for POSIX testing.
68643         * conform/data/fcntl.h-data: Likewise.
68644         * conform/data/glob.h-data: Likewise.
68645         * conform/data/grp.h-data: Likewise.
68646         * conform/data/pthread.h-data: Likewise.
68647         * conform/data/pwd.h-data: Likewise.
68648         * conform/data/signal.h-data: Likewise.
68649         * conform/data/spawn.h-data: Likewise.
68650         * conform/data/stdio.h-data: Likewise.
68651         * conform/data/stdlib.h-data: Likewise.
68652         * conform/data/stropts.h-data: Likewise.
68653         * conform/data/sys/mman.h-data: Likewise.
68654         * conform/data/sys/stat.h-data: Likewise.
68655         * conform/data/sys/types.h-data: Likewise.
68656         * conform/data/sys/wait.h-data: Likewise.
68657         * conform/data/time.h-data: Likewise.
68658         * conform/data/unistd.h-data: Likewise.
68659         * conform/data/utime.h-data: Likewise.
68661         * io/sys/stat.h: fchmod was always in POSIX.
68662         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
68663         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
68664         * rt/aio.h: Define __need_timespec before including <time.h>.
68665         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
68666         struct.  Add forward declaration of pthread_attr_t and use it in
68667         sigevent.
68668         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
68669         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
68670         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
68671         always remove CLK_TCK definition.
68673 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
68675         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
68677 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
68679         * conform/run-conformtest.sh: New file.
68680         * conform/Makefile: Run run-conformtest for tests.
68681         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
68682         support.
68684         * conform/data/uchar.h-data: New file.
68685         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
68686         * conform/data/arpa/inet.h-data: Likewise.
68687         * conform/data/assert.h-data: Likewise.
68688         * conform/data/complex.h-data: Likewise.
68689         * conform/data/cpio.h-data: Likewise.
68690         * conform/data/ctype.h-data: Likewise.
68691         * conform/data/dirent.h-data: Likewise.
68692         * conform/data/dlfcn.h-data: Likewise.
68693         * conform/data/errno.h-data: Likewise.
68694         * conform/data/fcntl.h-data: Likewise.
68695         * conform/data/float.h-data: Likewise.
68696         * conform/data/fmtmsg.h-data: Likewise.
68697         * conform/data/fnmatch.h-data: Likewise.
68698         * conform/data/ftw.h-data: Likewise.
68699         * conform/data/glob.h-data: Likewise.
68700         * conform/data/grp.h-data: Likewise.
68701         * conform/data/iconv.h-data: Likewise.
68702         * conform/data/inttypes.h-data: Likewise.
68703         * conform/data/langinfo.h-data: Likewise.
68704         * conform/data/libgen.h-data: Likewise.
68705         * conform/data/limits.h-data: Likewise.
68706         * conform/data/locale.h-data: Likewise.
68707         * conform/data/math.h-data: Likewise.
68708         * conform/data/monetary.h-data: Likewise.
68709         * conform/data/mqueue.h-data: Likewise.
68710         * conform/data/ndbm.h-data: Likewise.
68711         * conform/data/net/if.h-data: Likewise.
68712         * conform/data/netdb.h-data: Likewise.
68713         * conform/data/netinet/in.h-data: Likewise.
68714         * conform/data/nl_types.h-data: Likewise.
68715         * conform/data/poll.h-data: Likewise.
68716         * conform/data/pthread.h-data: Likewise.
68717         * conform/data/pwd.h-data: Likewise.
68718         * conform/data/regex.h-data: Likewise.
68719         * conform/data/sched.h-data: Likewise.
68720         * conform/data/search.h-data: Likewise.
68721         * conform/data/semaphore.h-data: Likewise.
68722         * conform/data/setjmp.h-data: Likewise.
68723         * conform/data/signal.h-data: Likewise.
68724         * conform/data/spawn.h-data: Likewise.
68725         * conform/data/stdarg.h-data: Likewise.
68726         * conform/data/stdio.h-data: Likewise.
68727         * conform/data/stdlib.h-data: Likewise.
68728         * conform/data/string.h-data: Likewise.
68729         * conform/data/strings.h-data: Likewise.
68730         * conform/data/stropts.h-data: Likewise.
68731         * conform/data/sys/ipc.h-data: Likewise.
68732         * conform/data/sys/mman.h-data: Likewise.
68733         * conform/data/sys/msg.h-data: Likewise.
68734         * conform/data/sys/resource.h-data: Likewise.
68735         * conform/data/sys/select.h-data: Likewise.
68736         * conform/data/sys/sem.h-data: Likewise.
68737         * conform/data/sys/shm.h-data: Likewise.
68738         * conform/data/sys/socket.h-data: Likewise.
68739         * conform/data/sys/stat.h-data: Likewise.
68740         * conform/data/sys/statvfs.h-data: Likewise.
68741         * conform/data/sys/time.h-data: Likewise.
68742         * conform/data/sys/timeb.h-data: Likewise.
68743         * conform/data/sys/times.h-data: Likewise.
68744         * conform/data/sys/types.h-data: Likewise.
68745         * conform/data/sys/uio.h-data: Likewise.
68746         * conform/data/sys/un.h-data: Likewise.
68747         * conform/data/sys/utsname.h-data: Likewise.
68748         * conform/data/sys/wait.h-data: Likewise.
68749         * conform/data/syslog.h-data: Likewise.
68750         * conform/data/tar.h-data: Likewise.
68751         * conform/data/termios.h-data: Likewise.
68752         * conform/data/utime.h-data: Likewise.
68753         * conform/data/utmpx.h-data: Likewise.
68754         * conform/data/varargs.h-data: Likewise.
68755         * conform/data/wchar.h-data: Likewise.
68756         * conform/data/wctype.h-data: Likewise.
68757         * conform/data/wordexp.h-data: Likewise.
68759         * include/stropts.h: New file.
68760         * include/uchar.h: New file.
68761         * include/aio.h: Changes to allow conformtest.pl to use the headers.
68762         * include/assert.h: Likewise.
68763         * include/ctype.h: Likewise.
68764         * include/dirent.h: Likewise.
68765         * include/dlfcn.h: Likewise.
68766         * include/fcntl.h: Likewise.
68767         * include/fnmatch.h: Likewise.
68768         * include/glob.h: Likewise.
68769         * include/grp.h: Likewise.
68770         * include/libio.h: Likewise.
68771         * include/locale.h: Likewise.
68772         * include/math.h: Likewise.
68773         * include/net/if.h: Likewise.
68774         * include/netdb.h: Likewise.
68775         * include/netinet/in.h: Likewise.
68776         * include/pthread.h: Likewise.
68777         * include/pwd.h: Likewise.
68778         * include/regex.h: Likewise.
68779         * include/sched.h: Likewise.
68780         * include/search.h: Likewise.
68781         * include/setjmp.h: Likewise.
68782         * include/signal.h: Likewise.
68783         * include/stdio.h: Likewise.
68784         * include/stdlib.h: Likewise.
68785         * include/string.h: Likewise.
68786         * include/sys/cdefs.h: Likewise.
68787         * include/sys/mman.h: Likewise.
68788         * include/sys/msg.h: Likewise.
68789         * include/sys/resource.h: Likewise.
68790         * include/sys/select.h: Likewise.
68791         * include/sys/socket.h: Likewise.
68792         * include/sys/stat.h: Likewise.
68793         * include/sys/statvfs.h: Likewise.
68794         * include/sys/time.h: Likewise.
68795         * include/sys/times.h: Likewise.
68796         * include/sys/uio.h: Likewise.
68797         * include/sys/utsname.h: Likewise.
68798         * include/sys/wait.h: Likewise.
68799         * include/termios.h: Likewise.
68800         * include/time.h: Likewise.
68801         * include/ulimit.h: Likewise.
68802         * include/unistd.h: Likewise.
68803         * include/utime.h: Likewise.
68804         * include/wchar.h: Likewise.
68805         * include/wctype.h: Likewise.
68806         * include/wordexp.h: Likewise.
68808         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
68810         * time/time.h: TIME_UTC must be a macro.
68811         Make timespec_get available for ISO C11 only as well.
68813 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
68815         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
68816         Reported by Peng Haitao <penght@cn.fujitsu.com>.
68818 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
68820         * configure.in: Use -o not -a in test for unsupported multi-arch.
68822 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
68824         * manual/texinfo.tex: Update to version 2012-01-19.16.
68826 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
68828         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
68830 2012-02-24  Roland McGrath  <roland@hack.frob.com>
68832         [BZ #13738]
68833         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
68834         * manual/fdl-1.3.texi: New file.
68835         * manual/fdl-1.1.texi: File removed.
68837         [BZ #13738]
68838         * manual/libc.texinfo (FDL_VERSION): New @set.
68839         Use it for mention of FDL in cover text.
68840         (Documentation License): Use it in @include file name.
68842 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
68843             Roland McGrath  <roland@hack.frob.com>
68845         [BZ #5461]
68846         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
68847         (not LONG_LONG_MAX and LONG_LONG_MIN.
68848         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
68849         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
68850         name.
68851         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
68853 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
68855         [BZ #2547]
68856         [BZ #11365]
68857         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
68858         manipulate bits before adding and subtracting TWO23[sx].
68859         * math/libm-test.inc (nearbyint_test): Add more tests.
68861 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
68863         [BZ #2548]
68864         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
68865         bits before adding and subtracting TWO23[sx].
68866         * math/libm-test.inc (rint_test): Add more tests.
68867         (rint_test_tonearest): Likewise.
68868         (rint_test_towardzero): Likewise.
68869         (rint_test_downward): Likewise.
68870         (rint_test_upward: Likewise.
68872 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
68874         [BZ #10110]
68875         * include/stdc-predef.h: New file.  Extracted from features.h.
68876         * include/features.h: Include stdc-predef.h.
68877         * Makefile (headers): Add stdc-predef.h.
68878         * CONFORMANCE (Compiler limitations): Update.
68880 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
68882         * manual/libc.texinfo (VERSION, UPDATED): Revert.
68884 2012-02-21  David S. Miller  <davem@davemloft.net>
68886         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
68887         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
68889 2012-02-20  David S. Miller  <davem@davemloft.net>
68891         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
68892         using a normal save/restore sequence, rather than allocating a
68893         dummy stack frame just to store a frame pointer and restore.
68894         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
68896 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
68898         * manual/install.texi: Fix stray word in line-wrapped comment.
68900 2012-02-20  David S. Miller  <davem@davemloft.net>
68902         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
68903         both binutils and gcc support GOTDATA.
68905         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
68906         "rd %pc" in the PIC register setup sequences.
68908         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
68909         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
68910         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
68911         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
68912         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
68913         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
68914         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
68915         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
68916         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
68917         (SYSCALL_ERROR_HANDLER): Likewise.
68918         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
68919         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
68920         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
68921         (SYSCALL_ERROR_HANDLER): Likewise.
68923         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
68924         (HAVE_GCC_GOTDATA): New.
68925         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
68926         relocation support in both binutils and gcc.
68927         * sysdeps/sparc/elf/configure: Regenerate.
68929         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
68930         * sysdeps/sparc/sparc32/elf/configure: Delete.
68931         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
68932         * sysdeps/sparc/sparc64/elf/configure: Delete.
68933         * sysdeps/sparc/elf/configure.in: New file.
68934         * sysdeps/sparc/elf/configure: Generate.
68936         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
68937         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
68938         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
68939         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
68940         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
68942 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
68944         * manual/install.texi: Do not mention specific glibc version
68945         numbers.
68946         * manual/libc.texinfo (VERSION, UPDATED): Update.
68947         (@copying): Use @copyright{} and range of years.
68949 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
68951         [BZ #13695]
68952         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
68953         [crti.S not in sysdirs] (generated): Do not append.
68954         [crti.S not in sysdirs] (omit-deps): Likewise.
68955         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
68956         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
68957         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
68958         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
68959         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
68960         Likewise.
68961         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
68962         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
68963         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
68964         * csu/defs.awk: Remove file.
68965         * sysdeps/generic/initfini.c: Likewise.
68966         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
68967         variable.
68968         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
68969         Likewise.
68971 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
68973         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
68974         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
68975         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
68976         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
68977         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
68978         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
68979         <bits/epoll.h>.
68980         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
68981         (__EPOLL_PACKED): Define to empty if not defined by
68982         <bits/epoll.h>.
68983         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
68984         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
68985         bits/epoll.h.
68987 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
68989         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
68990         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
68991         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
68992         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
68993         <bits/timerfd.h>.
68994         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
68995         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
68996         bits/timerfd.h.
68998 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
69000         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
69001         in C locale.
69002         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
69003         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
69004         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
69005         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
69007 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
69009         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
69010         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
69012 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
69014         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
69015         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
69016         defined.
69017         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
69018         Likewise.
69019         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
69020         entry for 2.16.
69022 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
69024         * math/w_acos.c: Use non-signaling floating-point comparisons.
69025         * math/w_acosf.c: Likewise.
69026         * math/w_acosh.c: Likewise.
69027         * math/w_acoshf.c: Likewise.
69028         * math/w_acoshl.c: Likewise.
69029         * math/w_acosl.c: Likewise.
69030         * math/w_asin.c: Likewise.
69031         * math/w_asinf.c: Likewise.
69032         * math/w_asinl.c: Likewise.
69033         * math/w_atanh.c: Likewise.
69034         * math/w_atanhf.c: Likewise.
69035         * math/w_atanhl.c: Likewise.
69036         * math/w_exp2.c: Likewise.
69037         * math/w_exp2f.c: Likewise.
69038         * math/w_exp2l.c: Likewise.
69039         * math/w_j0.c: Likewise.
69040         * math/w_j0f.c: Likewise.
69041         * math/w_j0l.c: Likewise.
69042         * math/w_j1.c: Likewise.
69043         * math/w_j1f.c: Likewise.
69044         * math/w_j1l.c: Likewise.
69045         * math/w_jn.c: Likewise.
69046         * math/w_jnf.c: Likewise.
69047         * math/w_log.c: Likewise.
69048         * math/w_log10.c: Likewise.
69049         * math/w_log10f.c: Likewise.
69050         * math/w_log10l.c: Likewise.
69051         * math/w_log2.c: Likewise.
69052         * math/w_log2f.c: Likewise.
69053         * math/w_log2l.c: Likewise.
69054         * math/w_logf.c: Likewise.
69055         * math/w_logl.c: Likewise.
69056         * math/w_sqrt.c: Likewise.
69057         * math/w_sqrtf.c: Likewise.
69058         * math/w_sqrtl.c: Likewise.
69059         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
69060         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
69061         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
69062         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
69063         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
69065 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
69067         [BZ #9739]
69068         * manual/string.texi (strnlen): Use correct parameter name in
69069         equivalent expression.
69071 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
69073         [BZ #11174]
69074         * manual/users.texi (seteuid): Consistently use neweuid for
69075         argument name.
69077 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
69079         [BZ #13704]
69080         * manual/nss.texi (Services in the NSS configuration): Correct
69081         list of services in example configuration file.
69083 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
69085         [BZ #11322]
69086         * manual/arith.texi: Remove statements about negative zero
69087         behaving identically to zero.
69089 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
69091         [BZ #5993]
69092         * manual/install.texi: Do not document upgrading from libc5.
69094 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
69096         [BZ #4596]
69097         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
69099 2012-02-18  David S. Miller  <davem@davemloft.net>
69101         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
69102         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
69103         %o7 across the call.
69104         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
69105         instead.
69106         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
69107         SETUP_PIC_REG_LEAF.
69108         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
69109         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
69110         * sysdeps/sparc/crtn.S: Likewise.
69112 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
69114         * aout/Makefile: Remove.
69116 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
69118         [BZ #13058]
69119         * manual/examples/argp-ex1.c (main): Format definition in GNU
69120         style.
69121         * manual/examples/argp-ex2.c (main): Likewise.
69122         * manual/examples/argp-ex3.c (main): Likewise.
69123         * manual/examples/argp-ex4.c (main): Likewise.
69124         * manual/examples/longopt.c (main): Use new-style prototype
69125         definition.
69126         * manual/examples/strncat.c (main): Specify return type and use
69127         (void) for arguments.
69128         * manual/examples/subopt.c (main): Use char **argv argument.
69130 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
69132         [BZ #5077]
69133         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
69134         rounding modes.
69136 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
69138         [BZ #6907]
69139         * manual/string.texi (strchr): Change when strchrnul is
69140         recommended.
69142 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
69144         [BZ #174]
69145         * manual/locale.texi (setlocale): Document LOCPATH.
69147 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
69149         [BZ #10210]
69150         * manual/process.texi (execle): Move @dots{} before last argument.
69152 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
69154         [BZ #12047]
69155         * manual/charset.texi (Generic Charset Conversion): Fix typo
69156         (LC_TYPE -> LC_CTYPE).
69158 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
69160         [BZ #5805]
69161         * manual/arith.texi (scalbn): Use @var{} on parameter names.
69162         (scalbnf): Likewise.
69163         (scalbnl): Likewise.
69164         (scalbln): Likewise.
69165         (scalblnf): Likewise.
69166         (scalblnl): Likewise.
69167         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
69168         (vwarnx): Likewise.
69169         (verr): Likewise.
69170         (verrx): Likewise.
69171         * manual/filesys.texi (telldir): Use braces around return type.
69172         * manual/llio.texi (mmap): Add space after comma.
69173         (mmap64): Likewise.
69174         * manual/math.texi (jn): Use @var{} on parameter names.
69175         (jnf): Likewise.
69176         (jnl): Likewise.
69177         (yn): Likewise.
69178         (ynf): Likewise.
69179         (ynl): Likewise.
69180         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
69181         line.
69182         * manual/resource.texi (ulimit): Use @dots{} instead of literal
69183         "...".
69184         (sched_get_priority_min): Remove semicolon on @deftypefun line.
69185         (sched_get_priority_max): Likewise.
69186         * manual/signal.texi (sigvec): Add space after comma.
69187         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
69188         names.
69189         (if_indextoname): Likewise.
69190         (if_freenameindex): Likewise.
69191         (sendto): Use ',' instead of '.' in prototype.
69192         * manual/startup.texi (syscall): Use @dots{} instead of literal
69193         "...".
69194         * manual/stdio.texi (__fpending): Separate initial words of
69195         paragraph from @deftypefun line.
69196         * manual/syslog.texi (syslog): Use @dots{} instead of literal
69197         "...".
69198         (vsyslog): Use @var{} on parameter names.
69199         * manual/terminal.texi (stty): Use @var{} on parameter names.
69200         * manual/users.texi (getutmp): Use @var{} on parameter names.
69201         (getutmpx): Likewise.
69203 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
69205         [BZ #6884]
69206         * manual/stdio.texi (fopen): Fix typos in description of
69207         ",ccs=STRING".
69209 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
69211         [BZ #4026]
69212         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
69213         get clock_id definition.
69215 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
69217         [BZ #4822]
69218         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
69219         (madvise): Cast every argument to void on its own.
69221 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
69223         [BZ #9902]
69224         * manual/startup.texi (Exit Status): Fix typo.
69226 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
69228         [BZ #10140]
69229         * manual/examples/argp-ex1.c: Include <stdlib.h>.
69230         * manual/examples/argp-ex2.c: Likewise.
69231         * manual/examples/argp-ex3.c: Likewise.
69233 2012-02-16  Richard Henderson  <rth@redhat.com>
69235         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
69236         * sysdeps/s390/s390-32/initfini.c: Remove.
69237         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
69238         * sysdeps/s390/s390-64/initfini.c: Remove.
69240 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
69242         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
69243         compiler output for sysdeps/generic/initfini.c.
69244         * sysdeps/sh/elf/initfini.c: Remove file.
69246 2012-02-16  David S. Miller  <davem@davemloft.net>
69248         [BZ #11494]
69249         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
69251         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
69252         * sysdeps/sparc/crti.S: New file.
69253         * sysdeps/sparc/crtn.S: New file.
69254         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
69255         * sysdeps/sparc/sparc64/Makefile: Likewise.
69257 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
69259         [BZ #3335]
69260         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
69262 2012-02-15  Roland McGrath  <roland@hack.frob.com>
69264         [BZ #4822]
69265         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
69267         * mach/devstream.c (cookie_io_functions_t): Macro removed.
69268         (write, read, close): Likewise.
69269         Patch by Aurelien Jarno <aurelien@aurel32.net>.
69271 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
69273         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
69274         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
69275         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
69276         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
69277         <bits/signalfd.h>.
69278         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
69279         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
69280         bits/signalfd.h.
69282 2012-02-14  Marek Polacek  <polacek@redhat.com>
69284         * sysdeps/x86_64/crti.S: New file.
69285         * sysdeps/x86_64/crtn.S: New file.
69286         * sysdeps/x86_64/elf/initfini.c: Remove file.
69288 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
69290         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
69291         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
69292         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
69293         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
69294         <bits/inotify.h>.
69295         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
69296         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
69297         bits/inotify.h.
69299 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
69301         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
69302         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
69303         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
69304         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
69305         <bits/eventfd.h>.
69306         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
69307         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
69308         bits/eventfd.h.
69310 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
69312         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
69313         __feraiseexcept instead of feraiseexcept.
69315         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
69316         nanosleep invocations.
69317         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
69318         strings, and add error checking for a nanosleep invocations.
69320 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
69322         Replace FSF snail mail address with URLs, as per GNU coding standards.
69323         Most of the snail mail addresses were wrong anyway, and omitting
69324         them makes the source code easier to maintain.  Almost all of the
69325         changes are to license notices and to locale LC_IDENTIFICATION
69326         addresses, except for this one:
69327         * manual/libc.texinfo: In "Published by", give the FSF's URL,
69328         not its snail mail address.
69330 2012-02-09  Richard Henderson  <rth@twiddle.net>
69332         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
69333         of kernel-features.h.
69335         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
69337 2012-02-08  Marek Polacek  <polacek@redhat.com>
69339         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
69340         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
69341         * sysdeps/gnu/_G_config.h: Likewise.
69342         * sysdeps/generic/_G_config.h: Likewise.
69344 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
69346         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
69347         tests.
69348         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
69350         * sysdeps/powerpc/powerpc32/crti.S: New file.
69351         * sysdeps/powerpc/powerpc32/crtn.S: New file.
69352         * sysdeps/powerpc/powerpc64/crti.S: New file.
69353         * sysdeps/powerpc/powerpc64/crtn.S: New file.
69355         * Makeconfig (have-initfini): Don't set.
69356         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
69357         * configure.in (nopic_initfini): Don't substitute.
69358         * config.h.in (HAVE_INITFINI): Don't #undef.
69359         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
69360         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
69362 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
69364         Support crti.S and crtn.S provided directly by architectures.
69365         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
69366         [crti.S in sysdirs] (omit-deps): Likewise.
69367         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
69368         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
69369         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
69370         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
69371         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
69372         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
69373         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
69374         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
69375         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
69376         compiler output for sysdeps/generic/initfini.c.
69377         * sysdeps/i386/elf/Makefile: Remove file.
69378         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
69380 2012-02-07  Marek Polacek  <polacek@redhat.com>
69382         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
69383         * sysdeps/gnu/_G_config.h: Likewise.
69384         * sysdeps/mach/hurd/_G_config.h: Likewise.
69386 2012-02-07  Marek Polacek  <polacek@redhat.com>
69388         * math/Makefile (tests): Add tst-CMPLX2.
69389         * math/tst-CMPLX2.c: New file.
69391 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
69393         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
69395         * math/libm-test.inc (jn_test): Add missing L suffix.
69397 2012-02-06  Marek Polacek  <polacek@redhat.com>
69399         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
69400         * sysdeps/i386/fpu/e_powf.S: Likewise.
69401         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
69402         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
69403         * sysdeps/i386/fpu/e_acosh.S: Likewise.
69404         * sysdeps/i386/fpu/e_pow.S: Likewise.
69405         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
69406         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
69407         * sysdeps/i386/fpu/s_expm1.S: Likewise.
69408         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
69409         * sysdeps/i386/fpu/e_log2.S: Likewise.
69410         * sysdeps/i386/fpu/e_log2l.S: Likewise.
69411         * sysdeps/i386/fpu/e_scalb.S: Likewise.
69412         * sysdeps/i386/fpu/e_powl.S: Likewise.
69413         * sysdeps/i386/fpu/s_log1p.S: Likewise.
69414         * sysdeps/i386/fpu/e_log10f.S: Likewise.
69415         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
69416         * sysdeps/i386/fpu/e_logl.S: Likewise.
69417         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
69418         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
69419         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
69420         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
69421         * sysdeps/i386/fpu/e_log2f.S: Likewise.
69422         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
69423         * sysdeps/i386/fpu/e_log.S: Likewise.
69424         * sysdeps/i386/fpu/s_cexp.S: Likewise.
69425         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
69426         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
69427         * sysdeps/i386/fpu/e_logf.S: Likewise.
69428         * sysdeps/i386/fpu/e_log10l.S: Likewise.
69429         * sysdeps/i386/fpu/e_atanh.S: Likewise.
69430         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
69431         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
69432         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
69433         * sysdeps/i386/fpu/e_log10.S: Likewise.
69434         * sysdeps/i386/fpu/s_frexp.S: Likewise.
69435         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
69436         * sysdeps/i386/fpu/s_asinh.S: Likewise.
69437         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
69438         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
69439         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
69440         * sysdeps/i386/asm-syntax.h: Likewise.
69441         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
69442         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
69443         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
69444         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
69445         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
69446         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
69447         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
69448         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
69449         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
69450         * sysdeps/powerpc/sysdep.h: Likewise.
69451         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
69452         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
69454 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
69456         [BZ #411]
69457         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
69459 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
69461         * sysdeps/i386/sysdep.h: Include <features.h>.
69462         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
69463         version.
69465 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
69467         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
69468         Define.
69469         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
69470         LOAD_PIC_REG_STR.
69472 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
69474         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
69475         (SETUP_PIC_REG): Use GET_PC_THUNK.
69476         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
69477         macro.
69479 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
69481         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
69482         for non-PIC compilation.
69483         (SETUP_PIC_REG): Add .p2align directive.
69484         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
69485         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
69486         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
69487         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
69488         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
69489         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
69490         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
69491         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
69492         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
69493         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
69494         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
69495         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
69496         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
69497         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
69498         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
69499         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
69500         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
69501         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
69502         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
69503         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
69504         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
69505         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
69506         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
69507         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
69508         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
69509         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
69510         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
69511         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
69512         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
69513         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
69514         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
69515         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
69516         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
69517         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
69518         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
69519         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
69520         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
69521         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
69522         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
69523         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
69524         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
69526 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
69528         * math/tst-CMPLX.c: Include <stdio.h>.
69530 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
69532         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
69533         float.
69534         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
69535         * sysdeps/sparc/bits/mathdef.h: Likewise.
69537 2012-01-31  Marek Polacek  <polacek@redhat.com>
69539         * libio/libio.h: Don't define _PARAMS.
69540         * locale/programs/config.h: Don't define PARAMS.
69541         * stdlib/strtol_l.c: Likewise.
69542         (__strtol_l): Remove PARAMS from the prototype.
69544 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
69546         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
69547         names.  Just use the correct names.  Remove unnecessary wrapper
69548         functions.
69549         * malloc/arena.c: Likewise.
69550         * malloc/hooks.c: Likewise.
69552         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
69553         ARENA_TEST says not to.  Simplify test for creation of a new arena.
69554         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
69556 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
69558         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
69559         into tail calls.
69560         (update_get_addr): New function.
69561         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
69562         GET_ADDR_MODULE parameter.
69564 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
69566         * crypt/cert.c: Remove __STDC__ conditionals.
69567         * crypt/crypt-entry.c: Likewise.
69568         * crypt/crypt_util.c: Likewise.
69569         * libio/filedoalloc.c: Likewise.
69570         * libio/fileops.c: Likewise.
69571         * libio/genops.c: Likewise.
69572         * libio/iofclose.c: Likewise.
69573         * libio/iofdopen.c: Likewise.
69574         * libio/iofopen.c: Likewise.
69575         * libio/iofopen64.c: Likewise.
69576         * libio/iogetdelim.c: Likewise.
69577         * libio/iopopen.c: Likewise.
69578         * libio/obprintf.c: Likewise.
69579         * libio/oldfileops.c: Likewise.
69580         * libio/oldiofclose.c: Likewise.
69581         * libio/oldiofdopen.c: Likewise.
69582         * libio/oldiofopen.c: Likewise.
69583         * libio/oldiopopen.c: Likewise.
69584         * libio/wfiledoalloc.c: Likewise.
69585         * libio/wgenops.c: Likewise.
69586         * locale/programs/xmalloc.c: Likewise.
69587         * misc/syslog.c: Likewise.
69588         * stdio-common/xbug.c: Likewise.
69589         * string/memchr.c: Likewise.
69590         * string/memcmp.c: Likewise.
69591         * string/memrchr.c: Likewise.
69592         * string/rawmemchr.c: Likewise.
69593         * sysdeps/posix/getcwd.c: Likewise.
69594         * time/strftime_l.c: Likewise.
69596 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
69598         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
69599         * config.make.in (config-cflags-sse2avx): Define.
69600         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
69601         Fix typo.
69603 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
69605         * scripts/config.guess: Update from upstream config git repository.
69606         * scripts/config.sub: Likewise.
69608 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
69610         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
69611         (EM_NUM): Update.
69612         (R_TILEPRO_*, R_TILEGX_*): New macros.
69614         * scripts/firstversions.awk: Fix bug in version range handling.
69616         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
69618         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
69620         * include/sys/epoll.h: New file.
69621         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
69622         libc_hidden_def.
69624 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
69626         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
69627         Avoid unnecessary __WORDSIZE == 64 test.
69628         (fmaxf): Use VEX format if possible.
69629         (fmax): Likewise.
69630         (fminf): Likewise.
69631         (fmin): Likewise.
69633         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
69634         * math/math_private.h: Remove libc_fegetround* and
69635         libc_fesetround*.
69636         * sysdeps/i386/configure.in: Check for -msse2avx.
69637         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
69638         also if SSE2AVX is defined.
69639         Remove libc_fegetround* and libc_fesetround*.
69640         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
69641         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
69642         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
69643         of HAS_YMM_USABLE.
69644         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
69645         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
69646         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
69647         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
69648         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
69650         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
69652 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
69654         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
69655         size is not set.
69656         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
69658 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
69660         [BZ #13618]
69661         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
69662         relocation.
69663         * Makeconfig (libm): Define.
69664         * elf/Makefile: Add rules to build and run tst-relsort1.
69665         * elf/tst-relsort1.c: New file.
69666         * elf/tst-relsort1mod1.c: New file.
69667         * elf/tst-relsort1mod2.c: New file.
69669 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
69671         * math/s_ldexp.c: Remove __STDC__ conditionals.
69672         * math/s_ldexpf.c: Likewise.
69673         * math/s_ldexpl.c: Likewise.
69674         * math/s_nextafter.c: Likewise.
69675         * math/s_nexttowardf.c: Likewise.
69676         * math/s_significand.c: Likewise.
69677         * math/s_significandf.c: Likewise.
69678         * math/s_significandl.c: Likewise.
69679         * math/w_jnl.c: Likewise.
69680         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
69681         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
69682         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
69683         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
69684         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
69685         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
69686         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
69687         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
69688         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
69689         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
69690         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
69691         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
69692         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
69693         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
69694         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
69695         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
69696         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
69697         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
69698         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
69699         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
69700         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
69701         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
69702         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
69703         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
69704         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
69705         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
69706         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
69707         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
69708         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
69709         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
69710         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
69711         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
69712         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
69713         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
69714         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
69715         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
69716         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
69717         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
69718         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
69719         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
69720         * sysdeps/ieee754/k_standard.c: Likewise.
69721         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
69722         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
69723         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
69724         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
69725         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
69726         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
69727         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
69728         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
69729         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
69730         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
69731         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
69732         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
69733         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
69734         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
69735         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
69736         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
69737         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
69738         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
69739         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
69740         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
69741         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
69742         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
69743         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
69744         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
69745         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
69746         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
69747         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
69748         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
69749         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
69750         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
69751         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
69752         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
69753         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
69754         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
69755         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
69756         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
69757         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
69758         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
69759         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
69760         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
69761         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
69762         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
69763         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
69764         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
69765         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
69766         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
69767         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
69768         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
69769         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
69770         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
69771         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
69772         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
69773         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
69774         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
69775         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
69776         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
69777         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
69778         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
69779         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
69780         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
69781         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
69782         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
69783         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
69784         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
69785         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
69786         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
69787         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
69788         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
69789         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
69790         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
69791         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
69792         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
69793         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
69794         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
69795         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
69796         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
69797         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
69798         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
69799         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
69800         * sysdeps/ieee754/s_matherr.c: Likewise.
69801         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
69802         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
69803         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
69804         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
69806 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
69808         * crypt/md5.h: Remove __STDC__ conditionals.
69809         * libio/libioP.h: Likewise.
69810         * locale/programs/config.h: Likewise.
69811         * sysdeps/generic/sysdep.h: Likewise.
69812         * sysdeps/i386/asm-syntax.h: Likewise.
69813         * sysdeps/s390/asm-syntax.h: Likewise.
69814         * sysdeps/unix/sysdep.h: Likewise.
69815         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
69816         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
69818 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
69820         * libio/libio.h: Remove __STDC__ conditionals.
69821         * malloc/obstack.h: Likewise.
69822         * math/complex.h: Likewise.
69823         * math/math.h: Likewise.
69824         * sysdeps/generic/_G_config.h: Likewise.
69825         * sysdeps/gnu/_G_config.h: Likewise.
69826         * sysdeps/mach/hurd/_G_config.h: Likewise.
69827         * sysdeps/powerpc/bits/mathdef.h: Likewise.
69828         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
69829         * sysdeps/sparc/bits/mathdef.h: Likewise.
69831 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
69833         [BZ #13583]
69834         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
69835         Clean up HAS_* macros.
69836         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
69837         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
69838         possible.
69839         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
69840         HAS_AVX.
69841         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
69842         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
69843         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
69844         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
69845         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
69847 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
69849         * elf/tst-unique3.cc (gets): Remove declaration.
69850         * elf/tst-unique3lib.cc (gets): Likewise.
69851         * elf/tst-unique3lib2.cc (gets): Likewise.
69852         * elf/tst-unique4.cc (gets): Likewise.
69854 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
69856         * include/stdio.h: Add C++ protection.  Add gets declarations and
69857         definitions.
69858         * debug/tst-chk1.c: Don't declare gets here.
69859         * stdio-common/tst-gets.c: Likewise.
69861 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
69863         * posix/glob: Remove directory.
69865 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
69867         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
69869 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
69871         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
69872         of the non-standard EPFNOSUPPORT.
69874 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
69876         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
69877         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
69878         ANYWHERE set to 1 only on KERN_NO_SPACE error.
69880 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
69882         * wcsmbs/uchar.h: Test __STDC_VERSION__.
69884 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
69886         * nscd/aicache.c (addhstaiX): Do not cache negative results of
69887         transient errors.
69888         * nscd/grpcache.c (cache_addgr): Likewise.
69889         * nscd/hstcache.c (cache_addhst): Likewise.
69890         * nscd/initgrcache.c (addinitgroupsX): Likewise.
69891         * nscd/pwdcache.c (cache_addpw): Likewise.
69892         * nscd/servicescache.c (cache_addserv): Likewise.
69894 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
69896         * malloc/malloc.c: Various cleanups.
69897         * malloc/hooks.c: Likewise.
69899         * stdlib/Makefile (tests): Add bug-fmtmsg1.
69900         * stdlib/bug-fmtmsg1.c: New file.
69902         * stdlib/fmtmsg.c (init): Add missing unlock.
69903         Patch by Peng Haitao <penght@cn.fujitsu.com>.
69905 2012-01-12  Marek Polacek  <polacek@redhat.com>
69907         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
69908         and _GNU_SOURCE.
69910 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
69912         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
69913         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
69914         macro to ensure uniqueness of label name.
69915         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
69916         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
69918 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
69920         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
69922         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
69923         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
69924         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
69925         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
69927 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
69929         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
69931         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
69932         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
69933         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
69935         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
69937         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
69938         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
69939         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
69940         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
69942         * math/bits/math-finite.h: Add ldexp support.
69944 2012-01-10  Marek Polacek  <polacek@redhat.com>
69946         * locale/programs/localedef.h (show_archive_content): Add noreturn
69947         attribute.
69949 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
69951         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
69953 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
69955         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
69957         * io/Makefile (headers): Add bits/poll2.h.
69959 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
69961         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
69962         typo #include statement.
69964 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
69966         * include/sys/cdefs.h: Define __attribute_alloc_size.
69967         * catgets/gencat.c: Add alloc_size attribute and apply consistently
69968         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
69969         * elf/pldd.c: Likewise.
69970         * iconv/iconv_charmap.c: Likewise.
69971         * iconv/iconvconfig.c: Likewise.
69972         * iconv/strtab.c: Likewise.
69973         * locale/programs/locale.c: Likewise.
69974         * locale/programs/localedef.h: Likewise.
69975         * locale/programs/simple-hash.c: Likewise.
69976         * nscd/nscd.h: Likewise.
69977         * nss/makedb.c: Likewise.
69978         * sysdeps/generic/ldconfig.h: Likewise.
69979         * locale/programs/localedef.c: Remove xmalloc prototype.
69980         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
69982 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
69984         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
69985         appropriate.
69987 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
69989         * math/Makefile (tests): Add tst-CMPLX.
69990         * math/tst-CMPLX.c: New file.
69992         * math/complex.h (CMPLXL): Fix typo.
69994         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
69995         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
69996         GLIBC_2.16.
69997         * debug/tst-chk1.c: Add poll and ppoll tests.
69998         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
69999         * include/sys/poll.h: Add hidden proto for ppoll.
70000         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
70001         * sysdeps/mach/hurd/ppoll.c: Likewise.
70002         * io/ppoll.c: Likewise.
70003         * debug/poll_chk.c: New file.
70004         * debug/ppoll_chk.c: New file.
70005         * include/bits/poll2.h: New file.
70006         * io/bits/poll2.h: New file.
70008         [BZ #1350]
70009         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
70011         * configure.in: static is always set to yes.  Remove.
70012         * config.make.in: Don't set build-static.
70013         * Makeconfig: Remove use of build-static.
70014         * dlfcn/Makefile: Likewise.
70015         * elf/Makefile: Likewise.
70016         * math/Makefile: Likewise.
70017         * misc/Makefile: Likewise.
70018         * nptl/Makefile: Likewise.
70019         * sysdeps/mach/hurd/Makefile: Likewise.
70021         * configure.in: PWD_P is not used anymore.
70022         * config.make.in: Remove PWD_P entry.
70024         * configure.in: Remove last remnants of RANLIB.
70025         No need to check for signed size_t anymore.
70026         Don't set libc_commonpagesize and libc_relro_required here for Alpha
70027         and IA-64.
70028         Remove __builtin_expect test because we require at least gcc 3.4.
70029         * aclocal.m4: Likewise.
70031         * wcsmbs/mbrtoc16.c: Implement using towc function.
70032         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
70033         * wcsmbs/wcsmbsload.c: Likewise.
70034         * iconv/gconv_simple.c: Likewise.
70035         * iconv/gconv_int.h: Likewise.
70036         * iconv/gconv_builtin.h: Likewise.
70037         * iconv/iconv_prog.c: Remove CHAR16 handling.
70039         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
70041         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
70043         * configure.in: Remove --with-elf and --enable-bounded options.
70044         Dont set base_machine for ia64.  More non-ELF conditions removed.
70045         Remove testing and setting of leading underscore information.
70046         * config.make.in (build-bounded): Set to no.
70047         * config.h.in: Remove NO_UNDERSCORES entry.
70048         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
70049         them.
70050         * csu/start.c: Remove !NO_UNDERSCORE code.
70051         * locale/localeinfo.h: Likewise.
70052         * sysdeps/generic/machine-gmon.h: Likewise.
70053         * sysdeps/generic/sysdep.h: Likewise.
70054         * sysdeps/i386/sysdep.h: Likewise.
70055         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
70056         * sysdeps/mach/sysdep.h: Likewise.
70057         * sysdeps/s390/s390-32/sysdep.h: Likewise.
70058         * sysdeps/s390/s390-64/sysdep.h: Likewise.
70059         * sysdeps/sh/sysdep.h: Likewise.
70060         * sysdeps/sparc/sparc32/alloca.S: Likewise.
70061         * sysdeps/unix/i386/sysdep.S: Likewise.
70062         * sysdeps/unix/sparc/start.c: Likewise.
70063         * sysdeps/unix/sparc/sysdep.S: Likewise.
70064         * sysdeps/unix/sparc/sysdep.h: Likewise.
70065         * sysdeps/unix/start.c: Likewise.
70066         * sysdeps/unix/x86_64/sysdep.S: Likewise.
70067         * sysdeps/x86_64/sysdep.h: Likewise.
70069 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
70071         [BZ #13553]
70072         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
70073         for non-gcc.
70074         * argp/argp-fmtstream.h: Use const instead __const.
70075         * argp/argp.h: Likewise.
70076         * assert/assert.h: Likewise.
70077         * bits/fenv.h: Likewise.
70078         * bits/sched.h: Likewise.
70079         * bits/sigset.h: Likewise.
70080         * bits/sigthread.h: Likewise.
70081         * catgets/nl_types.h: Likewise.
70082         * conform/data/pthread.h-data: Likewise.
70083         * crypt/crypt-private.h: Likewise.
70084         * crypt/crypt.h: Likewise.
70085         * crypt/crypt_util.c: Likewise.
70086         * ctype/ctype.h: Likewise.
70087         * debug/execinfo.h: Likewise.
70088         * debug/mbsnrtowcs_chk.c: Likewise.
70089         * debug/mbsrtowcs_chk.c: Likewise.
70090         * debug/wcsnrtombs_chk.c: Likewise.
70091         * debug/wcsrtombs_chk.c: Likewise.
70092         * debug/wcstombs_chk.c: Likewise.
70093         * dirent/dirent.h: Likewise.
70094         * dlfcn/dlfcn.h: Likewise.
70095         * elf/neededtest4.c: Likewise.
70096         * grp/grp.h: Likewise.
70097         * gshadow/gshadow.h: Likewise.
70098         * iconv/gconv.h: Likewise.
70099         * iconv/gconv_int.h: Likewise.
70100         * iconv/gconv_simple.c: Likewise.
70101         * iconv/iconv.h: Likewise.
70102         * iconv/loop.c: Likewise.
70103         * iconv/skeleton.c: Likewise.
70104         * include/aio.h: Likewise.
70105         * include/aliases.h: Likewise.
70106         * include/argz.h: Likewise.
70107         * include/arpa/inet.h: Likewise.
70108         * include/assert.h: Likewise.
70109         * include/dirent.h: Likewise.
70110         * include/dlfcn.h: Likewise.
70111         * include/execinfo.h: Likewise.
70112         * include/fcntl.h: Likewise.
70113         * include/fenv.h: Likewise.
70114         * include/glob.h: Likewise.
70115         * include/grp.h: Likewise.
70116         * include/libintl.h: Likewise.
70117         * include/mntent.h: Likewise.
70118         * include/netdb.h: Likewise.
70119         * include/pwd.h: Likewise.
70120         * include/rpc/netdb.h: Likewise.
70121         * include/sched.h: Likewise.
70122         * include/search.h: Likewise.
70123         * include/shadow.h: Likewise.
70124         * include/signal.h: Likewise.
70125         * include/stdio.h: Likewise.
70126         * include/stdlib.h: Likewise.
70127         * include/string.h: Likewise.
70128         * include/sys/socket.h: Likewise.
70129         * include/sys/stat.h: Likewise.
70130         * include/sys/statfs.h: Likewise.
70131         * include/sys/statvfs.h: Likewise.
70132         * include/sys/syslog.h: Likewise.
70133         * include/sys/time.h: Likewise.
70134         * include/sys/uio.h: Likewise.
70135         * include/time.h: Likewise.
70136         * include/unistd.h: Likewise.
70137         * include/utmp.h: Likewise.
70138         * include/wchar.h: Likewise.
70139         * include/wctype.h: Likewise.
70140         * inet/aliases.h: Likewise.
70141         * inet/arpa/inet.h: Likewise.
70142         * inet/netinet/ether.h: Likewise.
70143         * inet/netinet/in.h: Likewise.
70144         * intl/libintl.h: Likewise.
70145         * io/bits/fcntl2.h: Likewise.
70146         * io/fcntl.h: Likewise.
70147         * io/ftw.h: Likewise.
70148         * io/sys/poll.h: Likewise.
70149         * io/sys/stat.h: Likewise.
70150         * io/sys/statfs.h: Likewise.
70151         * io/sys/statvfs.h: Likewise.
70152         * io/utime.h: Likewise.
70153         * libio/bits/stdio.h: Likewise.
70154         * libio/bits/stdio2.h: Likewise.
70155         * libio/libio.h: Likewise.
70156         * libio/libioP.h: Likewise.
70157         * libio/stdio.h: Likewise.
70158         * locale/lc-ctype.c: Likewise.
70159         * locale/locale.h: Likewise.
70160         * login/utmp.h: Likewise.
70161         * malloc/arena.c: Likewise.
70162         * malloc/malloc.c: Likewise.
70163         * malloc/malloc.h: Likewise.
70164         * malloc/mcheck.c: Likewise.
70165         * malloc/mtrace.c: Likewise.
70166         * math/bits/mathcalls.h: Likewise.
70167         * math/fenv.h: Likewise.
70168         * math/math_private.h: Likewise.
70169         * misc/bits/error.h: Likewise.
70170         * misc/bits/syslog.h: Likewise.
70171         * misc/err.h: Likewise.
70172         * misc/error.h: Likewise.
70173         * misc/fstab.h: Likewise.
70174         * misc/mntent.h: Likewise.
70175         * misc/regexp.h: Likewise.
70176         * misc/search.h: Likewise.
70177         * misc/sgtty.h: Likewise.
70178         * misc/sys/mman.h: Likewise.
70179         * misc/sys/syslog.h: Likewise.
70180         * misc/sys/uio.h: Likewise.
70181         * misc/sys/xattr.h: Likewise.
70182         * misc/ttyent.h: Likewise.
70183         * nis/rpcsvc/ypclnt.h: Likewise.
70184         * nss/nss.h: Likewise.
70185         * posix/bits/unistd.h: Likewise.
70186         * posix/fnmatch.h: Likewise.
70187         * posix/glob.h: Likewise.
70188         * posix/sched.h: Likewise.
70189         * posix/spawn.h: Likewise.
70190         * posix/sys/wait.h: Likewise.
70191         * posix/unistd.h: Likewise.
70192         * posix/wordexp.h: Likewise.
70193         * pwd/pwd.h: Likewise.
70194         * resolv/netdb.h: Likewise.
70195         * resource/sys/resource.h: Likewise.
70196         * rt/aio.h: Likewise.
70197         * rt/bits/mqueue2.h: Likewise.
70198         * rt/mqueue.h: Likewise.
70199         * shadow/shadow.h: Likewise.
70200         * signal/signal.h: Likewise.
70201         * socket/send.c: Likewise.
70202         * socket/sendto.c: Likewise.
70203         * socket/sys/socket.h: Likewise.
70204         * stdio-common/printf.h: Likewise.
70205         * stdlib/bits/stdlib.h: Likewise.
70206         * stdlib/fmtmsg.h: Likewise.
70207         * stdlib/monetary.h: Likewise.
70208         * stdlib/stdlib.h: Likewise.
70209         * stdlib/ucontext.h: Likewise.
70210         * streams/stropts.h: Likewise.
70211         * string/argz.h: Likewise.
70212         * string/bits/string2.h: Likewise.
70213         * string/string.h: Likewise.
70214         * string/strings.h: Likewise.
70215         * sunrpc/rpc/auth.h: Likewise.
70216         * sunrpc/rpc/auth_des.h: Likewise.
70217         * sunrpc/rpc/clnt.h: Likewise.
70218         * sunrpc/rpc/netdb.h: Likewise.
70219         * sunrpc/rpc/pmap_clnt.h: Likewise.
70220         * sunrpc/rpc/xdr.h: Likewise.
70221         * sysdeps/generic/inttypes.h: Likewise.
70222         * sysdeps/generic/net/if.h: Likewise.
70223         * sysdeps/generic/sys/swap.h: Likewise.
70224         * sysdeps/gnu/net/if.h: Likewise.
70225         * sysdeps/gnu/utmpx.h: Likewise.
70226         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
70227         * sysdeps/i386/i486/bits/string.h: Likewise.
70228         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
70229         * sysdeps/s390/bits/string.h: Likewise.
70230         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
70231         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
70232         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
70233         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
70234         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
70235         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
70236         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
70237         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
70238         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
70239         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
70240         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
70241         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
70242         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
70243         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
70244         * sysdeps/unix/sysv/linux/readv.c: Likewise.
70245         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
70246         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
70247         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
70248         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
70249         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
70250         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
70251         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
70252         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
70253         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
70254         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
70255         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
70256         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
70257         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
70258         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
70259         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
70260         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
70261         * sysvipc/sys/ipc.h: Likewise.
70262         * sysvipc/sys/msg.h: Likewise.
70263         * sysvipc/sys/sem.h: Likewise.
70264         * sysvipc/sys/shm.h: Likewise.
70265         * termios/termios.h: Likewise.
70266         * time/sys/time.h: Likewise.
70267         * time/time.h: Likewise.
70268         * wcsmbs/bits/wchar2.h: Likewise.
70269         * wcsmbs/uchar.h: Likewise.
70270         * wcsmbs/wchar.h: Likewise.
70271         * wctype/wctype.h: Likewise.
70273         [BZ #13551]
70274         * Makeconfig: Remove all but ELF support including AIX support.
70275         * Makerules: Likewise.
70276         * config.h.in: Likewise.
70277         * config.make.in: Likewise.
70278         * configure: Likewise.
70279         * configure.in: Likewise.
70280         * csu/Makefile: Likewise.
70281         * csu/version.c: Likewise.
70282         * debug/Makefile: Likewise.
70283         * dlfcn/Makefile: Likewise.
70284         * elf/Makefile: Likewise.
70285         * extra-lib.mk: Likewise.
70286         * iconv/Makefile: Likewise.
70287         * include/libc-symbols.h: Likewise.
70288         * include/shlib-compat.h: Likewise.
70289         * resolv/Makefile: Likewise.
70290         * resolv/res_libc.c: Likewise.
70291         * rt/Makefile: Likewise.
70292         * sysdeps/i386/asm-syntax.h: Likewise.
70293         * sysdeps/i386/sysdep.h: Likewise.
70294         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
70295         * sysdeps/mach/sysdep.h: Likewise.
70296         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
70297         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
70298         * sysdeps/s390/asm-syntax.h: Likewise.
70299         * sysdeps/s390/s390-32/sysdep.h: Likewise.
70300         * sysdeps/s390/s390-64/sysdep.h: Likewise.
70301         * sysdeps/sh/sysdep.h: Likewise.
70302         * sysdeps/unix/sparc/sysdep.h: Likewise.
70303         * sysdeps/wordsize-32/divdi3.c: Likewise.
70304         * sysdeps/x86_64/sysdep.h: Likewise.
70306         * argp/Versions: Remove _argp_unlock_xxx.
70308         [BZ #13559]
70309         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
70310         * abilist/libBrokenLocale.abilist: Likewise.
70311         * abilist/libanl.abilist: Likewise.
70312         * abilist/libc.abilist: Likewise.
70313         * abilist/libcrypt.abilist: Likewise.
70314         * abilist/libdl.abilist: Likewise.
70315         * abilist/libm.abilist: Likewise.
70316         * abilist/libnsl.abilist: Likewise.
70317         * abilist/libpthread.abilist: Likewise.
70318         * abilist/libresolv.abilist: Likewise.
70319         * abilist/librt.abilist: Likewise.
70320         * abilist/libthread_db.abilist: Likewise.
70321         * abilist/libutil.abilist: Likewise.
70322         * abilist/libnss_db.abilist: New file.
70324         * scripts/abilist.awk: Add support for indirect functions.
70326         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
70328         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
70330         * shlib-versions: Remove entries for ports architectures.
70332         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
70333         files in ports.
70334         * elf/stackguard-macros.h: Remove support for IA-64.
70335         * elf/tst-auditmod1.c: Likewise.
70336         * sysdeps/generic/ldsodefs.h: Likewise.
70338         * sysdeps/unix/sysv/linux/configure.in: Ports should define
70339         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
70340         configure files.
70342         [BZ #13552]
70343         * configure.in: Remove --enable-omitfp support.
70344         * FAQ.in: Adjust.
70345         * config.make.in: Likewise.
70346         * Makeconfig: Likewise.
70347         * manual/install.texi: Likewise.
70349         In case anyone cares, the IA-64 architecture could move to ports.
70350         * sysdeps/ia64/*: Removed.
70351         * sysdeps/unix/sysv/linux/ia64/*: Removed.
70352         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
70354         [BZ #13555]
70355         * configure.in: Remove entries for unsupported architectures.
70357         [BZ #13533]
70358         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
70359         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
70360         routines.
70361         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
70362         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
70363         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
70364         fall back to using wcrtomb.
70365         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
70366         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
70367         renaming.
70368         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
70369         * wcsmbs/tst-c16c32-1.c: New file.
70371         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
70372         local variable.
70374         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
70376         * elf/tst-unique3.cc: Add explicit declaration of gets.
70377         * elf/tst-unique3lib.cc: Likewise.
70378         * elf/tst-unique3lib2.cc: Likewise.
70379         * elf/tst-unique4.cc: Likewise.
70381         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
70383 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
70385         [BZ #13566]
70386         * assert/assert.h (static_assert): Don't define for C++.
70387         * libio/stdio.h (gets): Do declare for C++ <= C++11.
70388         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
70390 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
70392         * iconv/loop.c (single loop): Fix assertion in storing of
70393         remaining bytes.
70395         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
70397 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
70399         * posix/getconf.c: Update copyright year.
70400         * nss/getent.c: Likewise.
70401         * nss/makedb.c: Likewise.
70402         * iconv/iconvconfig.c: Likewise.
70403         * iconv/iconv_prog.c: Likewise.
70404         * elf/ldconfig.c: Likewise.
70405         * elf/pldd.c: Likewise.
70406         * elf/sotruss.ksh: Likewise.
70407         * catgets/gencat.c: Likewise.
70408         * csu/version.c: Likewise.
70409         * elf/ldd.bash.in: Likewise.
70410         * elf/sprof.c (print_version): Likewise.
70411         * locale/programs/locale.c: Likewise.
70412         * locale/programs/localedef.c: Likewise.
70413         * login/programs/pt_chown.c: Likewise.
70414         * nscd/nscd.c (print_version): Likewise.
70415         * debug/xtrace.sh: Likewise.
70416         * malloc/memusage.sh: Likewise.
70417         * malloc/mtrace.pl: Likewise.
70418         * debug/catchsegv.sh: Likewise.
70420 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
70422         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
70423         pure attribute.
70425 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
70427         [BZ #13533]
70428         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
70429         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
70430         transformations.
70431         * iconv/gconv_int.h: Likewise.
70432         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
70433         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
70434         from libc for GLIBC_2.16.
70435         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
70436         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
70437         * wcsmbs/uchar.h: Really define mbstate_t.
70438         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
70439         * wcsmbs/c16rtomb.c: New file.
70440         * wcsmbs/mbrtoc16.c: New file.
70441         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
70442         for C/POSIX locale.
70443         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
70444         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
70446         * wcsmbs/wchar.h: Add missing __restrict.
70448 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
70450         [BZ #13532]
70451         * time/Makefile (routines): Add timespec_get.
70452         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
70453         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
70454         timespec for ISO C11.
70455         * time/timespec_get.c: New file.
70456         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
70457         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
70459         [BZ #13531]
70460         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
70461         * stdlib/stdlib.h: Declare aligned_alloc.
70462         * Versions.def: Add GLIBC_2.16 for libc.
70463         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
70465         [BZ 13527]
70466         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
70467         ISO C11.
70469         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
70470         code.
70472         [BZ #13528]
70473         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
70475         [BZ #13529]
70476         * assert/assert.h (static_assert): Define.
70478         * version.h: Update for 2.16 development version.
70480         [BZ #13526]
70481         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
70482         _ISOC11_SOURCE.
70484         * version.h (RELEASE): Bump for 2.15 release.
70485         * include/features.h (__GLIBC_MINOR__): Bump to 15.
70487         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
70488         Patch by Marek Polacek <mpolacek@redhat.com>.
70490         * bits/byteswap.h: Protect long long constants with __extension__.
70491         * sysdeps/i386/bits/byteswap.h: Likewise.
70492         * sysdeps/ia64/bits/byteswap.h: Likewise.
70493         * sysdeps/s390/bits/byteswap.h: Likewise.
70494         * sysdeps/x86_64/bits/byteswap.h: Likewise.
70496 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
70498         [BZ #13540]
70499         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
70500         destination buffer.
70501         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
70503 2011-12-23  Marek Polacek  <polacek@redhat.com>
70505         * elf/dl-addr.c (determine_info): Add inline keyword.
70506         * elf/tst-auditmod4b.c (check_avx): Likewise.
70507         * elf/tst-auditmod6b.c (check_avx): Likewise.
70508         * elf/tst-auditmod6c.c (check_avx): Likewise.
70509         * elf/tst-auditmod7b.c (check_avx): Likewise.
70511 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
70513         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
70514         !__SSE_MATH__.
70516 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
70518         [BZ #13540]
70519         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
70520         processing for last bytes.
70522 2011-08-06  Bruno Haible  <bruno@clisp.org>
70524         [BZ #13061]
70525         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
70526         U+0385, not to U+1FEE.
70528         [BZ #13062]
70529         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
70530         entry for U+00A5 U+0301.
70532 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
70534         [BZ #13166]
70535         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
70536         buffer for the output is too small.
70538         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
70539         optimization.
70541         [BZ #13185]
70542         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
70543         SSE flags if possible.
70545 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
70547         [BZ #13540]
70548         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
70549         processing for last bytes.
70551 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
70553         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
70554         (syscall-list-default-options, syscall-list-default-condition)
70555         (syscall-list-includes): Define.
70556         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
70557         list of ABIs and options and #if conditions for each ABI.  Do not
70558         handle common syscalls between ABIs specially.
70559         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
70560         Remove.
70561         (syscall-list-variants, syscall-list-32bit-options)
70562         (syscall-list-32bit-condition, syscall-list-64bit-options)
70563         (syscall-list-64bit-condition): Define.
70564         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
70565         (syscall-list-variants, syscall-list-32bit-options)
70566         (syscall-list-32bit-condition, syscall-list-64bit-options)
70567         (syscall-list-64bit-condition): Define.
70568         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
70569         Remove.
70570         (syscall-list-variants, syscall-list-32bit-options)
70571         (syscall-list-32bit-condition, syscall-list-64bit-options)
70572         (syscall-list-64bit-condition): Define.
70573         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
70574         Remove.
70575         (syscall-list-variants, syscall-list-32bit-options)
70576         (syscall-list-32bit-condition, syscall-list-64bit-options)
70577         (syscall-list-64bit-condition): Define.
70579 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
70581         * locale/iso-639.def: Add brx entry.
70583         [BZ #13328]
70584         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
70585         Proposed by Mariusz_Cukr <marcukr@op.pl>.
70587         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
70588         __feraiseexcept_renamed.
70590 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
70592         [BZ #13538]
70593         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
70594         EPOLLET with unsigned values.
70595         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
70596         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
70598         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
70599         to large cancellation.
70600         * math/s_cacoshf.c: Likewise.
70601         * math/s_cacoshl.c: Likewise.
70603 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
70605         [BZ #13305]
70606         [BZ #12786]
70607         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
70608         * math/s_cacoshf.c: Likewise.
70609         * math/s_cacoshl.c: Likewise.
70611 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
70613         [BZ #13439]
70614         * iconv/gconv.h: Define __GCONV_SWAP.
70615         * iconvdata/unicode.c: The swap bit must be stored in __flags.
70616         * iconvdata/utf-16.c: Likewise.
70617         * iconvdata/utf-32.c: Likewise.
70619 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
70621         [BZ #13524]
70622         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
70623         numerator after shifting it by one limb.
70625 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
70627         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
70628         under [__USE_EXTERN_INLINES].
70630 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
70632         [BZ #13446]
70633         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
70635 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
70637         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
70638         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
70639         optimized code.
70640         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
70641         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
70642         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
70643         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
70644         for strncasecmp/strncasecmp_l compilation.
70645         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
70646         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
70648 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
70650         [BZ #13484]
70651         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
70652         of __asm__.
70654 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
70656         [BZ #13506]
70657         * time/tzfile.c (__tzfile_read): Check values from file header.
70659 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
70661         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
70662         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
70663         * powerpc/powerpc32/dl-start.S: Likewise.
70664         * powerpc/powerpc32/elf/start.S: Likewise.
70665         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
70666         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
70667         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
70668         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
70669         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
70670         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
70671         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
70672         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
70673         * powerpc/powerpc32/fpu/s_round.S: Likewise.
70674         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
70675         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
70676         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
70677         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
70678         * powerpc/powerpc32/memset.S: Likewise.
70679         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
70680         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
70681         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
70682         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
70683         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
70684         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
70685         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
70686         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
70687         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
70688         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
70689         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
70690         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
70691         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
70693 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
70695         * math/libm-test.inc: Added more nearbyint tests.
70696         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
70697         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
70698         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
70699         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
70701 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
70703         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
70704         FD_CLOEXEC.
70706 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
70708         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
70709         Add wcscpy-ssse3 wcscpy-c.
70710         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
70711         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
70712         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
70713         * sysdeps/x86_64/wcschr.S: New file.
70714         * sysdeps/x86_64/wcsrchr.S: New file.
70715         * string/test-strcmp.c: Remove checking of wcscmp function for
70716         wrong alignments.
70717         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
70718         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
70719         wcsrchr-sse2 wcsrchr-c.
70720         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
70721         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
70722         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
70723         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
70724         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
70725         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
70726         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
70727         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
70728         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
70729         * wcsmbc/wcschr.c (WCSCHR): New macro.
70731 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
70733         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
70734         * wcsmbs/test-wcsrchr.c: New file.
70735         * string/test-strrchr.c: Add wcsrchr support.
70736         (WIDE): New macro.
70737         * wcsmbs/test-wcscpy.c: New file.
70738         * string/test-strcpy.c: Add wcscpy support.
70739         (WIDE): New macro.
70741 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
70743         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
70744         the inner loop.
70746 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
70748         [BZ #13472]
70749         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
70751 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
70753         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
70754         Minor optimizations.
70756         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
70757         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
70758         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
70760 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
70762         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
70763         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
70764         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
70765         for gcc to avoid warnings.
70766         * inet/Makefile (tests): Add tst-checks.
70767         * inet/tst-checks.c: New file.
70769         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
70770         warning.
70772         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
70773         __wmemcmp_sse2.
70775         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
70776         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
70778         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
70780 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
70782         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
70783         problem.
70785         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
70787 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
70789         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
70790         conditional on GCC version.
70791         (__arch_compare_and_exchange_val_8_acq)
70792         (__arch_compare_and_exchange_val_16_acq)
70793         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
70794         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
70795         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
70797 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
70799         * sysdeps/sh/backtrace.c: New file.
70801 2011-12-02  Andreas Schwab  <schwab@redhat.com>
70803         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
70804         parenthesis.
70806 2011-12-01  Andreas Schwab  <schwab@redhat.com>
70808         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
70809         falling back to utime.
70811 2011-11-30  Andreas Schwab  <schwab@redhat.com>
70813         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
70814         expectations for float.
70816 2011-11-29  Andreas Schwab  <schwab@redhat.com>
70818         * locale/weight.h (findidx): Add parameter len.
70819         * locale/weightwc.h (findidx): Likewise.
70820         * posix/fnmatch_loop.c (FCT): Adjust caller.
70821         * posix/regcomp.c (build_equiv_class): Likewise.
70822         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
70823         * posix/regexec.c (check_node_accept_bytes): Likewise.
70824         * string/strcoll_l.c (STRCOLL): Likewise.
70825         * string/strxfrm_l.c (STRXFRM): Likewise.
70827 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
70829         * Makefile.in: Remove CVSOPT handling.
70830         * configure.in: Remove use of AC_REVISION.
70831         * iconvdata/Makefile (distribute): No need to filter out CVS.
70832         * scripts/list-sources.sh: Remove CVS, subversion and monotone
70833         handling.
70835 2011-11-16  Andreas Schwab  <schwab@redhat.com>
70837         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
70838         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
70839         [USE_AS_STRNCASECMP_L]: Likewise.
70840         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
70841         NO_TLS_DIRECT_SEG_REFS.
70842         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
70843         Fix argument offsets for non-PIC.
70844         [USE_AS_STRNCASECMP_L]: Likewise.
70845         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
70846         NO_TLS_DIRECT_SEG_REFS.
70848 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
70850         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
70851         O_CLOEXEC.
70852         * locale/loadlocale.c (_nl_load_locale): Likewise.
70854 2011-11-15  Andreas Schwab  <schwab@redhat.com>
70856         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
70857         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
70858         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
70859         (SYSCALL_GETTIME): Set errno on error.
70861         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
70862         count references to noai6ai_cached.
70864 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
70866         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
70868         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
70869         FD_CLOEXEC for /proc/self/maps.
70871         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
70872         FD_CLOEXEC for /proc/meminfo.
70874         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
70875         gai.conf.
70877         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
70878         FD_CLOEXEC for given file.
70880         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
70882         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
70883         FD_CLOEXEC for /etc/hosts.
70884         (_gethtent): Likewise.
70886         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
70888         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
70889         cancellation and set FD_CLOEXEC for /etc/netgroup.
70891         * nss/nss_files/files-key.c (search): Don't allow cancellation when
70892         reading /etc/publickey.
70894         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
70895         allow cancellation when reading /etc/group.
70897         * nss/nss_files/files-alias.c (internal_setent): Don't allow
70898         cancellation.
70899         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
70901         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
70902         when using data file.
70904         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
70906         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
70907         (write_nis_obj): Use "c" and "e" in fopen.
70909         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
70911         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
70913         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
70915         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
70917         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
70918         locale.alias.
70920         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
70922         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
70924         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
70926         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
70927         file parsing and set FD_CLOEXEC.
70929 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
70931         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
70933 2011-11-14  Andreas Schwab  <schwab@redhat.com>
70935         * malloc/arena.c (arena_get2): Don't call reused_arena when
70936         _int_new_arena failed.
70938 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
70940         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
70941         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
70942         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
70943         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
70944         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
70945         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
70946         to compile strcasecmp and strncasecmp.
70947         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
70948         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
70950         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
70952 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
70954         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
70955         locale-defines.sym to gen-as-const-headers.
70956         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
70957         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
70958         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
70959         to compile strcasecmp and strncasecmp.
70960         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
70961         strcasecmp_l and strncasecmp_l.
70962         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
70963         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
70964         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
70965         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
70966         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
70967         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
70968         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
70969         * sysdeps/i386/i686/multiarch/strncase.S: New file.
70970         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
70971         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
70972         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
70974 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
70976         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
70977         result of SYSDEP_GETTIME_CPU to retval.
70978         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
70979         parameter list to macro.  Remove trailing semicolon.  Adjust users.
70981         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
70982         variable.
70984         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
70985         mantissa words.
70986         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
70988         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
70989         from unused variable.
70991         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
70992         DWARF definitions.
70993         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
70994         for assembling.
70996         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
70997         over namespaces.
70999         * sunrpc/rpc_prot.c (rejected): Fix case value.
71001         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
71002         unsigned long long int to avoid warnings in shift.
71004         * posix/regex_internal.c (re_string_reconstruct): Actually use result
71005         of use of trans.
71006         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
71007         variable tmp.
71009         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
71010         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
71011         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
71013         * nis/nis_table.c (nis_list): Use variable of correct type for
71014         result of __follow_path call.
71016 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
71018         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
71019         of math functions ceil, trunc, floor, round, and sqrt, when
71020         avaliable on the platform.
71021         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
71022         name clash.
71023         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
71024         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
71025         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
71027 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
71029         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
71030         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
71032 2011-11-11  Roland McGrath  <roland@hack.frob.com>
71034         * include/unistd.h: Fix __readlink return type.
71035         Reported by Chris Metcalf <cmetcalf@tilera.com>.
71037 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
71039         * stdlib/ucontext.h: Undo last change for makecontext.
71041 2011-11-11  Andreas Schwab  <schwab@redhat.com>
71043         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
71045         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
71046         * setjmp/setjmp.h: Mark functions as non-leaf.
71047         * setjmp/bits/setjmp2.h: Likewise.
71048         * stdlib/ucontext.h: Likewise.
71050 2011-11-10  Andreas Schwab  <schwab@redhat.com>
71052         * malloc/arena.c (_int_new_arena): Don't increment narenas.
71053         (reused_arena): Don't check arena limit.
71054         (arena_get2): Atomically check arena limit.
71056 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
71058         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
71059         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
71061         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
71062         instructions.
71064 2011-11-07  Andreas Schwab  <schwab@redhat.com>
71066         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
71067         handler when locking.
71069         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
71070         Fix size of allocated buffer.
71072 2011-11-04  Andreas Schwab  <schwab@redhat.com>
71074         [BZ #10103]
71075         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
71076         declarations for long double functions.
71077         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
71079         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
71081 2011-11-03  Andreas Schwab  <schwab@redhat.com>
71083         * nscd/nscd.c (main): Don't start AVC thread until credentials are
71084         installed.
71086         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
71087         is disabled.
71089 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
71091         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
71093 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
71095         * include/alloca.h (stackinfo_alloca_round): Define.
71096         (extend_alloca): Use it.
71097         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
71098         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
71099         here.
71101         * scripts/check-local-headers.sh: Ignore libaudit.h.
71103         * nscd/Makefile (extra-objs): Make recursively expanded.
71105 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
71107         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
71108         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
71110         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
71111         * posix/tst-rfc3484-2.c: Likewise.
71112         * posix/tst-rfc3484-3.c: Likewise.
71114         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
71115         process_vm_writev.
71116         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
71117         process_vm_writev.
71118         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
71119         process_vm_writev from libc using GLIBC_2.15 version.
71121         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
71123 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
71125         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
71126         stack usage.
71128 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
71130         [BZ #13367]
71131         * nss/getent.c (initgroups_keys): Show error message in case no group
71132         names are given.
71134         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
71135         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
71136         __bump_nl_timestamp.
71137         * nscd/connections (nscd_init): When host database is served open
71138         netlink socket and request notification about configuration changes.
71139         (main_loop_poll): Track netlink file descriptor and bump timestamp
71140         in case data becomes available.
71141         (main_loop_epoll): Likewise.
71142         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
71143         (database_pers_head): Add extra_data fileds.
71144         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
71145         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
71146         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
71147         Adjust caller.
71148         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
71149         in6ai data, call __free_in6ai.
71150         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
71151         Add -DHAVE_NETLINK.
71152         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
71153         interface information.  Reuse previous data if netlink timestamp
71154         is not changed.
71155         (__bump_nl_timestamp): New function.
71156         (__free_in6ai): New function.
71158 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
71160         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
71161         close_not_cancel_no_status here.
71162         (__check_pf): Reorganize code a bit to not call close twice if OOM.
71164 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
71166         [BZ #13276]
71167         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
71168         return value.
71170         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
71171         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
71172         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
71174 2011-07-03  Andreas Jaeger  <aj@suse.de>
71176         [BZ #10709]
71177         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
71178         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
71179         * math/libm-test.inc (sin_test): Add test case.
71181 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
71183         [BZ #13337]
71184         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
71185         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
71187         * elf/chroot_canon.c (chroot_canon): Cleanups.
71189         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
71191         [BZ #13335]
71192         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
71193         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
71195         * string/test-strchr.c: Make usable for strchrnul testing.
71196         * string/test-strchrnul.c: New file.
71197         * string/Makefile (strop-tests): Add strchrnul.
71199         * po/it.po: Update from translation team.
71200         * po/es.po: Likewise.
71202 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
71204         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
71205         the three constants needed as parameters.  Drop the others.
71206         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
71207         __m128i_strloadu_tolower.
71208         Create and initialize variable zero and use it in all the places
71209         where _mm_setzero_si128 was used.
71211         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
71212         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
71213         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
71214         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
71215         anymore.
71216         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
71217         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
71218         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
71219         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
71220         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
71221         __mpranred, __mptan.
71222         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
71223         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
71224         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
71225         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
71226         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
71227         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
71228         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
71229         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
71230         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
71232 2011-10-28  Andreas Schwab  <schwab@redhat.com>
71234         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
71235         redefine if SHARED.
71236         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
71238         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
71239         wide char related routines to wcsmbs subdir.
71241 2011-10-27  Andreas Schwab  <schwab@redhat.com>
71243         [BZ #13344]
71244         * misc/sys/cdefs.h (__THROWNL): Define.
71245         * posix/unistd.h: Use __THREADNL instead of __THREAD
71246         for memory synchronization functions.
71248 2011-10-26  Roland McGrath  <roland@hack.frob.com>
71250         [BZ #13349]
71251         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
71252         doesn't exist.
71253         * manual/stdio.texi (Obstack Streams): Node removed.
71255 2011-10-26  Andreas Schwab  <schwab@redhat.com>
71257         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
71258         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
71259         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
71261         * math/math_private.h (math_force_eval): Allow non-addressable
71262         arguments.
71263         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
71265 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
71267         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
71268         file is not needed.
71270         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
71271         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
71272         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
71273         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
71274         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
71275         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
71276         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
71277         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
71278         Add AVX variants.
71279         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
71280         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
71281         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
71282         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
71283         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
71284         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
71285         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
71286         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
71287         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
71288         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
71289         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
71290         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
71291         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
71292         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
71293         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
71294         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
71295         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
71296         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
71297         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
71299         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
71300         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
71302         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
71303         place.  Use VEX encoding when compiling for AVX.
71305 2011-10-25  Andreas Schwab  <schwab@redhat.com>
71307         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
71308         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
71310         * string/test-strchr.c (do_test): Don't generate NUL bytes.
71312 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
71314         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
71315         useless if() expression.
71316         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
71317         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
71318         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
71319         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
71320         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
71321         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
71322         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
71323         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
71324         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
71325         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
71326         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
71327         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
71328         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
71329         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
71330         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
71331         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
71332         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
71333         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
71334         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
71336         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
71338 2011-10-25  Andreas Schwab  <schwab@redhat.com>
71340         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
71341         condition.
71342         * elf/dl-fini.c (_dl_sort_fini): Likewise.
71344 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
71346         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
71347         .text section.  Avoid duplicate constants.
71348         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
71349         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
71350         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
71351         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
71352         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
71353         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
71354         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
71355         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
71356         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
71357         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
71358         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
71359         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
71360         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
71361         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
71362         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
71363         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
71364         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
71365         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
71366         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
71367         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
71368         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
71369         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
71370         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
71371         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
71372         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
71373         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
71374         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
71375         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
71376         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
71377         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
71378         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
71379         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
71380         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
71381         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
71382         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
71383         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
71384         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
71385         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
71386         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
71387         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
71388         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
71389         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
71390         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
71391         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
71392         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
71394 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
71396         * sysdeps/x86_64/dla.h: Move to ...
71397         * sysdeps/x86_64/fpu/dla.h: ...here.
71398         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
71399         situations.  Use __builtin_fma only for gcc 4.6 and up.
71401         * config.make.in: Add have-mfma4 entry.
71402         * configure.in: Substitute libc_cv_cc_fma4.
71403         * math/Makefile (dbl-only-routines): Add sincostab.
71404         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
71405         Use __sincostab not sincos.
71406         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
71407         name is a macro.
71408         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
71409         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
71410         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
71411         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
71412         using __copysign.
71413         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
71414         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
71415         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
71416         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
71417         and __inv.
71418         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
71419         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
71420         __copysign.
71421         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
71422         define aliases when function name is a macro.
71423         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
71424         sysdeps/ieee754/dbl-64/sincos.tbl.
71425         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
71426         fma4-enabled routines.
71427         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
71428         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
71429         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
71430         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
71431         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
71432         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
71433         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
71434         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
71435         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
71436         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
71437         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
71438         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
71439         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
71440         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
71441         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
71442         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
71443         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
71444         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
71445         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
71446         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
71447         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
71448         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
71449         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
71450         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
71451         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
71452         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
71453         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
71454         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
71455         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
71456         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
71458         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
71459         rename.
71460         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
71461         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
71462         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
71463         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
71464         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
71465         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
71466         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
71467         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
71469 2011-10-24  Andreas Schwab  <schwab@redhat.com>
71471         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
71473 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
71475         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
71477         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
71478         prediction.
71479         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
71481         * string/strnlen.c: Don't define STRNLEN, reverse logic.
71482         Remove unused variable magic_bits.
71483         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
71485         * string/strnlen.c: Define and use STRNLEN macro.
71486         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
71487         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
71488         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
71489         * wcsmbs/wcslen.c: Define and use WCSLEN.
71490         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
71491         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
71492         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
71493         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
71494         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
71495         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
71496         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
71498 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
71500         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
71501         strnlen-sse2-no-bsf.
71502         Rename strlen-no-bsf to strlen-sse2-no-bsf.
71503         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
71504         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
71505         Add strnlen support.
71506         (USE_AS_STRNLEN): New macro.
71507         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
71508         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
71509         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
71510         * sysdeps/x86_64/wcslen.S: New file.
71512 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
71514         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
71515         XMM-moves are used for copying on small sizes.
71517 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
71519         * wcsmbs/Makefile (strop-tests): Add wcschr.
71520         * wcsmbs/test-wcschr.c: New file.
71521         * string/test-strchr.c: Update.
71522         Add wcschr support.
71523         (WIDE): New macro.
71525 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
71527         * wcsmbs/Makefile (strop-tests): Add wcslen.
71528         * wcsmbs/test-wcslen.c: New file.
71529         * string/test-strlen.c: Update.
71530         Add wcslen support.
71531         (WIDE): New macro.
71533 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
71535         * po/it.po: Update from translation team.
71537 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
71539         * sysdeps/x86_64/wcscmp.S: Update.
71540         Fix wrong comparison semantics.
71541         wcscmp shall use signed comparison not unsigned.
71542         Don't use substraction to avoid overflow bug.
71543         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
71544         * wcsmbc/wcscmp.c: Likewise.
71545         * string/test-strcmp.c: Likewise.
71546         Add new tests to check cases with negative values.
71548 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
71550         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
71551         * sysdeps/x86_64/dla.h: ...here.  New file.
71552         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
71553         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
71554         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
71555         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
71556         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
71557         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
71558         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
71559         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
71560         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
71562 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
71564         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
71565         __ynl_finite aliases.
71567 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
71569         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
71571         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
71572         define DLA_FMA.
71573         [DLA_FMA] (EMULV): Use DLA_FMA.
71574         [DLA_FMA] (MUL12): Use EMULV.
71575         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
71576         that are not needed.
71577         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
71578         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
71579         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
71580         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
71581         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
71582         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
71583         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
71585 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
71587         * math/s_nan.c: Undef __nan.
71588         * math/s_nanf.c: Undef __nanf.
71589         * math/s_nanl.c: Undef __nanl.
71590         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
71591         "math_private.h".
71593 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
71595         * math/s_catan.c: Add branch predictions.
71596         * math/s_catanf.c: Likewise.
71597         * math/s_catanh.c: Likewise.
71598         * math/s_catanhf.c: Likewise.
71599         * math/s_catanhl.c: Likewise.
71600         * math/s_catanl.c: Likewise.
71601         * math/s_cexp.c: Likewise.
71602         * math/s_cexpf.c: Likewise.
71603         * math/s_cexpl.c: Likewise.
71604         * math/s_clog.c: Likewise.
71605         * math/s_clog10.c: Likewise.
71606         * math/s_clog10f.c: Likewise.
71607         * math/s_clog10l.c: Likewise.
71608         * math/s_clogf.c: Likewise.
71609         * math/s_clogl.c: Likewise.
71610         * math/s_csqrt.c: Likewise.
71611         * math/s_csqrtf.c: Likewise.
71612         * math/s_csqrtl.c: Likewise.
71613         * math/s_ctanf.c: Likewise.
71614         * math/s_ctanh.c: Likewise.
71615         * math/s_ctanhf.c: Likewise.
71616         * math/s_ctanhl.c: Likewise.
71617         * math/s_ctanl.c: Likewise.
71619         * math/math_private.h: Define __nan, __nanf, __nanl.
71620         * math/s_cacosh.c: Include <math_private.h>.
71621         * math/s_cacoshl.c: Likewise.
71622         * math/s_casinh.c: Likewise.
71623         * math/s_casinhf.c: Likewise.
71624         * math/s_casinhl.c: Likewise.
71625         * math/s_ccos.c: Rely entire on ccosh.
71626         * math/s_ccosf.c: Rely entire on ccoshf.
71627         * math/s_ccosl.c: Rely entirely on ccoshl.
71628         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
71629         Remove tests for FE_INVALID.
71630         * math/s_ccoshf.c: Likewise.
71631         * math/s_ccoshl.c: Likewise.
71632         * math/s_csin.c: Likewise.
71633         * math/s_csinf.c: Likewise.
71634         * math/s_csinh.c Likewise.
71635         * math/s_csinhf.c: Likewise.
71636         * math/s_csinhl.c: Likewise.
71637         * math/s_csinl.c: Likewise.
71638         * math/s_ctan.c: Likewise.
71639         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
71640         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
71641         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
71643 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
71645         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
71646         compilation problems.
71648         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
71649         __builtin_expect.
71651 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
71653         * sysdeps/i386/configure.in: Test for -mfma4 option.
71654         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
71655         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
71656         COMMON_CPUID_INDEX_80000001.
71657         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
71658         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
71659         use it if FMA3 is not supported.
71660         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
71662         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
71663         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
71665 2011-10-20  Andreas Schwab  <schwab@redhat.com>
71667         [BZ #12892]
71668         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
71669         it would create a cycle with a link time dependency.
71671 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
71673         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
71674         instruction.
71675         * string/Makefile (strop-tests): Add rawmemchr.
71676         * string/test-rawmemchr.c: New file.
71678         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
71679         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
71680         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
71681         when compiling str{,n}casecmp and when AVX is available.  Hook up
71682         new optimized code in initializers.
71684 2011-10-19  Andreas Schwab  <schwab@redhat.com>
71686         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
71687         __feraiseexcept instead of feraiseexcept.
71689 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
71691         * math/math_private.h: Define defaults for libc_fetestexcept and
71692         libc_feupdateenv.
71693         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
71694         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
71695         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
71696         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
71697         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
71698         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
71699         libc_fetestexcept and libc_feupdateenv.
71701         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
71702         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
71703         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
71704         * sysdeps/x86_64/fpu/math_private.h: Define special version of
71705         libc_feholdexcept_setround.
71707         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
71708         Add s_nearbyint-c and s_nearbyintf-c.
71709         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
71710         nearbyintf inlines.
71711         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
71712         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
71713         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
71714         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
71716         * math/math_private.h: Define defaults for libc_fegetround,
71717         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
71718         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
71719         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
71720         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
71721         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
71722         standard functions.
71723         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
71724         Remove comments and hacks for old compiler versions.
71725         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
71726         libc_fegetround, libc_fesetround, libc_feholdexcept, and
71727         libc_feholdexceptl.
71729 2011-10-18  Andreas Schwab  <schwab@redhat.com>
71731         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
71732         (__feraiseexcept_renamed): Add __NTH.
71733         (feraiseexcept): Add __NTH.  Rename local variables to fix
71734         namespace violations.
71736 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
71738         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
71740         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
71742         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
71743         recently added interfaces.
71744         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
71746         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
71747         about macro parameter expansion.
71749         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
71750         __NO_MATH_INLINES is defined.  Cleanups.
71752         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
71753         and __floorf is target has SSE4.1.
71754         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
71755         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
71756         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
71757         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
71759         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
71760         name.
71761         (floorf): Likewise.
71763         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
71765 2011-10-17  Andreas Schwab  <schwab@redhat.com>
71767         * misc/sys/cdefs.h: Fix last change.
71769         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
71770         database lookup.
71772 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
71774         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
71776         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
71777         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
71778         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
71779         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
71780         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
71781         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
71782         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
71783         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
71784         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
71785         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
71786         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
71787         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
71788         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
71789         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
71790         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
71791         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
71792         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
71793         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
71794         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
71795         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
71796         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
71797         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
71799         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
71800         ceil, ceilf, floor, floorf.
71802         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
71803         Perform IRELATIVE relocations last.
71805         * elf/do-rel.h: Add another parameter nrelative, replacing the
71806         local variable with the same name.  Change name of the function
71807         to end in Rel or Rela (uppercase).
71808         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
71809         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
71810         elf_dynamic_do_##reloc function.
71812 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
71814         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
71815         is sufficient, at least on modern CPUs.
71817         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
71819         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
71820         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
71822         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
71823         __expl_finite.
71824         * math/bits/math-finite.h: Add entries for exp.
71825         * math/e_expl.c: Add __*_finite alias.
71826         * sysdeps/i386/fpu/e_exp.S: Likewise.
71827         * sysdeps/i386/fpu/e_expf.S: Likewise.
71828         * sysdeps/i386/fpu/e_expl.c: Likewise.
71829         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
71830         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
71831         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
71832         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
71833         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
71834         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
71835         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
71837         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
71838         is sufficient, at least on modern CPUs.
71840         * ctype/ctype-info.c (__ctype_init): Define.
71841         * include/ctype.h (__ctype_init): Declare.
71842         (__ctype_b_loc): The variable is always initialized.
71843         (__ctype_toupper_loc): Likewise.
71844         (__ctype_tolower_loc): Likewise.
71845         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
71846         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
71848 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
71850         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
71852         * configure.in: Also look in $cxxmachine/include for C++ system
71853         headers.
71855 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
71857         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
71858         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
71859         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
71860         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
71861         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
71862         (USE_AS_WMEMCMP): New macro.
71863         Fixing indents.
71864         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
71865         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
71866         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
71867         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
71868         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
71869         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
71870         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
71871         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
71872         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
71873         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
71874         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
71875         (USE_AS_WMEMCMP): New macro.
71876         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
71877         * sysdeps/string/test-memcmp.c: Update.
71878         Fix simple_wmemcmp.
71879         Add new tests.
71880         * wcsmbs/wmemcmp.c: Update.
71881         (WMEMCMP): New macro.
71882         Fix overflow bug.
71884 2011-10-12  Andreas Jaeger  <aj@suse.de>
71886         [BZ #13268]
71887         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
71889 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
71891         * libio/iofwide.c (do_length): Avoid warning.
71893         * ctype/ctype.h (__isctype_f): Add missing __THROW.
71895 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
71897         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
71899         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
71900         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
71901         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
71902         * sysdeps/i386/i686/fpu/e_log.S: New file.
71903         * sysdeps/i386/i686/fpu/e_logf.S: New file.
71904         * sysdeps/i386/i686/fpu/e_logl.S: New file.
71906         * ctype/ctype.h: Add support for inlined isXXX functions when
71907         compiling C++ code.
71909 2011-10-14  Andreas Schwab  <schwab@redhat.com>
71911         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
71913         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
71915 2011-10-13  Roland McGrath  <roland@hack.frob.com>
71917         [BZ #13291]
71918         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
71920 2011-10-13  Andreas Schwab  <schwab@redhat.com>
71922         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
71923         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
71924         feraiseexcept.
71926         * sysdeps/x86_64/memrchr.S: Check for zero size.
71928         * string/stratcliff.c: Add memrchr tests.
71930 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
71932         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
71933         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
71934         rawmemchr-sse2 rawmemchr-sse2-bsf.
71935         * sysdeps/i386/i686/multiarch/memchr.S: New file.
71936         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
71937         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
71938         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
71939         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
71940         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
71941         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
71942         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
71943         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
71944         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
71945         * string/memrchr.c (MEMRCHR): New macro.
71947 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
71949         Add integration with gcc's -ffinite-math-only and optimize wrapper
71950         functions in libm.
71951         * Versions.def: Define GLIBC_2.15 version for libm.
71952         * math/Makefile (headers): Add bits/math-finite.h.
71953         * math/bits/math-finite.h: New file.
71954         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
71955         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
71956         * math/e_acoshl.c: Add __*_finite alias.
71957         * math/e_acosl.c: Likewise.
71958         * math/e_asinl.c: Likewise.
71959         * math/e_atan2l.c: Likewise.
71960         * math/e_atanhl.c: Likewise.
71961         * math/e_coshl.c: Likewise.
71962         * math/e_exp10.c: Likewise.
71963         * math/e_exp10f.c: Likewise.
71964         * math/e_exp10l.c: Likewise.
71965         * math/e_exp2l.c: Likewise.
71966         * math/e_fmodl.c: Likewise.
71967         * math/e_gammal_r.c: Likewise.
71968         * math/e_hypotl.c: Likewise.
71969         * math/e_j0l.c: Likewise.
71970         * math/e_j1l.c: Likewise.
71971         * math/e_jnl.c: Likewise.
71972         * math/e_lgammal_r.c: Likewise.
71973         * math/e_log10l.c: Likewise.
71974         * math/e_log2l.c: Likewise.
71975         * math/e_logl.c: Likewise.
71976         * math/e_powl.c: Likewise.
71977         * math/e_sinhl.c: Likewise.
71978         * math/e_sqrtl.c: Likewise.
71979         * math/e_scalb.c: Completely rewritten and optimized.
71980         * math/e_scalbf.c: Likewise.
71981         * math/e_scalbl.c: Likewise.
71982         * math/w_acos.c: Likewise.
71983         * math/w_acosf.c: Likewise.
71984         * math/w_acosl.c: Likewise.
71985         * math/w_acosh.c: Likewise.
71986         * math/w_acoshf.c: Likewise.
71987         * math/w_acoshl.c: Likewise.
71988         * math/w_asin.c: Likewise.
71989         * math/w_asinf.c: Likewise.
71990         * math/w_asinl.c: Likewise.
71991         * math/w_atan2.c: Likewise.
71992         * math/w_atan2f.c: Likewise.
71993         * math/w_atan2l.c: Likewise.
71994         * math/w_atanh.c: Likewise.
71995         * math/w_atanhf.c: Likewise.
71996         * math/w_atanhl.c: Likewise.
71997         * math/w_exp10.c: Likewise.
71998         * math/w_exp10f.c: Likewise.
71999         * math/w_exp10l.c: Likewise.
72000         * math/w_fmod.c: Likewise.
72001         * math/w_fmodf.c: Likewise.
72002         * math/w_fmodl.c: Likewise.
72003         * math/w_j0.c: Likewise.
72004         * math/w_j0f.c: Likewise.
72005         * math/w_j0l.c: Likewise.
72006         * math/w_j1.c: Likewise.
72007         * math/w_j1f.c: Likewise.
72008         * math/w_j1l.c: Likewise.
72009         * math/w_jn.c: Likewise.
72010         * math/w_jnf.c: Likewise.
72011         * math/w_log.c: Likewise.
72012         * math/w_logf.c: Likewise.
72013         * math/w_logl.c: Likewise.
72014         * math/w_log10.c: Likewise.
72015         * math/w_log10f.c: Likewise.
72016         * math/w_log10l.c: Likewise.
72017         * math/w_log2.c: Likewise.
72018         * math/w_log2f.c: Likewise.
72019         * math/w_log2l.c: Likewise.
72020         * math/w_pow.c: Likewise.
72021         * math/w_powf.c: Likewise.
72022         * math/w_powl.c: Likewise.
72023         * math/w_remainder.c: Likewise.
72024         * math/w_remainderf.c: Likewise.
72025         * math/w_remainderl.c: Likewise.
72026         * math/w_scalb.c: Likewise.
72027         * math/w_scalbf.c: Likewise.
72028         * math/w_scalbl.c: Likewise.
72029         * math/w_sqrt.c: Likewise.
72030         * math/w_sqrtf.c: Likewise.
72031         * math/w_sqrtl.c: Likewise.
72032         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
72033         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
72034         used.
72035         * math/math_private.h: Declare __kernel_standard_f.
72036         * math/w_cosh.c: Remove cruft and optimize a bit.
72037         * math/w_coshf.c: Likewise.
72038         * math/w_coshl.c: Likewise.
72039         * math/w_exp2.c: Likewise.
72040         * math/w_exp2f.c: Likewise.
72041         * math/w_exp2l.c: Likewise.
72042         * math/w_hypot.c: Likewise.
72043         * math/w_hypotf.c: Likewise.
72044         * math/w_hypotl.c: Likewise.
72045         * math/w_lgamma.c: Likewise.
72046         * math/w_lgamma_r.c: Likewise.
72047         * math/w_lgammaf.c: Likewise.
72048         * math/w_lgammaf_r.c: Likewise.
72049         * math/w_lgammal.c: Likewise.
72050         * math/w_lgammal_r.c: Likewise.
72051         * math/w_sinh.c: Likewise.
72052         * math/w_sinhf.c: Likewise.
72053         * math/w_sinhl.c: Likewise.
72054         * math/w_tgamma.c: Likewise.
72055         * math/w_tgammaf.c: Likewise.
72056         * math/w_tgammal.c: Likewise.
72057         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
72058         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
72059         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
72060         Minor optimizations.  Pretty printing.  Remove cruft.
72061         * sysdeps/i386/fpu/e_acosf.S: Likewise.
72062         * sysdeps/i386/fpu/e_acosh.S: Likewise.
72063         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
72064         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
72065         * sysdeps/i386/fpu/e_acosl.c: Likewise.
72066         * sysdeps/i386/fpu/e_asin.S: Likewise.
72067         * sysdeps/i386/fpu/e_asinf.S: Likewise.
72068         * sysdeps/i386/fpu/e_atan2.S: Likewise.
72069         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
72070         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
72071         * sysdeps/i386/fpu/e_atanh.S: Likewise.
72072         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
72073         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
72074         * sysdeps/i386/fpu/e_exp10.S: Likewise.
72075         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
72076         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
72077         * sysdeps/i386/fpu/e_exp2.S: Likewise.
72078         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
72079         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
72080         * sysdeps/i386/fpu/e_fmod.S: Likewise.
72081         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
72082         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
72083         * sysdeps/i386/fpu/e_hypot.S: Likewise.
72084         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
72085         * sysdeps/i386/fpu/e_log.S: Likewise.
72086         * sysdeps/i386/fpu/e_log10.S: Likewise.
72087         * sysdeps/i386/fpu/e_log10f.S: Likewise.
72088         * sysdeps/i386/fpu/e_log10l.S: Likewise.
72089         * sysdeps/i386/fpu/e_log2.S: Likewise.
72090         * sysdeps/i386/fpu/e_log2f.S: Likewise.
72091         * sysdeps/i386/fpu/e_log2l.S: Likewise.
72092         * sysdeps/i386/fpu/e_logf.S: Likewise.
72093         * sysdeps/i386/fpu/e_logl.S: Likewise.
72094         * sysdeps/i386/fpu/e_pow.S: Likewise.
72095         * sysdeps/i386/fpu/e_powf.S: Likewise.
72096         * sysdeps/i386/fpu/e_powl.S: Likewise.
72097         * sysdeps/i386/fpu/e_remainder.S: Likewise.
72098         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
72099         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
72100         * sysdeps/i386/fpu/e_scalb.S: Likewise.
72101         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
72102         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
72103         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
72104         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
72105         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
72106         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
72107         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
72108         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
72109         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
72110         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
72111         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
72112         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
72113         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
72114         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
72115         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
72116         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
72117         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
72118         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
72119         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
72120         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
72121         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
72122         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
72123         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
72124         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
72125         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
72126         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
72127         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
72128         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
72129         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
72130         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
72131         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
72132         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
72133         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
72134         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
72135         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
72136         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
72137         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
72138         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
72139         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
72140         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
72141         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
72142         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
72143         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
72144         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
72145         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
72146         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
72147         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
72148         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
72149         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
72150         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
72151         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
72152         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
72153         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
72154         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
72155         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
72156         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
72157         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
72158         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
72159         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
72160         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
72161         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
72162         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
72163         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
72164         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
72165         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
72166         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
72167         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
72168         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
72169         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
72170         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
72171         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
72172         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
72173         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
72174         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
72175         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
72176         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
72177         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
72178         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
72179         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
72180         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
72181         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
72182         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
72183         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
72184         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
72185         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
72186         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
72187         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
72188         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
72189         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
72190         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
72191         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
72192         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
72193         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
72194         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
72195         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
72196         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
72197         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
72198         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
72199         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
72200         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
72201         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
72202         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
72203         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
72204         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
72205         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
72206         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
72207         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
72208         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
72209         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
72210         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
72211         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
72212         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
72213         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
72214         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
72215         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
72216         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
72217         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
72218         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
72219         (__isnanf): Likewise.
72220         (__isinf_ns): Likewise.
72221         (__isinf_nsf): Likewise.
72222         (__finite): Likewise.
72223         (__finitef): Likewise.
72224         (__ieee754_sqrt): Define as macro.
72225         (__ieee754_sqrtf): Define as macro.
72226         (__ieee754_sqrtl): Define as macro.
72227         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
72228         inlined copy.
72229         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
72230         __FINITE_MATH_ONLY__ consistent.
72231         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
72233 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
72235         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
72236         of rawmemchr.
72238         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
72240 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
72242         * po/ja.po: Update from translation team.
72244 2011-10-08  Roland McGrath  <roland@hack.frob.com>
72246         * locale/programs/locarchive.c (prepare_address_space): New function.
72247         (create_archive, enlarge_archive, open_archive): Use it.
72249         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
72250         inside [SHARED], where it is used.
72252         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
72254         * nss/getent.c (netgroup_keys): Remove unused variable.
72255         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
72257 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
72259         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
72260         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
72261         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
72262         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
72263         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
72264         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
72265         * math/Makefile (libm-calls): Add s_isinf_ns.
72266         * math/divtc3.c: Use __isinf_nsl instead of isinf.
72267         * math/multc3.c: Likewise.
72268         * math/s_casin.c: Likewise.
72269         * math/s_casinf.c: Likewise.
72270         * math/s_casinl.c: Likewise.
72271         * math/s_ccos.c: Likewise.
72272         * math/s_ccosf.c: Likewise.
72273         * math/s_ccosl.c: Likewise.
72274         * math/s_ctan.c: Likewise.
72275         * math/s_ctanf.c: Likewise.
72276         * math/s_ctanh.c: Likewise.
72277         * math/s_ctanhf.c: Likewise.
72278         * math/s_ctanhl.c: Likewise.
72279         * math/s_ctanl.c: Likewise.
72280         * math/w_fmod.c: Likewise.
72281         * math/w_fmodf.c: Likewise.
72282         * math/w_fmodl.c: Likewise.
72283         * math/w_remainder.c: Likewise.
72284         * math/w_remainderf.c: Likewise.
72285         * math/w_remainderl.c: Likewise.
72286         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
72287         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
72288         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
72289         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
72290         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
72291         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
72292         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
72293         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
72295         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
72296         of the number.
72297         * stdio-common/printf_fphex.c: Likewise.
72298         * stdio-common/printf_size.c: Likewise.
72300         * math/e_exp10.c: Include math_private.h using <...> not "...".
72301         * math/e_exp10f.c: Likewise.
72302         * math/e_exp10l.c: Likewise.
72303         * math/e_exp2l.c: Likewise.
72304         * math/e_j0l.c: Likewise.
72305         * math/e_j1l.c: Likewise.
72306         * math/e_jnl.c: Likewise.
72307         * math/e_lgammal_r.c: Likewise.
72308         * math/e_rem_pio2l.c: Likewise.
72309         * math/e_scalb.c: Likewise.
72310         * math/e_scalbf.c: Likewise.
72311         * math/e_scalbl.c: Likewise.
72312         * math/k_cosl.c: Likewise.
72313         * math/k_sinl.c: Likewise.
72314         * math/k_tanl.c: Likewise.
72315         * math/s_cacoshf.c: Likewise.
72316         * math/s_catan.c: Likewise.
72317         * math/s_catanf.c: Likewise.
72318         * math/s_catanh.c: Likewise.
72319         * math/s_catanhf.c: Likewise.
72320         * math/s_catanhl.c: Likewise.
72321         * math/s_catanl.c: Likewise.
72322         * math/s_ccosh.c: Likewise.
72323         * math/s_ccoshf.c: Likewise.
72324         * math/s_ccoshl.c: Likewise.
72325         * math/s_cexp.c: Likewise.
72326         * math/s_cexpf.c: Likewise.
72327         * math/s_cexpl.c: Likewise.
72328         * math/s_clog.c: Likewise.
72329         * math/s_clog10.c: Likewise.
72330         * math/s_clog10f.c: Likewise.
72331         * math/s_clog10l.c: Likewise.
72332         * math/s_clogf.c: Likewise.
72333         * math/s_clogl.c: Likewise.
72334         * math/s_csin.c: Likewise.
72335         * math/s_csinf.c: Likewise.
72336         * math/s_csinh.c: Likewise.
72337         * math/s_csinhf.c: Likewise.
72338         * math/s_csinhl.c: Likewise.
72339         * math/s_csinl.c: Likewise.
72340         * math/s_csqrt.c: Likewise.
72341         * math/s_csqrtf.c: Likewise.
72342         * math/s_csqrtl.c: Likewise.
72343         * math/s_ctan.c: Likewise.
72344         * math/s_ctanf.c: Likewise.
72345         * math/s_ctanh.c: Likewise.
72346         * math/s_ctanhf.c: Likewise.
72347         * math/s_ctanhl.c: Likewise.
72348         * math/s_ctanl.c: Likewise.
72349         * math/s_ldexp.c: Likewise.
72350         * math/s_ldexpf.c: Likewise.
72351         * math/s_ldexpl.c: Likewise.
72352         * math/s_significand.c: Likewise.
72353         * math/s_significandf.c: Likewise.
72354         * math/s_significandl.c: Likewise.
72355         * math/w_acos.c: Likewise.
72356         * math/w_acosf.c: Likewise.
72357         * math/w_acosh.c: Likewise.
72358         * math/w_acoshf.c: Likewise.
72359         * math/w_acoshl.c: Likewise.
72360         * math/w_acosl.c: Likewise.
72361         * math/w_asin.c: Likewise.
72362         * math/w_asinf.c: Likewise.
72363         * math/w_asinl.c: Likewise.
72364         * math/w_atan2.c: Likewise.
72365         * math/w_atan2f.c: Likewise.
72366         * math/w_atan2l.c: Likewise.
72367         * math/w_atanh.c: Likewise.
72368         * math/w_atanhf.c: Likewise.
72369         * math/w_atanhl.c: Likewise.
72370         * math/w_cosh.c: Likewise.
72371         * math/w_coshf.c: Likewise.
72372         * math/w_coshl.c: Likewise.
72373         * math/w_dremf.c: Likewise.
72374         * math/w_exp10.c: Likewise.
72375         * math/w_exp10f.c: Likewise.
72376         * math/w_exp10l.c: Likewise.
72377         * math/w_exp2.c: Likewise.
72378         * math/w_exp2f.c: Likewise.
72379         * math/w_fmod.c: Likewise.
72380         * math/w_fmodf.c: Likewise.
72381         * math/w_fmodl.c: Likewise.
72382         * math/w_hypot.c: Likewise.
72383         * math/w_hypotf.c: Likewise.
72384         * math/w_hypotl.c: Likewise.
72385         * math/w_j0.c: Likewise.
72386         * math/w_j0f.c: Likewise.
72387         * math/w_j0l.c: Likewise.
72388         * math/w_j1.c: Likewise.
72389         * math/w_j1f.c: Likewise.
72390         * math/w_j1l.c: Likewise.
72391         * math/w_jn.c: Likewise.
72392         * math/w_jnf.c: Likewise.
72393         * math/w_jnl.c: Likewise.
72394         * math/w_lgamma.c: Likewise.
72395         * math/w_lgamma_r.c: Likewise.
72396         * math/w_lgammaf.c: Likewise.
72397         * math/w_lgammaf_r.c: Likewise.
72398         * math/w_lgammal.c: Likewise.
72399         * math/w_lgammal_r.c: Likewise.
72400         * math/w_log.c: Likewise.
72401         * math/w_log10.c: Likewise.
72402         * math/w_log10f.c: Likewise.
72403         * math/w_log10l.c: Likewise.
72404         * math/w_log2.c: Likewise.
72405         * math/w_log2f.c: Likewise.
72406         * math/w_log2l.c: Likewise.
72407         * math/w_logf.c: Likewise.
72408         * math/w_logl.c: Likewise.
72409         * math/w_pow.c: Likewise.
72410         * math/w_powf.c: Likewise.
72411         * math/w_powl.c: Likewise.
72412         * math/w_remainder.c: Likewise.
72413         * math/w_remainderf.c: Likewise.
72414         * math/w_remainderl.c: Likewise.
72415         * math/w_scalb.c: Likewise.
72416         * math/w_scalbf.c: Likewise.
72417         * math/w_scalbl.c: Likewise.
72418         * math/w_sinh.c: Likewise.
72419         * math/w_sinhf.c: Likewise.
72420         * math/w_sinhl.c: Likewise.
72421         * math/w_sqrt.c: Likewise.
72422         * math/w_sqrtf.c: Likewise.
72423         * math/w_sqrtl.c: Likewise.
72424         * math/w_tgamma.c: Likewise.
72425         * math/w_tgammaf.c: Likewise.
72426         * math/w_tgammal.c: Likewise.
72428         * po/ja.po: Update from translation team.
72430 2011-09-29  Andreas Jaeger  <aj@suse.de>
72432         [BZ #13179]
72433         * sunrpc/netname.c (netname2host): Fix logic.
72435         [BZ #6779]
72436         [BZ #6783]
72437         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
72438         correctly.
72439         * math/w_remainder.c (__remainder): Likewise.
72440         * math/w_remainderf.c (__remainderf): Likewise.
72441         * math/libm-test.inc (remainder_test): Add test cases.
72443 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
72445         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
72446         sdiv_qrnnd.
72448 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
72450         * string/test-memcmp.c: Avoid unncessary #defines.
72451         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
72453 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
72455         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
72456         Use new sse2 version for core i3 - i7 as it's faster
72457         than sse42 version.
72458         (bit_Prefer_PMINUB_for_stringop): New.
72459         * sysdeps/x86_64/rawmemchr.S: Update.
72460         Replace with faster SSE2 version.
72461         * sysdeps/x86_64/memrchr.S: New file.
72462         * sysdeps/x86_64/memchr.S: Update.
72463         Replace with faster SSE2 version.
72465 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
72467         * elf/dl-load.c (lose): Add cast to avoid warning.
72469 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
72471         * po/ca.po: Update from translation team.
72473         * inet/getnetgrent_r.c: Hook up nscd.
72474         * nscd/Makefile (routines): Add nscd_netgroup.
72475         (nscd-modules): Add netgroupcache.
72476         (CFLAGS-netgroupcache.c): Define.
72477         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
72478         (cache_search): Add const to second parameter.
72479         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
72480         INNETGR.
72481         (dbs): Add netgrdb entry.
72482         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
72483         (verify_persistent_db): Handle netgrdb.
72484         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
72485         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
72486         GETFDNETGR.
72487         (netgroup_response_header): Define.
72488         (innetgroup_response_header): Define.
72489         (datahead): Add netgroup_response_header and innetgroup_response_header
72490         elements.
72491         * nscd/nscd.conf: Add entries for netgroup cache.
72492         * nscd/nscd.h (dbtype): Add netgrdb.
72493         (_PATH_NSCD_NETGROUP_DB): Define.
72494         (netgroup_iov_disabled): Declare.
72495         (xmalloc, xcalloc, xrealloc): Move declarations here.
72496         (cache_search): Adjust prototype.
72497         Add netgroup-related prototypes.
72498         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
72499         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
72500         (__nscd_innetgr): Declare.
72501         * nscd/selinux.c (perms): Use access_vector_t as element type and
72502         add netgroup-related initializers.
72503         * nscd/netgroupcache.c: New file.
72504         * nscd/nscd_netgroup.c: New file.
72505         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
72506         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
72507         For four parameters use innetgr.
72508         * nss/nss_files/files-init.c: Add definition and callback for netgr.
72509         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
72510         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
72511         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
72513         * nscd/connections.c (register_traced_file): Don't register file
72514         for disabled databases.
72516 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
72518         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
72520         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
72521         from tree and freeing node.
72523 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
72525         * nss/nsswitch.c (__nss_database_lookup): Handle
72526         nss_parse_service_list out of memory case.
72528 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
72530         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
72531         out of memory case.
72533 2011-10-04  Andreas Schwab  <schwab@redhat.com>
72535         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
72536         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
72537         pass it down.
72538         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
72539         elf_machine_rela, elf_machine_lazy_rel.
72540         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
72541         (ELF_DYNAMIC_DO_REL): Likewise.
72542         (ELF_DYNAMIC_DO_RELA): Likewise.
72543         (ELF_DYNAMIC_RELOCATE): Likewise.
72544         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
72545         to ELF_DYNAMIC_DO_REL.
72546         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
72547         (dl_main): In trace mode always set __RTLD_NOIFUNC.
72548         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
72549         elf_machine_rela.
72550         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
72551         skip_ifunc, don't call ifunc function if non-zero.
72552         (elf_machine_rela): Likewise.
72553         (elf_machine_lazy_rel): Likewise.
72554         (elf_machine_lazy_rela): Likewise.
72555         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
72556         (elf_machine_lazy_rel): Likewise.
72557         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
72558         Likewise.
72559         (elf_machine_lazy_rel): Likewise.
72560         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
72561         Likewise.
72562         (elf_machine_lazy_rel): Likewise.
72563         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
72564         (elf_machine_lazy_rel): Likewise.
72565         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
72566         (elf_machine_lazy_rel): Likewise.
72567         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
72568         (elf_machine_lazy_rel): Likewise.
72569         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
72570         (elf_machine_lazy_rel): Likewise.
72571         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
72572         (elf_machine_lazy_rel): Likewise.
72573         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
72574         (elf_machine_lazy_rel): Likewise.
72576 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
72578         * nss/nss_files/files-init.c (_nss_files_init): Use static
72579         initialization for all the *_traced_file variables.
72581 2011-09-28  Andreas Schwab  <schwab@redhat.com>
72583         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
72585 2011-09-27  Roland McGrath  <roland@hack.frob.com>
72587         [BZ #13226]
72588         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
72590 2011-09-27  Andreas Schwab  <schwab@redhat.com>
72592         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
72593         Reread the line before reparsing it.
72595 2011-09-26  Andreas Schwab  <schwab@redhat.com>
72597         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
72599 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
72600             Maxim Kuvyrkov  <maxim@codesourcery.com>
72601             Joseph Myers  <joseph@codesourcery.com>
72603         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
72604         if needed for __stack_chk_guard.
72606 2011-09-19  Roland McGrath  <roland@hack.frob.com>
72608         * sysdeps/posix/spawni.c (script_execute): Always define it.
72609         It will be optimized away if unused.
72610         (maybe_script_execute): New function.
72611         (__spawni): Call it.
72613         * Makerules: Don't include tls.make.
72614         (config-tls): Always set to thread.
72615         * tls.make.c: File removed.
72617 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
72619         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
72620         * config.make.in (CPPFLAGS-config): New substituted variable.
72622 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
72624         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
72626         [BZ #13192]
72627         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
72628         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
72630 2011-09-15  Roland McGrath  <roland@hack.frob.com>
72632         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
72633         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
72634         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
72635         (CALL_FAIL): Likewise.
72636         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
72637         (CALL_FAIL): Macro removed.
72638         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
72640 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
72642         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
72643         for __FINITE_MATH_ONLY__ == 1.
72645 2011-09-15  Andreas Schwab  <schwab@redhat.com>
72647         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
72648         __ieee754_sqrt instead of sqrt.
72649         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
72650         __ieee754_sqrtf instead of sqrtf.
72651         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
72652         __floorf instead of floorf.
72653         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
72654         __floorf, __truncf instead of floorf, truncf.
72656 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
72658         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
72660         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
72661         __extern_always_inline.
72662         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
72663         32-bit.
72665 2011-09-14  Andreas Schwab  <schwab@redhat.com>
72667         * elf/rtld.c (dl_main): Also relocate in dependency order when
72668         doing symbol dependency testing.
72670 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
72672         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
72673         Always define `refsym'.
72675 2011-09-13  Andreas Schwab  <schwab@redhat.com>
72677         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
72678         (__FD_ELT): Renamed from __FDELT.
72679         * misc/bits/select2.h (__FD_ELT): Likewise.
72680         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
72681         __FD_MASK instead of __FDELT, __FDMASK.
72682         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
72683         Likewise.
72684         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
72685         Likewise.
72687         * elf/Makefile (gen-ldd): Fix pattern.
72689         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
72690         (init_tls): Likewise.
72692 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
72694         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
72696 2011-09-12  Andreas Schwab  <schwab@redhat.com>
72698         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
72699         `struct cmsghdr *' instead of `void *'.
72700         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
72701         Likewise.
72703 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
72705         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
72706         if non-absolute.
72707         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
72708         ldd_rewrite_script.
72710 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
72712         * configure.in: Remove --with-tls option.
72713         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
72714         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
72715         out in case it is missing.
72716         * sysdeps/ia64/elf/configure.in: Likewise.
72717         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
72718         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
72719         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
72720         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
72721         * sysdeps/sh/elf/configure.in: Likewise.
72722         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
72723         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
72724         * sysdeps/x86_64/elf/configure.in: Likewise.
72725         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
72726         * sysdeps/mach/hurd/tls.h: Likewise.
72728         [BZ #13067]
72729         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
72731         [BZ #13090]
72732         * configure.in: Fix use of AC_INIT.
72734         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
72736 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
72738         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
72739         __set_errno.
72740         * malloc/hooks.c: Likewise.
72742         [BZ #11929]
72743         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
72744         variables statically.
72745         (narenas): Initialize.
72746         (list_lock): Initialize.
72747         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
72748         initializtion of main_arena and list_lock.  Small cleanups.
72749         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
72750         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
72751         Add initializers to main_arena and mp_.
72752         (malloc_state): Remove pagesize member.  Change all users to use
72753         GLRO(dl_pagesize).
72755         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
72756         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
72757         is always initialized.
72759         * malloc/malloc.c: Removed unused configurations and dead code.
72760         * malloc/arena.c: Likewise.
72761         * malloc/hooks.c: Likewise.
72762         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
72764         * include/tls.h: Removed.  USE___THREAD must always be defined.
72765         * bits/libc-tsd.h: Don't handle !USE___THREAD.
72766         * elf/dl-libc.c: Likewise.
72767         * elf/dl-tsd.c: Likewise.
72768         * include/errno.h: Likewise.
72769         * include/netdb.h: Likewise.
72770         * include/resolv.h: Likewise.
72771         * inet/herrno-loc.c: Likewise.
72772         * inet/herrno.c: Likewise.
72773         * malloc/arena.c: Likewise.
72774         * malloc/hooks.c: Likewise.
72775         * malloc/malloc.c: Likewise.
72776         * resolv/res-state.c: Likewise.
72777         * resolv/res_libc.c: Likewise.
72778         * sysdeps/i386/dl-machine.h: Likewise.
72779         * sysdeps/ia64/dl-machine.h: Likewise.
72780         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
72781         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
72782         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
72783         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
72784         * sysdeps/sh/dl-machine.h: Likewise.
72785         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
72786         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
72787         * sysdeps/unix/i386/sysdep.S: Likewise.
72788         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
72789         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
72790         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
72791         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
72792         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
72793         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
72794         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
72795         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
72796         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
72797         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
72798         * sysdeps/unix/x86_64/sysdep.S: Likewise.
72799         * sysdeps/x86_64/dl-machine.h: Likewise.
72800         * tls.make.c: Likewise.
72802         * configure.in: Remove --with-__thread option.  Make tests for
72803         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
72804         tls_model attribute fail if no support is available.  Remove
72805         USE_IN_LIBIO.
72806         * Makeconfig: Adjust for dropped configure option.  All features are
72807         now mandatory.
72808         * Makerules: Likewise.
72809         * Versions.def: Likewise.
72810         * argp/argp-fmtstream.c: Likewise.
72811         * argp/argp-fmtstream.h: Likewise.
72812         * argp/argp-help.c: Likewise.
72813         * assert/assert.c: Likewise.
72814         * config.h.in: Likewise.
72815         * config.make.in: Likewise.
72816         * configure: Likewise.
72817         * configure.in: Likewise.
72818         * csu/Versions: Likewise.
72819         * csu/init.c: Likewise.
72820         * elf/tst-audit2.c: Likewise.
72821         * elf/tst-tls10.c: Likewise.
72822         * elf/tst-tls10.h: Likewise.
72823         * elf/tst-tls11.c: Likewise.
72824         * elf/tst-tls12.c: Likewise.
72825         * elf/tst-tls14.c: Likewise.
72826         * elf/tst-tlsmod11.c: Likewise.
72827         * elf/tst-tlsmod12.c: Likewise.
72828         * elf/tst-tlsmod13.c: Likewise.
72829         * elf/tst-tlsmod13a.c: Likewise.
72830         * elf/tst-tlsmod14a.c: Likewise.
72831         * elf/tst-tlsmod15b.c: Likewise.
72832         * elf/tst-tlsmod16a.c: Likewise.
72833         * elf/tst-tlsmod16b.c: Likewise.
72834         * elf/tst-tlsmod7.c: Likewise.
72835         * elf/tst-tlsmod8.c: Likewise.
72836         * elf/tst-tlsmod9.c: Likewise.
72837         * gmon/gmon.c: Likewise.
72838         * grp/fgetgrent_r.c: Likewise.
72839         * grp/putgrent.c: Likewise.
72840         * hurd/fopenport.c: Likewise.
72841         * include/libc-symbols.h: Likewise.
72842         * include/tls.h: Likewise.
72843         * intl/gettextP.h: Likewise.
72844         * intl/loadinfo.h: Likewise.
72845         * locale/global-locale.c: Likewise.
72846         * locale/localeinfo.h: Likewise.
72847         * mach/devstream.c: Likewise.
72848         * malloc/arena.c: Likewise.
72849         * malloc/set-freeres.c: Likewise.
72850         * misc/err.c: Likewise.
72851         * misc/getttyent.c: Likewise.
72852         * misc/mntent_r.c: Likewise.
72853         * posix/getopt.c: Likewise.
72854         * posix/wordexp.c: Likewise.
72855         * pwd/fgetpwent_r.c: Likewise.
72856         * resolv/Versions: Likewise.
72857         * resolv/res_hconf.c: Likewise.
72858         * shadow/fgetspent_r.c: Likewise.
72859         * shadow/putspent.c: Likewise.
72860         * stdio-common/printf_fphex.c: Likewise.
72861         * stdio-common/tmpfile.c: Likewise.
72862         * stdlib/abort.c: Likewise.
72863         * stdlib/fmtmsg.c: Likewise.
72864         * sunrpc/auth_unix.c: Likewise.
72865         * sunrpc/clnt_perr.c: Likewise.
72866         * sunrpc/clnt_tcp.c: Likewise.
72867         * sunrpc/clnt_udp.c: Likewise.
72868         * sunrpc/clnt_unix.c: Likewise.
72869         * sunrpc/openchild.c: Likewise.
72870         * sunrpc/svc_simple.c: Likewise.
72871         * sunrpc/svc_tcp.c: Likewise.
72872         * sunrpc/svc_udp.c: Likewise.
72873         * sunrpc/svc_unix.c: Likewise.
72874         * sunrpc/xdr.c: Likewise.
72875         * sunrpc/xdr_array.c: Likewise.
72876         * sunrpc/xdr_rec.c: Likewise.
72877         * sunrpc/xdr_ref.c: Likewise.
72878         * sunrpc/xdr_stdio.c: Likewise.
72880 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
72882         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
72884 2011-07-03  Andreas Jaeger  <aj@suse.de>
72886         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
72887         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
72888         regenerate with gen-libm-tests.pl.
72890 2010-05-12  Petr Baudis  <pasky@suse.cz>
72892         [BZ #11589]
72893         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
72894         around j0() zero points by switching to j1().
72895         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
72896         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
72897         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
72898         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
72900 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
72902         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
72903         instead of 0.
72904         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
72905         instead of 0.
72906         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
72907         Patch in part by Pavel Roskin <proski@gnu.org>.
72909         [BZ #13138]
72910         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
72911         realloc.
72912         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
72913         Free memory block if necessary.
72915         [BZ #12847]
72916         * libio/genops.c (INTDEF): For string streams the _lock pointer can
72917         be NULL.  Don't lock in this case.
72919 2011-09-09  Roland McGrath  <roland@hack.frob.com>
72921         * elf/elf.h (ELFOSABI_GNU): New macro.
72922         (ELFOSABI_LINUX): Define to that.
72924 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
72926         * string/strncat.c (strncat): Undef the symbol in case it has been
72927         defined in bits/string.h.
72929 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
72931         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
72933         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
72934         link map.
72936 2011-08-17  Andreas Jaeger  <aj@suse.de>
72938         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
72940 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
72941             Ian Lance Taylor  <iant@google.com>
72943         * math/libm-test.inc (lround_test): New testcase.
72944         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
72946 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
72948         * Makefile: Remove support for automatic cvs check-ins.
72949         * Makerules: Likewise.
72950         * config.make.in: Likewise.
72951         * configure.in: Likewise.
72952         * intl/Makefile: Likewise.
72953         * locale/Makefile: Likewise.
72954         * po/Makefile: Likewise.
72955         * posix/Makefile: Likewise.
72956         * sysdeps/gnu/Makefile: Likewise.
72957         * sysdeps/mach/hurd/Makefile: Likewise.
72958         * sysdeps/sparc/sparc32/Makefile: Likewise.
72960         [BZ #13118]
72961         * posix/Makefile (bug-regex32-ENV): Define.
72962         Patch by John Stanley <jpsinthemix@verizon.net>.
72964         * misc/Makefile (headers): Add bits/select2.h.
72965         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
72966         * misc/bits/select2.h: New file.
72967         * include/bits/select2.h: New file.
72968         * debug/Makefile (routines): Add fdelt_chk.
72969         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
72970         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
72971         FD_ISSET.
72972         * debug/fdelt_chk.c: New file.
72974         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
72975         * wcsmbs/test-wmemcmp.c: Likewise.
72976         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
72977         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
72979 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
72981         * string/Makefile (strop-tests): Add memcmp.
72982         * string/test-wmemcmp.c: New file.
72983         * string/test-memcmp.c: Add wmemcmp support.
72985 2011-09-08  Roland McGrath  <roland@hack.frob.com>
72987         [BZ #13153]
72988         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
72989         2011-07-19 change.
72991         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
72992         garbage value in a __mach_port_mod_refs call in the cases of the
72993         task-self and thread-self ports.
72995 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
72997         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
72999 2011-09-08  Andreas Schwab  <schwab@redhat.com>
73001         * elf/dl-load.c (lose): Check for non-null L.
73003 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
73005         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
73007         * elf/dl-libc.c (dlerror_run): Pass back error code from
73008         dl_catch_error.
73010         [BZ #13123]
73011         * elf/dl-load.c (lose): Free l_origin if it is valid.
73013         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
73014         names.
73015         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
73016         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
73017         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
73018         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
73019         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
73020         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
73022 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
73024         * sysdeps/powerpc/fpu/e_hypot.c: New file.
73025         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
73026         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
73027         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
73028         * sysdeps/powerpc/fpu/k_cosf.c: New file.
73029         * sysdeps/powerpc/fpu/k_sinf.c: New file.
73030         * sysdeps/powerpc/fpu/s_cosf.c: New file.
73031         * sysdeps/powerpc/fpu/s_sinf.c: New file.
73032         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
73033         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
73035 2011-08-15  Alan Modra  <amodra@gmail.com>
73037         [BZ #13092]
73038         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
73039         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
73040         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
73041         ppc_mcount to static-only-routines.
73042         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
73043         __mcount_internal.
73044         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
73045         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
73047 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
73049         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
73050         for finite and infinity parameters.
73052 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
73054         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
73055         and add nop instructions for throughput optimization.
73056         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
73058 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
73060         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
73061         aligned copy for power7 with vector-scalar instructions.
73062         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
73064 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
73066         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
73067         AVX check.
73069 2011-09-07  Andreas Schwab  <schwab@redhat.com>
73071         [BZ #13144]
73072         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
73073         last change.
73075 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
73077         * sysdeps/unix/sysv/linux/x86_64/init-first.c
73078         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
73079         syscall wrapper around clock_gettime in __vdso_clock_gettime.
73080         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
73081         clock_gettime.
73083 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
73085         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
73086         Forgot to demangle the pointer.
73088         * sysdeps/i386/sysdep.h: Define atom_text_section.
73089         * sysdeps/x86_64/sysdep.h: Likewise.
73090         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
73091         section with atom_text_section.
73092         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
73093         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
73094         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
73095         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
73096         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
73098         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
73099         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
73100         already be defined.  Change to take two parameters and don't assign
73101         result to variable.  Adjust all users.
73102         Define INTERNAL_GETTIME if not already defined.
73103         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
73104         call.
73105         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
73106         HAVE_CLOCK_GETTIME_VSYSCALL.
73107         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
73109         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
73110         gettimeofday vsyscall, just use time.
73112 2011-09-06  Andreas Schwab  <schwab@redhat.com>
73114         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
73115         <errno.h>.
73117 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
73119         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
73120         syscall on x86-64.
73121         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
73122         syscall.
73123         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
73124         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
73125         syscall if possible.
73127 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
73129         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
73130         e_ident.  Don't pass to find_mapsXX.
73131         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
73133 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
73135         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
73136         strchr-sse2-no-bsf strrchr-sse2-no-bsf
73137         * sysdeps/x86_64/multiarch/strchr.S: Update.
73138         Check bit_slow_BSF bit.
73139         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
73140         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
73141         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
73143 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
73145         [BZ #13134]
73146         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
73147         before glibc 2.15.
73148         (tryshell): Define.
73149         (__spawni): Change last parameter to be flag.  Test
73150         SPAWN_XFLAGS_USE_PATH flag to use path or not.
73151         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
73152         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
73153         * posix/spawni.c: Likewise.
73154         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
73155         * posix/spawnp.c: Likewise.  Change normal version to use
73156         SPAWN_XFLAGS_USE_PATH.
73157         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
73158         SPAWN_XFLAGS_TRY_SHELL.
73160         [BZ #13150]
73161         * posix/glob.h: Remove gcc 1.x support.
73163         [BZ #13068]
73164         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
73166 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
73168         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
73169         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
73170         strrchr-sse2-bsf
73171         * sysdeps/i386/i686/multiarch/strchr.S: New file.
73172         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
73173         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
73174         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
73175         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
73176         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
73178 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
73180         * sysdeps/x86_64/wcscmp.S: New file.
73182         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
73183         wcscmp-c wcscmp-sse2
73184         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
73185         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
73186         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
73187         * wcsmbs/wcscmp.c: Allow renaming.
73189 2011-09-05  David S. Miller  <davem@davemloft.net>
73191         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
73192         stack slot, rather than the struct return pointer slot.
73193         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
73194         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
73195         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
73196         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
73198 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
73200         * po/ja.po: Update from translation team.
73202         [BZ #13144]
73203         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
73204         kernel in 64-bit binaries.
73206 2011-09-01  David S. Miller  <davem@davemloft.net>
73208         * elf/elf.h (HWCAP_SPARC_*): Move to..
73209         * sysdeps/sparc/sysdep.h: this new file and add new values.
73210         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
73211         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
73212         _DL_HWCAP_COUNT to 24.
73213         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
73214         entries.
73215         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
73216         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
73217         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
73218         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
73219         instead of magic constants.
73220         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
73222 2011-08-31  David S. Miller  <davem@davemloft.net>
73224         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
73225         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
73226         Reimplement to do errno handling inline.
73227         (SYSCALL_ERROR_HANDLER): New macro.
73228         (__SYSCALL_STRING): Do not do errno handling in asm.
73229         (__CLONE_SYSCALL_STRING): Delete.
73230         (__INTERNAL_SYSCALL_STRING): Delete.
73231         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
73232         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
73233         (PSEUDO): Reimplement to do errno handling inline.
73234         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
73235         (SYSCALL_ERROR_HANDLER): New macro.
73236         (__SYSCALL_STRING): Do not do errno handling in asm.
73237         (__CLONE_SYSCALL_STRING): Delete.
73238         (__INTERNAL_SYSCALL_STRING): Delete.
73239         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
73240         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
73241         i386.
73242         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
73243         (inline_syscall*): Add 'err' argument.
73244         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
73245         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
73246         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
73247         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
73249         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
73250         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
73252 2011-08-30  Andreas Schwab  <schwab@redhat.com>
73254         * elf/rtld.c (dl_main): Relocate objects in dependency order.
73256 2011-08-29  Jiri Olsa <jolsa@redhat.com>
73258         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
73259         directive.
73261 2011-08-24  David S. Miller  <davem@davemloft.net>
73263         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
73265 2011-08-24  Andreas Schwab  <schwab@redhat.com>
73267         * elf/Makefile: Add rules to build and run unload8 test.
73268         * elf/unload8.c: New file.
73269         * elf/unload8mod1.c: New file.
73270         * elf/unload8mod1x.c: New file.
73271         * elf/unload8mod2.c: New file.
73272         * elf/unload8mod3.c: New file.
73274         * elf/dl-close.c (_dl_close_worker): Reset private search list if
73275         it wasn't used.
73277 2011-08-23  David S. Miller  <davem@davemloft.net>
73279         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
73280         subtract stack bias.
73281         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
73282         %sp not %fp in calculations.
73283         (_JMPBUF_UNWINDS_ADJ): Likewise.
73285         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
73286         (aio_suspend): Call it to force an exception region around the
73287         AIO_MISC_WAIT() invocation.
73289 2011-08-23  Andreas Schwab  <schwab@redhat.com>
73291         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
73292         backslash.
73294 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
73296         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
73297         protection macro.
73298         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
73299         and <dl-machine.h>.
73300         (Elf64_FuncDesc): Remove.
73302 2011-08-22  David S. Miller  <davem@davemloft.net>
73304         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
73305         sigaltstack check, add missing cfi directives.
73306         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
73307         missing cfi directives, and sigaltstack handling.
73309 2011-08-16  Andreas Schwab  <schwab@redhat.com>
73311         [BZ #11724]
73312         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
73313         object is seen twice.
73314         * elf/dl-fini.c (_dl_sort_fini): Likewise.
73316         * elf/Makefile (distribute): Add tst-initorder2.c.
73317         (tests): Add tst-initorder2.
73318         (modules-names): Add tst-initorder2a tst-initorder2b
73319         tst-initorder2c tst-initorder2d.  Add rules to build them.
73320         ($(objpfx)tst-initorder2.out): New rule.
73321         * elf/tst-initorder2.c: New file.
73322         * elf/tst-initorder2.exp: New file.
73324 2011-08-22  Andreas Schwab  <schwab@redhat.com>
73326         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
73328         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
73329         dependencies back to end of function.
73331         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
73332         $(elfobjdir)/ld.so.
73334 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
73336         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
73337         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
73338         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
73339         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
73340         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
73341         of __vdso_gettimeofday.
73342         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
73343         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
73344         attribute_hidden.
73345         (_libc_vdso_platform_setup): Remove initialization of
73346         __vdso_gettimeofday and __vdso_time.
73348 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
73350         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
73351         and fgetc_unlocked.
73352         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
73353         getc_unlocked.
73355         * elf/dl-open.c (add_to_global): Report additions to the global scope
73356         for LD_DEBUG=scopes.
73357         (dl_open_worker): Also print scope of newly loaded dependencies.
73358         (_dl_show_scope): Indicate if there is no scope.
73360         [BZ #13114]
73361         * stdio-common/Makefile (tests): Add bug24.
73362         * stdio-common/bug24.c: New file.
73364 2011-08-19  Andreas Jaeger  <aj@suse.de>
73366         [BZ #13114]
73367         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
73368         non-existant file when using close-on-exec mode.
73370 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
73372         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
73373         the very first instruction.
73375         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
73376         the CFI state in the end.
73377         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
73378         inclusion of dl-trampoline.h.
73379         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
73381 2011-08-19  Andreas Schwab  <schwab@redhat.com>
73383         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
73384         expectations for long double.
73386         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
73387         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
73389 2011-08-14  David S. Miller  <davem@davemloft.net>
73391         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
73392         artificual limit depends upon the system page size.
73394 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
73396         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
73397         * resolv/Makefile: Define CFLAGS-libresolv.
73399 2011-08-17  Andreas Schwab  <schwab@redhat.com>
73401         * nss/makedb.c (compute_tables): Make variables used in nested
73402         function static.
73404 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
73406         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
73407         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
73408         if buffer was too small.
73410         * elf/pldd.c (main): Attach to all threads in the process.
73411         Rewrite /proc handling to use *at functions.
73413 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
73415         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
73416         specifies first scope to show.
73417         (dl_open_worker): Update callers.  Move printing scope of new
73418         object to before the relocation.
73419         * elf/rtld.c (dl_main): Update _dl_show_scope call.
73420         * sysdeps/generic/ldsodefs.h: Update declaration.
73422         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
73423         string for the scope number.
73425 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
73427         * nscd/servicescache.c (cache_addserv): Make sure written is always
73428         initialized.
73430 2011-08-14  Roland McGrath  <roland@hack.frob.com>
73432         * sysdeps/i386/i486/bits/atomic.h
73433         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
73434         statement expression, so as to suppress "set but not used" warning.
73435         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
73437         * string/strncat.c (STRNCAT): Use prototype definition.
73439         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
73440         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
73441         -Iprograms here.
73442         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
73443         (localedef-modules): Add localedef.
73444         (locale-modules): Add locale.
73446         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
73447         * elf/rtld.c (dl_main): Invert order of assignment in last change,
73448         to avoid a warning.
73450 2011-08-14  David S. Miller  <davem@davemloft.net>
73452         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
73453         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
73455 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
73457         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73458         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
73459         * elf/rtld.c (dl_main): Set l_name of vDSO.
73460         Call _dl_show_scope when DL_DEBUG_SCOPES.
73461         (process_dl_debug): Recognize scopes flag and also set it for all.
73462         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
73463         Declare _dl_show_scope.
73465         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
73466         (do_dlopen): Pass caller_dlopen to dl_open.
73467         (__libc_dlopen_mode): Initialize caller_dlopen.
73469         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
73470         of libc.  Make tolower call locale-independent.  Optimize a bit by
73471         using isdigit instead of isalnum.
73472         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
73474 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
73476         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
73477         was a dependency or dynamically loaded.
73479 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
73481         * intl/l10nflist.c: Allow architecture-specific pop function.
73482         * sysdeps/x86_64/l10nflist.c: New file.
73484         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
73485         classification.
73487 2011-08-10  Andreas Schwab  <schwab@redhat.com>
73489         * include/dirent.h: Add libc_hidden_proto for scandirat and
73490         scandirat64.  Don't declare __scandirat64.
73491         * dirent/scandirat.c: Add libc_hidden_def.
73492         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
73493         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
73495 2011-08-10  David S. Miller  <davem@davemloft.net>
73497         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
73498         enum.
73499         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
73500         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
73501         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
73503 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
73505         * Versions.def [libc]: Add GLIBC_2.15.
73506         * dirent/Makefile (routines): Add scandirat and scandirat64.
73507         * dirent/Versions [libc]: Export scandirat and scandirat64 for
73508         GLIBC_2.15.
73509         * dirent/dirent.h: Declare scandirat and scandirat64.
73510         * dirent/scandirat.c: New file.
73511         * dirent/scandirat64.c: New file.
73512         * sysdeps/wordsize-64/scandirat.c: New file.
73513         * sysdeps/wordsize-64/scandirat64.c: New file.
73514         * dirent/opendir.c: Define opendirat.
73515         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
73516         using scandirat.
73517         * dirent/scandir64.c: Adjust for scandir.c change.
73518         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
73519         __scandirat64, and __scandir_cancel_handler.
73520         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
73521         additional parameter and use openat instead of open (outside of ld.so).
73522         Add new __opendir as wrapper around __opendirat.
73523         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
73524         here without requiring old scandirat implementation.
73526 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
73528         * dirent/scandir.c (cancel_handler): Renamed to
73529         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
73530         defined.  Adjust users.
73531         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
73532         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
73534 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
73536         * string/test-string.h (IMPL): Use __STRING to expand name and then
73537         stringify it.
73539         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
73540         of cleanups.
73542 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
73544         * string/Makefile: Update.
73545         (strop-tests): Append strncat.
73546         * string/test-wcscmp.c: New file.
73547         New comprehensive test for wcscmp.
73548         * string/test-strcmp.c: Update.
73549         (WIDE): New define.
73551 2011-07-22  Andreas Schwab  <schwab@redhat.com>
73553         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
73554         line.
73556 2011-07-26  Andreas Schwab  <schwab@redhat.com>
73558         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
73559         encoding to ACE if AI_IDN.
73561 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
73563         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
73564         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
73566 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
73568         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
73569         Fix overflow bug in strncat.
73570         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
73572         * string/test-strncat.c: Update.
73573         Add new tests for checking overflow bugs.
73575 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
73577         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
73578         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
73579         * sysdeps/i386/i686/multiarch/strcat.S: New file.
73580         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
73581         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
73582         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
73583         * sysdeps/i386/i686/multiarch/strncat.S: New file.
73584         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
73585         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
73587         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
73588         (USE_AS_STRCAT): Define.
73589         Add strcat and strncat support.
73590         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
73592 2011-07-25  Andreas Schwab  <schwab@redhat.com>
73594         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
73595         __n bigger than INT_MAX+1.
73596         (__strncmp_g): Likewise.
73598 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
73600         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
73601         * libio/stido.h: Likewise.
73603         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
73604         (AF_NFC): Define.
73605         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
73606         (AF_NFC): Define.
73608         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
73609         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
73610         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
73611         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
73612         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
73614         [BZ #13021]
73615         * scripts/test-installation.pl: Don't expect libnss_test1 to be
73616         installed.
73618         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
73619         typo.
73620         (_dl_x86_64_save_sse): Likewise.
73622 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
73624         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
73625         OSXSAVE.
73626         (_dl_x86_64_save_sse): Likewise.
73628         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
73630         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
73632 2011-07-21  Andreas Schwab  <schwab@redhat.com>
73634         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
73635         change.
73636         (_dl_x86_64_save_sse): Use correct AVX check.
73638 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
73640         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
73641         bug in strncpy/strncat.
73642         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
73644 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
73646         * string/tester.c (test_strcat): Add tests for different alignments
73647         of source and destination.
73648         (test_strncat): Likewise.
73650 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
73652         [BZ #12852]
73653         * posix/glob.c (glob): Check passed in values before using them in
73654         expressions to avoid some overflows.
73655         (glob_in_dir): Likewise.
73657         [BZ #13007]
73658         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
73659         check for AVX enablement so that we don't crash with old kernels and
73660         new hardware.
73661         * elf/tst-audit4.c: Add same checks here.
73662         * elf/tst-audit6.c: Likewise.
73664         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
73666 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
73668         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
73670 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
73672         * po/cs.po: Update from translation team.
73673         * po/bg.po: Likewise.
73675 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
73677         * misc/sys/cdefs.h: Add support for const attribute.
73678         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
73679         to gnu_dev_{major,minor,makedev} functions.
73681 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
73683         * intl/dcigettext.c (get_output_charset): Add missing bracket.
73685 2011-07-20  Andreas Schwab  <schwab@redhat.com>
73687         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
73688         strlen results.
73690 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
73692         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
73693         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
73694         register in order to avoid conflicts with the soft frame pointer
73695         being held in r11 when necessary.
73696         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
73697         (INTERNAL_VSYSCALL_NCS): Likewise.
73699 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
73701         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
73702         * elf/dl-fini.c (_dl_fini): Adjust caller.
73703         * elf/dl-close.c (_dl_close_worker): Likewise.
73704         * sysdeps/generic/ldsodefs.h: Adjust declaration.
73706 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
73708         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
73709         "aux_cache->nlibs < 0".
73711         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
73712         in the reload-count case.
73714 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
73716         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
73717         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
73718         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
73719         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
73720         * sysdeps/x86_64/multiarch/strcat.S: New file.
73721         * sysdeps/x86_64/multiarch/strncat.S: New file.
73722         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
73723         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
73724         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
73725         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
73726         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
73727         (USE_AS_STRCAT): Define.
73728         Add strcat and strncat support.
73729         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
73730         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
73731         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
73732         * string/strncat.c: Update.
73733         (USE_AS_STRNCAT): Define.
73734         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
73735         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
73736         and i7.
73737         * sysdeps/x86_64/multiarch/init-arch.h
73738         (bit_Prefer_PMINUB_for_stringop): New.
73739         (index_Prefer_PMINUB_for_stringop): Likewise.
73740         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
73741         bit_Prefer_PMINUB_for_stringop.
73743 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
73745         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
73746         buffer64.
73747         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
73748         of casting of buffer.
73749         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
73750         buffer32 and buffer64.
73751         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
73752         writes instead of casting of buffer.
73753         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
73754         buffer32.
73755         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
73756         casting of buffer.
73758 2011-07-19  Andreas Schwab  <schwab@redhat.com>
73760         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
73762 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
73764         * nscd/nscd.c (termination_handler): Don't do anything for a database
73765         if it has not yet been initialized.
73767 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
73769         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
73771 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
73773         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
73775 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
73777         * po/nl.po: Update from translation team.
73778         * po/sv.po: Likewise.
73780 2011-07-16  Roland McGrath  <roland@hack.frob.com>
73782         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
73783         now disallowed by GCC.
73785         * configure.in (use-default-link): Default to yes if a test -shared
73786         link meets our qualifications.
73787         * configure: Regenerated.
73789         * config.make.in (output-format): New variable.
73790         * configure.in: Check for ld --print-output-format support.
73791         * configure: Regenerated.
73792         * Makerules ($(common-objpfx)format.lds)
73793         [$(output-format) != unknown]: Just use $(output-format),
73794         instead of the linker-script munging.
73796 2011-07-14  Roland McGrath  <roland@hack.frob.com>
73798         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
73799         of $(common-objpfx)shlib.lds.
73800         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
73802         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
73803         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
73805         * configure.in (-z relro check): Adjust test code to add a large
73806         writable data section after it.
73807         * configure: Regenerated.
73809 2011-07-11  Roland McGrath  <roland@hack.frob.com>
73811         * configure.in (-z relro check): Fix test code to make the variable
73812         truly const.
73813         * configure: Regenerated.
73815 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
73817         * nscd/nscd.h (struct traced_file): Define.
73818         (struct database_dyn): Remove inotify_descr, reset_res, and filename
73819         elements.  Add traced_files.
73820         (inotify_fd): Declare.
73821         (register_traced_file): Declare.
73822         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
73823         (inotify_fd): Export.
73824         (resolv_conf_descr): Remove.
73825         (nscd_init): Move inotify descriptor creation to main.
73826         Don't register files for notification here.
73827         (register_traced_file): New function.
73828         (invalidate_cache): Don't use reset_res to determine whether to call
73829         res_init, go through the list of registered files.
73830         (main_loop_poll): The inotify descriptors are now stored in the
73831         structures for the traced files.
73832         (main_loop_epoll): Likewise.
73833         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
73834         to __nss_disable_nscd.
73835         * nscd/cache.c (prune_cache): There is no single inotify descriptor
73836         for a database anymore.  Check the records for all the registered
73837         files instead.
73838         * nss/Makefile (libnss_files-routines): Add files-init.
73839         (libnss_db-routines): Add db-init.
73840         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
73841         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
73842         * nss/nss_db/db-init.c: New file.
73843         * nss/nss_files/files-init.c: New file.
73844         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
73845         __nss_lookup_function.
73846         (__nss_lookup_function): Call nss_load_library.
73847         (nss_load_all_libraries): New function.
73848         (__nss_disable_nscd): Take parameter with callback function for files
73849         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
73850         used for the cached services.
73851         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
73852         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
73853         options for features to all the files in nscd.
73855         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
73857 2011-07-10  Roland McGrath  <roland@hack.frob.com>
73859         * csu/elf-init.c (__libc_csu_init): Comment typo.
73861 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
73863         * po/pl.po: Update from translation team.
73864         * po/ja.po: Likewise.
73865         * po/ru.po: Likewise.
73866         * po/ko.po: Likewise.
73867         * po/fr.po: Likewise.
73869 2011-07-09  Roland McGrath  <roland@hack.frob.com>
73871         * configure.in (.ctors/.dtors header and trailer check):
73872         Use an empirical test on a built program.
73873         * configure: Regenerated.
73875         * configure.in (-z relro check): Use an empirical test on a built DSO.
73876         Detect, but do not require, on ia64.
73877         * configure: Regenerated.
73879         * configure.in (READELF): Find it with AC_CHECK_TOOL.
73880         Update tests that use readelf to use $READELF instead.
73881         * configure: Regenerated.
73883 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
73885         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
73886         if the result is not used.
73888 2011-07-05  Andreas Jaeger  <aj@suse.de>
73890         [BZ#9696]
73891         * stdlib/tst-strtod.c: Add testcase.
73893 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
73895         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
73896         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
73897         The latter has a higher limit.  Take additional parameter to pass to
73898         the new function.
73899         (__pathconf): Pass file to __statfs_link_max.
73900         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
73901         __statfs_link_max.
73902         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
73903         __statfs_link_max.
73905         [BZ #12868]
73906         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
73907         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
73908         Handle Lustre.
73909         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
73910         (__statfs_filesize_max): Likewise.
73911         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
73913 2011-07-05  Andreas Jaeger  <aj@suse.de>
73915         * resolv/res_comp.c (dn_skipname): Remove unused variable.
73917 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
73919         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
73920         `status' variable.
73921         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
73922         Likewise.
73924 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
73926         * Makefile (strop-tests): Add strncat.
73927         * string/test-strncat.c: New file.
73929 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
73931         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
73933 2011-06-21  Andreas Jaeger  <aj@suse.de>
73935         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
73936         Copy rule from iconvdata/Makefile.
73938 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
73940         [BZ #12922]
73941         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
73942         but no long options are defined, just return 'W'.
73944 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
73946         [BZ #9696]
73947         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
73949 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
73951         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
73952         netgroups to read.
73953         (innetgr): Likewise.
73955 2011-07-05  Roland McGrath  <roland@hack.frob.com>
73957         * config.make.in (install_root): Default to $(DESTDIR).
73959 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
73961         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
73963 2011-07-02  Roland McGrath  <roland@hack.frob.com>
73965         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
73967         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
73968         containing directory rather than embedding absolute directory names.
73970         * scripts/check-local-headers.sh: Rewritten using awk.
73971         Match by word, not by line.  Print error messages for matches.
73972         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
73974         * Makerules [shlib-lds-flags empty]:
73975         ($(common-objpfx)libc_pic.opts): New target.
73976         ($(common-objpfx)libc_pic.os.clean): New target.
73977         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
73979         * config.make.in (OBJCOPY): New variable.
73980         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
73981         * configure: Regenerated.
73983         * config.make.in (use-default-link): New variable.
73984         * configure.in (use_default_link): Grok --with-default-link to set it.
73985         * configure: Regenerated.
73986         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
73987         (shlib-lds, shlib-lds-flags): Define to empty.
73989         * Makerules (shlib-lds): New variable.
73990         (shlib-lds-flags): New variable.
73991         (build-shlib, build-moduile, build-module-asneeded): Use it.
73992         ($(common-objpfx)libc.so): Use $(shlib-lds).
73993         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
73994         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
73996         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
73997         DT_FLAGS/DT_FLAGS_1 with zero flags.
73999         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
74000         linker script munging.
74002 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
74004         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
74005         as 128-bit value.
74006         * crypt/sha512.c (sha512_process_block): Perform total addition using
74007         128-bit if possible.
74008         (__sha512_finish_ctx): Likewise.
74009         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
74010         as 64-bit value.
74011         * crypt/sha256.c (SWAP64): Define.
74012         (sha256_process_block): Perform total addition using 64-bit if
74013         possible.
74014         (__sha256_finish_ctx): Likewise.
74016 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
74018         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
74019         * nscd/initgrcache.c (addinitgroupsX): Likewise.
74020         * nscd/hstcache.c (cache_addhst): Likewise.
74021         * nscd/grpcache.c (cache_addgr): Likewise.
74022         * nscd/aicache.c (addhstaiX): Likewise.
74023         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
74025 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
74027         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
74028         * nscd/initgrcache.c (addinitgroupsX): Likewise.
74029         * nscd/hstcache.c (cache_addhst): Likewise.
74030         * nscd/grpcache.c (cache_addgr): Likewise.
74031         * nscd/aicache.c (addhstaiX): Likewise.
74033 2011-07-01  Andreas Schwab  <schwab@redhat.com>
74035         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
74036         domain only when needed.
74038 2011-06-30  Andreas Schwab  <schwab@redhat.com>
74040         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
74041         is always restored.
74043 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
74045         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
74046         are re-adding the entry.
74047         * nscd/servicescache.c (cache_addserv): Likewise.
74049 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
74051         * sysdeps/generic/dl-irel.h: fix protection against multiple
74052         inclusions.
74053         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
74055 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
74057         [BZ #12935]
74058         * malloc/memusage.sh: Fix quoting in message.
74059         * debug/xtrace.sh: Likewise.
74061         * configure.in: Remove support for --experimental-malloc option, make
74062         it the default.
74063         * config.make.in: Likewise.
74064         * malloc/Makefile: Likewise.
74066 2011-06-27  Andreas Schwab  <schwab@redhat.com>
74068         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
74069         two-byte characters.
74071 2011-06-27  Roland McGrath  <roland@hack.frob.com>
74073         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
74074         AC_CACHE_CHECK invocation.
74075         * configure: Regenerated.
74077         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
74079 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
74081         [BZ #12350]
74082         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
74083         bit from old_res_options.
74085         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
74087         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
74088         value type for setfct.
74090 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
74092         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
74093         __gettimeofday instead of gettimeofday.
74095 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
74097         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
74099 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
74101         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
74103         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
74104         info.
74106 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
74108         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
74109         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
74110         strcpy-sse2-unaligned strncpy-sse2-unaligned
74111         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
74112         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
74113         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
74114         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
74115         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
74116         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
74117         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
74118         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
74119         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
74120         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
74121         (STRCPY): Support SSE2 and SSSE3 versions.
74123 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
74125         [BZ #12874]
74126         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
74127         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
74128         kernels which artificially limit size of requests.
74130 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
74132         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
74133         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
74134         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
74135         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
74136         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
74137         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
74138         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
74139         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
74140         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
74141         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
74142         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
74143         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
74144         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
74145         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
74146         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
74147         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
74148         Enable unaligned load optimization for Intel Core i3, i5 and i7
74149         processors.
74150         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
74151         Define.
74152         (index_Fast_Unaligned_Load): Define.
74153         (HAS_FAST_UNALIGNED_LOAD): Define.
74155 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
74157         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
74159 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
74161         [BZ #12907]
74162         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
74163         until it is clear that the information is realy needed.
74164         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
74166 2011-06-22  Andreas Schwab  <schwab@redhat.com>
74168         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
74170 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
74172         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
74173         /sys/devices/system/cpu/online if it is usable.
74175         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
74176         reading the information from the /proc filesystem to once a second.
74178 2011-06-21  Andreas Jaeger  <aj@suse.de>
74180         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
74181         NULL after inclusion of kernel headers.
74183 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
74185         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
74186         calls to internal_setent.
74188         [BZ #12885]
74189         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
74190         addresses using gethostbyname4_r ignore IPv4 addresses.
74192         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
74193         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
74195         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
74197 2011-06-20  David S. Miller  <davem@davemloft.net>
74199         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
74200         inclusions.
74201         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
74203         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
74204         (elf_irel): Use it.
74205         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
74206         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
74207         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
74208         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
74209         * sysdeps/x86_64/dl-irel.h: Likewise.
74211         * elf/dl-runtime.c: Use elf_ifunc_invoke.
74212         * elf/dl-sym.c: Likewise.
74214 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
74216         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
74217         need to dereference resplen2.
74219 2011-06-14  Andreas Schwab  <schwab@redhat.com>
74221         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
74223 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
74225         * Makeconfig: Define vardbdir and inst_vardbdir.
74226         * nss/Makefile: Add rules to install db-Makefile.
74228         * nss/nss_db/db-XXX.c: Cleanup.
74230         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
74231         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
74232         GLIBC_PRIVATE.
74233         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
74234         * nss/makedb.c: Implement -g option to specify that value strings
74235         are generated and should not be added to table iterated over for
74236         get*ent calls.
74237         * nss/nss_db/db-initgroups.c: New file.
74239         * nss/getent.c: Add support for initgroups lookups through getgrouplist
74240         interface.
74242         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
74243         (internal_getgrouplist): Adjust to name change.
74244         Update use_initgroups_entry if this is not the first call.
74245         * nss/databases.def: Add initgroups entry.
74247         * nss/makedb.c (compute_tables): Check result of multiple hash table
74248         sizes to minimize maximum chain length.
74250 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
74252         * Versions.def: Add entry for libnss_db.
74253         * shlib-versions: Likewise.
74254         * nss/Makefile: Add rules to build libnss_db.
74255         * nss/Versions: Add libnss_db information.  Organize libnss_files
74256         entries better.
74257         * nss/db-Makefile: Add gshadow support.  Change rules for the new
74258         makedb progra.  Some minor improvements to generate smaller files.
74259         * nss/nss_db/nss_db.h: Move NSS database header data structures to
74260         here from...
74261         * nss/makedb.c: ...here.
74262         Improve database format to be smaller and require less memory at
74263         runtime.
74264         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
74265         db anymore.
74266         * nss/nss_db/db-netgrp.c: Likewise.
74267         * nss/nss_db/db-open.c: Likewise.
74268         * nss/nss_files/flies-XXX.x: Adjust comments.
74269         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
74270         * nss/nss_files/files-grp.c: Likewise.
74271         * nss/nss_files/files-hosts.c: Likewise.
74272         * nss/nss_files/files-network.c: Likewise.
74273         * nss/nss_files/files-proto.c: Likewise.
74274         * nss/nss_files/files-pwd.c: Likewise.
74275         * nss/nss_files/files-rpc.c: Likewise.
74276         * nss/nss_files/files-service.c: Likewise.
74277         * nss/nss_files/files-sgrp.c: Likewise.
74278         * nss/nss_files/files-spwd.c: Likewise.
74279         * nss/nss_db/db-alias.c: Removed.
74280         * nss/nss_db/dummy-db.h: Removed.
74282 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
74284         * nss/makedb.c: Rewritten to not use database library.
74285         * nss/Makefile: Update to build new makedb program.
74287 2011-06-14  Andreas Jaeger  <aj@suse.de>
74289         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
74290         memset declaration.
74292 2011-06-10  Andreas Schwab  <schwab@redhat.com>
74294         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
74295         tmpbuf.
74297 2011-06-10  Roland McGrath  <roland@hack.frob.com>
74299         * Makerules (shlib.lds): Fail if the linker script comes out empty.
74300         * elf/Makefile ($(objpfx)ld.so): Likewise.
74302         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
74303         Don't list ld.so twice in dependencies.
74305         * posix/bug-regex31.c: Include <stdlib.h>.
74307         * nscd/hstcache.c (cache_addhst): Remove unused variable.
74309         * nis/nss_compat/compat-spwd.c
74310         (getspent_next_nss_netgr): Remove unused variable.
74311         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
74313         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
74314         nonmembers" output to use the right array.
74316         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
74318         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
74320         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
74321         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
74322         * catgets/gencat.c (read_input_file): Likewise.
74323         * locale/programs/locarchive.c (enlarge_archive): Likewise.
74325         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
74326         variable definition inside #if's controlling its use.
74328         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
74330         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
74332         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
74334         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
74335         unreachable code.
74337         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
74339         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
74340         * configure: Regenerated.
74342         * Makerules: Revert last change.
74343         * elf/Makefile: Likewise.
74345 2011-06-09  Roland McGrath  <roland@hack.frob.com>
74347         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
74348         * elf/Makefile ($(objpfx)librtld.os): Likewise.
74349         (reloc-link): Likewise.
74351 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
74353         * elf/Makefile: Add rules to build pldd.
74354         * elf/pldd.c: New file.
74355         * elf/pldd-xx.c: New file.
74357 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
74359         * version.h: Update for 2.15 development version.
74361 2011-06-07  David S. Miller  <davem@davemloft.net>
74363         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
74364         ifuncs.
74365         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
74366         elf_machine_lazy_rel): Likewise.
74367         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
74368         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
74369         elf_machine_lazy_rel): Likewise.
74370         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
74371         dl_hwcap via passed in argument.
74372         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
74373         Likewise.
74375 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
74377         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
74379 2011-06-06  Roland McGrath  <roland@hack.frob.com>
74381         [BZ #12849]
74382         * manual/fdl-1.1.texi: New file, verbatim from:
74383         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
74384         * manual/lgpl-2.1.texi: New file, verbatim from:
74385         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
74386         * manual/Makefile (licenses): New variable, list those new file names.
74387         (texis): Use it.
74388         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
74390         * manual/fdl.texi: File removed.
74391         * manual/lesser.texi: File removed.
74392         * manual/libc.texinfo (Copying, Documentation License):
74393         Use new @include file names, put @appendix directive before @include.
74395 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
74397         [BZ #12841]
74398         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
74399         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
74400         (mq_open): Add __NTH.
74402 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
74404         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
74405         Assume Intel Core i3/i5/i7 processor if AVX is available.
74407 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
74409         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
74410         typo.
74412 2011-05-31  Andreas Schwab  <schwab@redhat.com>
74414         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
74415         memory.  Use alloca_account.  Fix memory leak when retrying.
74417 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
74419         * version.h (RELEASE): Bump for 2.14 release.
74420         * include/features.h (__GLIBC_MINOR__): Bump to 14.
74422         * config.make.in (RANLIB): Remove entry.
74424 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
74426         * po/Makefile (po-sed-cmd): Add ksh to extensions.
74427         (libc.pot): Work around missing support for .ksh extension in xgettext.
74429         [BZ #12684]
74430         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
74431         if both request failed.
74432         (send_dg): In case of server errors clear resplen or *resplen2.
74434         [BZ #12454]
74435         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
74436         when there are multiple maps.
74437         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
74438         (_dl_fini): Remove test here.
74440         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
74442 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
74444         [BZ #12350]
74445         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
74446         bit from old_res_options.
74447         (gaih_inet): Likewise.
74449         [BZ #11099]
74450         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
74451         as signed.
74453         * resolv/res_init.c (res_setoptions): Make the code more compact.
74455         [BZ #11558]
74456         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
74457         set RES_USEVC.
74459         [BZ #11634]
74460         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
74462         * malloc/malloc.h: Mark malloc hook variables as deprecated.
74464         [BZ #11781]
74465         * malloc/malloc.h: Declare malloc hook variables as volatile.
74467         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
74468         in last patch.
74470         [BZ #11799]
74471         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
74472         raise in the comment.
74473         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
74474         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
74475         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
74477 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
74479         [BZ #12811]
74480         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
74481         grow the buffers more if it already has to be sufficient.
74482         (build_wcs_upper_buffer): Likewise.
74483         * posix/regexec.c (check_matching): Likewise.
74484         (clean_state_log_if_needed): Likewise.
74485         (extend_buffers): Don't enlarge buffers beyond size of the input
74486         buffer.
74487         Patches mostly by Emil Wojak <emil@wojak.eu>.
74488         * posix/bug-regex32.c: New file.
74489         * posix/Makefile (tests): Add bug-regex32.
74491         * locale/findlocale.c (_nl_find_locale): Return right away if
74492         _nl_explode_name failed.
74493         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
74495         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
74497         * debug/xtrace.sh: Unify messages.
74498         * malloc/memusage.sh: Likewise.
74500         [BZ #12813]
74501         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
74502         time symbol from vDSO.  Substitute with vsyscall if not available.
74503         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
74504         __vdso_time.
74506         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
74507         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
74508         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
74509         Add sendmmsg and internal_sendmmsg.
74510         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
74511         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
74512         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
74514         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
74515         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
74516         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
74518 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
74520         [BZ #12813]
74521         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
74522         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
74523         available.
74524         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
74525         __vdso_getcpu.
74527         [BZ #12814]
74528         * iconvdata/Makefile (tests): Add bug-iconv9.
74529         * iconvdata/bug-iconv9.c: New file.
74531 2011-05-27  Andreas Schwab  <schwab@redhat.com>
74533         [BZ #12814]
74534         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
74536 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
74538         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
74539         (struct user_regs_struct): Change intcs field back to cs.
74541 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
74543         * po/ja.po: Update from translation team.
74545 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
74547         [BZ #12795]
74548         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
74549         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
74551 2011-05-20  Andreas Schwab  <schwab@redhat.com>
74553         * stdlib/longlong.h: Update from GCC.
74555 2011-05-23  Andreas Schwab  <schwab@redhat.com>
74557         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
74558         parameter name.
74559         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
74560         Add parameter name.
74561         (__sysconf): Pass it down.
74563 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
74565         [BZ #12671]
74566         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
74567         some situations.
74568         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
74569         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
74570         add in in __libc_use_alloca calls.  Adjust callers.
74571         (glob): Use malloc in some situations.
74573         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
74574         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
74575         pltexit.
74577 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
74579         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
74580         and CLOCK_BOOTTIME_ALARM.
74582         [BZ #12782]
74583         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
74584         is returned.
74586         * string/_strerror.c (__strerror_r): Print negative errors as signed
74587         numbers.
74589         [BZ #12777]
74590         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
74591         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
74592         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
74594         * configure.in: Fix typo in redirection and correct removal of test
74595         files in two cases.
74597         [BZ #12788]
74598         * locale/setlocale.c (new_composite_name): Fix test to check for
74599         identical name of all categories.
74601         [BZ #12792]
74602         * libio/filedoalloc.c (local_isatty): New function.
74603         (_IO_file_doallocate): Use local_isatty.
74604         * stdio-common/perror.c (perror): In case a new stream is used
74605         forward the stream error.
74606         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
74607         error flag.
74609 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
74611         [BZ #11884]
74612         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
74613         alloca.
74614         * include/alloca.h (extend_alloca_account): Define.
74616         [BZ #11857]
74617         * posix/regex.h: Fix comments with documentation of user-accessible
74618         fields after compilation and describe correct free'ing of pattern
74619         after re_compile_pattern.
74620         Patch by Reuben Thomas <rrt@sc3d.org>.
74622 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
74624         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
74625         and -mno-altivec to prevent the compiler from using Altivec and/or
74626         VSX instructions when the corresponding registers are not available.
74628 2011-05-19  Andreas Schwab  <schwab@redhat.com>
74630         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
74632 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
74634         * libio/freopen.c (freopen): Use __dup2, not dup2.
74635         * libio/freopen64.c (freopen64): Likewise.
74637 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
74639         [BZ #12775]
74640         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
74641         * math/Makefile (tests): Add test-powl.
74642         (CFLAGS-test-powl.c): Define.
74643         * math/test-powl.c: New file.
74645 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
74647         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
74649 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
74651         [BZ #11837]
74652         * iconvdata/gb18030.c: Update to GB18020-2005.
74654 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
74656         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
74657         RE_SYNTAX_POSIX_AWK): Update to match recent development.
74658         Patch by Aharon Robbins <arnold@skeeve.com>.
74660         [BZ #11892]
74661         * stdlib/putenv.c (putenv): Don't always create copy of the variable
74662         on the stack.
74664         [BZ #11895]
74665         * misc/pselect.c (__pselect): Handle timeout value errors hidden
74666         through underflows.
74668         [BZ #12766]
74669         * misc/error.c (error_at_line): Ensure file_name and old_file_name
74670         point to strings before performing equality test for error_one_per_line
74671         mode.
74673         [BZ #11697]
74674         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
74676         [BZ #11820]
74677         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
74678         (struct user_fpregs_struct): Avoid __uint*_t types.
74680         [BZ #6420]
74681         * malloc/mtrace.c (tr_where): Add additional parameter to point to
74682         symbol info.  Use it instead of calling _dl_addr locally.
74683         (lock_and_info): New function.
74684         (tr_freehook): Call lock_and_info and pass symbol info as additional
74685         parameter to tr_where.
74686         (tr_mallochook): Likewise.
74687         (tr_reallochook): Likewise.
74688         (tr_memalignhook): Likewise.
74690         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
74691         used and couldn't be at all thread-safe.
74693 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
74695         * libio/freopen.c (freopen): Don't close old file descriptor
74696         before the new one is opened.  Instead dup the new file descriptor
74697         to the old one after the new stream is created.
74698         * libio/freopen64.c (freopen64): Likewise.
74699         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
74700         * libio/fileops.c (_IO_new_file_close_it): Handle new
74701         _IO_FLAGS2_NOCLOSE flag.
74702         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
74703         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
74704         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
74705         _IO_FLAGS2_NOCLOSE flag.
74706         * include/unistd.h: Add hidden_proto for dup3.
74707         Define __have_dup3.
74708         * io/dup3.c: Define hidden symbol.
74709         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
74711         [BZ #7101]
74712         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
74713         when an incomplete long option is used.
74714         * posix/tst-getopt_long1.c: New file.
74715         * posix/Makefile (tests): Add tst-getopt_long1.
74717         [BZ #10138]
74718         * scripts/config.guess: Update from autoconf-2.68.
74719         * scripts/config.sub: Likewise.
74721         [BZ #10157]
74722         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
74723         tests into ...
74724         (has_cpuclock): ...this.  New function.
74725         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
74726         macro here based on has_cpuclock code.
74728         [BZ #10149]
74729         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
74730         First byte (not low byte) is now always NUL.
74731         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
74733         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
74734         Use non-cancelable interfaces.
74736         [BZ #9809]
74737         * locale/iso-639.def: Add entry for Sorani.
74739         [BZ #11901]
74740         * include/stdlib.h: Move include protection to the right place.
74741         Define abort_msg_s.  Declare __abort_msg with it.
74742         * stdlib/abort.c (__abort_msg): Adjust type.
74743         * assert/assert.c (__assert_fail_base): New function.  Majority
74744         of code from __assert_fail.  Allocate memory for __abort_msg with
74745         mmap.
74746         (__assert_fail): Now call __assert_fail_base.
74747         * assert/assert-perr.c: Remove bulk of implementation.  Use
74748         __assert_fail_base.
74749         * include/assert.hL Declare __assert_fail_base.
74750         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
74751         mmap.
74752         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
74754 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
74756         [BZ #11952]
74757         [BZ #12453]
74758         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
74759         until all modules are registered in the DTV.
74760         * elf/Makefile: Add rules to build and run tst-tls19.
74761         * elf/tst-tls19.c: New file.
74762         * elf/tst-tls19mod1.c: New file.
74763         * elf/tst-tls19mod2.c: New file.
74764         * elf/tst-tls19mod3.c: New file.
74765         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
74767         [BZ #12083]
74768         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
74769         correctly.
74771         [BZ #12601]
74772         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
74773         two-byte sequence errors.
74774         * iconvdata/Makefile (tests): Add bug-iconv8.
74775         * iconvdata/bug-iconv8.c: New file.
74777         [BZ #12626]
74778         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
74779         buf2 definition.
74781         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
74783         [BZ #12432]
74784         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
74785         (dummy_getcfa): New function.
74786         (init): Get _Unwind_GetCFA address, use dummy if not found.
74787         (backtrace_helper): In recursion check, also check whether CFA changes.
74788         (__backtrace): Completely initialize arg.
74790         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
74791         storing incomplete byte sequence in state object.  Avoid testing for
74792         guaranteed too small input if we know there is enough data available.
74794 2011-05-11  Andreas Schwab  <schwab@redhat.com>
74796         * Makeconfig (+link-pie): Indent.
74797         * Rules (binaries-pie): Define if $(have-fpie) and
74798         $(build-shared).
74799         (binaries-shared): Also filter out $(binaries-pie).
74800         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
74801         * nscd/Makefile (others-pie): Add nscd.
74802         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
74803         ($(objpfx)nscd): Remove command override.
74804         * login/Makefile (others-pie): Add pt_chown.
74805         ($(objpfx)pt_chown): Remove command override.
74806         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
74807         remove command overrides.
74809 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
74811         * libio/tst_putwc.c: Fix error messages.
74813         [BZ #12724]
74814         * libio/fileops.c (_IO_new_file_close_it): Always flush when
74815         currently writing and seek to current position when not.
74816         * libio/Makefile (tests): Add bug-fclose1.
74817         * libio/bug-fclose1.c: New file.
74819 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
74821         [BZ #12511]
74822         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
74823         don't set DF_1_NODELETE here.
74824         (do_lookup_x): When entering new entry test for copy relocation
74825         and if necessary set DF_1_NODELETE flag.
74826         * elf/tst-unique4.cc: New file.
74827         * elf/tst-unique4.h: New file.
74828         * elf/tst-unique4lib.cc: New file.
74829         * elf/Makefile: Add rules to build and run tst-unique4.
74830         Patch by Piotr Bury <pbury@goahead.com>.
74832 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
74834         [BZ #12052]
74835         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
74837         [BZ #12625]
74838         * misc/mntent_r.c (addmntent): Flush the stream after the output
74840         [BZ #12393]
74841         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
74842         (is_trusted_path_normalize): Skip initial colon.  Append slash
74843         to empty buffer.  Duplicate is_trusted_path code but allow
74844         constructed patch to be prefix.
74845         (is_dst): Allow $ORIGIN followed by /.
74846         (_dl_dst_substitute): Correct clearing of check_for_trusted.
74847         Correct testing of result of is_trusted_path_normalize
74848         (decompose_rpath): Fix warning.
74850 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
74852         [BZ #11257]
74853         * grp/initgroups.c (internal_getgrouplist): When we found the service
74854         list through the initgroups entry in nsswitch.conf do not always
74855         continue on a successful lookup.  Don't always use the
74856         __nss_group_database value if it is set.
74857         * nss/nsswitch.conf (initgroups): Change action for successful db
74858         lookup to continue for compatibility.
74860 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
74862         [BZ #11532]
74863         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
74864         and CP774 modules.
74865         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
74866         and CP774 modules.
74867         * iconvdata/tst-tables.sh: Likewise.
74868         * iconvdata/cp770.c: New file.
74869         * iconvdata/cp771.c: New file.
74870         * iconvdata/cp772.c: New file.
74871         * iconvdata/cp773.c: New file.
74872         * iconvdata/cp774.c: New file.
74873         * iconvdata/testdata/CP770: New file.
74874         * iconvdata/testdata/CP770..UTF8: New file.
74875         * iconvdata/testdata/CP771: New file.
74876         * iconvdata/testdata/CP771..UTF8: New file.
74877         * iconvdata/testdata/CP772: New file.
74878         * iconvdata/testdata/CP772..UTF8: New file.
74879         * iconvdata/testdata/CP773: New file.
74880         * iconvdata/testdata/CP773..UTF8: New file.
74881         * iconvdata/testdata/CP774: New file.
74882         * iconvdata/testdata/CP774..UTF8: New file.
74884         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
74885         END CHARMAP line.
74886         * iconvdata/gen-8bit-gap.sh: Likewise.
74887         * iconvdata/gen-8bit.sh: Likewise.
74889         * locale/iso-639.def: Add ary entry.
74891         [BZ #11258]
74892         * locale/C-translit.h.in: Add U20A1 transliteration.
74894         [BZ #12178]
74895         * locale/iso-639.def: Add wae entry.
74896         Patch by Kevin Bortis <bortis@translate-wae.ch>.
74898         [BZ #12545]
74899         * locale/programs/localedef.c (construct_output_path): Use ssize_t
74900         for n.
74902         [BZ #12711]
74903         * locale/C-translit.h.in: Add entry for U20B9.
74904         Patch by pravin.d.s@gmail.com.
74906 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
74908         [BZ #12713]
74909         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
74910         ENAMETOOLONG use generic getcwd.
74911         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
74912         in rtld.  Use *stat64.
74913         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
74914         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
74915         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
74916         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
74917         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
74918         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
74919         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
74920         __fstatat64 macros.
74921         * include/dirent.h: Add libc_hidden_proto for rewinddir.
74922         * dirent/rewinddir.c: Add libc_hidden_def.
74923         * sysdeps/mach/hurd/rewinddir.c: Likewise.
74924         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
74926         * include/dirent.h (__alloc_dir): Add flags parameter.
74927         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
74928         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
74929         __alloc_dir.
74930         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
74931         from fdopendir if O_CLOEXEC is already set.
74933 2011-03-15  Alan Modra  <amodra@gmail.com>
74935         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
74936         l_tls_firstbyte_offset non-zero.  Save padding offset in
74937         l_tls_firstbyte_offset for later use.
74938         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
74939         freeing static tls block.
74941 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
74943         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
74944         where #ifdef was intended.  The intent is to prevent ARG_MAX from
74945         being defined by the kernel headers.
74947 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
74949         [BZ #12734]
74950         * resolv/resolv.h: Define RES_NOTLDQUERY.
74951         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
74952         no-tld-query and set RES_NOTLDQUERY.
74953         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
74954         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
74955         modern BIND to search name as TLD unless forbidden.
74957 2011-05-07  Petr Baudis  <pasky@suse.cz>
74958             Ulrich Drepper  <drepper@gmail.com>
74960         [BZ #12393]
74961         * elf/dl-load.c (fillin_rpath): Move trusted path check...
74962         (is_trusted_path): ...to here.
74963         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
74964         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
74965         using is_trusted_path_normalize() in setuid scripts.
74967 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
74969         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
74970         __BEGIN/__END_DECLS.
74972 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
74974         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
74975         NSS_STATUS_NOTFOUND if no record was found.
74977 2011-05-05  Andreas Schwab  <schwab@redhat.com>
74979         * sunrpc/Makefile (headers): Add rpc/netdb.h.
74980         (headers-not-in-tirpc): Remove rpc/netdb.h
74981         * resolv/netdb.h: Revert last change.
74983 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
74985         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
74986         circular dependency between libgcc.a and libc.a.
74988 2011-05-05  Andreas Schwab  <schwab@redhat.com>
74990         * resolv/netdb.h: Don't include <rpc/netdb.h>.
74991         * nis/Makefile: Don't install rpcsvc/*.
74992         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
74993         instead of <rpc/types.h>.
74994         (MAXHOSTNAMELEN): Define.
74996 2011-05-03  Andreas Schwab  <schwab@redhat.com>
74998         * elf/ldconfig.c (add_dir): Don't crash on empty path.
75000 2011-04-28  Maciej Babinski  <mbabinski@google.com>
75002         [BZ #12714]
75003         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
75004         gethostbyname4_r when IPv6 results are possible.
75006 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
75008         [BZ #12723]
75009         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
75010         _PC_PIPE_BUF handling.
75012 2011-04-30  Bruno Haible  <bruno@clisp.org>
75014         [BZ #12717]
75015         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
75016         * resolv/netdb.h (getnameinfo): Change type of flags parameter
75017         to 'int'.
75018         * inet/getnameinfo.c (getnameinfo): Likewise.
75020 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
75022         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
75023         to groups setting in database lookup.
75024         * nss/nsswitch.conf: Add initgroups entry.
75026 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
75028         [BZ #12685]
75029         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
75030         mode string.
75031         Patch by Eric Blake <eblake@redhat.com>.
75033 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
75035         * sunrpc/Makefile (need-export-routines): Add svc_run.
75036         (routines): Remove svc_run.
75037         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
75038         * sunrpc/clnt_perr.c (clnt_perrno): Export.
75039         * sunrpc/svc_run.c (svc_run): Likewise.
75040         * sunrpc/svc_udp.c (svcudp_create): Likewise.
75042 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
75044         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
75045         problem in reallocation in last patch.
75047 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
75049         * sunrpc/Makefile: Move inclusion of Rules.
75051 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
75053         * nss/nss_files/files-initgroups.c: New file.
75054         * nss/Makefile (libnss_files-routines): Add files-initgroups.
75055         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
75056         _nss_files_initgroups_dyn.
75058 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
75060         * elf/elf.h (R_ARM_IRELATIVE): Define.
75062 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
75064         * po/ru.po: Update from translation team.
75066 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
75068         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
75069         dependencies.
75071 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
75073         [BZ #12653]
75074         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
75075         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
75076         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
75077         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
75078         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
75080 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
75082         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
75083         differing bytes.
75084         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
75085         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
75086         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
75088 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
75090         [BZ #12420]
75091         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
75092         storing it.
75093         * stdlib/bug-getcontext.c: New file.
75094         * stdlib/Makefile: Add rules to build and run bug-getcontext.
75096 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
75098         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
75099         instructions into .machine "z9-109".
75100         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
75101         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
75103 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
75105         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
75106         between environment variables and auxiliary vector.
75108 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
75110         * Makefile: Add rules to build linkobj/libc.so.
75111         * include/libc-symbols.h: Define libc_hidden_nolink.
75112         * include/rpc/auth.h: Mark functions which are to be hidden.
75113         * include/rpc/auth_des.h: Likewise.
75114         * include/rpc/auth_unix.h: Likewise.
75115         * include/rpc/clnt.h: Likewise.
75116         * include/rpc/des_crypt.h: Likewise.
75117         * include/rpc/key_prot.h: Likewise.
75118         * include/rpc/pmap_clnt.h: Likewise.
75119         * include/rpc/pmap_prot.h: Likewise.
75120         * include/rpc/pmap_rmt.h: Likewise.
75121         * include/rpc/rpc_msg.h: Likewise.
75122         * include/rpc/svc.h: Likewise.
75123         * include/rpc/svc_auth.h: Likewise.
75124         * include/rpc/xdr.h: Likewise.
75125         * nis/Makefile: Link all DSOs against linkobj/libc.so.
75126         * nss/Makefile: Likewise.
75127         * sunrpc/Makefile: Don't install headers.  Build library with normal
75128         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
75129         * sunrpc/auth_des.c: Hide exported symbols by default, export some
75130         for the compat linking library.  Remove use of INTDEF/INTUSE.
75131         * sunrpc/auth_none.c: Likewise.
75132         * sunrpc/auth_unix.c: Likewise.
75133         * sunrpc/authdes_prot.c: Likewise.
75134         * sunrpc/authuxprot.c: Likewise.
75135         * sunrpc/clnt_gen.c: Likewise.
75136         * sunrpc/clnt_perr.c: Likewise.
75137         * sunrpc/clnt_raw.c: Likewise.
75138         * sunrpc/clnt_simp.c: Likewise.
75139         * sunrpc/clnt_tcp.c: Likewise.
75140         * sunrpc/clnt_udp.c: Likewise.
75141         * sunrpc/clnt_unix.c: Likewise.
75142         * sunrpc/des_crypt.c: Likewise.
75143         * sunrpc/des_soft.c: Likewise.
75144         * sunrpc/get_myaddr.c: Likewise.
75145         * sunrpc/key_call.c: Likewise.
75146         * sunrpc/key_prot.c: Likewise.
75147         * sunrpc/netname.c: Likewise.
75148         * sunrpc/pm_getmaps.c: Likewise.
75149         * sunrpc/pm_getport.c: Likewise.
75150         * sunrpc/pmap_clnt.c: Likewise.
75151         * sunrpc/pmap_prot.c: Likewise.
75152         * sunrpc/pmap_prot2.c: Likewise.
75153         * sunrpc/pmap_rmt.c: Likewise.
75154         * sunrpc/publickey.c: Likewise.
75155         * sunrpc/rpc_cmsg.c: Likewise.
75156         * sunrpc/rpc_common.c: Likewise.
75157         * sunrpc/rpc_dtable.c: Likewise.
75158         * sunrpc/rpc_prot.c: Likewise.
75159         * sunrpc/rpc_thread.c: Likewise.
75160         * sunrpc/rtime.c: Likewise.
75161         * sunrpc/svc.c: Likewise.
75162         * sunrpc/svc_auth.c: Likewise.
75163         * sunrpc/svc_authux.c: Likewise.
75164         * sunrpc/svc_raw.c: Likewise.
75165         * sunrpc/svc_run.c: Likewise.
75166         * sunrpc/svc_simple.c: Likewise.
75167         * sunrpc/svc_tcp.c: Likewise.
75168         * sunrpc/svc_udp.c: Likewise.
75169         * sunrpc/svc_unix.c: Likewise.
75170         * sunrpc/svcauth_des.c: Likewise.
75171         * sunrpc/xcrypt.c: Likewise.
75172         * sunrpc/xdr.c: Likewise.
75173         * sunrpc/xdr_array.c: Likewise.
75174         * sunrpc/xdr_float.c: Likewise.
75175         * sunrpc/xdr_intXX_t.c: Likewise.
75176         * sunrpc/xdr_mem.c: Likewise.
75177         * sunrpc/xdr_rec.c: Likewise.
75178         * sunrpc/xdr_ref.c: Likewise.
75179         * sunrpc/xdr_sizeof.c: Likewise.
75180         * sunrpc/xdr_stdio.c: Likewise.
75182 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
75184         [BZ #12650]
75185         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
75186         * sysdeps/ia64/dl-tls.h: Likewise.
75187         * sysdeps/powerpc/dl-tls.h: Likewise.
75188         * sysdeps/s390/dl-tls.h: Likewise.
75189         * sysdeps/sh/dl-tls.h: Likewise.
75190         * sysdeps/sparc/dl-tls.h: Likewise.
75191         * sysdeps/x86_64/dl-tls.h: Likewise.
75192         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
75194 2011-03-14  Andreas Schwab  <schwab@redhat.com>
75196         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
75197         rpath element also skip the following colon.
75198         (expand_dynamic_string_token): Add is_path parameter and pass
75199         down to DL_DST_REQUIRED and _dl_dst_substitute.
75200         (decompose_rpath): Call expand_dynamic_string_token with
75201         non-zero is_path.  Ignore empty rpaths.
75202         (_dl_map_object_from_fd): Call expand_dynamic_string_token
75203         with zero is_path.
75205 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
75207         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
75208         Make cancelable.
75210 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
75212         [BZ #12655]
75213         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
75214         Patch by Filipe David Manana <fdmanana@apache.org>.
75216 2011-04-07  Andreas Schwab  <schwab@redhat.com>
75218         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
75219         Maintain aligned stack.
75220         (CHECK_RSP): Remove unused macro.
75222 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
75224         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
75225         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
75227 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
75229         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
75231         * include/features.h: Mention __USE_XOPEN2K8 in comment.
75233 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
75235         [BZ #12518]
75236         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
75237         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
75238         * sysdeps/x86_64/memmove.c: New file.
75239         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
75240         (memcpy): Renamed to ...
75241         (__new_memcpy): This.
75242         (memcpy): Provide GLIBC_2_14 memcpy.
75243         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
75244         (memcpy): Provide GLIBC_2_2_5 memcpy.
75246 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
75248         [BZ #12631]
75249         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
75251 2011-03-30  Andreas Schwab  <schwab@redhat.com>
75253         * misc/syncfs.c: New file.
75254         * misc/Makefile (routines): Add syncfs.
75255         * posix/unistd.h: Declare syncfs.
75256         * sysdeps/unix/syscalls.list: Add syncfs.
75258 2011-04-01  Andreas Schwab  <schwab@redhat.com>
75260         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
75261         open_by_handle_at.
75262         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
75263         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
75264         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
75265         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
75266         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
75267         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
75268         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
75270 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
75272         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
75273         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
75274         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
75275         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
75276         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
75277         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
75278         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
75280         * io/Makefile: Compile fallocate.c, fallocate64.c, and
75281         sync_file_range.c with -fexceptions.
75282         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
75283         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
75284         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
75285         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
75286         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
75287         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
75288         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
75289         sync_file_range as cancellation point
75290         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
75291         now a wrapper around __call_sync_file_range with cancellation handling.
75292         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
75293         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
75294         function name to __call_sync_file_range.
75295         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
75296         Add call_sync_file_range.
75298 2011-04-01  Andreas Schwab  <schwab@redhat.com>
75300         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
75301         bits/timex.h.
75303 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
75305         * iconv/iconv.h: Fix typo in comment.
75306         * io/fcntl.h: Likewise.
75307         * libio/stdio.h: Likewise.
75308         * posix/spawn.h: Likewise.
75309         * posix/unistd.h: Likewise.
75310         * stdlib/stdlib.h: Likewise.
75311         * time/time.h: Likewise.
75312         * wcsmbs/wchar.h: Likewise.
75314         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
75315         open_by_handle): Add.
75316         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
75317         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
75318         Augment a few comments.
75319         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
75320         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
75321         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
75322         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
75323         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
75324         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
75325         open_by_handle.
75327         * io/fcntl.h (AT_EMPTY_PATH): Define.
75329 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
75331         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
75332         * sysdeps/unix/sysv/linux/bits/time.h: New file.
75333         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
75334         to...
75335         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
75336         * Versions.def: Add GLIBC_2.14.
75337         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
75338         Export.
75340 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
75342         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
75343         round counter.
75344         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
75346 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
75348         [BZ #12597]
75349         * string/test-strncmp.c (do_page_test): New function.
75350         (check2): Likewise.
75351         (test_main): Call check2.
75352         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
75354 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
75356         [BZ #12587]
75357         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
75358         Handle cache information in CPU leaf 4.
75359         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
75361 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
75363         [BZ #12583]
75364         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
75365         character representation.
75366         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
75368 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
75370         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
75371         END(__isnan) to END(__isnanf) to match function entry point/label
75372         EALIGN(__isnanf,...).
75374 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
75376         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
75378 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
75380         [BZ #12510]
75381         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
75382         copy from the symbol referenced in the relocation to initialize the
75383         used variable.
75384         Patch by Piotr Bury <pbury@goahead.com>.
75385         * elf/Makefile: Add rules to build and tst-unique3.
75386         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
75387         * elf/tst-unique3.cc: New file.
75388         * elf/tst-unique3.h: New file.
75389         * elf/tst-unique3lib.cc: New file.
75390         * elf/tst-unique3lib2.cc: New file.
75392         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
75394 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
75396         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
75397         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
75398         to _start.
75400 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
75402         * elf/dl-load.c (_dl_map_object): If we are looking for the first
75403         to-be-loaded object along a path to loader is ld.so.
75405 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
75406             Ulrich Drepper  <drepper@gmail.com>
75408         * sysdeps/x86_64/memset.S: After aligning destination, code
75409         branches to different locations depending on the value of
75410         misalignment, when multiarch is enabled. Fix this.
75412 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
75414         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
75415         Set _x86_64_preferred_memory_instruction for AMD processsors.
75416         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
75417         Set bit_Prefer_SSE_for_memop for AMD processors.
75419 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
75421         * libio/fmemopen.c (fmemopen): Optimize a bit.
75423 2011-03-03  Andreas Schwab  <schwab@redhat.com>
75425         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
75427 2011-03-03  Roland McGrath  <roland@redhat.com>
75429         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
75431 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
75433         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
75434         __bzero_ultra1 instead of __memset_ultra1.
75436 2011-02-23  Andreas Schwab  <schwab@redhat.com>
75437             Ulrich Drepper  <drepper@gmail.com>
75439         [BZ #12509]
75440         * include/link.h (struct link_map): Add l_orig_initfini.
75441         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
75442         returning unsuccessfully.
75443         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
75444         close of a file loaded at startup, restore the original l_initfini
75445         list.
75446         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
75447         list, store the pointer.
75448         * elf/Makefile ($(objpfx)noload-mem): New rule.
75449         (noload-ENV): Define.
75450         (tests): Add $(objpfx)noload-mem.
75451         * elf/noload.c: Include <memcheck.h>.
75452         (main): Call mtrace.  Close all opened handles.
75454 2011-02-17  Andreas Schwab  <schwab@redhat.com>
75456         [BZ #12454]
75457         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
75458         dependencies are missing.
75460 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
75462         Fix __if_freereq crash: Unlike the generic version which uses free,
75463         Hurd needs munmap.
75464         * sysdeps/mach/hurd/ifreq.h: New file.
75466 2011-01-27  Petr Baudis  <pasky@suse.cz>
75467             Ulrich Drepper  <drepper@gmail.com>
75469         [BZ 12445]#
75470         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
75471         to extend_alloca().
75472         * stdio-common/bug23.c: New file.
75473         * stdio-common/Makefile (tests): Add bug23.
75475 2010-09-28  Andreas Schwab  <schwab@redhat.com>
75476             Ulrich Drepper  <drepper@gmail.com>
75478         [BZ #12489]
75479         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
75480         before performing relro protection.  At old place add assertion
75481         to make sure nothing changed.
75483 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
75484             Glauber de Oliveira Costa  <glommer@gmail.com>
75486         * elf/elf.h: Add new ARM TLS relocs.
75488 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
75490         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
75491         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
75492         cast from r3.
75493         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
75494         'tests' variable.
75495         * sysdeps/wordsize-64/tst-writev.c: New file.
75497 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
75499         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
75500         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
75501         insns in _dl_start to prevent a TOC reference before relocs are
75502         resolved.
75504 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
75506         [BZ #12469]
75507         * Makeconfig: Remove RANLIB definition.
75508         * Makerules: Don't use RANLIB.
75509         * aclocal.m4: Remove ranlib test.
75510         * configure.in: No need to check for ranlib.
75511         * elf/rtld-Rules: Don't use RANLIB.
75513 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
75515         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
75516         protection macro.
75517         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
75518         inclusion protection macro.
75520         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
75521         SIGRTMIN and SIGRTMAX and print information in that case only when
75522         SIGRTMIN is defined.
75524 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
75526         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
75527         arginfo fn returning -1.
75529         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
75530         and thousands string is zero terminated.
75532 2011-02-03  Andreas Schwab  <schwab@redhat.com>
75534         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
75535         sysdeps/unix/sysv/linux/bits/socket.h.
75537 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
75539         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
75540         (__CPU_COUNT): Remove old macros.
75541         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
75542         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
75543         (__CPU_ALLOC, __CPU_FREE): Add macros.
75544         (__sched_cpualloc, __sched_cpufree): Add declarations.
75546 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
75548         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
75549         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
75550         * nscd/aicache.c (addhstaiX): Return timeout of added value.
75551         (readdhstai): Return value of addhstaiX call.
75552         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
75553         (addgrbyX): Return value returned by cache_addgr.
75554         (readdgrbyname): Return value returned by addgrbyX.
75555         (readdgrbygid): Likewise.
75556         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
75557         (addpwbyX): Return value returned by cache_addpw.
75558         (readdpwbyname): Return value returned by addhstbyX.
75559         (readdpwbyuid): Likewise.
75560         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
75561         (addservbyX): Return value returned by cache_addserv.
75562         (readdservbyname): Return value returned by addservbyX:
75563         (readdservbyport): Likewise.
75564         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
75565         (addhstbyX): Return value returned by cache_addhst.
75566         (readdhstbyname): Return value returned by addhstbyX.
75567         (readdhstbyaddr): Likewise.
75568         (readdhstbynamev6): Likewise.
75569         (readdhstbyaddrv6): Likewise.
75570         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
75571         (readdinitgroups): Return value returned by addinitgroupsX.
75572         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
75573         (prune_cache): Keep track of timeout value of re-added entries.
75574         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
75575         * nscd/nscd.h: Adjust prototypes of readd* functions.
75577 2011-02-04  Roland McGrath  <roland@redhat.com>
75579         * nis/nis_server.c (nis_servstate): Use the right name for 0.
75580         (nis_stats): Likewise.
75581         * nis/nis_modify.c (nis_modify): Likewise.
75582         * nis/nis_remove.c (nis_remove): Likewise.
75583         * nis/nis_add.c (nis_add): Likewise.
75585         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
75587         * posix/fnmatch_loop.c: Add some consts.
75589         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
75591 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
75593         [BZ #12460]
75594         * config.make.in (config-cflags-novzeroupper): Define.
75595         * configure.in: Substitute libc_cv_cc_novzeroupper.
75596         * elf/Makefile (AVX-CFLAGS): Define.
75597         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
75598         (CFLAGS-tst-auditmod4a.c): Likewise.
75599         (CFLAGS-tst-auditmod4b.c): Likewise.
75600         (CFLAGS-tst-auditmod6b.c): Likewise.
75601         (CFLAGS-tst-auditmod6c.c): Likewise.
75602         (CFLAGS-tst-auditmod7b.c): Likewise.
75603         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
75605 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
75607         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
75608         function to the callback.
75609         Patch partly by Jiri Olsa <jolsa@redhat.com>.
75611 2011-02-02  Andreas Schwab  <schwab@redhat.com>
75613         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
75614         of errno.
75616 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
75618         [BZ #11724]
75619         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
75620         of constructors.
75621         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
75622         of destructors.
75623         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
75625         [BZ #11724]
75626         * elf/Makefile: Add rules to build and run new test.
75627         * elf/tst-initorder.c: New file.
75628         * elf/tst-initorder.exp: New file.
75629         * elf/tst-initordera1.c: New file.
75630         * elf/tst-initordera2.c: New file.
75631         * elf/tst-initordera3.c: New file.
75632         * elf/tst-initordera4.c: New file.
75633         * elf/tst-initorderb1.c: New file.
75634         * elf/tst-initorderb2.c: New file.
75635         * elf/tst-order-a1.c: New file.
75636         * elf/tst-order-a2.c: New file.
75637         * elf/tst-order-a3.c: New file.
75638         * elf/tst-order-a4.c: New file.
75639         * elf/tst-order-b1.c: New file.
75640         * elf/tst-order-b2.c: New file.
75641         * elf/tst-order-main.c: New file.
75642         New test case by George Gensure <werkt0@gmail.com>.
75644 2010-10-01  Andreas Schwab  <schwab@redhat.com>
75646         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
75647         decoding ACE if AI_CANONIDN.
75649 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
75651         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
75653 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
75655         * version.h (RELEASE): Bump for 2.13 release.
75656         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
75658         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
75660         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
75661         MADV_NOHUGEPAGE.
75662         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
75663         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
75664         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
75665         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
75666         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
75667         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
75669         * posix/getconf.c: Update copyright year.
75670         * catgets/gencat.c: Likewise.
75671         * csu/version.c: Likewise.
75672         * debug/catchsegv.sh: Likewise.
75673         * debug/xtrace.sh: Likewise.
75674         * elf/ldconfig.c: Likewise.
75675         * elf/ldd.bash.in: Likewise.
75676         * elf/sprof.c (print_version): Likewise.
75677         * iconv/iconv_prog.c: Likewise.
75678         * iconv/iconvconfig.c: Likewise.
75679         * locale/programs/locale.c: Likewise.
75680         * locale/programs/localedef.c: Likewise.
75681         * malloc/memusage.sh: Likewise.
75682         * malloc/mtrace.pl: Likewise.
75683         * nscd/nscd.c (print_version): Likewise.
75684         * nss/getent.c: Likewise.
75686         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
75687         PF_CAIF, and PF_ALG.
75688         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
75690 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
75692         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
75693         (modules-names): Use them.
75694         (ifunc-test-modules, ifunc-pie-tests): Define.
75695         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
75696         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
75697         (test-extras): Likewise.
75698         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
75699         $(compile-command.c).
75700         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
75701         (all-built-dso): Define.
75702         (check-textrel.out, check-execstack.out): Depend on it.
75704         * configure.in: Don't override --enable-multi-arch.
75706 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
75708         [BZ #6812]
75709         * nscd/hstcache.c (tryagain): Define.
75710         (cache_addhst): Return tryagain not notfound for temporary errors.
75711         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
75712         failed.
75714 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
75716         [BZ #10563]
75717         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
75718         to make the syscall.
75719         * sysdeps/unix/sysv/linux/setgroups.c: New file.
75721         [BZ #12378]
75722         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
75723         and fall back to matching as normal character if the string ends before
75724         the matching ']' is found.  This is what POSIX requires.
75725         * posix/testfnm.c: Adjust test result.
75726         * posix/globtest.sh: Adjust test result.  Add new test.
75727         * posix/tst-fnmatch.input: Likewise.
75728         * posix/tst-fnmatch2.c: Add new test.
75730 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
75732         * elf/Makefile (check-execstack): Revert last change.  Depend on
75733         check-execstack.h.
75734         (check-execstack.h): New target.
75735         (generated): Add check-execstack.h.
75736         * elf/check-execstack.c: Include "check-execstack.h".
75737         (main): Revert last change.
75738         (handle_file): Return zero if GNU_STACK is absent and
75739         DEFAULT_STACK_PERMS doesn't include PF_X.
75741 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
75743         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
75744         in child fails because the descriptor is already closed.
75745         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
75746         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
75747         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
75749         [BZ #12397]
75750         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
75751         syscall.
75753         [BZ #10484]
75754         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
75755         temporary buffer used to handle multi lookups locally.
75756         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
75758 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
75760         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
75761         loader is ld.so.
75763 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
75765         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
75766         alignment for SSE2.
75768 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
75770         [BZ #12394]
75771         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
75772         characters.  When rounding increased number of integer digits recompute
75773         number of groups.
75774         * stdio-common/tst-grouping.c: New file.
75775         * stdio-common/Makefile: Add rules to build and run tst-grouping.
75777 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
75779         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
75780         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
75782         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
75783         void.
75784         * bits/select.h: Likewise.
75786 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
75788         * po/ja.po: Update from translation team.
75790 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
75792         [BZ #11155]
75793         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
75794         implementation just like for lxstat, fxstatat, et al.
75796 2010-12-27  Jim Meyering  <meyering@redhat.com>
75798         [BZ #12348]
75799         * posix/regexec.c (build_trtable): Return failure indication upon
75800         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
75802 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
75804         [BZ #12201]
75805         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
75806         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
75807         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
75808         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
75810         [BZ #12207]
75811         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
75813         [BZ #12204]
75814         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
75815         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
75817 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
75819         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
75820         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
75821         script has SORT_BY_INIT_PRIORITY.
75822         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
75823         NO_CTORS_DTORS_SECTIONS is defined.
75824         * elf/soinit.c: Likewise.
75825         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
75826         NO_CTORS_DTORS_SECTIONS is defined.
75827         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
75828         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
75829         * sysdeps/sh/init-first.c: Likewise.
75830         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
75832 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
75834         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
75835         always use the slow path.
75837 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
75839         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
75840         similar rule which adds the sysdep directories to the header search in
75841         order to pick up the correct platform stackinfo.h.
75842         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
75843         perform test if it is, otherwise return successfully without testing.
75844         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
75845         DEFAULT_STACK_PERMS define in stackinfo.h.
75846         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
75847         defined in stackinfo.h.
75848         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
75849         DEFAULT_STACK_PERMS defined in stackinfo.h.
75850         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
75851         * sysdeps/ia64/stackinfo.h: Likewise.
75852         * sysdeps/s390/stackinfo.h: Likewise.
75853         * sysdeps/sh/stackinfo.h: Likewise.
75854         * sysdeps/sparc/stackinfo.h: Likewise.
75855         * sysdeps/x86_64/stackinfo.h: Likewise.
75856         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
75857         PF_X for powerpc64.  Retain PF_X for powerpc32.
75859 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
75861         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
75862         accurately.
75863         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
75864         GETDENTS_64BIT_ALIGNED.
75866 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
75868         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
75870 2010-12-10  Andreas Schwab  <schwab@redhat.com>
75872         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
75873         _GNU_SOURCE.
75875         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
75876         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
75877         Remove __restrict.
75878         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
75879         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
75881 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
75883         [BZ #11655]
75884         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
75885         are initialized.
75887 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
75889         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
75891 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
75893         * po/it.po: Update from translation team.
75895 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
75897         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
75898         unused codes.
75900 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
75902         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
75904 2010-11-24  Andreas Schwab  <schwab@redhat.com>
75906         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
75907         specially.
75908         (gaih_getanswer_slice): Likewise.
75910 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
75912         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
75914 2010-05-31  Petr Baudis  <pasky@suse.cz>
75916         [BZ #11149]
75917         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
75918         silently even in the chroot mode.
75920 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
75922         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
75923         last patch a bit.  Pretty printing
75925 2010-05-31  Petr Baudis <pasky@suse.cz>
75927         [BZ #10085]
75928         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
75929         initialization of skip_initgroups_dyn.
75931 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
75933         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
75934         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
75936 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
75938         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
75940 2010-11-11  Andreas Schwab  <schwab@redhat.com>
75942         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
75943         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
75944         (tst-fnmatch-ENV): Set MALLOC_TRACE.
75945         ($(objpfx)tst-fnmatch-mem): New rule.
75946         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
75947         * posix/tst-fnmatch.c (main): Call mtrace.
75949 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
75951         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
75952         Support Intel processor model 6 and model 0x2c.
75954 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
75956         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
75957           signed comparison.
75959 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
75961         [BZ #12205]
75962         * string/test-strncasecmp.c (check_result): New function.
75963         (do_one_test): Use it.
75964         (check1): New function.
75965         (test_main): Use it.
75966         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
75967         Support strcasecmp and strncasecmp.
75969 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
75971         [BZ #12194]
75972         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
75973         * sysdeps/x86_64/bits/byteswap.h: Likewise.
75975 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
75977         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
75978         IFUNC support.
75979         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
75980         memset-x86-64.
75981         * sysdeps/x86_64/multiarch/bzero.S: New file.
75982         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
75983         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
75984         * sysdeps/x86_64/multiarch/memset.S: New file.
75985         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
75986         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
75987         Set bit_Prefer_SSE_for_memop for Intel processors.
75988         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
75989         Define.
75990         (index_Prefer_SSE_for_memop): Define.
75991         (HAS_PREFER_SSE_FOR_MEMOP): Define.
75993 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
75995         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
75996         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
75998 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
76000         [BZ #12191]
76001         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
76002         (__x86_64_raw_data_cache_size_half): Likewise.
76003         (__x86_64_raw_shared_cache_size): Likewise.
76004         (__x86_64_raw_shared_cache_size_half): Likewise.
76006         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
76007         (__x86_64_raw_data_cache_size_half): Likewise.
76008         (__x86_64_raw_shared_cache_size): Likewise.
76009         (__x86_64_raw_shared_cache_size_half): Likewise.
76010         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
76011         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
76012         and __x86_64_raw_shared_cache_size_half.  Round
76013         __x86_64_data_cache_size_half, __x86_64_data_cache_size
76014         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
76015         to multiple of 256 bytes.
76017 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
76019         [BZ #12167]
76020         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
76021         of inacessible symlinks.  Verify result of symlink before returning it.
76022         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
76023         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
76025 2010-10-28  Erich Ritz  <erichritz@gmail.com>
76027         * math/math.h (isinf): Fix typo in comment.
76029 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
76031         * po/da.po: Update from translation team.
76033 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
76035         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
76036         is added to the list.
76038 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
76039             Ulrich Drepper  <drepper@gmail.com>
76041         * elf/dl-object.c (_dl_new_object): Don't append the new object to
76042         the global list here.  Move code to...
76043         (_dl_add_to_namespace_list): ...here.  New function.
76044         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
76045         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
76046         * elf/dl-load.c (lose): Don't remove the element from the list.
76047         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
76048         (_dl_map_object): Likewise.
76050 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
76052         [BZ #12159]
76053         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
76054         into all bytes of SSE register.
76055         Patch by Richard Li <richardpku@gmail.com>.
76057 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
76059         [BZ #12140]
76060         * malloc/malloc.c (_int_free): Fill correct number of bytes when
76061         perturbing.
76063 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
76065         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
76066         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
76067         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
76068         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
76069         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
76070         submachine.
76071         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
76073 2010-10-22  Andreas Schwab  <schwab@redhat.com>
76075         * include/dlfcn.h (__RTLD_SECURE): Define.
76076         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
76077         mode & __RTLD_SECURE instead.
76078         (open_path): Rename preloaded parameter to secure.
76079         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
76080         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
76081         * elf/dl-deps.c (openaux): Likewise.
76082         * elf/rtld.c (struct map_args): Remove is_preloaded.
76083         (map_doit): Don't use it.
76084         (dl_main): Likewise.
76085         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
76086         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
76088 2010-09-09  Andreas Schwab  <schwab@redhat.com>
76090         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
76091         (sysd-rules-targets): Remove duplicates.
76092         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
76093         rtld-%.$o dependency.
76095 2010-10-18  Andreas Schwab  <schwab@redhat.com>
76097         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
76098         _dl_map_object do it.
76100 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
76102         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
76103         fast fma builtins, define the macros in the C99 standard.
76104         (FP_FAST_FMAF): Likewise.
76105         (FP_FAST_FMAL): Likewise.
76106         * sysdeps/x86_64/bits/mathdef.h: Likewise.
76108         * bits/mathdef.h: Update copyright year.
76109         * sysdeps/powerpc/bits/mathdef.h: Likewise.
76111 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
76113         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
76114         builtins, define the macros in the C99 standard.
76115         (FP_FAST_FMAF): Likewise.
76116         (FP_FAST_FMAL): Likewise.
76117         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
76118         multiply/add.
76119         (FP_FAST_FMAF): Likewise.
76121 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
76123         [BZ #3268]
76124         * math/libm-test.inc (fma_test): Some new testcases.
76125         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
76126         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
76127         y and infinite z.  Do multiplication by C already in long double.
76128         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
76129         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
76130         y and infinite z.  Do bitwise or of inexact bit into u.d.
76131         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
76132         * sysdeps/i386/fpu/s_fmaf.S: Removed.
76133         * sysdeps/i386/fpu/s_fma.S: Removed.
76134         * sysdeps/i386/fpu/s_fmal.S: Removed.
76136 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
76138         [BZ #3268]
76139         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
76140         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
76141         computation is not scheduled after fetestexcept.  Fix value
76142         of minimum denormal long double.
76144 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
76146         [BZ #3268]
76147         * math/libm-test.inc (fma_test): Add some more tests.
76148         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
76149         correctly.
76151 2010-10-15  Andreas Schwab  <schwab@redhat.com>
76153         * scripts/data/localplt-s390-linux-gnu.data: New file.
76154         * scripts/data/localplt-s390x-linux-gnu.data: New file.
76156 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
76158         [BZ #3268]
76159         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
76160         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
76161         instead of dbl-64.
76162         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
76163         inlines.
76164         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
76165         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
76166         if one of x and y is very large and the other is subnormal.
76167         * sysdeps/s390/fpu/s_fmaf.c: New file.
76168         * sysdeps/s390/fpu/s_fma.c: New file.
76169         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
76170         * sysdeps/powerpc/fpu/s_fma.S: New file.
76171         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
76172         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
76173         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
76175 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
76177         [BZ #3268]
76178         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
76179         fma tests.
76180         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
76181         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
76182         * sysdeps/i386/i686/multiarch/s_fma.c: Include
76183         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
76184         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
76185         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
76186         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
76188 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
76190         [BZ #12078]
76191         * posix/regcomp.c (parse_branch): One more memory leak plugged.
76192         * posix/bug-regex31.input: Add test case.
76194 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
76196         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
76197         * posix/bug-regex31.input: New file.
76199         [BZ #12078]
76200         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
76201         (parse_sub_exp): Fix last change, use postorder.
76203         * posix/bug-regex31.c: New file.
76204         * posix/Makefile: Add rules to build and run bug-regex31.
76206         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
76208         [BZ #12078]
76209         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
76211         [BZ #12108]
76212         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
76213         to have entries in sys_siglist.
76215         [BZ #12093]
76216         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
76217         be NULL.
76219 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
76221         [BZ #3268]
76222         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
76223         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
76224         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
76225         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
76226         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
76227         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
76228         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
76229         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
76230         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
76231         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
76232         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
76233         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
76234         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
76235         * math/ftestexcept.c (fetestexcept): Likewise.
76236         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
76237         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
76238         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
76239         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
76240         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
76241         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
76242         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
76244 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
76246         [BZ #12107]
76247         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
76248         newline.
76250 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
76252         * string/bug-strstr1.c: New file.
76253         * string/Makefile: Add rules to build and run bug-strstr1.
76255 2010-10-05  Eric Blake  <eblake@redhat.com>
76257         [BZ #12092]
76258         * string/str-two-way.h (two_way_long_needle): Always clear memory
76259         when skipping input due to the shift table.
76261 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
76263         [BZ #12005]
76264         * malloc/mcheck.c: Handle large requests.
76266         [BZ #12077]
76267         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
76268         for strncmp and strncasecmp.
76269         * string/stratcliff.c: Add tests for strcmp and strncmp.
76270         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
76272 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
76274         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
76275         __set_fpscr.
76277 2010-09-30  Andreas Jaeger  <aj@suse.de>
76279         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
76280         (CGROUP_SUPER_MAGIC): Define.
76281         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
76282         Handle btrfs and cgroup file systems.
76283         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
76284         Likewise.
76286 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
76288         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
76289         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
76291 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
76293         [BZ #12067]
76294         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
76295         trying to locate the ELF header.
76297 2010-09-27  Andreas Schwab  <schwab@redhat.com>
76299         [BZ #11611]
76300         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
76301         Mask out sign-bit copies when constructing f_fsid.
76303 2010-09-24  Petr Baudis <pasky@suse.cz>
76305         * debug/stack_chk_fail_local.c: Add missing licence exception.
76306         * debug/warning-nop.c: Likewise.
76308 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
76310         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
76311         implementing getdents64 using getdents syscall, set d_type if
76312         __ASSUME_GETDENTS32_D_TYPE.
76314 2010-09-16  Andreas Schwab  <schwab@redhat.com>
76316         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
76317         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
76319 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
76321         [BZ #12037]
76322         * posix/unistd.h: Undo change of feature selection for ftruncate from
76323         2010-01-11.
76325 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
76327         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
76328         detection.
76330 2010-09-20  Andreas Schwab  <schwab@redhat.com>
76332         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
76333         fanotify_mark.
76334         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
76336 2010-09-14  Andreas Schwab  <schwab@redhat.com>
76338         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
76339         variables after CHECK_SP call.
76340         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
76342 2010-09-13  Andreas Schwab  <schwab@redhat.com>
76343             Ulrich Drepper  <drepper@redhat.com>
76345         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
76346         re-relocationg ld.so.
76347         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
76348         _dl_init_paths call.
76349         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
76350         here anymore.
76352 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
76354         * resolv/res_init.c (__res_vinit): Count the default server we added.
76356 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
76357             Ulrich Drepper  <drepper@redhat.com>
76359         [BZ #11968]
76360         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
76361         (____longjmp_chk): Use %ebx for saving value across system call.
76362         Add unwind info.
76364 2010-09-06  Andreas Schwab  <schwab@redhat.com>
76366         * manual/Makefile: Don't mix pattern rules with normal rules.
76368 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
76370         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
76371         operation.
76372         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
76373         * libio/iofopncook.c (_IO_cookie_init): Likewise.
76374         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
76375         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
76376         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
76377         Likewise.
76379 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
76381         [BZ #11979]
76382         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
76383         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
76385 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
76387         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
76388         * sysdeps/x86_64/addmul_1.S: Likewise.
76389         * sysdeps/x86_64/lshift.S: Likewise.
76390         * sysdeps/x86_64/mul_1.S: Likewise.
76391         * sysdeps/x86_64/rshift.S: Likewise.
76392         * sysdeps/x86_64/sub_n.S: Likewise.
76393         * sysdeps/x86_64/submul_1.S: Likewise.
76395 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
76397         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
76398         Define __sched_param instead of SCHED_* and sched_param when
76399         <bits/sched.h> is included with __need_schedparam defined.
76400         * bits/sched.h [__need_schedparam]
76401         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
76402         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
76403         (__defined_schedparam): Define to 1.
76404         (__sched_param): New structure, identical to sched_param.
76405         (__need_schedparam): Undefine.
76407 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
76409         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
76410         (epoll_create1): Declare.
76412         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
76414 2010-08-31  Andreas Schwab  <schwab@redhat.com>
76416         [BZ #7066]
76417         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
76418         shifting retval into place.
76420 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
76422         * nis/rpcsvc/nis.h: Update copyright notice.
76423         * nis/rpcsvc/nis.x: Likewise.
76424         * nis/rpcsvc/nis_callback.h: Likewise.
76425         * nis/rpcsvc/nis_callback.x: Likewise.
76426         * nis/rpcsvc/nis_object.x: Likewise.
76427         * nis/rpcsvc/nis_tags.h: Likewise.
76428         * nis/rpcsvc/yp.h: Likewise.
76429         * nis/rpcsvc/yp.x: Likewise.
76430         * nis/rpcsvc/ypupd.h: Likewise.
76431         * nis/yp_xdr.c: Likewise.
76432         * nis/ypupdate_xdr.c: Likewise.
76434         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
76435         mainly the body of pmap_getport.  Add parameters to specify timeouts.
76436         (pmap_getport): Use __libc_rpc_getport.
76437         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
76438         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
76439         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
76441 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
76443         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
76444         fanotify_mark.
76446 2010-08-27  Roland McGrath  <roland@redhat.com>
76448         * sysdeps/i386/i686/multiarch/Makefile
76449         (CFLAGS-varshift.c): New variable.
76451 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
76453         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
76454         * sysdeps/i386/i686/multiarch/varshift.c: New file.
76456         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
76458         * sysdeps/x86_64/strlen.S: Minimal code improvement.
76460 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
76462         * sysdeps/x86_64/strlen.S: Unroll the loop.
76463         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
76464         strlen-sse2 strlen-sse2-bsf.
76465         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
76466         __strlen_no_bsf if bit_Slow_BSF is set.
76467         (__strlen_sse42): Removed.
76468         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
76469         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
76471 2010-08-25  Roland McGrath  <roland@redhat.com>
76473         * sysdeps/x86_64/multiarch/varshift.S: File removed.
76474         * sysdeps/x86_64/multiarch/varshift.c: New file.
76475         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
76476         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
76477         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
76478         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
76480 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
76482         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
76483         strlen-sse2 strlen-sse2-bsf.
76484         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
76485         __strlen_sse2_bsf if bit_Slow_BSF is unset.
76486         (__strlen_sse2): Removed.
76487         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
76488         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
76489         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
76490         bit_Slow_BSF for Atom.
76491         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
76492         (index_Slow_BSF): Define.
76493         (HAS_SLOW_BSF): Define.
76495 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
76497         [BZ #10851]
76498         * resolv/res_init.c (__res_vinit): When no server address at all
76499         is given default to loopback.
76501 2010-08-24  Roland McGrath  <roland@redhat.com>
76503         * configure.in: Remove config-name.h generation.
76504         * configure: Regenerated.
76505         * config-name.in: File removed.
76506         * scripts/config-uname.sh: New file.
76507         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
76508         ($(objdir)config-name.h): New target.
76510         * sunrpc/rpc_parse.h: Avoid nested comment.
76512 2010-08-24  Richard Henderson  <rth@redhat.com>
76513             Ulrich Drepper  <drepper@redhat.com>
76514             H.J. Lu  <hongjiu.lu@intel.com>
76516         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
76517         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
76518         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
76519         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
76520         _mm_alignr_epi8 with _mm_loadu_si128.
76521         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
76522         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
76523         (__m128i_shift_right): Removed.
76524         * sysdeps/i386/i686/multiarch/varshift.h: New file.
76525         * sysdeps/i386/i686/multiarch/varshift.S: New file.
76526         * sysdeps/x86_64/multiarch/varshift.h: New file.
76527         * sysdeps/x86_64/multiarch/varshift.S: New file.
76529 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
76531         * configure.in: Move assembler checks to before sysdep dir checking.
76533 2010-08-20  Petr Baudis  <pasky@suse.cz>
76535         * LICENSES: Sync the sunrpc license.
76537 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
76539         * sunrpc/auth_des.c: Update copyright notice once again.
76540         * sunrpc/auth_none.c: Likewise.
76541         * sunrpc/auth_unix.c: Likewise.
76542         * sunrpc/authdes_prot.c: Likewise.
76543         * sunrpc/authuxprot.c: Likewise.
76544         * sunrpc/bindrsvprt.c: Likewise.
76545         * sunrpc/clnt_gen.c: Likewise.
76546         * sunrpc/clnt_perr.c: Likewise.
76547         * sunrpc/clnt_raw.c: Likewise.
76548         * sunrpc/clnt_simp.c: Likewise.
76549         * sunrpc/clnt_tcp.c: Likewise.
76550         * sunrpc/clnt_udp.c: Likewise.
76551         * sunrpc/clnt_unix.c: Likewise.
76552         * sunrpc/des_crypt.c: Likewise.
76553         * sunrpc/des_soft.c: Likewise.
76554         * sunrpc/get_myaddr.c: Likewise.
76555         * sunrpc/getrpcport.c: Likewise.
76556         * sunrpc/key_call.c: Likewise.
76557         * sunrpc/key_prot.c: Likewise.
76558         * sunrpc/openchild.c: Likewise.
76559         * sunrpc/pm_getmaps.c: Likewise.
76560         * sunrpc/pm_getport.c: Likewise.
76561         * sunrpc/pmap_clnt.c: Likewise.
76562         * sunrpc/pmap_prot.c: Likewise.
76563         * sunrpc/pmap_prot2.c: Likewise.
76564         * sunrpc/pmap_rmt.c: Likewise.
76565         * sunrpc/rpc/auth.h: Likewise.
76566         * sunrpc/rpc/auth_unix.h: Likewise.
76567         * sunrpc/rpc/clnt.h: Likewise.
76568         * sunrpc/rpc/des_crypt.h: Likewise.
76569         * sunrpc/rpc/key_prot.h: Likewise.
76570         * sunrpc/rpc/netdb.h: Likewise.
76571         * sunrpc/rpc/pmap_clnt.h: Likewise.
76572         * sunrpc/rpc/pmap_prot.h: Likewise.
76573         * sunrpc/rpc/pmap_rmt.h: Likewise.
76574         * sunrpc/rpc/rpc.h: Likewise.
76575         * sunrpc/rpc/rpc_des.h: Likewise.
76576         * sunrpc/rpc/rpc_msg.h: Likewise.
76577         * sunrpc/rpc/svc.h: Likewise.
76578         * sunrpc/rpc/svc_auth.h: Likewise.
76579         * sunrpc/rpc/types.h: Likewise.
76580         * sunrpc/rpc/xdr.h: Likewise.
76581         * sunrpc/rpc_clntout.c: Likewise.
76582         * sunrpc/rpc_cmsg.c: Likewise.
76583         * sunrpc/rpc_common.c: Likewise.
76584         * sunrpc/rpc_cout.c: Likewise.
76585         * sunrpc/rpc_dtable.c: Likewise.
76586         * sunrpc/rpc_hout.c: Likewise.
76587         * sunrpc/rpc_main.c: Likewise.
76588         * sunrpc/rpc_parse.c: Likewise.
76589         * sunrpc/rpc_parse.h: Likewise.
76590         * sunrpc/rpc_prot.c: Likewise.
76591         * sunrpc/rpc_sample.c: Likewise.
76592         * sunrpc/rpc_scan.c: Likewise.
76593         * sunrpc/rpc_scan.h: Likewise.
76594         * sunrpc/rpc_svcout.c: Likewise.
76595         * sunrpc/rpc_tblout.c: Likewise.
76596         * sunrpc/rpc_util.c: Likewise.
76597         * sunrpc/rpc_util.h: Likewise.
76598         * sunrpc/rpcinfo.c: Likewise.
76599         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
76600         * sunrpc/rpcsvc/key_prot.x: Likewise.
76601         * sunrpc/rpcsvc/klm_prot.x: Likewise.
76602         * sunrpc/rpcsvc/mount.x: Likewise.
76603         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
76604         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
76605         * sunrpc/rpcsvc/rex.x: Likewise.
76606         * sunrpc/rpcsvc/rstat.x: Likewise.
76607         * sunrpc/rpcsvc/rusers.x: Likewise.
76608         * sunrpc/rpcsvc/sm_inter.x: Likewise.
76609         * sunrpc/rpcsvc/spray.x: Likewise.
76610         * sunrpc/rpcsvc/yppasswd.x: Likewise.
76611         * sunrpc/rtime.c: Likewise.
76612         * sunrpc/svc.c: Likewise.
76613         * sunrpc/svc_auth.c: Likewise.
76614         * sunrpc/svc_authux.c: Likewise.
76615         * sunrpc/svc_raw.c: Likewise.
76616         * sunrpc/svc_run.c: Likewise.
76617         * sunrpc/svc_simple.c: Likewise.
76618         * sunrpc/svc_tcp.c: Likewise.
76619         * sunrpc/svc_udp.c: Likewise.
76620         * sunrpc/svc_unix.c: Likewise.
76621         * sunrpc/svcauth_des.c: Likewise.
76622         * sunrpc/xcrypt.c: Likewise.
76623         * sunrpc/xdr.c: Likewise.
76624         * sunrpc/xdr_array.c: Likewise.
76625         * sunrpc/xdr_float.c: Likewise.
76626         * sunrpc/xdr_mem.c: Likewise.
76627         * sunrpc/xdr_rec.c: Likewise.
76628         * sunrpc/xdr_ref.c: Likewise.
76629         * sunrpc/xdr_sizeof.c: Likewise.
76630         * sunrpc/xdr_stdio.c: Likewise.
76632         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
76633         handling.
76635 2010-08-19  Andreas Schwab  <schwab@redhat.com>
76637         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
76639 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
76641         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
76642         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
76643         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
76644         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
76645         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
76646         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
76647         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
76648         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
76649         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
76650         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
76651         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
76652         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
76653         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
76654         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
76656 2010-07-26  Anton Blanchard  <anton@samba.org>
76658         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
76659         * malloc/arena.c (heap_trim): Likewise.
76661 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
76663         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
76664         here.  Not...
76665         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
76666         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
76668 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
76670         * sysdeps/i386/elf/Makefile: New file.
76672 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
76674         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
76675         from fanotify_init.
76676         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
76677         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
76679 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
76681         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
76682         of strncasecmp_l.
76683         * sysdeps/multiarch/strcmp.S: Likewise.
76685 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
76687         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
76688         strncase_l-nonascii.
76689         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
76690         Add strncase_l-ssse3.
76691         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
76692         * sysdeps/x86_64/strcmp.S: Likewise.
76693         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
76694         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
76695         * sysdeps/x86_64/strncase.S: New file.
76696         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
76697         * sysdeps/x86_64/strncase_l.S: New file.
76698         * string/Makefile (strop-tests): Add strncasecmp.
76699         * string/test-strncasecmp.c: New file.
76701         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
76702         warning.
76704         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
76705         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
76707 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
76709         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
76711 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
76713         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
76714         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
76715         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
76717 2010-05-01  Alan Modra  <amodra@gmail.com>
76719         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
76720         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
76721         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
76722         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
76723         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
76724         tidying.  Don't tail-call __sigjmp_save for static lib.
76725         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
76726         save location.
76727         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
76728         (CALL_MCOUNT): Add eh info, and nop after bl.
76729         (TAIL_CALL_SYSCALL_ERROR): New macro.
76730         (PSEUDO_RET): Use it.
76731         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
76732         Correct save location of integer regs and cr.
76733         (_dl_profile_resolve): Correct cr save location.  Delete nops
76734         after bl when SHARED.  Reduce cfi size a little by better
76735         placement of cfi directives.
76736         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
76737         make a stack frame.  Instead use parm save area as a temp.
76738         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
76739         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
76740         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
76741         Don't make a stack frame for parent, use parm save area.
76742         Increase child stack frame to 112 bytes.  Don't save unused reg,
76743         and adjust reg usage.  Set up cfi on error recovery and
76744         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
76745         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
76746         (__makecontext): Add dummy nop after jump to exit.
76747         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
76748         Use correct parm save area and cr save, reduce stack frame.
76749         Correct cfi for possible PSEUDO_RET frame setup.
76750         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
76751         Branch to local label emitted by PSEUDO_RET rather than
76752         __syscall_error.
76754 2010-08-12  Andreas Schwab  <schwab@redhat.com>
76756         [BZ #11904]
76757         * locale/programs/locale.c (print_assignment): New function.
76758         (show_locale_vars): Use it.
76760 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
76762         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
76763         field.
76764         (struct statfs64): Likewise.
76765         (_STATFS_F_FLAGS): Define.
76766         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
76767         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
76768         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
76769         (ST_VALID): Define locally.
76770         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
76771         __statvfs_getflags, use the provided value.
76772         * sysdeps/unix/sysv/linux/kernel-features.h: Define
76773         __ASSUME_STATFS_F_FLAGS.
76775         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
76777         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
76778         Add sys/fanotify.h.
76779         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
76780         fanotify_mask for GLIBC_2.13.
76781         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
76782         fanotify_init and fanotify_mark.
76783         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
76784         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
76786         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
76787         Add prlimit.
76788         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
76789         prlimit64 for GLIBC_2.13.
76790         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
76791         prlimit64.
76792         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
76793         syscall.
76794         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
76795         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
76796         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
76797         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
76798         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
76799         add prlimit alias.
76800         * sysdeps/unix/sysv/linux/prlimit.c: New file.
76802         [BZ #11903]
76803         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
76804         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
76806         * nss/Makefile: Add rules to build and run tst-nss-test1.
76807         * shlib-versions: Add entry for libnss_test1.
76808         * nss/nss_test1.c: New file.
76809         * nss/tst-nss-test1.c: New file.
76811         * nss/nsswitch.c (__nss_database_custom): Define new variable.
76812         (__nss_configure_lookup): Set appropriate entry in
76813         __nss_configure_lookup to true.
76814         * nss/nsswitch.h: Define enum with indeces of databases in
76815         databases and __nss_database_custom arrays.  Declare
76816         __nss_database_custom.
76817         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
76818         to avoid using nscd when custom rules are installed.
76819         * nss/getXXbyYY_r.c: Likewise.
76820         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
76822         * nss/nss_files/files-parse.c: Whitespace fixes.
76824 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
76826         [BZ #11883]
76827         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
76828         * posix/fnmatch_loop.c: Likewise.
76830 2010-07-17  Andi Kleen  <ak@linux.intel.com>
76832         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
76833         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
76834         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
76835         * Versions.def [GLIBC_2.13]: Add.
76837 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
76839         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
76840         Also fail if tpwd after pwuid call is NULL.
76842 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
76844         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
76845         when converting to ms.
76847 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
76849         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
76850         EOPNOTSUPP errors with ENOTTY.
76851         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
76852         EOPNOTSUPP errors with ENOTTY.
76854 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
76856         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
76857         Add strcasecmp_l-ssse3.
76858         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
76859         strcasecmp.
76860         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
76861         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
76862         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
76864 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
76866         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
76868         * string/Makefile (strop-tests): Add strcasecmp.
76869         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
76870         strcasecmp_l-nonascii.
76871         (gen-as-const-headers): Add locale-defines.sym.
76872         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
76873         * sysdeps/x86_64/strcasecmp.S: New file.
76874         * sysdeps/x86_64/strcasecmp_l.S: New file.
76875         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
76876         * sysdeps/x86_64/locale-defines.sym: New file.
76877         * string/test-strcasecmp.c: New file.
76879         * string/test-strcasestr.c: Test both ends of the range of characters.
76880         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
76882 2010-07-29  Roland McGrath  <roland@redhat.com>
76884         [BZ #11856]
76885         * manual/locale.texi (Yes-or-No Questions): Fix example code.
76887 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
76889         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
76890         for ld.so.
76892 2010-07-27  Andreas Schwab  <schwab@redhat.com>
76894         * manual/memory.texi (Malloc Tunable Parameters): Document
76895         M_PERTURB.
76897 2010-07-26  Roland McGrath  <roland@redhat.com>
76899         [BZ #11840]
76900         * configure.in (-fgnu89-inline check): Set and substitute
76901         gnu89_inline, not libc_cv_gnu89_inline.
76902         * configure: Regenerated.
76903         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
76905 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
76907         * string/test-strnlen.c: New file.
76908         * string/Makefile (strop-tests): Add strnlen.
76909         * string/tester.c (test_strnlen): Add a few more test cases.
76910         * string/tst-strlen.c: Better error reporting.
76912         * sysdeps/x86_64/strnlen.S: New file.
76914 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
76916         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
76917         lower-latency instructions.
76919 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
76921         * string/test-strcasestr.c: New file.
76922         * string/test-strstr.c: New file.
76923         * string/Makefile (strop-tests): Add strstr and strcasestr.
76924         * string/str-two-way.h: Don't undefine MAX.
76925         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
76927 2010-07-21  Andreas Schwab  <schwab@redhat.com>
76929         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
76930         strcasestr-nonascii.
76931         (CFLAGS-strcasestr-nonascii.c): Define.
76932         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
76933         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
76934         Remove unused attribute.
76936 2010-07-20  Roland McGrath  <roland@redhat.com>
76938         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
76939         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
76940         ld.so.cache was broken.  With it, there is no way to disable dsocaps
76941         like LD_HWCAP_MASK can disable hwcaps.
76943 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
76945         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
76947 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
76949         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
76950         call in strcasestr.
76951         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
76952         __strcasestr_sse42_nonascii.
76953         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
76954         strcasestr-nonascii.c.
76955         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
76957 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
76959         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
76960         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
76961         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
76962         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
76964 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
76966         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
76967         fcntl.
76969 2010-07-06  Andreas Schwab  <schwab@redhat.com>
76971         [BZ #11577]
76972         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
76973         dl_signal_cerror.
76975 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
76977         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
76978         _PC_PIPE_BUF using F_GETPIPE_SZ.
76980 2010-07-05  Roland McGrath  <roland@redhat.com>
76982         * manual/arith.texi (Rounding Functions): Fix rint description
76983         implicit in round description.
76985 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
76987         * elf/Makefile: Fix linking for a few tests to make recent linker
76988         happy.
76990 2010-06-30  Andreas Schwab  <schwab@redhat.com>
76992         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
76993         $(common-objpfx)libc_nonshared.a.
76995 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
76997         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
76998         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
76999         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
77000         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
77001         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
77002         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
77003         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
77004         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
77005         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
77006         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
77007         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
77008         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
77009         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
77010         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
77011         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
77012         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
77013         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
77014         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
77015         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
77016         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
77017         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
77018         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
77019         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
77020         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
77021         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
77022         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
77023         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
77024         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
77025         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
77026         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
77027         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
77028         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
77029         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
77030         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
77031         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
77032         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
77033         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
77034         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
77035         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
77036         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
77037         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
77038         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
77039         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
77040         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
77041         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
77042         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
77043         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
77044         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
77046 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
77048         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
77049         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
77050         * string/memmove.c (memmove): Renamed to ...
77051         (MEMMOVE): ...this.  Default to memmove.
77052         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
77053         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
77054         (END_CHK): Define.
77055         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
77056         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
77057         mempcpy-ssse3-back memmove-ssse3-back.
77058         * sysdeps/x86_64/multiarch/bcopy.S: New file .
77059         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
77060         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
77061         * sysdeps/x86_64/multiarch/memcpy.S: New file.
77062         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
77063         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
77064         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
77065         * sysdeps/x86_64/multiarch/memmove.c: New file.
77066         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
77067         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
77068         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
77069         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
77070         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
77071         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
77072         Define.
77073         (index_Fast_Copy_Backward): Define.
77074         (HAS_ARCH_FEATURE): Define.
77075         (HAS_FAST_REP_STRING): Define.
77076         (HAS_FAST_COPY_BACKWARD): Define.
77078 2010-06-21  Andreas Schwab  <schwab@redhat.com>
77080         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
77081         Restore proper fallback handling.
77083 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
77085         [BZ #11701]
77086         * posix/group_member.c (__group_member): Correct checking loop.
77088         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
77089         OOM in getpwuid_r correctly.  Return error number when the caller
77090         should return, otherwise -1.
77091         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
77092         call returning > 0 value.
77093         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
77095 2010-06-07  Andreas Schwab  <schwab@redhat.com>
77097         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
77098         libc_nonshared.a from targets in modules-names.
77100 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
77102         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
77103         requires it.
77105 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
77107         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
77108         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
77109         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
77110         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
77112 2010-06-02  Andreas Schwab  <schwab@redhat.com>
77114         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
77116 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
77118         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
77119         and F_GETPIPE_SZ.
77120         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
77121         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
77122         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
77123         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
77124         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
77125         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
77127 2010-06-14  Roland McGrath  <roland@redhat.com>
77129         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
77131 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
77133         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
77134         __REDIRECT followed by __THROW.
77135         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
77136         * posix/getopt.h (getopt): Likewise.
77138 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
77140         * hurd/lookup-at.c (__file_name_lookup_at): Accept
77141         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
77142         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
77143         in AT_FLAGS.
77144         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
77145         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
77147 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
77149         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
77151 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
77153         [BZ #11640]
77154         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
77155         Properly check family and model.
77157 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
77159         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
77161 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
77163         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
77165 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
77167         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
77168         symbol reference.
77170 2010-05-19  Andreas Schwab  <schwab@redhat.com>
77172         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
77173         symbol reference.
77175 2010-05-21  Andreas Schwab  <schwab@redhat.com>
77177         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
77178         and internal_recvmmsg.
77179         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
77180         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
77181         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
77182         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
77184         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
77185         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
77186         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
77188 2010-05-20  Andreas Schwab  <schwab@redhat.com>
77190         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
77192 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
77194         POWER7 optimizations.
77195         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
77196         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
77198 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
77200         * version.h: Update for 2.13 development version.
77202 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
77204         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
77205         exceptions.  Return 0.
77207 2010-05-07  Roland McGrath  <roland@redhat.com>
77209         * elf/ldconfig.c (main): Add a const.
77211 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
77213         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
77214         (args_options): Add no-idn option.
77215         (ahosts_keys_int): Add idn_flags to ai_flags.
77216         (parse_option): Handle 'i' option to clear idn_flags.
77218         * malloc/malloc.c (_int_free): Possible race in the most recently
77219         added check.  Only act on the data if no current modification
77220         happened.
77222 See ChangeLog.17 for earlier changes.