m68k: suppress -Wframe-address warning
[glibc.git] / ChangeLog
blob48cd1d3563d8d0cc3065a13533a6e09dc66949e2
1 2016-07-04  Andreas Schwab  <schwab@linux-m68k.org>
3         * sysdeps/m68k/Makefile (CFLAGS-mcount.c): Define.
5 2016-07-01  Maciej W. Rozycki  <macro@imgtec.com>
7         * sysdeps/generic/ldsodefs.h
8         (dl_symbol_visibility_binds_local_p): New inline function.
9         * elf/dl-addr.c (determine_info): Treat hidden and internal
10         symbols as local.
11         * elf/dl-lookup.c (do_lookup_x): Likewise.
12         * elf/dl-reloc.c (RESOLVE_MAP): Likewise.
14 2016-07-01  Aurelien Jarno  <aurelien@aurel32.net>
16         * sparc/sparc32/sparcv9/fpu/s_nearbyint.S (__nearbyint): Trigger an
17         invalid exception for a sNaN input.
18         * sparc/sparc32/sparcv9/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
19         * sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S
20         (__nearbyint_vis3): Likewise
21         * sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S
22         (__nearbyintf_vis3): Likewise
23         * sparc/sparc64/fpu/s_nearbyint.S (__nearbyint): Likewise.
24         * sparc/sparc64/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
25         * sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S (__nearbyint_vis3):
26         Likewise.
27         * sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S (__nearbyintf_vis3):
28         Likewise.
30 2016-07-01  H.J. Lu  <hongjiu.lu@intel.com>
32         [BZ #20139]
33         * config.h.in (HAVE_AVX512_ASM_SUPPORT): Renamed to ...
34         (HAVE_AVX512DQ_ASM_SUPPORT): This.
35         * sysdeps/x86_64/configure.ac: Require assembler from binutils
36         2.24 or above.
37         (HAVE_AVX512_ASM_SUPPORT): Removed.
38         (HAVE_AVX512DQ_ASM_SUPPORT): New.
39         * sysdeps/x86_64/configure: Regenerated.
40         * sysdeps/x86_64/dl-trampoline.S: Make HAVE_AVX512_ASM_SUPPORT
41         check unconditional.
42         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
43         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
44         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
45         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
46         Likewise.
47         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
48         Likewise.
49         * sysdeps/x86_64/multiarch/memmove.S: Likewise.
50         * sysdeps/x86_64/multiarch/memmove_chk.S: Likewise.
51         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
52         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
53         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S:
54         Likewise.
55         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
56         Likewise.
57         * sysdeps/x86_64/multiarch/memset.S: Likewise.
58         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
59         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Check
60         HAVE_AVX512DQ_ASM_SUPPORT instead of HAVE_AVX512_ASM_SUPPORT.
61         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S:
62         Likewise.
63         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S:
64         Likewise.
65         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S:
66         Likewise.
67         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S:
68         Likewise.
69         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.:
70         Likewise.
71         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S:
72         Likewise.
73         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S:
74         Likewise.
75         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S:
76         Likewise.
77         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S:
78         Likewise.
79         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx51:
80         Likewise.
81         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S:
82         Likewise.
84 2016-07-01  Andrew Senkevich  <andrew.senkevich@intel.com>
86         [BZ #20024]
87         * sysdeps/x86/fpu/test-math-vector-sincos.h: New.
88         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Fixed ABI
89         of this implementation of vector function.
90         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
91         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
92         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
93         Likewise.
94         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
95         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
96         * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: Likewise.
97         * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: Likewise.
98         * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: Likewise.
99         * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: Likewise.
100         * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S: Likewise.
101         * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S: Likewise.
102         * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S: Likewise.
103         * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S: Likewise.
104         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Use another wrapper
105         for testing vector sincos with fixed ABI.
106         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
107         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
108         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
109         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
110         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
111         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
112         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
113         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx.c: New test.
114         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx2.c: Likewise.
115         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx512.c: Likewise.
116         * sysdeps/x86_64/fpu/test-double-libmvec-sincos.c: Likewise.
117         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx.c: Likewise.
118         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx2.c: Likewise.
119         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx512.c: Likewise.
120         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf.c: Likewise.
121         * sysdeps/x86_64/fpu/Makefile: Added new tests.
123 2016-06-30  Aurelien Jarno  <aurelien@aurel32.net>
125         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Add _Qp_cmp.
127 2016-06-30  Anton Blanchard  <anton@samba.org>
129         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
130         [$(subdir) = math] (libm-sysdep_routines): Add s_sinf-power8 and
131         s_sinf-ppc64.
132         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-power8.S: New file.
133         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Likewise.
134         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf.c: Likewise.
135         * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Likewise.
137 2016-06-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
139         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
140         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
141         [$(subdir) = math] (libm-sysdep_routines): Add e_expf-power8 and
142         e_expf-ppc64.
143         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-power8.S: New file.
144         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-ppc64.c: Likewise.
145         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf.c: Likewise.
146         * sysdeps/powerpc/powerpc64/power8/fpu/e_expf.S: Likewise.
148 2016-06-30  John David Anglin  <danglin@gcc.gnu.org>
150         [BZ #20277]
151         * sysdeps/hppa/start.S (_start): Correct loading of global pointer
152         when SHARED is defined.
154 2016-06-30  H.J. Lu  <hongjiu.lu@intel.com>
156         * sysdeps/x86/cpu-features.h (bit_arch_Prefer_ERMS): New.
157         (index_arch_Prefer_ERMS): Likewise.
158         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Return
159         __memcpy_erms for Prefer_ERMS.
160         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
161         (__memmove_erms): Enabled for libc.a.
162         * ysdeps/x86_64/multiarch/memmove.S (__libc_memmove): Return
163         __memmove_erms or Prefer_ERMS.
164         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Return
165         __mempcpy_erms for Prefer_ERMS.
166         * sysdeps/x86_64/multiarch/memset.S (memset): Return
167         __memset_erms for Prefer_ERMS.
169 2016-06-30  Andreas Schwab  <schwab@suse.de>
171         [BZ #20262]
172         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn): Return
173         NSS_STATUS_SUCCESS when done.  Return NSS_STATUS_TRYAGAIN when out
174         of memory.
176 2016-06-29  H.J. Lu  <hongjiu.lu@intel.com>
178         [BZ #18645]
179         * nptl/Makefile (extra-test-objs): Add tst-cleanupx4aux.o.
180         (test-extras): Add tst-cleanupx4aux.
181         (CFLAGS-tst-cleanupx4aux.c): New.  Set to -fexceptions.
182         ($(objpfx)tst-cleanupx4): Replace tst-cleanup4aux.o with
183         tst-cleanupx4aux.o.
184         * nptl/tst-cleanupx4aux.c: New file.
186 2016-06-30  Aurelien Jarno  <aurelien@aurel32.net>
188         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
190 2016-06-29  Andreas Schwab  <schwab@suse.de>
192         [BZ #20260]
193         * sysdeps/x86/bits/string.h (__strncat_g) [!__i686__]: Compute the
194         address before the beginning of the string as an integer to avoid
195         array-bounds warning.
197 2016-06-28  Richard Henderson  <rth@redhat.com>
199         * elf/elf.h (EM_BPF): New.
200         (EM_NUM): Update.
201         (R_BPF_NONE, R_BPF_MAP_FD): New.
203         * elf/elf.h (EM_IAMCU, EM_SPU, EM_PDP10, EM_PDP11, EM_ARC_COMPACT,
204         EM_VIDEOCORE, EM_TMM_GPP, EM_NS32K, EM_TPC, EM_SNP1K, EM_ST200,
205         EM_IP2K, EM_MAX, EM_CR, EM_F2MC16, EM_MSP430, EM_BLACKFIN, EM_SE_C33,
206         EM_SEP, EM_ARCA, EM_UNICORE, EM_EXCESS, EM_DXP, EM_ALTERA_NIOS2,
207         EM_CRX, EM_XGATE, EM_C166, EM_M16C, EM_DSPIC30F, EM_CE, EM_M32C,
208         EM_TSK3000, EM_RS08, EM_SHARC, EM_ECOG2, EM_SCORE7, EM_DSP24,
209         EM_VIDEOCORE3, EM_LATTICEMICO32, EM_SE_C17, EM_TI_C6000, EM_TI_C2000,
210         EM_TI_C5500, EM_TI_ARP32, EM_TI_PRU, EM_MMDSP_PLUS, EM_CYPRESS_M8C,
211         EM_R32C, EM_TRIMEDIA, EM_QDSP6, EM_8051, EM_STXP7X, EM_NDS32,
212         EM_ECOG1X, EM_MAXQ30, EM_XIMO16, EM_MANIK, EM_CRAYNV2, EM_RX,
213         EM_METAG, EM_MCST_ELBRUS, EM_ECOG16, EM_CR16, EM_ETPU, EM_SLE9X,
214         EM_L10M, EM_K10M, EM_AVR32, EM_STM8, EM_TILE64, EM_CUDA,
215         EM_CLOUDSHIELD, EM_COREA_1ST, EM_COREA_2ND, EM_ARC_COMPACT2,
216         EM_OPEN8, EM_RL78, EM_VIDEOCORE5, EM_78KOR, EM_56800EX, EM_BA1,
217         EM_BA2, EM_XCORE, EM_MCHP_PIC, EM_KM32, EM_KMX32, EM_EMX16, EM_EMX8,
218         EM_KVARC, EM_CDP, EM_COGE, EM_COOL, EM_NORC, EM_CSR_KALIMBA, EM_Z80,
219         EM_VISIUM, EM_FT32, EM_MOXIE, EM_AMDGPU, EM_RISCV, EM_BPF): New.
220         (EM_NUM): Update.
222 2016-06-28  Stefan Liebler  <stli@linux.vnet.ibm.com>
224         [BZ #18960]
225         * locale/localeinfo.h (_NL_CURRENT_DEFINE):
226         Set _nl_current_LC_CATEGORY_used to two instead of one.
228 2016-06-27  Aurelien Jarno  <aurelien@aurel32.net>
230         * sysdeps/mips/tst-mode-switch-1.c (main): Converted to ...
231         (do_test): ... this.
232         (TEST_FUNCTION): New macro.
233          Include test-skeleton.c.
234         * sysdeps/mips/tst-mode-switch-2.c (main): Likewise.
235         * sysdeps/mips/tst-mode-switch-3.c (main): Likewise.
237 2016-06-27  Joseph Myers  <joseph@codesourcery.com>
239         [BZ #15479]
240         * sysdeps/i386/fpu/s_trunc.S (__trunc): Save and restore
241         floating-point environment rather than just control word.
242         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
243         * sysdeps/i386/fpu/s_truncl.S (__truncl): Save and restore
244         floating-point environment, with "invalid" exceptions merged in,
245         rather than just control word.
246         * sysdeps/x86_64/fpu/s_truncl.S (__truncl): Likewise.
247         * math/libm-test.inc (trunc_test_data): Do not allow spurious
248         "inexact" exceptions.
250         [BZ #15479]
251         * sysdeps/i386/fpu/s_floor.S (__floor): Save and restore
252         floating-point environment rather than just control word.
253         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
254         * sysdeps/i386/fpu/s_floorl.S (__floorl): Save and restore
255         floating-point environment, with "invalid" exceptions merged in,
256         rather than just control word.
257         * sysdeps/x86_64/fpu/s_floorl.S (__floorl): Likewise.
258         * math/libm-test.inc (floor_test_data): Do not allow spurious
259         "inexact" exceptions.
261         [BZ #15479]
262         * sysdeps/i386/fpu/s_ceil.S (__ceil): Save and restore
263         floating-point environment rather than just control word.
264         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
265         * sysdeps/i386/fpu/s_ceill.S (__ceill): Save and restore
266         floating-point environment, with "invalid" exceptions merged in,
267         rather than just control word.
268         * sysdeps/x86_64/fpu/s_ceill.S (__ceill): Likewise.
269         * math/libm-test.inc (ceil_test_data): Do not allow spurious
270         "inexact" exceptions.
272 2016-06-21  Aurelien Jarno  <aurelien@aurel32.net>
274         * sysdeps/unix/sysv/linux/mips/vfork.S (__vfork): Rename into
275         __libc_vfork.
276         (__vfork) [IS_IN (libc)]: Remove alias.
277         (__libc_vfork) [IS_IN (libc)]: Define as an alias.
278         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
279         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
281 2016-06-24  Torvald Riegel  <triegel@redhat.com>
283         * nscd/cache.c (cache_add): Use new C11-like atomic operation instead
284         of atomic_compare_and_exchange_bool_rel.
285         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
286         * include/atomic.h (atomic_compare_and_exchange_bool_rel,
287         catomic_compare_and_exchange_bool_rel): Remove.
288         * sysdeps/aarch64/atomic-machine.h
289         (atomic_compare_and_exchange_bool_rel): Likewise.
290         * sysdeps/alpha/atomic-machine.h
291         (atomic_compare_and_exchange_bool_rel): Likewise.
292         * sysdeps/arm/atomic-machine.h
293         (atomic_compare_and_exchange_bool_rel): Likewise.
294         * sysdeps/mips/atomic-machine.h
295         (atomic_compare_and_exchange_bool_rel): Likewise.
296         * sysdeps/microblaze/atomic-machine.h
297         ( __arch_compare_and_exchange_bool_8_rel,
298         __arch_compare_and_exchange_bool_16_rel): Likewise.
299         * sysdeps/powerpc/atomic-machine.h
300         ( __arch_compare_and_exchange_bool_8_rel,
301         __arch_compare_and_exchange_bool_16_rel): Likewise.
302         * sysdeps/powerpc/powerpc32/atomic-machine.h
303         ( __arch_compare_and_exchange_bool_32_rel,
304         __arch_compare_and_exchange_bool_64_rel): Likewise.
305         * sysdeps/powerpc/powerpc64/atomic-machine.h
306         ( __arch_compare_and_exchange_bool_32_rel,
307         __arch_compare_and_exchange_bool_64_rel): Likewise.
308         * sysdeps/tile/atomic-machine.h
309         (atomic_compare_and_exchange_bool_rel): Likewise.
311 2016-06-23  Joseph Myers  <joseph@codesourcery.com>
313         [BZ #20296]
314         * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Add arguments
315         when either argument is a NaN.
316         * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
317         * math/libm-test.inc (scalb_test_data): Add sNaN tests.
319         * math/libm-test.inc (snan_value_ld): New macro.
320         (isgreater_test_data): Add sNaN tests.
321         (isgreaterequal_test_data): Likewise.
322         (isless_test_data): Likewise.
323         (islessequal_test_data): Likewise.
324         (islessgreater_test_data): Likewise.
325         (isunordered_test_data): Likewise.
326         (nextafter_test_data): Likewise.
327         (nexttoward_test_data): Likewise.
328         (remainder_test_data): Likewise.
329         (remquo_test_data): Likewise.
330         (significand_test_data): Likewise.
331         * math/gen-libm-test.pl (%beautify): Add snan_value_ld.
333 2016-06-23  Siddhesh Poyarekar  <siddhesh@sourceware.org>
335         * posix/getconf.c: Define ALL_ENVIRONMENTS_DEFINED if all
336         environment macros are defined.
337         (main): Avoid execve if ALL_ENVIRONMENTS_DEFINED is defined.
339 2016-06-23  Florian Weimer  <fweimer@redhat.com>
341         [BZ #20191]
342         Implement vtable verification in libio.
343         * Makerules (shlib.lds): Place __libc_IO_vtables section.
344         * debug/obprintf_chk.c (_IO_obstack_jumps): Define as vtable.
345         * debug/vdprintf_chk.c (__vdprintf_chk): Call
346         _IO_new_file_init_internal instead of _IO_file_init.
347         * debug/vsnprintf_chk.c (_IO_strn_jumps): Define as vtable.
348         * debug/vsprintf_chk.c (_IO_str_chk_jumps): Likewise.
349         * libio/Makefile (routines): Add vtables.
350         * libio/libioP.h (_IO_JUMPS_FUNC): Call IO_validate_vtable.
351         (_IO_init): Remove, not for internal use.
352         (_IO_init_internal): Declare, internal replacement for _IO_init.
353         (_IO_file_init): Remove, not for internal use.
354         (_IO_new_file_init): Remove, not for internal use.
355         (_IO_new_file_init_internal): Declare, internal replacement for
356         _IO_new_file_init.
357         (_IO_old_file_init): Remove, not for internal use.
358         (_IO_old_file_init_internal): Declare, internal replacement for
359         _IO_old_file_init.
360         (_IO_str_init_static, _IO_str_init_readonly): Remove, not for
361         internal use.
362         (__libc_IO_vtables, IO_accept_foreign_vtables, _IO_vtable_check):
363         Declare.
364         (libio_vtable): New macro.
365         (IO_set_accept_foreign_vtables, _IO_validate_vtable): New inline
366         functions.
367         * libio/fileops.c (_IO_new_file_init_internal): Rename from
368         _IO_new_file_init.
369         (_IO_new_file_init): New externally visible wrapper which disables
370         vtable verification.
371         (_IO_file_jumps, _IO_file_jumps_mmap, _IO_file_jumps_maybe_mmap):
372         Define as vtables.
373         * libio/genops.c (_IO_init_internal): Rename from _IO_init.
374         (_IO_init): New externally visible wrapper which disables
375         vtable verification.
376         * libio/iofdopen.c (_IO_new_fdopen): Call
377         _IO_new_file_init_internal instead of _IO_file_init.  Adjust
378         comment.
379         * libio/iofopen.c (__fopen_internal): Call
380         _IO_new_file_init_internal instead of _IO_file_init.
381         * libio/iofopncook.c (_IO_cookie_jumps, _IO_old_cookie_jumps):
382         Define as vtables.
383         (_IO_cookie_init): Call _IO_init_internal instead of _IO_init,
384         _IO_new_file_init_internal instead of _IO_file_init.
385         * libio/iopopen.c (_IO_new_popen): Likewise.
386         (_IO_proc_jumps): Define as vtable.
387         * libio/iovdprintf.c (_IO_vdprintf): Call
388         _IO_new_file_init_internal instead of _IO_file_init.
389         * libio/memstream.c (_IO_mem_jumps): Define as vtable.
390         (__open_memstream): Call _IO_init_internal instead of _IO_init.
391         * libio/obprintf.c (_IO_obstack_jumps): Define as vtable.
392         * libio/oldfileops.c (_IO_old_file_init_internal): Rename from
393         _IO_old_file_init.
394         (_IO_old_file_init): New externally visible wrapper which disables
395         vtable verification.
396         (_IO_old_file_jumps): Define as vtable.
397         * libio/oldiofdopen.c (_IO_old_fdopen): Call
398         _IO_old_file_init_internal instead of _IO_old_file_init.
399         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
400         * libio/oldiopopen.c (_IO_old_popen): Likewise.
401         (_IO_old_proc_jumps): Define as vtable.
402         * libio/strops.c (_IO_str_jumps, _IO_strn_jumps, _IO_wstrn_jumps):
403         Define as vtables.
404         * libio/vtables.c: New file.
405         * libio/wfileops.c (_IO_wfile_jumps, _IO_wfile_jumps_mmap)
406         (_IO_wfile_jumps_maybe_mmap): Define as vtables.
407         * libio/wmemstream.c (_IO_wmem_jumps): Define as vtable.
408         * libio/wstrops.c (_IO_wstr_jumps): Likewise.
409         * stdio-common/vfprintf.c (_IO_helper_jumps): Likewise.
410         * stdlib/strfmon_l.c (__vstrfmon_l): Call _IO_init_internal
411         instead of _IO_init.
413 2016-06-23  Florian Weimer  <fweimer@redhat.com>
415         * test-skeleton.c (xrealloc): Support deallocation with n == 0.
417 2016-06-23  Florian Weimer  <fweimer@redhat.com>
419         * test-skeleton.c (xmalloc, xcalloc, xrealloc): Mark as
420         potentially unused.
422 2016-06-22  Florian Weimer  <fweimer@redhat.com>
424         * test-skeleton.c (write_message): New function.
425         * malloc/tst-mallocfork2.c (write_message): Remove.
426         * debug/tst-longjmp_chk2.c (write_indented): New function.
427         (write_message): Remove.
428         (stackoverflow_handler): Call write_indented.
430 2016-06-22  Joseph Myers  <joseph@codesourcery.com>
432         * sysdeps/i386/fpu/s_nearbyint.S (__nearbyint): Do not mask
433         "inexact" exceptions after fnstenv.
434         * sysdeps/i386/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
435         * sysdeps/i386/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
436         * sysdeps/x86_64/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
438 2015-06-22  Zack Weinberg  <zackw@panix.com>
440         * sysdeps/generic/bits/hwcap.h: Moved to ...
441         * bits/hwcap.h: Here.
443 2016-06-22  Wilco Dijkstra  <wdijkstr@arm.com>
445         * sysdeps/aarch64/memcpy.S (memcpy):
446         Further tuning for performance.
448 2016-06-21  Florian Weimer  <fweimer@redhat.com>
450         [BZ #20284]
451         * malloc/arena.c (reused_arena): Do not return NULL if we start
452         out with a non-corrupted arena.
454 2016-06-21 Adhemerval Zanella  <adhemerval.zanella@linaro.org>
456         * misc/Makefile (tests): Add tst-preadvwritev and tst-preadvwritev64.
457         * misc/tst-preadvwritev.c: New file.
458         * misc/tst-preadvwritev64.c: Likewise.
459         * sysdeps/unix/sysv/linux/preadv.c (preadv): Remove SYSCALL_LL{64}
460         usage.
461         * sysdeps/unix/sysv/linux/preadv64.c (preadv64): Likewise.
462         * sysdeps/unix/sysv/linux/pwritev.c (pwritev): Likewise.
463         * sysdeps/unix/sysv/linux/pwritev64.c (pwritev64): Likewise.
464         * sysdeps/unix/sysv/linux/sysdep.h (LO_HI_LONG): New macro.
466 2016-06-20  Andrew Senkevich  <andrew.senkevich@intel.com>
468         [BZ #19654]
469         * sysdeps/x86_64/fpu/Makefile: Added new tests.
470         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx-main.c: New.
471         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx-mod.c: Likewise.
472         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx.c: Likewise.
473         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2-main.c: Likewise.
474         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2-mod.c: Likewise.
475         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2.c: Likewise.
476         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512-main.c: Likewise.
477         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512-mod.c: Likewise.
478         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512.c: Likewise.
479         * sysdeps/x86_64/fpu/test-double-libmvec-alias-main.c: Likewise.
480         * sysdeps/x86_64/fpu/test-double-libmvec-alias-mod.c: Likewise.
481         * sysdeps/x86_64/fpu/test-double-libmvec-alias.c: Likewise.
482         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx-main.c: Likewise.
483         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx-mod.c: Likewise.
484         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx.c: Likewise.
485         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2-main.c: Likewise.
486         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2-mod.c: Likewise.
487         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2.c: Likewise.
488         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512-main.c: Likewise.
489         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512-mod.c: Likewise.
490         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512.c: Likewise.
491         * sysdeps/x86_64/fpu/test-float-libmvec-alias-main.c: Likewise.
492         * sysdeps/x86_64/fpu/test-float-libmvec-alias-mod.c: Likewise.
493         * sysdeps/x86_64/fpu/test-float-libmvec-alias.c: Likewise.
494         * sysdeps/x86_64/fpu/test-libmvec-alias-mod.c: Likewise.
496 2016-06-20  Wilco Dijkstra  <wdijkstr@arm.com>
498         * sysdeps/aarch64/rawmemchr.S (__rawmemchr): New file.
499         * sysdeps/aarch64/strlen.S (__strlen): Change to __strlen to avoid PLT.
501 2016-06-20  Wilco Dijkstra  <wdijkstr@arm.com>
503         * sysdeps/aarch64/memcpy.S (memcpy):
504         Rewrite of optimized memcpy and memmove.
505         * sysdeps/aarch64/memmove.S (memmove): Remove
506         memmove code (merged into memcpy.S).
508 2016-06-20  Florian Weimer  <fweimer@redhat.com>
510         Consolidate machine-agnostic DTV definitions in <dl-dtv.h>.
511         * sysdeps/generic/dl-dtv.h: New file.
512         * sysdeps/aarch64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
513         * sysdeps/aarch64/nptl/tls.h: Include <dl-dtv.h>.
514         (dtv_t): Remove.
515         * sysdeps/alpha/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
516         * sysdeps/alpha/nptl/tls.h: Include <dl-dtv.h>.
517         (dtv_t): Remove.
518         * sysdeps/arm/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
519         * sysdeps/arm/nptl/tls.h: Include <dl-dtv.h>.
520         (dtv_t): Remove.
521         * sysdeps/hppa/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
522         * sysdeps/hppa/nptl/tls.h: Include <dl-dtv.h>.
523         (dtv_t): Remove.
524         * sysdeps/i386/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
525         * sysdeps/i386/nptl/tls.h: Include <dl-dtv.h>.
526         (dtv_t): Remove.
527         * sysdeps/ia64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
528         * sysdeps/ia64/nptl/tls.h: Include <dl-dtv.h>.
529         (dtv_t): Remove.
530         * sysdeps/m68k/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
531         * sysdeps/m68k/nptl/tls.h: Include <dl-dtv.h>.
532         (dtv_t): Remove.
533         * sysdeps/mach/hurd/i386/tls.h: Include <dl-dtv.h>.
534         (dtv_t): Remove.
535         * sysdeps/microblaze/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
536         * sysdeps/microblaze/nptl/tls.h: Include <dl-dtv.h>.
537         (dtv_t): Remove.
538         * sysdeps/mips/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
539         * sysdeps/mips/nptl/tls.h: Include <dl-dtv.h>.
540         (dtv_t): Remove.
541         * sysdeps/nios2/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
542         * sysdeps/nios2/nptl/tls.h: Include <dl-dtv.h>.
543         (dtv_t): Remove.
544         * sysdeps/powerpc/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
545         * sysdeps/powerpc/nptl/tls.h: Include <dl-dtv.h>.
546         (dtv_t): Remove.
547         * sysdeps/s390/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
548         * sysdeps/s390/nptl/tls.h: Include <dl-dtv.h>.
549         (dtv_t): Remove.
550         * sysdeps/sh/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
551         * sysdeps/sh/nptl/tls.h: Include <dl-dtv.h>.
552         (dtv_t): Remove.
553         * sysdeps/sparc/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
554         * sysdeps/sparc/nptl/tls.h: Include <dl-dtv.h>.
555         (dtv_t): Remove.
556         * sysdeps/x86_64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
557         * sysdeps/x86_64/nptl/tls.h: Include <dl-dtv.h>.
558         (dtv_t): Remove.
560 2016-06-20  Florian Weimer  <fweimer@redhat.com>
562         Revert symbol poisoning of  __malloc_initialize_hook.
563         * include/stdc-predef.h (__malloc_initialize_hook): Remove
564         poisoning.
565         * malloc/Makefile: Remove un-poisoning.
566         * malloc/arena.c (ptmalloc_init): Use __malloc_initialize_hook
567         instead of old__malloc_initialize_hook.
568         * malloc/malloc-hooks.h: Likewise.
569         * malloc/malloc.c: Likewise.
570         * malloc/mcheck-init.c: Likewise.
572 2016-06-19  Carlos O'Donell  <carlos@redhat.com>
574         * sysdeps/unix/sysv/linux/times.c (__times): Expand comments.
576 2016-06-18  Aurelien Jarno  <aurelien@aurel32.net>
578         * sysdeps/unix/sysv/linux/mips/vfork.S (__vfork): Conditionalize
579         hidden_def, weak_alias and strong_alias on [IS_IN (libc)].
580         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
581         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
583 2016-06-16  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
585         * NEWS: Mention addition of nextup and nextdown.
586         * manual/arith.texi: Document nextup and nextdown.
587         * manual/libm-err-tab.pl: Add nextup and nextdown.
588         * math/Makefile (libm-calls): Add s_nextdown and s_nextup.
589         * math/Versions (libm): Add GLIBC_2.24.
590         * math/bits/mathcalls.h: Add nextup and nextdown declaration.
591         * math/libm-test.inc (nextafter_test_data) [TEST_COND_intel96]:
592         Add new test.
593         (nextafter_test_data) [TEST_COND_binary32]: Likewise.
594         (nextafter_test_data) [TEST_COND_m68k96]: Likewise.
595         (nextafter_test_data) [TEST_COND_binary64]: Likewise.
596         (nextafter_test_data) [TEST_COND_binary128]: Likewise.
597         (nextup_test_data): Likewise.
598         (nextdown_test_data): Likewise.
599         * math/s_nextdown.c: New file.
600         * math/s_nextdownf.c: Likewise.
601         * math/s_nextdownl.c: Likewise.
602         * math/test-tgmath.c F(compile_test)): Add nextup and nextdown tests.
603         F(nextup): New function.
604         F(nextdown): Likewise.
605         * math/tgmath.h: Add nextup and nextdown.
606         * sysdeps/ieee754/flt-32/s_nextupf.c: New file.
607         * sysdeps/ieee754/dbl-64/s_nextup.c: Likewise.
608         * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
609         * sysdeps/ieee754/ldbl-128ibm/s_nextupl.c: Likewise.
610         * sysdeps/ieee754/ldbl-96/s_nextupl.c: Likewise.
611         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls):
612         Add nextup and nextdown.
613         (CFLAGS-nldbl-nextup.c): New variable.
614         (CFLAGS-nldbl-nextdown.c): Likewise.
615         * sysdeps/ieee754/ldbl-opt/nldbl-nextdown.c: New file.
616         * sysdeps/ieee754/ldbl-opt/nldbl-nextup.c: Likewise.
617         * sysdeps/nacl/libm.abilist: Update.
618         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
619         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
620         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
621         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
622         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
623         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
624         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
625         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
626         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
627         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
628         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
629         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
630         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
631         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
632         Likewise.
633         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
634         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
635         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
636         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
637         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
638         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
639         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
640         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: Likewise.
641         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: Likewise.
642         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
643         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
644         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: Likewise.
645         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
647 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
649         * manual/pattern.texi: Fix typos & grammar errors.
651 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
653         * manual/search.texi: Fix typos & grammar errors.
655 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
657         * manual/message.texi: Fix typos & grammar errors.
659 2016-06-16  Mike Frysinger  <vapier@gentoo.org>
661         * manual/contrib.texi: Fix spelling typos.
662         * manual/crypt.texi: Likewise.
663         * manual/filesys.texi: Likewise.
664         * manual/locale.texi: Likewise.
665         * manual/message.texi: Likewise.
666         * manual/nss.texi: Likewise.
667         * manual/string.texi: Likewise.
669 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
671         * manual/locale.texi: Fix typos & grammar errors.
673 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
675         * manual/charset.texi: Fix typos & grammar errors.
677 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
679         * manual/string.texi: Fix typos.
681 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
683         * manual/ctype.texi: Fix typos.
685 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
687         * manual/memory.texi: Fix various typos & grammar errors.
689 2016-06-14  Joseph Myers  <joseph@codesourcery.com>
691         [BZ #20255]
692         * sysdeps/i386/fpu/s_fdim.c: New file.  Based on math/s_fdim.c.
693         * math/libm-test.inc (fdim_test_data): Add another test.
695         [BZ #6796]
696         [BZ #20255]
697         [BZ #20256]
698         * math/s_fdim.c: Include <math_private.h>.
699         (__fdim): Use math_narrow_eval on result.
700         * math/s_fdimf.c: Include <math_private.h>.
701         (__fdimf): Use math_narrow_eval on result.
702         * sysdeps/i386/fpu/s_fdim.S: Remove file.
703         * sysdeps/i386/fpu/s_fdimf.S: Likewise.
704         * sysdeps/i386/fpu/s_fdiml.S: Likewise.
705         * sysdeps/i386/i686/fpu/s_fdim.S: Likewise.
706         * sysdeps/i386/i686/fpu/s_fdimf.S: Likewise.
707         * sysdeps/i386/i686/fpu/s_fdiml.S: Likewise.
708         * sysdeps/powerpc/fpu/s_fdim.c: Likewise.
709         * sysdeps/powerpc/fpu/s_fdimf.c: Likewise.
710         * sysdeps/powerpc/powerpc32/fpu/s_fdim.c: Likewise.
711         * sysdeps/powerpc/powerpc64/fpu/s_fdim.c: Likewise.
712         * sysdeps/x86_64/fpu/s_fdiml.S: Likewise.
713         * math/libm-test.inc (fdim_test_data): Expect errno setting on
714         overflow.  Add sNaN tests.
716         * math/s_fdim.c (__fdim): Use islessequal and isinf instead of
717         fpclassify.
718         * math/s_fdimf.c (__fdimf): Likewise.
719         * math/s_fdiml.c (__fdiml): Likewise.
721 2016-06-14  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
723         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
724         (sysdep_routines): Add P8 and PPC64 strcasecmp/strncasecmp targets.
725         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
726         (__libc_ifunc_impl_list): Add entries for P8 and PPC64
727         ifunc'ed strcasecmp/strncasecmp.
728         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S:
729         [EALIGN]: Removed.
730         [END]: Likewise.
731         [__strcasecmp]: Define instead of the above to control symbol name.
732         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Add IFUNC selector
733         for __strcasecmp_power8.
734         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Add IFUNC selector
735         for __strncasecmp_power8.
736         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power8.S: New File.
737         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-ppc64.c: Likewise.
738         * sysdeps/powerpc/powerpc64/multiarch/strncase-power8.S: Likewise.
739         * sysdeps/powerpc/powerpc64/multiarch/strncase-ppc64.c: Likewise.
740         * sysdeps/powerpc/powerpc64/power8/strcasecmp.S: Likewise.
741         * sysdeps/powerpc/powerpc64/power8/strncase.S: Likewise.
743 2016-06-13  Joseph Myers  <joseph@codesourcery.com>
745         [BZ #20252]
746         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Add both
747         arguments when second argument is a NaN.
748         * math/libm-test.inc (atan2_test_data): Add sNaN tests and more
749         qNaN tests.
751         * math/libm-test.inc (cimag_test_data): Add sNaN tests.
752         (conj_test_data): Likewise.
753         (copysign_test_data): Likewise.
754         (creal_test_data): Likewise.
755         (fma_test_data): Likewise.
756         (fmod_test_data): Likewise.
758         [BZ #20250]
759         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Add non-finite input to
760         itself.
761         * sysdeps/ieee754/dbl-64/s_frexp.c (__frexp): Add non-finite or
762         zero input to itself.
763         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp):
764         Likewise.
765         * sysdeps/ieee754/flt-32/s_frexpf.c (__frexpf): Likewise.
766         * sysdeps/ieee754/ldbl-128/s_frexpl.c (__frexpl): Likewise.
767         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
768         * sysdeps/ieee754/ldbl-96/s_frexpl.c (__frexpl): Likewise.
769         * math/libm-test.inc (frexp_test_data): Add sNaN tests.
771 2016-06-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
773         * nptl/Makefile (test): Add tst-cancel4_1 and tst-cancel4_2.
774         * nptl/tst-cancel4-common.c: New file.
775         * nptl/tst-cancel4-common.h: Likewise.
776         * nptl/tst-cancel4.c: Move common definitions to
777         tst-cancel4-common.{c,h} file.
778         * nptl/tst-cancel4_1.c: New test.
779         * nptl/tst-cancel4_2.c: New test.
781 2016-06-13  Florian Weimer  <fweimer@redhat.com>
783         [BZ #20248]
784         * debug/tst-longjmp_chk2.c (pass): Use volatile sig_atomic_t.
785         (write_message): New function.
786         (stackoverflow_handler): Call it instead of printf, to avoid
787         excessive stack usage by printf.
788         (do_test): Restore SIGSEGV, SIGBUS default handlers.
790 2016-06-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
792         * nptl/pthread_mutex_init.c [__ASSUME_FUTEX_LOCK_PI]
793         (prio_inherit_missing): Remove define.
794         * sysdeps/unix/sysv/linux/arm/kernel-features.h
795         (__ASSUME_FUTEX_LOCK_PI): Likewise.
796         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FUTEX_LOCK_PI):
797         Likewise.
798         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
799         (__ASSUME_FUTEX_LOCK_PI): Likewise.
800         * sysdeps/unix/sysv/linux/mips/kernel-features.h
801         (__ASSUME_FUTEX_LOCK_PI): Likewise.
802         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
803         (__ASSUME_FUTEX_LOCK_PI): Likewise.
805 2016-06-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
807         [BZ #19670]
808         [BZ #19672]
810         * io/test-lfs.c (do_prepare): Use xmalloc.
811         * io/tst-fcntl.c (do_prepare): Likewise.
812         * libio/tst-fopenloc.c (do_bz17916): Likewise.
813         * libio/tst-mmap2-eofsync.c (do_prepare): Likewise.
814         * login/tst-utmp.c (do_prepare): Likewise.
815         * posix/tst-exec.c (do_prepare): Likewise.
816         * posix/tst-pathconf.c (prepare): Likewise.
817         * posix/tst-spawn.c (do_prepare): Likewise.
818         * posix/tst-truncate.c (do_prepare): Likewise.
819         * rt/tst-aio.c (do_prepare): Likewise.
820         * rt/tst-aio64.c (do_prepare): Likewise.
822 2016-06-11  Florian Weimer  <fweimer@redhat.com>
824         [BZ #20237]
825         * nss/nss_db/db-XXX.c (set*ent): Reset entidx to NULL.
826         (get*ent): Set entidx to NULL during initialization.  If entidx is
827         NULL, start iteration from the beginning.
829 2016-06-11  Florian Weimer  <fweimer@redhat.com>
831         * malloc/malloc.c (musable): Return correct size for dumped fake
832         mmapped chunk.
834 2016-06-11  Florian Weimer  <fweimer@redhat.com>
836         [BZ #20222]
837         * libio/iofopncook.c (_IO_cookie_read): Demangle callback pointer.
838         (_IO_cookie_write): Likewise.
839         (_IO_cookie_seek): Likewise.
840         (_IO_cookie_close): Likewise.
841         (_IO_old_cookie_seek): Likewise.
842         (set_callbacks): New function.
843         (_IO_cookie_init): Call set_callbacks to copy callbacks.
845 2016-06-11  Marko Myllynen  <myllynen@redhat.com>
847         * locale/programs/localedef.c (oldstyle_tables): Remove.
848         * locale/programs/localedef.h (oldstyle_tables): Likewise.
850 2016-06-10  Joseph Myers  <joseph@codesourcery.com>
852         [BZ #20240]
853         * math/Makefile (CFLAGS-s_modf.c): New variable.
854         (CFLAGS-s_modff.c): Likewise.
855         (CFLAGS-s_modfl.c): Likewise.
856         * math/libm-test.inc (modf_test_data): Add sNaN tests.
858 2016-06-09  Carlos O'Donell  <carlos@redhat.com>
860         [BZ #20215]
861         * misc/sys/cdefs.h [__GNUC_PREREQ (3,2)]: Undef __always_inline first.
862         [!__GNUC_PREREQ (3,2)]: Likewise.
864 2016-06-10  Adhemerval Zanela  <adhemerval.zanella@linaro.org>
866         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Add xfail-.
867         (msghdr.msg_controllen): Likewise.
868         (cmsghdr.cmsg_len): Likewise.
869         * nptl/Makefile (libpthread-routines): Remove ptw-oldrecvmsg and
870         ptw-oldsendmsg.
871         (CFLAGS-oldrecvmsg.c): Remove rule.
872         (CFLAGS-oldsendmsg.c): Likewise.
873         (CFLAGS-recvmsg.c): Add rule.
874         (CFLAGS-sendmsg.c): Likewise.
875         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove
876         oldrecvmsg, oldsendmsg, oldrecvmmsg, oldsendmmsg.
877         (CFLAGS-recvmsg.c): Remove rule.
878         (CFLAGS-sendmsg.c): Likewise.
879         (CFLAGS-oldrecvmsg.c): Likewise.
880         (CFLAGS-oldsendmsg.c): Likewise.
881         (CFLAGS-recvmmsg.c): Likewise.
882         * sysdeps/unix/sysv/linux/bits/socket.h (msghdr.msg_iovlen): Revert
883         to kernel defined interfaces.
884         (msghdr.msg_controllen): Likewise.
885         (cmsghdr.cmsg_len): Likewise.
886         (msghdr.__glibc_reserved1): Remove member.
887         (msghdr.__glibc_reserved2): Likewise.
888         (cmsghdr.__glibc_reserved1): Likewise.
889         * sysdeps/unix/sysv/linux/oldrecvmmsg.c: Remove file.
890         * sysdeps/unix/sysv/linux/oldrecvmsg.c: Likewise.
891         * sysdeps/unix/sysv/linux/oldsendmmsg.c: Likewise.
892         * sysdeps/unix/sysv/linux/oldsendmsg.c: Likewise.
893         * sysdeps/unix/sysv/linux/recvmmsg.c: Revert back to previous
894         version.
895         * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
896         * sysdeps/unix/sysv/linux/sendmmsg.c: Likewise.
897         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
898         * sysdeps/unix/sysv/linux/aarch64/Versions [libc] (GLIBC_2.24):
899         Remove recvmsg and sendmsg.
900         * sysdeps/unix/sysv/linux/alpha/Versions [libc] (GLIBC_2.24):
901         Likewise.
902         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24):
903         Likewise.
904         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24): Likewise.
905         * sysdeps/unix/sysv/linux/m68k/Versions [libc] (GLIBC_2.24): Likewise.
906         * sysdeps/unix/sysv/linux/microblaze/Versions [libc] (GLIBC_2.24):
907         Likewise.
908         * sysdeps/unix/sysv/linux/mips/mips32/Versions [libc] (GLIBC_2.24):
909         Likewise.
910         * sysdeps/unix/sysv/linux/mips/mips64/n32/Versions
911         [libc] (GLIBC_2.24): Likewise.
912         * sysdeps/unix/sysv/linux/nios2/Versions [libc] (GLIBC_2.24):
913         Likewise.
914         * sysdeps/unix/sysv/linux/powerpc/Versions [libc] (GLIBC_2.24):
915         Likewise.
916         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
917         [libc] (GLIBC_2.24): Likewise.
918         * sysdeps/unix/sysv/linux/s390/s390-32/Versions [libc] (GLIBC_2.24):
919         Likewise.
920         * sysdeps/unix/sysv/linux/s390/s390-64/Versions [libc] (GLIBC_2.24):
921         Likewise.
922         * sysdeps/unix/sysv/linux/sh/Versions [libc] (GLIBC_2.24): Likewise.
923         * sysdeps/unix/sysv/linux/sparc/Versions [libc] (GLIBC_2.24):
924         Likewise.
925         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions [libc] (GLIBC_2.24):
926         Likewise.
927         * sysdeps/unix/sysv/linux/tile/Versions [libc] (GLIBC_2.24):
928         Likewise.
929         * sysdeps/unix/sysv/linux/x86_64/Versions [libc] (GLIBC_2.24):
930         Likewise.
931         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/Versions: Remove file
932         * sysdeps/unix/sysv/linux/x86_64/64/Versions: Likewise.
933         * sysdeps/unix/sysv/linux/mips/mips64/n64/Versions: Likewise.
934         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Remove new 2.24
935         version for {recv,send,recm,sendm}msg.
936         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
937         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
938         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
939         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
940         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
941         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
942         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
943         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
944         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
945         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
946         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
947         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
948         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
949         Likewise.
950         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
951         Likewise.
952         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
953         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
954         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
955         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
956         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
957         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
958         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
959         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
960         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
961         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
962         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
963         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
964         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
966 2016-06-10  Florian Weimer  <fweimer@redhat.com>
968         [BZ #19564]
969         Remove __malloc_initialize_hook from the API.
970         * malloc/malloc.h (__malloc_initialize_hook): Remove.
971         * include/stdc-predef.h (__malloc_initialize_hook): Poison with
972         #pragma GCC poison.
973         * malloc/malloc-hooks.h: New file.
974         * malloc/arena.c (ptmalloc_init): Use old__malloc_initialize_hook.
975         * malloc/malloc.c (HAVE_MALLOC_INIT_HOOK): New.
976         (old__malloc_initialize_hook): Rename from
977         __malloc_initialize_hook to evade poisoning.  Turn into compat
978         symbol.
979         * malloc/mcheck-init.c (old__malloc_initialize_hook): Rename from
980         __malloc_initialize_hook.
981         * malloc/Makefile (poisoned_apis, unpoisoned_api_defines): New.
982         (mallo.c, mcheck-init.c): Compile with unpoisoned symbol.
983         * manual/memory.texi (Hooks for Malloc): Remove
984         __malloc_initialize_hook.  Adjust hook example.
986 2016-06-09  Joseph Myers  <joseph@codesourcery.com>
988         [BZ #20235]
989         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Add NaN input to
990         itself.
991         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Likewise.
992         * math/libm-test.inc (log2_test_data): Add sNaN tests.
994         [BZ #20234]
995         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Add positive
996         infinity or NaN input to itself.
998         [BZ #20233]
999         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Add NaN input
1000         to itself.
1002         [BZ #20232]
1003         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Add NaN input to
1004         itself.
1006 2016-06-09  H.J. Lu  <hongjiu.lu@intel.com>
1008         * sysdeps/x86_64/start.S (_start): Always indirect branch to
1009         __libc_start_main via GOT.
1011 2016-06-09  H.J. Lu  <hongjiu.lu@intel.com>
1013         * sysdeps/x86_64/memcopy.h: New file.
1014         * sysdeps/x86_64/wordcopy.c: Likewise.
1016 2016-06-09  Florian Weimer  <fweimer@redhat.com>
1018         Prevent GCC 6 <cstdlib> from including /usr/include/stdlib.h.
1019         * stdlib/tst-quick_exit.cc: Include <stdlib.h> instead of
1020         <cstdlib>.
1021         (optimization_barrier): New.
1022         (do_test): Use it.  Call quick_exit in the global namespace.
1023         * stdlib/tst-thread-quick_exit.cc: Include <stdlib.h>, <pthread.h>
1024         instead of <cstdlib>, <thread>.
1025         (optimization_barrier): New.
1026         (non_main_thread): Adjust declaration.  Call optimization_barrier.
1027         Call quick_exit in the global namespace.
1028         (do_test): Call optimization_barrier.  Use pthread_create,
1029         pthread_join instead of std::thread.
1031 2016-06-09  Andreas Schwab  <schwab@suse.de>
1033         [BZ #19755]
1034         * nscd/pwdcache.c (cache_addpw): Lock prune_run_lock while adding
1035         new entries in auto-propagate mode.
1036         * nscd/grpcache.c (cache_addgr): Likewise.
1038 2016-06-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
1040         * test-skeleton.c (oom_error, xmalloc, xcalloc, xrealloc):
1041         New functions.
1042         (add_temp_file): Use them.
1044 2016-06-09  Samuel Thibault  <samuel.thibault@ens-lyon.org
1046         * mach/mach/mach_traps.h (mach_print): Add syscall declaration.
1048 2016-06-08  Joseph Myers  <joseph@codesourcery.com>
1050         [BZ #20229]
1051         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Add NaN input to itself.
1052         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Likewise.
1053         * math/libm-test.inc (log1p_test_data): Add sNaN tests.
1055         [BZ #20228]
1056         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Add NaN input to
1057         itself.
1058         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Likewise.
1059         * math/libm-test.inc (log10_test_data): Add sNaN tests.
1061         [BZ #20227]
1062         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Add NaN input to
1063         itself.
1064         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
1065         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
1066         * math/libm-test.inc (log_test_data): Add sNaN tests.
1068         [BZ #20226]
1069         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Add NaN argument to
1070         itself.
1071         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
1072         * math/libm-test.inc (exp_test_data): Add sNaN tests.
1073         (exp10_test_data): Likewise.
1074         (expm1_test_data): Likewise.
1076         [BZ #20225]
1077         * math/s_ldexp.c (__ldexp): Add non-finite or zero argument to
1078         itself.
1079         * math/s_ldexpf.c (__ldexpf): Likewise.
1080         * math/s_ldexpl.c (__ldexpl): Likewise.
1081         * math/w_scalbln.c (__w_scalbln): Likewise.
1082         * math/w_scalblnf.c (__w_scalblnf): Likewise.
1083         * math/w_scalblnl.c (__w_scalblnl): Likewise.
1084         * math/libm-test.inc (scalbn_test_data): Add sNaN tests.
1085         (scalbln_test_data): Likewise.
1087         [BZ #20224]
1088         * sysdeps/i386/fpu/s_cbrtl.S (__cbrtl): Add non-finite or zero
1089         argument to itself.
1090         * math/libm-test.inc (cbrt_test_data): Add sNaN tests.
1092 2016-06-08  H.J. Lu  <hongjiu.lu@intel.com>
1094         [BZ #19776]
1095         * sysdeps/x86_64/memcpy.S: Make it dummy.
1096         * sysdeps/x86_64/mempcpy.S: Likewise.
1097         * sysdeps/x86_64/memmove.S: New file.
1098         * sysdeps/x86_64/memmove_chk.S: Likewise.
1099         * sysdeps/x86_64/multiarch/memmove.S: Likewise.
1100         * sysdeps/x86_64/multiarch/memmove_chk.S: Likewise.
1101         * sysdeps/x86_64/memmove.c: Removed.
1102         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
1103         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
1104         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: Likewise.
1105         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S:
1106         Likewise.
1107         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
1108         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
1109         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
1110         memcpy-sse2-unaligned, memmove-avx-unaligned,
1111         memcpy-avx-unaligned and memmove-sse2-unaligned-erms.
1112         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
1113         (__libc_ifunc_impl_list): Replace
1114         __memmove_chk_avx512_unaligned_2 with
1115         __memmove_chk_avx512_unaligned.  Remove
1116         __memmove_chk_avx_unaligned_2.  Replace
1117         __memmove_chk_sse2_unaligned_2 with
1118         __memmove_chk_sse2_unaligned.  Remove __memmove_chk_sse2 and
1119         __memmove_avx_unaligned_2.  Replace __memmove_avx512_unaligned_2
1120         with __memmove_avx512_unaligned.  Replace
1121         __memmove_sse2_unaligned_2 with __memmove_sse2_unaligned.
1122         Remove __memmove_sse2.  Replace __memcpy_chk_avx512_unaligned_2
1123         with __memcpy_chk_avx512_unaligned.  Remove
1124         __memcpy_chk_avx_unaligned_2.  Replace
1125         __memcpy_chk_sse2_unaligned_2 with __memcpy_chk_sse2_unaligned.
1126         Remove __memcpy_chk_sse2.  Remove __memcpy_avx_unaligned_2.
1127         Replace __memcpy_avx512_unaligned_2 with
1128         __memcpy_avx512_unaligned.  Remove __memcpy_sse2_unaligned_2
1129         and __memcpy_sse2.  Replace __mempcpy_chk_avx512_unaligned_2
1130         with __mempcpy_chk_avx512_unaligned.  Remove
1131         __mempcpy_chk_avx_unaligned_2.  Replace
1132         __mempcpy_chk_sse2_unaligned_2 with
1133         __mempcpy_chk_sse2_unaligned.  Remove __mempcpy_chk_sse2.
1134         Replace __mempcpy_avx512_unaligned_2 with
1135         __mempcpy_avx512_unaligned.  Remove __mempcpy_avx_unaligned_2.
1136         Replace __mempcpy_sse2_unaligned_2 with
1137         __mempcpy_sse2_unaligned.  Remove __mempcpy_sse2.
1138         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Support
1139         __memcpy_avx512_unaligned_erms and __memcpy_avx512_unaligned.
1140         Use __memcpy_avx_unaligned_erms and __memcpy_sse2_unaligned_erms
1141         if processor has ERMS.  Default to __memcpy_sse2_unaligned.
1142         (ENTRY): Removed.
1143         (END): Likewise.
1144         (ENTRY_CHK): Likewise.
1145         (libc_hidden_builtin_def): Likewise.
1146         Don't include ../memcpy.S.
1147         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Support
1148         __memcpy_chk_avx512_unaligned_erms and
1149         __memcpy_chk_avx512_unaligned.  Use
1150         __memcpy_chk_avx_unaligned_erms and
1151         __memcpy_chk_sse2_unaligned_erms if if processor has ERMS.
1152         Default to __memcpy_chk_sse2_unaligned.
1153         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
1154         Change function suffix from unaligned_2 to unaligned.
1155         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Support
1156         __mempcpy_avx512_unaligned_erms and __mempcpy_avx512_unaligned.
1157         Use __mempcpy_avx_unaligned_erms and __mempcpy_sse2_unaligned_erms
1158         if processor has ERMS.  Default to __mempcpy_sse2_unaligned.
1159         (ENTRY): Removed.
1160         (END): Likewise.
1161         (ENTRY_CHK): Likewise.
1162         (libc_hidden_builtin_def): Likewise.
1163         Don't include ../mempcpy.S.
1164         (mempcpy): New.  Add a weak alias.
1165         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Support
1166         __mempcpy_chk_avx512_unaligned_erms and
1167         __mempcpy_chk_avx512_unaligned.  Use
1168         __mempcpy_chk_avx_unaligned_erms and
1169         __mempcpy_chk_sse2_unaligned_erms if if processor has ERMS.
1170         Default to __mempcpy_chk_sse2_unaligned.
1172 2016-06-08  H.J. Lu  <hongjiu.lu@intel.com>
1174         [BZ #19881]
1175         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Folded
1176         into ...
1177         * sysdeps/x86_64/memset.S: This.
1178         (__bzero): Removed.
1179         (__memset_tail): Likewise.
1180         (__memset_chk): Likewise.
1181         (memset): Likewise.
1182         (MEMSET_CHK_SYMBOL): New. Define only if MEMSET_SYMBOL isn't
1183         defined.
1184         (MEMSET_SYMBOL): Define only if MEMSET_SYMBOL isn't defined.
1185         * sysdeps/x86_64/multiarch/memset-avx2.S: Removed.
1186         (__memset_zero_constant_len_parameter): Check SHARED instead of
1187         PIC.
1188         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
1189         memset-avx2 and memset-sse2-unaligned-erms.
1190         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
1191         (__libc_ifunc_impl_list): Remove __memset_chk_sse2,
1192         __memset_chk_avx2, __memset_sse2 and __memset_avx2_unaligned.
1193         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
1194         (__bzero): Enabled.
1195         * sysdeps/x86_64/multiarch/memset.S (memset): Replace
1196         __memset_sse2 and __memset_avx2 with __memset_sse2_unaligned
1197         and __memset_avx2_unaligned.  Use __memset_sse2_unaligned_erms
1198         or __memset_avx2_unaligned_erms if processor has ERMS.  Support
1199         __memset_avx512_unaligned_erms and __memset_avx512_unaligned.
1200         (memset): Removed.
1201         (__memset_chk): Likewise.
1202         (MEMSET_SYMBOL): New.
1203         (libc_hidden_builtin_def): Replace __memset_sse2 with
1204         __memset_sse2_unaligned.
1205         * sysdeps/x86_64/multiarch/memset_chk.S (__memset_chk): Replace
1206         __memset_chk_sse2 and __memset_chk_avx2 with
1207         __memset_chk_sse2_unaligned and __memset_chk_avx2_unaligned_erms.
1208         Use __memset_chk_sse2_unaligned_erms or
1209         __memset_chk_avx2_unaligned_erms if processor has ERMS.  Support
1210         __memset_chk_avx512_unaligned_erms and
1211         __memset_chk_avx512_unaligned.
1213 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1215         * math/gen-auto-libm-test.c (fp_format_desc): remove
1216         suffix member.
1217         (output_generic_value): Remove usage of suffix member,
1218         and the resulting unuse of the fp_format argument.
1219         (output_for_one_input_case): Remove unused fp_format
1220         parameter.
1222         * math/auto-libm-test-out: Regenerate.
1224         * math/libm-test.inc (TEST_COND_ldbl_128ibm): replace
1225         usage with TEST_COND_ibm128.
1226         (TEST_COND_flt_32): Remove.
1227         (TEST_COND_dbl_64): Remove.
1228         (TEST_COND_ldbl_96_intel): Remove.
1229         (TEST_COND_ldbl_96_m68k): Remove.
1230         (TEST_COND_ldbl_128): Remove.
1232 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1234         * auto-libm-test-in:
1235         Replace flt-32 usage with binary32.
1236         Replace dbl-64 usage with binary64.
1237         Replace ldbl-intel-96 usage with intel96.
1238         Replace ldbl-m68k-96 usage with m68k96.
1239         Replace ldbl-128ibm usage with ibm128.
1240         Replace ldbl-128 usage with binary128.
1242         * auto-libm-test-out: Regenerate.
1244 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1246         * math/gen-libm-test.pl (all_floats_pfx): New lookup table.
1247         (parse_ulps): Dynamically generate type name matching
1248         string from all_floats.
1249         (get_ulps): Generate the ulps as an array instead.
1250         (output_ulps): Dynamically compose the type based
1251         on the number of supported formats, and print
1252         the indices as type specific helper macros.
1254         * math/libm-test.inc: Remove comment about CHOOSE.
1255         (ulp_data): Generate the type in libm-test-ulps.h.
1256         (ULP_IDX): New macro.
1257         (find_ulps): Update usage of max_ulp.
1259         * math/test-double-vlen2.h (CHOOSE): Remove.
1260         * math/test-double-vlen4.h (CHOOSE): Likewise.
1261         * math/test-double-vlen8.h (CHOOSE): Likewise.
1262         * math/test-float.c (CHOOSE): Likewise.
1263         * math/test-float-finite.c (CHOOSE): Likewise.
1264         * math/test-double.c (CHOOSE): Likewise.
1265         * math/test-double-finite.c (CHOOSE): Likewise.
1266         * math/test-idouble.c (CHOOSE): Likewise.
1267         * math/test-ifloat.c (CHOOSE): Likewise.
1268         * math/test-ildoubl.c (CHOOSE): Likewise.
1269         * math/test-ldouble-finite.c (CHOOSE): Likewise.
1270         * math/test-ldouble.c (CHOOSE): Likewise.
1272         * math/test-float.h (TEST_FLOAT): Remove.
1273         * math/test-double.h (TEST_DOUBLE): Likewise.
1274         * math/test-ldouble.h (TEST_LDOUBLE): Likewise.
1276 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1278         * math/gen-libm-test.pl: (apply_lit): New subroutine.
1279         (parse_args): Strip C suffix from floating point literals
1280         typed with 'f' and wrap them with LIT().
1282         * math/libm-tests.inc (RUN_TEST_LOOP_fj_f): New macro.
1283         (test_ff_f_data_nexttoward): Rename to
1284         (test_fj_f_data): New struct.
1285         (nexttoward_test_data): Relabel tests as
1286         TEST_fj_f instead of TEST_ff_f.
1288 2016-06-08  Florian Weimer  <fweimer@redhat.com>
1290         Emacs bug 23726.
1291         * malloc/malloc.c (dumped_main_arena_start): Update comment.
1292         (__libc_realloc): Correct size computation for dumped fake mmapped
1293         chunks.
1295 2016-06-07  Joseph Myers  <joseph@codesourcery.com>
1297         [BZ #20219]
1298         * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): Add NaN argument
1299         to itself.
1300         * math/libm-test.inc (atanh_test_data): Add sNaN tests.
1302         [BZ #20218]
1303         * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Add non-finite argument
1304         to itself.
1305         * math/libm-test.inc (asinh_test_data): Add sNaN tests.
1307 2016-06-07  H.J. Lu  <hongjiu.lu@intel.com>
1309         [BZ #20195]
1310         * sysdeps/x86/cpu-features.c (get_common_indeces): Move FMA4
1311         check to ...
1312         (init_cpu_features): Here.
1314 2016-06-07  Carlos O'Donell  <carlos@redhat.com>
1316         [BZ #20214]
1317         * sysdeps/unix/sysv/linux/bits/in.h
1318         [defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H
1319          || defined _LINUX_IN6_H || defined _IPV6_H] (__USE_KERNEL_IPV6_DEFS):
1320         Define to 1.
1321         [!(defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H
1322          || defined _LINUX_IN6_H || defined _IPV6_H)] (__USE_KERNEL_IPV6_DEFS):
1323         Define to 0.
1324         [!__USE_KERNEL_IPV6_DEFS] (IPV6_ADD_MEMBERSHIP): Define.
1325         [!__USE_KERNEL_IPV6_DEFS] (IPV6_DROP_MEMBERSHIP): Define.
1327 2016-06-06  Carlos O'Donell  <carlos@redhat.com>
1329         [BZ #20198]
1330         * stdlib/Makefile (tests): Add tst-quick_exit, and
1331         tst-thread-quick_exit.
1332         [ifeq ($(have-cxx-thread_local),yes)]
1333         (CFLAGS-tst-quick_exit.o): Use -stdc=c++11.
1334         (CFLAGS-tst-thread-quick_exit.o): Likewise.
1335         (LDLIBS-tst-quick_exit): Use -lstdc++ for C++ program.
1336         (LDLIBS-tst-thread-quick_exit): Likewise.
1337         [ifneq ($(have-cxx-thread_local),yes)]
1338         (tests-unsupported): Add tst-quick_exit, and tst-thread-quick_exit.
1339         * stdlib/exit.c (__run_exit_handlers): Add run_dtors argument.
1340         If run_dtors is true call __call_tls_dtors.
1341         (exit): Call __run_exit_handlers with run_dtors set to true.
1342         * stdlib/exit.h: Add run_dtors argument to __run_exit_handlers
1343         definition.
1344         * stdlib/quick_exit.c (quick_exit): Remove function.
1345         (__new_quick_exit): New function.
1346         [SHLIB_COMPAT(libc, GLIBC_2_10, GLIBC_2_24)] (__old_quick_exit): New
1347         function.
1348         * stdlib/tst-quick_exit.cc: New file.
1349         * stdlib/tst-thread-quick_exit.cc: New file.
1350         * stdlib/Versions: Add quick_exit@GLIBC_2.24.
1351         * sysdeps/arm/nacl/libc.abilist: Add 'GLIBC_2.24 quick_exit F'.
1352         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise
1353         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise
1354         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise
1355         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise
1356         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise
1357         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise
1358         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise
1359         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise
1360         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise
1361         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise
1362         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise
1363         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise
1364         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise
1365         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise
1366         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: Likewise
1367         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise
1368         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise
1369         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise
1370         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise
1371         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise
1372         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise
1373         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise
1374         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise
1375         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise
1376         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise
1377         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise
1378         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise
1379         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise
1381 2016-06-06  H.J. Lu  <hongjiu.lu@intel.com>
1383         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Fix
1384         a typo in comments.
1386 2016-06-06  Joseph Myers  <joseph@codesourcery.com>
1388         [BZ #20213]
1389         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Add NaN
1390         argument to itself.
1391         * math/libm-test.inc (asin_test_data): Add sNaN tests.
1393 2016-06-06  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1395         * misc/Makefile (CFLAGS-pwritev.c): New variable: add cancellation
1396         required flags.
1397         (CFLAGS-pwritev64.c): Likewise.
1398         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Remove file.
1399         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
1400         * sysdeps/unix/sysv/linux/mips/mips64/n64/pwritev64.c: Likewise.
1401         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
1402         * sysdeps/unix/sysv/linux/wordsize-64/pwritev64.: Likwise.
1403         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (pwritev): Remove
1404         syscall from auto-generation.
1405         * sysdeps/unix/sysv/linux/pwritev.c: Rewrite implementation.
1406         [WORDSIZE == 64] (pwritev64): Remove macro.
1407         [!PWRITEV] (PWRITEV): Likewise.
1408         [!PWRITEV] (PWRITEV_REPLACEMENT): Likewise.
1409         [!PWRITEV] (PWRITE): Likewise.
1410         [!PWRITEV] (OFF_T): Likewise.
1411         [!__ASSUME_PWRITEV] (PWRITEV_REPLACEMENT): Likewise.
1412         (LO_HI_LONG): Remove macro.
1413         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev): Add function.
1414         * sysdeps/unix/sysv/linux/pwritev64.c: Rewrite implementation.
1415         (PWRITEV): Remove macro.
1416         (PWRITEV_REPLACEMENTE): Likewise.
1417         (PWRITE): Likewise.
1418         (OFF_T): Likewise.
1419         (pwritev64): New function.
1420         * nptl/tst-cancel4.c (tf_writev): Add test.
1422         * misc/Makefile (CFLAGS-preadv.c): New variable: add cancellation
1423         required flags.
1424         (CFLAGS-preadv64.c): Likewise.
1425         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Remove file.
1426         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
1427         * sysdeps/unix/sysv/linux/mips/mips64/n64/preadv64.c: Likewise.
1428         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: Likewise.
1429         * sysdeps/unix/sysv/linux/wordsize-64/preadv64.: Likwise.
1430         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (preadv): Remove
1431         syscall from auto-generation.
1432         * sysdeps/unix/sysv/linux/preadv.c: Rewrite implementation.
1433         [WORDSIZE == 64] (preadv64): Remove macro.
1434         [!PREADV] (PREADV): Likewise.
1435         [!PREADV] (PREADV_REPLACEMENT): Likewise.
1436         [!PREADV] (PREAD): Likewise.
1437         [!PREADV] (OFF_T): Likewise.
1438         [!__ASSUME_PREADV] (PREADV_REPLACEMENT): Likewise.
1439         (LO_HI_LONG): Remove macro.
1440         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv): Add function.
1441         * sysdeps/unix/sysv/linux/preadv64.c: Rewrite implementation.
1442         (PREADV): Remove macro.
1443         (PREADV_REPLACEMENTE): Likewise.
1444         (PREAD): Likewise.
1445         (OFF_T): Likewise.
1446         (preadv64): New function.
1447         * nptl/tst-cancel4.c (tf_preadv): Add test.
1449 2016-06-06  Joseph Myers  <joseph@codesourcery.com>
1451         [BZ #20212]
1452         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_acos): Add NaN
1453         argument to itself.
1454         * math/libm-test.inc (acos_test_data): Add sNaN tests.
1456 2016-06-06  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
1458         * sysdeps/powerpc/powerpc64/power8/strcasestr.S (__strcasestr):
1459         New symbol defined as libc_hidden_def.
1460         (strcasestr): Became a weak alias to __strcasestr.
1461         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Handle memset calls
1462         according to multi-arch support.  Move __stpncpy hidden
1463         definition from here to...
1464         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: ...here.  Add
1465         symbol stpncpy.
1466         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Undefine
1467         libc_hidden_builtin_def.
1468         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: Specify which
1469         memset symbol to use when multi-arch support is available.
1471 2016-06-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
1473         * dlfcn/tst-rec-dlopen.c: Include string.h.
1475 2016-06-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
1477         * manual/install.texi: Remove mention of --without-tls
1478         * INSTALL: Regenerate.
1480 2016-06-05  Florian Weimer  <fweimer@redhat.com>
1482         * dlfcn/tst-rec-dlopen.c (custom_malloc_hook, old_malloc_hook):
1483         Remove.
1484         (call_function, interposed_malloc_called): New variables.
1485         (malloc): New function.
1486         (do_test): Do not change malloc hooks.  Initialize malloc.  Set
1487         and clear call_function as needed.
1489 2016-06-04  Andreas Schwab  <schwab@linux-m68k.org>
1491         * include/wchar.h (__wmemset): Use __typeof.
1493 2016-06-03  Carlos O'Donell  <carlos@redhat.com>
1495         * include/wchar.h (__wmemset): Declare function without typeof.
1497 2016-06-03  Joseph Myers  <joseph@codesourcery.com>
1499         [BZ #20205]
1500         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Do not adjust
1501         exponent when incrementing negative subnormal with low mantissa
1502         word zero.
1503         * math/libm-test.inc (nextafter_test_data) [TEST_COND_intel96]:
1504         Add another test.
1506 2016-06-03  Florian Weimer  <fweimer@redhat.com>
1508         * libio/wstrops.c (_IO_wstr_overflow, enlarge_userbuf): Use
1509         __wmemset instead of wmemset.
1511 2016-06-02  Carlos O'Donell  <carlos@redhat.com>
1513         * sysdeps/unix/sysv/linux/bits/in.h [defined _UAPI_LINUX_IN6_H ||
1514         defined _UAPI_IPV6_H]: Define __USE_KERNEL_IPV6_DEFS to 1.
1515         [!(defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H)]: Define
1516         __USE_KERNEL_IPV6_DEFS to 0.
1517         * inet/netinet/in.h: Use '#if !__USE_KERNEL_IPV6_DEFS'.
1518         Update comment.
1520 2016-06-01  Florian Weimer  <fweimer@redhat.com>
1522         [BZ #19861]
1523         Do not use IFUNC resolver with potentially unrelocated symbol.
1524         * nptl/pt-fork.c [HAVE_IFUNC]: Remove.
1525         (DEFINE_FORK): Remove macro and inline definition.
1526         (fork_alias): Renamed from fork_ifunc.
1527         (__fork_alias): Renamed from __fork_ifunc.
1529 2016-05-30  Paul Pluzhnikov  <ppluzhnikov@google.com>
1531         [BZ 19653]
1532         * inet/if_index.c (__protocol_available): Delete #if 0'd code.
1533         * inet/ruserpass.c (ruserpass): Delete #if 0'd code.
1535 2016-05-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
1537         * scripts/check-local-headers.sh (exclude): Add hurd/ihash.h, and
1538         include .*-.*/ in addition to .*-.*-.*/ (i.e. i386-gnu in addition to
1539         i386-linux-gnu).
1540         * sysdeps/mach/hurd/configure.ac (libc_cv_ld_gnu_indirect_function):
1541         Set to no.
1542         * sysdeps/mach/hurd/configure: Refresh.
1544 2016-05-30  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1546         [BZ #20178]
1547         * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Call _exit
1548         on failure instead of exit.
1550 2016-05-30  Roland McGrath  <roland@hack.frob.com>
1552         [BZ #3629]
1553         * manual/string.texi (Copying Strings and Arrays): stpcpy is part
1554         of POSIX.1-2008.
1556 2016-05-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
1558         * sysdeps/mach/hurd/i386/____longjmp_chk.S (____longjmp_chk) [PIC]:
1559           Use PLT entry for calling _hurd_self_sigstate.
1561 2016-05-27  H.J. Lu  <hongjiu.lu@intel.com>
1563         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Count number of
1564         available logical processors with SMT level type sharing L2
1565         cache for Intel processors.
1567 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
1569         [BZ #20160]
1570         * sysdeps/powerpc/powerpc64/fpu/s_ceil.S (__ceil): Add NaN
1571         argument to itself before returning the result.
1572         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S (__ceilf): Likewise.
1573         * sysdeps/powerpc/powerpc64/fpu/s_floor.S (__floor): Likewise.
1574         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S (__floorf): Likewise.
1575         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (__nearbyint):
1576         Likewise.
1577         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S (__nearbyintf):
1578         Likewise.
1579         * sysdeps/powerpc/powerpc64/fpu/s_rint.S (__rint): Likewise.
1580         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S (__rintf): Likewise.
1581         * sysdeps/powerpc/powerpc64/fpu/s_round.S (__round): Likewise.
1582         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S (__roundf): Likewise.
1583         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S (__trunc): Likewise.
1584         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S (__truncf): Likewise.
1586         [BZ #20160]
1587         * sysdeps/powerpc/powerpc32/fpu/s_ceil.S (__ceil): Add NaN
1588         argument to itself before returning the result.
1589         * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S (__ceilf): Likewise.
1590         * sysdeps/powerpc/powerpc32/fpu/s_floor.S (__floor): Likewise.
1591         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S (__floorf): Likewise.
1592         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint):
1593         Likewise.
1594         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
1595         Likewise.
1596         * sysdeps/powerpc/powerpc32/fpu/s_rint.S (__rint): Likewise.
1597         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S (__rintf): Likewise.
1598         * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Likewise.
1599         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise.
1600         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S (__trunc): Likewise.
1601         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S (__truncf): Likewise.
1603 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1605         * libm-test.inc: Replace usage of M_El with
1606         (lit_e): New macro.
1608 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1610         * libm-test.inc: Replace usage of M_PI_4l with
1611         (lit_pi_4_d): New macro.
1613 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1615         * libm-test.inc: Replace usage of M_PIl with
1616         (lit_pi): New macro.
1618 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1620         * libm-test.inc: Replace usage of M_PI2l with
1621         (lit_pi_2_d): New macro.
1623         * math/test-double.h (LITM): New macro.
1624         * math/test-float.h (LITM): Likewise.
1625         * math/test-ldouble.h (LITM): Likewise.
1627 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1629         * libm-test.inc (M_PI_34l): Rename to
1630         (lit_pi_3_m_4_d): New Macro.
1631         (M_PI_34_LOG10El): Rename to
1632         (lit_pi_3_m_4_ln10_m_d): New Macro.
1633         (M_PI2_LOG10El): Rename to
1634         (lit_pi_2_ln10_m_d):  New Macro.
1635         (M_PI4_LOG10El): Rename to
1636         (lit_pi_4_ln10_m_d):  New Macro.
1637         (M_PI_LOG10El): Rename to
1638         (lit_pi_ln10_d):  New Macro.
1640 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
1642         [BZ #20157]
1643         * sysdeps/powerpc/powerpc32/fpu/s_fabsl.S (__fabsl): Use fsel to
1644         determine whether to negate low half if [_ARCH_PPCGR], and integer
1645         comparison otherwise.
1646         * sysdeps/powerpc/powerpc64/fpu/s_fabsl.S (__fabsl): Use fsel to
1647         determine whether to negate low half.
1649         * math/libm-test.inc (NO_TEST_INLINE_FLOAT): Remove macro.
1650         (NO_TEST_INLINE_DOUBLE): Likewise.
1651         (TEST_COND_x86_64): Likewise.
1652         (TEST_COND_x86): Likewise.
1653         (M_PI_6l): Likewise.
1655 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1657         * math/libm-test.inc:
1658         (TEST_FLOAT): Change usage to TEST_COND_binary32.
1659         (TEST_DOUBLE): Change usage to TEST_COND_binary64.
1660         (TEST_LDOUBLE): Update usage to evaluate as true if
1661         the guarded tests match the property being tested.
1662         (LDBL_MAX_EXP): Change to MAX_EXP.
1663         (LDBL_MIN_EXP): Change to MIN_EXP.
1664         (LDBL_MANT_DIG): Change to MANT_DIG, except for
1665         nexttoward tests.
1667 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1669         * math/libm-test.inc:
1670         (TYPE_DECIMAL_DIG): Redefine using type supplied PREFIX macro.
1671         (TYPE_MIN): Likewise.
1672         (TYPE_TRUE_MIN): Likewise.
1673         (TYPE_MAX): Likewise.
1674         (MIN_EXP): Likewise.
1675         (MAX_EXP): Likewise.
1676         (MANT_DIG): Likewise.
1678         (FSTR_MAX): New macro.
1679         (__CONCATX): Likewise.
1680         (QTYPE_STR): Likewise.
1681         (TEST_COND_binary32): Likewise.
1682         (TEST_COND_binary64): Likewise.
1683         (TEST_COND_binary128): Likewise.
1684         (TEST_COND_ibm128): Likewise.
1685         (TEST_COND_intel96): Likewise.
1686         (TEST_COND_m68k96): Likewise.
1688         (TEST_COND_flt_32): Redefine as equivalent format test macro.
1689         (TEST_COND_dbl_64): Likewise.
1690         (TEST_COND_ldbl_96_intel): Likewise.
1691         (TEST_COND_ldbl_96_m68k): Likewise.
1692         (TEST_COND_ldbl_128): Likewise.
1693         (TEST_COND_ldbl_128ibm): Likewise.
1695         (plus_zero): Redefine using LIT macro.
1696         (minus_zero): Likewise.
1697         (plus_infty): Redefine as (INF).
1698         (minux_infty): Redefine as (-INF).
1699         (max_value): Redefine as TYPE_MAX.
1700         (min_value): Redefine as TYPE_MIN.
1701         (min_subnorm_value): Redefine as TYPE_TRUE_MIN.
1703         (print_float): Refactor to use snprintf to convert FLOAT values
1704         to string. This brings it closer to dropin replacement of strtof
1705         for the TS 18661 defined types.
1706         (update_stats): Likewise.
1707         (print_complex_function_ulps): Likewise.
1708         (print_max_error): Likewise.
1709         (print_complex_max_error): Likewise.
1710         (check_float_internal): Likewise.
1712         * math/test-float.h (PREFIX): New macro.
1713         (LIT): Likewise.
1714         (TYPE_STR): Likewise.
1715         (FTOSTR): Likewise.
1717         * math/test-double.h (PREFIX): New macro.
1718         (LIT): Likewise.
1719         (TYPE_STR): Likewise.
1720         (FTOSTR): Likewise.
1722         * math/test-ldouble.h (PREFIX): New macro.
1723         (LIT): Likewise.
1724         (TYPE_STR): Likewise.
1725         (FTOSTR): Likewise.
1727 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
1729         [BZ #20156]
1730         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (__ceill): Add high part
1731         to itself when zero or not finite.
1732         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (__floorl): Likewise.
1733         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
1734         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c (__roundl): Likewise.
1735         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Likewise.
1737 2016-05-26  Joseph Myers  <joseph@codesourcery.com>
1739         [BZ #20153]
1740         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Return
1741         x * x + x for infinities and NaNs.
1743         [BZ #20151]
1744         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Add NaN
1745         argument to itself before returning result.
1746         (__ieee754_y0l): Likewise.
1747         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
1748         (__ieee754_y1l).
1750         * math/libm-test.inc (acosh_test_data): Add sNaN tests.
1751         (atan_test_data): Likewise.
1752         (ceil_test_data): Likewise.
1753         (cos_test_data): Likewise.
1754         (cosh_test_data): Likewise.
1755         (erf_test_data): Likewise.
1756         (exp2_test_data): Likewise.
1757         (fabs_test_data): Likewise.
1758         (floor_test_data): Likewise.
1759         (ilogb_test_data): Likewise.
1760         (j0_test_data): Likewise.
1761         (j1_test_data): Likewise.
1762         (jn_test_data): Likewise.
1763         (lgamma_test_data): Likewise.
1764         (lrint_test_data): Likewise.
1765         (llrint_test_data): Likewise.
1766         (logb_test_data): Likewise.
1767         (lround_test_data): Likewise.
1768         (llround_test_data): Likewise.
1769         (nearbyint_test_data): Likewise.
1770         (rint_test_data): Likewise.
1771         (round_test_data): Likewise.
1772         (sin_test_data): Likewise.
1773         (sincos_test_data): Likewise.
1774         (sinh_test_data): Likewise.
1775         (sqrt_test_data): Likewise.
1776         (tan_test_data): Likewise.
1777         (tanh_test_data): Likewise.
1778         (tgamma_test_data): Likewise.
1779         (trunc_test_data): Likewise.
1780         (y0_test_data): Likewise.
1781         (y1_test_data): Likewise.
1782         (yn_test_data): Likewise.
1784         * math/libm-test.inc: Update comment about NaN testing.
1785         (TEST_SNAN): New macro.
1786         (snan_value): Likewise.
1787         (enable_test): Disable tests of sNaNs when SNAN_TESTS fails.
1788         (fpclassify_test_data): Add sNaN tests.
1789         (isfinite_test_data): Likewise.
1790         (isinf_test_data): Likewise.
1791         (isnan_test_data): Likewise.
1792         (isnormal_test_data): Likewise.
1793         (issignaling_test_data): Likewise.
1794         (signbit_test_data): Likewise.
1795         * math/gen-libm-test.pl (%beautify): Add snan_value.
1796         (show_exceptions): Add argument $test_snan.
1797         (parse_args): Handle snan_value as non-finite.  Update call to
1798         show_exceptions.
1799         * math/Makefile (libm-test-no-inline-cflags): Add
1800         -fsignaling-nans.
1802 2016-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1804         * nptl/Makefile (CFLAGS-oldrecvfrom.c): Remove rule.
1805         (CFLAGS-oldsendmsg.c): Add rule.
1806         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24):
1807         Correct recvmsg symbol name.
1808         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24):
1809         Likewise.
1811 2016-05-25  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1813         * sysdeps/unix/sysv/linux/Makefile
1814         [$(subdir) = socket] (sysdep_routines): Add oldrecvmmsg and
1815         oldsendmmsg.
1816         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add recvmmsg and
1817         sendmmsg.
1818         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
1819         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
1820         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
1821         * sysdeps/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
1822         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
1823         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
1824         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
1825         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
1826         Likewise.
1827         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
1828         * sysdeps/unix/sysv/linux/oldrecvmmsg.c: New file.
1829         * sysdeps/unix/sysv/linux/oldsendmmsg.c: Likewise.
1830         * sysdeps/unix/sysv/linux/recvmmsg.c (__recvmmsg): Adjust msghdr
1831         iovlen and controllen fields to adjust to POSIX specification.
1832         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
1834         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Remove xfail-
1835         and change to correct expected type.
1836         (msghdr.msg_controllen): Likewise.
1837         (cmsghdr.cmsg_len): Likewise.
1838         * sysdeps/unix/sysv/linux/bits/socket.h (msghdr.msg_iovlen): Fix
1839         expected POSIX assumption about the size.
1840         (msghdr.msg_controllen): Likewise.
1841         (msghdr.__glibc_reserved1): Likewise.
1842         (msghdr.__glibc_reserved2): Likewise.
1843         (cmsghdr.cmsg_len): Likewise.
1844         (cmsghdr.__glibc_reserved1): Likewise.
1845         * nptl/Makefile (libpthread-routines): Remove ptw-recvmsg and ptw-sendmsg.
1846         Add ptw-oldrecvmsg and ptw-oldsendmsg.
1847         (CFLAGS-sendmsg.c): Remove rule.
1848         (CFLAGS-recvmsg.c): Likewise.
1849         (CFLAGS-oldsendmsg.c): Add rule.
1850         (CFLAGS-oldrecvmsg.c): Likewise.
1851         * sysdeps/unix/sysv/linux/alpha/Versions [libc] (GLIBC_2.24): Add
1852         recvmsg and sendmsg.
1853         * sysdeps/unix/sysv/linux/aarch64/Version [libc] (GLIBC_2.24):
1854         Likewise.
1855         * sysdeps/unix/sysv/linux/arm/Versions [libc] (GLIBC_2.24): Likewise.
1856         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24): Likewise.
1857         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24): Likewise.
1858         * sysdeps/unix/sysv/linux/ia64/Versions [libc] (GLIBC_2.24): Likewise.
1859         * sysdeps/unix/sysv/linux/m68k/Versions [libc] (GLIBC_2.24): Likewise.
1860         * sysdeps/unix/sysv/linux/microblaze/Versions [libc] (GLIBC_2.24):
1861         Likewise.
1862         * sysdeps/unix/sysv/linux/mips/mips32/Versions [libc] (GLIBC_2.24):
1863         Likewise.
1864         * sysdeps/unix/sysv/linux/mips/mips64/n32/Versions [libc] (GLIBC_2.24):
1865         Likewise.
1866         * sysdeps/unix/sysv/linux/mips/mips64/Versions [libc] (GLIBC_2.24):
1867         Likewise.
1868         * sysdeps/unix/sysv/linux/nios2/Versions [libc] (GLIBC_2.24):
1869         Likewise.
1870         * sysdeps/unix/sysv/linux/powerpc/Versions [libc] (GLIBC_2.24):
1871         Likewise.
1872         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions [libc]
1873         (GLIBC_2.24): Likewise.
1874         * sysdeps/unix/sysv/linux/s390/s390-32/Versions [libc] (GLIBC_2.24):
1875         Likewise.
1876         * sysdeps/unix/sysv/linux/s390/s390-64/Versions [libc] (GLIBC_2.24):
1877         Likewise.
1878         * sysdeps/unix/sysv/linux/sh/Versions [libc] (GLIBC_2.24): Likewise.
1879         * sysdeps/unix/sysv/linux/sparc/Versions [libc] (GLIBC_2.24):
1880         Likewise.
1881         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions [libc] (GLIBC_2.24):
1882         Likewise.
1883         ( sysdeps/unix/sysv/linux/tile/Versions [libc] (GLIBC_2.24):
1884         Likewise.
1885         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/Versions [libc]
1886         (GLIBC_2.24): Likewise.
1887         ( sysdeps/unix/sysv/linux/x86_64/64/Versions [libc] (GLIBC_2.24):
1888         Likewise.
1889         * sysdeps/unix/sysv/linux/x84_64/Versions [libc] (GLIBC_2.24):
1890         Likewise.
1891         * sysdeps/unix/sysv/linux/Makefile
1892         [$(subdir) = socket)] (sysdep_headers): Add oldrecvmsg and oldsendmsg.
1893         (CFLAGS-sendmsg.c): Add rule.
1894         (CFLAGS-recvmsg.c): Likewise.
1895         (CFLAGS-oldsendmsg.c): Likewise.
1896         (CFLAGS-oldrecvmsg.c): Likewise.
1897         * sysdeps/unix/sysv/linux/check_native.c (__check_native): Fix msghdr
1898         initialization.
1899         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Likewise.
1900         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Likewise.
1901         * sysdeps/unix/sysv/linux/oldrecvmsg.c: New file.
1902         * sysdeps/unix/sysv/linux/oldsendmsg.c: Likewise.
1903         * sysdeps/unix/sysv/linux/recvmsg.c (__libc_recvmsg): Adjust msghdr
1904         iovlen and controllen fields to adjust to POSIX specification.
1905         * sysdeps/unix/sysv/linux/sendmsg.c (__libc_sendmsg): Likewise.
1906         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: New version and
1907         added recvmsg and sendmsg.
1908         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
1909         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
1910         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
1911         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
1912         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
1913         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
1914         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
1915         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
1916         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
1917         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
1918         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
1919         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise
1920         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
1921         Likewise.
1922         * sysdeps/unix/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
1923         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
1924         * sysdepe/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
1925         Likewise.
1926         Likewise.
1927         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
1928         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
1929         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
1930         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
1931         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
1932         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
1933         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
1934         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
1935         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
1936         Likewise.
1937         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
1938         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
1940         * sysdeps/unix/sysv/linux/alpha/syscalls.list (recvmsg): Remove
1941         from auto-generation.
1942         (sendmsg): Likewise.
1943         * sysdeps/unix/sysv/linux/arm/syscalls.list (recvmsg): Likewise.
1944         (sendmsg): Likewise.
1945         * sysdeps/unix/sysv/linux/generic/syscalls.list (recvmsg): Likewise.
1946         (sendmsg): Likewise.
1947         * sysdeps/unix/sysv/linux/hppa/syscalls.list (recvmsg): Likewise.
1948         (sendmsg): Likewise.
1949         * sysdeps/unix/sysv/linux/ia64/syscalls.list (recvmsg): Likewise.
1950         (sendmsg): Likewise.
1951         * sysdeps/unix/sysv/linux/mips/syscalls.list (recvmsg): Likewise.
1952         (sendmsg): Likewise.
1953         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (recvmsg):
1954         Likewise.
1955         (sendmsg): Likewise.
1956         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (recvmsg): Likewise.
1957         (sendmsg): Likewise.
1958         * sysdeps/unix/sysv/linux/i386/kernel-features.h
1959         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
1960         Remove.
1961         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
1962         Likewise.
1963         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
1964         Undefine.
1965         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
1966         Likewise.
1967         * sysdeps/unix/sysv/linux/kernel-features.h
1968         (__ASSUME_SENDMSG_SYSCALL): Define.
1969         (__ASSUME_RECVMSG_SYSCALL): Likewise.
1970         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
1971         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
1972         Remove.
1973         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
1974         Likewise.
1975         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
1976         Undefine.
1977         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
1978         Likewise.
1979         * sysdeps/unix/sysv/linux/s390/kernel-features.h
1980         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
1981         Remove.
1982         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
1983         Likewise.
1984         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
1985         Undefine.
1986         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
1987         Likewise.
1988         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
1989         (__ASSUME_SENDMSG_SYSCALL): Undefine.
1990         (__ASSUME_RECVMSG_SYSCALL): Likewise.
1991         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
1992         (__ASSUME_SENDMSG_SYSCALL): Likewise.
1993         (__ASSUME_RECVMSG_SYSCALL): Likewise.
1994         * sysdeps/unix/sysv/linux/sh/kernel-features.h
1995         (__ASSUME_SENDMSG_SYSCALL): Likewise.
1996         (__ASSUME_RECVMSG_SYSCALL): Likewise.
1998 2016-05-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2000         * stdlib/gen-tst-strtod-round.c: Add backslash to
2001         compile command in comment.
2002         (printfp): Remove the literal suffix, and define an infinite
2003         value as INF to avoid expansion clash with INFINITY.
2004         (round_str): Remove the literal suffix.
2005         (round_for_all): Likewise, remove the now duplicate ldbl-64
2006         entry, and remove some magic constants.
2008         * stdlib/tst-strtod-round.c: (TEST): Redefine to reduce
2009         duplication.  Remove duplicate dbl-64 and ldbl-64 entries.
2010         (ROUNDING_TESTS_long_double): Define as 0 for ibm128.
2011         (_CONCAT): New macro.
2012         (CONCAT): Likewise.
2013         (CHOOSE_ld): Likewise.
2014         (CHOOSE_f): Likewise.
2015         (CHOOSE_d): Likewise.
2016         (FTYPE_MEMBER): Likewise.
2017         (BOOL_MEMBER): Likewise.
2018         (STRUCT_FOREACH_FLOAT_FTYPE): Likewise.
2019         (STRUCT_FOREACH_FLOAT_BOOL): Likewise.
2020         (_XNTRY): Likewise.
2021         (XNTRY): Likewise.
2022         (_ENTRY): Likewise.
2023         (ENTRY): Likewise.
2024         (test_exactness): Generate members via macro.
2025         (test_results): Likewise.
2026         (test): Update members.
2027         (TEST): Redefine using new macros.
2028         (INF): New macro.
2029         (fetestmodes): New structure.
2030         (do_test): Refactor to be type generic.
2031         (test_in_one_mode): Refactor duplicate code into
2032         (GEN_ONE_TEST): New macro.
2034         * stdlib/tst-strtod-round-data.h: Regenerate.
2036         * stdlib/tst-strtod.h (GEN_TEST_STRTOD_FOREACH):
2037         Extend to pass additional arbitrary parameters to
2038         generators.
2040 2016-05-25  Joseph Myers  <joseph@codesourcery.com>
2042         [BZ #15479]
2043         * sysdeps/powerpc/powerpc64/fpu/s_ceil.S (__ceil): Move save of
2044         floating-point state after first floating-point operation on
2045         input.  Restore full floating-point state instead of just rounding
2046         mode.
2047         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S (__ceilf): Likewise.
2048         * sysdeps/powerpc/powerpc64/fpu/s_floor.S (__floor): Likewise.
2049         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S (__floorf): Likewise.
2050         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S (__trunc): Likewise.
2051         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S (__truncf): Likewise.
2053         [BZ #15479]
2054         * sysdeps/powerpc/powerpc32/fpu/s_ceil.S (__ceil): Move save of
2055         floating-point state after first floating-point operation on
2056         input.  Restore full floating-point state instead of just rounding
2057         mode.
2058         * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S (__ceilf): Likewise.
2059         * sysdeps/powerpc/powerpc32/fpu/s_floor.S (__floor): Likewise.
2060         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S (__floorf): Likewise.
2061         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S (__trunc): Likewise.
2062         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S (__truncf): Likewise.
2064 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
2066         [BZ #19727]
2067         * iconvdata/utf-16.c (BODY): Report an error if first word is not a
2068         valid high surrogate.
2069         * iconvdata/utf-32.c (BODY): Report an error if the value is in range
2070         of an utf16 surrogate.
2071         * iconv/gconv_simple.c (BODY): Likewise.
2072         * iconvdata/bug-iconv12.c: New file.
2073         * iconvdata/Makefile (tests): Add bug-iconv12.
2075 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
2077         [BZ #19726]
2078         * iconv/gconv_simple.c (ucs4le_internal_loop): Update inptrp and
2079         outptrp in case of an illegal input.
2080         * iconv/tst-iconv6.c: New file.
2081         * iconv/Makefile (tests): Add tst-iconv6.
2083 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
2085         * sysdeps/s390/utf16-utf32-z9.c: Disable cu42 instruction and report
2086         an error in case of a value in range of an utf16 low surrogate.
2088 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
2090         * sysdeps/s390/utf8-utf32-z9.c: Disable cu41 instruction and report
2091         an error in case of a value in range of an utf16 low surrogate.
2093 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
2095         * sysdeps/s390/s390-64/Makefile (iconvdata-subdirectory):
2096         Move to ...
2097         * sysdeps/s390/Makefile: ... here.
2098         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c: Move to ...
2099         * sysdeps/s390/iso-8859-1_cp037_z900.c: ... here.
2100         (BRANCH_ON_COUNT): New define.
2101         (TR_LOOP): Use BRANCH_ON_COUNT instead of brctg.
2102         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Move to ...
2103         * sysdeps/s390/utf16-utf32-z9.c: ... here and adjust to
2104         run on s390-32, too.
2105         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Move to ...
2106         * sysdeps/s390/utf8-utf16-z9.c: ... here and adjust to
2107         run on s390-32, too.
2108         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Move to ...
2109         * sysdeps/s390/utf8-utf32-z9.c: ... here and adjust to
2110         run on s390-32, too.
2112 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
2114         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Use ifunc to select c,
2115         etf3eh or new vector loop-variant.
2117 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
2119         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Use ifunc to select c,
2120         etf3eh or new vector loop-variant.
2122 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
2124         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Use ifunc to select c, etf3eh
2125         or new vector loop-variant.
2127 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
2129         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c (TROO_LOOP):
2130         Rename to TR_LOOP and usage of tr instead of troo instruction.
2132 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
2134         * sysdeps/s390/multiarch/gconv_simple.c: New File.
2135         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add gconv_simple.
2137 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
2139         * sysdeps/s390/multiarch/8bit-generic.c: New File.
2140         * sysdeps/s390/multiarch/gen-8bit.sh: New File.
2141         * sysdeps/s390/multiarch/Makefile (generate-8bit-table):
2142         New override define.
2143         * sysdeps/s390/multiarch/iconv/skeleton.c: Likewise.
2145 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
2147         * config.h.in (HAVE_S390_VX_GCC_SUPPORT): New macro undefine.
2148         * sysdeps/s390/configure.ac: Add test for S390 vector register
2149         support in gcc.
2150         * sysdeps/s390/configure: Regenerated.
2152 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
2154         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules):
2155         Install file from $(objpfx)gconv-modules.
2156         ($(objpfx)gconv-modules): Concatenate architecture specific file
2157         in variable sysdeps-gconv-modules and gconv-modules in src dir.
2158         * sysdeps/s390/gconv-modules: New file.
2159         * sysdeps/s390/s390-64/Makefile: ($(inst_gconvdir)/gconv-modules):
2160         Deleted.
2161         ($(objpfx)gconv-modules-s390): Deleted.
2162         (sysdeps-gconv-modules): New variable.
2164 2016-05-24  Joseph Myers  <joseph@codesourcery.com>
2166         [BZ #15479]
2167         * sysdeps/x86_64/fpu/multiarch/s_ceil.S (__ceil_sse41): Set bit 3
2168         of immediate operand to rounding instruction.
2169         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S (__ceilf_sse41):
2170         Likewise.
2171         * sysdeps/x86_64/fpu/multiarch/s_floor.S (__floor_sse41):
2172         Likewise.
2173         * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf_sse41):
2174         Likewise.
2176 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2178         * math/libm-test.inc (MIN_EXP): Directly define as
2179         (DBL|LDBL|FLT)_MIN_EXP and fixup usage.
2181 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2183         * math/libm-test.inc (MANT_DIG): Directly define as
2184         (DBL|LDBL|FLT)_MANT_DIG and fixup usage.
2186 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2188         * stdlib/gen-tst-strtod-round.c (main):
2189           Change usage to more closely match the generated
2190           output.  Add usage and compilation instructions.
2191           (string_to_fp): Add and use FILE* parameter as
2192           output target.
2193           (print_fp): Likewise.
2194           (round_str): Likewise.
2195           (round_for_all): Likewise.
2196         * stdlib/tst-strtod-round.c (tests): Move into
2197         * stdlib/tst-strtod-round-data.h: New file.
2199 2016-05-24  Joseph Myers  <joseph@codesourcery.com>
2201         [BZ #15479]
2202         * sysdeps/ieee754/dbl-64/s_round.c (huge): Remove variable.
2203         (__round): Do not force "inexact" exception.
2204         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (huge): Remove
2205         variable.
2206         (__round): Do not force "inexact" exception.
2207         * sysdeps/ieee754/flt-32/s_roundf.c (huge): Remove variable.
2208         (__roundf): Do not force "inexact" exception.
2209         * sysdeps/ieee754/ldbl-128/s_roundl.c (huge): Remove variable.
2210         (__roundl): Do not force "inexact" exception.
2211         * sysdeps/ieee754/ldbl-96/s_roundl.c (huge): Remove variable.
2212         (__roundl): Do not force "inexact" exception.
2213         * math/libm-test.inc (round_test_data): Do not allow spurious
2214         "inexact" exceptions.
2216         [BZ #15479]
2217         * sysdeps/ieee754/dbl-64/s_floor.c: Do not mention "inexact"
2218         exception in comment.
2219         (huge): Remove variable.
2220         (__floor): Do not force "inexact" exception.
2221         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Do not mention
2222         "inexact" exception in comment.
2223         (huge): Remove variable.
2224         (__floor): Do not force "inexact" exception.
2225         * sysdeps/ieee754/flt-32/s_floorf.c: Do not mention "inexact"
2226         exception in comment.
2227         (huge): Remove variable.
2228         (__floorf): Do not force "inexact" exception.
2229         * sysdeps/ieee754/ldbl-128/s_floorl.c: Do not mention "inexact"
2230         exception in comment.
2231         (huge): Remove variable.
2232         (__floorl): Do not force "inexact" exception.
2234         [BZ #15479]
2235         * sysdeps/ieee754/dbl-64/s_ceil.c: Do not mention "inexact"
2236         exception in comment.
2237         (huge): Remove variable.
2238         (__ceil): Do not force "inexact" exception.
2239         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Do not mention
2240         "inexact" exception in comment.
2241         (huge): Remove variable.
2242         (__ceil): Do not force "inexact" exception.
2243         * sysdeps/ieee754/flt-32/s_ceilf.c (huge): Remove variable.
2244         (__ceilf): Do not force "inexact" exception.
2245         * sysdeps/ieee754/ldbl-128/s_ceill.c: Do not mention "inexact"
2246         exception in comment.
2247         (huge): Remove variable.
2248         (__ceill): Do not force "inexact" exception.
2250 2016-05-24  H.J. Lu  <hongjiu.lu@intel.com>
2252         * config.h.in (BIND_NOW): New.
2253         * configure.ac (BIND_NOW): New.  Defined for --enable-bind-now.
2254         * configure: Regenerated.
2255         * sysdeps/x86_64/sysdep.h (JUMPTARGET)[BIND_NOW]: Defined to
2256         indirect branch via the GOT slot.
2258 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
2260         [BZ #19765]
2261         * sysdeps/s390/mempcpy.S: New File.
2262         * sysdeps/s390/multiarch/mempcpy.c: Likewise.
2263         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add mempcpy.
2264         * sysdeps/s390/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
2265         Add mempcpy variants.
2266         * sysdeps/s390/s390-32/memcpy.S: Add mempcpy entry point.
2267         (memcpy): Adjust to be usable from mempcpy entry point.
2268         (__memcpy_mvcle): Likewise.
2269         * sysdeps/s390/s390-64/memcpy.S: Likewise.
2270         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Add entry points
2271         ____mempcpy_z196, ____mempcpy_z10 and add __GI_ symbols for mempcpy.
2272         (__memcpy_z196): Adjust to be usable from mempcpy entry point.
2273         (__memcpy_z10): Likewise.
2274         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Likewise.
2276 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
2278         * sysdeps/s390/multiarch/ifunc-resolve.h (s390_libc_ifunc):
2279         Remove __GI_ symbol.
2280         * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: Add __GI_memcmp symbol.
2281         * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: Likewise.
2282         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Add __GI_memcpy symbol.
2283         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Likewise.
2284         * sysdeps/s390/s390-32/multiarch/memset-s390.S: Add __GI_memset symbol.
2285         * sysdeps/s390/s390-64/multiarch/memset-s390x.S: Likewise.
2287 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
2289         * sysdeps/s390/s390-64/memcpy.S (memcpy):
2290         Use cghi instead of chi to compare 64bit value.
2292 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
2294         * sysdeps/s390/s390-32/memcpy.S (memcpy):
2295         Jump to 1MB check before executing mvc-loop.
2297 2016-05-24  Florian Weimer  <fweimer@redhat.com>
2299         [BZ #6527]
2300         * malloc/malloc.c (MALLOC_ALIGNMENT): Use correct alignment
2301         unconditionally.
2302         * malloc/hooks.c (MALLOC_STATE_VERSION): Increase state version.
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  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2313         * stdlib/bug-strtod2.c (do_test): Refactor strtod usage into ...
2314         (TEST_STRTOD): New macro.
2315         (TEST_FUNCTION): Redefine to use STRTOD_TEST_FOREACH
2317 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2319         * stdlib/tst-strtod6.c (do_test): Use new type generic
2320         invocation of the test function.
2321         (test): Refactor into ...
2322         (TEST_STRTOD): New macro base function.
2324 2016-05-23  Florian Weimer  <fweimer@redhat.com>
2326         CVE-2016-4429
2327         [BZ #20112]
2328         * sunrpc/clnt_udp.c (clntudp_call): Use malloc/free for the error
2329         payload.
2331 2016-05-23  Florian Weimer  <fweimer@redhat.com>
2333         [BZ #20111]
2334         * bits/sockaddr.h (_SS_SIZE): Define.
2335         * bits/socket.h (_SS_SIZE): Remove.
2336         (_SS_PADSIZE): Adjust to account for all padding.
2337         (struct sockaddr_storage): Update comment.  Avoid implicit
2338         padding.
2339         * sysdeps/mach/hurd/bits/socket.h (_SS_SIZE): Remove.
2340         (_SS_PADSIZE): Adjust to account for all padding.
2341         (struct sockaddr_storage): Update comment.  Avoid implicit
2342         padding.
2343         * sysdeps/unix/bsd/bits/sockaddr.h (_SS_SIZE): Define.
2344         * sysdeps/unix/sysv/linux/bits/socket.h (_SS_SIZE): Remove.
2345         (_SS_PADSIZE): Adjust to account for all padding.
2346         (struct sockaddr_storage): Update comment.  Avoid implicit
2347         padding.
2348         * sysdeps/unix/sysv/linux/m68k/bits/sockaddr.h: New file.
2349         __SS_SIZE is 126 in this version.
2350         * inet/tst-sockaddr.c: New file.
2351         * inet/Makefile (tests): Add tst-sockaddr.c
2352         (tst-sockaddr.c): Compile with non-strict aliasing.
2354 2016-05-23  Joseph Myers  <joseph@codesourcery.com>
2356         * conform/data/limits.h-data (CHARCLASS_NAME_MAX): Also expect for
2357         [XPG3 || XPG4].
2358         (NL_ARGMAX): Also expect for [XPG3].
2359         (NL_LANGMAX): Likewise.
2360         (NL_MSGMAX): Likewise.
2361         (NL_NMAX): Likewise.
2362         (NL_SETMAX): Likewise.
2363         (NL_TEXTMAX): Likewise.
2364         (NZERO): Likewise.
2365         (TMP_MAX): Likewise.
2366         * conform/Makefile (test-xfail-XPG3/limits.h/conform): Remove
2367         variable.
2369         * sysdeps/unix/sysv/linux/bits/socket.h (PF_KCM): New macro.
2370         (PF_MAX): Update value.
2371         (AF_KCM): New macro.
2372         (SOL_NETBEUI): Likewise.
2373         (SOL_LLC): Likewise.
2374         (SOL_DCCP): Likewise.
2375         (SOL_NETLINK): Likewise.
2376         (SOL_TIPC): Likewise.
2377         (SOL_RXRPC): Likewise.
2378         (SOL_PPPOL2TP): Likewise.
2379         (SOL_BLUETOOTH): Likewise.
2380         (SOL_PNPIPE): Likewise.
2381         (SOL_RDS): Likewise.
2382         (SOL_IUCV): Likewise.
2383         (SOL_CAIF): Likewise.
2384         (SOL_ALG): Likewise.
2385         (SOL_NFC): Likewise.
2386         (SOL_KCM): Likewise.
2387         (MSG_BATCH): New enum value and macro.
2389 2016-05-20  H.J. Lu  <hongjiu.lu@intel.com>
2391         [BZ #18185]
2392         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Don't limit threads
2393         sharing L2 cache to 2 for Knights Landing.
2395 2016-05-20  Joseph Myers  <joseph@codesourcery.com>
2397         * conform/data/ftw.h-data (struct FTW): Do not expect for [XPG3].
2398         (FTW_DP): Do not expect for [XPG3 || XPG4].
2399         (FTW_SL): Do not expect for [XPG3].
2400         (FTW_SLN): Likewise.
2401         (FTW_PHYS): Likewise.
2402         (FTW_MOUNT): Likewise.
2403         (FTW_DEPTH): Likewise.
2404         (FTW_CHDIR): Likewise.
2405         (nftw): Likewise.
2406         * conform/Makefile (test-xfail-XPG3/ftw.h/conform): Remove
2407         variable.
2409 2016-05-19  Rical Jasan  <ricaljasan@pacific.net>
2411         * manual/errno.texi: Fix various typos & grammar errors.
2413 2016-05-19  Rical Jasan  <ricaljasan@pacific.net>
2415         * manual/intro.texi: Fix duplicated typo.
2417 2016-05-19  Joseph Myers  <joseph@codesourcery.com>
2419         [BZ #13304]
2420         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Include <fenv.h>,
2421         <float.h>, <math_private.h> and <stdlib.h>.
2422         (add_split): New function.
2423         (mul_split): Likewise.
2424         (ext_val): New typedef.
2425         (store_ext_val): New function.
2426         (mul_ext_val): New function.
2427         (compare): New function.
2428         (add_split_ext): New function.
2429         (__fmal): After checking for Inf, NaN and zero, compute result as
2430         an exact sum of scaled double values in round-to-nearest before
2431         adding those up and adjusting for other rounding modes.
2432         * math/auto-libm-test-in: Remove xfail-rounding:ldbl-128ibm from
2433         tests of fma.
2434         * math/auto-libm-test-out: Regenerated.
2436 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
2438         [BZ #20119]
2439         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Correct Intel
2440         processor level type mask for CPUID with EAX == 11.
2442 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
2444         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Skip counting
2445         logical threads if the HTT bit is 0.
2446         * sysdeps/x86/cpu-features.h (bit_cpu_HTT): New.
2447         (index_cpu_HTT): Likewise.
2448         (reg_HTT): Likewise.
2450 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
2452         [BZ #20115]
2453         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S (__memset):
2454         Remove alignments on jump targets.
2456 2016-05-19  Joseph Myers  <joseph@codesourcery.com>
2458         * conform/data/pwd.h-data (endpwent): Do not expect for [XPG3].
2459         (getpwent): Likewise.
2460         (setpwent): Likewise.
2461         * conform/Makefile (test-xfail-XPG3/pwd.h/conform): Remove
2462         variable.
2464         * conform/data/search.h-data (insque): Do not expect for [XPG3].
2465         (remque): Likewise.
2466         * conform/Makefile (test-xfail-XPG3/search.h/conform): Remove
2467         variable.
2469 2016-05-18  Joseph Myers  <joseph@codesourcery.com>
2471         * math/libm-test.inc: Update comment not to refer to signs of NaNs
2472         not being tested.
2474 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
2476         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
2477         (__condvar_cleanup2): Remove JUMPTARGET from  _Unwind_Resume
2478         call.
2479         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
2480         (__condvar_cleanup1): Likewise.
2482 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
2484         * sysdeps/unix/sysv/linux/x86_64/cancellation.S (PTHREAD_UNWIND):
2485         New
2486         (__pthread_unwind): Renamed to ...
2487         (PTHREAD_UNWIND): This.
2488         (__pthread_enable_asynccancel): Replace
2489         JUMPTARGET(__pthread_unwind) with PTHREAD_UNWIND.
2491 2016-05-18  Joseph Myers  <joseph@codesourcery.com>
2493         * sysdeps/unix/sysv/linux/bits/sched.h [__USE_GNU]
2494         (CLONE_NEWCGROUP): New macro.
2496         * sysdeps/unix/sysv/linux/sys/quota.h [_LINUX_QUOTA_VERSION >= 2]
2497         (Q_GETNEXTQUOTA): New macro.
2499 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
2501         [BZ #19907]
2502         * benchtests/bench-memcpy.c (do_one_test): Clear the destination
2503         buffer updated by the previous run.
2504         * string/test-memcpy.c (do_one_test): Likewise.
2505         * benchtests/bench-memmove.c (do_one_test): Add a comment.
2506         * string/test-memmove.c (do_one_test): Likewise.
2508 2016-05-17  Joseph Myers  <joseph@codesourcery.com>
2510         [BZ #20094]
2511         * stdlib/stdlib.h (grantpt): Declare if [__USE_XOPEN_EXTENDED],
2512         not [__USE_XOPEN].
2513         (unlockpt): Likewise.
2514         (ptsname): Likewise.
2515         * conform/Makefile (test-xfail-XPG3/stdlib.h/conform): Remove
2516         variable.
2518         [BZ #20076]
2519         * io/sys/stat.h (S_IFSOCK): Define for [__USE_XOPEN_EXTENDED]
2520         instead of [__USE_UNIX98].
2521         (S_ISSOCK): Likewise.
2522         * conform/Makefile (test-xfail-XPG4/sys/stat.h/conform): Remove
2523         variable.
2525         [BZ #20074]
2526         * stdlib/stdlib.h (rand_r): Declare if [__USE_POSIX199506], not if
2527         [__USE_POSIX].
2528         * conform/Makefile (test-xfail-XPG4/stdlib.h/conform): Remove
2529         variable.
2531         [BZ #20051]
2532         * posix/unistd.h [__USE_XOPEN_EXTENDED && !__USE_UNIX98]
2533         (ttyslot): Do not declare.
2534         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && !__USE_XOPEN2K]
2535         (ttyslot): New prototype.
2536         * conform/Makefile (test-xfail-XPG4/unistd.h/conform): Remove
2537         variable.
2538         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
2540 2016-05-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
2542         * nptl/tst-cancel17.c (do_test): Wait for finishing aio_read(&a).
2544 2016-05-13  Florian Weimer  <fweimer@redhat.com>
2546         Fix race condition in tst-mallocfork2, use fewer resources.
2547         * malloc/tst-mallocfork2.c (sigusr1_handler): Do not send SIGSTOP
2548         to current process group.
2549         (signal_sender): Yield in the non-sleeping case.
2551 2016-05-13  Joseph Myers  <joseph@codesourcery.com>
2553         * conform/data/stdlib.h-data (a64l): Do not expect for [XPG3].
2554         (ecvt): Likewise.
2555         (fcvt): Likewise.
2556         (gcvt): Likewise.
2557         (getsubopt): Likewise.
2558         (grantpt): Likewise.
2559         (initstate): Likewise.
2560         (l64a): Likewise.
2561         (mktemp): Likewise.
2562         (mkstemp): Likewise.
2563         (ptsname): Likewise.
2564         (random): Likewise.
2565         (realpath): Likewise.
2566         (setstate): Likewise.
2567         (srandom): Likewise.
2568         (ttyslot): Likewise.
2569         (unlockpt): Likewise.
2570         (valloc): Likewise.
2572         * conform/data/string.h-data (strdup): Do not expect for [XPG3].
2573         * conform/Makefile (test-xfail-XPG3/string.h/conform): Remove
2574         variable.
2576 2016-05-13  H.J. Lu  <hongjiu.lu@intel.com>
2578         [BZ #20072]
2579         * sysdeps/i386/dl-machine.h (dl_platform_init): Call
2580         init_cpu_features only if SHARED is defined.
2581         * sysdeps/x86_64/dl-machine.h (dl_platform_init): Likewise.
2583 2016-05-13  H.J. Lu  <hongjiu.lu@intel.com>
2585         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Check and support
2586         non-inclusive caches on Intel processors.
2588 2016-05-13  Florian Weimer  <fweimer@redhat.com>
2590         * malloc/malloc.c (dumped_main_arena_start)
2591         (dumped_main_arena_end): New variables.
2592         (DUMPED_MAIN_ARENA_CHUNK): New macro.
2593         (do_check_chunk): Skip dumped fake mmapped chunks.
2594         (munmap_chunk): Likewise.
2595         (__libc_free): Do not adjust statistics for fake mmapped chunks.
2596         (__libc_realloc): Adjust hardening check.  Always copy dumped fake
2597         mmapped chunks.
2598         * malloc/hooks.c (__malloc_set_state): Do not update main_arena.
2599         Mark dumped chunks as using mmap.  Update dumped_main_arena_start
2600         and dumped_main_arena_end to cover the dumped heap.
2602 2016-05-12  Joseph Myers  <joseph@codesourcery.com>
2604         * conform/data/time.h-data (getdate_err): Do not expect for
2605         [XPG3].
2606         (getdate): Likewise.
2607         * conform/Makefile (test-xfail-XPG3/time.h/conform): Remove
2608         variable.
2610         * conform/data/unistd.h-data (F_LOCK): Do not expect for [XPG3].
2611         (F_ULOCK): Likewise.
2612         (F_TEST): Likewise.
2613         (F_TLOCK): Likewise.
2614         (useconds_t): Likewise.
2615         (intptr_t): Do not expect for [XPG3] or [XPG4].
2616         (brk): Do not expect for [XPG3]
2617         (fchown): Likewise.
2618         (fchdir): Likewise.
2619         (ftruncate): Likewise.
2620         (getdtablesize): Likewise.
2621         (gethostid): Likewise.
2622         (getpagesize): Likewise.
2623         (getpgid): Likewise.
2624         (getsid): Likewise.
2625         (getwd): Likewise.
2626         (lchown): Likewise.
2627         (lockf): Likewise.
2628         (readlink): Likewise.
2629         (sbrk): Likewise.
2630         (setpgrp): Likewise.
2631         (setregid): Likewise.
2632         (setreuid): Likewise.
2633         (symlink): Likewise.
2634         (sync): Likewise.
2635         (truncate): Likewise.
2636         (ualarm): Likewise.
2637         (usleep): Likewise.
2638         (vfork): Likewise.
2639         * conform/Makefile (test-xfail-XPG3/unistd.h/conform): Remove
2640         variable.
2642         [BZ #20054]
2643         * posix/unistd.h (gethostname): Declare if [__USE_XOPEN_EXTENDED],
2644         not [__USE_UNIX98].
2645         * conform/data/unistd.h-data (gethostname): Do not expect for
2646         [XPG3].
2648         * conform/data/fcntl.h-data [!POSIX] (S_IFMT): Do not expect.
2649         [!POSIX] (S_IFBLK): Likewise.
2650         [!POSIX] (S_IFCHR): Likewise.
2651         [!POSIX] (S_IFIFO): Likewise.
2652         [!POSIX] (S_IFREG): Likewise.
2653         [!POSIX] (S_IFDIR): Likewise.
2654         [!POSIX] (S_IFLNK): Likewise.
2655         [!POSIX] (S_IFSOCK): Likewise.
2656         * conform/Makefile (test-xfail-XPG3/fcntl.h/conform): Remove
2657         variable.
2658         (test-xfail-XPG4/fcntl.h/conform): Likewise.
2660 2016-05-12  Wilco Dijkstra  <wdijkstr@arm.com>
2662         * sysdeps/aarch64/memset.S (__memset):
2663         Rewrite of optimized memset.
2665 2016-05-12  Florian Weimer  <fweimer@redhat.com>
2667         [BZ #19703]
2668         Partially async-signal-safe fork for single-threaded processes.
2669         * sysdeps/nptl/fork.c (__libc_fork): Introduce multiple_threads
2670         variable.  Do not acquire and reset/release malloc and libio locks
2671         in single-threaded processes.
2672         * malloc/tst-mallocfork2.c: New file.
2673         * malloc/Makefile (tests): Add it.
2675 2016-05-12  Florian Weimer  <fweimer@redhat.com>
2677         * sysdeps/posix/getaddrinfo.c (gaih_inet_serv): Add tmpbuf
2678         argument.  Use scratch buffer instead of extend_alloca.
2679         (gethosts): Use scratch buffer instead of extend_alloca.
2680         (gaih_inet): Add tmpbuf argument.  Use scratch buffer instead of
2681         extend_alloca.
2682         (getaddrinfo): Allocate scratch buffer and pass it to gaih_inet.
2684 2016-05-11  Joseph Myers  <joseph@codesourcery.com>
2686         [BZ #20055]
2687         * termios/termios.h (pid_t): Define for [__USE_XOPEN_EXTENDED]
2688         instead of [__USE_UNIX98].
2689         (tcgetsid): Declare for [__USE_XOPEN_EXTENDED] instead of
2690         [__USE_UNIX98].
2691         * conform/data/termios.h-data (tcgetsid): Do not expect for
2692         [XPG3].
2693         * conform/Makefile (test-xfail-XPG3/termios.h/conform): Remove
2694         variable.
2695         (test-xfail-XPG4/termios.h/conform): Likewise.
2697 2016-05-11  Florian Weimer  <fweimer@redhat.com>
2699         Do not use mcheck in localedef.
2700         * locale/programs/localedef.c (turn_on_mcheck)
2701         (__malloc_initialize_hook): Remove.
2703 2016-05-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
2705         * sysdeps/s390/s390-32/Makefile (pic-ccflag): Remove.
2706         * sysdeps/s390/s390-64/Makefile: Likewise.
2708 2016-05-11  H.J. Lu  <hongjiu.lu@intel.com>
2710         * sysdeps/i386/i686/multiarch/Makefile (gen-as-const-headers):
2711         Remove ifunc-defines.sym.
2712         * sysdeps/x86_64/multiarch/Makefile (gen-as-const-headers):
2713         Likewise.
2714         * sysdeps/i386/i686/multiarch/ifunc-defines.sym: Removed.
2715         * sysdeps/x86/rtld-global-offsets.sym: Likewise.
2716         * sysdeps/x86_64/multiarch/ifunc-defines.sym: Likewise.
2717         * sysdeps/x86/Makefile (gen-as-const-headers): Remove
2718         rtld-global-offsets.sym.
2719         * sysdeps/x86_64/multiarch/ifunc-defines.sym: Merged with ...
2720         * sysdeps/x86/cpu-features-offsets.sym: This.
2721         * sysdeps/x86/cpu-features.h: Include <cpu-features-offsets.h>
2722         instead of <ifunc-defines.h> and <rtld-global-offsets.h>.
2724 2016-05-10  Joseph Myers  <joseph@codesourcery.com>
2726         [BZ #20073]
2727         * io/sys/stat.h (fchmod): Declare for
2728         [__USE_POSIX199309 || __USE_XOPEN_EXTENDED], not [__USE_POSIX].
2729         * conform/Makefile (test-xfail-XPG3/sys/stat.h/conform): Remove
2730         variable.
2732         * conform/data/sys/stat.h-data [XPG3] (S_IFLNK): Do not expect.
2733         [XPG3] (S_IFSOCK): Likewise.
2734         [XPG3] (S_ISVTX): Likewise.
2735         [XPG3] (S_ISLNK): Likewise.
2736         [XPG3] (S_ISSOCK): Likewise.
2737         [XPG3] (fchmod): Likewise.
2738         [XPG3] (lstat): Likewise.
2739         [XPG3] (mknod): Likewise.
2741         * conform/data/sys/stat.h-data (st_blksize): Do not expect for
2742         [XPG3].  Expect type long and XFAIL for [XPG4].
2743         (st_blocks): Likewise.
2745         [BZ #20044]
2746         * posix/unistd.h [__USE_UNIX98 && !__USE_XOPEN2K]
2747         (pthread_atfork): New prototype.
2748         * conform/Makefile (test-xfail-UNIX98/unistd.h/conform): Remove
2749         variable.
2751         [BZ #20043]
2752         * posix/unistd.h [__USE_XOPEN && !__USE_XOPEN2K] (cuserid): New
2753         prototype.
2755 2016-05-10  Florian Weimer  <fweimer@redhat.com>
2757         [BZ #20017]
2758         * resolv/res_debug.c (p_secstodate): Call __gmtime_r instead of
2759         gmtime.
2761 2016-05-10  Florian Weimer  <fweimer@redhat.com>
2763         [BZ #19994]
2764         * sysdeps/posix/getaddrinfo.c (gethosts): Restore RES_USE_INET6
2765         flag in _res.options.
2767 2016-05-09  Joseph Myers  <joseph@codesourcery.com>
2769         * conform/data/sys/types.h-data (blkcnt_t): Do not expect for
2770         [XPG3 || XPG4].
2771         (blksize_t): Likewise.
2772         (clockid_t): Likewise.
2773         * conform/Makefile (test-xfail-XPG3/sys/types.h/conform): Remove
2774         variable.
2775         (test-xfail-XPG4/sys/types.h/conform): Likewise.
2777 2016-05-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
2779         * sysdeps/unix/sysv/linux/s390/init-first.c:
2780         Add VDSO_SYMBOL(getcpu).
2781         (_libc_vdso_platform_setup): Initialize VDSO_SYMBOL(getcpu).
2782         * sysdeps/unix/sysv/linux/s390/libc-vdso.h:
2783         Add VDSO_SYMBOL(getcpu).
2784         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h:
2785         New define HAVE_GETCPU_VSYSCALL.
2786         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
2788 2016-05-08  H.J. Lu  <hongjiu.lu@intel.com>
2790         * sysdeps/i386/cacheinfo.c: Include <sysdeps/x86/cacheinfo.c>
2791         instead of <sysdeps/x86_64/cacheinfo.c>.
2792         * sysdeps/x86_64/cacheinfo.c: Moved to ...
2793         * sysdeps/x86/cacheinfo.c: Here.
2795 2016-05-04  Florian Weimer  <fweimer@redhat.com>
2797         * malloc/malloc-internal.h: Adjust header file guard.
2799 2016-05-04  Florian Weimer  <fweimer@redhat.com>
2801         [BZ #19787]
2802         * inet/getnameinfo.c (check_sprintf_result): New function.
2803         (CHECKED_SNPRINTF): New macro.
2804         (gni_host_inet_numeric): Use CHECKED_SNPRINTF to write the scope
2805         to the host buffer.
2806         (gni_host_local): Use checked_copy to copy the host name.
2807         (gni_serv_inet): Use CHECKED_SNPRINTF to write the service name.
2808         (gni_serv_local): Use checked_copy to copy the service name.
2809         (getnameinfo): Remove unnecessary truncation of result buffers.
2811 2016-05-04  Florian Weimer  <fweimer@redhat.com>
2813         * inet/getnameinfo.c (gni_host_inet_numeric): Return EAI_OVERFLOW
2814         in case of inet_ntop failure.
2816 2016-05-04  Florian Weimer  <fweimer@redhat.com>
2818         * inet/getnameinfo.c (gni_host_inet_name): Use temporaries to
2819         avoid long lines.
2820         (gni_host_inet_numeric): Likewise.  Reduce scope of local
2821         variables.
2822         (gni_host_inet, gni_host_local): Add comment.
2823         (gni_host): Add comment.  Use temporary to avoid long lines.
2825 2016-05-04  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
2827         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Fix use of condition
2828         registers specifiers where general purpose registers specifiers should
2829         have been used.
2831 2016-05-04  Florian Weimer  <fweimer@redhat.com>
2833         [BZ #19779]
2834         CVE-2016-1234
2835         Avoid copying names of directory entries.
2836         * posix/glob.c (DIRENT_MUST_BE, DIRENT_MIGHT_BE_SYMLINK)
2837         (DIRENT_MIGHT_BE_DIR, CONVERT_D_INO, CONVERT_D_TYPE)
2838         (CONVERT_DIRENT_DIRENT64, REAL_DIR_ENTRY): Remove macros.
2839         (struct readdir_result): New type.
2840         (D_TYPE_TO_RESULT, D_INO_TO_RESULT, READDIR_RESULT_INITIALIZER)
2841         (GL_READDIR): New macros.
2842         (readdir_result_might_be_symlink, readdir_result_might_be_dir)
2843         (convert_dirent, convert_dirent64): New functions.
2844         (glob_in_dir): Use struct readdir_result.  Call convert_dirent or
2845         convert_dirent64.  Adjust references to the readdir result.
2846         * sysdeps/unix/sysv/linux/i386/glob64.c:
2847         (convert_dirent, GL_READDIR): Redefine for second file inclusion.
2848         * posix/bug-glob2.c (LONG_NAME): Define.
2849         (filesystem): Add LONG_NAME.
2850         (my_DIR): Increase the size of room_for_dirent.
2852 2016-05-03  Joseph Myers  <joseph@codesourcery.com>
2854         [BZ #20041]
2855         * misc/sys/select.h (__need_timespec): Only define if
2856         [__USE_XOPEN2K].
2857         * conform/Makefile (test-xfail-XPG4/sys/time.h/conform): Remove
2858         variable.
2859         (test-xfail-XPG4/utmpx.h/conform): Likewise.
2860         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
2861         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
2863 2016-05-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2864             Segher Boessenkool  <segher@gcc.gnu.org>
2866         [BZ #20004]
2867         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S:
2868         (__novec_swapcontext): Add missing load.
2870 2016-05-02  Joseph Myers  <joseph@codesourcery.com>
2872         [BZ #20023]
2873         * io/fcntl.h [__USE_XOPEN && !__USE_XOPEN2K8]: Do not include
2874         <time.h>.
2875         * conform/Makefile (test-xfail-UNIX98/fcntl.h/conform): Remove
2876         variable.
2877         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
2879 2016-05-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2881         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone): Fix
2882         flags CLONE_VM compare.
2884 2016-05-02  Florian Weimer  <fweimer@redhat.com>
2886         [BZ #20031]
2887         * hesiod/hesiod.c (get_txt_records): Return error if TXT record is
2888         completely empty.
2890 2016-05-02  Florian Weimer  <fweimer@redhat.com>
2892         [BZ #19573]
2893         * hesiod/Makefile (libnss_hesiod-routines): Remove hesiod-init.
2894         * hesiod/nss_hesiod/hesiod-init.c: Remove file.
2895         * hesiod/nss_hesiod/nss_hesiod.h: Likewise.
2896         * hesiod/hesiod.h (__hesiod_res_get, __hesiod_res_set): Remove.
2897         (hesiod_init, hesiod_end, hesiod_to_bind, hesiod_resolve)
2898         (hesiod_free_list): Mark as hidden.
2899         * hesiod/hesiod_p (struct hesiod_p): Remove res, free_res,
2900         res_set, res_get.
2901         * hesiod/hesiod.c: Remove unnecessary forward declarations.
2902         (init, __hesiod_res_get, __hesiod_res_set): Remove.
2903         (hesiod_init): Remove obsolete res_ninit call.
2904         (hesiod_end): Do not free resolver state.  Do not invoke callback.
2905         (hesiod_bind): Do not call init.
2906         (get_txt_records): Use res_mkquery, res_send instead of
2907         res_nmkquery, res_nsend.
2908         * hesiod/nss_hesiod/hesiod-grp.c (lookup): Call hesiod_init
2909         instead of _nss_hesiod_init.
2910         (_nss_hesiod_initgroups_dyn): Likewise.
2911         * hesiod/nss_hesiod/hesiod-proto.c (lookup): Likewise.
2912         * hesiod/nss_hesiod/hesiod-pwd.c (lookup): Likewise.
2913         * hesiod/nss_hesiod/hesiod-service.c (lookup): Likewise.
2915 2016-05-02  Florian Weimer  <fweimer@redhat.com>
2917         * hesiod/hesiod_p.h (DEF_RHS): Remove.
2918         * hesiod/hesiod.c (hesiod_init): Remove code for handling DEF_RHS.
2920 2016-05-02  Florian Weimer  <fweimer@redhat.com>
2922         * hesiod/hesiod.h: Remove RCS keyword.
2923         * hesiod/hesiod_p.h: Likewise.
2925         * hesiod/hesiod.c: Likewise.
2927 2016-05-01  Arnas Udovičius  <arnas.udovicius@gmail.com>
2929         [BZ #12450]
2930         * locale/iso-639.def: Add Samogitian/sgs.
2932 2016-04-30  Andreas Schwab  <schwab@linux-m68k.org>
2934         * sysdeps/m68k/Makefile (CFLAGS-gmon-start.c): Define.
2936         * sysdeps/unix/sysv/linux/m68k/clone.S: Localize labels.
2938 2016-04-29  Stephen Gallagher  <sgallagh@redhat.com>
2939             Carlos O'Donell  <carlos@redhat.com>
2941         [BZ #19072]
2942         * grp/Makefile (headers): Add grp-merge.h
2943         (routines): Add grp-merge.
2944         * grp/getgrgid_r.c: Include grp-merge.h.
2945         (DEEPCOPY_FN): Define.
2946         (MERGE_FN): Define.
2947         * grp/getgrname_r.c: Include grp-merge.h.
2948         (DEEPCOPY_FN): Define.
2949         (MERGE_FN): Define.
2950         * grp/grp-merge.c: New file.
2951         * grp/grp-merge.h: New file.
2952         * include/grp-merge.h: New file.
2953         * grp/Versions: Define __merge_grp@GLIBC_PRIVATE, and
2954         __copy_grp@GLIBC_PRIVATE.
2955         * manual/nss.texi (Actions in the NSS configuration): Describe
2956         return, continue, and merge.
2957         * nscd/getgrgid_r.c: Include grp/grp-merge.h.
2958         (DEEPCOPY_FN): Define.
2959         (MERGE_FN): Define.
2960         * nscd/getgrnam_r.c: Include grp/grp-merge.h.
2961         (DEEPCOPY_FN): Define.
2962         (MERGE_FN): Define.
2963         * nss/getXXbyYY_r.c [!DEEPCOPY_FN]: Define __copy_einval.
2964         [!MERGE_FN]: Define __merge_einval.
2965         (CHECK_MERGE): Define.
2966         (REENTRANT_NAME): Process merge if do_merge is true.
2967         * nss/getnssent_r.c (__nss_setent): Process NSS_ACTION_MERGE.
2968         (__nss_getent_r): Likewise.
2969         * nss/nsswitch.c (nss_parse_service_list): Likewise.
2970         * nss/nsswitch.h (lookup_actions): Define NSS_ACTION_MERGE.
2972 2016-04-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2974         [BZ #20012]
2975         * libio/fmemopen.c (fmemopen_read): Use buffer maximum position, not
2976         length to calculate the buffer to read.
2977         (fmemopen_write): Set the buffer position based on bytes written.
2978         (fmemopen_seek): Return EINVAL for invalid whence modes.
2980         [BZ #19957]
2981         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == nptl] (test): Remove
2982         tst-getpid2.
2983         (test): Add tst-clone2.
2984         * sysdeps/unix/sysv/linux/tst-clone2.c: New file.
2985         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Do not change
2986         pid/tid fields for CLONE_VM.
2987         * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise.
2988         * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise.
2989         * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise.
2990         * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone): Likewise,
2991         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Likewise.
2992         * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise.
2993         * sysdeps/unix/sysv/linux/m68k/clone.S (__clone): Likewise.
2994         * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise.
2995         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone):
2996         Likewise.
2997         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
2998         Likewise.
2999         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (__clone): Likewise.
3000         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Likewise.
3001         * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Likewise.
3002         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
3003         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise.
3004         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise.
3005         * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise.
3006         * sysdeps/unix/sysv/linux/tst-getpid2.c: Remove file.
3008 2016-04-29  Florian Weimer  <fweimer@redhat.com>
3010         [BZ #19642]
3011         * inet/getnameinfo.c (gni_host_inet_name, gni_host_inet_numeric)
3012         (gni_host_inet, gni_host_local, gni_host, gni_serv_inet)
3013         (gni_serv_local, gni_serv): New functions extracted from
3014         getnameinfo.
3015         (getnameinfo): Call gni_host and gni_serv to perform the
3016         processing.  Always free scratch buffer.
3018 2016-04-29  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
3020         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Call memset to pad the
3021         remaining bytes in the dest string, with zeros.
3023 2016-04-29  Florian Weimer  <fweimer@redhat.com>
3025         [BZ #20010]
3026         CVE-2016-3706
3027         * sysdeps/posix/getaddrinfo.c
3028         (convert_hostent_to_gaih_addrtuple): New function.
3029         (gethosts): Call convert_hostent_to_gaih_addrtuple.
3030         (gaih_inet): Use convert_hostent_to_gaih_addrtuple to convert
3031         AF_INET data.
3033 2016-04-29  Florian Weimer  <fweimer@redhat.com>
3035         glob: Simplify and document the interface for the GLOB_ALTDIRFUNC
3036         callback function gl_readdir.
3037         * posix/glob.c (NAMELEN, CONVERT_D_NAMLEN): Remove.
3038         (CONVERT_DIRENT_DIRENT64): Use strcpy instead of memcpy.
3039         (glob_in_dir): Remove len.  Use strdup instead of malloc and
3040         memcpy to copy the name.
3041         * manual/pattern.texi (Calling Glob): Document requirements for
3042         implementations of the gl_readdir callback function.
3043         * manual/examples/mkdirent.c: New example.
3044         * posix/bug-glob2.c (my_readdir): Set d_ino to 1 unconditionally,
3045         per the manual guidance.
3046         * posix/tst-gnuglob.c (my_readdir): Likewise.
3048 2016-04-28  Joseph Myers  <joseph@codesourcery.com>
3050         [BZ #20014]
3051         * libio/stdio.h (getc_unlocked): Declare if [__USE_POSIX199506],
3052         not [__USE_POSIX].
3053         (getchar_unlocked): Likewise.
3054         (putc_unlocked): Likewise.
3055         (putchar_unlocked): Likewise.
3056         (flockfile): Likewise.
3057         (ftrylockfile): Likewise.
3058         (funlockfile): Likewise.
3059         * conform/Makefile (test-xfail-XPG3/stdio.h/conform): Remove
3060         variable.
3061         (test-xfail-XPG4/stdio.h/conform): Likewise.
3063         * conform/data/langinfo.h-data [XPG3 || XPG4 || UNIX98] (YESSTR):
3064         Expect constant.
3065         [XPG3 || XPG4 || UNIX98] (NOSTR): Likewise.
3066         * conform/Makefile (test-xfail-XPG3/langinfo.h/conform): Remove
3067         variable.
3068         (test-xfail-XPG4/langinfo.h/conform): Likewise.
3069         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
3071         * libio/stdio.h (off_t): Also define if [__USE_UNIX98].
3072         [__USE_LARGEFILE64] (off64_t): Likewise.
3073         * conform/Makefile (test-xfail-UNIX98/stdio.h/conform): Remove
3074         variable.
3076 2016-04-28  Florian Weimer  <fweimer@redhat.com>
3078         * inet/getnameinfo.c (getnameinfo): Do not preserve errno.
3080 2016-04-28  Florian Weimer  <fweimer@redhat.com>
3082         * resolv/inet_addr.c: Reindent preprocessor conditionals.
3083         * resolv/res_init.c: Likewise.
3084         * resolv/res_mkquery.c: Likewise.
3086 2016-04-28  Florian Weimer  <fweimer@redhat.com>
3088         * resolv/res_init.c (isascii): Do not define.  Use definition in
3089         <ctype.h>.
3090         * resolv/gethnamaddr.c: Remove USE_OPTIONS_H conditional.
3091         (LOG_AUTH): Remove.
3092         (SPRINTF): Remove, adjust caller.
3093         (MULTI_PTRS_ARE_ALIASES): Remove, always defined.
3095 2016-04-28  Florian Weimer  <fweimer@redhat.com>
3097         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Remove
3098         SUNSECURITY conditional.
3099         * resolv/gethnamaddr.c (gethostbyaddr): Likewise.
3101 2016-04-28  Florian Weimer  <fweimer@redhat.com>
3103         * resolv/arpa/nameser.h: Include <sys/types.h> unconditionally.
3104         * resolv/gethnamaddr.c: Use include files from conf/portability.h.
3105         Remove BSD-related preprocessor conditionals.
3106         * conf/portability.h: Remove.
3108 2016-04-28  Florian Weimer  <fweimer@redhat.com>
3110         * resolv/resolv.h: Remove __BIND_NOSTATIC conditional.
3111         * resolv/res_data.c: Likewise.
3113 2016-04-28  Florian Weimer  <fweimer@redhat.com>
3115         * resolv/res_comp.c: Remove code conditional on __ultrix__.
3116         * resolv/res_data.c: Remove code conditional on ultrix.
3118 2016-04-28  Florian Weimer  <fweimer@redhat.com>
3120         * resolv/res_init.c (RFC1535): Do not define.  Remove
3121         RFC1535 preprocessor conditionals.
3122         * resolv/README: Update.  Do not claim strict RFC 1535 compliance
3123         because there configuration options which make the resolver
3124         behavior different.
3126 2016-04-28  Florian Weimer  <fweimer@redhat.com>
3128         * resolv/gethnamaddr.c (RESOLVSORT): Do not define.  Remove
3129         RESOLVSORT preprocessor conditionals.
3130         * resolv/nss_dns/dns-host.c: Likewise.
3131         * resolv/res_init.c: Likewise.
3133 2016-04-28  Florian Weimer  <fweimer@redhat.com>
3135         * resolv/res_data.c: Remove code conditional on BIND_UPDATE.  It
3136         is never defined.
3138 2016-04-28  Florian Weimer  <fweimer@redhat.com>
3140         * inet/inet_lnaof.c: Remove SCSS keyword.
3141         * inet/inet_mkadr.c: Likewise.
3142         * inet/inet_net.c: Likewise.
3143         * inet/inet_netof.c: Likewise.
3144         * inet/rcmd.c: Likewise.
3145         * inet/rexec.c: Likewise.
3146         * inet/ruserpass.c: Likewise.
3148 2016-04-28  Florian Weimer  <fweimer@redhat.com>
3150         * resolv/inet_addr.c: Remove _LIBC conditionals.
3151         * resolv/res_data.c: Likewise.
3152         * resolv/res_init.c: Likewise.
3153         * resolv/res_mkquery.c: Likewise.
3154         * resolv/res_libc.c: Update comment.
3155         * resolv/README: Update.
3157 2016-04-28  Florian Weimer  <fweimer@redhat.com>
3159         * resolv/gethnamaddr.c: Remove SCSS keyword.
3160         * resolv/herror.c: Likewise.
3161         * resolv/inet_addr.c: Likewise.
3162         * resolv/inet_net_ntop.c: Likewise.
3163         * resolv/inet_net_pton.c: Likewise.
3164         * resolv/inet_neta.c: Likewise.
3165         * resolv/inet_ntop.c: Likewise.
3166         * resolv/inet_pton.c: Likewise.
3167         * resolv/ns_date.c: Remove RCS keyword.
3168         * resolv/ns_name.c: Likewise.
3169         * resolv/ns_netint.c: Likewise.
3170         * resolv/ns_parse.c: Likewise.
3171         * resolv/ns_print.c: Likewise.
3172         * resolv/ns_samedomain.c: Likewise.
3173         * resolv/ns_ttl.c: Likewise.
3174         * resolv/nsap_addr.c: Likewise.
3175         * resolv/res_comp.c: Remove SCSS and RCS keyword.
3176         * resolv/res_data.c: Remove RCS keyword.
3177         * resolv/res_debug.c: Remove SCSS and RCS keyword.
3178         * resolv/res_init.c: Likewise.
3179         * resolv/res_mkquery.c: Likewise.
3180         * resolv/res_query.c: Likewise.
3181         * resolv/res_send.c: Likewise.
3183 2016-04-27  Joseph Myers  <joseph@codesourcery.com>
3185         * conform/data/stdio.h-data (fdopen): Expect also for
3186         [XPG3 || XPG4].
3188         * conform/data/stdio.h-data (flockfile): Also expect for [UNIX98].
3189         (fseeko): Likewise.
3190         (ftello): Likewise.
3191         (ftrylockfile): Likewise.
3192         (funlockfile): Likewise.
3193         (getc_unlocked): Likewise.
3194         (getchar_unlocked): Likewise.
3195         (putc_unlocked): Likewise.
3196         (putchar_unlocked): Likewise.
3198 2016-04-27  Florian Weimer  <fweimer@redhat.com>
3200         [BZ #19868]
3201         * resolv/nss_dns/dns-network.c (getanswer_r): Implement additional
3202         DNS packet syntax checks (which were not needed before).  Skip
3203         over non-PTR records.
3205 2016-04-27  Florian Weimer  <fweimer@redhat.com>
3207         * resolv/nss_dns/dns-network.c (offsetof): Remove macro
3208         definition.  Include <stddef.h> instead.
3210 2016-04-27  Florian Weimer  <fweimer@redhat.com>
3212         [BZ #19831]
3213         * resolv/nss_dns/dns-host.c (rrtype_to_rdata_length): New
3214         function.
3215         (getanswer_r): Check RDATA length against RRTYPE and QTYPE.
3216         (gaih_getanswer_slice): Check RDATA length against RRTYPE.
3218 2016-04-27  Florian Weimer  <fweimer@redhat.com>
3220         [BZ #19862]
3221         * resolv/nss_dns/dns-host.c (AskedForGot): Remove.
3222         (getanswer_r): Do not call syslog.
3223         (gaih_getanswer_slice): Likewise.
3224         * resolv/gethnamaddr.c (AskedForGot): Remove.
3225         (getanswer): Do not call syslog.
3226         (gethostbyaddr): Likewise.
3228 2016-04-27  Joseph Myers  <joseph@codesourcery.com>
3230         * conform/data/signal.h-data (union sigval): Expect also if
3231         [XOPEN2K].
3232         (struct sigevent): Likewise.
3233         (SIGEV_NONE): Likewise.
3234         (SIGEV_SIGNAL): Likewise.
3235         (SIGEV_THREAD): Likewise.
3236         (SIGRTMIN): Likewise.
3237         (SIGRTMAX): Likewise.
3238         * conform/Makefile (test-xfail-XOPEN2K/aio.h/conform): Remove
3239         variable.
3240         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
3242 2016-04-27  Florian Weimer  <fweimer@redhat.com>
3244         [BZ #19830]
3245         * resolv/nss_dns/dns-host.c (getanswer_r): Check RDATA length.
3246         (gaih_getanswer_slice): Likewise.
3247         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Likewise.
3248         Also check for availability of RR metadata.
3250 2016-04-27  Florian Weimer  <fweimer@redhat.com>
3252         [BZ #19825]
3253         * resolv/res_send.c (send_vc): Remove early *resplen2
3254         initialization.  Set *resplen2 on socket error.  Call
3255         close_and_return_error for other errors.
3257 2016-04-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
3259         * sysdeps/unix/sysv/linux/netiucv/iucv.h
3260         (SOL_IUCV, SO_IPRMDATA_MSG, SO_MSGLIMIT, SO_MSGSIZE)
3261         (SCM_IUCV_TRGCLS): New define.
3263 2016-04-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3265         [BZ #20005]
3266         * libio/fmemopen.c (fmemopen_write): Update internal position after
3267         write.
3268         * stdio-common/Makefile (tests): Add tst-fmemopen4.c.
3269         * stdio-common/tst-fmemopen4.c: New file..
3271 2016-04-26  Joseph Myers  <joseph@codesourcery.com>
3273         [BZ #19996]
3274         * locale/langinfo.h (nl_langinfo_l): Declare if [__USE_XOPEN2K8],
3275         not [__USE_XOPEN2K].
3276         * conform/Makefile (test-xfail-XOPEN2K/langinfo.h/conform): Remove
3277         variable.
3279         * conform/data/stdarg.h-data [XOPEN2K] (va_copy): Require macro.
3280         * conform/Makefile (test-xfail-XOPEN2K/stdarg.h/conform): Remove
3281         variable.
3283         * libio/stdio.h (off_t): Define if [__USE_XOPEN2K], not
3284         [__USE_XOPEN2K8].
3285         [__USE_LARGEFILE64] (off64_t): Likewise.
3286         * conform/Makefile (test-xfail-XOPEN2K/stdio.h/conform): Remove
3287         variable.
3289 2016-04-25  Joseph Myers  <joseph@codesourcery.com>
3291         [BZ #19989]
3292         * libio/stdio.h (cuserid): Do not declare if
3293         [__USE_XOPEN2K && !__USE_GNU].
3294         * conform/Makefile (test-xfail-XOPEN2K8/stdio.h/conform): Remove
3295         variable.
3297 2016-04-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3299         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
3300         (sysdep_routines): Add P8 and PPC64 strcspn targets.
3301         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
3302         (__libc_ifunc_impl_list): Add entries for P8 and PPC64
3303         ifunc'ed strcspn.
3304         * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S:
3305         [EALIGN]: Removed.
3306         [END]: Likewise
3307         [STRSPN]: Define instead of the above to control symbol name.
3308         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power8.S:
3309         New file.
3310         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c:
3311         Likewise.
3312         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c:
3313         Likewise.
3314         * sysdeps/powerpc/powerpc64/power8/strcspn.S:
3315         Likewise.
3316         * sysdeps/powerpc/powerpc64/power8/strspn.S:
3317         [INITIAL_MASK]: New macro.
3318         [STRCSPN]: Likewise.
3319         [UPDATE_MASK]: Likewise.
3320         [USE_AS_STRCSPN]: Lisewise.
3322 2016-04-25  Florian Weimer  <fweimer@redhat.com>
3324         [BZ #19931]
3325         * stdio-common/tst-vfprintf-width-prec.c: New file.
3326         * stdio-common/Makefile (tests): Add tst-vfprintf-width-prec.
3327         (tests-special): Add tst-vfprintf-width-prec-mem.out.
3328         (generated): Add mtrace-related files.
3329         (tst-vfprintf-width-prec-ENV): Set MALLOC_TRACE.
3330         (tst-%-mem.out): New pattern rule, replaces
3331         tst-printf-bz18872-mem.out.
3332         * stdio-common/vfprintf.c (vfprintf): When handling a precision
3333         specifier, deallocate any previously allocated work buffer.
3335 2016-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
3337         * sysdeps/unix/sysv/linux/nios2/setcontext.S (__startcontext):
3338         Add nop before __startcontext, add explaining comments.
3340 2016-04-25  Samuel thibault  <samuel.thibault@ens-lyon.org>
3342         RFC2292 macros were obsoleted by RFC3542, and should not be exposed
3343         any more. Notably since IPV6_PKTINFO has been reintroduced with a
3344         completely different API.
3346         * bits/in.h (IPV6_PKTINFO): Rename to IPV6_2292PKTINFO.
3347         (IPV6_HOPOPTS): Rename to IPV6_2292HOPOPTS.
3348         (IPV6_DSTOPTS): Rename to IPV6_2292DSTOPTS.
3349         (IPV6_RTHDR): Rename to IPV6_2292RTHDR.
3350         (IPV6_PKTOPTIONS): Rename to IPV6_2292PKTOPTIONS.
3351         (IPV6_HOPLIMIT): Rename to IPV6_2292HOPLIMIT.
3352         (IPV6_RECVPKTINFO, IPV6_PKTINFO, IPV6_RECVHOPLIMIT, IPV6_HOPLIMIT,
3353         IPV6_RECVHOPOPTS, IPV6_HOPOPTS, IPV6_RTHDRDSTOPTS, IPV6_RECVRTHDR,
3354         IPV6_RTHDR, IPV6_RECVDSTOPTS, IPV6_DSTOPTS, IPV6_RECVPATHMTU,
3355         IPV6_PATHMTU, IPV6_DONTFRAG): New macros.
3357 2016-04-23  H.J. Lu  <hongjiu.lu@intel.com>
3359         * elf/dl-minimal.c (__libc_memalign): Mmap one extra page.
3361 2016-04-23  Mike Frysinger  <vapier@gentoo.org>
3363         * locale/programs/ld-time.c (time_finish): Set week_1stweek to 7
3364         when it is the default of 0.
3366 2016-04-22  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
3368         * sysdeps/powerpc/locale-defines.sym:  Add new macros.
3369         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
3370         (sysdep_routines): Add new strcasestr targets.
3371         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
3372         (__libc_ifunc_impl_list): Likewise.
3373         * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: New file.
3374         * sysdeps/powerpc/powerpc64/multiarch/strcasestr-ppc64.c: New file.
3375         * sysdeps/powerpc/powerpc64/multiarch/strcasestr.c: New file.
3376         * sysdeps/powerpc/powerpc64/power8/Makefile:
3377         New file to add strcasestr-ppc64 to sysdep_routines.
3378         * sysdeps/powerpc/powerpc64/power8/strcasestr-ppc64.c: New file.
3379         * sysdeps/powerpc/powerpc64/power8/strcasestr.S: New file.
3381 2016-04-20  Siddhesh Poyarekar  <sid@reserved-bit.com>
3383         * benchtests/Makefile (wcsmbs-benchset): Include only for
3384         native builds and runs.
3385         (LOCALES): Likewise.
3386         (bench-build): Build timing-type here instead of the bench
3387         target.  Generate locale only for native builds.
3388         * benchtests/README: Add note for cross-building.
3390         * benchtests/Makefile (bench-clean): Clean up extra-objs.
3392         * benchtests/README: Update README to include instructions on
3393         using bench-build.
3395         * Makefile.in (bench-build): New target.
3396         * Rules (PHONY): Add bench-build target.
3397         * benchtests/Makefile (bench): Depend on bench-build.
3398         (bench-build): New target.
3400 2016-04-19  Samuel Thibault  <samuel.thibault@ens-lyon.org>
3402         * sysdeps/mach/hurd/profil.c (update_waiter): Initialize
3403         profil_reply_port.
3404         (profile_waiter): Do not initialize profil_reply_port.
3405         * sysdeps/mach/hurd/profil.c (__profile_frequency): Return tick
3406         frequency instead of tick length in us.
3408 2016-04-18  Wilco Dijkstra  <wdijkstr@arm.com>
3410         [BZ #18712]
3411         * string/string-inlines.c (__STRING2_COPY_TYPE): Add, moved from string2.h.
3412         (__old_mempcpy_small): Likewise.
3413         (__old_strcpy_small): Likewise.
3414         (__old_stpcpy_small): Likewise.
3415         (__old_strpbrk_c2): Fix compat symbol name.
3416         (__old_strpbrk_c3): Likewise.
3417         * string/bits/string2.h (__STRING2_COPY_TYPE): Remove.
3418         (__mempcpy_small): Remove.
3419         (__strcpy_small): Remove.
3420         (__stpcpy_small): Remove.
3422 2016-04-16  Robin van der Vliet <info@robinvandervliet.com>
3424         [BZ #19400]
3425         * locale/iso-639.def: Add the Talossan/tzl language.
3427 2016-04-16  Mike Frysinger  <vapier@gentoo.org>
3429         [BZ #16983]
3430         * locale/programs/ld-address.c (address_finish): Update postal_fmt
3431         comment.  Add "ln" to strchr check on postal_fmt.
3433 2016-04-16  Mike Frysinger  <vapier@gentoo.org>
3435         * locale/programs/ld-telephone.c (telephone_finish): Add %t to the
3436         default tel_int_fmt.  Add "Cet" to strchr check on tel_int_fmt and
3437         tel_dom_fmt.
3439 2016-04-15  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
3441         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
3442         (sysdep_routines): Added __strlen_power8.
3443         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Added
3444         __strlen_power8 entry.
3445         * sysdeps/powerpc/powerpc64/multiarch/strlen-power8.S: New file.
3446         Implementation for POWER8.
3447         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Added IFUNC selector
3448         for __strlen_power8.
3449         * sysdeps/powerpc/powerpc64/power8/strlen.S: New file.
3450         Implementation for POWER8.
3452 2016-04-15  Mike Frysinger  <vapier@gentoo.org>
3454         * locale/iso-4217.def: Add SSP and change ZMK to ZMW.
3456 2016-04-15   H.J. Lu  <hongjiu.lu@intel.com>
3458         * sysdeps/x86/cpu-features.c (init_cpu_features): Detect Intel
3459         Goldmont and Airmont processors.
3461 2016-04-15  Wilco Dijkstra  <wdijkstr@arm.com>
3463         * string/string.h: Use __GNUC_PREREQ(3,4) for bits/string2.h.
3464         * string/bits/string2.h (__STRING2_SMALL_GET16): Remove.
3465         (__STRING2_SMALL_GET32): Remove.
3466         (memset): Remove.
3467         (__memset_1): Remove.
3468         (__memset_gc): Remove.
3469         (__mempcpy): Remove.
3470         (mempcpy): Remove.
3471         (__mempcpy_args): Remove.
3472         (strchr): Remove.
3473         (strcpy): Remove.
3474         (strcpy_args): Remove.
3475         (__stpcpy_args): Remove.
3476         (__strcmp_cc): Remove.
3477         (__strcmp_gc): Remove.
3478         (strstr): Remove.
3480 2016-04-15  Yvan Roux  <yvan.roux@linaro.org>
3482         * stdlib/setenv.c (unsetenv): Fix ambiguous 'else'.
3483         * nis/nis_call.c (nis_server_cache_add): Likewise.
3485 2016-04-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3487         * sysdeps/unix/sysv/linux/sysdep.h: Include kernel-features.h.
3489 2016-04-14  Florian Weimer  <fweimer@redhat.com>
3491         * malloc/arena.c (__malloc_fork_lock_parent)
3492         (__malloc_fork_unlock_parent, __malloc_fork_unlock_child): Add
3493         internal_function attribute.
3495 2016-04-14  Stefan Liebler  <stli@linux.vnet.ibm.com>
3497         * stdio-common/printf_fp.c (__printf_fp_l):
3498         Rename ___printf_fp_l to __printf_fp_l and
3499         remove strong alias. Use libc_hidden_def instead
3500         of ldbl_hidden_def macro.
3502 2016-04-14  Florian Weimer  <fweimer@redhat.com>
3504         Remove malloc hooks from fork handler.  They are no longer needed
3505         because malloc runs right before fork, and no malloc calls from
3506         other fork handlers are not possible anymore.
3507         * malloc/malloc.c (malloc_atfork, free_atfork): Remove
3508         declarations.
3509         * malloc/arena.c (save_malloc_hook, save_free_hook, save_arena)
3510         (ATFORK_ARENA_PTR, malloc_atfork, free_atfork)
3511         (atfork_recursive_cntr): Remove.
3512         (__malloc_fork_lock_parent): Do not override malloc hooks and
3513         thread_arena.
3514         (__malloc_fork_unlock_parent): Do not restore malloc hooks and
3515         thread_arena.
3516         (__malloc_fork_unlock_child): Do not restore malloc hooks.  Use
3517         thread_arena instead of save_arena.
3519 2016-04-14  Florian Weimer  <fweimer@redhat.com>
3521         * sysdeps/nptl/malloc-machine.h (ATFORK_MEM, __dso_handle)
3522         (thread_atfork, thread_atfork_static): Remove.
3523         * sysdeps/mach/hurd/malloc-machine.h:
3524         (thread_atfork, thread_atfork_static): Remove.
3526 2016-04-14  Florian Weimer  <fweimer@redhat.com>
3528         [BZ #19431]
3529         Run the malloc fork handler as late as possible to avoid deadlocks.
3530         * malloc/malloc-internal.h: New file.
3531         * malloc/malloc.c: Include it.
3532         * malloc/arena.c (ATFORK_MEM): Remove.
3533         (__malloc_fork_lock_parent): Rename from ptmalloc_lock_all.
3534         Update comment.
3535         (__malloc_fork_unlock_parent): Rename from ptmalloc_unlock_all.
3536         (__malloc_fork_unlock_child): Rename from ptmalloc_unlock_all2.
3537         Remove outdated comment.
3538         (ptmalloc_init): Do not call thread_atfork.  Remove
3539         thread_atfork_static.
3540         * malloc/tst-malloc-fork-deadlock.c: New file.
3541         * Makefile (tests): Add tst-malloc-fork-deadlock.
3542         (tst-malloc-fork-deadlock): Link against libpthread.
3543         * manual/memory.texi (Aligned Memory Blocks): Update safety
3544         annotation comments.
3545         * sysdeps/nptl/fork.c (__libc_fork): Call
3546         __malloc_fork_lock_parent, __malloc_fork_unlock_parent,
3547         __malloc_fork_unlock_child.
3548         * sysdeps/mach/hurd/fork.c (__fork): Likewise.
3550 2016-04-14  Florian Weimer  <fweimer@redhat.com>
3552         [BZ #19613]
3553         Remove union wait.
3554         * bits/waitstatus.h (union wait, w_termsig, w_coredump, w_retcode)
3555         (w_stopsig, w_stopval): Remove.
3556         * include/sys/wait.h (__wait, __wait3, __wait4): Use int * for the
3557         stat_loc argument.
3558         * posix/sys/wait.h (__WAIT_INT, __WAIT_STATUS)
3559         (__WAIT_STATUS_DEFN): Remove.
3560         (WEXITSTATUS, WTERMSIG, WSTOPSIG, WIFEXITED, WIFSIGNALED)
3561         (WIFSTOPPED, WIFCONTINUED, WCOREDUMP): Remove __WAIT_INT.
3562         (wait, wait3, wait4): Use int * for the stat_loc argument.
3563         * posix/wait.c (__wait): Likewise.
3564         * posix/wait3.c (__wait3): Likewise.
3565         * posix/wait4.c (__wait4): Likewise.
3566         * stdlib/stdlib.h (__WAIT_INT, __WAIT_STATUS)
3567         (__WAIT_STATUS_DEFN): Remove.
3568         (WEXITSTATUS, WTERMSIG, WSTOPSIG, WIFEXITED, WIFSIGNALED)
3569         (WIFSTOPPED, WIFCONTINUED): Remove __WAIT_INT.
3570         * sysdeps/mach/hurd/wait4.c (__wait4): Use int * for the stat_loc
3571         argument.
3572         * sysdeps/posix/wait.c (__libc_wait): Likewise.
3573         * sysdeps/posix/wait3.c (__wait3): Likewise.
3574         * sysdeps/unix/bsd/wait.c (__libc_wait): Likewise.
3575         * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
3576         * sysdeps/unix/bsd/waitpid.c (__waitpid): Remove cast.
3577         * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Use int * for the
3578         stat_loc argument.
3579         * manual/process.texi (BSD Wait Functions): Remove union wait.
3581 2016-04-13  Andreas Schwab  <schwab@suse.de>
3583         * elf/Makefile (extra-test-objs): Add tst-tlsalign-vars.o.
3584         (test-extras): Add tst-tlsalign-vars.
3585         * math/Makefile: Wrap long lines.
3586         (libm-vec-test-wrappers): Define.
3587         (test-extras): Add $(libm-vec-test-wrappers).
3588         (extra-test-objs): Add $(libm-vec-test-wrappers) objects.
3589         * nss/Makefile (extra-test-objs): Add nss_test1.os.
3590         * stdlib/Makefile (extra-test-objs): Add $(modules-names) objects.
3591         * sysdeps/x86_64/Makefile (test-extras): Add tst-quadmod1pie
3592         tst-quadmod2pie tst-audit4-aux tst-audit10-aux.
3593         (extra-test-objs): Add corresponding objects.
3595 2016-04-12   H.J. Lu  <hongjiu.lu@intel.com>
3597         [BZ #19928]
3598         * sysdeps/x86_64/cacheinfo.c (__x86_shared_non_temporal_threshold):
3599         New.
3600         (init_cacheinfo): Set __x86_shared_non_temporal_threshold to 6
3601         times of shared cache size.
3602         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S
3603         (VMOVNT): New.
3604         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S
3605         (VMOVNT): Likewise.
3606         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S
3607         (VMOVNT): Likewise.
3608         (VMOVU): Changed to movups for smaller code sizes.
3609         (VMOVA): Changed to movaps for smaller code sizes.
3610         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Update
3611         comments.
3612         (PREFETCH): New.
3613         (PREFETCH_SIZE): Likewise.
3614         (PREFETCHED_LOAD_SIZE): Likewise.
3615         (PREFETCH_ONE_SET): Likewise.
3616         Rewrite to use forward and backward loops, which move 4 vector
3617         registers at a time, to support overlapping addresses and use
3618         non temporal store if size is above the threshold and there is
3619         no overlap between destination and source.
3621 2016-04-12  Alex Smith  <alex.smith@imgtec.com>
3623         * sysdeps/unix/sysv/linux/mips/Makefile (sysdep_routines):
3624         Include dl-vdso.
3625         * sysdeps/unix/sysv/linux/mips/Versions: Add
3626         __vdso_clock_gettime.
3627         * sysdeps/unix/sysv/linux/mips/init-first.c: New file.
3628         * sysdeps/unix/sysv/linux/mips/libc-vdso.h: New file.
3629         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h:
3630         (INTERNAL_VSYSCALL_CALL): Define to be compatible with MIPS
3631         definitions of INTERNAL_SYSCALL_{ERROR_P,ERRNO}.
3632         (HAVE_CLOCK_GETTIME_VSYSCALL): Define.
3633         (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
3634         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
3635         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
3637 2016-04-11  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3639         * sysdeps/unix/sysv/linux/arm/pwrite.c: Remove file.
3640         * sysdeps/unix/sysv/linux/arm/pwrite64.c: Likewise.
3641         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
3642         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
3643         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
3644         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
3645         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
3646         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
3647         * sysdeps/unix/sysv/linux/wordsize-64/pwrite64.c: Likewise.
3648         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (prite): Remove
3649         syscalls generation.
3650         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
3651         [__NR_pwrite64] (__NR_write): Remove define.
3652         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
3653         [__NR_pwrite64] (__NR_write): Remove define.
3654         * sysdeps/unix/sysv/linux/pwrite.c [__NR_pwrite64] (__NR_pwrite):
3655         Remove define.
3656         (__libc_pwrite): Use SYSCALL_LL macro on offset argument.
3657         * sysdeps/unix/sysv/linux/pwrite64.c [__NR_pwrite64] (__NR_pwrite):
3658         Remove define.
3659         (__libc_pwrite64): Use SYSCALL_LL64 macro on offset argument.
3660         * sysdeps/unix/sysv/linux/sh/pwrite.c: Rewrite using default
3661         Linux implementation as base.
3662         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
3664         * sysdeps/unix/sysv/linux/arm/pread.c: Remove file.
3665         * sysdeps/unix/sysv/linux/arm/pread64.c: Likewise.
3666         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
3667         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
3668         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise,
3669         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
3670         * sysdeps/unix/sysv/linux/wordsize-64/pread64.c: Likewise.
3671         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (pread): Remove
3672         syscall generation.
3673         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
3674         [__NR_pread64] (__NR_pread): Remove define.
3675         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
3676         [__NR_pread64] (__NR_pread): Likewise.
3677         * sysdeps/unix/sysv/linux/pread.c [__NR_pread64] (__NR_pread): Remove
3678         define.
3679         (__libc_pread): Use SYSCALL_LL macro on offset argument.
3680         * sysdeps/unix/sysv/linux/pread64.c [__NR_pread64] (__NR_pread):
3681         Remove define.
3682         (__libc_pread64): Use SYSCALL_LL64 macro on offset argument.
3683         * sysdeps/unix/sysv/linux/sh/pread.c: Rewrite using default
3684         Linux implementation as base.
3685         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
3686         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
3687         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
3689         * sysdeps/unix/sysv/linux/generic/sysdep.h (__ALIGNMENT_ARG): Move
3690         definition.
3691         (__ALIGNMENT_COUNT): Likewise.
3692         * sysdeps/unix/sysv/linux/sysdep.h (__ALIGNMENT_ARG): To here.
3693         (__ALIGNMENT_COUNT): Likewise.
3694         (SYSCALL_LL): New define.
3695         (SYSCALL_LL64): Likewise.
3696         * sysdeps/unix/sysv/linux/mips/kernel-features.h:
3697         [_MIPS_SIM == _ABIO32] (__ASSUME_WORDSIZE64_ILP32): Define.
3698         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h:
3699         [ILP32] (__ASUME_WORDSIZE64_ILP32): Likewise.
3701         * sysdeps/unix/sysv/linux/arm/kernel-features.h
3702         (__ASSUME_ALIGNED_REGISTER_PAIRS): Define.
3703         * sysdeps/unix/sysv/linux/mips/kernel-features.h
3704         [_MIPS_SIM == _ABIO32] (__ASSUME_ALIGNED_REGISTER_PAIRS): Likewise.
3705         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
3706         [!__powerpc64__] (__ASSUME_ALIGNED_REGISTER_PAIRS): Likewise.
3708 2016-04-11  Florian Weimer  <fweimer@redhat.com>
3710         [BZ #19865]
3711         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Restore
3712         original buffer before retry.
3714 2016-04-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
3716         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro)
3717         [!HAVE_AUX_VECTOR]: Do not define _dl_auxv field.
3718         * misc/getauxval.c (__getauxval) [!HAVE_AUX_VECTOR]: Do not go through
3719         GLRO(dl_auxv) list.
3720         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_VECTOR): Define before
3721         including <ldsodefs.h>.
3722         * sysdeps/nacl/ldsodefs.h (HAVE_AUX_VECTOR): Likewise.
3724 2016-04-09  Nick Alcock  <nick.alcock@oracle.com>
3726         * elf/rtld-Rules (rtld-compile-command.c): Add $(rtld-CFLAGS).
3727         * scripts/sysd-rules.awk: Substitute in $(CFLAGS) as well as
3728         $(CPPFLAGS).
3730 2016-04-09  Khem Raj  <raj.khem@gmail.com>
3732         [BZ #17950]
3733         * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os):
3734         Add -mfpmath=387.
3736 2016-04-09  Mike Frysinger  <vapier@gentoo.org>
3738         * sysdeps/i386/configure.ac: Change == to = when calling test.
3739         * sysdeps/x86_64/configure.ac: Likewise.
3740         * sysdeps/i386/configure: Regenerated.
3741         * sysdeps/x86_64/configure: Likewise.
3743 2016-04-08  Mike Frysinger  <vapier@gentoo.org>
3745         [BZ #16137]
3746         * benchtests/Makefile (LOCALES): Change iw_IL to he_IL.
3747         * benchtests/bench-strcoll.c (input_files): Likewise.
3748         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
3749         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Rename to ...
3750         * benchtests/strcoll-inputs/lorem_ipsum#he_IL.UTF-8: ... here.
3752 2016-04-08  Joseph Myers  <joseph@codesourcery.com>
3754         [BZ #19929]
3755         * include/bits/xopen_lim.h (NL_NMAX): Do not define if
3756         [__USE_XOPEN2K8 && !__USE_GNU].
3757         * conform/Makefile (test-xfail-XOPEN2K8/limits.h/conform): Remove
3758         variable.
3760         [BZ #19925]
3761         * sysdeps/unix/sysv/linux/alpha/bits/termios.h (XCASE): Do not
3762         define if [!__USE_MISC && __USE_XOPEN2K].
3763         * sysdeps/unix/sysv/linux/bits/termios.h (XCASE): Likewise.
3764         * sysdeps/unix/sysv/linux/mips/bits/termios.h (XCASE): Likewise.
3765         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (XCASE):
3766         Likewise.
3767         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (XCASE): Likewise.
3768         * conform/Makefile (test-xfail-XOPEN2K/termios.h/conform): Remove
3769         variable.
3770         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
3772 2016-04-07  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3774         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
3775         (sysdep_routines): Add new strspn targets.
3776         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
3777         (__libc_ifunc_impl_list): Add strspn.
3778         * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S:
3779         New file.
3780         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c:
3781         Likewise.
3782         * sysdeps/powerpc/powerpc64/multiarch/strspn.c:
3783         Likewise.
3784         * sysdeps/powerpc/powerpc64/power8/strspn.S:
3785         Likewise.
3787 2016-04-07  Florian Weimer  <fweimer@redhat.com>
3789         * misc/hsearch_r.c: Include <limits.h>.
3791 2016-04-07  Florian Weimer  <fweimer@redhat.com>
3793         * malloc/scratch_buffer_set_array_size.c: Include <limits.h>.
3795 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
3797         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
3798         (MEMCPY_SYMBOL): New.
3799         (MEMPCPY_SYMBOL): Likewise.
3800         (MEMMOVE_CHK_SYMBOL): Likewise.
3801         Replace MEMMOVE_SYMBOL with MEMMOVE_CHK_SYMBOL on __mempcpy_chk
3802         symbols.  Replace MEMMOVE_SYMBOL with MEMPCPY_SYMBOL on
3803         __mempcpy symbols.  Provide alias for __memcpy_chk in libc.a.
3804         Provide alias for memcpy in libc.a and ld.so.
3806 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
3808         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
3809         (MEMSET_CHK_SYMBOL): New.  Define if not defined.
3810         (__bzero): Check VEC_SIZE == 16 instead of USE_MULTIARCH.
3811         Disabled fro now.
3812         Replace MEMSET_SYMBOL with MEMSET_CHK_SYMBOL on __memset_chk
3813         symbols.  Properly check USE_MULTIARCH on __memset symbols.
3815 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
3817         * benchtests/Makefile (string-benchset): Add memcpy-large,
3818         memmove-large and memset-large.
3819         * benchtests/bench-memcpy-large.c: New file.
3820         * benchtests/bench-memmove-large.c: Likewise.
3821         * benchtests/bench-memmove-large.c: Likewise.
3822         * benchtests/bench-string.h (TIMEOUT): Don't redefine.
3824 2016-04-05   H.J. Lu  <hongjiu.lu@intel.com>
3826         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S: Force
3827         32-bit displacement to avoid long nop between instructions.
3829 2016-04-05   H.J. Lu  <hongjiu.lu@intel.com>
3831         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Add
3832         a comment on VMOVU and VMOVA.
3834 2016-04-04  Florian Weimer  <fweimer@redhat.com>
3836         [BZ #19633]
3837         Use specified locale for number formatting in strfmon_l.
3838         * locale/localeinfo.h (__nl_lookup, _nl_lookup_wstr)
3839         (__nl_lookup_word): New inline functions.
3840         * include/printf.h (__print_fp_l): Declare.
3841         * stdio-common/printf_fp.c (___printf_fp_l): Renamed from
3842         ___printf_fp.  Add locale argument.  Replace _NL_CURRENT with
3843         _nl_lookup and _NL_CURRENT_WORD with _nl_lookup_word.
3844         (___printf_fp): New function.
3845         * stdlib/strfmon_l.c (__printf_fp): Remove declaration.
3846         (__vstrfmon_l): Call __printf_fp_l instead of printf_fp.
3847         * stdlib/tst-strfmon_l.c (do_test): New test.
3848         * stdlib/Makefile (tests): Add kt.
3849         (LOCALES): Build additional locales.
3850         (tst-strfmon_l.out): Require locales.
3852 2016-04-03   H.J. Lu  <hongjiu.lu@intel.com>
3854         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S: Skip
3855         if not in libc.
3856         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
3857         Likewise.
3858         * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S:
3859         Likewise.
3860         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
3861         Likewise.
3863 2016-04-03   H.J. Lu  <hongjiu.lu@intel.com>
3865         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
3866         (__mempcpy_erms, __memmove_erms): Moved before __mempcpy_chk
3867         with unaligned_erms.
3868         (__memmove_erms): Skip if source == destination.
3869         (__memmove_unaligned_erms): Don't check source == destination
3870         first.
3872 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
3874         * sysdeps/x86/cpu-features.c (init_cpu_features): Don't set
3875         bit_arch_Fast_Copy_Backward for Intel Core proessors.
3877 2016-04-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3879         * string/strcspn.c (strcspn): Use PTR_ALIGN_DOWN.
3880         * string/strspn.c (strspn): Likewise.
3882 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
3884         * benchtests/bench-memset.c (do_test): Support 64-byte
3885         alignment.
3886         (test_main): Test 64-byte alignment.
3888 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
3890         * benchtests/bench-memmove.c (test_main): Test 64-byte
3891         alignment.
3893 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
3895         * benchtests/bench-memcpy.c (test_main): Test 64-byte alignment.
3897 2016-04-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3899         * sysdeps/powerpc/powerpc64/strcspn.S: Remove file.
3900         * sysdeps/powerpc/powerpc64/strpbrk.S: Remove file.
3901         * sysdeps/powerpc/powerpc64/strspn.S: Remove file.
3903         * string/strpbrk.c (strpbrk): Rewrite function.
3904         * string/bits/string2.h (strpbrk): Use __builtin_strpbrk.
3905         (__strpbrk_c2): Likewise.
3906         (__strpbrk_c3): Likewise.
3907         * string/string-inlines.c
3908         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strpbrk_c2):
3909         Likewise.
3910         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strpbrk_c3):
3911         Likewise.
3913         * string/strspn.c (strcspn): Rewrite function.
3914         * string/bits/string2.h (strspn): Use __builtin_strcspn.
3915         (__strspn_c1): Remove inline function.
3916         (__strspn_c2): Likewise.
3917         (__strspn_c3): Likewise.
3918         * string/string-inlines.c
3919         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c1): Add
3920         compatibility symbol.
3921         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c2):
3922         Likewise.
3923         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c3):
3924         Likewise.
3925         * string/string-inlines.c: Include generic version.
3927 2016-04-01  Wilco Dijkstra  <wdijkstr@arm.com>
3928             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3930         * string/Version (libc): Add GLIBC_2.24.
3931         * string/strcspn.c (strcspn): Rewrite function.
3932         * string/bits/string2.h (strcspn): Use __builtin_strcspn.
3933         (__strcspn_c1): Remove inline function.
3934         (__strcspn_c2): Likewise.
3935         (__strcspn_c3): Likewise.
3936         * string/string-inline.c
3937         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c1): Add
3938         compatibility symbol.
3939         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c2):
3940         Likewise.
3941         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c3):
3942         Likewise.
3943         * sysdeps/i386/string-inlines.c: Include generic string-inlines.c.
3945 2016-04-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
3947         * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
3948         Use ahi instead of aghi to adjust stack pointer.
3950 2016-03-31  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3952         [BZ #19853]
3953         * stdio-common/tst-sprintf3.c [TEST_N]: Refactor
3954         TEST to take significant digits as second parameter.
3955         [TEST]: Redefine in terms of TEST_N taking 30
3956         significant digits.
3957         (do_test): Add test case to demonstrate precision
3958         failure in the ldbl-128ibm printf.
3959         * sysdeps/ieee754/ldbl-128ibm/ldbl2pm.c:
3960         (__mpn_extract_long_double): Carry 7 extra intermediate
3961         bits of precision to aide computing difference when
3962         signs differ.
3964 2016-03-31   H.J. Lu  <hongjiu.lu@intel.com>
3966         [BZ #19881]
3967         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
3968         memset-sse2-unaligned-erms, memset-avx2-unaligned-erms and
3969         memset-avx512-unaligned-erms.
3970         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
3971         (__libc_ifunc_impl_list): Test __memset_chk_sse2_unaligned,
3972         __memset_chk_sse2_unaligned_erms, __memset_chk_avx2_unaligned,
3973         __memset_chk_avx2_unaligned_erms, __memset_chk_avx512_unaligned,
3974         __memset_chk_avx512_unaligned_erms, __memset_sse2_unaligned,
3975         __memset_sse2_unaligned_erms, __memset_erms,
3976         __memset_avx2_unaligned, __memset_avx2_unaligned_erms,
3977         __memset_avx512_unaligned_erms and __memset_avx512_unaligned.
3978         * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S: New
3979         file.
3980         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
3981         Likewise.
3982         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S:
3983         Likewise.
3984         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S:
3985         Likewise.
3987 2016-03-31   H.J. Lu  <hongjiu.lu@intel.com>
3989         [BZ #19776]
3990         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
3991         memmove-sse2-unaligned-erms, memmove-avx-unaligned-erms and
3992         memmove-avx512-unaligned-erms.
3993         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
3994         (__libc_ifunc_impl_list): Test
3995         __memmove_chk_avx512_unaligned_2,
3996         __memmove_chk_avx512_unaligned_erms,
3997         __memmove_chk_avx_unaligned_2, __memmove_chk_avx_unaligned_erms,
3998         __memmove_chk_sse2_unaligned_2,
3999         __memmove_chk_sse2_unaligned_erms, __memmove_avx_unaligned_2,
4000         __memmove_avx_unaligned_erms, __memmove_avx512_unaligned_2,
4001         __memmove_avx512_unaligned_erms, __memmove_erms,
4002         __memmove_sse2_unaligned_2, __memmove_sse2_unaligned_erms,
4003         __memcpy_chk_avx512_unaligned_2,
4004         __memcpy_chk_avx512_unaligned_erms,
4005         __memcpy_chk_avx_unaligned_2, __memcpy_chk_avx_unaligned_erms,
4006         __memcpy_chk_sse2_unaligned_2, __memcpy_chk_sse2_unaligned_erms,
4007         __memcpy_avx_unaligned_2, __memcpy_avx_unaligned_erms,
4008         __memcpy_avx512_unaligned_2, __memcpy_avx512_unaligned_erms,
4009         __memcpy_sse2_unaligned_2, __memcpy_sse2_unaligned_erms,
4010         __memcpy_erms, __mempcpy_chk_avx512_unaligned_2,
4011         __mempcpy_chk_avx512_unaligned_erms,
4012         __mempcpy_chk_avx_unaligned_2, __mempcpy_chk_avx_unaligned_erms,
4013         __mempcpy_chk_sse2_unaligned_2, __mempcpy_chk_sse2_unaligned_erms,
4014         __mempcpy_avx512_unaligned_2, __mempcpy_avx512_unaligned_erms,
4015         __mempcpy_avx_unaligned_2, __mempcpy_avx_unaligned_erms,
4016         __mempcpy_sse2_unaligned_2, __mempcpy_sse2_unaligned_erms and
4017         __mempcpy_erms.
4018         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S: New
4019         file.
4020         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
4021         Likwise.
4022         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S:
4023         Likwise.
4024         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
4025         Likwise.
4027 2016-03-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
4029         * sysdeps/s390/bits/link.h: (La_s390_vr) New typedef.
4030         (La_s390_32_regs): Append vector register lr_v24-lr_v31.
4031         (La_s390_64_regs): Likewise.
4032         (La_s390_32_retval): Append vector register lrv_v24.
4033         (La_s390_64_retval): Likeweise.
4034         * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
4035         Handle extended structs La_s390_32_regs and La_s390_32_retval.
4036         * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
4037         Handle extended structs La_s390_64_regs and La_s390_64_retval.
4039 2016-03-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
4041         [BZ #19916]
4042         * sysdeps/s390/s390-32/dl-trampoline.S: Include dl-trampoline.h twice
4043         to create a non-vector/vector version for _dl_runtime_resolve and
4044         _dl_runtime_profile. Move implementation to ...
4045         * sysdeps/s390/s390-32/dl-trampoline.h: ... here.
4046         (_dl_runtime_resolve) Save and restore fpr/vrs.
4047         (_dl_runtime_profile) Save and restore vrs and fix some issues
4048         if _dl_call_pltexit is called.
4049         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup):
4050         Choose the correct resolver function if running on a machine with vx.
4051         * sysdeps/s390/s390-64/dl-trampoline.S: Include dl-trampoline.h twice
4052         to create a non-vector/vector version for _dl_runtime_resolve and
4053         _dl_runtime_profile. Move implementation to ...
4054         * sysdeps/s390/s390-64/dl-trampoline.h: ... here.
4055         (_dl_runtime_resolve) Save and restore fpr/vrs.
4056         (_dl_runtime_profile) Save and restore vrs and fix some issues
4057         * sysdeps/s390/s390-64/dl-machine.h: (elf_machine_runtime_setup):
4058         Choose the correct resolver function if running on a machine with vx.
4060 2016-03-31  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4062         * elf/tst-dlsym-error.c: Include <string.h> for strchrnul.
4064 2016-03-31  Florian Weimer  <fweimer@redhat.com>
4066         [BZ #19509]
4067         * elf/dl-lookup.c (_dl_lookup_symbol_x): Report error even if
4068         skip_map != NULL.
4069         * elf/tst-dlsym-error.c: New file.
4070         * elf/Makefile (tests): Add tst-dlsym-error.
4071         (tst-dlsym-error): Link against libdl.
4073 2016-03-29  Joseph Myers  <joseph@codesourcery.com>
4075         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
4076         (__ASSUME_FUTIMESAT): Remove macro.
4077         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: Remove file.
4079 2016-03-29  Florian Weimer  <fweimer@redhat.com>
4081         [BZ #19879]
4082         CVE-2016-3075
4083         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Do not
4084         copy name.
4086 2016-03-29  Florian Weimer  <fweimer@redhat.com>
4088         [BZ #19837]
4089         * nss/nss_db/db-XXX.c (_nss_db_getENTNAME_r): Propagate ERANGE
4090         error if parse_line fails.
4092 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
4094         * sysdeps/x86/cpu-features.h (bit_cpu_ERMS): New.
4095         (index_cpu_ERMS): Likewise.
4096         (reg_ERMS): Likewise.
4098 2016-03-28  Aurelien Jarno  <aurelien@aurel32.net>
4100         * sysdeps/unix/sysv/linux/sys/personality.h (UNAME26, FDPIC_FUNCPTRS,
4101         PER_LINUX_FDPIC): Add.
4103 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
4105         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
4106         memcpy-avx512-no-vzeroupper.
4107         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: Renamed
4108         to ...
4109         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: This.
4110         (MEMCPY): Don't define.
4111         (MEMCPY_CHK): Likewise.
4112         (MEMPCPY): Likewise.
4113         (MEMPCPY_CHK): Likewise.
4114         (MEMPCPY_CHK): Renamed to ...
4115         (__mempcpy_chk_avx512_no_vzeroupper): This.
4116         (MEMPCPY_CHK): Renamed to ...
4117         (__mempcpy_chk_avx512_no_vzeroupper): This.
4118         (MEMCPY_CHK): Renamed to ...
4119         (__memmove_chk_avx512_no_vzeroupper): This.
4120         (MEMCPY): Renamed to ...
4121         (__memmove_avx512_no_vzeroupper): This.
4122         (__memcpy_avx512_no_vzeroupper): New alias.
4123         (__memcpy_chk_avx512_no_vzeroupper): Likewise.
4125 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
4127         [BZ #18858]
4128         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
4129         mempcpy-ssse3, mempcpy-ssse3-back, mempcpy-avx-unaligned
4130         and mempcpy-avx512-no-vzeroupper.
4131         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S (MEMPCPY_CHK):
4132         New.
4133         (MEMPCPY): Likewise.
4134         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S
4135         (MEMPCPY_CHK): New.
4136         (MEMPCPY): Likewise.
4137         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S (MEMPCPY_CHK): New.
4138         (MEMPCPY): Likewise.
4139         * sysdeps/x86_64/multiarch/memcpy-ssse3.S (MEMPCPY_CHK): New.
4140         (MEMPCPY): Likewise.
4141         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: Removed.
4142         * sysdeps/x86_64/multiarch/mempcpy-avx512-no-vzeroupper.S:
4143         Likewise.
4144         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: Likewise.
4145         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: Likewise.
4147 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
4148              Amit Pawar  <Amit.Pawar@amd.com>
4150         [BZ #19583]
4151         * sysdeps/x86/cpu-features.c (init_cpu_features): Set
4152         Fast_Unaligned_Copy with Fast_Unaligned_Load for Intel
4153         processors.  Set Fast_Copy_Backward for AMD Excavator
4154         processors.
4155         * sysdeps/x86/cpu-features.h (bit_arch_Fast_Unaligned_Copy):
4156         New.
4157         (index_arch_Fast_Unaligned_Copy): Likewise.
4158         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check
4159         Fast_Unaligned_Copy instead of Fast_Unaligned_Load.
4161 2016-03-25  Florian Weimer  <fweimer@redhat.com>
4163         [BZ #19791]
4164         * resolv/res_send.c (close_and_return_error): New function.
4165         (send_dg): Initialize *resplen2 after reopen failure.  Call
4166         close_and_return_error for error returns.  On error paths without
4167         __res_iclose, initialze *resplen2 explicitly.  Update comment for
4168         successful return.
4170 2016-03-25  Florian Weimer  <fweimer@redhat.com>
4172         [BZ# 19860]
4173         * sysdeps/x86_64/tst-audit10.c (avx512_enabled): Always return
4174         zero if the compiler does not provide the AVX512F bit.
4176 2016-03-24  Joseph Myers  <joseph@codesourcery.com>
4178         [BZ #19848]
4179         * sysdeps/i386/fpu/e_powl.S (p3): Rename to p2 and change value
4180         from 8 to 4.
4181         (__ieee754_powl): Compare integer exponent against 4 not 8.
4182         * sysdeps/x86_64/fpu/e_powl.S (p3): Rename to p2 and change value
4183         from 8 to 4.
4184         (__ieee754_powl): Compare integer exponent against 4 not 8.
4185         * math/auto-libm-test-in: Add more tests of pow.
4186         * math/auto-libm-test-out: Regenerated.
4187         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update.
4188         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4190 2016-03-23  Aurelien Jarno  <aurelien@aurel32.net>
4192         * sysdeps/unix/sysv/linux/futimens.c (futimens) [__NR_utimensat]:
4193         Make code unconditional.
4194         [!__NR_utimensat]: Remove conditional code.
4195         * sysdeps/unix/sysv/linux/lutimes.c (lutimes) [__NR_utimensat]:
4196         Make code unconditional.
4197         [!__NR_utimensat]: Remove conditional code.
4198         * sysdeps/unix/sysv/linux/utimensat.c (utimensat) [__NR_utimensat]:
4199         Make code unconditional.
4200         [!__NR_utimensat]: Remove conditional code.
4202 2016-03-23  Aurelien Jarno  <aurelien@aurel32.net>
4204         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64) [__NR_openat]:
4205         Make code unconditional.
4207 2016-03-23  Nick Alcock  <nick.alcock@oracle.com>
4209         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Reload
4210         call-clobbered %eax on retry path.
4211         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
4213 2016-03-22  H.J. Lu  <hongjiu.lu@intel.com>
4215         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S (MEMCPY):
4216         Don't set %rcx twice before "rep movsb".
4218 2016-03-22  H.J. Lu  <hongjiu.lu@intel.com>
4220         [BZ #19583]
4221         * sysdeps/x86/cpu-features.c (get_common_indeces): Remove
4222         inline.  Check family before setting family, model and
4223         extended_model.  Set AVX, AVX2, AVX512, FMA and FMA4 usable
4224         bits here.
4225         (init_cpu_features): Replace HAS_CPU_FEATURE and
4226         HAS_ARCH_FEATURE with CPU_FEATURES_CPU_P and
4227         CPU_FEATURES_ARCH_P.  Set index_arch_AVX_Fast_Unaligned_Load
4228         for Intel processors with usable AVX2.  Call get_common_indeces
4229         for other processors with family == NULL.
4230         * sysdeps/x86/cpu-features.h (CPU_FEATURES_CPU_P): New macro.
4231         (CPU_FEATURES_ARCH_P): Likewise.
4232         (HAS_CPU_FEATURE): Use CPU_FEATURES_CPU_P.
4233         (HAS_ARCH_FEATURE): Use CPU_FEATURES_ARCH_P.
4235 2016-03-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
4237         * malloc/Makefile ($(objpfx)tst-malloc-backtrace,
4238         $(objpfx)tst-malloc-thread-exit, $(objpfx)tst-malloc-thread-fail): Use
4239         $(shared-thread-library) instead of hardcoding the path to libpthread.
4241 2016-03-22  Joseph Myers  <joseph@codesourcery.com>
4243         * sysdeps/unix/sysv/linux/kernel-features.h
4244         (__ASSUME_GETDENTS64_SYSCALL): Remove macro.
4245         * sysdeps/unix/sysv/linux/getdents.c
4246         [!__ASSUME_GETDENTS64_SYSCALL]: Remove conditional code.
4247         [!have_no_getdents64_defined]: Likewise.
4248         (__GETDENTS): Remove __have_no_getdents64 conditional.
4250 2016-03-21  Joseph Myers  <joseph@codesourcery.com>
4252         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_SIGNALFD4):
4253         Remove macro.
4254         * sysdeps/unix/sysv/linux/signalfd.c: Do not include
4255         <kernel-features.h>.
4256         (signalfd) [__NR_signalfd4]: Make code unconditional.
4257         (signalfd) [!__ASSUME_SIGNALFD4]: Remove conditional code.
4259 2016-03-21  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4261         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Fix implict checks
4262         style.
4264 2016-03-21  H.J. Lu  <hongjiu.lu@intel.com>
4266         * sysdeps/unix/sysv/linux/x86_64/cancellation.S
4267         (__pthread_enable_asynccancel): Use JUMPTARGET to call
4268         __pthread_unwind.
4269         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
4270         (__condvar_cleanup2): Use JUMPTARGET to call _Unwind_Resume.
4271         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
4272         (__condvar_cleanup1): Likewise.
4274 2016-03-21  Dylan Alex Simon  <dylan-sourceware@dylex.net>
4276         [BZ #19822]
4277         * math/Makefile ($(inst_libdir)/libm.so): Write output to $@.tmp and
4278         move it to the final $@ location.
4280 2016-03-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4282         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Fix invalid memory
4283         access where posix_spawn success and pid argument is null.
4284         * posix/tst-spawn.c (do_test): Add posix_spawn null pid argument for
4285         success case.
4287 2016-03-20  Samuel Thibault  <samuel.thibault@ens-lyon.org>:
4289         * sysdeps/mach/hurd/i386/c++-types.data: New file.
4291         * sysdeps/mach/hurd/libc-lock.h (_IO_lock_inexpensive): Define to 1.
4293         * sysdeps/generic/dl-fcntl.h: New file, adds attribute_hidden to __open
4294         and __fcntl.
4295         * sysdeps/mach/hurd/dl-fcntl.h: New file, adds attribute_hidden to
4296         __fcntl only.
4297         * include/fcntl.h [IS_IN (rtld)]: Include <dl-fcntl.h> instead of
4298         adding attribute_hidden to __open and __fcntl.
4300         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Strip
4301         "-include $(common-objpfx)libc-modules.h" from CPPFLAGS, and do not
4302         depend on libc-modules.h,
4303         * mach/Makefile ($(objpfx)mach-syscalls.mk): Depend on libc-modules.h.
4305 2016-03-17  Joseph Myers  <joseph@codesourcery.com>
4307         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_EVENTFD2):
4308         Remove macro.
4309         * sysdeps/unix/sysv/linux/eventfd.c: Remove file.
4310         * sysdeps/unix/sysv/linux/syscalls.list (eventfd): New syscall
4311         entry.
4313         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FALLOCATE):
4314         Remove macro.
4315         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c: Do not
4316         include <kernel-features.h>.
4317         [!__ASSUME_FALLOCATE]: Remove conditional code.
4318         (posix_fallocate) [__NR_fallocate]: Make code unconditional.
4320 2016-03-16  H.J. Lu  <hongjiu.lu@intel.com>
4322         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S
4323         (_ZGVbN2v_cos_sse4): Use JUMPTARGET to call cos.
4324         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S
4325         (_ZGVdN4v_cos_avx2): Likewise.
4326         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S
4327         (_ZGVdN4v_cos): Likewise.
4328         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S
4329         (_ZGVbN2v_exp_sse4): Use JUMPTARGET to call exp.
4330         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S
4331         (_ZGVdN4v_exp_avx2): Likewise.
4332         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S
4333         (_ZGVdN4v_exp): Likewise.
4334         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S
4335         (_ZGVbN2v_log_sse4): Use JUMPTARGET to call log.
4336         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S
4337         (_ZGVdN4v_log_avx2): Likewise.
4338         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S
4339         (_ZGVdN4v_log): Likewise.
4340         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S
4341         (_ZGVbN2vv_pow_sse4): Use JUMPTARGET to call pow.
4342         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S
4343         (_ZGVdN4vv_pow_avx2): Likewise.
4344         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S
4345         (_ZGVdN4vv_pow): Likewise.
4346         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S
4347         (_ZGVbN2v_sin_sse4): Use JUMPTARGET to call sin.
4348         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S
4349         (_ZGVdN4v_sin_avx2): Likewise.
4350         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S
4351         (_ZGVdN4v_sin): Likewise.
4352         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S
4353         (_ZGVbN2vvv_sincos_sse4): Use JUMPTARGET to call sin and cos.
4354         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S
4355         (_ZGVdN4vvv_sincos_avx2): Likewise.
4356         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S
4357         (_ZGVdN4vvv_sincos): Likewise.
4358         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S
4359         (_ZGVdN8v_cosf): Use JUMPTARGET to call cosf.
4360         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S
4361         (_ZGVbN4v_cosf_sse4): Likewise.
4362         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S
4363         (_ZGVdN8v_cosf_avx2): Likewise.
4364         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S
4365         (_ZGVdN8v_expf): Use JUMPTARGET to call expf.
4366         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S
4367         (_ZGVbN4v_expf_sse4): Likewise.
4368         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S
4369         (_ZGVdN8v_expf_avx2): Likewise.
4370         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S
4371         (_ZGVdN8v_logf): Use JUMPTARGET to call logf.
4372         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S
4373         (_ZGVbN4v_logf_sse4): Likewise.
4374         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S
4375         (_ZGVdN8v_logf_avx2): Likewise.
4376         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S
4377         (_ZGVdN8vv_powf): Use JUMPTARGET to call powf.
4378         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S
4379         (_ZGVbN4vv_powf_sse4): Likewise.
4380         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S
4381         (_ZGVdN8vv_powf_avx2): Likewise.
4382         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
4383         (_ZGVdN8vv_powf): Use JUMPTARGET to call sinf and cosf.
4384         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
4385         (_ZGVbN4vvv_sincosf_sse4): Likewise.
4386         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
4387         (_ZGVdN8vvv_sincosf_avx2): Likewise.
4388         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S
4389         (_ZGVdN8v_sinf): Use JUMPTARGET to call sinf.
4390         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S
4391         (_ZGVbN4v_sinf_sse4): Likewise.
4392         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S
4393         (_ZGVdN8v_sinf_avx2): Likewise.
4394         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h (WRAPPER_IMPL_SSE2):
4395         Use JUMPTARGET to call callee.
4396         (WRAPPER_IMPL_SSE2_ff): Likewise.
4397         (WRAPPER_IMPL_SSE2_fFF): Likewise.
4398         (WRAPPER_IMPL_AVX): Likewise.
4399         (WRAPPER_IMPL_AVX_ff): Likewise.
4400         (WRAPPER_IMPL_AVX_fFF): Likewise.
4401         (WRAPPER_IMPL_AVX512): Likewise.
4402         (WRAPPER_IMPL_AVX512_ff): Likewise.
4403         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h (WRAPPER_IMPL_SSE2):
4404         Likewise.
4405         (WRAPPER_IMPL_SSE2_ff): Likewise.
4406         (WRAPPER_IMPL_SSE2_fFF): Likewise.
4407         (WRAPPER_IMPL_AVX): Likewise.
4408         (WRAPPER_IMPL_AVX_ff): Likewise.
4409         (WRAPPER_IMPL_AVX_fFF): Likewise.
4410         (WRAPPER_IMPL_AVX512): Likewise.
4411         (WRAPPER_IMPL_AVX512_ff): Likewise.
4412         (WRAPPER_IMPL_AVX512_fFF): Likewise.
4414 2016-03-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
4416         * sysdeps/mach/hurd/openat.c (__openat): Add missing ellipsis.
4417         * resolv/gai_sigqueue.c (__gai_sigqueue): Add missing internal_function
4418         qualifier.
4419         * /rt/aio_sigqueue.c (__aio_sigqueue): Add missing attribute_hidden
4420         internal_function qualifiers.
4422 2016-03-15  Carlos O'Donell <carlos@redhat.com>
4424         * catgets/tst-catgets.c (do_bz17905): Mark result unused.
4425         * dlfcn/bug-dl-leaf-lib.c (check_val_fini): Mark ret unused.
4426         * math/atest-exp.c (exp_mpn): Mark chk unused.
4427         * math/atest-exp2.c (exp_mpn): Likwise.
4428         * sysdeps/arm/dl-machine.h (elf_machine_rela): Mark td unused.
4429         * sysdeps/i386/i686/dl-hash.h: Mark _dl_elf_hash unused.
4431 2016-03-15  Joseph Myers  <joseph@codesourcery.com>
4433         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_PPOLL):
4434         Remove macro.
4435         * sysdeps/unix/sysv/linux/ppoll.c: Do not include
4436         <kernel-features.h>.
4437         [__NR_ppoll]: Make code unconditional.
4438         [!__ASSUME_PPOLL]: Remove conditional code.
4440         * sysdeps/unix/sysv/linux/kernel-features.h
4441         (__ASSUME_ACCEPT4_SYSCALL): Define unconditionally.
4442         (__ASSUME_ACCEPT4): Likewise.
4443         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
4444         Define.
4445         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG):
4446         Likewise.
4447         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
4448         Likewise.
4449         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG):
4450         Likewise.
4451         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h: Remove file.
4452         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: Likewise.
4453         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
4454         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
4455         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
4456         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
4457         * sysdeps/unix/sysv/linux/arm/kernel-features.h
4458         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
4459         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
4460         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
4461         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
4462         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
4463         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
4464         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
4465         * sysdeps/unix/sysv/linux/i386/kernel-features.h
4466         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
4467         Likewise.
4468         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
4469         Likewise.
4470         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
4471         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
4472         0x040300].
4473         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
4474         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
4475         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
4476         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
4477         0x030300] instead of defining if [__LINUX_KERNEL_VERSION >=
4478         0x030300].
4479         [__LINUX_KERNEL_VERSION < 0x030300] (__ASSUME_ACCEPT4): Undefine.
4480         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
4481         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
4482         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
4483         0x040300].
4484         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
4485         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
4486         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
4487         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
4488         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
4489         (__ASSUME_SENDMMSG_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
4490         0x030300] instead of defining if [__LINUX_KERNEL_VERSION >=
4491         0x030300].
4492         * sysdeps/unix/sysv/linux/mips/kernel-features.h
4493         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
4494         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
4495         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
4496         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
4497         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
4498         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
4499         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
4500         * sysdeps/unix/sysv/linux/s390/kernel-features.h
4501         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
4502         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
4503         0x040300].
4504         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
4505         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
4506         * sysdeps/unix/sysv/linux/sh/kernel-features.h
4507         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
4508         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
4509         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
4510         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
4511         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
4512         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
4513         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
4514         * sysdeps/unix/sysv/linux/tile/kernel-features.h
4515         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
4516         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
4517         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
4518         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h
4519         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
4520         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
4521         Likewise.
4522         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
4523         Likewise.
4525 2016-03-15  Andreas Schwab  <schwab@suse.de>
4527         [BZ #19257]
4528         * resolv/res_init.c (__res_iclose): Use statp->nscount instead of
4529         statp->_u._ext.nscount as loop count.
4531 2016-03-14  Andreas Schwab  <schwab@linux-m68k.org>
4533         * math/test-signgam-finite-c99.c: Also #undef
4534         __LIBC_INTERNAL_MATH_INLINES.
4535         * math/test-signgam-main.c: Likewise.
4537 2016-03-14  Joseph Myers  <joseph@codesourcery.com>
4539         * bits/mman-linux.h [__USE_MISC] (MADV_FREE): New macro.
4540         * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
4541         (MADV_FREE): Likewise.
4542         * sysdeps/unix/sysv/linux/bits/in.h (IPV6_HDRINCL): Likewise.
4543         * sysdeps/unix/sysv/linux/sys/epoll.h (enum EPOLL_EVENTS): Add
4544         EPOLLEXCLUSIVE.
4546 2016-03-14  Carlos O'Donell  <carlos@redhat.com>
4548         * timezone/README: Remove mention of checktab.awk. Mention wiki
4549         SharedSourceFiles.
4551 2016-03-13  Samuel Thibault  <samuel.thibault@ens-lyon.org
4553         * sysdeps/posix/waitid.c (OUR_WAITID): Test against WSTOPPED instead of
4554         WUNTRACED.
4556 2016-03-11  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
4558         * malloc/malloc.c (malloc_consolidate): Replace 0 by NULL in
4559         order to match the type of p when calling atomic_exchange_acq().
4561 2016-03-11  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
4563         * sysdeps/powerpc/powerpc32/power4/memcmp.S (memcmp): Rearrange
4564         cfi_offset calls.
4565         * sysdeps/powerpc/powerpc32/power6/memcpy.S (memcpy): Likewise.
4566         * sysdeps/powerpc/powerpc32/power7/memcmp.S (memcmp): Likewise.
4567         * sysdeps/powerpc/powerpc64/power4/memcmp.S (memcmp): Likewise.
4568         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Likewise.
4569         * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Likewise.
4571 2016-03-10  Carlos O'Donell  <carlos@redhat.com>
4573         * timezone/checktab.awk: Removed.
4575 2016-03-10  Joseph Myers  <joseph@codesourcery.com>
4577         * manual/math.texi (Errors in Math Functions): Document relaxed
4578         accuracy goals for IBM long double.
4579         * math/libm-test.inc (test_exceptions): Always allow spurious
4580         "underflow" and "inexact" exceptions for IBM long double.
4582 2016-03-10  H.J. Lu  <hongjiu.lu@intel.com>
4584         [BZ #19762]
4585         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
4586         (EXTRA_LD_ENVVARS): Add _arch_ to index_*/bit_*.
4587         * sysdeps/x86/cpu-features.c (init_cpu_features): Likewise.
4588         * sysdeps/x86/cpu-features.h (bit_*): Renamed to ...
4589         (bit_arch_*): This for feature array.
4590         (bit_*): Renamed to ...
4591         (bit_cpu_*): This for cpu array.
4592         (index_*): Renamed to ...
4593         (index_arch_*): This for feature array.
4594         (index_*): Renamed to ...
4595         (index_cpu_*): This for cpu array.
4596         [__ASSEMBLER__] (HAS_FEATURE): Add and use field.
4597         [__ASSEMBLER__] (HAS_CPU_FEATURE)): Pass cpu to HAS_FEATURE.
4598         [__ASSEMBLER__] (HAS_ARCH_FEATURE)): Pass arch to HAS_FEATURE.
4599         [!__ASSEMBLER__] (HAS_CPU_FEATURE): Replace index_##name and
4600         bit_##name with index_cpu_##name and bit_cpu_##name.
4601         [!__ASSEMBLER__] (HAS_ARCH_FEATURE): Replace index_##name and
4602         bit_##name with index_arch_##name and bit_arch_##name.
4604 2016-03-09  Aurelien Jarno  <aurelien@aurel32.net>
4606         [BZ #19792]
4607         * sysdeps/unix/sysv/linux/mips/makecontext.S (__makecontext):
4608         Terminate FDE before return label.
4610 2016-03-09  Joseph Myers  <joseph@codesourcery.com>
4612         [BZ #19790]
4613         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c [USE_AS_NEARBYINTL]
4614         (rintl): Define as macro.
4615         [USE_AS_NEARBYINTL] (__rintl): Likewise.
4616         (__rintl) [USE_AS_NEARBYINTL]: Use SET_RESTORE_ROUND_NOEX instead
4617         of fesetround.  Ensure results are evaluated before end of scope.
4618         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Define
4619         USE_AS_NEARBYINTL and include s_rintl.c.
4620         * sysdeps/powerpc/fpu/fenv_private.h (libc_feholdsetround_ppc):
4621         Disable exception traps in new environment.
4622         (libc_feholdsetround_ppc_ctx): Likewise.
4624 2016-03-08  Roland McGrath  <roland@hack.frob.com>
4626         * sysdeps/x86_64/tst-audit10.c: #include <cpu-features.h>.
4627         * sysdeps/x86_64/tst-audit10-aux.c: Move audit_test extern decl ...
4628         (tst_audit10_aux) [__AVX512F__]: ... here.
4630 2016-03-08  Aurelien Jarno  <aurelien@aurel32.net>
4632         * include/sys/auxv.h: New file.
4634 2016-03-08  H.J. Lu  <hongjiu.lu@intel.com>
4636         [BZ #19759]
4637         * sysdeps/x86/bits/string.h (_HAVE_STRING_ARCH_mempcpy): New.
4639 2016-03-08  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
4641         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Remove use of %s
4642         operand modifier.
4643         (feclearexcept): Likewise.
4645 2016-03-08  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
4647         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Updated
4648         to reflect the entire 32-bit HWCAP.
4649         * sysdeps/powerpc/dl-procinfo.h: Code cleanup.
4650         (_DL_HWCAP_FIRST): Removed.  Replaced by 0 accordingly.
4652 2016-03-08  H.J. Lu  <hongjiu.lu@intel.com>
4654         [BZ #19783]
4655         * benchtests/Makefile (run-bench): Replace $(rtld-prefix) with
4656         $(test-via-rtld-prefix).
4657         ($(binaries-bench)): Replace $(+link) with $(+link-tests).
4659 2016-03-08  Florian Weimer  <fweimer@redhat.com>
4661         * sunrpc/key_call.c (key_call_keyenvoy): Use int status instead of
4662         union wait.  Report any non-zero exit status as error.
4664 2016-03-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4666         * posix/tst-execvpe5.c (do_test): Fix fix test invocation when
4667         configured with --enable-hardcoded-path-in-tests.
4669 2016-03-08  Joseph Myers  <joseph@codesourcery.com>
4671         [BZ #19677]
4672         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
4673         (__ieee754_remainderl): Put zero low parts in canonical form.
4674         * sysdeps/ieee754/ldbl-128ibm/test-fmodrem-ldbl-128ibm.c: New
4675         file.  Based on
4676         sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c.
4677         * sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c: Replace
4678         with wrapper round test-fmodrem-ldbl-128ibm.c.
4679         * sysdeps/ieee754/ldbl-128ibm/test-remainderl-ldbl-128ibm.c: New
4680         file.
4681         * sysdeps/ieee754/ldbl-128ibm/test-remquol-ldbl-128ibm.c:
4682         Likewise.
4683         * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Add
4684         test-remainderl-ldbl-128ibm and test-remquol-ldbl-128ibm.
4686 2016-03-07  Florian Weimer  <fweimer@redhat.com>
4688         [BZ #19610]
4689         * elf/ldconfig.c (opt_link): Update comment.
4690         (options): Update help string for option -X.
4691         (search_dir): Unlink stale symbolic link only if updating symbolic
4692         links.
4693         * elf/tst-ldconfig-X.sh: New file.
4694         * elf/Makefile (tests-special): Add tst-ldconfig-X.out.
4695         (tst-ldconfig-X.out): New rule to run tst-ldconfig-X.sh.
4697 2016-03-07  Andreas Schwab  <schwab@suse.de>
4699         * iconv/gconv_builtin.h ("=ascii->INTERNAL"): Correct min/max
4700         needed arguments.
4702 2016-03-07  Hongjiu Zhang  <noctuorare@gmail.com>
4704         [BZ #15333]
4705         * elf/sln.c (makesymlink): Change struct stat to stat64, and lstat
4706         to lstat64.
4708 2016-03-07  Florian Weimer  <fweimer@redhat.com>
4710         * libio/filedoalloc.c (isatty): Remove.
4711         (local_isatty): Add comment.  Call __isatty directly.
4712         (_IO_file_doallocate): Update comment.  Assume _LIBC.
4713         * libio/wfiledoalloc.c (isatty): Remove.
4714         (_IO_wfile_doallocate): Update comment.
4716 2016-03-07  Florian Weimer  <fweimer@redhat.com>
4718         [BZ #19269]
4719         * sysdeps/x86_64/Makefile (tst-audit4): Depend on
4720         tst-audit4-aux.o.
4721         (tst-audit10): Depend on tst-audit10-aux.o.
4722         (CFLAGS-tst-audit4-aux.c): Compile with AVX enabled.
4723         (CFLAGS-tst-audit10-aux.c): Compile with AVX512 enabled.
4724         * sysdeps/x86_64/tst-audit4.c (do_test): Call tst_audit4_aux
4725         instead of inline AVX code.
4726         * sysdeps/x86_64/tst-audit10.c (do_test): Call tst_audit10_aux
4727         instead of inline AVX512 code.
4728         * sysdeps/x86_64/tst-audit4-aux.c: New file
4729         * sysdeps/x86_64/tst-audit10-aux.c: New file
4731         [BZ #19648]
4732         * test-skeleton.c (main): Do not set RLIMIT_DATA.
4734 2016-03-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4736         [BZ #14750]
4737         [BZ #10354]
4738         [BZ #18433]
4739         * include/sched.h (__clone): Add hidden prototype.
4740         (__clone2): Likewise.
4741         * include/unistd.h (__dup): Likewise.
4742         * posix/Makefile (tests): Add tst-spawn2.
4743         * posix/tst-spawn2.c: New file.
4744         * sysdeps/posix/dup.c (__dup): Add hidden definition.
4745         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Likewise.
4746         * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise.
4747         * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise.
4748         * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise.
4749         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Likewise.
4750         * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone): Likewise.
4751         * sysdeps/unix/sysv/linux/m68k/clone.S (__clone): Likewise.
4752         * sysdeps/unix/sysv/linux/microblaze/clone.S (__clone): Likewise.
4753         * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise.
4754         * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise.
4755         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone):
4756         Likewise.
4757         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
4758         Likewise.
4759         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (__clone): Likewise.
4760         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Likewise.
4761         * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Likewise.
4762         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
4763         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise.
4764         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise.
4765         * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise.
4766         * sysdeps/unix/sysv/linux/nptl-signals.h
4767         (____nptl_is_internal_signal): New function.
4768         * sysdeps/unix/sysv/linux/spawni.c: New file.
4770         * posix/execvpe.c (__execvpe): Remove dynamic allocation.
4771         * posix/Makefile (tests): Add tst-execvpe{1,2,3,4,5,6}.
4772         * posix/tst-execvp1.c (do_test): Use a macro to call execvp.
4773         * posix/tst-execvp2.c (do_test): Likewise.
4774         * posix/tst-execvp3.c (do_test): Likewise.
4775         * posix/tst-execvp4.c (do_test): Likewise.
4776         * posix/tst-execvpe1.c: New file.
4777         * posix/tst-execvpe2.c: Likewise.
4778         * posix/tst-execvpe3.c: Likewise.
4779         * posix/tst-execvpe4.c: Likewise.
4780         * posix/tst-execvpe5.c: Likewise.
4781         * posix/tst-execvpe6.c: Likewise.
4783         [BZ #19534]
4784         * posix/execl.c (execl): Remove dynamic memory allocation.
4785         * posix/execle.c (execle): Likewise.
4786         * posix/execlp.c (execlp): Likewise.
4788 2016-03-06  H.J. Lu  <hongjiu.lu@intel.com>
4790         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S:
4791         Replace .text with .text.avx512.
4792         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S:
4793         Likewise.
4795 2016-03-07  Aurelien Jarno  <aurelien@aurel32.net>
4797         * sysdeps/generic/libnsl.abilist: New file.
4798         * sysdeps/generic/libutil.abilist: New file.
4800 2016-03-06  H.J. Lu  <hongjiu.lu@intel.com>
4802         [BZ #19762]
4803         * sysdeps/i386/i686/multiarch/bcopy.S (bcopy): Use
4804         HAS_ARCH_FEATURE with Fast_Rep_String.
4805         * sysdeps/i386/i686/multiarch/bzero.S (__bzero): Likewise.
4806         * sysdeps/i386/i686/multiarch/memcpy.S (memcpy): Likewise.
4807         * sysdeps/i386/i686/multiarch/memcpy_chk.S (__memcpy_chk):
4808         Likewise.
4809         * sysdeps/i386/i686/multiarch/memmove_chk.S (__memmove_chk):
4810         Likewise.
4811         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy): Likewise.
4812         * sysdeps/i386/i686/multiarch/mempcpy_chk.S (__mempcpy_chk):
4813         Likewise.
4814         * sysdeps/i386/i686/multiarch/memset.S (memset): Likewise.
4815         * sysdeps/i386/i686/multiarch/memset_chk.S (__memset_chk):
4816         Likewise.
4818 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
4820         [BZ #19745]
4821         * sysdeps/x86_64/crti.S (_init): Replace PREINIT_FUNCTION@PLT
4822         with *%rax in call.
4824 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
4826         [BZ #19745]
4827         * sysdeps/x86_64/start.S (_start): Replace __libc_start_main@PLT
4828         with *__libc_start_main@GOTPCREL(%rip) in call.
4830 2016-03-04  Roland McGrath  <roland@hack.frob.com>
4832         * Makefile (tests-special): Add $(objpfx)c++-types-check.out only
4833         inside conditional for nonempty $(CXX).
4835         * math/Makefile (tests): Add test-math-isinff only if $(CXX) is
4836         nonempty.
4838         * Makefile ($(objpfx)c++-types-check.out): Fix conditionalization
4839         to test for empty $(CXX) rather than $(CXX) of "no".
4841 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
4843         * sysdeps/x86_64/Makefile (sysdep_noprof): Add comments.
4845 2016-03-04  Amit Pawar  <Amit.Pawar@amd.com>
4846             H.J. Lu  <hongjiu.lu@intel.com>
4848         [BZ #18880]
4849         * sysdeps/x86_64/multiarch/memcpy.S: Check Fast_Unaligned_Load,
4850         instead of Slow_BSF, and also check for Fast_Copy_Backward to
4851         enable __memcpy_ssse3_back.
4853 2016-03-03  H.J. Lu  <hongjiu.lu@intel.com>
4855         [BZ #19758]
4856         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
4857         (EXTRA_LD_ENVVARS): Or in bit_Prefer_MAP_32BIT_EXEC.
4859 2016-03-03  Paul Pluzhnikov  <ppluzhnikov@google.com>
4861         [BZ #19490]
4862         * sysdeps/x86_64/_mcount.S (_mcount): Add unwind descriptor.
4863         (__fentry__): Likewise.
4865 2016-03-03  H.J. Lu  <hongjiu.lu@intel.com>
4867         * gmon/Makefile (noprof): Add $(sysdep_noprof).
4868         * sysdeps/x86_64/Makefile (sysdep_noprof): Add _mcount.
4870 2016-03-01  H.J. Lu  <hongjiu.lu@intel.com>
4872         * sysdeps/x86_64/_mcount.S (C_LABEL(_mcount)): Call
4873         __mcount_internal directly.
4874         (C_LABEL(__fentry__)): Likewise.
4875         * sysdeps/x86_64/setjmp.S __sigsetjmp): Call __sigjmp_save
4876         directly.
4878 2016-03-01  H.J. Lu  <hongjiu.lu@intel.com>
4880         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
4881         (__start_context): Call __setcontext directly.
4883 2016-02-26  Joseph Myers  <joseph@codesourcery.com>
4885         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
4886         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
4887         [__LINUX_KERNEL_VERSION >= 0x030200]: Likewise.
4888         [__LINUX_KERNEL_VERSION < 0x020621]: Remove conditional code.
4889         * sysdeps/unix/sysv/linux/arm/kernel-features.h
4890         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
4891         [__LINUX_KERNEL_VERSION >= 0x020624]: Likewise.
4892         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
4893         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
4894         [__LINUX_KERNEL_VERSION >= 0x020622]: Likewise.
4895         [__LINUX_KERNEL_VERSION >= 0x030100]: Likewise.
4896         [__LINUX_KERNEL_VERSION < 0x020625]: Remove conditional code.
4897         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
4898         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
4899         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
4900         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
4901         [__LINUX_KERNEL_VERSION < 0x030000]: Remove conditional code.
4902         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
4903         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
4904         [__LINUX_KERNEL_VERSION < 0x020621]: Remove conditional code.
4905         [__LINUX_KERNEL_VERSION < 0x020625]: Likewise.
4906         * sysdeps/unix/sysv/linux/mips/kernel-features.h
4907         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
4908         [__LINUX_KERNEL_VERSION >= 0x030100]: Likewise.
4909         [_MIPS_SIM == _ABIN32 && __LINUX_KERNEL_VERSION < 0x020623]:
4910         Remove conditional code.
4911         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
4912         [__LINUX_KERNEL_VERSION >= 0x020625]: Make code unconditional.
4913         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
4914         * sysdeps/unix/sysv/linux/sh/kernel-features.h
4915         [__LINUX_KERNEL_VERSION >= 0x020625]: Likewise.
4916         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
4917         [__LINUX_KERNEL_VERSION < 0x020625]: Remove conditional code.
4918         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
4919         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
4920         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
4921         * sysdeps/unix/sysv/linux/tile/kernel-features.h
4922         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
4924 2016-02-24  Marko Myllynen  <myllynen@redhat.com>
4926         * NEWS (2.23): Fix typo in bug 19048 text.
4928 2016-02-24  Carlos O'Donell  <carlos@redhat.com>
4930         [BZ #14259]
4931         * Makeconfig: Rename msgcatdir to localedir.
4932         Rename inst_msgcatdir to inst_localedir.
4933         * catgets/Makefile (catgets-CPPFLAGS): Use localedir.
4934         * config.make.in: Add localedir.
4935         * elf/Makefile ($(objpfx)sotruss): Use localedir.
4936         (ldd-rewrite): Likewise.
4937         * intl/Makefile: Rename inst_msgcatdir to inst_localedir.
4938         (install-others): Use inst_localedir.
4939         (CPPFLAGS): Use localedir.
4940         * locale/Makefile (locale-CPPFLAGS): Likewise.
4941         * po/Makefile (mo-installed): Use inst_localedir.
4943         [BZ #19575]
4944         * localedata/charmaps/GB18030: Update comments regarding PAU to
4945         non-PUA mappings.
4947 2016-02-24  Joseph Myers  <joseph@codesourcery.com>
4949         * sysdeps/unix/sysv/linux/configure.ac (linux/fanotify.h): Do not
4950         test for header.
4951         * sysdeps/unix/sysv/linux/configure: Regenerated.
4952         * config.h.in (HAVE_LINUX_FANOTIFY_H): Remove #undef.
4953         * sysdeps/unix/sysv/linux/tst-fanotify.c [!HAVE_LINUX_FANOTIFY_H]:
4954         Remove conditional code.
4955         [HAVE_LINUX_FANOTIFY_H]: Make code unconditional.
4957         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
4958         Define to 3.2.0.
4959         (arch_minimum_kernel): Likewise.
4960         * sysdeps/unix/sysv/linux/configure: Regenerated.
4961         * sysdeps/unix/sysv/linux/i386/configure.ac (arch_minimum_kernel):
4962         Define to 2.6.32.
4963         * sysdeps/unix/sysv/linux/i386/configure: Regenerated.
4964         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac
4965         (arch_minimum_kernel): Define to 2.6.32.
4966         * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerated.
4967         * README: Document Linux 3.2 requirement.
4968         * manual/install.texi (Linux): Document Linux 3.2 headers
4969         requirement.
4970         * INSTALL: Regenerated.
4972 2016-02-24  Andreas Schwab  <schwab@suse.de>
4974         * math/test-math-isinff.cc (do_test): Only call isinfl and isnanl
4975         if !NO_LONG_DOUBLE.
4977 2016-02-22  Roland McGrath  <roland@hack.frob.com>
4979         * sysdeps/arm/nacl/libc.abilist (GLIBC_2.23): Add GLIBC_2.23,
4980         fts64_children, fts64_close, fts64_open, fts64_read and fts64_set.
4982 2016-02-22  Dmitry V. Levin  <ldv@altlinux.org>
4984         [BZ #19512]
4985         * config.h.in (HAVE_BUILTIN_EXPECT): New macro.
4987 2016-02-22  Stefan Liebler  <stli@linux.vnet.ibm.com>
4989         * posix/tst-dir.c: Include libc-internal.h.
4991 2016-02-20  Florian Weimer  <fweimer@redhat.com>
4993         [BZ #19056]
4994         * dirent/dirent.h (readdir_r, readdir64_r): Mark as deprecated.
4995         * manual/filesys.texi (Reading/Closing Directory): Mention
4996         deprecaion.
4997         * posix/tst-dir.c (main): Disable deprecation warning in test.
4999 2016-02-19  H.J. Lu  <hongjiu.lu@intel.com>
5001         [BZ #19679]
5002         * sysdeps/x86_64/dl-trampoline.S (DL_RUNIME_UNALIGNED_VEC_SIZE):
5003         Renamed to ...
5004         (DL_RUNTIME_UNALIGNED_VEC_SIZE): This.  Set to 8.
5005         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
5006         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.  Updated.
5007         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
5008         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.
5009         * sysdeps/x86_64/dl-trampoline.h
5010         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
5011         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.
5013 2016-02-19  Mark Wielaard  <mjw@redhat.com>
5015         * elf/elf.h: Add NT_ARM_SYSTEM_CALL.
5017 2016-02-19  Mark Wielaard  <mjw@redhat.com>
5019         * elf/elf.h (R_386_GOT32X): New.
5020         (R_386_NUM): Update.
5021         (R_X86_64_GOTPCRELX: New.
5022         (R_X86_64_REX_GOTPCRELX): New.
5023         (R_X86_64_NUM): Update.
5025 2016-02-19  Mike Frysinger  <vapier@gentoo.org>
5027         * test-skeleton.c (TIMEOUT): Change to 20 and adjust comment.
5029 2016-02-19  Carlos O'Donell  <carlos@systemhalted.org>
5031         * nptl/allocatestack.c (allocate_stack): Declare new stackaddr,
5032         assign attr->stackaddr to it, and adjust it down when
5033         _STACK_GROWS_UP.  Change all attr->stackaddr to stackaddr.
5034         [_STACK_GROWS_UP]: Delete assert.
5035         * nptl/pthread_create.c (START_THREAD_DEFN) [!_STACK_GROWS_DOWN]:
5036         Implement stack grows up logic.
5037         * nptl/pthread_getattr_np.c (pthread_getattr_np): Implement
5038         stack grows up logic.
5040 2016-02-19  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5042         * NEWS: Update with 2.24 template.
5044 2016-02-19  Joseph Myers  <joseph@codesourcery.com>
5046         [BZ #19678]
5047         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
5048         Ensure +0.0 is returned when taking the next value below the least
5049         positive value.
5051 2016-02-19  Florian Weimer  <fweimer@redhat.com>
5053         * sysdeps/generic/malloc-machine.h: Assume mutex_init is always
5054         available.  Do not define NO_THREADS.
5055         * malloc/malloc.c: Do not check NO_THREADS.
5056         * malloc/arena.c: Likewise.
5058 2016-02-19  Florian Weimer  <fweimer@redhat.com>
5060         * malloc/malloc.c (__libc_mallinfo): Update comment.
5061         (struct malloc_par): Remove max_total_mem member, it was always 0.
5062         (int_mallinfo): Store 0 into usmblks (no functional change).
5063         * malloc/hooks.c (struct malloc_state): Document that
5064         max_total_mem is always 0.
5065         * malloc/malloc.h (struct mallinfo): Dcoument that usmblks is
5066         always 0.
5067         * manual/memory.texi (Statistics of Malloc): Likewise.
5069 2016-02-19  Florian Weimer  <fweimer@redhat.com>
5071         * malloc/malloc.c (sysmalloc): Do not update arena_max.
5072         * malloc/arena.c (arena_max): Remove.
5073         (heap_trim, _int_new_arena): Do not update arena_max.
5075 2016-02-19  Florian Weimer  <fweimer@redhat.com>
5077         * resolv/res_init.c (res_ninit): Update comment.
5079 2016-02-19  Florian Weimer  <fweimer@redhat.com>
5081         [BZ #19505]
5082         * posix/spawn_int.h: Add headers and include guard.
5083         (__spawn_valid_fd): New function.
5084         * posix/spawn_faction_addopen.c
5085         (posix_spawn_file_actions_addopen): Use __spawn_valid_fd.
5086         * posix/spawn_faction_addclose.c
5087         (posix_spawn_file_actions_addclose): Likewise.
5088         * posix/spawn_faction_adddup2.c
5089         (posix_spawn_file_actions_adddup2): Likewise.  Add check for
5090         second file descriptor.
5091         * posix/spawn_valid_fd.c: New file.
5092         * posix/tst-posix_spawn-fd.c: New file.
5093         * posix/Makefile (routines): Add spawn_valid_fd.
5094         (tests): Add tst-posix_spawn-fd.
5096 2016-02-19  Florian Weimer  <fweimer@redhat.com>
5098         * malloc/tst-malloc-thread-exit.c: Include test-skeleton.c early.
5099         (do_test): Limit the number of arenas, so that we can use fewer
5100         outer threads.  Limit timeout to 3 seconds, in preparation for a
5101         larger TIMEOUT value.
5103 2016-02-19  Joseph Myers  <joseph@codesourcery.com>
5105         [BZ #19674]
5106         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Include
5107         sign in overflowing and underflowing results when overflow or
5108         underflow is detected early.  Include sign in result before rather
5109         than after scaling.
5111         [BZ #19603]
5112         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
5113         (__ieee754_remainderl): Adjust sign of integer version of low part
5114         when taking absolute value of high part.
5115         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
5116         * math/libm-test.inc (remainder_test_data): Add another test.
5117         (remquo_test_data): Likewise.
5119 2016-02-18  Joseph Myers  <joseph@codesourcery.com>
5121         [BZ #19602]
5122         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Handle
5123         equal high parts and both low parts zero specially.
5124         * sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c: New test.
5125         * sysdeps/ieee754/ldbl-128ibm/Makefile [$(subdir) = math] (tests):
5126         Add test-fmodl-ldbl-128ibm.
5128         [BZ #19595]
5129         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Use
5130         common logic for all cases of shifting subnormal results.  Do not
5131         insert sign bit in shifted mantissa.  Always pass -1023 as biased
5132         exponent to ldbl_insert_mantissa in subnormal case.
5134         [BZ #19594]
5135         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c (__roundl): Use __round
5136         on high and low parts then adjust result and use
5137         ldbl_canonicalize_int if needed.
5139         [BZ #19593]
5140         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Use __trunc
5141         on high part and __floor or __ceil on low part then use
5142         ldbl_canonicalize_int if needed.
5144         [BZ #19592]
5145         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (__ceill): Use __ceil on
5146         high and low parts then use ldbl_canonicalize_int if needed.
5148         [BZ #17899]
5149         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_canonicalize_int):
5150         New function.
5151         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (__floorl): Use __floor
5152         on high and low parts then use ldbl_canonicalize_int if needed.
5154 2016-02-18  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5156         * configure: Regenerated.
5158         * po/libc.pot: Regenerated.
5160         * po/be.po: Updated translation.
5161         * po/bg.po: Likewise.
5162         * po/ca.po: Likewise.
5163         * po/cs.po: Likewise.
5164         * po/da.po: Likewise.
5165         * po/el.po: Likewise.
5166         * po/eo.po: Likewise.
5167         * po/es.po: Likewise.
5168         * po/fi.po: Likewise.
5169         * po/fr.po: Likewise.
5170         * po/gl.po: Likewise.
5171         * po/hr.po: Likewise.
5172         * po/hu.po: Likewise.
5173         * po/ia.po: Likewise.
5174         * po/id.po: Likewise.
5175         * po/it.po: Likewise.
5176         * po/ja.po: Likewise.
5177         * po/lt.po: Likewise.
5178         * po/nb.po: Likewise.
5179         * po/nl.po: Likewise.
5180         * po/pt_BR.po: Likewise.
5181         * po/rw.po: Likewise.
5182         * po/sk.po: Likewise.
5183         * po/sl.po: Likewise.
5184         * po/sv.po: Likewise.
5185         * po/tr.po: Likewise.
5186         * po/zh_CN.po: Likewise.
5187         * po/zh_TW.po: Likewise.
5189         * version.h (RELEAES): Set to "development".
5190         (VERSION): Set to 2.23.90.
5192         * version.h (RELEASE): Set to "stable".
5193         (VERSION): Set to 2.23.
5194         * include/feature.h (__GLIBC_MINOR__): Set to 23.
5196         * NEWS: Updated fixed bugs.
5198 2016-02-18  H.J. Lu  <hongjiu.lu@intel.com>
5199             Wilco Dijkstra  <wdijkstr@arm.com>
5201         [BZ #19462]
5202         * bits/string.h (_STRING_ARCH_unaligned): Renamed to ...
5203         (_STRING_INLINE_unaligned): This.
5204         * include/string.h: Include <string_private.h>.
5205         * string/bits/string2.h: Replace _STRING_ARCH_unaligned with
5206         _STRING_INLINE_unaligned.
5207         * sysdeps/aarch64/bits/string.h (_STRING_ARCH_unaligned): Removed.
5208         (_STRING_INLINE_unaligned): New.
5209         * sysdeps/aarch64/string_private.h: New file.
5210         * sysdeps/generic/string_private.h: Likewise.
5211         * sysdeps/m68k/m680x0/m68020/string_private.h: Likewise.
5212         * sysdeps/s390/string_private.h: Likewise.
5213         * sysdeps/x86/string_private.h: Likewise.
5214         * sysdeps/m68k/m680x0/m68020/bits/string.h
5215         (_STRING_ARCH_unaligned): Renamed to ...
5216         (_STRING_INLINE_unaligned): This.
5217         * sysdeps/s390/bits/string.h (_STRING_ARCH_unaligned): Renamed
5218         to ...
5219         (_STRING_INLINE_unaligned): This.
5220         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Renamed
5221         to ...
5222         (_STRING_INLINE_unaligned): This.
5223         * sysdeps/x86/bits/string.h (_STRING_ARCH_unaligned): Renamed
5224         to ...
5225         (_STRING_INLINE_unaligned): This.
5227 2016-02-17  Andrew Senkevich  <andrew.senkevich@intel.com>
5228             H.J. Lu  <hongjiu.lu@intel.com>
5230         [BZ #19590]
5231         * sysdeps/x86_64/fpu/svml_finite_alias.S (ALIAS_IMPL): Use PIC
5232         relocation.
5234 2016-02-15  Carlos O'Donell  <carlos@redhat.com>
5236         [BZ #18665]
5237         * resolv/nss_dns/dns-host.c (gaih_getanswer_slice): Always set
5238         *herrno_p.
5239         (gaih_getanswer): Document functional behviour. Return tryagain
5240         if any result is tryagain.
5241         * resolv/res_query.c (__libc_res_nsearch): Set buffer size to zero
5242         when freed.
5243         * resolv/res_send.c: Add copyright text.
5244         (__libc_res_nsend): Document that MAXPACKET is expected.
5245         (send_vc): Document. Remove buffer reuse.
5246         (send_dg): Document. Remove buffer reuse. Set *thisanssizp to set the
5247         size of the buffer. Add Dprint for truncated UDP buffer.
5249 2016-02-14  Carlos O'Donell  <carlos@redhat.com>
5251         * manual/install.texi: Latest tested is GCC 5.3, texinfo 6.0, gawk
5252         4.1.3, and sed 4.2.2. Remove po2test.sed comments.
5253         * INSTALL: Regenerate.
5255 2016-02-14  Jakub Jelinek  <jakub@redhat.com>
5256             Jonathan Wakely  <jwakely@redhat.com>
5257             Carlos O'Donell  <carlos@redhat.com>
5259         [BZ 19439]
5260         * math/Makefile (tests): Add test-math-isinff.
5261         (CFLAGS-test-math-isinff.cc): Use -std=gnu++11.
5262         * math/bits/mathcalls.h [__USE_MISC]: Use
5263         '|| __MATH_DECLARING_DOUBLE == 0' to relax definition of
5264         functions not in C++11 and which don't conflict e.g. isinff,
5265         isinfl etc.
5266         * math/test-math-isinff.cc: New file.
5268 2016-02-12  Florian Weimer  <fweimer@redhat.com>
5270         * misc/bug18240.c (do_test): Set RLIMIT_AS.
5272 2016-02-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>
5274         [BZ #19529]
5275         * stdlib/Makefile (CFLAGS-tst-makecontext.c): Add -funwind-tables.
5277 2016-02-04  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
5279         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
5281 2016-02-01  Joseph Myers  <joseph@codesourcery.com>
5283         [BZ #19550]
5284         * sysdeps/unix/sysv/linux/mips/mips32/mmap.c: New file.
5285         * sysdeps/unix/sysv/linux/mips/mips64/mmap64.c: Move to ....
5286         * sysdeps/unix/sysv/linux/mips/mips64/n64/mmap64.c: ... here.
5287         * sysdeps/unix/sysv/linux/mips/mips64/n32/mmap.c: New file.
5288         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (mmap64):
5289         New syscall entry.
5290         * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list (mmap):
5291         New syscall entry.
5292         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (mmap): Remove
5293         syscall entry.
5295 2016-01-27  Paul Eggert  <eggert@cs.ucla.edu>
5297         [BZ #18240]
5298         * misc/hsearch_r.c (isprime, __hcreate_r): Protect against
5299         unsigned int wraparound.
5301 2016-01-27  Florian Weimer  <fweimer@redhat.com>
5303         [BZ #18240]
5304         * misc/bug18240.c: New test.
5305         * misc/Makefile (tests): Add it.
5307 2016-01-28  Steve Ellcey  <sellcey@imgtec.com>
5308             Joseph Myers  <joseph@codesourcery.com>
5310         * sysdeps/mips/memcpy.S (MEMCPY_NAME) [USE_DOUBLE]: Avoid word
5311         load in branch delay slot when less than a word of input left.
5313 2016-01-27  Andreas Schwab  <schwab@suse.de>
5315         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (half): Remove.
5316         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (maxlog, big): Remove.
5317         * sysdeps/powerpc/fpu/s_cosf.c (one): Remove.
5318         * sysdeps/powerpc/fpu/e_hypotf.c (two30): Remove.
5320 2016-01-26  David S. Miller  <davem@davemloft.net>
5322         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Add _Q_cmp.
5324 2016-01-25  David S. Miller  <davem@davemloft.net>
5326         * sysdeps/sparc/sparc32/Versions (GLIBC_2.23): Add entry for
5327         __sqrtl_finite.
5328         * sysdeps/sparc/sparc32/fpu/e_sqrtl.c (__sqrtl_finite): Define
5329         instead using versioned_symbol.
5330         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Fix ordering
5331         of entries.
5333         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Move
5334         __sqrtl_finite to GLIBC_2.23
5336 2016-01-25  Ricchard Henderson  <rth@redhat.com>
5338         * sysdeps/alpha/fpu/libm-test-ulps: Update.
5340 2016-01-25  Andreas Schwab  <schwab@suse.de>
5342         [BZ #17514]
5343         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock)
5344         <case PTHREAD_MUTEX_ERRORCHECK_NP>: Don't do lock elision.
5345         * nptl/Makefile (tests): Add tst-mutex-errorcheck.
5346         * nptl/tst-mutex-errorcheck.c: New file.
5348 2016-01-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5350         [BZ #18560]
5351         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h (__ipc): Remove.
5352         (IPCOP_semop): Likewise.
5353         (IPCOP_semget): Likewise.
5354         (IPCOP_semctl): Likewise.
5355         (IPCOP_msgsnd): Likewise.
5356         (IPCOP_msgrcv): Likewise.
5357         (IPCOP_msgget): Likewise.
5358         (IPCOP_msgctl): Likewise.
5359         (IPCOP_shmat): Likewise.
5360         (IPCOP_shmdt): Likewise.
5361         (IPCOP_shmget): Likewise.
5362         (IPCOP_shmctl): Likewise.
5364 2016-01-22  Stefan Liebler  <stli@linux.vnet.ibm.com>
5366         * string/tst-endian.c: Include <libc-internal.h>.
5367         (do_test): Ignore tautological-compare warnings around
5368         "htobeXX (beXXtoh (i)) != i" and
5369         "htoleXX (leXXtoh (i)) != i" if-statements.
5371 2016-01-24  David S. Miller  <davem@davemloft.net>
5373         * sysdeps/sparc/sparc32/fpu/e_sqrtl.c: New file.
5374         * sysdeps/sparc/sparc32/soft-fp/q_sqrt.c (__ieee754_sqrtl): Remove
5375         alias.
5376         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
5377         __sqrtl_finite.
5379         * sysdeps/sparc/fpu/libm-test-ulps: Update.
5381 2016-01-25  Maciej W. Rozycki  <macro@imgtec.com>
5383         * sysdeps/unix/sysv/linux/mips/configure.ac: Set
5384         `arch_minimum_kernel' to 4.5.0 if 2008 NaN encoding is used.
5385         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
5387 2016-01-22  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5389         * nptl/tst-setuid3.c (is_invalid_barrier_ret): New function.
5390         (thread_func): Use new function to simplify barrier check.
5391         (do_test): Use new function to simplify checking barrier exit
5392         code, and actually join the child thread.
5394 2016-01-22  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5396         * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin): Remove
5397         semicolon.
5398         (__libc_tend): Likewise.
5399         (__libc_tabort): Likewise.
5401 2016-01-22  Chung-Lin Tang  <cltang@codesourcery.com>
5403         * sysdeps/nios2/libm-test-ulps: Update.
5404         * sysdeps/unix/sysv/linux/nios2/localplt.data (__gtdf2): Add.
5405         (__gtsf2): Likewise.
5406         (__unorddf2): Likewise.
5407         (__unordsf2): Likewise.
5408         (__ledf2): Likewise.
5410 2016-01-20  Chris Metcalf  <cmetcalf@ezchip.com>
5412         * nis/nis_table.c (__follow_path): Disable diagnostic for
5413         uninitialized variable that is a false positive for gcc 4.7.
5414         * stdio-common/vfscanf.c (_IO_vfwscanf): Likewise.
5416 2016-01-20  Roland McGrath  <roland@hack.frob.com>
5418         * sysdeps/nacl/lowlevellock-futex.h
5419         (lll_futex_wait, lll_futex_timed_wait, lll_futex_wake):
5420         Always evaluate PRIVATE argument.
5422 2016-01-20  Paul Pluzhnikov  <ppluzhnikov@google.com>
5424         [BZ #19490]
5425         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S
5426         (pthread_cond_broadcast): Use ENTRY/END
5427         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S
5428         (pthread_cond_signal): Likewise.
5429         * sysdeps/x86_64/nptl/pthread_spin_lock.S (pthread_spin_lock):
5430         Likewise.
5431         * sysdeps/x86_64/nptl/pthread_spin_trylock.S (pthread_spin_trylock):
5432         Likewise.
5433         * sysdeps/x86_64/nptl/pthread_spin_unlock.S (pthread_spin_unlock):
5434         Likewise.
5436 2016-01-20  Joseph Myers  <joseph@codesourcery.com>
5438         * sysdeps/ieee754/dbl-64/s_finite.c
5439         [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Define
5440         compat symbol at version GLIBC_2_1 and use GLIBC_2_1 in
5441         SHLIB_COMPAT condition for libm, not GLIBC_2_0.
5442         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c
5443         [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Likewise.
5445         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
5446         (__gtsf2): Add as optional for libc.so.
5447         (__unordsf2): Likewise.
5448         (__signbit): Remove for libc.so.
5449         (__signbitl): Likewise.
5451 2016-01-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
5453         * iconvdata/bug-iconv11.c (test_ibm93x):
5454         Use %zu printf format specifier for size_t argument.
5456 2016-01-19  Joseph Myers  <joseph@codesourcery.com>
5458         * math/gen-libm-test.pl (parse_ulps): Do not reduce
5459         already-recorded ulps.
5460         * sysdeps/arm/libm-test-ulps: Regenerated.
5461         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
5462         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
5463         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
5465 2016-01-19  Andrew Senkevich  <andrew.senkevich@intel.com>
5466             Paul Pluzhnikov  <ppluzhnikov@google.com>
5468         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Fixed build with
5469         assembler not supporting AVX-512.
5471 2016-01-18  Stefan Liebler  <stli@linux.vnet.ibm.com>
5473         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
5475 2016-01-18  Joseph Myers  <joseph@codesourcery.com>
5477         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
5478         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
5480         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
5482         * sysdeps/arm/libm-test-ulps: Regenerated.
5484 2016-01-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
5486         [BZ #19451]
5487         * math/Makefile (libm-vec-tests): Move libraries after wrappers.o
5489 2016-01-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
5491         [BZ #19486]
5492         * sysdeps/s390/fix-fp-int-convert-overflow.h: New File.
5493         * sysdeps/generic/fix-fp-int-convert-overflow.h
5494         (FIX_LDBL_LONG_CONVERT_OVERFLOW,
5495         FIX_LDBL_LLONG_CONVERT_OVERFLOW): New define.
5496         * sysdeps/arm/fix-fp-int-convert-overflow.h: Likewise.
5497         * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h:
5498         Likewise.
5499         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl):
5500         Avoid conversions to long int where inexact exceptions
5501         could be raised.
5502         * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl):
5503         Likewise.
5504         * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl):
5505         Avoid conversions to long long int where inexact exceptions
5506         could be raised.
5507         * sysdeps/ieee754/ldbl-128/s_llroundl.c (__llroundl):
5508         Likewise.
5510 2016-01-17  Mike Frysinger  <vapier@gentoo.org>
5512         * configure.ac: Rewrite error comment and use AC_MSG_ERROR.
5513         * configure: Regenerated.
5515 2016-01-16  Andrew Senkevich  <andrew.senkevich@intel.com>
5517         * sysdeps/x86_64/multiarch/memcpy_chk.S: Fixed typos.
5519 2016-01-16  Mike Frysinger  <vapier@gentoo.org>
5521         * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT): Move
5522         outside of comment.
5524 2016-01-15  Torvald Riegel  <triegel@redhat.com>
5526         * nptl/tst-barrier1.c: Add description on first line.
5527         * nptl/tst-barrier2.c: Likewise.
5528         * nptl/tst-barrier3.c: Likewise.
5529         * nptl/tst-barrier4.c: Likewise.
5530         * nptl/tst-barrier5.c: Likewise.
5532 2016-01-15  Torvald Riegel  <triegel@redhat.com>
5534         [BZ #18868]
5535         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Apply fix.
5537 2016-01-16  Andrew Senkevich  <andrew.senkevich@intel.com>
5539         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new files.
5540         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
5541         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: New file.
5542         * sysdeps/x86_64/multiarch/mempcpy-avx512-no-vzeroupper.S: Likewise.
5543         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: Likewise.
5544         * sysdeps/x86_64/multiarch/memcpy.S: Added new IFUNC branch.
5545         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
5546         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
5547         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
5548         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
5549         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
5551 2016-01-15  Torvald Riegel  <triegel@redhat.com>
5553         [BZ #13065]
5554         * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Replace with
5555         new implementation.
5556         * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy): Likewise.
5557         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Adapt.
5558         * sysdeps/nptl/internaltypes.h (pthread_barrier): Adapt.
5559         (BARRIER_IN_THRESHOLD): New macro.
5560         * nptl/pthread_barrierattr_setpshared.c
5561         (pthread_barrierattr_setpshared): Clean up.
5562         * nptl/tst-barrier4.c: Correct comment.
5563         * nptl/tst-barrier5.c: New file.
5564         * nptl/Makefile (tests): Add nptl/tst-barrier5.c.
5565         (gen-as-const-headers): Remove lowlevelbarrier.sym.
5566         * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Remove.
5567         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Remove.
5568         * nptl/lowlevelbarrier.sym: Remove.
5569         * nptl/DESIGN-barrier.txt: Remove.
5570         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Remove.
5571         * sysdeps/sparc/nptl/pthread_barrier_init.c: Remove.
5572         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Remove.
5573         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: Replace with build
5574         error.
5575         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: Use generic
5576         implementation.
5578 2016-01-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5580         * rt/tst-mqueue5.c (thr): Cleanup misleading comment.
5581         (do_child): Mask SIGRTMIN while thr is running.
5583 2016-01-15  Martin Sebor  <msebor@redhat.com>
5585         [BZ #19432]
5586         * iconvdata/Makefile: Add bug-iconv11.
5587         * iconvdata/bug-iconv11.c: New test.
5588         * iconvdata/ibm930.c: Do not reject redundant shift sequences.
5589         * iconvdata/ibm933.c: Same.
5590         * iconvdata/ibm935.c: Same.
5591         * iconvdata/ibm937.c: Same.
5592         * iconvdata/ibm939.c: Same.
5594 2016-01-15  Martin Sebor  <msebor@redhat.com>
5596         [BZ #19443]
5597         * crypt/crypt_util.c [DEBUG] (_ufc_prbits): Correct format string.
5598         [DEBUG] (_ufc_set_bits): Declare used.
5599         * iconv/gconv_dl.c [DEBUG]: Add a missing include directive.
5600         [DEBUG] (print_all): Declare used.
5601         * resolv/res_send.c [DEBUG] (__libc_res_nsend): Explicitly convert
5602         operands of the ternary ?: expression to target type.
5603         * stdlib/rshift.c [DEBUG] (mpn_rshift): Use assert() instead of
5604         calling the undeclared abort.
5605         * time/mktime.c [DEBUG] (DEBUG): Rename to DEBUG_MKTIME.
5607 2016-01-15  Martin Sebor  <msebor@redhat.com>
5609         [BZ #18755]
5610         * iconv/skeleton.c (FUNCTION_NAME): Suppress -Wunused-but-set-variable
5611         warnings.
5612         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread): Same.
5613         (__gai_create_helper_thread): Same.
5614         * nscd/nscd.c (do_exit): Suppress -Wunused-variable.
5615         * iconvdata/iso-2022-cn-ext.c (BODY): Initialize local variable
5616         to suppress -Wmaybe-uninitialized warnings.
5618 2016-01-15  H.J. Lu  <hongjiu.lu@intel.com>
5620         [BZ #19465]
5621         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Call math_opt_barrier
5622         inside if.
5623         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
5624         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
5625         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
5627 2016-01-14  H.J. Lu  <hongjiu.lu@intel.com>
5629         [BZ #19466]
5630         * time/tst-mktime2.c (time_t_max): Removed.
5631         (time_t_min): Likewise.
5632         (TYPE_SIGNED): New.
5633         (TYPE_MINIMUM): Likewise.
5634         (TYPE_MAXIMUM): Likewise.
5635         (TIME_T_MIN): Likewise.
5636         (TIME_T_MAX): Likewise.
5637         (mktime_test): Replace time_t_max and time_t_min with TIME_T_MAX
5638         and TIME_T_MIN.
5639         (do_test): Likewise.
5641 2016-01-14  Amit Pawar  <amit.pawar@amd.com>
5643         [BZ #19467]
5644         * sysdeps/x86/cpu-features.c (init_cpu_features): Set
5645         index_Fast_Unaligned_Load flag for Excavator family CPUs.
5647 2016-01-02  Marcin Kościelnicki  <koriakin@0x04.net>
5649         * sysdeps/s390/nptl/tls.h (struct tcbhead_t): Add __private_ss field.
5651 2016-01-13  Carlos O'Donell  <carlos@redhat.com>
5653         * benchtests/Makefile (PYTHON): Define.
5654         (bench-func): Use $(PYTHON) to run python scripts.
5655         ($(objpfx)bench-%.c): Likewise.
5657 2016-01-13  Flavio Cruz  <flaviocruz@gmail.com>
5659         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Do not remove
5660         leading slash when `file_name' is "/".
5662 2016-01-12  Joseph Myers  <joseph@codesourcery.com>
5664         * bits/mman-linux.h [!MCL_CURRENT] (MCL_ONFAULT): New macro.
5665         * sysdeps/unix/sysv/linux/alpha/bits/mman.h (MCL_ONFAULT):
5666         Likewise.
5667         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h (MCL_ONFAULT):
5668         Likewise.
5669         * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT):
5670         Likewise.
5671         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_GETSIGMASK): New
5672         enum constant and macro.
5673         (PTRACE_SETSIGMASK): Likewise.
5674         (PTRACE_SECCOMP_GET_FILTER): Likewise.
5675         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
5676         (PTRACE_GETSIGMASK): Likewise.
5677         (PTRACE_SETSIGMASK): Likewise.
5678         (PTRACE_SECCOMP_GET_FILTER): Likewise.
5679         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_GETSIGMASK):
5680         Likewise.
5681         (PTRACE_SETSIGMASK): Likewise.
5682         (PTRACE_SECCOMP_GET_FILTER): Likewise.
5683         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
5684         (PTRACE_GETSIGMASK): Likewise.
5685         (PTRACE_SETSIGMASK): Likewise.
5686         (PTRACE_SECCOMP_GET_FILTER): Likewise.
5687         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_GETSIGMASK):
5688         Likewise.
5689         (PTRACE_SETSIGMASK): Likewise.
5690         (PTRACE_SECCOMP_GET_FILTER): Likewise.
5691         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_GETSIGMASK):
5692         Likewise.
5693         (PTRACE_SETSIGMASK): Likewise.
5694         (PTRACE_SECCOMP_GET_FILTER): Likewise.
5695         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_GETSIGMASK):
5696         Likewise.
5697         (PTRACE_SETSIGMASK): Likewise.
5698         (PTRACE_SECCOMP_GET_FILTER): Likewise.
5700 2016-01-11  Jonathan Wakely  <jwakely.gcc@gmail.com>
5701             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5703         [BZ #19439]
5704         * math/bits/mathcalls.h
5705         [!__cplusplus || __cplusplus < 201103L] (isinf): Do not declare
5706         prototype.
5707         [!__cplusplus || __cplusplus < 201103L] (isnan): Likewise.
5709 2016-01-11  Andreas Schwab  <schwab@suse.de>
5711         [BZ #19253]
5712         * time/tzfile.c (__tzfile_default): Invalidate tzfile attribute
5713         cache when TZDEFRULES was used.
5714         * time/tst-tzname.c: New file.
5715         * time/Makefile (test): Add tst-tzname.
5716         (tst-tzname-ENV, CPPFLAGS-tst-tzname.c): Define.
5717         * timezone/Makefile (test-zones): Add $(posixrules-file).
5718         ($(testdata)/$(posixrules-file)): New rule.
5720 2016-01-10  Paul Eggert  <eggert@cs.ucla.edu>
5722         Fix doc quoting problems with Texinfo 5
5723         Without this change, in the info file output, Texinfo 5 quotes code
5724         in text with undirected single quotes 'like this' and generates
5725         code examples that with many PDF readers cannot be cut out of PDFs
5726         and pasted into code.
5727         * manual/libc.texinfo: Configure the libc manual like the GNU
5728         Emacs manual, by using @documentencoding and setting
5729         txicodequoteundirected and txicodequotebacktick.  This way,
5730         Texinfo 5 quotes code in text with directed single quotes ‘like
5731         this’ and produces examples that can be cut out of PDFs.  This
5732         change causes Texinfo 5 to generate info files that contain UTF-8
5733         characters in the set {'‘', '’', '“', '”', 'Ä', 'ä', 'ö', '−',
5734         '–', '—', '©', '⇒', '•', '…'}, which is OK nowadays.
5736 2016-01-08  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
5738         * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin,
5739         __libc_tabort, __libc_tend): New wrappers that enforce compiler
5740         barriers to their respective compiler built-ins.
5741         * sysdeps/powerpc/nptl/elide.h (__get_new_count, ELIDE_LOCK,
5742         ELIDE_TRYLOCK, __elide_unlock): Use the new wrappers.
5743         * sysdeps/powerpc/sysdep.h: Likewise.
5744         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: Likewise.
5745         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: Likewise.
5746         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: Likewise.
5748 2016-01-08  Marko Myllynen  <myllynen@redhat.com>
5750         * scripts/config.guess: Revert previous shebang change.
5751         * scripts/config.sub: Likewise.
5752         * scripts/mkinstalldirs: Likewise.
5754 2016-01-08  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
5756         * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_ARCH_3_00 and
5757         PPC_FEATURE2_HAS_IEEE128.
5758         * sysdeps/powerpc/dl-procinfo.c:
5759         (_dl_powerpc_cap_flags): Add corresponding names to new capabilities.
5761 2016-01-08  John David Anglin  <danglin@gcc.gnu.org>
5763         [BZ #19415]
5764         * sysdeps/hppa/dl-fptr.c (_dl_fixup): Declare.
5765         (elf_machine_resolve): New.  Return address of _dl_runtime_resolve.
5766         (_dl_lookup_address): Rewrite using function resolver trampoline.
5767         * sysdeps/hppa/dl-lookupcfg.h (DL_LOOKUP_ADDRESS): Don't clear bottom
5768         two bits in address.
5770 2016-01-07  Mike Frysinger  <vapier@gentoo.org>
5772         * longlong.h: Change !__SHMEDIA__ to
5773         (!defined (__SHMEDIA__) || !__SHMEDIA__).
5774         Change __SHMEDIA__ to defined (__SHMEDIA__) && __SHMEDIA__.
5776 2016-01-07  Daniel Jacobowitz  <dan@codesourcery.com>
5777             Joseph Myers  <joseph@codesourcery.com>
5778             Mark Shinwell  <shinwell@codesourcery.com>
5779             Andrew Stubbs  <ams@codesourcery.com>
5780             Rich Felker <dalias@libc.org>
5782         * longlong.h (udiv_qrnnd): Add FDPIC compatible version for SH.
5784 2016-01-07  Richard Henderson  <rth@redhat.com>
5786         * longlong.h [__alpha] (umul_ppmm): Disable for c++.
5788 2016-01-07  Mike Frysinger  <vapier@gentoo.org>
5790         * sysdeps/unix/sysv/linux/fxstat64.c (___fxstat64): Change
5791         __ASSUME_ST_INO_64_BIT == 0 to !defined __ASSUME_ST_INO_64_BIT.
5792         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
5793         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
5794         * sysdeps/unix/sysv/linux/xstatconv.c (__xstat32_conv): Likewise.
5796 2016-01-07  Paul Eggert  <eggert@cs.ucla.edu>
5797             Joseph Myers  <joseph@codesourcery.com>
5799         * timezone/private.h: Update from tzcode 2015g.
5800         * timezone/tzfile.h: Likewise.
5801         * timezone/tzselect.ksh: Likewise.
5802         * timezone/zdump.c: Likewise.
5803         * timezone/zic.c: Likewise.
5804         * timezone/ialloc.c: Remove file.
5805         * timezone/scheck.c: Likewise.
5806         * timezone/Makefile (extra-objs): Remove variable.
5807         ($(objpfx)zic): Do not depend on scheck.o and ialloc.o.
5808         (tz-cflags): Add -DHAVE_GETTEXT -DUSE_LTZ=0
5809         -Wno-maybe-uninitialized.
5810         (CFLAGS-zdump.c): Remove -fwrapv -DNOID -DHAVE_GETTEXT.
5811         (CFLAGS-zic.c): Remove -DNOID -DHAVE_GETTEXT.
5812         (CFLAGS-ialloc.c): Remove variable.
5813         (CFLAGS-scheck.c): Likewise.
5814         * timezone/README: Update list of files from tzcode.
5816 2016-01-07  Khem Raj  <raj.khem@gmail.com>
5818         * argp/argp-fmtstream.c (__argp_fmtstream_free): Use fwrite_unlocked
5819         instead of __fxprintf when _LIBC is undefined.
5821 2016-01-07  Marko Myllynen  <myllynen@redhat.com>
5823         * catgets/test-gencat.sh: Remove space after shebang.
5824         * conform/GlibcConform.pm: Likewise.
5825         * conform/check-header-lists.sh: Likewise.
5826         * conform/conformtest.pl: Likewise.
5827         * conform/linknamespace.pl: Likewise.
5828         * conform/list-header-symbols.pl: Likewise.
5829         * debug/catchsegv.sh: Likewise.
5830         * elf/genrtldtbl.awk: Likewise.
5831         * elf/tst-pathopt.sh: Likewise.
5832         * elf/tst-rtld-load-self.sh: Likewise.
5833         * grp/tst_fgetgrent.sh: Likewise.
5834         * iconvdata/gen-8bit-gap-1.sh: Likewise.
5835         * iconvdata/gen-8bit-gap.sh: Likewise.
5836         * iconvdata/gen-8bit.sh: Likewise.
5837         * iconvdata/run-iconv-test.sh: Likewise.
5838         * intl/tst-gettext.sh: Likewise.
5839         * intl/tst-gettext2.sh: Likewise.
5840         * intl/tst-gettext4.sh: Likewise.
5841         * intl/tst-gettext6.sh: Likewise.
5842         * intl/tst-translit.sh: Likewise.
5843         * io/ftwtest-sh: Likewise.
5844         * libio/test-freopen.sh: Likewise.
5845         * locale/gen-translit.pl: Likewise.
5846         * malloc/tst-mtrace.sh: Likewise.
5847         * manual/check-safety.sh: Likewise.
5848         * manual/libc-texinfo.sh: Likewise.
5849         * manual/tsort.awk: Likewise.
5850         * manual/xtract-typefun.awk: Likewise.
5851         * nptl/tst-cancel-wrappers.sh: Likewise.
5852         * nptl/tst-tls6.sh: Likewise.
5853         * posix/globtest.sh: Likewise.
5854         * posix/tst-getconf.sh: Likewise.
5855         * posix/wordexp-tst.sh: Likewise.
5856         * scripts/check-c++-types.sh: Likewise.
5857         * scripts/check-local-headers.sh: Likewise.
5858         * scripts/config.guess: Likewise.
5859         * scripts/config.sub: Likewise.
5860         * scripts/cpp: Likewise.
5861         * scripts/cross-test-ssh.sh: Likewise.
5862         * scripts/documented.sh: Likewise.
5863         * scripts/evaluate-test.sh: Likewise.
5864         * scripts/gen-libc-abis: Likewise.
5865         * scripts/gen-sorted.awk: Likewise.
5866         * scripts/list-fixed-bugs.py: Likewise.
5867         * scripts/merge-test-results.sh: Likewise.
5868         * scripts/mkinstalldirs: Likewise.
5869         * scripts/rellns-sh: Likewise.
5870         * scripts/test-installation.pl: Likewise.
5871         * scripts/update-copyrights: Likewise.
5872         * stdio-common/tst-printf.sh: Likewise.
5873         * stdio-common/tst-unbputc.sh: Likewise.
5874         * stdlib/tst-fmtmsg.sh: Likewise.
5875         * stdlib/tst-setcontext3.sh: Likewise.
5876         * sysdeps/i386/tst-ld-sse-use.sh: Likewise.
5877         * sysdeps/unix/make-syscalls.sh: Likewise.
5879 2016-01-06  John David Anglin  <dave.anglin@bell.net>
5881         * sysdeps/hppa/nptl/pthread_spin_init.c (pthread_spin_init): Replace
5882         asm stw with atomic_exchange_rel.  Add explanatory comment.
5883         * sysdeps/hppa/nptl/pthread_spin_unlock.c (pthread_spin_unlock):
5884         Likewise.
5886 2016-01-05  H.J. Lu  <hongjiu.lu@intel.com>
5888         [BZ #19122]
5889         * include/unistd.h [IS_IN (rtld)]: Include <dl-unistd.h>.
5890         * sysdeps/generic/dl-unistd.h: New file.
5891         * sysdeps/mach/hurd/dl-unistd.h: Likewise.
5893 2016-01-05  H.J. Lu  <hongjiu.lu@intel.com>
5895          [BZ #19122]
5896          * include/sys/mman.h [IS_IN (rtld)]: Include <dl-mman.h>.
5897          * sysdeps/generic/dl-mman.h: New file.
5898          * sysdeps/mach/hurd/dl-mman.h: Likewise.
5900 2016-01-05  Joseph Myers  <joseph@codesourcery.com>
5902         * manual/texinfo.tex: Update to version 2016-01-04.21 with
5903         trailing whitespace removed.
5904         * scripts/config.guess: Update to version 2016-01-01.
5905         * scripts/config.sub: Update to version 2016-01-01.
5906         * scripts/move-if-change: Update from gnulib.
5908 2016-01-04  Anton Blanchard  <anton@samba.org>
5910         * sysdeps/ieee754/dbl-64/e_pow.c (log1): Use unsigned int
5911         for array indices.
5912         * sysdeps/ieee754/dbl-64/e_pow.c (my_log2): Likewise.
5914 2016-01-04  Joseph Myers  <joseph@codesourcery.com>
5916         * NEWS: Update copyright dates.
5917         * catgets/gencat.c (print_version): Likewise.
5918         * csu/version.c (banner): Likewise.
5919         * debug/catchsegv.sh: Likewise.
5920         * debug/pcprofiledump.c (print_version): Likewise.
5921         * debug/xtrace.sh (do_version): Likewise.
5922         * elf/ldconfig.c (print_version): Likewise.
5923         * elf/ldd.bash.in: Likewise.
5924         * elf/pldd.c (print_version): Likewise.
5925         * elf/sotruss.sh: Likewise.
5926         * elf/sprof.c (print_version): Likewise.
5927         * iconv/iconv_prog.c (print_version): Likewise.
5928         * iconv/iconvconfig.c (print_version): Likewise.
5929         * locale/programs/locale.c (print_version): Likewise.
5930         * locale/programs/localedef.c (print_version): Likewise.
5931         * login/programs/pt_chown.c (print_version): Likewise.
5932         * malloc/memusage.sh (do_version): Likewise.
5933         * malloc/memusagestat.c (print_version): Likewise.
5934         * malloc/mtrace.pl: Likewise.
5935         * manual/libc.texinfo: Likewise.
5936         * nptl/version.c (banner): Likewise.
5937         * nscd/nscd.c (print_version): Likewise.
5938         * nss/getent.c (print_version): Likewise.
5939         * nss/makedb.c (print_version): Likewise.
5940         * posix/getconf.c (main): Likewise.
5941         * scripts/test-installation.pl: Likewise.
5942         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
5944         * All files with FSF copyright notices: Update copyright dates
5945         using scripts/update-copyrights.
5946         * intl/plural.c: Regenerated.
5947         * locale/programs/charmap-kw.h: Likewise.
5948         * locale/programs/locfile-kw.h: Likewise.
5950 2016-01-02  Helge Deller  <deller@gmx.de>
5952         [BZ #19285]
5953         * sysdeps/unix/sysv/linux/hppa/bits/mman.h (MAP_STACK): Define.
5954         (MAP_HUGETLB, MCL_ONFAULT): Likewise.
5955         (MADV_HUGEPAGE, MADV_NOHUGEPAGE, MADV_DONTDUMP, MADV_DODUMP): Likewise.
5956         (MADV_xxK_PAGES): Remove.
5958 2016-01-01  Mike Frysinger  <vapier@gentoo.org>
5960         [BZ #15421]
5961         * sysdeps/ia64/fpu/w_lgamma_main.c: Include math.h & math_private.h.
5962         [BUILD_LGAMMA]: Wrap all code by define.  Re-indent sub-preprocessor.
5963         * sysdeps/ia64/fpu/w_lgammaf_main.c: Likewise.
5964         * sysdeps/ia64/fpu/w_lgammal_main.c: Likewise.
5966 2015-12-30  Dmitry V. Levin  <ldv@altlinux.org>
5968         [BZ #19408]
5969         * sysdeps/unix/sysv/linux/personality.c: New file.
5970         * sysdeps/unix/sysv/linux/sparc/sparc64/personality.c: Likewise.
5971         * sysdeps/unix/sysv/linux/tst-personality.c: Likewise.
5972         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == misc]
5973         (sysdep_routines): Add personality.
5974         (tests): Add tst-personality.
5975         * sysdeps/unix/sysv/linux/syscalls.list (personality): Move ...
5976         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ... here.
5977         * sysdeps/unix/sysv/linux/arm/syscalls.list (personality): New entry.
5978         * sysdeps/unix/sysv/linux/hppa/syscalls.list (personality): Likewise.
5979         * sysdeps/unix/sysv/linux/i386/syscalls.list (personality): Likewise.
5980         * sysdeps/unix/sysv/linux/m68k/syscalls.list (personality): Likewise.
5981         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (personality):
5982         Likewise.
5983         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (personality):
5984         Likewise.
5985         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (personality):
5986         Likewise.
5987         * sysdeps/unix/sysv/linux/sh/syscalls.list (personality): Likewise.
5988         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (personality):
5989         Likewise.
5991 2015-12-30  Aurelien Jarno  <aurelien@aurel32.net>
5993         * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include <string.h>.
5994         (PATH_ARM_SYSTYPE): Remove.
5995         (PATH_CPUINFO): Likewise.
5996         (IO_BASE_FOOTBRIDGE): Likewise.
5997         (IO_SHIFT_FOOTBRIDGE): Likewise.
5998         (struct platform): Likewise.
5999         (init_iosys): Remove compatibility code for 2.4 kernels.
6000         * sysdeps/unix/sysv/linux/arm/localplt.data: Remove fscanf.
6002 2015-12-29  Florian Weimer  <fweimer@redhat.com>
6004         * malloc/tst-malloc-thread-fail.c: New file.
6005         * malloc/Makefile (tests): Add tst-malloc-thread-fail.
6006         (tst-malloc-thread-fail): Link against libpthread.
6008 2015-12-29  Mike Frysinger  <vapier@gentoo.org>
6010         * scripts/list-fixed-bugs.py: Import argparse.  Call main instead.
6011         (get_parser): New function.
6012         (main): New function.
6014 2015-12-29  Rob Wu  <rob@robwu.nl>
6016         [BZ #19369]
6017         * resolv/res_init.c (__res_vinit): Reset defdname before use.
6019 2015-12-29  John David Anglin  <danglin@gcc.gnu.org>
6021         [BZ #19270]
6022         * sysdeps/hppa/fpu/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
6024 2015-12-28  Mike Frysinger  <vapier@gentoo.org>
6026         [BZ #15421]
6027         * sysdeps/ia64/fpu/w_lgamma_main.c: Change gammaf to gamma.
6029 2015-12-23  Torvald Riegel  <triegel@redhat.com>
6031         [BZ #13690]
6032         * sysdeps/nptl/lowlevellock.h (__lll_unlock): Do not access the lock
6033         after releasing it.
6034         (__lll_robust_unlock): Likewise.
6035         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
6036         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (lll_unlock): Likewise.
6037         (lll_robust_unlock): Likewise.
6038         * sysdeps/unix/sysv/linux/lowlevellock-futex.h (__lll_private_flag):
6039         Prevent warnings in callers.
6041 2015-12-23  Florian Weimer  <fweimer@redhat.com>
6043         * malloc/arena.c (list_lock): Update comment.
6045 2015-12-22  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
6047         * sysdeps/powerpc/hwcapinfo.c: Export symbol
6048         __parse_hwcap_and_convert_at_platform to libc.a.
6050 2015-12-22  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
6052         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Added
6053         platform and feature support for POWER9.
6054         * sysdeps/powerpc/dl-procinfo.h: Likewise.
6055         * sysdeps/powerpc/powerpc32/power9/Implies: New file.
6056         * sysdeps/powerpc/powerpc32/power9/fpu/multiarch/Implies: Likewise.
6057         * sysdeps/powerpc/powerpc32/power9/multiarch/Implies: Likewise.
6058         * sysdeps/powerpc/powerpc64/power9/Implies: Likewise, for powerpc64.
6059         * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Likewise.
6060         * sysdeps/powerpc/powerpc64/power9/fpu/multiarch/Implies: Likewise.
6061         * sysdeps/powerpc/powerpc64/power9/multiarch/Implies: Likewise.
6063 2015-12-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
6065         Harmonize generic stdio-lock support with nptl
6067         This fixes build when _IO_funlockfile is a macro, fixes build where
6068         _IO_acquire_lock_clear_flags2 is used, and fixes unlocking on unexpected
6069         stack unwind.
6071         * sysdeps/generic/stdio-lock.h [__EXCEPTIONS] (_IO_acquire_lock,
6072         _IO_release_lock ): Use cleanup attribute on new
6073         _IO_acquire_lock_file variable instead of assuming that
6074         _IO_release_lock will be called.
6075         [!__EXCEPTIONS] (_IO_acquire_lock): Define to non-existing
6076         _IO_acquire_lock_needs_exceptions_enabled.
6077         (_IO_acquire_lock_clear_flags2): New macro.
6079 2015-12-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6081         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
6083 2015-12-21  Florian Weimer  <fweimer@redhat.com>
6085         [BZ #19182]
6086         * malloc/arena.c (list_lock): Document lock ordering requirements.
6087         (free_list_lock): New lock.
6088         (ptmalloc_lock_all): Comment on free_list_lock.
6089         (ptmalloc_unlock_all2): Reinitialize free_list_lock.
6090         (detach_arena): Update comment.  free_list_lock is now needed.
6091         (_int_new_arena): Use free_list_lock around detach_arena call.
6092         Acquire arena lock after list_lock.  Add comment, including FIXME
6093         about incorrect synchronization.
6094         (get_free_list): Switch to free_list_lock.
6095         (reused_arena): Acquire free_list_lock around detach_arena call
6096         and attached threads counter update.  Add two FIXMEs about
6097         incorrect synchronization.
6098         (arena_thread_freeres): Switch to free_list_lock.
6099         * malloc/malloc.c (struct malloc_state): Update comments to
6100         mention free_list_lock.
6102 2015-12-21  Siddhesh Poyarekar  <siddhesh.poyarekar@linaro.org>
6104         * sysdeps/ieee754/dbl-64/s_sin.c (csloww, csloww1, csloww2):
6105         Remove functions.
6106         (sloww, sloww1): Accept argument to offset quadrant.
6107         (sloww, sloww1, sloww2): Call __mpsin or __mpcos based on
6108         quadrant.
6109         (__sin, __cos): Consolidate common code into new functions.
6110         (reduce_sincos_1, do_sincos_1): New functions.
6111         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
6113         * sysdeps/ieee754/dbl-64/s_sin.c (__sin, __cos): Move common
6114         code to new functions.
6115         (reduce_sincos_2, do_sincos_2): New functions.
6116         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
6118         * sysdeps/ieee754/dbl-64/s_sin.c (__sin) [!IN_SINCOS]: Skip
6119         common code for sincos.
6120         (__cos) [!IN_SINCOS]: Likewise.
6121         * sysdeps/ieee754/dbl-64/s_sincos.c (reduce_and_compute_sincos):
6122         New function.
6123         (__sincos): Use it.
6125 2015-12-20  Aurelien Jarno  <aurelien@aurel32.net>
6127         * sysdeps/i386/fpu/libm-test-ulps: Move to ....
6128         * sysdeps/i386/i686/multiarch/fpu/libm-test-ulps: ...here.
6129         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
6131 2015-12-19  Andrew Senkevich  <andrew.senkevich@intel.com>
6133         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S: New file.
6134         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new file.
6135         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
6136         * sysdeps/x86_64/multiarch/memset.S: Added new IFUNC branch.
6137         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
6138         * sysdeps/x86/cpu-features.h (bit_Prefer_No_VZEROUPPER,
6139         index_Prefer_No_VZEROUPPER): New feature.
6140         * sysdeps/x86/cpu-features.c (init_cpu_features): Set the
6141         Prefer_No_VZEROUPPER for Knights Landing.
6143 015-12-18  Torvald Riegel  <triegel@redhat.com>
6145         * math/atest-exp2.c (mp_exp_m1): Remove.
6147 2015-12-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6149         * sysdeps/unix/sysdep.h (SYSCALL_CANCEL): Fix macro for zero argument
6150         syscalls.
6151         (__SYSCALL0): New macro.
6152         (__SYSCALL1): Likewise.
6153         (__SYSCALL2): Likewise.
6154         (__SYSCALL3): Likewise.
6155         (__SYSCALL4): Likewise.
6156         (__SYSCALL5): Likewise.
6157         (__SYSCALL6): Likewise.
6158         (__SYSCALL_CONCAT_X): Likewise.
6159         (__SYSCALL_CONCAT): Likewise.
6160         (__SYSCALL_DIST): Likewise.
6161         (__SYSCALL_CALL): Likewise.
6163 2015-12-17  H.J. Lu  <hongjiu.lu@intel.com>
6165         [BZ #19363]
6166         * sysdeps/unix/sysv/linux/x86_64/x32/times.c: New file.
6168 2015-12-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6170         [BZ #19375]
6171         * sysdeps/powerpc/power7/fpu/s_logb.c (__logb): Fix return for
6172         negative subnormals.
6174 2015-12-16  H.J. Lu  <hongjiu.lu@intel.com>
6176         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
6177         (REGISTERS_CLOBBERED_BY_SYSCALL): New.
6178         (INTERNAL_SYSCALL_NCS): Use it.
6179         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
6181 2015-12-16  Florian Weimer  <fweimer@redhat.com>
6183         [BZ #19243]
6184         * malloc/arena.c (get_free_list): Remove assert and adjust
6185         reference count handling.  Add comment about reused_arena
6186         interaction.
6187         (reused_arena): Add comments abount get_free_list interaction.
6188         * malloc/tst-malloc-thread-exit.c: New file.
6189         * malloc/Makefile (tests): Add tst-malloc-thread-exit.
6190         (tst-malloc-thread-exit): Link against libpthread.
6192 2015-12-15  H.J. Lu  <hongjiu.lu@intel.com>
6194         [BZ #19367]
6195         * sysdeps/unix/sysv/linux/wordsize-64/mmap.c: New file.
6196         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h: Likewise.
6197         * sysdeps/unix/sysv/linux/x86_64/64/mmap.c: Likewise.
6198         * sysdeps/x86/cpu-features.h (bit_Prefer_MAP_32BIT_EXEC): New.
6199         (index_Prefer_MAP_32BIT_EXEC): Likewise.
6201 2015-12-15  H.J. Lu  <hongjiu.lu@intel.com>
6203         * sysdeps/x86/cpu-features.c (init_cpu_features): Enable
6204         Silvermont optimizations for Knights Landing.
6206 2015-12-15  Andreas Schwab  <schwab@suse.de>
6208         [BZ #17197]
6209         * iconvdata/ibm930.c (BODY for TO_LOOP): Record current DBCS state
6210         immediately after emitting SI.
6211         * iconvdata/ibm933.c (BODY for TO_LOOP): Likewise.
6212         * iconvdata/ibm935.c (BODY for TO_LOOP): Likewise.
6213         * iconvdata/ibm937.c (BODY for TO_LOOP): Likewise.
6214         * iconvdata/ibm939.c (BODY for TO_LOOP): Likewise.
6215         * iconvdata/bug-iconv10.c: New file.
6216         * iconvdata/Makefile (tests): Add bug-iconv10.
6217         ($(objpfx)bug-iconv10.out): New rule.
6219 2015-12-15  Florian Weimer  <fweimer@redhat.com>
6221         * dlfcn/tst-rec-dlopen.c (call_func): Cast dlsym result, fixing an
6222         aliasing violation.
6224 2015-12-14  Joseph Myers  <joseph@codesourcery.com>
6226         [BZ #18472]
6227         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Handle entries
6228         for the form NAME@VERSION:OBSOLETED and generate SHLIB_COMPAT
6229         conditionals for them.
6230         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Likewise.
6231         * sysdeps/unix/sysv/linux/sys/kdaemon.h: Remove file.
6232         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Remove
6233         sys/kdaemon.h.
6234         * sysdeps/unix/sysv/linux/syscalls.list (bdflush): Make into
6235         compat-only syscall, obsoleted in glibc 2.23.
6236         (create_module): Likewise.
6237         (get_kernel_syms): Likewise.
6238         (query_module): Likewise.
6239         (uselib): Likewise.
6240         * manual/sysinfo.texi (System Parameters): Do not mention bdflush.
6242 2015-12-11  Aurelien Jarno  <aurelien@aurel32.net>
6244         * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include
6245         <linux/version.h>.
6246         [LINUX_VERSION_CODE >= KERNEL_VERSION(2,4,23)]: Remove
6247         conditional code.
6248         (init_iosys): Use CTL_BUS_ISA instead of BUS_ISA in iobase_name
6249         and ioshift_name initialization.
6251 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
6253         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
6254         Fix indentation.
6256 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
6258         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Fix indentation.
6260 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
6262         * stdlib/strtol_l.c (__strtol_l): Fix indentation.
6264 2015-12-10  Aurelien Jarno  <aurelien@aurel32.net>
6265             Jakub Wilk  <jwilk@debian.org>
6267         [BZ #19347]
6268         * sysdeps/unix/grantpt.c [!HAVE_PT_CHOWN] (grantpt): Do not try
6269         to change the group of the device to the tty group.
6271 2015-12-10  Paul Eggert  <eggert@cs.ucla.edu>
6273         Split large string section; add truncation advice
6274         * manual/examples/strncat.c: Remove.
6275         This example was misleading, as the code would have undefined
6276         behavior if "hello" was longer than SIZE.  Anyway, the manual
6277         shouldn't encourage strncpy+strncat for this sort of thing.
6278         * manual/string.texi (Copying Strings and Arrays): Split into
6279         three sections Copying Strings and Arrays, Concatenating Strings,
6280         and Truncating Strings, as this section was way too long.  All
6281         cross-referenced changed.  Add advice about string-truncation
6282         functions.  Remove misleading strncat example.
6284 2015-12-10  Carlos O'Donell  <carlos@redhat.com>
6286         * manual/nss.texi (NSS Modules Interface): Document
6287         NSS_STATUS_NOTFOUND and SUCCESS.
6289 2015-12-09  Mike FABIAN  <mfabian@redhat.com>
6291         [BZ 18568]
6292         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
6293         201505L, for Unicode 8.
6295 2015-12-09  Carlos O'Donell  <carlos@redhat.com>
6297         * locale/C-translit.h: Regenerate.
6299 2015-12-09  Mike FABIAN  <mfabian@redhat.com>
6301         * locale/C-translit.h.in: Remove duplicate transliterations for U+0152
6302         and U+0153.
6304 2015-12-09  Joseph Myers  <joseph@codesourcery.com>
6306         [BZ #19351]
6307         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): When
6308         expanding log(1+z), compare z rather than its square with epsilon
6309         to determine when to avoid evaluating the expansion.
6311         [BZ #19350]
6312         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
6313         Increase overflow threshold.
6315         [BZ #19349]
6316         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Return argument
6317         when small.
6319         * sysdeps/unix/sysv/linux/i386/kernel-features.h
6320         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
6321         New macro.
6322         [__LINUX_KERNEL_VERSION >= 0x040300]
6323         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
6324         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
6325         Likewise.
6326         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
6327         Likewise.
6328         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
6329         Likewise.
6330         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
6331         Likewise.
6332         [__LINUX_KERNEL_VERSION >= 0x040300]
6333         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
6334         [__LINUX_KERNEL_VERSION >= 0x040300]
6335         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
6336         [__LINUX_KERNEL_VERSION >= 0x040300]
6337         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
6338         [__LINUX_KERNEL_VERSION >= 0x040300]
6339         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
6340         [__LINUX_KERNEL_VERSION >= 0x040300]
6341         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
6342         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
6343         Likewise.
6344         [__LINUX_KERNEL_VERSION >= 0x040300]
6345         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
6346         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
6347         Likewise.
6348         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
6349         Likewise.
6350         [__LINUX_KERNEL_VERSION >= 0x040300]
6351         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
6352         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
6353         Likewise.
6354         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
6355         Likewise.
6356         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
6357         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMMSG_SYSCALL):
6358         Likewise.
6359         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMMSG_SYSCALL):
6360         Likewise.
6361         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
6362         Likewise.
6363         [__LINUX_KERNEL_VERSION >= 0x040300]
6364         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
6365         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
6366         Likewise.
6367         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
6368         Likewise.
6369         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
6370         Likewise.
6371         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
6372         Likewise.
6373         [__LINUX_KERNEL_VERSION >= 0x040300]
6374         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
6375         [__LINUX_KERNEL_VERSION >= 0x040300]
6376         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
6377         [__LINUX_KERNEL_VERSION >= 0x040300]
6378         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
6379         [__LINUX_KERNEL_VERSION >= 0x040300]
6380         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
6381         [__LINUX_KERNEL_VERSION >= 0x040300]
6382         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
6383         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
6384         Likewise.
6385         [__LINUX_KERNEL_VERSION >= 0x040300]
6386         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
6387         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
6388         Likewise.
6389         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
6390         Likewise.
6391         [__LINUX_KERNEL_VERSION >= 0x040300]
6392         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
6393         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
6394         Likewise.
6395         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
6396         Likewise.
6397         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
6398         (__ASSUME_SOCKET_SYSCALL): Likewise.
6399         (__ASSUME_BIND_SYSCALL): Likewise.
6400         (__ASSUME_CONNECT_SYSCALL): Likewise.
6401         (__ASSUME_LISTEN_SYSCALL): Likewise.
6402         (__ASSUME_ACCEPT_SYSCALL): Likewise.
6403         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
6404         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
6405         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
6406         (__ASSUME_SEND_SYSCALL): Likewise.
6407         (__ASSUME_SENDTO_SYSCALL): Likewise.
6408         (__ASSUME_RECV_SYSCALL): Likewise.
6409         (__ASSUME_RECVFROM_SYSCALL): Likewise.
6410         (__ASSUME_SHUTDOWN_SYSCALL): Likewise.
6411         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
6412         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
6413         (__ASSUME_SENDMSG_SYSCALL): Likewise.
6414         (__ASSUME_RECVMSG_SYSCALL): Likewise.
6415         * sysdeps/unix/sysv/linux/sh/kernel-features.h
6416         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SOCKET_SYSCALL):
6417         Likewise.
6418         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_BIND_SYSCALL):
6419         Likewise.
6420         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_CONNECT_SYSCALL):
6421         Likewise.
6422         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_LISTEN_SYSCALL):
6423         Likewise.
6424         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_ACCEPT_SYSCALL):
6425         Likewise.
6426         [__LINUX_KERNEL_VERSION >= 0x020625]
6427         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
6428         [__LINUX_KERNEL_VERSION >= 0x020625]
6429         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
6430         [__LINUX_KERNEL_VERSION >= 0x020625]
6431         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
6432         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SEND_SYSCALL):
6433         Likewise.
6434         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDTO_SYSCALL):
6435         Likewise.
6436         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECV_SYSCALL):
6437         Likewise.
6438         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVFROM_SYSCALL):
6439         Likewise.
6440         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SHUTDOWN_SYSCALL):
6441         Likewise.
6442         [__LINUX_KERNEL_VERSION >= 0x020625]
6443         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
6444         [__LINUX_KERNEL_VERSION >= 0x020625]
6445         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
6446         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDMSG_SYSCALL):
6447         Likewise.
6448         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVMSG_SYSCALL):
6449         Likewise.
6451 2015-12-09  Aurelien Jarno  <aurelien@aurel32.net>
6453         * sysdeps/unix/sysv/linux/mips/configure.ac (has-mpf64): Define to
6454         record the current if the current ABI and CPU support the FP64
6455         extension.
6456         (has-modd-spreg): Define to record the current if the current ABI and
6457         CPU support 32-bit floating point values in odd FPU registers.
6458         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
6459         * sysdeps/mips/Makefile (tst-abi-fpxxomod): Only build when
6460         $(has-modd-spreg) equals yes.
6461         (tst-abi-fp64amod): Only build when $(has-mpf64) equals yes.
6462         (tst-abi-fp64mod): Only build when both $(has-mpf64) and
6463         $(has-modd-spreg) equal yes.
6465 2015-12-09  Aurelien Jarno  <aurelien@aurel32.net>
6467         * sysdeps/unix/grantpt.c (grantpt): Call__basename instead of
6468         basename.
6470 2015-12-08  Siddhesh Poyarekar  <sid@reserved-bit.com>
6472         * benchtests/Makefile (bench-math): Move ffs and ffsll...
6473         (bench-string): ... here.
6474         (bench): Add bench-string.
6475         (string-bench, wcsmbs-bench, stdlib-bench, stdio-common-bench): Rename
6476         to *-benchset to reflect what they are.
6477         (benchset): Adjust.
6479         * benchtests/sincos-inputs: Add inputs from sin-inputs and
6480         cos-inputs.
6482 2015-12-07  Andrew Senkevich  <andrew.senkevich@intel.com>
6484         * sysdeps/x86/fpu/bits/math-vector.h: W/o -fopenmp use GCC 6.*
6485         __attribute__ ((__simd__)) for vector math function declarations.
6487 2015-12-04  Paul Eggert  <eggert@cs.ucla.edu>
6489         Fix typo in strncat, wcsncat manual entries
6490         * manual/string.texi (Copying and Concatenation): Fix typos in
6491         sample implementations of strncat and wcsncat, by having them use
6492         the old value of the destination length, not the new one.
6494 2015-12-04  Joseph Myers  <joseph@codesourcery.com>
6496         [BZ #16961]
6497         [BZ #16962]
6498         * math/s_nan.c (__nan): Use __strtod_nan instead of constructing a
6499         string on the stack for strtod.
6500         * math/s_nanf.c (__nanf): Use __strtof_nan instead of constructing
6501         a string on the stack for strtof.
6502         * math/s_nanl.c (__nanl): Use __strtold_nan instead of
6503         constructing a string on the stack for strtold.
6504         * stdlib/Versions (libc): Add __strtof_nan, __strtod_nan and
6505         __strtold_nan to GLIBC_PRIVATE.
6506         * math/test-nan-overflow.c: New file.
6507         * math/test-nan-payload.c: Likewise.
6508         * math/Makefile (tests): Add test-nan-overflow and
6509         test-nan-payload.
6511 2015-12-04  Paul Eggert  <eggert@cs.ucla.edu>
6513         Consistency about byte vs character in string.texi
6514         * manual/string.texi (String and Array Utilities):
6515         Distinguish more carefully among bytes, multibyte characters,
6516         and wide characters.  Use "byte" when talking about C 'char',
6517         to distinguish it more clearly from multibyte characters.
6518         Say "wide character" or "multibyte character" instead of
6519         "character", when a wide or multibyte character is intended.
6520         Similarly for "multibyte string" versus "string".
6521         Define these terms more carefully.
6523 2015-12-03  Chris Metcalf  <cmetcalf@ezchip.com>
6525         * sysdeps/arm/math_private.h (LDBL_CLASSIFY_COMPAT): New symbol.
6526         * sysdeps/microblaze/math_private.h (LDBL_CLASSIFY_COMPAT):
6527         Likewise.
6528         * sysdeps/mips/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
6529         * sysdeps/nios2/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
6530         * sysdeps/sh/math_private.h: New file.
6531         * sysdeps/m68k/coldfire/fpu/math_private.h: Likewise.
6532         * sysdeps/ieee754/dbl-64/s_finite.c [defined NO_LONG_DOUBLE &&
6533         defined LDBL_CLASSIFY_COMPAT]: Create compat symbol for internal
6534         long double function name.
6535         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
6536         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
6537         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
6538         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
6539         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
6540         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
6541         Remove __finitel, __isinfl, and __isnanl.
6542         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
6543         Likewise.
6544         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
6545         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
6546         Remove __finitel.
6547         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
6548         Likewise.
6549         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
6551 2015-12-03  Andrew Senkevich  <andrew.senkevich@intel.com>
6553         * math/Makefile ($(inst_libdir)/libm.so): Corrected path to
6554         installed libmvec_nonshared.a.
6556 2015-12-03  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
6558         * sysdeps/powerpc/Makefile (sysdep-dl-routines): Add hwcapinfo.
6559         (sysdep_routines): Likewise.
6560         (sysdep-rtld-routines): Likewise.
6561         [$(subdir) = nptl](tests): Add test-get_hwcap and test-get_hwcap-static
6562         [$(subdir) = nptl](tests-static): test-get_hwcap-static
6563         * sysdeps/powerpc/Versions: Added new
6564         __parse_hwcap_and_convert_at_platform symbol to GLIBC-2.23.
6565         * sysdeps/powerpc/hwcapinfo.c: New file.
6566         (__tcb_parse_hwcap_and_convert_at_platform): New function to initialize
6567         and parse hwcap, hwcap2 and platform number information.
6568         * sysdeps/powerpc/hwcapinfo.h: New file.  Creates global variables
6569         to store HWCAP+HWCAP2 and platform number.
6570         * sysdeps/powerpc/nptl/tcb-offsets.sym: Added new offsets
6571         for HWCAP+HWCAP2 and platform number in the TCB.
6572         * sysdeps/powerpc/nptl/tls.h: New functionality.  Stores
6573         the HWCAP, HWCAP2 and platform number in the TCB.
6574         (dtv): Added new fields for HWCAP+HWCAP2 and platform number.
6575         (TLS_INIT_TP): Included calls to add the hwcap and
6576         at_platform values in the TCB in TP initialization.
6577         (TLS_DEFINE_INIT_TP): Likewise.
6578         (THREAD_GET_HWCAP): New macro.
6579         (THREAD_SET_HWCAP): Likewise.
6580         (THREAD_GET_AT_PLATFORM): Likewise.
6581         (THREAD_SET_AT_PLATFORM): Likewise.
6582         * sysdeps/powerpc/powerpc32/dl-machine.h:
6583         (dl_platform_init): New function that calls
6584         __parse_hwcap_and_convert_at_platform for the dymanic linking case for
6585         powerpc32.
6586         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise, for powerpc64.
6587         * sysdeps/powerpc/test-get_hwcap-static.c: New file.  Testcase for
6588         this functionality, static linking case.
6589         * sysdeps/powerpc/test-get_hwcap.c: New file.  Likewise, dynamic
6590         linking case.
6591         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Added call to
6592         __parse_hwcap_and_convert_at_platform for the static linking case.
6593         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist:
6594         Included the new __parse_hwcap_and_convert_at_platform symbol in the
6595         ABI list for GLIBC 2.23.
6596         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist:
6597         Likewise.
6598         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist:
6599         Likewise.
6601 2015-12-02  Ludovic Courtès  <ludo@gnu.org>
6603         * configure.ac: Use 'pwd -P' instead of '/bin/pwd'.
6604         * configure: Regenerate.
6605         * io/ftwtest-sh: Use 'pwd -P' instead of '/bin/pwd'.
6606         * scripts/rellns-sh: Likewise.  Remove 'pwd' variable.
6608 2015-12-02  Carlos O'Donell  <carlos@redhat.com>
6610         * iconvdata/ibm930.c: Add comment explaining encoding uses.
6611         * iconvdata/ibm933.c: Likewise.
6612         * iconvdata/ibm935.c: Likewise.
6613         * iconvdata/ibm937.c: Likewise.
6614         * iconvdata/ibm939.c: Likewise.
6616 2015-12-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6618         * nptl/tst-cancel20.c (do_one_test): Move the pipe closing after
6619         pthread_join.
6620         * nptl/tst-cancel21.c (tf): Likewise.
6622 2015-12-01  H.J. Lu  <hongjiu.lu@intel.com>
6624         [BZ #19313]
6625         * bits/typesizes.h (__CPU_MASK_TYPE): New.
6626         * sysdeps/mach/hurd/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
6627         * sysdeps/nacl/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
6628         * sysdeps/unix/sysv/linux/alpha/bits/typesizes.h (__CPU_MASK_TYPE):
6629         Likewise.
6630         * sysdeps/unix/sysv/linux/generic/bits/typesizes.h (__CPU_MASK_TYPE):
6631         Likewise.
6632         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h (__CPU_MASK_TYPE):
6633         Likewise.
6634         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h (__CPU_MASK_TYPE):
6635         Likewise.
6636         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h (__CPU_MASK_TYPE):
6637         * sysdeps/unix/sysv/linux/bits/sched.h (__cpu_mask): Replace
6638         unsigned long int with __CPU_MASK_TYPE.
6640 2015-12-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
6642         * sysdeps/aarch64/libm-test-ulps: Regenerated.
6644 2015-12-01  Joseph Myers  <joseph@codesourcery.com>
6646         * sysdeps/ieee754/dbl-64/e_sqrt.c: Do not include uroot.h.
6647         (__ieee754_sqrt): Use hex float constants instead of tm256.x and
6648         t512.x.
6649         * sysdeps/ieee754/dbl-64/uroot.h: Remove file.
6651 2015-11-30  Amit Pawar  <amit.pawar@amd.com>
6653         [BZ #19214]
6654         * sysdeps/x86/cpu-features.c (get_common_indeces): Add an
6655         argument to return extended model.  Update family and model
6656         with extended family and model when family == 0x0f.
6657         (init_cpu_features): Updated.
6659 2015-11-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
6661         The RPC interface used by mmap uses the unsigned vm_offset_t, not the
6662         signed off_t, so 32bit bigger than 2GiB values are fine actually.
6664         * sysdeps/mach/hurd/mmap64.c: New file.
6666 2015-11-29  Thomas Schwinge  <thomas@codesourcery.com>
6668         * sysdeps/mach/hurd/fork.c (__fork): Install correct number of send
6669         rights for its main user thread in NEWTASK.
6671 2015-11-28  Maciej W. Rozycki  <macro@imgtec.com>
6673         * sysdeps/mips/fpu_control.h (_FPU_RESERVED): Include ABS2008.
6674         (_FPU_DEFAULT, _FPU_IEEE) [__mips_nan2008]: Set ABS2008.
6676 2015-11-27  Carlos O'Donell  <carlos@redhat.com>
6678         [BZ #14259]
6679         * Makeconfig: Rename localedir to complocaledir.
6680         Rename inst_localedir to inst_complocaledir.
6681         * aclocal.m4: Rename libc_cv_localedir to libc_cv_complocaledir.
6682         * config.make.in: Use complocaledir and libc_cv_complocaledir.
6683         * configure.ac: Use libc_cv_complocaledir.
6684         * configure: Regenerate.
6685         * locale/Makefile: Use complocaledir. Rename define -DLOCALEDIR to
6686         -DCOMPLOCALEDIR.
6687         * locale/findlocale.c: Use COMPLOCALEDIR.
6688         * locale/loadarchive.c: Likewise.
6689         * locale/programs/locale.c: Likewise.
6690         * locale/programs/localedef.c: Likewise.
6691         * locale/programs/locarchive.c: Likewise.
6692         * localedata/Makefile: Use inst_complocaledir.
6693         * sysdeps/gnu/configure: Regenerate.
6694         * sysdeps/hppa/configure: Regenerate.
6695         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerate.
6696         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
6697         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
6698         * sysdeps/unix/sysv/linux/s390/s390-64/configure: Regenerate.
6699         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: Regenerate.
6700         * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerate.
6701         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Regenerate.
6703 2015-11-27  Andrew Senkevich  <andrew.senkevich@intel.com>
6705         [BZ #19058]
6706         * math/Makefile ($(inst_libdir)/libm.so): Added libmvec_nonshared.a to
6707         AS_NEEDED.
6708         * sysdeps/x86/fpu/bits/math-vector.h: Removed code with asm aliases
6709         workaround.
6710         * sysdeps/x86_64/fpu/Makefile (libmvec-support,
6711         libmvec-static-only-routines): Added new file.
6712         * sysdeps/x86_64/fpu/svml_finite_alias.S: New file.
6714 2015-11-25  Samuel Thibault  <samuel.thibault@ens-lyon.org>
6716         * hurd/sigunwind.c (_hurdsig_longjmp_from_handler): Destroy reply port
6717         of interrupted RPC instead of restoring it.
6719         * sysdeps/i386/setjmp.S (__sigsetjmp): Add hidden_def.
6720         * sysdeps/mach/hurd/accept4.c (__libc_accept4): Remove
6721         libc_hidden_def.
6722         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Initialize to get
6723         into initialized data instead of common. Define rtld_hidden_data_def.
6724         * sysdeps/mach/hurd/fxstatat64.c (__fxstatat64): Add libc_hidden_def.
6725         * sysdeps/mach/hurd/if_index.c (__if_freenameindex): Add
6726         libc_hidden_def.
6727         (if_freenameindex): Add libc_hidden_weak.
6728         (if_nameindex): Add libc_hidden_weak.
6729         * sysdeps/mach/hurd/open.c (_open64): Rename libc_hidden_weak into
6730         __open64.
6731         * sysdeps/mach/hurd/sigwait.c (__sigwait): Add libc_hidden_def.
6732         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Add libc_hidden_def.
6733         * sysdeps/mach/nanosleep.c: Include <time.h>
6734         (__nanosleep): Rename to __libc_nanosleep.
6735         (__nanosleep): Add weak_alias.
6736         (nanosleep): Update alias.
6738 2015-11-24  Joseph Myers  <joseph@codesourcery.com>
6740         * stdlib/strtod_nan.c: New file.
6741         * stdlib/strtod_nan_double.h: Likewise.
6742         * stdlib/strtod_nan_float.h: Likewise.
6743         * stdlib/strtod_nan_main.c: Likewise.
6744         * stdlib/strtod_nan_narrow.h: Likewise.
6745         * stdlib/strtod_nan_wide.h: Likewise.
6746         * stdlib/strtof_nan.c: Likewise.
6747         * stdlib/strtold_nan.c: Likewise.
6748         * sysdeps/ieee754/ldbl-128/strtod_nan_ldouble.h: Likewise.
6749         * sysdeps/ieee754/ldbl-128ibm/strtod_nan_ldouble.h: Likewise.
6750         * sysdeps/ieee754/ldbl-96/strtod_nan_ldouble.h: Likewise.
6751         * wcsmbs/wcstod_nan.c: Likewise.
6752         * wcsmbs/wcstof_nan.c: Likewise.
6753         * wcsmbs/wcstold_nan.c: Likewise.
6754         * stdlib/Makefile (routines): Add strtof_nan, strtod_nan and
6755         strtold_nan.
6756         * wcsmbs/Makefile (routines): Add wcstod_nan, wcstold_nan and
6757         wcstof_nan.
6758         * include/stdlib.h (__strtof_nan): Declare and use
6759         libc_hidden_proto.
6760         (__strtod_nan): Likewise.
6761         (__strtold_nan): Likewise.
6762         (__wcstof_nan): Likewise.
6763         (__wcstod_nan): Likewise.
6764         (__wcstold_nan): Likewise.
6765         * include/wchar.h (____wcstoull_l_internal): Declare.
6766         * stdlib/strtod_l.c: Do not include <ieee754.h>.
6767         (____strtoull_l_internal): Remove declaration.
6768         (STRTOF_NAN): Define macro.
6769         (SET_MANTISSA): Remove macro.
6770         (STRTOULL): Likewise.
6771         (____STRTOF_INTERNAL): Use STRTOF_NAN to parse NaN payload.
6772         * stdlib/strtof_l.c (____strtoull_l_internal): Remove declaration.
6773         (STRTOF_NAN): Define macro.
6774         (SET_MANTISSA): Remove macro.
6775         * sysdeps/ieee754/ldbl-128/strtold_l.c (STRTOF_NAN): Define macro.
6776         (SET_MANTISSA): Remove macro.
6777         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (STRTOF_NAN): Define
6778         macro.
6779         (SET_MANTISSA): Remove macro.
6780         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (STRTOF_NAN): Define
6781         macro.
6782         (SET_MANTISSA): Remove macro.
6783         * sysdeps/ieee754/ldbl-96/strtold_l.c (STRTOF_NAN): Define macro.
6784         (SET_MANTISSA): Remove macro.
6785         * wcsmbs/wcstod_l.c (____wcstoull_l_internal): Remove declaration.
6786         * wcsmbs/wcstof_l.c (____wcstoull_l_internal): Likewise.
6787         * wcsmbs/wcstold_l.c (____wcstoull_l_internal): Likewise.
6789         [BZ #19266]
6790         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check directly for
6791         upper case and lower case letters inside NAN(), not using TOLOWER.
6792         * stdlib/tst-strtod-nan-locale-main.c: New file.
6793         * stdlib/tst-strtod-nan-locale.c: Likewise.
6794         * stdlib/Makefile (tests): Add tst-strtod-nan-locale.
6795         [$(run-built-tests) = yes] ($(objpfx)tst-strtod-nan-locale.out):
6796         Depend on $(gen-locales).
6797         ($(objpfx)tst-strtod-nan-locale): Depend on $(libm).
6798         * wcsmbs/tst-wcstod-nan-locale.c: New file.
6799         * wcsmbs/Makefile (tests): Add tst-wcstod-nan-locale.
6800         [$(run-built-tests) = yes] ($(objpfx)tst-wcstod-nan-locale.out):
6801         Depend on $(gen-locales).
6802         ($(objpfx)tst-wcstod-nan-locale): Depend on $(libm).
6804 2015-11-24  Chris Metcalf  <cmetcalf@ezchip.com>
6806         * misc/tst-tsearch.c (TIMEOUT): Set to 10.
6808         * sysdeps/tile/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
6809         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Add
6810         __finitel, __isinfl, and __isnanl.
6811         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
6812         Likewise.
6813         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
6814         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: Add
6815         __finitel.
6816         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
6817         Likewise.
6818         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
6820 2015-11-24  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
6822         * malloc/memusage.c (me): Remove redundant getenv call.
6824 2015-10-24  Florian Weimer  <fweimer@redhat.com>
6826         [BZ #19143]
6827         [BZ #19164]
6828         * nptl/check-cpuset.h: Remove.
6829         * nptl/pthread_attr_setaffinity.c (__pthread_attr_setaffinity_new):
6830         Remove CPU set size check.
6831         * nptl/pthread_setattr_default_np.c (pthread_setattr_default_np):
6832         Likewise.
6833         * sysdeps/unix/sysv/linux/check-cpuset.h: Remove.
6834         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
6835         (__kernel_cpumask_size, __determine_cpumask_size): Remove.
6836         (__pthread_setaffinity_new): Remove CPU set size check.
6837         * sysdeps/unix/sysv/linux/sched_setaffinity.c
6838         (__kernel_cpumask_size): Remove.
6839         (__sched_setaffinity_new): Remove CPU set size check.
6840         * manual/threads.texi (Default Thread Attributes): Remove stale
6841         reference to check_cpuset_attr, determine_cpumask_size in comment.
6842         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == posix] (tests):
6843         Remove tst-getcpu.  Add tst-affinity, tst-affinity-pid.
6844         [$(subdir) == nptl] (tests): Add tst-thread-affinity-pthread,
6845         tst-thread-affinity-pthread2, tst-thread-affinity-sched.
6846         * sysdeps/unix/sysv/linux/tst-affinity.c: New file.
6847         * sysdeps/unix/sysv/linux/tst-affinity-pid.c: New file.
6848         * sysdeps/unix/sysv/linux/tst-skeleton-affinity.c: New skeleton test file.
6849         * sysdeps/unix/sysv/linux/tst-thread-affinity-sched.c: New file.
6850         * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread.c: New file.
6851         * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread2.c: New file.
6852         * sysdeps/unix/sysv/linux/tst-thread-skeleton-affinity.c: New
6853         skeleton test file.
6854         * sysdeps/unix/sysv/linux/tst-getcpu.c: Remove.  Superseded by
6855         tst-affinity-pid.
6857 2015-11-24  Florian Weimer  <fweimer@redhat.com>
6859         * scripts/update-abilist.sh: New file.
6860         * Makefile (+subdir_targets): Add subdir_update-all-abi.
6861         * Makerules (update-all-abi-%, update-all-abi)
6862         (subdir_update-all-abi): New targets.
6863         * elf/Makefile (update-all-abi): New target.
6865 2015-11-24  Florian Weimer  <fweimer@redhat.com>
6867         Replace MUTEX_INITIALIZER with _LIBC_LOCK_INITIALIZER in generic code.
6868         * sysdeps/mach/hurd/libc-lock.h (_LIBC_LOCK_INITIALIZER): Define.
6869         (__libc_lock_define_initialized): Use it.
6870         * sysdeps/nptl/libc-lockP.h (_LIBC_LOCK_INITIALIZER): Define.
6871         * malloc/arena.c (list_lock): Use _LIBC_LOCK_INITIALIZER.
6872         * malloc/malloc.c (main_arena): Likewise.
6873         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): Remove.
6874         * sysdeps/nptl/malloc-machine.h (MUTEX_INITIALIZER): Remove.
6876 2015-11-23  Joseph Myers  <joseph@codesourcery.com>
6878         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
6879         (PTRACE_O_EXITKILL): New value in enum __ptrace_setoptions.
6880         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
6881         (PTRACE_O_MASK): Update value.
6882         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_O_EXITKILL):
6883         New value in enum __ptrace_setoptions.
6884         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
6885         (PTRACE_O_MASK): Update value.
6886         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
6887         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
6888         (PTRACE_O_MASK): Update value.
6889         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h
6890         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
6891         (PTRACE_O_MASK): Update value.
6892         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h
6893         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
6894         (PTRACE_O_MASK): Update value.
6895         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_SUSPEND_SECCOMP):
6896         New value in enum __ptrace_setoptions.
6897         (PTRACE_O_MASK): Update value.
6898         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_O_EXITKILL):
6899         New value in enum __ptrace_setoptions.
6900         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
6901         (PTRACE_O_MASK): Update value.
6903         * sysdeps/unix/sysv/linux/netpacket/packet.h (PACKET_COPY_THRESH):
6904         New macro.
6905         (PACKET_AUXDATA): Likewise.
6906         (PACKET_ORIGDEV): Likewise.
6907         (PACKET_VERSION): Likewise.
6908         (PACKET_HDRLEN): Likewise.
6909         (PACKET_RESERVE): Likewise.
6910         (PACKET_TX_RING): Likewise.
6911         (PACKET_LOSS): Likewise.
6912         (PACKET_VNET_HDR): Likewise.
6913         (PACKET_TX_TIMESTAMP): Likewise.
6914         (PACKET_TIMESTAMP): Likewise.
6915         (PACKET_FANOUT): Likewise.
6916         (PACKET_TX_HAS_OFF): Likewise.
6917         (PACKET_QDISC_BYPASS): Likewise.
6918         (PACKET_ROLLOVER_STATS): Likewise.
6919         (PACKET_FANOUT_DATA): Likewise.
6920         (PACKET_MR_UNICAST): Likewise.
6922         [BZ #19242]
6923         * stdlib/strtol_l.c (ISALPHA): Use _nl_C_locobj_ptr for locale.
6924         (TOUPPER): Likewise.
6925         * stdlib/tst-strtol-locale-main.c: New file.
6926         * stdlib/tst-strtol-locale.c: Likewise.
6927         * stdlib/Makefile (tests): Add tst-strtol-locale.
6928         [$(run-built-tests) = yes] (LOCALES): Add tr_TR.ISO-8859-9.
6929         [$(run-built-tests) = yes] ($(objpfx)tst-strtol-locale.out):
6930         Depend on $(gen-locales).
6931         * wcsmbs/tst-wcstol-locale.c: New file.
6932         * wcsmbs/Makefile (tests): Add tst-wcstol-locale.
6933         [$(run-built-tests) = yes] (LOCALES): Add tr_TR.UTF-8 and
6934         tr_TR.ISO-8859-9.
6935         [$(run-built-tests) = yes] ($(objpfx)tst-wcstol-locale.out):
6936         Depend on $(gen-locales).
6938 2015-11-20  Roland McGrath  <roland@hack.frob.com>
6940         * sysdeps/nacl/dl-map-segments.h (_dl_map_segments): Use
6941         __glibc_likely instead of __builtin_expect.  After falling back to
6942         dyncode_create in a non-ET_DYN case, use the allocate_code_data
6943         system interface to register the code pages as occupied.
6945 2015-11-20  Joseph Myers  <joseph@codesourcery.com>
6947         * sysdeps/arm/math_private.h [!_MATH_PRIVATE_H]: Change guard to
6948         [!ARM_MATH_PRIVATE_H].
6949         [!ARM_MATH_PRIVATE_H] (ARM_MATH_PRIVATE_H): Define macro.
6950         * sysdeps/hppa/math_private.h [!_MATH_PRIVATE_H]: Change guard to
6951         [!HPPA_MATH_PRIVATE_H].
6952         [!HPPA_MATH_PRIVATE_H] (HPPA_MATH_PRIVATE_H): Define macro.
6953         * sysdeps/i386/fpu/math_private.h [!_MATH_PRIVATE_H]: Change guard
6954         to [!I386_MATH_PRIVATE_H].
6955         [!I386_MATH_PRIVATE_H] (I386_MATH_PRIVATE_H): Define macro.
6956         * sysdeps/m68k/m680x0/fpu/math_private.h [!_MATH_PRIVATE_H]:
6957         Change guard to [!M68K_MATH_PRIVATE_H].
6958         [!M68K_MATH_PRIVATE_H] (M68K_MATH_PRIVATE_H): Define macro.
6959         * sysdeps/microblaze/math_private.h [!_MATH_PRIVATE_H]: Change
6960         guard to [!MICROBLAZE_MATH_PRIVATE_H].
6961         [!MICROBLAZE_MATH_PRIVATE_H] (MICROBLAZE_MATH_PRIVATE_H): Define
6962         macro.
6963         * sysdeps/mips/math_private.h [!_MATH_PRIVATE_H]: Change guard to
6964         [!MIPS_MATH_PRIVATE_H].
6965         [!MIPS_MATH_PRIVATE_H] (MIPS_MATH_PRIVATE_H): Define macro.
6966         * sysdeps/nios2/math_private.h [!_MATH_PRIVATE_H]: Change guard to
6967         [!NIO2_MATH_PRIVATE_H].
6968         [!NIO2_MATH_PRIVATE_H] (NIO2_MATH_PRIVATE_H): Define macro.
6969         * sysdeps/tile/math_private.h [!_MATH_PRIVATE_H]: Change guard to
6970         [!TILE_MATH_PRIVATE_H].
6971         [!TILE_MATH_PRIVATE_H] (TILE_MATH_PRIVATE_H): Define macro.
6973         [BZ #15421]
6974         * sysdeps/ieee754/s_signgam.c (signgam): Rename to __signgam,
6975         initialize with 0 and define as weak alias of __signgam.
6976         * include/math.h [!_ISOMAC] (__signgam): Declare.
6977         * math/Makefile (libm-calls): Add w_lgamma_compat.
6978         (tests): Add test-signgam-uchar, test-signgam-uchar-init,
6979         test-signgam-uint, test-signgam-uint-init, test-signgam-ullong and
6980         test-signgam-ullong-init.
6981         (tests-static): Add test-signgam-uchar-static,
6982         test-signgam-uchar-init-static, test-signgam-uint-static,
6983         test-signgam-uint-init-static, test-signgam-ullong-static and
6984         test-signgam-ullong-init-static.
6985         (CFLAGS-test-signgam-uchar.c): New variable.
6986         (CFLAGS-test-signgam-uchar-init.c): Likewise.
6987         (CFLAGS-test-signgam-uchar-static.c): Likewise.
6988         (CFLAGS-test-signgam-uchar-init-static.c): Likewise.
6989         (CFLAGS-test-signgam-uint.c): Likewise.
6990         (CFLAGS-test-signgam-uint-init.c): Likewise.
6991         (CFLAGS-test-signgam-uint-static.c): Likewise.
6992         (CFLAGS-test-signgam-uint-init-static.c): Likewise.
6993         (CFLAGS-test-signgam-ullong.c): Likewise.
6994         (CFLAGS-test-signgam-ullong-init.c): Likewise.
6995         (CFLAGS-test-signgam-ullong-static.c): Likewise.
6996         (CFLAGS-test-signgam-ullong-init-static.c): Likewise.
6997         * math/Versions (libm): Add GLIBC_2.23.
6998         * math/lgamma-compat.h: New file.
6999         * math/test-signgam-main.c: Likewise.
7000         * math/test-signgam-uchar-init-static.c: Likewise.
7001         * math/test-signgam-uchar-init.c: Likewise.
7002         * math/test-signgam-uchar-static.c: Likewise.
7003         * math/test-signgam-uchar.c: Likewise.
7004         * math/test-signgam-uint-init-static.c: Likewise.
7005         * math/test-signgam-uint-init.c: Likewise.
7006         * math/test-signgam-uint-static.c: Likewise.
7007         * math/test-signgam-uint.c: Likewise.
7008         * math/test-signgam-ullong-init-static.c: Likewise.
7009         * math/test-signgam-ullong-init.c: Likewise.
7010         * math/test-signgam-ullong-static.c: Likewise.
7011         * math/test-signgam-ullong.c: Likewise.
7012         * math/w_lgamma.c: Rename to w_lgamma_main.c and replace by
7013         wrapper of w_lgamma_main.c.
7014         * math/w_lgamma_compat.c: New file.
7015         * math/w_lgamma_compatf.c: Likewise.
7016         * math/w_lgamma_compatl.c: Likewise.
7017         * math/w_lgamma_main.c: New file.  Based on w_lgamma.c.  Include
7018         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
7019         defining compatibility symbols.
7020         (__lgamma): Change to LGFUNC (__lgamma).  Use CALL_LGAMMA.
7021         * math/w_lgammaf.c: Rename to w_lgammaf_main.c and replace by
7022         wrapper of w_lgammaf_main.c.
7023         * math/w_lgammaf_main.c: New file.  Based on w_lgammaf.c.  Include
7024         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
7025         defining compatibility symbols.
7026         (__lgammaf): Change to LGFUNC (__lgammaf).  Use CALL_LGAMMA.
7027         * math/w_lgammal.c: Rename to w_lgammal_main.c and replace by
7028         wrapper of w_lgammal_main.c.
7029         * math/w_lgammal_main.c: New file.  Based on w_lgammal.c.  Include
7030         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
7031         defining compatibility symbols.
7032         (__lgammal): Change to LGFUNC (__lgammal).  Use CALL_LGAMMA.
7033         * sysdeps/ia64/fpu/lgamma-compat.h: New file.
7034         * sysdeps/ia64/fpu/w_lgamma.c: Move to ....
7035         * sysdeps/ia64/fpu/w_lgamma_main.c: ...here.  Include
7036         <lgamma-compat.h>.
7037         (__ieee754_lgamma): Change to LGFUNC (lgamma).  Use CALL_LGAMMA.
7038         (__ieee754_gamma): Define as alias.
7039         * sysdeps/ia64/fpu/w_lgammaf.c: Move to ....
7040         * sysdeps/ia64/fpu/w_lgammaf_main.c: ...here.  Include
7041         <lgamma-compat.h>.
7042         (__ieee754_lgammaf): Change to LGFUNC (lgammaf).  Use CALL_LGAMMA.
7043         (__ieee754_gammaf): Define as alias.
7044         * sysdeps/ia64/fpu/w_lgammal.c: Move to ....
7045         * sysdeps/ia64/fpu/w_lgammal_main.c: ...here.  Include
7046         <lgamma-compat.h>.
7047         (__ieee754_lgammal): Change to LGFUNC (lgammal).  Use CALL_LGAMMA.
7048         (__ieee754_gammal): Define as alias.
7049         * sysdeps/ieee754/ldbl-opt/w_lgamma.c: Move to ....
7050         * sysdeps/ieee754/ldbl-opt/w_lgamma_compat.c: ...here.  Include
7051         <math/w_lgamma_compat.c>.
7052         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__lgammal_dbl_compat):
7053         Define as alias of __lgamma_compat and use in defining lgammal.
7054         * sysdeps/ieee754/ldbl-opt/w_lgammal.c: Move to ....
7055         * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c: ...here.  Include
7056         <math/lgamma-compat.h> and <math/w_lgamma_compatl.c>.
7057         (USE_AS_COMPAT): New macro.
7058         (LGAMMA_OLD_VER): Undefine and redefine.
7059         (lgammal): Do not define here.
7060         (gammal): Only define here if [GAMMA_ALIAS].
7061         * conform/linknamespace.pl (@whitelist): Remove signgam.
7062         * sysdeps/nacl/libm.abilist: Update.
7063         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
7064         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
7065         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
7066         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
7067         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
7068         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
7069         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
7070         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
7071         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
7072         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
7073         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
7074         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
7075         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
7076         Likewise.
7077         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
7078         Likewise.
7079         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
7080         Likewise.
7081         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
7082         Likewise.
7083         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
7084         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
7085         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
7086         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
7087         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
7088         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
7089         Likewise.
7090         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
7091         Likewise.
7092         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
7093         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
7094         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
7096 2015-11-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7098         [BZ #16364]
7099         * sysdeps/unix/sysv/linux/sleep.c: Remove file.
7100         * sysdeps/posix/sleep.c (__sleep): Simplify cancellation handling.
7102 2015-11-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
7104         * sysdeps/s390/fpu/bits/mathinline.h:
7105         Use __asm__ [__volatile__] instead of asm [volatile].
7106         * sysdeps/s390/abort-instr.h: Likewise.
7107         * sysdeps/s390/atomic-machine.h: Likewise.
7108         * sysdeps/s390/bits/string.h: Likewise.
7109         * sysdeps/s390/dl-tls.h: Likewise.
7110         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
7111         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
7112         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
7113         * sysdeps/s390/fpu/fesetround.c: Likewise.
7114         * sysdeps/s390/fpu/fpu_control.h: Likewise.
7115         * sysdeps/s390/fpu/s_fma.c: Likewise.
7116         * sysdeps/s390/fpu/s_fmaf.c: Likewise.
7117         * sysdeps/s390/memusage.h: Likewise.
7118         * sysdeps/s390/multiarch/ifunc-resolve.h: Likewise.
7119         * sysdeps/s390/nptl/pthread_spin_lock.c: Likewise.
7120         * sysdeps/s390/nptl/pthread_spin_trylock.c: Likewise.
7121         * sysdeps/s390/nptl/pthread_spin_unlock.c: Likewise.
7122         * sysdeps/s390/nptl/tls.h: Likewise.
7123         * sysdeps/s390/s390-32/__longjmp.c: Likewise.
7124         * sysdeps/s390/s390-32/backtrace.c: Likewise.
7125         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
7126         * sysdeps/s390/s390-32/multiarch/memcmp.c: Likewise.
7127         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
7128         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
7129         * sysdeps/s390/s390-64/__longjmp.c: Likewise.
7130         * sysdeps/s390/s390-64/backtrace.c: Likewise.
7131         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
7132         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c: Likewise.
7133         * sysdeps/s390/s390-64/multiarch/memcmp.c: Likewise.
7134         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
7135         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
7136         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Likewise.
7137         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
7138         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
7139         * sysdeps/unix/sysv/linux/s390/brk.c: Likewise.
7140         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
7141         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Likewise.
7142         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
7143         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c: Likewise.
7144         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
7145         * sysdeps/unix/sysv/linux/s390/sysconf.c: Likewise.
7147 2015-11-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7148             Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7150         * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
7151         Add lwarx hint, and use macro for acquire instruction.
7152         * sysdeps/powerpc/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
7153         Likewise.
7154         * sysdep/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Move to ...
7155         * sysdeps/powerpc/nptl/pthread_spin_unlock.c: ... here, and
7156         update to use new atomic macros.
7158 2015-11-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7160         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
7161         (__lll_trylock_elision): Fix setting of adapt_count.
7162         * sysdeps/unix/sysv/linux/powerpc/htm.h
7163         (_ABORT_PERSISTENT): Define to clarify persistent aborts.
7164         (_ABORT_NESTED_TRYLOCK): Renumber, and make persistent.
7165         (_ABORT_SYSCALL): Renumber, and clarify definition.
7166         (_ABORT_LOCK_BUSY): Renumber, make non-persistent.
7168 2015-11-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7170         * sysdeps/ieee754/ldbl-128ibm/mpn2ldl.c: Include gmp headers
7171         after system headers to prevent MIN/MAX redefinition.  Define
7172         HAVE_ALLOCA to preserve builtin alloca usage.
7174 2015-11-17  Siddhesh Poyarekar  <siddhesh.poyarekar@linaro.org>
7176         * sysdeps/ieee754/dbl-64/s_sin.c (__sin)[IN_SINCOS]: Mark function
7177         static and don't set or restore rounding.
7178         (__cos)[IN_SINCOS]: Likewise.
7179         * sysdeps/ieee754/dbl-64/s_sincos.c: Include s_sin.c.
7180         (__sincos): Set and restore rounding mode.  Remove check for infinite
7181         or NaN input.
7183         * sysdeps/ieee754/dbl-64/s_sin.c: Remove redundant else clauses.
7185         * benchtests/scripts/bench.py (_print_arg_data): Mark output variables
7186         as used.
7188 2015-11-16  Florian Weimer  <fweimer@redhat.com>
7190         * math/test-signgam-finite-c99.c (_Mlong_double_): Undefine.
7192 2015-11-14  H.J. Lu  <hongjiu.lu@intel.com>
7194         * config.make.in (have-glob-dat-reloc): New.
7195         * configure.ac (libc_cv_has_glob_dat): New.  Set to yes if
7196         target supports GLOB_DAT relocaton. AC_SUBST.
7197         * configure: Regenerated.
7198         * elf/Makefile (tests): Add tst-prelink.
7199         (tests-special): Add $(objpfx)tst-prelink-cmp.out.
7200         (tst-prelink-ENV): New.
7201         ($(objpfx)tst-prelink-conflict.out): Likewise.
7202         ($(objpfx)tst-prelink-cmp.out): Likewise.
7203         * sysdeps/x86/tst-prelink.c: Moved to ...
7204         * elf/tst-prelink.c: Here.
7205         * sysdeps/x86/tst-prelink.exp: Moved to ...
7206         * elf/tst-prelink.exp: Here.
7207         * sysdeps/x86/Makefile (tests): Don't add tst-prelink.
7208         (tst-prelink-ENV): Removed.
7209         ($(objpfx)tst-prelink-conflict.out): Likewise.
7210         ($(objpfx)tst-prelink-cmp.out): Likewise.
7211         (tests-special): Don't add $(objpfx)tst-prelink-cmp.out.
7213 2015-11-13  Joseph Myers  <joseph@codesourcery.com>
7215         [BZ #14551]
7216         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Include <errno.h>.
7217         (__mpn_construct_long_double): If high part overflows to infinity,
7218         set errno and recompute overflowed result of the correct sign.
7219         * sysdeps/ieee754/ldbl-128ibm/Makefile
7220         [$(subdir) = stdlib] (tests): Add tst-strtold-ldbl-128ibm.
7221         [$(subdir) = stdlib] ($(objpfx)tst-strtold-ldbl-128ibm): Depend on
7222         $(libm).
7223         * sysdeps/ieee754/ldbl-128ibm/tst-strtold-ldbl-128ibm.c: New file.
7225 2015-11-12  Joseph Myers  <joseph@codesourcery.com>
7227         [BZ #15479]
7228         [BZ #19238]
7229         * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Save
7230         floating-point state after first operation on input.  Restore full
7231         state rather than just rounding mode.
7232         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise.
7233         * sysdeps/powerpc/powerpc64/fpu/s_round.S (__round): Likewise.
7234         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S (__roundf): Likewise.
7236         [BZ #19235]
7237         * sysdeps/powerpc/powerpc64/fpu/s_llround.S (__llround): Do not
7238         add 0.5 to integer arguments.
7239         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S (__llroundf):
7240         Likewise.
7241         (.LC2): New object.
7243 2015-11-11  Mike Frysinger  <vapier@gentoo.org>
7245         * scripts/pylintrc (reports): Set to no.
7247 2015-11-10  Roland McGrath  <roland@hack.frob.com>
7249         * elf/dl-load.c (open_verify): Take new argument FD.
7250         Skip __open call if passed FD is not -1.
7251         (_dl_map_object, open_path): Update callers.
7252         * elf/dl-sysdep-open.h: New file.
7253         * elf/dl-load.c: Include it.
7254         (_dl_map_object): Try _dl_sysdep_open_object before ldconfig cache.
7255         * sysdeps/nacl/dl-sysdep.c (_dl_sysdep_open_object): New function.
7256         * sysdeps/nacl/dl-sysdep-open.h: New file.
7257         * sysdeps/nacl/nacl-interface-list.h: Move nacl_irt_resource_open
7258         from libc to rtld.
7260 2015-11-10  Joseph Myers  <joseph@codesourcery.com>
7262         [BZ #19228]
7263         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Save
7264         and restore full floating-point state.
7265         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
7266         Likewise.
7267         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (__nearbyint):
7268         Likewise.
7269         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S (__nearbyintf):
7270         Likewise.
7271         * math/test-nearbyint-except-2.c: New file.
7272         * math/Makefile (tests): Add test-nearbyint-except-2.
7274 2015-11-10  H.J. Lu  <hongjiu.lu@intel.com>
7276         [BZ #19178]
7277         * sysdeps/x86/Makefile (tests): Add tst-prelink.
7278         (tst-prelink-ENV): New.
7279         ($(objpfx)tst-prelink-conflict.out): Likewise.
7280         ($(objpfx)tst-prelink-cmp.out): Likewise.
7281         (tests-special): Add $(objpfx)tst-prelink-cmp.out.
7282         * sysdeps/x86/tst-prelink.c: New file.
7283         * sysdeps/x86/tst-prelink.exp: Likewise.
7285 2015-11-10  Joseph Myers  <joseph@codesourcery.com>
7287         * math/auto-libm-test-in: Add another test of pow.
7288         * math/auto-libm-test-out: Regenerated.
7289         * math/libm-test.inc (pow_test_data): Add another test.
7291 2015-11-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7293         [BZ #19219]
7294         * sysdeps/ia64/fpu/s_nearbyintl.S (__nearbyint): Define and
7295         weak_alias to nearbyintl.
7297 2015-11-10  Wilco Dijkstra  <wdijkstr@arm.com>
7299         * sysdeps/aarch64/bits/string.h: New file.
7300         (_STRING_ARCH_unaligned): Define.
7302 2015-11-10  Wilco Dijkstra  <wdijkstr@arm.com>
7304         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Remove __signbit*.
7305         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
7306         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
7307         * sysdeps/unix/sysv/linux/nios2/localplt.data: Likewise.
7308         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data: Likewise.
7310 2015-11-09  Ulrich Drepper  <drepper@gmail.com>
7312         * elf/dl-load.c (_dl_map_object_from_fd): Add additional parameter
7313         for original name of the DSO.  Add it to the name list of the DSO
7314         if it is actually given.
7315         (_dl_map_object): Keep track of whether an audit module rewrote
7316         the file name.  If yes, pass the original name to
7317         _dl_map_object_from_fd in a new parameter, otherwise NULL.  When
7318         debugging is enabled, log the change of the file name.
7319         * sysdeps/mach/hur/dl-sysdep.c: Adjust commented-out call to
7320         _dl_map_object_from_fd.
7321         * elf/Makefile: Build and run tst-audit11 and tst-audit12.
7322         * elf/tst-audit11.c: New file
7323         * elf/tst-auditmod11.c: New file.
7324         * elf/tst-audit11mod1.c: New file.
7325         * elf/tst-audit11mod2.c: New file.
7326         * elf/tst-audit11mod2.map: New file.
7327         * elf/tst-audit12.c: New file
7328         * elf/tst-auditmod12.c: New file.
7329         * elf/tst-audit12mod1.c: New file.
7330         * elf/tst-audit12mod2.c: New file.
7331         * elf/tst-audit12mod2.map: New file.
7332         * elf/tst-audit12mod3.c: New file.
7334 2015-11-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
7336         * sysdeps/s390/longjmp.c (longjmp, _longjmp, siglongjmp):
7337         Don't create weak aliases,
7338         because versioned symbols are created later.
7339         * sysdeps/s390/s390-32/setjmp.S
7340         (setjmp, _setjmp): Remove weak and rename to an unique name
7341         in SHARED case due to existing versioned symbols.
7342         * sysdeps/s390/s390-64/setjmp.S: Likewise.
7343         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S
7344         (getcontext): Create weak alias only in non SHARED case.
7345         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
7347 2015-11-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
7349         * sysdeps/unix/sysv/linux/s390/kernel-features.h:
7350         (__ASSUME_*_SYSCALL) Define new macros.
7351         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list:
7352         Remove socketcall syscalls.
7353         * sysdeps/unix/sysv/linux/accept.c (__libc_accept):
7354         Use accept4 if defined __ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL.
7355         * sysdeps/unix/sysv/linux/recv.c (__libc_recv):
7356         Use recvfrom if defined __ASSUME_RECVFROM_FOR_RECV_SYSCALL.
7357         * sysdeps/unix/sysv/linux/send.c (__libc_send):
7358         Use sendto if defined __ASSUME_SENDTO_FOR_SEND_SYSCALL.
7360 2015-11-09  Florian Weimer  <fweimer@redhat.com>
7362         [BZ #12926]
7363         Terminate process on invalid netlink response.
7364         * sysdeps/unix/sysv/linux/netlinkaccess.h
7365         (__netlink_assert_response): Declare.
7366         * sysdeps/unix/sysv/linux/netlink_assert_response.c: New file.
7367         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == inet]
7368         (sysdep_routines): Add netlink_assert_response.
7369         * sysdeps/unix/sysv/linux/check_native.c (__check_native): Call
7370         __netlink_assert_response.
7371         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Likewise.
7372         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Likewise.
7373         * sysdeps/unix/sysv/linux/Versions (GLIBC_PRIVATE): Add
7374         __netlink_assert_response.
7376 2015-11-07  H.J. Lu  <hongjiu.lu@intel.com>
7378         [BZ #19178]
7379         * elf/dl-lookup.c (RTYPE_CLASS_VALID): New.
7380         (RTYPE_CLASS_PLT): Likewise.
7381         (RTYPE_CLASS_COPY): Likewise.
7382         (RTYPE_CLASS_TLS): Likewise.
7383         (_dl_debug_bindings): Use RTYPE_CLASS_TLS and RTYPE_CLASS_VALID
7384         to set relocation type class for DL_DEBUG_PRELINK.  Keep only
7385         ELF_RTYPE_CLASS_PLT and ELF_RTYPE_CLASS_COPY bits for
7386         DL_DEBUG_PRELINK.
7388 2015-11-06  Joseph Myers  <joseph@codesourcery.com>
7390         * math/test-signgam-finite.c (RUN_TESTS): Correct messages about
7391         calls with argument -0.5.
7392         * math/test-signgam-finite-c99.c (RUN_TESTS): Likewise.
7394         * configure.ac (libc_cv_z_nodelete): Remove configure test.
7395         (libc_cv_z_nodlopen): Likewise.
7396         (libc_cv_z_initfirst): Likewise.
7397         * configure: Regenerated.
7399 2015-11-06  Florian Weimer  <fweimer@redhat.com>
7401         Simplify abilist format to be line-based.
7402         * scripts/abilist.awk: Collect descriptors in the descs variable.
7403         (emit): Write descs variable and sort it
7404         externally, with sort.
7405         * sysdeps/**/*.abilist: Convert to new format.
7407 2015-11-06  Mark Wielaard  <mjw@redhat.com>
7409         [BZ #11460]
7410         * io/Makefile (routines): Add fts64.
7411         (tests): Add tst-fts and tst-fts-lfs.
7412         (CFLAGS-fts64.c): New.
7413         * io/Versions (GLIBC_2.23): New.
7414         * io/fts.c: Replace FTS with FTSOBJ, FTSENT with FTSENTRY. Use
7415         function defines FTS_OPEN, FTS_CLOSE, FTS_READ, FTS_SET and
7416         FTS_CHILDREN. Define FTSOBJ, FTSENTRY, FTS_OPEN, FTS_CLOSE,
7417         FTS_READ, FTS_SET, FTS_CHILDREN, INO_T, STAT and LSTAT if necessary.
7418         * io/fts.h (FTS64): New if _USE_LARGEFILE64.
7419         (FTSENT64): Likewise.
7420         (fts64_children): Likewise.
7421         (fts64_close): Likewise.
7422         (fts64_open): Likewise.
7423         (fts64_read): Likewise.
7424         (fts64_set): Likewise.
7425         * io/fts64.c: New file.
7426         * io/tst-fts.c: New test.
7427         * io/tst-fts-lfs.c: Likewise.
7428         * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.23): Add
7429         GLIBC_2.23, fts64_children, fts64_close, fts64_open, fts64_read and
7430         fts64_set.
7431         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
7432         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
7433         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
7434         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
7435         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
7436         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
7437         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
7438         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
7439         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
7440         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
7441         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
7442         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
7443         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
7444         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
7445         Likewise.
7446         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
7447         Likewise.
7448         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
7449         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
7450         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
7451         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
7452         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
7453         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
7454         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
7455         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
7456         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
7457         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
7458         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
7459         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
7460         * sysdeps/wordsize-64/fts.c: New file.
7461         * sysdeps/wordsize-64/fts64.c: Likewise.
7462         * sysdeps/unix/sysv/linux/mips/mips64/n64/fts.c: Likewise.
7463         * sysdeps/unix/sysv/linux/mips/mips64/n64/fts64.c: Likewise.
7464         * sysdeps/unix/sysv/linux/x86_64/x32/fts.c: likewise.
7465         * sysdeps/unix/sysv/linux/x86_64/x32/fts64.c: likewise.
7467 2015-11-05  Joseph Myers  <joseph@codesourcery.com>
7469         * math/libm-test.inc (NON_FINITE): New macro.
7470         (enable_test): Do not run tests flagged NON_FINITE if TEST_FINITE.
7471         * math/gen-libm-test.pl (show_exceptions): Add argument
7472         $non_finite.
7473         (parse_args): Update call to show_exceptions.
7474         * math/test-math-finite.h: New file.
7475         * math/test-math-no-finite.h: Likewise.
7476         * math/test-double-finite.c: Likewise.
7477         * math/test-float-finite.c: Likewise.
7478         * math/test-ldouble-finite.c: Likewise.
7479         * math/test-double.c: Include "test-math-no-finite.h".
7480         * math/test-float.c: Include "test-math-no-finite.h".
7481         * math/test-ldouble.c: Include "test-math-no-finite.h".
7482         * math/test-math-inline.h (TEST_FINITE): New macro.
7483         * math/test-math-vector.h (TEST_FINITE): Likewise.
7484         * math/Makefile (test-longdouble-yes): Add test-ldouble-finite.
7485         (libm-tests): Add test-float-finite and test-double-finite.
7486         ($(objpfx)test-float-finite.o): New dependency on
7487         $(objpfx)libm-test.stmp.
7488         ($(objpfx)test-double-finite.o): Likewise.
7489         ($(objpfx)test-ldouble-finite.o): Likewise.
7490         (libm-test-no-inline-cflags): New variable.
7491         (libm-test-finite-cflags): Likewise.
7492         (CFLAGS-test-float-finite.c): Likewise.
7493         (CFLAGS-test-double-finite.c): Likewise.
7494         (CFLAGS-test-ldouble-finite.c): Likewise.
7495         (CFLAGS-test-float.c): Use $(libm-test-no-inline-cflags).
7496         (CFLAGS-test-double.c): Likewise.
7497         (CFLAGS-test-ldouble.c): Likewise.
7499 2015-11-05  Roland McGrath  <roland@hack.frob.com>
7501         * io/fcntl.c (__fcntl): Add ... to prototype.
7502         * misc/ioctl.c (__ioctl): Likewise.
7503         * misc/syscall.c (syscall): Likewise.
7505 2015-11-05  Joseph Myers  <joseph@codesourcery.com>
7507         * scripts/list-fixed-bugs.py: New file.
7509         [BZ #19213]
7510         * sysdeps/i386/fpu/e_log.S (__log_finite): Ensure +0 is always
7511         returned for argument 1.
7512         * sysdeps/i386/fpu/e_logf.S (__logf_finite): Likewise.
7513         * sysdeps/i386/fpu/e_logl.S (__logl_finite): Likewise.
7514         * sysdeps/i386/i686/fpu/e_logl.S (__logl_finite): Likewise.
7515         * sysdeps/x86_64/fpu/e_log10l.S (__log10l_finite): Likewise.
7516         * sysdeps/x86_64/fpu/e_log2l.S (__log2l_finite): Likewise.
7517         * sysdeps/x86_64/fpu/e_logl.S (__logl_finite): Likewise.
7519         [BZ #19211]
7520         * math/bits/math-finite.h (lgamma): Set signgam if [__USE_MISC ||
7521         __USE_XOPEN], not if [!__USE_ISOC99].
7522         (lgammaf): Likewise.
7523         (lgammal): Likewise.
7524         (gamma): Set signgam unconditionally, not if [!__USE_ISOC99].
7525         (gammaf): Likewise.
7526         (gammal): Likewise.
7527         * math/test-signgam-finite-c11.c: New file.
7528         * math/test-signgam-finite-c99.c: Likewise.
7529         * math/test-signgam-finite.c: Likewise.
7530         * math/Makefile (tests): Add test-signgam-finite,
7531         test-signgam-finite-c99 and test-signgam-finite-c11.
7532         (CFLAGS-test-signgam-finite.c): New variable.
7533         (CFLAGS-test-signgam-finite-c99.c): Likewise.
7534         (CFLAGS-test-signgam-finite-c11.c): Likewise.
7536         [BZ #19212]
7537         * include/features.h [(_XOPEN_SOURCE - 0) >= 500]: Change
7538         conditional to [defined _XOPEN_SOURCE && (_XOPEN_SOURCE - 0) >=
7539         500].
7540         [_POSIX_C_SOURCE >= 1]: Change conditional to [defined
7541         _POSIX_C_SOURCE && _POSIX_C_SOURCE >= 1].
7542         [(_POSIX_C_SOURCE - 0) >= 199309L]: Change conditional to [defined
7543         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199309L].
7544         [(_POSIX_C_SOURCE - 0) >= 199506L]: Change conditional to [defined
7545         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199506L].
7546         [(_POSIX_C_SOURCE - 0) >= 200112L]: Change conditional to [defined
7547         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200112L].
7548         [(_POSIX_C_SOURCE - 0) >= 200809L]: Change conditional to [defined
7549         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200809L].
7551         [BZ #19209]
7552         * math/bits/math-finite.h (ldexp): Remove declaration.
7553         (ldexpf): Likewise.
7554         (ldexpl): Likewise.
7556         [BZ #19205]
7557         * math/bits/math-finite.h (acosf): Condition declaration on
7558         [__USE_ISOC99].
7559         (acosl): Likewise.
7560         (acoshf): Likewise.
7561         (acoshl): Likewise.
7562         (asinf): Likewise.
7563         (asinl): Likewise.
7564         (atan2f): Likewise.
7565         (atan2l): Likewise.
7566         (atanhf): Likewise.
7567         (atanhl): Likewise.
7568         (coshf): Likewise.
7569         (coshl): Likewise.
7570         (expf): Likewise.
7571         (expl): Likewise.
7572         (fmodf): Likewise.
7573         (fmodl): Likewise.
7574         (hypot): Change condition to [__USE_XOPEN || __USE_ISOC99].
7575         (j0f): Change condition to [__USE_MISC && __USE_ISOC99].
7576         (j0l): Likewise.
7577         (y0f): Likewise.
7578         (y0l): Likewise.
7579         (j1f): Likewise.
7580         (j1l): Likewise.
7581         (y1f): Likewise.
7582         (y1l): Likewise.
7583         (jnf): Likewise.
7584         (jnl): Likewise.
7585         (ynf): Likewise.
7586         (ynl): Likewise.
7587         (lgammaf_r): Condition declaration on [__USE_ISOC99].
7588         (lgammal_r): Likewise.
7589         (__lgamma_r_finite): New declaration.
7590         (__lgammaf_r_finite): Likewise.
7591         (__lgammal_r_finite): Likewise.
7592         (lgamma): Use __lgamma_r_finite.
7593         (lgammaf): Condition definition on [__USE_ISOC99].  Use
7594         __lgammaf_r_finite.
7595         (lgammal): Condition definition on [__USE_ISOC99].  Use
7596         __lgammal_r_finite.
7597         (gamma): Do not define for [!__USE_MISC && __USE_XOPEN2K].  Use
7598         __lgamma_r_finite.
7599         (gammaf): Condition definition on [__USE_ISOC99].  Use
7600         __lgammaf_r_finite.
7601         (gammal): Condition definition on [__USE_ISOC99].  Use
7602         __lgammal_r_finite.
7603         (logf): Condition declaration on [__USE_ISOC99].
7604         (logl): Likewise.
7605         (log10f): Likewise.
7606         (log10l): Likewise.
7607         (ldexpf): Likewise.
7608         (ldexpl): Likewise.
7609         (powf): Likewise.
7610         (powl): Likewise.
7611         (remainder): Condition declaration on [__USE_XOPEN_EXTENDED ||
7612         __USE_ISOC99].
7613         (remainderf): Condition declaration on [__USE_ISOC99].
7614         (remainderl): Likewise.
7615         (scalb): Do not declare for [!__USE_MISC && __USE_XOPEN2K8].
7616         (scalbf): Change condition to [__USE_MISC && __USE_ISOC99].
7617         (scalbl): Likewise.
7618         (sinhf): Condition declaration on [__USE_ISOC99].
7619         (sinhl): Likewise.
7620         (sqrtf): Likewise.
7621         (sqrtl): Likewise.
7623 2015-11-04  Joseph Myers  <joseph@codesourcery.com>
7625         * sysdeps/arm/atomic-machine.h
7626         [__GNUC_PREREQ (4, 7) && __GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
7627         Change conditional to [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
7628         [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4 && !__GNUC_PREREQ (4, 7)]:
7629         Remove conditional code.
7630         [!__GNUC_PREREQ (4, 7) || !__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
7631         Change conditional to [!__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
7632         * sysdeps/i386/sysdep.h [__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]:
7633         Change conditional to [__ASSEMBLER__].
7634         [__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
7635         [!__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]: Change conditional to
7636         [!__ASSEMBLER__].
7637         [!__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional
7638         code.
7639         * sysdeps/unix/sysv/linux/sh/atomic-machine.h (rNOSP): Remove
7640         conditional macro definitions.
7641         (__arch_compare_and_exchange_val_8_acq): Use "u" instead of rNOSP.
7642         (__arch_compare_and_exchange_val_16_acq): Likewise.
7643         (__arch_compare_and_exchange_val_32_acq): Likewise.
7644         (atomic_exchange_and_add): Likewise.
7645         (atomic_add): Likewise.
7646         (atomic_add_negative): Likewise.
7647         (atomic_add_zero): Likewise.
7648         (atomic_bit_set): Likewise.
7649         (atomic_bit_test_set): Likewise.
7650         * sysdeps/x86_64/atomic-machine.h [__GNUC_PREREQ (4, 7)]: Make
7651         code unconditional.
7652         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
7654         * math/test-math-errno.h: New file.
7655         * math/test-math-inline.h (TEST_INLINE): Define to 1 instead of
7656         empty.
7657         (TEST_ERRNO): New macro.
7658         (TEST_EXCEPTIONS): Likewise.
7659         * math/test-math-no-inline.h (TEST_INLINE): Likewise.
7660         (TEST_EXCEPTIONS): Likewise.
7661         * math/test-math-vector.h (TEST_ERRNO): Likewise.
7662         * math/test-double.c: Include "test-math-errno.h".
7663         * math/test-float.c: Likewise.
7664         * math/test-ldouble.c: Likewise.
7665         * math/libm-test.inc (test_single_exception) [!TEST_INLINE]: Make
7666         code unconditional.
7667         (test_exceptions): Only run code if TEST_EXCEPTIONS.
7668         (test_single_errno) [!TEST_INLINE && !TEST_MATHVEC]: Make code
7669         unconditional.
7670         (test_errno): Only run code if TEST_ERRNO.
7671         (enable_test): Use "if" conditional on TEST_INLINE, not #ifdef.
7673 2015-11-04  Florian Weimer  <fweimer@redhat.com>
7675         * nptl/tst-once5.cc: Remove attribution.
7677 2015-11-04  Joseph Myers  <joseph@codesourcery.com>
7679         * math/auto-libm-test-in: Add more tests of sin, sincos, sinh,
7680         sqrt, tan, tanh, y0, y1 and yn.
7681         * math/auto-libm-test-out: Regenerated.
7682         * math/libm-test.inc (scalb_test_data): Add more tests.
7683         (scalbn_test_data): Likewise.
7684         (scalbln_test_data): Likewise.
7685         (signbit_test_data): Likewise.
7686         (sin_test_data): Likewise.
7687         (sincos_test_data): Likewise.
7688         (sinh_test_data): Likewise.
7689         (sqrt_test_data): Likewise.
7690         (tan_test_data): Likewise.
7691         (tanh_test_data): Likewise.
7692         (tgamma_test_data): Likewise.
7693         (y0_test_data): Likewise.
7694         (y1_test_data): Likewise.
7695         (yn_test_data): Likewise.
7696         (significand_test_data): Likewise.
7697         * sysdeps/i386/fpu/libm-test-ulps: Update.
7699 2015-11-03  David Kastrup  <dak@gnu.org>
7701         [BZ #18604]
7702         * assert/assert.h (assert): Don't macro-expand failed assertion
7703         expression in error message.
7704         * malloc/malloc.c (assert): Likewise.
7706 2015-11-03  Joseph Myers  <joseph@codesourcery.com>
7708         * configure.ac (libc_cv_ld_no_whole_archive): Remove configure
7709         test.
7710         * configure: Regenerated.
7712 2015-11-02  Joseph Myers  <joseph@codesourcery.com>
7714         * math/libm-test.inc (modf_test_data): Add more tests.
7715         (nearbyint_test_data): Likewise.
7716         (nextafter_test_data): Likewise.
7717         (nexttoward_test_data): Likewise.
7718         (pow_test_data): Likewise.
7719         (remainder_test_data): Likewise.
7720         (remquo_test_data): Likewise.
7721         (rint_test_data): Likewise.
7723         [BZ #19201]
7724         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
7725         Check for zero remainder in case of large exponents and ensure
7726         correct sign of result in that case.
7727         * math/libm-test.inc (remainder_test_data): Add more tests.
7729         [BZ #6799]
7730         * math/s_nextafter.c: Include <errno.h>.
7731         (__nextafter): Set errno on overflow and underflow.
7732         * math/s_nexttowardf.c: Include <errno.h>.
7733         (__nexttowardf): Set errno on overflow and underflow.
7734         * sysdeps/i386/fpu/s_nextafterl.c: Include <errno.h>.
7735         (__nextafterl): Set errno on overflow and underflow.
7736         * sysdeps/i386/fpu/s_nexttoward.c: Include <errno.h>.
7737         (__nexttoward): Set errno on overflow and underflow.
7738         * sysdeps/i386/fpu/s_nexttowardf.c: Include <errno.h>.
7739         (__nexttowardf): Set errno on overflow and underflow.
7740         * sysdeps/ieee754/flt-32/s_nextafterf.c: Include <errno.h>.
7741         (__nextafterf): Set errno on overflow and underflow.
7742         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Include <errno.h>.
7743         (__nextafterl): Set errno on overflow and underflow.
7744         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Include <errno.h>.
7745         (__nexttoward): Set errno on overflow and underflow.
7746         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Include <errno.h>.
7747         (__nexttowardf): Set errno on overflow and underflow.
7748         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <errno.h>.
7749         (__nextafterl): Set errno on overflow and underflow.
7750         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Include <errno.h>.
7751         (__nexttoward): Set errno on overflow and underflow.
7752         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Include <errno.h>.
7753         (__nexttowardf): Set errno on overflow and underflow.
7754         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Include <errno.h>.
7755         (__nexttoward): Set errno on overflow and underflow.
7756         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Include <errno.h>.
7757         (__nexttowardf): Set errno on overflow and underflow.
7758         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c: Include <errno.h>.
7759         (__nldbl_nexttowardf): Set errno on overflow and underflow.
7760         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c: Include <errno.h>.
7761         (__nextafterl): Set errno on overflow and underflow.
7762         * math/libm-test.inc (nextafter_test_data): Do not allow errno
7763         setting to be missing on overflow.  Add more tests.
7764         (nexttoward_test_data): Likewise.
7766         * configure.ac (libc_cv_initfini_array): Remove configure test.
7767         * configure: Regenerated.
7769 2015-10-29  Joseph Myers  <joseph@codesourcery.com>
7771         [BZ #19189]
7772         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Make check for
7773         non-finite argument handle arguments with negative sign.
7775         * math/libm-test.inc (j0_test_data): Do not test sign of zero
7776         result from infinite argument.
7777         (j1_test_data): Likewise.
7778         (jn_test_data): Likewise.
7779         (y0_test_data): Likewise.
7780         (y1_test_data): Likewise.
7781         (yn_test_data): Likewise.
7783         [BZ #16171]
7784         * math/w_remainder.c (drem): Define as weak alias of __remainder.
7785         [NO_LONG_DOUBLE] (dreml): Define as weak alias of __remainder.
7786         * math/w_remainderf.c (dremf): Define as weak alias of
7787         __remainderf.
7788         * math/w_remainderl.c (dreml): Define as weak alias of
7789         __remainderl.
7790         * sysdeps/ia64/fpu/e_remainder.S (drem): Define as weak alias of
7791         __remainder.
7792         * sysdeps/ia64/fpu/e_remainderf.S (dremf): Define as weak alias of
7793         __remainderf.
7794         * sysdeps/ia64/fpu/e_remainderl.S (dreml): Define as weak alias of
7795         __remainderl.
7796         * sysdeps/ieee754/ldbl-opt/nldbl-remainder.c (dreml): Define as
7797         weak alias of remainderl.
7798         * sysdeps/ieee754/ldbl-opt/w_remainder.c
7799         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__drem): Define as strong
7800         alias of __remainder.
7801         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (dreml): Use compat_symbol.
7802         * sysdeps/ieee754/ldbl-opt/w_remainderl.c (__dreml): Define as
7803         strong alias of __remainderl.
7804         (dreml): Use long_double_symbol.
7805         * math/Makefile (libm-calls): Remove w_drem.
7806         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Remove drem.
7807         (CFLAGS-nldbl-drem.c): Remove variable.
7808         (CFLAGS-nldbl-remainder.c): Add -fno-builtin-dreml.
7809         * math/w_drem.c: Remove file.
7810         * math/w_dremf.c: Likewise.
7811         * math/w_dreml.c: Likewise.
7812         * sysdeps/ieee754/ldbl-opt/nldbl-drem.c: Likewise.
7813         * sysdeps/ieee754/ldbl-opt/w_drem.c: Likewise.
7814         * sysdeps/ieee754/ldbl-opt/w_dreml.c: Likewise.
7816         * sysdeps/i386/configure.ac (cpuid.h): Do not test for header.
7817         * sysdeps/i386/configure: Regenerated.
7818         * sysdeps/x86_64/configure.ac (cpuid.h): Do not test for header.
7819         * sysdeps/x86_64/configure: Regenerated.
7821         * configure.ac (libc_cv_asm_protected_directive): Remove configure
7822         test.
7823         (libc_cv_visibility_attribute): Likewise.
7824         (libc_cv_protected_data): Test unconditionally.
7825         (libc_cv_broken_visibility_attribute): Remove configure test.
7826         (libc_cv_have_sdata_section): Test unconditionally.
7827         * configure: Regenerated.
7829         * include/libc-internal.h (libc_max_align_t): Remove typedef.
7830         * include/scratch_buffer.h: Include <stddef.h> instead of
7831         <libc-internal.h>.
7832         (struct scratch_buffer): Use max_align_t instead of
7833         libc_max_align_t.
7835 2015-10-29  Florian Weimer  <fweimer@redhat.com>
7837         * elf/dl-fini.c (_dl_fini): Rewrite to use variable-length array
7838         instead of extend_alloca.  Change control flow to avoid a goto.
7839         Remove assert which is trivially always true.
7841 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
7843         [BZ #16068]
7844         * sysdeps/i386/fpu/fesetenv.c: Include <fpu_control.h>.
7845         (FE_ALL_EXCEPT_X86): New macro.
7846         (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
7847         FE_ALL_EXCEPT.  Ensure precision control is included in
7848         floating-point state.  Ensure that FE_DFL_ENV and FE_NOMASK_ENV
7849         handle "denormal operand exception" and clear FZ and DAZ bits.
7850         * sysdeps/x86_64/fpu/fesetenv.c: Include <fpu_control.h>.
7851         (FE_ALL_EXCEPT_X86): New macro.
7852         (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
7853         FE_ALL_EXCEPT.  Ensure precision control is included in
7854         floating-point state.  Ensure that FE_DFL_ENV and FE_NOMASK_ENV
7855         handle "denormal operand exception" and clear FZ and DAZ bits.
7856         * sysdeps/x86/fpu/test-fenv-sse-2.c: New file.
7857         * sysdeps/x86/fpu/test-fenv-x87.c: Likewise.
7858         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
7859         test-fenv-x87 and test-fenv-sse-2.
7860         [$(subdir) = math] (CFLAGS-test-fenv-sse-2.c): New variable.
7862         * math/libm-test.inc (BUILD_COMPLEX): Remove macro.
7863         * math/test-double.h (BUILD_COMPLEX): New macro.
7864         * math/test-float.h (BUILD_COMPLEX): Likewise.
7865         * math/test-ldouble.h (BUILD_COMPLEX): Likewise.
7867         * math/libm-test.inc (min_subnorm_value): Use LDBL_TRUE_MIN,
7868         DBL_TRUE_MIN and FLT_TRUE_MIN instead of __LDBL_DENORM_MIN__,
7869         __DBL_DENORM_MIN__ and __FLT_DENORM_MIN__.
7870         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Refer to DBL_TRUE_MIN
7871         instead of DBL_DENORM_MIN in comment.
7872         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Refer to
7873         LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
7874         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <float.h>.
7875         (__nextafterl): Use LDBL_TRUE_MIN instead of __LDBL_DENORM_MIN__.
7876         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Refer to
7877         LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
7879 2015-10-28  Florian Weimer  <fweimer@redhat.com>
7881         [BZ# 19048]
7882         * malloc/malloc.c (struct malloc_state): Update comment.  Add
7883         attached_threads member.
7884         (main_arena): Initialize attached_threads.
7885         * malloc/arena.c (list_lock): Update comment.
7886         (ptmalloc_lock_all, ptmalloc_unlock_all): Likewise.
7887         (ptmalloc_unlock_all2): Reinitialize arena reference counts.
7888         (deattach_arena): New function.
7889         (_int_new_arena): Initialize arena reference count and deattach
7890         replaced arena.
7891         (get_free_list, reused_arena): Update reference count and deattach
7892         replaced arena.
7893         (arena_thread_freeres): Update arena reference count and only put
7894         unreferenced arenas on the free list.
7896 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
7898         [BZ #19181]
7899         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Clear already-raised
7900         SSE exceptions when argument is FE_DFL_ENV or FE_NOMASK_ENV.
7901         * sysdeps/x86_64/fpu/fesetenv.c (__fesetenv): Likewise.
7902         * math/test-fenv-clear-main.c: New file.
7903         * math/test-fenv-clear.c: Likewise.
7904         * math/Makefile (tests): Add test-fenv-clear.
7905         * sysdeps/x86/fpu/test-fenv-clear-sse.c: New file.
7906         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
7907         test-fenv-clear-sse.
7908         [$(subdir) = math] (CFLAGS-test-fenv-clear-sse.c): New variable.
7910         * math/libm-test.inc (TYPE_DECIMAL_DIG): Use LDBL_DECIMAL_DIG,
7911         DBL_DECIMAL_DIG and FLT_DECIMAL_DIG instead of __DECIMAL_DIG__,
7912         __DBL_DECIMAL_DIG__ and __FLT_DECIMAL_DIG__.
7914 2015-10-28  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
7916         * sysdeps/powerpc/libc-tls.c: New file. Provides __tls_get_addr () in
7917         static libc.
7919 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
7921         * sysdeps/i386/configure.ac (libc_cv_cc_avx2): Remove configure
7922         test.
7923         * sysdeps/i386/configure: Regenerated.
7924         * sysdeps/x86_64/configure.ac (libc_cv_cc_avx2): Remove configure
7925         test.
7926         * sysdeps/x86_64/configure: Regenerated.
7927         * config.h.in (HAVE_AVX2_SUPPORT): Remove #undef.
7928         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
7929         memset-avx2 unconditionally instead of conditionally on
7930         [$(config-cflags-avx2) = yes].
7931         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
7932         (__libc_ifunc_impl_list) [HAVE_AVX2_SUPPORT]: Make code
7933         unconditional.
7934         * sysdeps/x86_64/multiarch/memset.S [HAVE_AVX2_SUPPORT]: Likewise.
7935         * sysdeps/x86_64/multiarch/memset_chk.S
7936         [IS_IN (libc) && SHARED && HAVE_AVX2_SUPPORT]: Change conditional
7937         to [IS_IN (libc) && SHARED].
7939 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
7941         * sysdeps/arm/configure.ac (libc_cv_arm_tls_desc): Remove
7942         configure test.
7943         * sysdeps/arm/configure: Regenerated.
7944         * sysdeps/arm/Makefile [!have-arm-tls-desc] (have-arm-tls-desc):
7945         Define variable if not already defined.
7947         [BZ #17404]
7948         * sysdeps/mips/atomic-machine.h
7949         [__GNUC_PREREQ (4, 8) || (__mips16 && __GNUC_PREREQ (4, 7))]:
7950         Change conditional to [__GNUC_PREREQ (4, 8) || __mips16].
7951         [__mips16 && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
7953         * resolv/res_send.c (send_vc) [__GNUC_PREREQ (4, 7)]: Make code
7954         unconditional.
7955         * soft-fp/fmadf4.c [__GNUC_PREREQ (4, 7)]: Likewise.
7956         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
7957         * soft-fp/fmasf4.c [__GNUC_PREREQ (4, 7)]: Make code
7958         unconditional.
7959         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
7960         * soft-fp/fmatf4.c [__GNUC_PREREQ (4, 7)]: Make code
7961         unconditional.
7962         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
7963         * stdlib/setenv.c
7964         [((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7)]: Make
7965         code unconditional.
7966         [!(((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7))]:
7967         Remove conditional code.
7968         * sysdeps/ieee754/dbl-64/e_lgamma_r.c
7969         (__ieee754_lgamma_r) [__GNUC_PREREQ (4, 7)]: Make code
7970         unconditional.
7971         (__ieee754_lgamma_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
7972         code.
7973         * sysdeps/ieee754/flt-32/e_lgammaf_r.c
7974         (__ieee754_lgammaf_r) [__GNUC_PREREQ (4, 7)]: Make code
7975         unconditional.
7976         (__ieee754_lgammaf_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
7977         code.
7978         * sysdeps/ieee754/ldbl-128/k_tanl.c
7979         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
7980         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
7981         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c
7982         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
7983         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
7984         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c
7985         (__ieee754_lgammal_r) [__GNUC_PREREQ (4, 7)]: Make code
7986         unconditional.
7987         (__ieee754_lgammal_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
7988         code.
7989         * sysdeps/ieee754/ldbl-96/k_tanl.c
7990         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
7991         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
7993         * nptl/tst-initializers1-c11.c: New file.
7994         * nptl/tst-initializers1-gnu11.c: Likewise.
7995         * nptl/Makefile (tests): Add these new tests.
7996         (CFLAGS-tst-initializers1-c11.c): New variable.
7997         (CFLAGS-tst-initializers1-gnu11.c): Likewise.
7999         * Makeconfig (CFLAGS): Use -std=gnu11 instead of -std=gnu99.
8000         * Makefile ($(objpfx)c++-types-check.out): Filter out -std=gnu11
8001         instead of -std=gnu99.
8002         * configure.ac (systemtap): Test with -std=gnu11 instead of
8003         -std=gnu99.
8004         * configure: Regenerated.
8005         * math/gen-auto-libm-tests.c: Use -std=gnu11 instead of -std=gnu99
8006         in compilation command in comment.
8008         * sysdeps/nptl/configure.ac: Remove file.
8009         * sysdeps/nptl/configure: Remove generated file.
8010         * configure.ac (libc_cv_forced_unwind): Do not substitute.
8011         * configure: Regenerated.
8012         * config.h.in (HAVE_FORCED_UNWIND): Remove #undef.
8013         * config.make.in (have-forced-unwind): Remove variable.
8014         * nptl/Makefile [$(have-forced-unwind) = yes]: Make code
8015         unconditional.
8016         * nptl/descr.h [HAVE_FORCED_UNWIND]: Likewise.
8017         * nptl/unwind.c [HAVE_FORCED_UNWIND]: Likewise.
8018         (__pthread_unwind) [!HAVE_FORCED_UNWIND]: Remove conditional code.
8019         * nptl/version.c [HAVE_FORCED_UNWIND]: Make code unconditional.
8020         * sysdeps/nptl/Makefile [$(have-forced-unwind) = yes]: Make code
8021         unconditional.
8023 2015-10-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
8025         [BZ #19174]
8026         * sysdeps/powerpc/nptl/elide.h (__elide_lock): Fix usage of
8027         .skip_lock_out_of_tbegin_retries.
8028         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
8029         (__lll_lock_elision): Likewise, and respect a value of
8030         try_tbegin <= 0.
8032 2015-10-27  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
8034         * elf/dl-support.c (_dl_aux_init): Added AT_PLATFORM to the case
8035         statement.
8037 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
8039         * conform/Makefile (test-xfail-ISO11/complex.h/conform): Remove
8040         variable.
8041         (test-xfail-ISO11/stdalign.h/conform): Likewise.
8042         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
8044         * conform/GlibcConform.pm ($CFLAGS{"ISO11"}): Use -std=c11 instead
8045         of -std=c1x -D_ISOC11_SOURCE.
8047         * configure.ac (libc_cv_compiler_ok): Require GCC 4.7 or later.
8048         * configure: Regenerated.
8049         * manual/install.texi (Tools for Compilation): Document
8050         requirement for GCC 4.7 or later.
8051         * INSTALL: Regenerated.
8053 2015-10-27  Ludovic Courtès  <ludo@gnu.org>
8055         * locale/loadlocale.c (_nl_intern_locale_data): Change assertion
8056         on CNT to a conditional jump to 'puntdata'.
8058 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
8060         * configure.ac (libc_cv_gcc___thread): Remove configure test.
8061         (libc_cv_gcc_tls_model_attr): Likewise.
8062         * configure: Regenerated.
8064         * configure.ac (libc_cv_need_minus_P): Remove configure test.
8065         * configure: Regenerated.
8066         * Makeconfig (asm-CPPFLAGS): Remove reference to -P in comment.
8068 2015-10-26  Joseph Myers  <joseph@codesourcery.com>
8070         * configure.ac (old_glibc_headers): Remove configure test.
8071         * configure: Regenerated.
8072         * config.make.in (old-glibc-headers): Remove variable.
8073         * Makefile [!$(install_root) && $(old-glibc-headers) = yes]
8074         (install): Remove dependency on remove-old-headers.
8075         (headers2_0): Remove variable.
8076         (remove-old-headers): Remove rule.
8078         * configure.ac (libc_cv_dot_text): Remove configure test.
8079         (libc_cv_asm_set_directive): Use .text instead of
8080         ${libc_cv_dot_text} in configure test.
8081         * configure: Regenerated.
8083 2015-10-26  Florian Weimer  <fweimer@redhat.com>
8085         [BZ #19168]
8086         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
8088 2015-10-26  Florian Weimer  <fweimer@redhat.com>
8090         * configure.ac (CXX): Clear the variable if the C++ toolchain does
8091         not support static linking.
8092         * configure: Regenerate.
8094 2015-10-23  Joseph Myers  <joseph@codesourcery.com>
8096         * math/libm-test.inc (check_float_internal): Do not special-case
8097         errors up to 0.5 ulp.
8099         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
8100         log2.
8101         * math/auto-libm-test-out: Regenerated.
8102         * math/libm-test.inc (MAX_EXP): New macro.
8103         (ilogb_test_data): Add more tests.
8104         (isfinite_test_data): Likewise.
8105         (isgreater_test_data): Likewise.
8106         (isgreaterequal_test_data): Likewise.
8107         (isinf_test_data): Likewise.
8108         (isless_test_data): Likewise.
8109         (islessequal_test_data): Likewise.
8110         (islessgreater_test_data): Likewise.
8111         (isnan_test_data): Likewise.
8112         (isnormal_test_data): Likewise.
8113         (issignaling_test_data): Likewise.
8114         (isunordered_test_data): Likewise.
8115         (j0_test_data): Likewise.
8116         (j1_test_data): Likewise.
8117         (jn_test_data): Likewise.
8118         (lgamma_test_data): Likewise.
8119         (log_test_data): Likewise.
8120         (log10_test_data): Likewise.
8121         (log1p_test_data): Likewise.
8122         (log2_test_data): Likewise.
8123         (logb_test_data): Likewise.
8124         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8126         [BZ #18611]
8127         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Set errno and
8128         avoid excess range and precision on underflow.
8129         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
8130         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Likewise.
8131         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
8132         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Set errno on
8133         underflow.
8134         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
8135         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
8136         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
8137         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
8138         * math/auto-libm-test-in: Do not allow missing errno setting for
8139         tests of j1 and jn.
8140         * math/auto-libm-test-out: Regenerated.
8142 2015-10-22  Joseph Myers  <joseph@codesourcery.com>
8144         [BZ #15491]
8145         * sysdeps/i386/fpu/s_nearbyint.S (__nearbyint): Save and restore
8146         floating-point environment instead of clearing all exceptions.
8147         * sysdeps/i386/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
8148         * sysdeps/i386/fpu/s_nearbyintl.S (__nearbyintl): Likewise,
8149         merging in "invalid" exceptions from frndint.
8150         * sysdeps/x86_64/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
8151         * math/test-nearbyint-except.c: New file.
8152         * math/Makefile (tests): Add test-nearbyint-except.
8154 2015-10-22  Chris Metcalf  <cmetcalf@ezchip.com>
8156         * NEWS: Mention bug 18699 fixed by commit fe8c2b33aed0.
8158         * sysdeps/tile/libm-test-ulps: Regenerated.
8160 2015-10-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8162         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c
8163         (__NR_sync_file_range2): Assume it is always defined.
8164         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
8165         (__NR_sync_file_range): Assume it is always defined.
8167 2015-10-22  Andreas Schwab  <schwab@suse.de>
8169         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
8170         INTERNAL_SYSCALL_ERRNO.
8171         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
8172         * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
8173         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
8174         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
8175         Likewise.
8176         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
8178 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
8180         * io/tst-fcntl.c (fd): New static variable.
8181         (do_prepare): Open temporary file here....
8182         (do_test): ...not here.
8184         * io/ftwtest-sh: Also trap on exit to remove temporary files.
8186 2015-10-21  H.J. Lu  <hongjiu.lu@intel.com>
8188         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: Replace
8189         __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
8190         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
8191         Moved before "#ifdef __ASSEMBLER__".
8193 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
8195         [BZ #19156]
8196         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Return 1 for
8197         arguments very close to 0.
8199 2015-10-21  Chris Metcalf  <cmetcalf@ezchip.com>
8201         * sysdeps/unix/sysv/linux/tile/sysdep.h (PSEUDO_END)
8202         (PSEUDO_NOERRNO, PSEUDO_END_NOERRNO): Undef before defining.
8204 2015-10-21  H.J. Lu  <hongjiu.lu@intel.com>
8206         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
8207         New.  Defined for GCC 5 and above when not compiling for
8208         profiling.
8209         Replace __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
8211         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
8212         Renamed to ...
8213         (CFLAGS-epoll_pwait.o): This.
8214         (CFLAGS-mmap.c): Renamed to ...
8215         (CFLAGS-mmap.o): This.
8216         (CFLAGS-mmap64.c): Renamed to ...
8217         (CFLAGS-mmap64.o): This.
8218         (CFLAGS-epoll_pwait.os): New.
8219         (CFLAGS-mmap.os): Likewise.
8220         (CFLAGS-mmap64.os): Likewise.
8221         (CFLAGS-semtimedop.os): Likewise.
8222         (CFLAGS-semtimedop.c): Renamed to ...
8223         (CFLAGS-semtimedop.o): This.
8225 2015-10-21  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
8227         * debug/tst-backtrace4.c (handle_signal): Fix a comment and
8228         warning message.
8230 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
8232         * Makeconfig (+gccwarn-c): Add -Wold-style-definition.
8233         * Makefile ($(objpfx)c++-types-check.out): Filter out
8234         $(+gccwarn-c) instead of -Wstrict-prototypes.
8236         * io/fts.c (fts_open): Convert to prototype-style function
8237         definition.
8238         * malloc/mcheck.c (mcheck): Likewise.
8239         (mcheck_pedantic): Likewise.
8240         * posix/regexec.c (re_search_2_stub): Likewise.  Use
8241         internal_function.
8242         (re_search_internal): Likewise.
8243         * resolv/res_init.c [RESOLVSORT] (net_mask): Convert to
8244         prototype-style function definition.
8245         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
8246         * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
8247         * sunrpc/rpcsvc/rusers.x (xdr_utmp): Likewise.
8248         (xdr_utmpptr): Likewise.
8249         (xdr_utmparr): Likewise.
8250         (xdr_utmpidle): Likewise.
8251         (xdr_utmpidleptr): Likewise.
8252         (xdr_utmpidlearr): Likewise.
8254         * math/auto-libm-test-in: Add more tests of hypot, j0, j1, jn,
8255         log, log10 and log2.
8256         * math/auto-libm-test-out: Regenerated.
8257         * math/libm-test.inc (fmod_test_data): Add more tests.
8258         (fpclassify_test_data): Likewise.
8259         (frexp_test_data): Likewise.
8260         (hypot_test_data): Likewise.
8261         (ilogb_test_data): Likewise.
8263 2015-10-20  Joseph Myers  <joseph@codesourcery.com>
8265         * debug/fortify_fail.c (__fortify_fail): Convert to
8266         prototype-style function definition.  Use internal_function.
8267         * libio/genops.c (save_for_backup): Convert to prototype-style
8268         function definition.
8269         * libio/wgenops.c (save_for_wbackup): Likewise.
8270         * login/grantpt.c (grantpt): Likewise.
8271         * login/ptsname.c (ptsname): Likewise.
8272         (__ptsname_r): Likewise.
8273         * login/unlockpt.c (unlockpt): Likewise.
8274         * mach/msgserver.c (__mach_msg_server): Likewise.
8275         * misc/efgcvt.c (__APPEND (FUNC_PREFIX, fcvt)): Likewise.
8276         (__APPEND (FUNC_PREFIX, ecvt)): Likewise.
8277         (__APPEND (FUNC_PREFIX, gcvt)): Likewise.
8278         * misc/efgcvt_r.c (__APPEND (FUNC_PREFIX, fcvt_r)): Likewise.
8279         (__APPEND (FUNC_PREFIX, ecvt_r)): Likewise.
8280         * nptl/cleanup_compat.c (_pthread_cleanup_push): Likewise.
8281         * nptl/cleanup_defer_compat.c (_pthread_cleanup_push_defer):
8282         Likewise.
8283         * nptl/libc_pthread_init.c (__libc_pthread_init): Likewise.  Use
8284         internal_function.
8285         * nptl/pthread_atfork.c (__pthread_atfork): Convert to
8286         prototype-style function definition.
8287         * nptl/pthread_create.c (__pthread_create_2_1): Likewise.
8288         [SHLIB_COMPAT(libpthread, GLIBC_2_0, GLIBC_2_1)]
8289         (__pthread_create_2_0): Likewise.
8290         * nptl/pthread_key_create.c (__pthread_key_create): Likewise.
8291         * nptl/register-atfork.c (__register_atfork): Likewise.
8292         * posix/glob.c (glob): Likewise.
8293         * posix/regcomp.c (re_comp): Likewise.
8294         * posix/regexec.c (re_exec): Likewise.
8295         * stdlib/add_n.c [__STDC__]: Make code unconditional.
8296         [!__STDC__]: Remove conditional code.
8297         * stdlib/cmp.c [__STDC__]: Make code unconditional.
8298         [!__STDC__]: Remove conditional code.
8299         * stdlib/divmod_1.c [__STDC__]: Make code unconditional.
8300         [!__STDC__]: Remove conditional code.
8301         * stdlib/divrem.c [__STDC__]: Make code unconditional.
8302         [!__STDC__]: Remove conditional code.
8303         * stdlib/lshift.c [__STDC__]: Make code unconditional.
8304         [!__STDC__]: Remove conditional code.
8305         * stdlib/mod_1.c [__STDC__]: Make code unconditional.
8306         [!__STDC__]: Remove conditional code.
8307         * stdlib/mul.c [__STDC__]: Make code unconditional.
8308         [!__STDC__]: Remove conditional code.
8309         * stdlib/mul_n.c [__STDC__]: Make code unconditional.
8310         [!__STDC__]: Remove conditional code.
8311         * stdlib/rshift.c [__STDC__]: Make code unconditional.
8312         [!__STDC__]: Remove conditional code.
8313         * stdlib/strtod.c (INTERNAL (STRTOF)): Convert to prototype-style
8314         function definition.
8315         (STRTOF): Likewise.
8316         * stdlib/strtod_l.c (__STRTOF): Likewise.
8317         * stdlib/strtol.c (INTERNAL (strtol)): Likewise.
8318         * stdlib/strtol_l.c (INTERNAL (__strtol_l)): Likewise.
8319         (__strtol_l): Likewise.
8320         * stdlib/sub_n.c [__STDC__]: Make code unconditional.
8321         [!__STDC__]: Remove conditional code.
8322         * string/memrchr.c (MEMRCHR): Convert to prototype-style function
8323         definition.
8324         * string/strcasecmp.c (LOCALE_PARAM_DECL): Remove macro.
8325         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
8326         type.
8327         (__strcasecmp): Convert to prototype-style function definition.
8328         * string/strncase.c (LOCALE_PARAM_DECL): Remove macro.
8329         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
8330         type.
8331         (__strncasecmp): Convert to prototype-style function definition.
8332         * sunrpc/pm_getport.c (__libc_rpc_getport): Likewise.
8333         * sunrpc/xdr.c (xdr_union): Likewise.
8334         * sunrpc/xdr_array.c (xdr_array): Likewise.
8335         * sunrpc/xdr_ref.c (xdr_reference): Likewise.
8336         * sysdeps/m68k/m680x0/fpu/s_atan.c (__CONCATX(__,FUNC)): Likewise.
8337         * sysdeps/m68k/m680x0/fpu/s_isinf.c (__CONCATX(__,FUNC)):
8338         Likewise.
8339         * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(__scalbn,suffix):
8340         Likewise.
8341         * sysdeps/m68k/m680x0/fpu/s_sincos.c (CONCATX(__,FUNC)): Likewise.
8342         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
8343         Likewise.
8344         * time/strftime_l.c (LOCALE_PARAM_DECL): Remove macro.
8345         (LOCALE_PARAM_PROTO): Likewise.
8346         [_LIBC && USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include
8347         argument type.
8348         (ut_argument_spec): Remove macro.
8349         (ut_argument_spec_iso): Rename to ut_argument_spec.
8350         (memcpy_lowcase): Use LOCALE_PARAM in declaration.  Convert to
8351         prototype-style function definition.
8352         (memcpy_uppcase): Likewise.
8353         (__strftime_internal): Likewise.
8354         (my_strftime): Likewise.
8355         * time/strptime_l.c (LOCALE_PARAM_PROTO): Remove macro.
8356         (LOCALE_PARAM_DECL): Likewise.
8357         [_LIBC] (LOCALE_PARAM): Include argument type.
8358         (__strptime_internal): Convert to prototype-style function
8359         definition.
8360         (strptime): Likewise.
8361         * wcsmbs/wcscasecmp.c (LOCALE_PARAM_DECL): Remove macro.
8362         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
8363         type.
8364         (__wcscasecmp): Convert to prototype-style function definition.
8365         * wcsmbs/wcsncase.c (LOCALE_PARAM_DECL): Remove macro.
8366         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
8367         type.
8368         (__wcsncasecmp): Convert to prototype-style function definition.
8370         * crypt/md5-crypt.c (__md5_crypt_r): Convert to prototype-style
8371         function definition.
8372         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
8373         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
8374         * debug/backtracesyms.c (__backtrace_symbols): Likewise.
8375         * elf/dl-minimal.c (_itoa): Likewise.
8376         * hurd/hurdmalloc.c (malloc): Likewise.
8377         (free): Likewise.
8378         (realloc): Likewise.
8379         * inet/inet6_option.c (inet6_option_space): Likewise.
8380         (inet6_option_init): Likewise.
8381         (inet6_option_append): Likewise.
8382         (inet6_option_alloc): Likewise.
8383         (inet6_option_next): Likewise.
8384         (inet6_option_find): Likewise.
8385         * io/ftw.c (FTW_NAME): Likewise.
8386         (NFTW_NAME): Likewise.
8387         (NFTW_NEW_NAME): Likewise.
8388         (NFTW_OLD_NAME): Likewise.
8389         * libio/iofwide.c (_IO_fwide): Likewise.
8390         * libio/strops.c (_IO_str_init_static_internal): Likewise.
8391         (_IO_str_init_static): Likewise.
8392         (_IO_str_init_readonly): Likewise.
8393         (_IO_str_overflow): Likewise.
8394         (_IO_str_underflow): Likewise.
8395         (_IO_str_count): Likewise.
8396         (_IO_str_seekoff): Likewise.
8397         (_IO_str_pbackfail): Likewise.
8398         (_IO_str_finish): Likewise.
8399         * libio/wstrops.c (_IO_wstr_init_static): Likewise.
8400         (_IO_wstr_overflow): Likewise.
8401         (_IO_wstr_underflow): Likewise.
8402         (_IO_wstr_count): Likewise.
8403         (_IO_wstr_seekoff): Likewise.
8404         (_IO_wstr_pbackfail): Likewise.
8405         (_IO_wstr_finish): Likewise.
8406         * locale/programs/localedef.c (normalize_codeset): Likewise.
8407         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
8408         (add_locales_to_archive): Likewise.
8409         (delete_locales_from_archive): Likewise.
8410         * malloc/malloc.c (__libc_mallinfo): Likewise.
8411         * math/gen-auto-libm-tests.c (init_fp_formats): Likewise.
8412         * misc/tsearch.c (__tfind): Likewise.
8413         * nptl/pthread_attr_destroy.c (__pthread_attr_destroy): Likewise.
8414         * nptl/pthread_attr_getdetachstate.c
8415         (__pthread_attr_getdetachstate): Likewise.
8416         * nptl/pthread_attr_getguardsize.c (pthread_attr_getguardsize):
8417         Likewise.
8418         * nptl/pthread_attr_getinheritsched.c
8419         (__pthread_attr_getinheritsched): Likewise.
8420         * nptl/pthread_attr_getschedparam.c
8421         (__pthread_attr_getschedparam): Likewise.
8422         * nptl/pthread_attr_getschedpolicy.c
8423         (__pthread_attr_getschedpolicy): Likewise.
8424         * nptl/pthread_attr_getscope.c (__pthread_attr_getscope):
8425         Likewise.
8426         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack):
8427         Likewise.
8428         * nptl/pthread_attr_getstackaddr.c (__pthread_attr_getstackaddr):
8429         Likewise.
8430         * nptl/pthread_attr_getstacksize.c (__pthread_attr_getstacksize):
8431         Likewise.
8432         * nptl/pthread_attr_init.c (__pthread_attr_init_2_1): Likewise.
8433         (__pthread_attr_init_2_0): Likewise.
8434         * nptl/pthread_attr_setdetachstate.c
8435         (__pthread_attr_setdetachstate): Likewise.
8436         * nptl/pthread_attr_setguardsize.c (pthread_attr_setguardsize):
8437         Likewise.
8438         * nptl/pthread_attr_setinheritsched.c
8439         (__pthread_attr_setinheritsched): Likewise.
8440         * nptl/pthread_attr_setschedparam.c
8441         (__pthread_attr_setschedparam): Likewise.
8442         * nptl/pthread_attr_setschedpolicy.c
8443         (__pthread_attr_setschedpolicy): Likewise.
8444         * nptl/pthread_attr_setscope.c (__pthread_attr_setscope):
8445         Likewise.
8446         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack):
8447         Likewise.
8448         * nptl/pthread_attr_setstackaddr.c (__pthread_attr_setstackaddr):
8449         Likewise.
8450         * nptl/pthread_attr_setstacksize.c (__pthread_attr_setstacksize):
8451         Likewise.
8452         * nptl/pthread_condattr_setclock.c (pthread_condattr_setclock):
8453         Likewise.
8454         * nptl/pthread_create.c (__find_in_stack_list): Likewise.
8455         * nptl/pthread_getattr_np.c (pthread_getattr_np): Likewise.
8456         * nptl/pthread_mutex_cond_lock.c (__pthread_mutex_lock): Define to
8457         use internal_function.
8458         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Convert to
8459         prototype-style function definition.
8460         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Likewise.
8461         (__pthread_mutex_cond_lock_adjust): Likewise.  Use
8462         internal_function.
8463         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock):
8464         Convert to prototype-style function definition.
8465         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
8466         Likewise.
8467         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_usercnt):
8468         Likewise.
8469         (__pthread_mutex_unlock): Likewise.
8470         * nptl_db/td_ta_clear_event.c (td_ta_clear_event): Likewise.
8471         * nptl_db/td_ta_set_event.c (td_ta_set_event): Likewise.
8472         * nptl_db/td_thr_clear_event.c (td_thr_clear_event): Likewise.
8473         * nptl_db/td_thr_event_enable.c (td_thr_event_enable): Likewise.
8474         * nptl_db/td_thr_set_event.c (td_thr_set_event): Likewise.
8475         * nss/makedb.c (process_input): Likewise.
8476         * posix/fnmatch.c (__strchrnul): Likewise.
8477         (__wcschrnul): Likewise.
8478         (fnmatch): Likewise.
8479         * posix/fnmatch_loop.c (FCT): Likewise.
8480         * posix/glob.c (globfree): Likewise.
8481         (__glob_pattern_type): Likewise.
8482         (__glob_pattern_p): Likewise.
8483         * posix/regcomp.c (re_compile_pattern): Likewise.
8484         (re_set_syntax): Likewise.
8485         (re_compile_fastmap): Likewise.
8486         (regcomp): Likewise.
8487         (regerror): Likewise.
8488         (regfree): Likewise.
8489         * posix/regexec.c (regexec): Likewise.
8490         (re_match): Likewise.
8491         (re_search): Likewise.
8492         (re_match_2): Likewise.
8493         (re_search_2): Likewise.
8494         (re_search_stub): Likewise.  Use internal_function
8495         (re_copy_regs): Likewise.
8496         (re_set_registers): Convert to prototype-style function
8497         definition.
8498         (prune_impossible_nodes): Likewise.  Use internal_function.
8499         * resolv/inet_net_pton.c (inet_net_pton): Convert to
8500         prototype-style function definition.
8501         (inet_net_pton_ipv4): Likewise.
8502         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
8503         * sysdeps/pthread/aio_cancel.c (aio_cancel): Likewise.
8504         * sysdeps/pthread/aio_suspend.c (aio_suspend): Likewise.
8505         * sysdeps/pthread/timer_delete.c (timer_delete): Likewise.
8506         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
8507         Make variadic.
8508         * time/strptime_l.c (localtime_r): Convert to prototype-style
8509         function definition.
8510         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
8511         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
8512         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
8513         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
8515         * crypt/crypt.c (_ufc_doit_r): Convert to prototype-style function
8516         definition.
8517         (_ufc_doit_r): Likewise.
8518         * crypt/crypt_util.c (_ufc_copymem): Likewise.
8519         (_ufc_output_conversion_r): Likewise.
8520         * inet/inet_mkadr.c (__inet_makeaddr): Likewise.
8521         * inet/rcmd.c (rcmd_af): Likewise.
8522         (rcmd): Likewise.
8523         (ruserok_af): Likewise.
8524         (ruserok): Likewise.
8525         (ruserok2_sa): Likewise.
8526         (ruserok_sa): Likewise.
8527         (iruserok_af): Likewise.
8528         (iruserok): Likewise.
8529         (__ivaliduser): Likewise.
8530         (__validuser2_sa): Likewise.
8531         * inet/rexec.c (rexec_af): Likewise.
8532         (rexec): Likewise.
8533         * inet/ruserpass.c (ruserpass): Likewise.
8534         * locale/programs/xmalloc.c (xcalloc): Likewise.
8535         * manual/examples/timeval_subtract.c (timeval_subtract): Likewise.
8536         * math/w_drem.c (__drem): Likewise.
8537         * math/w_dremf.c (__dremf): Likewise.
8538         * math/w_dreml.c (__dreml): Likewise.
8539         * misc/daemon.c (daemon): Likewise.
8540         * resolv/res_debug.c (p_fqnname): Likewise.
8541         * stdlib/div.c (div): Likewise.
8542         * string/memcmp.c (memcmp_bytes): Likewise.
8543         * sunrpc/pmap_rmt.c (pmap_rmtcall): Likewise.
8544         * sunrpc/svc_udp.c (svcudp_bufcreate): Likewise.
8546         * crypt/cert.c (main): Convert to prototype-style function
8547         definition.
8548         * io/pipe.c (__pipe): Likewise.
8549         * io/pipe2.c (__pipe2): Likewise.
8550         * misc/futimesat.c (futimesat): Likewise.
8551         * misc/utimes.c (__utimes): Likewise.
8552         * posix/execve.c (__execve): Likewise.
8553         * posix/execvp.c (execvp): Likewise.
8554         * posix/execvpe.c (__execvpe): Likewise.
8555         * posix/fexecve.c (fexecve): Likewise.
8556         * socket/socketpair.c (socketpair): Likewise.
8557         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
8558         * stdlib/erand48.c (erand48): Likewise.
8559         * stdlib/erand48_r.c (__erand48_r): Likewise.
8560         * stdlib/jrand48.c (jrand48): Likewise.
8561         * stdlib/jrand48_r.c (__jrand48_r): Likewise.
8562         * stdlib/lcong48.c (lcong48): Likewise.
8563         * stdlib/lcong48_r.c (__lcong48_r): Likewise.
8564         * stdlib/nrand48.c (nrand48): Likewise.
8565         * stdlib/nrand48_r.c (__nrand48_r): Likewise.
8566         * stdlib/seed48.c (seed48): Likewise.
8567         * stdlib/seed48_r.c (__seed48_r): Likewise.
8568         * sysdeps/mach/hurd/execve.c (__execve): Likewise.
8569         * sysdeps/mach/hurd/utimes.c (__utimes): Likewise.
8570         * sysdeps/unix/sysv/linux/fexecve.c (fexecve): Likewise.
8572 2015-10-19  Joseph Myers  <joseph@codesourcery.com>
8574         * configure.ac (libc_cv_asm_unique_object): Remove configure test.
8575         * configure: Regenerated.
8576         * config.h.in (HAVE_ASM_UNIQUE_OBJECT): Remove #undef.
8577         * elf/tst-unique1.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Make code
8578         unconditional.
8579         * elf/tst-unique1mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
8580         * elf/tst-unique1mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
8581         * elf/tst-unique2.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
8582         (do_test) [!HAVE_ASM_UNIQUE_OBJECT]: Remove conditional code.
8583         * elf/tst-unique2mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Make code
8584         unconditional.
8585         * elf/tst-unique2mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
8587         * posix/Makefile (CFLAGS-regex.c): Remove variable.
8588         * resolv/Makefile (+cflags): Do not use -Wno-strict-prototypes.
8590         * crypt/crypt-entry.c (__crypt_r): Convert to prototype-style
8591         function definition.
8592         * crypt/crypt_util.c (__encrypt_r): Likewise.
8593         * libio/genops.c (_IO_no_init): Likewise.
8594         * libio/iofopncook.c (_IO_fopencookie): Likewise.
8595         (_IO_old_fopencookie): Likewise.
8596         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
8597         * libio/iogetline.c (_IO_getline): Likewise.
8598         (_IO_getline_info): Likewise.
8599         * libio/iogetwline.c (_IO_getwline): Likewise.
8600         (_IO_getwline_info): Likewise.
8601         * libio/vsnprintf.c (_IO_vsnprintf): Likewise.
8602         * libio/vswprintf.c (_IO_vswprintf): Likewise.
8603         * locale/programs/simple-hash.c (insert_entry_2): Likewise.
8604         (find_entry): Likewise.
8605         (iterate_table): Likewise.
8606         (lookup): Likewise.
8607         * login/forkpty.c (forkpty): Likewise.
8608         * misc/hsearch_r.c (__hsearch_r): Likewise.
8609         * misc/select.c (__select): Likewise.
8610         * nptl/cleanup_defer_compat.c (_pthread_cleanup_pop_restore):
8611         Likewise.
8612         * nptl/old_pthread_cond_init.c (__pthread_cond_init_2_0):
8613         Likewise.
8614         * nptl/old_pthread_cond_timedwait.c
8615         (__pthread_cond_timedwait_2_0): Likewise.
8616         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Likewise.
8617         * nptl/pthread_barrierattr_getpshared.c
8618         (pthread_barrierattr_getpshared): Likewise.
8619         * nptl/pthread_getschedparam.c (__pthread_getschedparam):
8620         Likewise.
8621         * nptl/pthread_mutex_setprioceiling.c
8622         (pthread_mutex_setprioceiling): Likewise.
8623         * nptl/pthread_mutexattr_getprioceiling.c
8624         (pthread_mutexattr_getprioceiling): Likewise.
8625         * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Likewise.
8626         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
8627         Likewise.
8628         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
8629         Likewise.
8630         * nptl/pthread_setschedparam.c (__pthread_setschedparam):
8631         Likewise.
8632         * socket/recvfrom.c (__recvfrom): Likewise.
8633         * socket/sendto.c (__sendto): Likewise.
8634         * socket/setsockopt.c (__setsockopt): Likewise.
8635         * stdio-common/_itoa.c (_itoa): Likewise.
8636         * stdio-common/_itowa.c (_itowa): Likewise.
8637         * stdio-common/reg-printf.c (__register_printf_specifier):
8638         Likewise.
8639         (__register_printf_function): Likewise.
8640         * stdio-common/tempname.c (__path_search): Likewise.
8641         * stdlib/addmul_1.c (mpn_addmul_1): Likewise.
8642         * stdlib/mul_1.c (mpn_mul_1): Likewise.
8643         * stdlib/random_r.c (__initstate_r): Likewise.
8644         * stdlib/setenv.c (__add_to_environ): Likewise.
8645         * stdlib/submul_1.c (mpn_submul_1): Likewise.
8646         * streams/getpmsg.c (getpmsg): Likewise.
8647         * streams/putmsg.c (putmsg): Likewise.
8648         * streams/putpmsg.c (putpmsg): Likewise.
8649         * sunrpc/clnt_raw.c (clntraw_call): Likewise.
8650         * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
8651         * sunrpc/clnt_udp.c (clntudp_create): Likewise.
8652         * sunrpc/clnt_unix.c (clntunix_call): Likewise.
8653         * sunrpc/pm_getport.c (pmap_getport): Likewise.
8654         * sunrpc/svc_udp.c (cache_get): Likewise.
8655         * sunrpc/xdr_array.c (xdr_vector): Likewise.
8656         * sysdeps/mach/hurd/getcwd.c
8657         (__canonicalize_directory_name_internal): Likewise.
8658         * sysdeps/mach/hurd/pselect.c (__pselect): Likewise.
8659         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Likewise.
8660         * sysdeps/mach/hurd/select.c (__select): Likewise.
8661         * sysdeps/posix/ttyname_r.c (getttyname_r): Likewise.
8662         * sysdeps/pthread/timer_settime.c (timer_settime): Likewise.
8663         * sysdeps/sparc/nptl/pthread_barrier_init.c
8664         (__pthread_barrier_init): Likewise.
8665         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c
8666         (__pthread_cond_timedwait): Likewise.
8667         * sysdeps/unix/sysv/linux/i386/putmsg.c (putmsg): Likewise.
8668         * sysdeps/unix/sysv/linux/s390/semtimedop.c (semtimedop):
8669         Likewise.
8670         * sysdeps/unix/sysv/linux/semtimedop.c (semtimedop): Likewise.
8671         * sysdeps/unix/sysv/linux/timer_settime.c (timer_settime):
8672         Likewise.
8673         * sysvipc/semtimedop.c (semtimedop): Likewise.
8674         * time/setitimer.c (__setitimer): Likewise.
8675         * time/strftime_l.c (emacs_strftime): Likewise.
8677 2015-10-19  Mike Frysinger  <vapier@gentoo.org>
8679         * config.make.in (have-ssp): Delete.
8680         (stack-protector): New variable.
8681         * configure.ac: Delete libc_cv_ssp export.  Add libc_cv_ssp_strong
8682         cache test for -fstack-protector-strong.  Export stack_protector to
8683         the best ssp flag.
8684         * configure: Regenerated.
8685         * login/Makefile (pt_chown-cflags): Always add $(stack-protector).
8686         * nscd/Makefile (CFLAGS-nscd): Likewise.
8687         * resolv/Makefile (CFLAGS-libresolv): Likewise.
8689 2015-10-16  H.J. Lu  <hongjiu.lu@intel.com>
8691         [BZ #19122]
8692         * include/sys/stat.h [IS_IN (rtld)] (__fxstatat64): Add
8693         attribute_hidden.
8695 2015-10-19  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
8697         [BZ #18743]
8698         * sysdeps/powerpc/nptl/elide.h (__elide_lock): Move most of this
8699         code to...
8700         (ELIDE_LOCK): ...here.
8701         (__get_new_count): New function with part of the code from
8702         __elide_lock that updates the value of adapt_count after a
8703         transaction abort.
8704         (__elided_trylock): Moved this code to...
8705         (ELIDE_TRYLOCK): ...here.
8707 2015-10-19  Mike Frysinger  <vapier@gentoo.org>
8709         * configure.ac (AC_ARG_ENABLE(timezone-tools)): Tweak help phrasing.
8710         * configure: Regenerate.
8711         * INSTALL: Regenerate.
8712         * manual/install.texi (--disable-timezone-tools): Use @theglibc{}
8713         and tweak grammar.
8715 2015-10-19  Geoffrey Thomas  <geofft@ldpreload.com>
8717         * login/programs/pt_chown.c: Include signal.h
8718         (main): Clear any signal mask from the parent process.
8720 2015-10-19  Joseph Myers  <joseph@codesourcery.com>
8722         * configure.ac (libc_cv_gnu89_inline): Remove configure test.
8723         * configure: Regenerated.
8724         * config.make.in (gnu89-inline-CFLAGS): Remove variable.
8725         * Makeconfig (CFLAGS): Use -fgnu89-inline instead of
8726         $(gnu89-inline-CFLAGS).
8728         * configure.ac (libc_cv_asm_weak_directive): Remove configure
8729         test.
8730         (libc_cv_asm_weakext_directive): Likewise.
8731         * configure: Regenerated.
8732         * config.h.in (HAVE_ASM_WEAK_DIRECTIVE): Remove #undef.
8733         (HAVE_ASM_WEAKEXT_DIRECTIVE): Likewise.
8734         * include/libc-symbols.h
8735         [!HAVE_ASM_WEAK_DIRECTIVE && !HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove
8736         #error.
8737         [HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove conditional code.
8738         [!HAVE_ASM_WEAKEXT_DIRECTIVE]: Make code unconditional.
8740         * sysdeps/arm/backtrace.c (__backtrace): Convert to
8741         prototype-style function definition.
8742         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
8743         * sysdeps/i386/ffs.c (__ffs): Likewise.
8744         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
8745         * sysdeps/ia64/nptl/pthread_spin_lock.c (pthread_spin_lock):
8746         Likewise.
8747         * sysdeps/ia64/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
8748         Likewise.
8749         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
8750         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
8751         Likewise.
8752         * sysdeps/m68k/ffs.c (__ffs): Likewise.
8753         * sysdeps/m68k/m680x0/fpu/e_acos.c (FUNC): Likewise.
8754         * sysdeps/m68k/m680x0/fpu/e_fmod.c (FUNC): Likewise.
8755         * sysdeps/mach/adjtime.c (__adjtime): Likewise.
8756         * sysdeps/mach/gettimeofday.c (__gettimeofday): Likewise.
8757         * sysdeps/mach/hurd/_exit.c (_exit): Likewise.
8758         * sysdeps/mach/hurd/access.c (__access): Likewise.
8759         * sysdeps/mach/hurd/adjtime.c (__adjtime): Likewise.
8760         * sysdeps/mach/hurd/chdir.c (__chdir): Likewise.
8761         * sysdeps/mach/hurd/chmod.c (__chmod): Likewise.
8762         * sysdeps/mach/hurd/chown.c (__chown): Likewise.
8763         * sysdeps/mach/hurd/cthreads.c (cthread_keycreate): Likewise.
8764         (cthread_getspecific): Likewise.
8765         (cthread_setspecific): Likewise.
8766         (__libc_getspecific): Likewise.
8767         * sysdeps/mach/hurd/euidaccess.c (__euidaccess): Likewise.
8768         * sysdeps/mach/hurd/faccessat.c (faccessat): Likewise.
8769         * sysdeps/mach/hurd/fchdir.c (__fchdir): Likewise.
8770         * sysdeps/mach/hurd/fchmod.c (__fchmod): Likewise.
8771         * sysdeps/mach/hurd/fchmodat.c (fchmodat): Likewise.
8772         * sysdeps/mach/hurd/fchown.c (__fchown): Likewise.
8773         * sysdeps/mach/hurd/fchownat.c (fchownat): Likewise.
8774         * sysdeps/mach/hurd/flock.c (__flock): Likewise.
8775         * sysdeps/mach/hurd/fsync.c (fsync): Likewise.
8776         * sysdeps/mach/hurd/ftruncate.c (__ftruncate): Likewise.
8777         * sysdeps/mach/hurd/getgroups.c (__getgroups): Likewise.
8778         * sysdeps/mach/hurd/gethostname.c (__gethostname): Likewise.
8779         * sysdeps/mach/hurd/getitimer.c (__getitimer): Likewise.
8780         * sysdeps/mach/hurd/getlogin_r.c (__getlogin_r): Likewise.
8781         * sysdeps/mach/hurd/getpgid.c (__getpgid): Likewise.
8782         * sysdeps/mach/hurd/getrusage.c (__getrusage): Likewise.
8783         * sysdeps/mach/hurd/getsockname.c (__getsockname): Likewise.
8784         * sysdeps/mach/hurd/group_member.c (__group_member): Likewise.
8785         * sysdeps/mach/hurd/isatty.c (__isatty): Likewise.
8786         * sysdeps/mach/hurd/lchown.c (__lchown): Likewise.
8787         * sysdeps/mach/hurd/link.c (__link): Likewise.
8788         * sysdeps/mach/hurd/linkat.c (linkat): Likewise.
8789         * sysdeps/mach/hurd/listen.c (__listen): Likewise.
8790         * sysdeps/mach/hurd/mkdir.c (__mkdir): Likewise.
8791         * sysdeps/mach/hurd/mkdirat.c (mkdirat): Likewise.
8792         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
8793         * sysdeps/mach/hurd/poll.c (__poll): Likewise.
8794         * sysdeps/mach/hurd/readlink.c (__readlink): Likewise.
8795         * sysdeps/mach/hurd/readlinkat.c (readlinkat): Likewise.
8796         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
8797         * sysdeps/mach/hurd/rename.c (rename): Likewise.
8798         * sysdeps/mach/hurd/renameat.c (renameat): Likewise.
8799         * sysdeps/mach/hurd/revoke.c (revoke): Likewise.
8800         * sysdeps/mach/hurd/rewinddir.c (__rewinddir): Likewise.
8801         * sysdeps/mach/hurd/rmdir.c (__rmdir): Likewise.
8802         * sysdeps/mach/hurd/seekdir.c (seekdir): Likewise.
8803         * sysdeps/mach/hurd/send.c (__send): Likewise.
8804         * sysdeps/mach/hurd/setdomain.c (setdomainname): Likewise.
8805         * sysdeps/mach/hurd/setegid.c (setegid): Likewise.
8806         * sysdeps/mach/hurd/seteuid.c (seteuid): Likewise.
8807         * sysdeps/mach/hurd/setgid.c (__setgid): Likewise.
8808         * sysdeps/mach/hurd/setgroups.c (setgroups): Likewise.
8809         * sysdeps/mach/hurd/sethostid.c (sethostid): Likewise.
8810         * sysdeps/mach/hurd/sethostname.c (sethostname): Likewise.
8811         * sysdeps/mach/hurd/setlogin.c (setlogin): Likewise.
8812         * sysdeps/mach/hurd/setpgid.c (__setpgid): Likewise.
8813         * sysdeps/mach/hurd/setregid.c (__setregid): Likewise.
8814         * sysdeps/mach/hurd/setreuid.c (__setreuid): Likewise.
8815         * sysdeps/mach/hurd/settimeofday.c (__settimeofday): Likewise.
8816         * sysdeps/mach/hurd/setuid.c (__setuid): Likewise.
8817         * sysdeps/mach/hurd/shutdown.c (shutdown): Likewise.
8818         * sysdeps/mach/hurd/sigaction.c (__sigaction): Likewise.
8819         * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
8820         * sysdeps/mach/hurd/sigpending.c (sigpending): Likewise.
8821         * sysdeps/mach/hurd/sigprocmask.c (__sigprocmask): Likewise.
8822         * sysdeps/mach/hurd/sigsuspend.c (__sigsuspend): Likewise.
8823         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
8824         * sysdeps/mach/hurd/symlink.c (__symlink): Likewise.
8825         * sysdeps/mach/hurd/symlinkat.c (symlinkat): Likewise.
8826         * sysdeps/mach/hurd/telldir.c (telldir): Likewise.
8827         * sysdeps/mach/hurd/truncate.c (__truncate): Likewise.
8828         * sysdeps/mach/hurd/umask.c (__umask): Likewise.
8829         * sysdeps/mach/hurd/unlink.c (__unlink): Likewise.
8830         * sysdeps/mach/hurd/unlinkat.c (unlinkat): Likewise.
8831         * sysdeps/mips/mips64/__longjmp.c (__longjmp): Likewise.
8832         * sysdeps/posix/alarm.c (alarm): Likewise.
8833         * sysdeps/posix/cuserid.c (cuserid): Likewise.
8834         * sysdeps/posix/dirfd.c (dirfd): Likewise.
8835         * sysdeps/posix/dup.c (__dup): Likewise.
8836         * sysdeps/posix/dup2.c (__dup2): Likewise.
8837         * sysdeps/posix/euidaccess.c (euidaccess): Likewise.
8838         (main): Likewise.
8839         * sysdeps/posix/flock.c (__flock): Likewise.
8840         * sysdeps/posix/fpathconf.c (__fpathconf): Likewise.
8841         * sysdeps/posix/getcwd.c (__getcwd): Likewise.
8842         * sysdeps/posix/gethostname.c (__gethostname): Likewise.
8843         * sysdeps/posix/gettimeofday.c (__gettimeofday): Likewise.
8844         * sysdeps/posix/isatty.c (__isatty): Likewise.
8845         * sysdeps/posix/killpg.c (killpg): Likewise.
8846         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
8847         * sysdeps/posix/mkfifoat.c (mkfifoat): Likewise.
8848         * sysdeps/posix/raise.c (raise): Likewise.
8849         * sysdeps/posix/remove.c (remove): Likewise.
8850         * sysdeps/posix/rename.c (rename): Likewise.
8851         * sysdeps/posix/rewinddir.c (__rewinddir): Likewise.
8852         * sysdeps/posix/seekdir.c (seekdir): Likewise.
8853         * sysdeps/posix/sigblock.c (__sigblock): Likewise.
8854         * sysdeps/posix/sigignore.c (sigignore): Likewise.
8855         * sysdeps/posix/sigintr.c (siginterrupt): Likewise.
8856         * sysdeps/posix/signal.c (__bsd_signal): Likewise.
8857         * sysdeps/posix/sigset.c (sigset): Likewise.
8858         * sysdeps/posix/sigsuspend.c (__sigsuspend): Likewise.
8859         * sysdeps/posix/sysconf.c (__sysconf): Likewise.
8860         * sysdeps/posix/sysv_signal.c (__sysv_signal): Likewise.
8861         * sysdeps/posix/time.c (time): Likewise.
8862         * sysdeps/posix/ttyname.c (getttyname): Likewise.
8863         (ttyname): Likewise.
8864         * sysdeps/posix/ttyname_r.c (__ttyname_r): Likewise.
8865         * sysdeps/posix/utime.c (utime): Likewise.
8866         * sysdeps/powerpc/fpu/s_isnan.c (__isnan): Likewise.
8867         * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
8868         Likewise.
8869         * sysdeps/powerpc/nptl/pthread_spin_trylock.c
8870         (pthread_spin_trylock): Likewise.
8871         * sysdeps/pthread/aio_error.c (aio_error): Likewise.
8872         * sysdeps/pthread/aio_read.c (aio_read): Likewise.
8873         * sysdeps/pthread/aio_read64.c (aio_read64): Likewise.
8874         * sysdeps/pthread/aio_write.c (aio_write): Likewise.
8875         * sysdeps/pthread/aio_write64.c (aio_write64): Likewise.
8876         * sysdeps/pthread/flockfile.c (__flockfile): Likewise.
8877         * sysdeps/pthread/ftrylockfile.c (__ftrylockfile): Likewise.
8878         * sysdeps/pthread/funlockfile.c (__funlockfile): Likewise.
8879         * sysdeps/pthread/timer_create.c (timer_create): Likewise.
8880         * sysdeps/pthread/timer_getoverr.c (timer_getoverrun): Likewise.
8881         * sysdeps/pthread/timer_gettime.c (timer_gettime): Likewise.
8882         * sysdeps/s390/ffs.c (__ffs): Likewise.
8883         * sysdeps/s390/nptl/pthread_spin_lock.c (pthread_spin_lock):
8884         Likewise.
8885         * sysdeps/s390/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
8886         Likewise.
8887         * sysdeps/sh/nptl/pthread_spin_lock.c (pthread_spin_lock):
8888         Likewise.
8889         * sysdeps/sparc/nptl/pthread_barrier_destroy.c
8890         (pthread_barrier_destroy): Likewise.
8891         * sysdeps/sparc/nptl/pthread_barrier_wait.c
8892         (__pthread_barrier_wait): Likewise.
8893         * sysdeps/sparc/sparc32/e_sqrt.c (__ieee754_sqrt): Likewise.
8894         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
8895         (__pthread_barrier_wait): Likewise.
8896         * sysdeps/sparc/sparc32/sem_init.c (__old_sem_init): Likewise.
8897         * sysdeps/tile/memcmp.c (memcmp_common_alignment): Likewise.
8898         (memcmp_not_common_alignment): Likewise.
8899         (MEMCMP): Likewise.
8900         * sysdeps/tile/wordcopy.c (_wordcopy_fwd_aligned): Likewise.
8901         (_wordcopy_fwd_dest_aligned): Likewise.
8902         (_wordcopy_bwd_aligned): Likewise.
8903         (_wordcopy_bwd_dest_aligned): Likewise.
8904         * sysdeps/unix/bsd/ftime.c (ftime): Likewise.
8905         * sysdeps/unix/bsd/gtty.c (gtty): Likewise.
8906         * sysdeps/unix/bsd/stty.c (stty): Likewise.
8907         * sysdeps/unix/bsd/tcflow.c (tcflow): Likewise.
8908         * sysdeps/unix/bsd/tcflush.c (tcflush): Likewise.
8909         * sysdeps/unix/bsd/tcgetattr.c (__tcgetattr): Likewise.
8910         * sysdeps/unix/bsd/tcgetpgrp.c (tcgetpgrp): Likewise.
8911         * sysdeps/unix/bsd/tcsendbrk.c (tcsendbreak): Likewise.
8912         * sysdeps/unix/bsd/tcsetattr.c (tcsetattr): Likewise.
8913         * sysdeps/unix/bsd/tcsetpgrp.c (tcsetpgrp): Likewise.
8914         * sysdeps/unix/bsd/ualarm.c (ualarm): Likewise.
8915         * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
8916         * sysdeps/unix/getlogin_r.c (__getlogin_r): Likewise.
8917         * sysdeps/unix/sockatmark.c (sockatmark): Likewise.
8918         * sysdeps/unix/stime.c (stime): Likewise.
8919         * sysdeps/unix/sysv/linux/_exit.c (_exit): Likewise.
8920         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue):
8921         Likewise.  Use internal_function.
8922         * sysdeps/unix/sysv/linux/arm/sigaction.c (__libc_sigaction):
8923         Convert to prototype-style function definition.
8924         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
8925         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
8926         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Likewise.
8927         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
8928         Likewise.  Use internal_function.
8929         * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Convert to
8930         prototype-style function definition
8931         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
8932         Likewise.
8933         (__getlogin_r): Likewise.
8934         * sysdeps/unix/sysv/linux/getpt.c (__posix_openpt): Likewise.
8935         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c
8936         (__pthread_cond_broadcast): Likewise.
8937         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c
8938         (__pthread_cond_destroy): Likewise.
8939         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c
8940         (__pthread_cond_init): Likewise.
8941         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c
8942         (__pthread_cond_signal): Likewise.
8943         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c
8944         (__pthread_cond_wait): Likewise.
8945         * sysdeps/unix/sysv/linux/i386/getmsg.c (getmsg): Likewise.
8946         * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
8947         * sysdeps/unix/sysv/linux/ia64/sigaction.c (__libc_sigaction):
8948         Likewise.
8949         * sysdeps/unix/sysv/linux/ia64/sigpending.c (sigpending):
8950         Likewise.
8951         * sysdeps/unix/sysv/linux/ia64/sigprocmask.c (__sigprocmask):
8952         Likewise.
8953         * sysdeps/unix/sysv/linux/mips/sigaction.c (__libc_sigaction):
8954         Likewise.
8955         * sysdeps/unix/sysv/linux/msgget.c (msgget): Likewise.
8956         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c
8957         (__ftruncate64): Likewise.
8958         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c
8959         (truncate64): Likewise.
8960         * sysdeps/unix/sysv/linux/pt-raise.c (raise): Likewise.
8961         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c
8962         (pthread_getcpuclockid): Likewise.
8963         * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
8964         Likewise.
8965         * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
8966         Likewise.
8967         * sysdeps/unix/sysv/linux/pthread_sigmask.c (pthread_sigmask):
8968         Likewise.
8969         * sysdeps/unix/sysv/linux/pthread_sigqueue.c (pthread_sigqueue):
8970         Likewise.
8971         * sysdeps/unix/sysv/linux/raise.c (raise): Likewise.
8972         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c
8973         (__libc_sigaction): Likewise.
8974         * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c (sigpending):
8975         Likewise.
8976         * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c
8977         (__sigprocmask): Likewise.
8978         * sysdeps/unix/sysv/linux/semget.c (semget): Likewise.
8979         * sysdeps/unix/sysv/linux/semop.c (semop): Likewise.
8980         * sysdeps/unix/sysv/linux/setrlimit64.c (setrlimit64): Likewise.
8981         * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
8982         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
8983         * sysdeps/unix/sysv/linux/shmget.c (shmget): Likewise.
8984         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
8985         Likewise.
8986         * sysdeps/unix/sysv/linux/sigpending.c (sigpending): Likewise.
8987         * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask): Likewise.
8988         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
8989         * sysdeps/unix/sysv/linux/sigstack.c (sigstack): Likewise.
8990         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c (sigpending):
8991         Likewise.
8992         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c
8993         (__sigprocmask): Likewise.
8994         * sysdeps/unix/sysv/linux/speed.c (cfgetospeed): Likewise.
8995         (cfgetispeed): Likewise.
8996         (cfsetospeed): Likewise.
8997         (cfsetispeed): Likewise.
8998         * sysdeps/unix/sysv/linux/tcflow.c (tcflow): Likewise.
8999         * sysdeps/unix/sysv/linux/tcflush.c (tcflush): Likewise.
9000         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
9001         * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
9002         * sysdeps/unix/sysv/linux/time.c (time): Likewise.
9003         * sysdeps/unix/sysv/linux/timer_create.c (timer_create): Likewise.
9004         * sysdeps/unix/sysv/linux/timer_delete.c (timer_delete): Likewise.
9005         * sysdeps/unix/sysv/linux/timer_getoverr.c (timer_getoverrun):
9006         Likewise.
9007         * sysdeps/unix/sysv/linux/timer_gettime.c (timer_gettime):
9008         Likewise.
9009         * sysdeps/unix/sysv/linux/x86_64/sigpending.c (sigpending):
9010         Likewise.
9011         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c (__sigprocmask):
9012         Likewise.
9013         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
9015 2015-10-17  Florian Weimer  <fweimer@redhat.com>
9017         sunrpc: Rewrite with explicit TLS access using __thread.
9018         * sunrpc/rpc_thread.c (thread_rpc_vars): New TLS variable.
9019         (__rpc_thread_destroy, rpc_thread_multi): Access thread_rpc_vars
9020         directly.
9021         (__rpc_thread_variables): Access thread_rpc_vars directly.
9022         Eliminate redundant assignment of the tvp variable.
9024 2015-10-17  Florian Weimer  <fweimer@redhat.com>
9026         malloc: Rewrite with explicit TLS access using __thread.
9027         * sysdeps/generic/malloc-machine.h (tsd_key_t, tsd_key_create)
9028         (tsd_setspecific, tsd_getspecific): Remove.
9029         * sysdeps/mach/hurd/malloc-machine.h (tsd_key_t, tsd_key_create)
9030         (tsd_setspecific, tsd_getspecific): Likewise.
9031         * sysdeps/nptl/malloc-machine.h (tsd_key_t, tsd_key_create)
9032         (tsd_setspecific, tsd_getspecific): Likewise.
9033         * malloc/arena.c (thread_arena): New TLS variable.
9034         (arena_key): Remove variable.
9035         (arena_get): Use thread_arena.
9036         (arena_lookup): Remove macro.
9037         (malloc_atfork, free_atfork, ptmalloc_lock_all)
9038         (ptmalloc_unlock_all, ptmalloc_unlock_all2, ptmalloc_init)
9039         (_int_new_arena, get_free_list, reused_arena)
9040         (arena_thread_freeres): Use thread_arena.
9041         * manual/memory.texi (Basic Allocation): Remove arena_lookup,
9042         tsd_getspecific, tsd_setspecific from safety annotations.
9043         (Allocating Cleared Space): Remove arena_lookup from safety
9044         annotations.
9046 2015-10-17  Florian Weimer  <fweimer@redhat.com>
9048         * stdio-common/vfprintf.c (printf_positional): Rewrite to use
9049         struct scratch_buffer instead of extend_alloca.
9051 2015-10-17  Florian Weimer  <fweimer@redhat.com>
9053         * sysdeps/unix/sysv/linux/kernel-features.h
9054         (__ASSUME_SOCK_CLOEXEC): Remove.
9055         * include/sys/socket.h (__have_sock_cloexec): Remove declaration.
9056         (__have_paccept): Remove unused macro.
9057         * include/unistd.h (__have_sock_cloexec): Remove declaration.
9058         * misc/syslog.c (openlog_internal): Remove fallback code for
9059         !__ASSUME_SOCK_CLOEXEC.
9060         * nis/ypclnt.c (yp_bind_client_create): Remove fallback code for
9061         missing SOCK_CLOEXEC.
9062         * nscd/connections.c (have_sock_cloexec): Remove definition.
9063         (nscd_init): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
9064         * nscd/nscd_helper.c (open_socket): Remove fallback code for
9065         !__ASSUME_SOCK_CLOEXEC.
9066         * resolv/res_send.c (__have_o_nonblock): Remove definition.
9067         (reopen): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
9068         * socket/have_sock_cloexec.c (__have_sock_cloexec): Remove
9069         definition.
9070         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Remove fallback
9071         code for !__ASSUME_SOCK_CLOEXEC.
9073 2015-10-17  Florian Weimer  <fweimer@redhat.com>
9075         [BZ #18982]
9076         * manual/stdio.texi (Variable Arguments Output): Add portability
9077         note, explaining that vfprintf clobbers the va_list pointer.
9079 2015-10-16  Joseph Myers  <joseph@codesourcery.com>
9081         * math/libm-test.inc (fabs_test_data): Add more tests.
9082         (fdim_test_data): Likewise.
9083         (fma_test_data): Likewise.
9084         (fmax_test_data): Likewise.
9085         (fmin_test_data): Likewise.
9086         (fmod_test_data): Likewise.
9088 2015-10-16  Steve Ellcey  <sellcey@imgtec.com>
9090         * sysdeps/mips/memcpy.S (memcpy):  Add word copies for small aligned
9091         data.
9093 2015-10-16  Joseph Myers  <joseph@codesourcery.com>
9095         * math/libm-test.inc (ceil_test_data): Add more tests and more
9096         expectations for "inexact".
9097         (floor_test_data): Add more tests.
9098         (round_test_data): Likewise.
9099         (trunc_test_data): Likewise.
9101         * crypt/cert.c (good_bye): Convert to prototype-style function
9102         definition.
9103         (get8): Likewise.
9104         (put8): Likewise.
9105         * crypt/crypt-entry.c (crypt): Likewise.
9106         (__fcrypt): Likewise.
9107         * crypt/crypt_util.c (_ufc_prbits): Likewise.
9108         (_ufc_set_bits): Likewise.
9109         (_ufc_clearmem): Likewise.
9110         (__init_des_r): Likewise.
9111         (shuffle_sb): Likewise.
9112         (shuffle_sb): Likewise.
9113         (_ufc_setup_salt_r): Likewise.
9114         (_ufc_mk_keytab_r): Likewise.
9115         (_ufc_dofinalperm_r): Likewise.
9116         (encrypt): Likewise.
9117         (__setkey_r): Likewise.
9118         (setkey): Likewise.
9119         * crypt/md5.c (md5_init_ctx): Likewise.
9120         (md5_read_ctx): Likewise.
9121         (md5_finish_ctx): Likewise.
9122         (md5_stream): Likewise.
9123         (md5_buffer): Likewise.
9124         (md5_process_bytes): Likewise.
9125         * crypt/sha256.c (__sha256_init_ctx): Likewise.
9126         (__sha256_finish_ctx): Likewise.
9127         (__sha256_process_bytes): Likewise.
9128         * crypt/sha512.c (__sha512_init_ctx): Likewise.
9129         (__sha512_finish_ctx): Likewise.
9130         (__sha512_process_bytes): Likewise.
9131         * ctype/isctype.c (__isctype): Likewise.
9132         * debug/backtrace.c (__backtrace): Likewise.
9133         * debug/backtracesymsfd.c (__backtrace_symbols_fd): Likewise.
9134         * debug/fgets_chk.c (__fgets_chk): Likewise.
9135         * debug/fgets_u_chk.c (__fgets_unlocked_chk): Likewise.
9136         * debug/memcpy_chk.c (__memcpy_chk): Likewise.
9137         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
9138         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
9139         * debug/memset_chk.c (__memset_chk): Likewise.
9140         * debug/strcat_chk.c (__strcat_chk): Likewise.
9141         * debug/strncat_chk.c (__strncat_chk): Likewise.
9142         * debug/strncpy_chk.c (__strncpy_chk): Likewise.
9143         * debug/vsprintf_chk.c (_IO_str_chk_overflow): Likewise.
9144         * dirent/dirfd.c (dirfd): Likewise.
9145         * dirent/getdents.c (__getdirentries): Likewise.
9146         * dirent/getdents64.c (getdirentries64): Likewise.
9147         * dirent/rewinddir.c (__rewinddir): Likewise.
9148         * dirent/seekdir.c (seekdir): Likewise.
9149         * dirent/telldir.c (telldir): Likewise.
9150         * elf/sln.c (makesymlinks): Likewise.
9151         (makesymlink): Likewise.
9152         * gmon/gmon.c (__moncontrol): Likewise.
9153         (__monstartup): Likewise.
9154         (write_hist): Likewise.
9155         (write_call_graph): Likewise.
9156         (write_bb_counts): Likewise.
9157         * grp/setgroups.c (setgroups): Likewise.
9158         * inet/inet_lnaof.c (inet_lnaof): Likewise.
9159         * inet/inet_net.c (inet_network): Likewise.
9160         * inet/inet_netof.c (inet_netof): Likewise.
9161         * inet/rcmd.c (rresvport_af): Likewise.
9162         (rresvport): Likewise.
9163         * io/access.c (__access): Likewise.
9164         * io/chdir.c (__chdir): Likewise.
9165         * io/chmod.c (__chmod): Likewise.
9166         * io/chown.c (__chown): Likewise.
9167         * io/close.c (__close): Likewise.
9168         * io/creat.c (creat): Likewise.
9169         * io/creat64.c (creat64): Likewise.
9170         * io/dup.c (__dup): Likewise.
9171         * io/dup2.c (__dup2): Likewise.
9172         * io/dup3.c (__dup3): Likewise.
9173         * io/euidaccess.c (__euidaccess): Likewise.
9174         * io/faccessat.c (faccessat): Likewise.
9175         * io/fchmod.c (__fchmod): Likewise.
9176         * io/fchmodat.c (fchmodat): Likewise.
9177         * io/fchown.c (__fchown): Likewise.
9178         * io/fchownat.c (fchownat): Likewise.
9179         * io/fcntl.c (__fcntl): Likewise.
9180         * io/flock.c (__flock): Likewise.
9181         * io/fts.c (fts_load): Likewise.
9182         (fts_close): Likewise.
9183         (fts_read): Likewise.
9184         (fts_set): Likewise.
9185         (fts_children): Likewise.
9186         (fts_build): Likewise.
9187         (fts_stat): Likewise.
9188         (fts_sort): Likewise.
9189         (fts_alloc): Likewise.
9190         (fts_lfree): Likewise.
9191         (fts_palloc): Likewise.
9192         (fts_padjust): Likewise.
9193         (fts_maxarglen): Likewise.
9194         (fts_safe_changedir): Likewise.
9195         * io/getwd.c (getwd): Likewise.
9196         * io/isatty.c (__isatty): Likewise.
9197         * io/lchown.c (__lchown): Likewise.
9198         * io/link.c (__link): Likewise.
9199         * io/linkat.c (linkat): Likewise.
9200         * io/lseek.c (__libc_lseek): Likewise.
9201         * io/mkdir.c (__mkdir): Likewise.
9202         * io/mkdirat.c (mkdirat): Likewise.
9203         * io/mkfifo.c (mkfifo): Likewise.
9204         * io/mkfifoat.c (mkfifoat): Likewise.
9205         * io/open.c (__libc_open): Likewise.
9206         * io/open64.c (__libc_open64): Likewise.
9207         * io/readlink.c (__readlink): Likewise.
9208         * io/readlinkat.c (readlinkat): Likewise.
9209         * io/rmdir.c (__rmdir): Likewise.
9210         * io/symlink.c (__symlink): Likewise.
9211         * io/symlinkat.c (symlinkat): Likewise.
9212         * io/ttyname.c (ttyname): Likewise.
9213         * io/ttyname_r.c (__ttyname_r): Likewise.
9214         * io/umask.c (__umask): Likewise.
9215         * io/unlink.c (__unlink): Likewise.
9216         * io/unlinkat.c (unlinkat): Likewise.
9217         * io/utime.c (utime): Likewise.
9218         * libio/clearerr.c (clearerr): Likewise.
9219         * libio/clearerr_u.c (clearerr_unlocked): Likewise.
9220         * libio/feof.c (_IO_feof): Likewise.
9221         * libio/feof_u.c (feof_unlocked): Likewise.
9222         * libio/ferror.c (_IO_ferror): Likewise.
9223         * libio/ferror_u.c (ferror_unlocked): Likewise.
9224         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
9225         * libio/fileno.c (__fileno): Likewise.
9226         * libio/fputc.c (fputc): Likewise.
9227         * libio/fputc_u.c (fputc_unlocked): Likewise.
9228         * libio/fputwc.c (fputwc): Likewise.
9229         * libio/fputwc_u.c (fputwc_unlocked): Likewise.
9230         * libio/freopen.c (freopen): Likewise.
9231         * libio/freopen64.c (freopen64): Likewise.
9232         * libio/fseek.c (fseek): Likewise.
9233         * libio/fseeko.c (fseeko): Likewise.
9234         * libio/fseeko64.c (fseeko64): Likewise.
9235         * libio/ftello.c (__ftello): Likewise.
9236         * libio/ftello64.c (ftello64): Likewise.
9237         * libio/fwide.c (fwide): Likewise.
9238         * libio/genops.c (_IO_un_link): Likewise.
9239         (_IO_link_in): Likewise.
9240         (_IO_least_marker): Likewise.
9241         (_IO_switch_to_main_get_area): Likewise.
9242         (_IO_switch_to_backup_area): Likewise.
9243         (_IO_switch_to_get_mode): Likewise.
9244         (_IO_free_backup_area): Likewise.
9245         (_IO_switch_to_put_mode): Likewise.
9246         (__overflow): Likewise.
9247         (__underflow): Likewise.
9248         (__uflow): Likewise.
9249         (_IO_setb): Likewise.
9250         (_IO_doallocbuf): Likewise.
9251         (_IO_default_underflow): Likewise.
9252         (_IO_default_uflow): Likewise.
9253         (_IO_default_xsputn): Likewise.
9254         (_IO_sgetn): Likewise.
9255         (_IO_default_xsgetn): Likewise.
9256         (_IO_sync): Likewise.
9257         (_IO_default_setbuf): Likewise.
9258         (_IO_default_seekpos): Likewise.
9259         (_IO_default_doallocate): Likewise.
9260         (_IO_init): Likewise.
9261         (_IO_old_init): Likewise.
9262         (_IO_default_sync): Likewise.
9263         (_IO_default_finish): Likewise.
9264         (_IO_default_seekoff): Likewise.
9265         (_IO_sputbackc): Likewise.
9266         (_IO_sungetc): Likewise.
9267         (_IO_set_column): Likewise.
9268         (_IO_set_column): Likewise.
9269         (_IO_adjust_column): Likewise.
9270         (_IO_get_column): Likewise.
9271         (_IO_init_marker): Likewise.
9272         (_IO_remove_marker): Likewise.
9273         (_IO_marker_difference): Likewise.
9274         (_IO_marker_delta): Likewise.
9275         (_IO_seekmark): Likewise.
9276         (_IO_unsave_markers): Likewise.
9277         (_IO_nobackup_pbackfail): Likewise.
9278         (_IO_default_pbackfail): Likewise.
9279         (_IO_default_seek): Likewise.
9280         (_IO_default_stat): Likewise.
9281         (_IO_default_read): Likewise.
9282         (_IO_default_write): Likewise.
9283         (_IO_default_showmanyc): Likewise.
9284         (_IO_default_imbue): Likewise.
9285         (_IO_iter_next): Likewise.
9286         (_IO_iter_file): Likewise.
9287         * libio/getc.c (_IO_getc): Likewise.
9288         * libio/getwc.c (_IO_getwc): Likewise.
9289         * libio/iofclose.c (_IO_new_fclose): Likewise.
9290         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
9291         * libio/iofflush.c (_IO_fflush): Likewise.
9292         * libio/iofflush_u.c (__fflush_unlocked): Likewise.
9293         * libio/iofgetpos.c (_IO_new_fgetpos): Likewise.
9294         * libio/iofgetpos64.c (_IO_new_fgetpos64): Likewise.
9295         * libio/iofgets.c (_IO_fgets): Likewise.
9296         * libio/iofgets_u.c (__fgets_unlocked): Likewise.
9297         * libio/iofgetws.c (fgetws): Likewise.
9298         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
9299         * libio/iofopen64.c (_IO_fopen64): Likewise.
9300         * libio/iofopncook.c (_IO_cookie_read): Likewise.
9301         (_IO_cookie_write): Likewise.
9302         (_IO_cookie_seek): Likewise.
9303         (_IO_cookie_close): Likewise.
9304         (_IO_cookie_seekoff): Likewise.
9305         (_IO_old_cookie_seek): Likewise.
9306         * libio/iofputs.c (_IO_fputs): Likewise.
9307         * libio/iofputs_u.c (__fputs_unlocked): Likewise.
9308         * libio/iofputws.c (fputws): Likewise.
9309         * libio/iofputws_u.c (fputws_unlocked): Likewise.
9310         * libio/iofread.c (_IO_fread): Likewise.
9311         * libio/iofread_u.c (__fread_unlocked): Likewise.
9312         * libio/iofsetpos.c (_IO_new_fsetpos): Likewise.
9313         * libio/iofsetpos64.c (_IO_new_fsetpos64): Likewise.
9314         * libio/ioftell.c (_IO_ftell): Likewise.
9315         * libio/iofwrite.c (_IO_fwrite): Likewise.
9316         * libio/iogetdelim.c (_IO_getdelim): Likewise.
9317         * libio/iogets.c (_IO_gets): Likewise.
9318         * libio/iopadn.c (_IO_padn): Likewise.
9319         * libio/iopopen.c (_IO_new_proc_open): Likewise.
9320         (_IO_new_popen): Likewise.
9321         (_IO_new_proc_close): Likewise.
9322         * libio/ioputs.c (_IO_puts): Likewise.
9323         * libio/ioseekoff.c (_IO_seekoff_unlocked): Likewise.
9324         (_IO_seekoff): Likewise.
9325         * libio/ioseekpos.c (_IO_seekpos_unlocked): Likewise.
9326         (_IO_seekpos): Likewise.
9327         * libio/iosetbuffer.c (_IO_setbuffer): Likewise.
9328         * libio/iosetvbuf.c (_IO_setvbuf): Likewise.
9329         * libio/ioungetc.c (_IO_ungetc): Likewise.
9330         * libio/ioungetwc.c (ungetwc): Likewise.
9331         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
9332         * libio/iovsscanf.c (_IO_vsscanf): Likewise.
9333         * libio/iowpadn.c (_IO_wpadn): Likewise.
9334         * libio/libc_fatal.c (__libc_fatal): Likewise.
9335         * libio/memstream.c (__open_memstream): Likewise.
9336         (_IO_mem_sync): Likewise.
9337         (_IO_mem_finish): Likewise.
9338         * libio/oldfileops.c (_IO_old_file_init): Likewise.
9339         (_IO_old_file_close_it): Likewise.
9340         (_IO_old_file_finish): Likewise.
9341         (_IO_old_file_fopen): Likewise.
9342         (_IO_old_file_attach): Likewise.
9343         (_IO_old_file_setbuf): Likewise.
9344         (_IO_old_do_write): Likewise.
9345         (old_do_write): Likewise.
9346         (_IO_old_file_underflow): Likewise.
9347         (_IO_old_file_overflow): Likewise.
9348         (_IO_old_file_sync): Likewise.
9349         (_IO_old_file_seekoff): Likewise.
9350         (_IO_old_file_write): Likewise.
9351         (_IO_old_file_xsputn): Likewise.
9352         * libio/oldiofclose.c (_IO_old_fclose): Likewise.
9353         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
9354         * libio/oldiofgetpos.c (_IO_old_fgetpos): Likewise.
9355         * libio/oldiofgetpos64.c (_IO_old_fgetpos64): Likewise.
9356         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
9357         * libio/oldiofsetpos.c (_IO_old_fsetpos): Likewise.
9358         * libio/oldiofsetpos64.c (_IO_old_fsetpos64): Likewise.
9359         * libio/oldiopopen.c (_IO_old_proc_open): Likewise.
9360         (_IO_old_popen): Likewise.
9361         (_IO_old_proc_close): Likewise.
9362         * libio/oldpclose.c (__old_pclose): Likewise.
9363         * libio/pclose.c (__new_pclose): Likewise.
9364         * libio/peekc.c (_IO_peekc_locked): Likewise.
9365         * libio/putc.c (_IO_putc): Likewise.
9366         * libio/putc_u.c (putc_unlocked): Likewise.
9367         * libio/putchar.c (putchar): Likewise.
9368         * libio/putchar_u.c (putchar_unlocked): Likewise.
9369         * libio/putwc.c (putwc): Likewise.
9370         * libio/putwc_u.c (putwc_unlocked): Likewise.
9371         * libio/putwchar.c (putwchar): Likewise.
9372         * libio/putwchar_u.c (putwchar_unlocked): Likewise.
9373         * libio/rewind.c (rewind): Likewise.
9374         * libio/setbuf.c (setbuf): Likewise.
9375         * libio/setlinebuf.c (setlinebuf): Likewise.
9376         * libio/vasprintf.c (_IO_vasprintf): Likewise.
9377         * libio/vscanf.c (_IO_vscanf): Likewise.
9378         * libio/vsnprintf.c (_IO_strn_overflow): Likewise.
9379         * libio/vswprintf.c (_IO_wstrn_overflow): Likewise.
9380         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
9381         * libio/wgenops.c (_IO_least_wmarker): Likewise.
9382         (_IO_switch_to_main_wget_area): Likewise.
9383         (_IO_switch_to_wbackup_area): Likewise.
9384         (_IO_wsetb): Likewise.
9385         (_IO_wdefault_pbackfail): Likewise.
9386         (_IO_wdefault_finish): Likewise.
9387         (_IO_wdefault_uflow): Likewise.
9388         (__woverflow): Likewise.
9389         (__wuflow): Likewise.
9390         (__wunderflow): Likewise.
9391         (_IO_wdefault_xsputn): Likewise.
9392         (_IO_wdefault_xsgetn): Likewise.
9393         (_IO_wdoallocbuf): Likewise.
9394         (_IO_wdefault_doallocate): Likewise.
9395         (_IO_switch_to_wget_mode): Likewise.
9396         (_IO_free_wbackup_area): Likewise.
9397         (_IO_switch_to_wput_mode): Likewise.
9398         (_IO_sputbackwc): Likewise.
9399         (_IO_sungetwc): Likewise.
9400         (_IO_adjust_wcolumn): Likewise.
9401         (_IO_init_wmarker): Likewise.
9402         (_IO_wmarker_delta): Likewise.
9403         (_IO_seekwmark): Likewise.
9404         (_IO_unsave_wmarkers): Likewise.
9405         * libio/wmemstream.c (open_wmemstream): Likewise.
9406         (_IO_wmem_sync): Likewise.
9407         (_IO_wmem_finish): Likewise.
9408         * locale/nl_langinfo.c (nl_langinfo): Likewise.
9409         * locale/nl_langinfo_l.c (__nl_langinfo_l): Likewise.
9410         * locale/programs/simple-hash.c (init_hash): Likewise.
9411         (delete_hash): Likewise.
9412         (insert_entry): Likewise.
9413         (set_entry): Likewise.
9414         (next_prime): Likewise.
9415         (is_prime): Likewise.
9416         * locale/programs/xmalloc.c (fixup_null_alloc): Likewise.
9417         (xmalloc): Likewise.
9418         (xrealloc): Likewise.
9419         * locale/programs/xstrdup.c (xstrdup): Likewise.
9420         * localedata/collate-test.c (xstrcoll): Likewise.
9421         * localedata/xfrm-test.c (xstrcmp): Likewise.
9422         * login/getlogin_r.c (__getlogin_r): Likewise.
9423         * login/getpt.c (__posix_openpt): Likewise.
9424         * login/login_tty.c (login_tty): Likewise.
9425         * login/setlogin.c (setlogin): Likewise.
9426         * mach/msg-destroy.c (__mach_msg_destroy): Likewise.
9427         (mach_msg_destroy_port): Likewise.
9428         (mach_msg_destroy_memory): Likewise.
9429         * malloc/mcheck.c (flood): Likewise.
9430         * misc/acct.c (acct): Likewise.
9431         * misc/brk.c (__brk): Likewise.
9432         * misc/chflags.c (chflags): Likewise.
9433         * misc/chroot.c (chroot): Likewise.
9434         * misc/fchflags.c (fchflags): Likewise.
9435         * misc/fstab.c (getfsspec): Likewise.
9436         (getfsfile): Likewise.
9437         * misc/fsync.c (fsync): Likewise.
9438         * misc/ftruncate.c (__ftruncate): Likewise.
9439         * misc/ftruncate64.c (__ftruncate64): Likewise.
9440         * misc/getdomain.c (getdomainname): Likewise.
9441         (getdomainname): Likewise.
9442         * misc/gethostname.c (__gethostname): Likewise.
9443         * misc/getpass.c (getpass): Likewise.
9444         * misc/getttyent.c (skip): Likewise.
9445         (value): Likewise.
9446         * misc/gtty.c (gtty): Likewise.
9447         * misc/hsearch.c (hsearch): Likewise.
9448         (hcreate): Likewise.
9449         * misc/hsearch_r.c (__hcreate_r): Likewise.
9450         (__hdestroy_r): Likewise.
9451         * misc/ioctl.c (__ioctl): Likewise.
9452         * misc/mkdtemp.c (mkdtemp): Likewise.
9453         * misc/mkostemp.c (mkostemp): Likewise.
9454         * misc/mkostemp64.c (mkostemp64): Likewise.
9455         * misc/mkostemps.c (mkostemps): Likewise.
9456         * misc/mkostemps64.c (mkostemps64): Likewise.
9457         * misc/mkstemp.c (mkstemp): Likewise.
9458         * misc/mkstemp64.c (mkstemp64): Likewise.
9459         * misc/mkstemps.c (mkstemps): Likewise.
9460         * misc/mkstemps64.c (mkstemps64): Likewise.
9461         * misc/mktemp.c (__mktemp): Likewise.
9462         * misc/preadv.c (preadv): Likewise.
9463         * misc/preadv64.c (preadv64): Likewise.
9464         * misc/pwritev.c (pwritev): Likewise.
9465         * misc/pwritev64.c (pwritev64): Likewise.
9466         * misc/readv.c (__readv): Likewise.
9467         * misc/revoke.c (revoke): Likewise.
9468         * misc/setdomain.c (setdomainname): Likewise.
9469         * misc/setegid.c (setegid): Likewise.
9470         * misc/seteuid.c (seteuid): Likewise.
9471         * misc/sethostid.c (sethostid): Likewise.
9472         * misc/sethostname.c (sethostname): Likewise.
9473         * misc/setregid.c (__setregid): Likewise.
9474         * misc/setreuid.c (__setreuid): Likewise.
9475         * misc/sstk.c (sstk): Likewise.
9476         * misc/stty.c (stty): Likewise.
9477         * misc/syscall.c (syscall): Likewise.
9478         * misc/syslog.c (setlogmask): Likewise.
9479         * misc/truncate.c (__truncate): Likewise.
9480         * misc/truncate64.c (truncate64): Likewise.
9481         * misc/ualarm.c (ualarm): Likewise.
9482         * misc/usleep.c (usleep): Likewise.
9483         * misc/ustat.c (ustat): Likewise.
9484         * misc/writev.c (__writev): Likewise.
9485         * nptl/cleanup_compat.c (_pthread_cleanup_pop): Likewise.
9486         * nptl/old_pthread_cond_broadcast.c
9487         (__pthread_cond_broadcast_2_0): Likewise.
9488         * nptl/old_pthread_cond_destroy.c (__pthread_cond_destroy_2_0):
9489         Likewise.
9490         * nptl/old_pthread_cond_signal.c (__pthread_cond_signal_2_0):
9491         Likewise.
9492         * nptl/old_pthread_cond_wait.c (__pthread_cond_wait_2_0):
9493         Likewise.
9494         * nptl/pt-raise.c (raise): Likewise.
9495         * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy):
9496         Likewise.
9497         * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Likewise.
9498         * nptl/pthread_barrierattr_destroy.c
9499         (pthread_barrierattr_destroy): Likewise.
9500         * nptl/pthread_barrierattr_init.c (pthread_barrierattr_init):
9501         Likewise.
9502         * nptl/pthread_barrierattr_setpshared.c
9503         (pthread_barrierattr_setpshared): Likewise.
9504         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
9505         Likewise.
9506         * nptl/pthread_cond_destroy.c (__pthread_cond_destroy): Likewise.
9507         * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
9508         * nptl/pthread_cond_signal.c (__pthread_cond_signal): Likewise.
9509         * nptl/pthread_condattr_destroy.c (__pthread_condattr_destroy):
9510         Likewise.
9511         * nptl/pthread_condattr_getclock.c (pthread_condattr_getclock):
9512         Likewise.
9513         * nptl/pthread_condattr_getpshared.c
9514         (pthread_condattr_getpshared): Likewise.
9515         * nptl/pthread_condattr_init.c (__pthread_condattr_init):
9516         Likewise.
9517         * nptl/pthread_condattr_setpshared.c
9518         (pthread_condattr_setpshared): Likewise.
9519         * nptl/pthread_detach.c (pthread_detach): Likewise.
9520         * nptl/pthread_equal.c (__pthread_equal): Likewise.
9521         * nptl/pthread_getcpuclockid.c (pthread_getcpuclockid): Likewise.
9522         * nptl/pthread_getspecific.c (__pthread_getspecific): Likewise.
9523         * nptl/pthread_key_delete.c (pthread_key_delete): Likewise.
9524         * nptl/pthread_mutex_consistent.c (pthread_mutex_consistent):
9525         Likewise.
9526         * nptl/pthread_mutex_destroy.c (__pthread_mutex_destroy):
9527         Likewise.
9528         * nptl/pthread_mutex_getprioceiling.c
9529         (pthread_mutex_getprioceiling): Likewise.
9530         * nptl/pthread_mutexattr_destroy.c (__pthread_mutexattr_destroy):
9531         Likewise.
9532         * nptl/pthread_mutexattr_getprotocol.c
9533         (pthread_mutexattr_getprotocol): Likewise.
9534         * nptl/pthread_mutexattr_getpshared.c
9535         (pthread_mutexattr_getpshared): Likewise.
9536         * nptl/pthread_mutexattr_getrobust.c
9537         (pthread_mutexattr_getrobust): Likewise.
9538         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
9539         Likewise.
9540         * nptl/pthread_mutexattr_init.c (__pthread_mutexattr_init):
9541         Likewise.
9542         * nptl/pthread_mutexattr_setprioceiling.c
9543         (pthread_mutexattr_setprioceiling): Likewise.
9544         * nptl/pthread_mutexattr_setprotocol.c
9545         (pthread_mutexattr_setprotocol): Likewise.
9546         * nptl/pthread_mutexattr_setpshared.c
9547         (pthread_mutexattr_setpshared): Likewise.
9548         * nptl/pthread_mutexattr_setrobust.c
9549         (pthread_mutexattr_setrobust): Likewise.
9550         * nptl/pthread_mutexattr_settype.c (__pthread_mutexattr_settype):
9551         Likewise.
9552         * nptl/pthread_rwlock_destroy.c (__pthread_rwlock_destroy):
9553         Likewise.
9554         * nptl/pthread_rwlockattr_destroy.c (pthread_rwlockattr_destroy):
9555         Likewise.
9556         * nptl/pthread_rwlockattr_getkind_np.c
9557         (pthread_rwlockattr_getkind_np): Likewise.
9558         * nptl/pthread_rwlockattr_getpshared.c
9559         (pthread_rwlockattr_getpshared): Likewise.
9560         * nptl/pthread_rwlockattr_init.c (pthread_rwlockattr_init):
9561         Likewise.
9562         * nptl/pthread_rwlockattr_setkind_np.c
9563         (pthread_rwlockattr_setkind_np): Likewise.
9564         * nptl/pthread_rwlockattr_setpshared.c
9565         (pthread_rwlockattr_setpshared): Likewise.
9566         * nptl/pthread_setcancelstate.c (__pthread_setcancelstate):
9567         Likewise.
9568         * nptl/pthread_setcanceltype.c (__pthread_setcanceltype):
9569         Likewise.
9570         * nptl/pthread_setconcurrency.c (pthread_setconcurrency):
9571         Likewise.
9572         * nptl/pthread_setschedprio.c (pthread_setschedprio): Likewise.
9573         * nptl/pthread_setspecific.c (__pthread_setspecific): Likewise.
9574         * nptl/pthread_spin_destroy.c (pthread_spin_destroy): Likewise.
9575         * nptl/pthread_tryjoin.c (pthread_tryjoin_np): Likewise.
9576         * nptl/sem_close.c (sem_close): Likewise.
9577         * nptl/sem_destroy.c (__new_sem_destroy): Likewise.
9578         * nptl/sem_init.c (__old_sem_init): Likewise.
9579         * nptl/sigaction.c (__sigaction): Likewise.
9580         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
9581         * posix/_exit.c (_exit): Likewise.
9582         * posix/alarm.c (alarm): Likewise.
9583         * posix/confstr.c (confstr): Likewise.
9584         * posix/fpathconf.c (__fpathconf): Likewise.
9585         * posix/getgroups.c (__getgroups): Likewise.
9586         * posix/getpgid.c (__getpgid): Likewise.
9587         * posix/group_member.c (__group_member): Likewise.
9588         * posix/pathconf.c (__pathconf): Likewise.
9589         * posix/sched_getaffinity.c (sched_getaffinity): Likewise.
9590         * posix/sched_setaffinity.c (sched_setaffinity): Likewise.
9591         * posix/setgid.c (__setgid): Likewise.
9592         * posix/setpgid.c (__setpgid): Likewise.
9593         * posix/setuid.c (__setuid): Likewise.
9594         * posix/sleep.c (__sleep): Likewise.
9595         * posix/sysconf.c (__sysconf): Likewise.
9596         * posix/times.c (__times): Likewise.
9597         * posix/uname.c (__uname): Likewise.
9598         * posix/waitid.c (__waitid): Likewise.
9599         * pwd/getpw.c (__getpw): Likewise.
9600         * resolv/base64.c (b64_pton): Likewise.
9601         * resolv/gai_sigqueue.c (__gai_sigqueue): Likewise.
9602         * resolv/gethnamaddr.c (Dprintf): Likewise.
9603         (gethostbyname): Likewise.
9604         (gethostbyname2): Likewise.
9605         (gethostbyaddr): Likewise.
9606         (_sethtent): Likewise.
9607         (_gethtbyname): Likewise.
9608         (_gethtbyname2): Likewise.
9609         (_gethtbyaddr): Likewise.
9610         (map_v4v6_address): Likewise.
9611         (map_v4v6_hostent): Likewise.
9612         (addrsort): Likewise.
9613         (ht_sethostent): Likewise.
9614         (ht_gethostbyname): Likewise.
9615         (ht_gethostbyaddr): Likewise.
9616         * resolv/inet_net_ntop.c (inet_net_ntop): Likewise.
9617         (inet_net_ntop_ipv4): Likewise.
9618         * resolv/inet_neta.c (inet_neta): Likewise.
9619         * resolv/inet_ntop.c (inet_ntop): Likewise.
9620         (inet_ntop4): Likewise.
9621         (inet_ntop6): Likewise.
9622         * resolv/inet_pton.c (__inet_pton): Likewise.
9623         (inet_pton4): Likewise.
9624         (inet_pton6): Likewise.
9625         * resolv/res_debug.c (loc_aton): Likewise.
9626         (loc_ntoa): Likewise.
9627         * resource/getpriority.c (__getpriority): Likewise.
9628         * resource/getrusage.c (__getrusage): Likewise.
9629         * resource/nice.c (nice): Likewise.
9630         * resource/setpriority.c (__setpriority): Likewise.
9631         * resource/setrlimit64.c (setrlimit64): Likewise.
9632         * resource/vlimit.c (vlimit): Likewise.
9633         * resource/vtimes.c (vtimes): Likewise.
9634         * rt/aio_error.c (aio_error): Likewise.
9635         * rt/aio_return.c (aio_return): Likewise.
9636         * rt/aio_sigqueue.c (__aio_sigqueue): Likewise.
9637         * signal/kill.c (__kill): Likewise.
9638         * signal/killpg.c (killpg): Likewise.
9639         * signal/raise.c (raise): Likewise.
9640         * signal/sigaction.c (__sigaction): Likewise.
9641         * signal/sigaddset.c (sigaddset): Likewise.
9642         * signal/sigaltstack.c (sigaltstack): Likewise.
9643         * signal/sigandset.c (sigandset): Likewise.
9644         * signal/sigblock.c (__sigblock): Likewise.
9645         * signal/sigdelset.c (sigdelset): Likewise.
9646         * signal/sigempty.c (sigemptyset): Likewise.
9647         * signal/sigfillset.c (sigfillset): Likewise.
9648         * signal/sighold.c (sighold): Likewise.
9649         * signal/sigignore.c (sigignore): Likewise.
9650         * signal/sigintr.c (siginterrupt): Likewise.
9651         * signal/sigisempty.c (sigisemptyset): Likewise.
9652         * signal/sigismem.c (sigismember): Likewise.
9653         * signal/signal.c (signal): Likewise.
9654         * signal/sigorset.c (sigorset): Likewise.
9655         * signal/sigpause.c (__sigpause): Likewise.
9656         * signal/sigpending.c (sigpending): Likewise.
9657         * signal/sigprocmask.c (__sigprocmask): Likewise.
9658         * signal/sigrelse.c (sigrelse): Likewise.
9659         * signal/sigreturn.c (__sigreturn): Likewise.
9660         * signal/sigset.c (sigset): Likewise.
9661         * signal/sigsetmask.c (__sigsetmask): Likewise.
9662         * signal/sigstack.c (sigstack): Likewise.
9663         * signal/sigsuspend.c (__sigsuspend): Likewise.
9664         * signal/sigvec.c (sigvec_wrapper_handler): Likewise.
9665         * signal/sysv_signal.c (__sysv_signal): Likewise.
9666         * socket/accept.c (accept): Likewise.
9667         * socket/accept4.c (__libc_accept4): Likewise.
9668         * socket/bind.c (__bind): Likewise.
9669         * socket/connect.c (__connect): Likewise.
9670         * socket/getpeername.c (getpeername): Likewise.
9671         * socket/getsockname.c (__getsockname): Likewise.
9672         * socket/getsockopt.c (getsockopt): Likewise.
9673         * socket/listen.c (__listen): Likewise.
9674         * socket/recv.c (__recv): Likewise.
9675         * socket/recvmsg.c (__recvmsg): Likewise.
9676         * socket/send.c (__send): Likewise.
9677         * socket/sendmsg.c (__sendmsg): Likewise.
9678         * socket/shutdown.c (shutdown): Likewise.
9679         * socket/sockatmark.c (sockatmark): Likewise.
9680         * socket/socket.c (__socket): Likewise.
9681         * stdio-common/ctermid.c (ctermid): Likewise.
9682         * stdio-common/cuserid.c (cuserid): Likewise.
9683         * stdio-common/printf-prs.c (parse_printf_format): Likewise.
9684         * stdio-common/remove.c (remove): Likewise.
9685         * stdio-common/rename.c (rename): Likewise.
9686         * stdio-common/renameat.c (renameat): Likewise.
9687         * stdio-common/tempname.c (__gen_tempname): Likewise.
9688         * stdio-common/xbug.c (InitBuffer): Likewise.
9689         (AppendToBuffer): Likewise.
9690         (ReadFile): Likewise.
9691         * stdlib/a64l.c (a64l): Likewise.
9692         * stdlib/drand48_r.c (drand48_r): Likewise.
9693         * stdlib/getcontext.c (getcontext): Likewise.
9694         * stdlib/getenv.c (getenv): Likewise.
9695         * stdlib/l64a.c (l64a): Likewise.
9696         * stdlib/llabs.c (llabs): Likewise.
9697         * stdlib/lldiv.c (lldiv): Likewise.
9698         * stdlib/lrand48_r.c (lrand48_r): Likewise.
9699         * stdlib/mrand48_r.c (mrand48_r): Likewise.
9700         * stdlib/putenv.c (putenv): Likewise.
9701         * stdlib/random.c (__srandom): Likewise.
9702         (__initstate): Likewise.
9703         (__setstate): Likewise.
9704         * stdlib/random_r.c (__srandom_r): Likewise.
9705         (__setstate_r): Likewise.
9706         (__random_r): Likewise.
9707         * stdlib/secure-getenv.c (__libc_secure_getenv): Likewise.
9708         * stdlib/setcontext.c (setcontext): Likewise.
9709         * stdlib/setenv.c (setenv): Likewise.
9710         (unsetenv): Likewise.
9711         * stdlib/srand48.c (srand48): Likewise.
9712         * stdlib/srand48_r.c (__srand48_r): Likewise.
9713         * stdlib/swapcontext.c (swapcontext): Likewise.
9714         * stdlib/system.c (__libc_system): Likewise.
9715         * stdlib/tst-strtod.c (expand): Likewise.
9716         * stdlib/tst-strtol.c (expand): Likewise.
9717         * stdlib/tst-strtoll.c (expand): Likewise.
9718         * streams/fattach.c (fattach): Likewise.
9719         * streams/fdetach.c (fdetach): Likewise.
9720         * streams/getmsg.c (getmsg): Likewise.
9721         * streams/isastream.c (isastream): Likewise.
9722         * string/ffs.c (__ffs): Likewise.
9723         * string/ffsll.c (ffsll): Likewise.
9724         * string/memcmp.c (memcmp_common_alignment): Likewise.
9725         (memcmp_not_common_alignment): Likewise.
9726         (MEMCMP): Likewise.
9727         * string/memcpy.c (memcpy): Likewise.
9728         * string/memmove.c (MEMMOVE): Likewise.
9729         * string/memset.c (memset): Likewise.
9730         * string/rawmemchr.c (RAWMEMCHR): Likewise.
9731         * string/strchrnul.c (STRCHRNUL): Likewise.
9732         * string/strerror.c (strerror): Likewise.
9733         * string/strndup.c (__strndup): Likewise.
9734         * string/strverscmp.c (__strverscmp): Likewise.
9735         * sunrpc/clnt_raw.c (clntraw_freeres): Likewise.
9736         * sunrpc/clnt_tcp.c (clnttcp_geterr): Likewise.
9737         (clnttcp_freeres): Likewise.
9738         * sunrpc/clnt_unix.c (clntunix_freeres): Likewise.
9739         * sunrpc/pmap_prot.c (xdr_pmap): Likewise.
9740         * sunrpc/pmap_prot2.c (xdr_pmaplist): Likewise.
9741         * sunrpc/pmap_rmt.c (xdr_rmtcallres): Likewise.
9742         * sunrpc/rpc_prot.c (xdr_replymsg): Likewise.
9743         (xdr_callhdr): Likewise.
9744         * sunrpc/rpcinfo.c (udpping): Likewise.
9745         (tcpping): Likewise.
9746         (pstatus): Likewise.
9747         (pmapdump): Likewise.
9748         (brdcst): Likewise.
9749         (deletereg): Likewise.
9750         (getprognum): Likewise.
9751         (getvers): Likewise.
9752         (get_inet_address): Likewise.
9753         * sunrpc/svc_raw.c (svcraw_recv): Likewise.
9754         * sunrpc/svc_udp.c (svcudp_create): Likewise.
9755         (svcudp_stat): Likewise.
9756         (svcudp_recv): Likewise.
9757         (svcudp_reply): Likewise.
9758         (svcudp_getargs): Likewise.
9759         (svcudp_freeargs): Likewise.
9760         (svcudp_destroy): Likewise.
9761         * sunrpc/xdr.c (xdr_bytes): Likewise.
9762         (xdr_netobj): Likewise.
9763         (xdr_string): Likewise.
9764         (xdr_wrapstring): Likewise.
9765         * sunrpc/xdr_float.c (xdr_float): Likewise.
9766         (xdr_double): Likewise.
9767         * sunrpc/xdr_mem.c (xdrmem_setpos): Likewise.
9768         * sunrpc/xdr_ref.c (xdr_pointer): Likewise.
9769         * sysvipc/ftok.c (ftok): Likewise.
9770         * sysvipc/msgctl.c (msgctl): Likewise.
9771         * sysvipc/msgget.c (msgget): Likewise.
9772         * sysvipc/msgrcv.c (msgrcv): Likewise.
9773         * sysvipc/msgsnd.c (msgsnd): Likewise.
9774         * sysvipc/semget.c (semget): Likewise.
9775         * sysvipc/semop.c (semop): Likewise.
9776         * sysvipc/shmat.c (shmat): Likewise.
9777         * sysvipc/shmctl.c (shmctl): Likewise.
9778         * sysvipc/shmdt.c (shmdt): Likewise.
9779         * sysvipc/shmget.c (shmget): Likewise.
9780         * termios/cfmakeraw.c (cfmakeraw): Likewise.
9781         * termios/speed.c (cfgetospeed): Likewise.
9782         (cfgetispeed): Likewise.
9783         (cfsetospeed): Likewise.
9784         (cfsetispeed): Likewise.
9785         * termios/tcflow.c (tcflow): Likewise.
9786         * termios/tcflush.c (tcflush): Likewise.
9787         * termios/tcgetattr.c (__tcgetattr): Likewise.
9788         * termios/tcgetpgrp.c (tcgetpgrp): Likewise.
9789         * termios/tcgetsid.c (tcgetsid): Likewise.
9790         * termios/tcsendbrk.c (tcsendbreak): Likewise.
9791         * termios/tcsetpgrp.c (tcsetpgrp): Likewise.
9792         * time/adjtime.c (__adjtime): Likewise.
9793         * time/dysize.c (dysize): Likewise.
9794         * time/ftime.c (ftime): Likewise.
9795         * time/getitimer.c (__getitimer): Likewise.
9796         * time/gettimeofday.c (__gettimeofday): Likewise.
9797         * time/gmtime.c (__gmtime_r): Likewise.
9798         (gmtime): Likewise.
9799         * time/localtime.c (__localtime_r): Likewise.
9800         (localtime): Likewise.
9801         * time/offtime.c (__offtime): Likewise.
9802         * time/settimeofday.c (__settimeofday): Likewise.
9803         * time/stime.c (stime): Likewise.
9804         * time/strftime_l.c (tm_diff): Likewise.
9805         (iso_week_days): Likewise.
9806         * time/strptime.c (strptime): Likewise.
9807         * time/time.c (time): Likewise.
9808         * time/timespec_get.c (timespec_get): Likewise.
9809         * time/tzset.c (tzset_internal): Likewise.
9810         (compute_change): Likewise.
9811         (__tz_compute): Likewise.
9812         * wcsmbs/btowc.c (__btowc): Likewise.
9813         * wcsmbs/mbrlen.c (__mbrlen): Likewise.
9814         * wcsmbs/mbsinit.c (__mbsinit): Likewise.
9815         * wcsmbs/mbsrtowcs.c (__mbsrtowcs): Likewise.
9816         * wcsmbs/wcpcpy.c (__wcpcpy): Likewise.
9817         * wcsmbs/wcpncpy.c (__wcpncpy): Likewise.
9818         * wcsmbs/wcscat.c (__wcscat): Likewise.
9819         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
9820         * wcsmbs/wcscmp.c (WCSCMP): Likewise.
9821         * wcsmbs/wcscpy.c (WCSCPY): Likewise.
9822         * wcsmbs/wcscspn.c (wcscspn): Likewise.
9823         * wcsmbs/wcsdup.c (wcsdup): Likewise.
9824         * wcsmbs/wcslen.c (__wcslen): Likewise.
9825         * wcsmbs/wcsncat.c (WCSNCAT): Likewise.
9826         * wcsmbs/wcsncmp.c (WCSNCMP): Likewise.
9827         * wcsmbs/wcsncpy.c (__wcsncpy): Likewise.
9828         * wcsmbs/wcsnlen.c (__wcsnlen): Likewise.
9829         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
9830         * wcsmbs/wcsrchr.c (WCSRCHR): Likewise.
9831         * wcsmbs/wcsspn.c (wcsspn): Likewise.
9832         * wcsmbs/wcsstr.c (wcsstr): Likewise.
9833         * wcsmbs/wcstok.c (wcstok): Likewise.
9834         * wcsmbs/wctob.c (wctob): Likewise.
9835         * wcsmbs/wmemchr.c (__wmemchr): Likewise.
9836         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
9837         * wcsmbs/wmemcpy.c (__wmemcpy): Likewise.
9838         * wcsmbs/wmemmove.c (__wmemmove): Likewise.
9839         * wcsmbs/wmempcpy.c (__wmempcpy): Likewise.
9840         * wcsmbs/wmemset.c (__wmemset): Likewise.
9841         * wctype/wcfuncs.c (__towlower): Likewise.
9842         (__towupper): Likewise.
9844         * sysdeps/unix/sysv/linux/i386/lowlevellock.h
9845         (lll_unlock_elision): Add adapt_count parameter.
9847 2015-10-15  Joseph Myers  <joseph@codesourcery.com>
9849         * sysdeps/nptl/configure.ac: Do not give errors based on the
9850         results of top-level configure tests.
9851         * sysdeps/nptl/configure: Regenerated.
9853         * configure.ac (libc_cv_Bgroup): Remove configure test.
9854         * configure: Regenerated.
9855         * config.make.in (have-Bgroup): Remove variable.
9857         * configure.ac (sizeof_long_double): Remove configure test.
9858         * configure: Regenerated.
9859         * config.make.in (sizeof-long-double): Remove variable.
9861         * configure.ac (libc_cv_gcc_exceptions): Remove configure test.
9862         * configure: Regenerated.
9863         * sysdeps/arm/configure.ac (libc_cv_gcc_exceptions): Do not set
9864         variable.
9865         (exceptions): Likewise.
9866         * sysdeps/arm/configure: Regenerated.
9867         * config.make.in (exceptions): Remove variable.
9868         * Makeconfig (uses-callbacks): Use -fexceptions instead of
9869         $(exceptions).
9870         * debug/Makefile (CFLAGS-dprintf_chk.c): Likewise.
9871         (CFLAGS-vdprintf_chk.c): Likewise.
9872         (CFLAGS-printf_chk.c): Likewise.
9873         (CFLAGS-fprintf_chk.c): Likewise.
9874         (CFLAGS-vprintf_chk.c): Likewise.
9875         (CFLAGS-vfprintf_chk.c): Likewise.
9876         (CFLAGS-gets_chk.c): Likewise.
9877         (CFLAGS-fgets_chk.c): Likewise.
9878         (CFLAGS-fgets_u_chk.c): Likewise.
9879         (CFLAGS-fread_chk.c): Likewise.
9880         (CFLAGS-fread_u_chk.c): Likewise.
9881         (CFLAGS-wprintf_chk.c): Likewise.
9882         (CFLAGS-fwprintf_chk.c): Likewise.
9883         (CFLAGS-vwprintf_chk.c): Likewise.
9884         (CFLAGS-vfwprintf_chk.c): Likewise.
9885         (CFLAGS-fgetws_chk.c): Likewise.
9886         (CFLAGS-fgetws_u_chk.c): Likewise.
9887         * libio/Makefile (CFLAGS-fileops.c): Likewise.
9888         (CFLAGS-fputc.c): Likewise.
9889         (CFLAGS-fputwc.c): Likewise.
9890         (CFLAGS-freopen64.c): Likewise.
9891         (CFLAGS-freopen.c): Likewise.
9892         (CFLAGS-fseek.c): Likewise.
9893         (CFLAGS-fseeko64.c): Likewise.
9894         (CFLAGS-fseeko.c): Likewise.
9895         (CFLAGS-ftello64.c): Likewise.
9896         (CFLAGS-ftello.c): Likewise.
9897         (CFLAGS-fwide.c): Likewise.
9898         (CFLAGS-genops.c): Likewise.
9899         (CFLAGS-getc.c): Likewise.
9900         (CFLAGS-getchar.c): Likewise.
9901         (CFLAGS-getwc.c): Likewise.
9902         (CFLAGS-getwchar.c): Likewise.
9903         (CFLAGS-iofclose.c): Likewise.
9904         (CFLAGS-iofflush.c): Likewise.
9905         (CFLAGS-iofgetpos64.c): Likewise.
9906         (CFLAGS-iofgetpos.c): Likewise.
9907         (CFLAGS-iofgets.c): Likewise.
9908         (CFLAGS-iofgetws.c): Likewise.
9909         (CFLAGS-iofputs.c): Likewise.
9910         (CFLAGS-iofputws.c): Likewise.
9911         (CFLAGS-iofread.c): Likewise.
9912         (CFLAGS-iofsetpos64.c): Likewise.
9913         (CFLAGS-iofsetpos.c): Likewise.
9914         (CFLAGS-ioftell.c): Likewise.
9915         (CFLAGS-iofwrite.c): Likewise.
9916         (CFLAGS-iogetdelim.c): Likewise.
9917         (CFLAGS-iogetline.c): Likewise.
9918         (CFLAGS-iogets.c): Likewise.
9919         (CFLAGS-iogetwline.c): Likewise.
9920         (CFLAGS-ioputs.c): Likewise.
9921         (CFLAGS-ioseekoff.c): Likewise.
9922         (CFLAGS-ioseekpos.c): Likewise.
9923         (CFLAGS-iosetbuffer.c): Likewise.
9924         (CFLAGS-iosetvbuf.c): Likewise.
9925         (CFLAGS-ioungetc.c): Likewise.
9926         (CFLAGS-ioungetwc.c): Likewise.
9927         (CFLAGS-oldfileops.c): Likewise.
9928         (CFLAGS-oldiofclose.c): Likewise.
9929         (CFLAGS-oldiofgetpos64.c): Likewise.
9930         (CFLAGS-oldiofgetpos.c): Likewise.
9931         (CFLAGS-oldiofsetpos64.c): Likewise.
9932         (CFLAGS-oldiofsetpos.c): Likewise.
9933         (CFLAGS-peekc.c): Likewise.
9934         (CFLAGS-putc.c): Likewise.
9935         (CFLAGS-putchar.c): Likewise.
9936         (CFLAGS-putwc.c): Likewise.
9937         (CFLAGS-putwchar.c): Likewise.
9938         (CFLAGS-rewind.c): Likewise.
9939         (CFLAGS-wfileops.c): Likewise.
9940         (CFLAGS-wgenops.c): Likewise.
9941         (CFLAGS-oldiofopen.c): Likewise.
9942         (CFLAGS-iofopen.c): Likewise.
9943         (CFLAGS-iofopen64.c): Likewise.
9944         (CFLAGS-oldtmpfile.c): Likewise.
9945         * stdio-common/Makefile (CFLAGS-vfprintf.c): Likewise.
9946         (CFLAGS-fprintf.c): Likewise.
9947         (CFLAGS-printf.c): Likewise.
9948         (CFLAGS-vfwprintf.c): Likewise.
9949         (CFLAGS-vfscanf.c): Likewise.
9950         (CFLAGS-vfwscanf.c): Likewise.
9951         (CFLAGS-fscanf.c): Likewise.
9952         (CFLAGS-scanf.c): Likewise.
9953         (CFLAGS-isoc99_vfscanf.c): Likewise.
9954         (CFLAGS-isoc99_vscanf.c): Likewise.
9955         (CFLAGS-isoc99_fscanf.c): Likewise.
9956         (CFLAGS-isoc99_scanf.c): Likewise.
9957         * wcsmbs/Makefile (CFLAGS-isoc99_wscanf.c): Likewise.
9958         (CFLAGS-isoc99_fwscanf.c): Likewise.
9959         (CFLAGS-isoc99_vwscanf.c): Likewise.
9960         (CFLAGS-isoc99_vfwscanf.c): Likewise.
9962         * io/test-lfs.c (do_prepare): Do not call add_temp_file until
9963         after mkstemp64.
9964         * login/tst-utmp.c (do_prepare): Likewise.
9965         * rt/tst-aio.c (do_prepare): Likewise.
9966         * rt/tst-aio64.c (do_prepare): Likewise.
9968 2015-10-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
9970         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
9971         (__lll_lock_elision): Remove adapt_count decrement...
9972         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
9973         (__lll_trylock_elision): Likewise.
9974         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
9975         (__lll_unlock_elision): ... to here. And utilize
9976         new adapt_count parameter.
9977         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
9978         (__lll_unlock_elision): Update to include adapt_count
9979         parameter.
9980         (lll_unlock_elision): Pass pointer to adapt_count
9981         variable.
9983 2015-10-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
9985         * nptl/pthread_mutex_unlock.c (lll_unlock_elision):
9986         Add elision adapt_count parameter to list of arguments.
9987         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
9988         (lll_unlock_elision): Update with new parameter list
9989         * sysdeps/unix/sysv/linux/s390/lowlevellock.h
9990         (lll_unlock_elision): Likewise.
9991         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h
9992         (lll_unlock_elision): Likewise.
9994 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
9996         [BZ #19122]
9997         * include/sys/utsname.h [IS_IN (rtld)] (__uname): Add
9998         attribute_hidden.
10000         * include/string.h [IS_IN (rtld)] (__stpcpy): Add
10001         attribute_hidden.
10002         [IS_IN (rtld)] (__strdup): Likewise.
10003         [IS_IN (rtld)] (__strerror_r): Likewise.
10004         [IS_IN (rtld)] (__strsep_g): Likewise.
10005         [IS_IN (rtld)] (memchr): Likewise.
10006         [IS_IN (rtld)] (memcmp): Likewise.
10007         [IS_IN (rtld)] (memcpy): Likewise.
10008         [IS_IN (rtld)] (memmove): Likewise.
10009         [IS_IN (rtld)] (memset): Likewise.
10010         [IS_IN (rtld)] (rawmemchr): Likewise.
10011         [IS_IN (rtld)] (stpcpy): Likewise.
10012         [IS_IN (rtld)] (strchr): Likewise.
10013         [IS_IN (rtld)] (strcmp): Likewise.
10014         [IS_IN (rtld)] (strlen): Likewise.
10015         [IS_IN (rtld)] (strnlen): Likewise.
10016         [IS_IN (rtld)] (strsep): Likewise.
10018         * include/stdlib.h [IS_IN (rtld)] (unsetenv): Add
10019         attribute_hidden.
10020         [IS_IN (rtld)] (__strtoul_internal): Likewise.
10022         * include/signal.h [IS_IN (rtld)] (__sigaction): Add
10023         attribute_hidden.
10024         [IS_IN (rtld)] (__libc_sigaction): Likewise.
10026         * include/setjmp.h (__longjmp): Add attribute_hidden.
10027         [IS_IN (rtld)] (__sigsetjmp): Likewise.
10029         * include/libc-internal.h [IS_IN (rtld)] (__profile_frequency):
10030         Add attribute_hidden.
10032         * include/fcntl.h (__libc_fcntl): Add attribute_hidden.
10033         [IS_IN (rtld)] (__open): Likewise.
10034         [IS_IN (rtld)] (__fcntl): Likewise.
10036         * include/dirent.h (__opendirat): Add attribute_hidden.
10037         (__getdents): Likewise.
10038         (__getdents64): Likewise.
10039         (__alloc_dir): Likewise.
10040         [IS_IN (rtld)] (__closedir): Likewise.
10041         [IS_IN (rtld)] (__fdopendir): Likewise.
10042         [IS_IN (rtld)] (__readdir): Likewise.
10043         [IS_IN (rtld)] (__readdir64): Likewise.
10044         [IS_IN (rtld)] (__rewinddir): Likewise.
10046         * include/dlfcn.h (_dl_catch_error): Moved to ...
10047         * sysdeps/generic/ldsodefs.h (_dl_catch_error): Add
10048         attribute_hidden.
10050         * sysdeps/generic/_itoa.h (_itoa): Add attribute_hidden.
10051         (_itoa_word): Likewise.
10053         * elf/dl-runtime.c (_dl_fixup): Add attribute_hidden.
10054         * elf/dynamic-link.h (_dl_try_allocate_static_tls): Likewise.
10055         * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): Likewise.
10056         * sysdeps/generic/ldsodefs.h (_dl_name_match_p): Likewise.
10057         (_dl_higher_prime_number): Likewise.
10058         (_dl_debug_printf_c): Likewise.
10059         (_dl_signal_cerror): Likewise.
10060         (_dl_receive_error): Likewise.
10061         (_dl_reloc_bad_type): Likewise.
10062         (_dl_resolve_conflicts): Likewise.
10063         (_dl_check_all_versions): Likewise.
10064         (_dl_check_map_versions): Likewise.
10065         (_dl_sort_fini): Likewise.
10066         (_dl_debug_initialize): Likewise.
10067         (_dl_init_paths): Likewise.
10068         (_dl_show_auxv): Likewise.
10069         (_dl_next_ld_env_entry): Likewise.
10070         (_dl_important_hwcaps): Likewise.
10071         (_dl_load_cache_lookup): Likewise.
10072         (_dl_update_slotinfo): Likewise.
10073         (_dl_show_scope): Likewise.
10075         * sysdeps/generic/memcopy.h (_wordcopy_fwd_aligned): Add
10076         attribute_hidden.
10077         (_wordcopy_fwd_dest_aligned): Likewise.
10078         (_wordcopy_bwd_aligned): Likewise.
10079         (_wordcopy_bwd_dest_aligned): Likewise.
10081         * sysdeps/i386/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
10082         * sysdeps/i386/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
10083         Likewise.
10084         * sysdeps/x86_64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
10085         Likewise.
10086         * sysdeps/x86_64/dl-lookupcfg.h (_dl_unmap): Likewise.
10088 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
10090         * sysdeps/unix/sysv/linux/i386/sysdep.h: Add comments for
10091         GCC 5 requirement.
10093 2015-10-15  Joseph Myers  <joseph@codesourcery.com>
10095         * sysdeps/i386/configure.ac (libc_cv_as_i686): Remove configure
10096         test.
10097         * sysdeps/i386/configure: Regenerated.
10098         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]: Make
10099         code unconditional.
10101         * configure.ac (libc_cv_asm_previous_directive): Remove configure
10102         test.
10103         (libc_cv_asm_popsection_directive): Likewise.
10104         * configure: Regenerated.
10105         * config.h.in (HAVE_ASM_PREVIOUS_DIRECTIVE): Remove #undef.
10106         (HAVE_ASM_POPSECTION_DIRECTIVE): Likewise.
10107         * include/libc-symbols.h [HAVE_ASM_PREVIOUS_DIRECTIVE]
10108         (__make_section_unallocated): Make definition unconditional.
10109         [HAVE_ASM_POPSECTION_DIRECTIVE] (__make_section_unallocated):
10110         Remove conditional definition.
10111         [!HAVE_ASM_PREVIOUS_DIRECTIVE && !HAVE_ASM_POPSECTION_DIRECTIVE]
10112         (__make_section_unallocated): Likewise.
10114         * configure.ac (libc_cv_gcc_static_libgcc): Remove configure test.
10115         * configure: Regenerated.
10116         * config.make.in (static-libgcc): Remove variable.
10117         * Makerules (build-shlib-helper): Use -static-libgcc instead of
10118         $(static-libgcc).
10119         (build-module-helper): Likewise.
10121         * configure.ac (libc_cv_friendly_stddef): Remove configure test.
10122         * configure: Regenerated.
10124 2015-10-15  Florian Weimer  <fweimer@redhat.com>
10126         * stdio-common/vfscanf.c (MEMCPY): Remove macro.
10127         (struct char_buffer): New type.
10128         (char_buffer_start, char_buffer_size, char_buffer_error)
10129         (char_buffer_rewind, char_buffer_add): New functions.
10130         (ADDW): Remove macro, replaced by the char_buffer_add function.
10131         (_IO_vfscanf_internal): Rewrite using struct char_buffer instead
10132         of extend_alloca.  Make control flow more explicit.
10134 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
10136         [BZ #19137]
10137         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
10138         Add -fomit-frame-pointer.
10139         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Remove file.
10141 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
10143         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S
10144         (__libc_do_syscall): Defined only if !__GNUC_PREREQ (5,0).
10145         * sysdeps/unix/sysv/linux/i386/sysdep.h: Define assembler macros
10146         only if !__GNUC_PREREQ (5,0).
10147         (INTERNAL_SYSCALL_MAIN_6): Optimize for GCC 5.
10148         (INTERNAL_SYSCALL_MAIN_INLINE): Likewise.
10149         (INTERNAL_SYSCALL_NCS): Likewise.
10150         (LOADREGS_0): New macro for GCC 5.
10151         (ASMARGS_0): Likewise.
10152         (LOADREGS_1): Likewise.
10153         (ASMARGS_1): Likewise.
10154         (LOADREGS_2): Likewise.
10155         (ASMARGS_2): Likewise.
10156         (LOADREGS_3): Likewise.
10157         (ASMARGS_3): Likewise.
10158         (LOADREGS_4): Likewise.
10159         (ASMARGS_4): Likewise.
10160         (LOADREGS_5): Likewise.
10161         (ASMARGS_5): Likewise.
10162         (LOADREGS_6): Likewise.
10163         (ASMARGS_6): Likewise.
10165 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
10167         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-mmap.c): Add
10168         -fomit-frame-pointer.
10169         (CFLAGS-mmap64.c): Likewise.
10170         (CFLAGS-semtimedop.c): Likewise.
10171         * sysdeps/unix/sysv/linux/i386/mmap.c: New file.
10172         * sysdeps/unix/sysv/linux/i386/mmap.S: Remove file.
10173         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
10174         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
10176 2015-10-15  Florian Weimer  <fweimer@redhat.com>
10178         [BZ #18928]
10179         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Remove
10180         _dl_pointer_guard member.
10181         * elf/rtld.c (_rtld_global_ro): Remove _dl_pointer_guard
10182         initializer.
10183         (security_init): Always set up pointer guard.
10184         (process_envvars): Do not process LD_POINTER_GUARD.
10186 2015-10-14  Joseph Myers  <joseph@codesourcery.com>
10188         [BZ #19134]
10189         * sysdeps/powerpc/powerpc32/fpu/s_lround.S (.LC1): New object.
10190         (.LC2): Likewise.
10191         (.LC3): Likewise.
10192         (__lround): Do not add 0.5 to integer or out-of-range arguments.
10194 2015-10-14  Szabolcs Nagy  <szabolcs.nagy@arm.com>
10196         [BZ #19129]
10197         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save and restore
10198         r0 and r1.
10200 2015-10-14  Namhyung Kim  <namhyung@gmail.com>
10202         * manaual/argp.texi (Specifying Argp Parsers): Fix typo.
10204 2015-10-14  Carlos O'Donell  <carlos@redhat.com>
10206         * include/stap-probe.h: Fix macro definition formatting.
10208 2015-10-14  Florian Weimer  <fweimer@redhat.com>
10210         [BZ #19074]
10211         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use atomics to
10212         load and store num_ifs.
10214 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
10216         [BZ #18822]
10217         * sysdeps/unix/sysv/linux/sched_getaffinity.c
10218         (__sched_getaffinity_new): Add libc_hidden_proto and
10219         libc_hidden_def.
10221 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
10223         [BZ #19007]
10224         * scripts/localplt.awk: Also allow GOT references.
10225         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark
10226         _Unwind_Find_FDE, calloc, memalign, realloc and __libc_memalign
10227         with "+ REL R_386_GLOB_DAT".
10228         * sysdeps/x86_64/localplt.data: Mark calloc, memalign, realloc
10229         and __libc_memalign with "+ RELA R_X86_64_GLOB_DAT".
10231 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
10233         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Use
10234         INLINE_SYSCALL_ERROR_RETURN_VALUE.
10235         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat):
10236         Likewise.
10237         * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
10238         * sysdeps/unix/sysv/linux/i386/seteuid.c (seteuid): Likewise.
10239         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
10240         INTERNAL_SYSCALLINTERNAL_SYSCALL and
10241         INLINE_SYSCALL_ERROR_RETURN_VALUE.
10242         * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
10243         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
10244         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
10245         Likewise.
10246         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
10248 2015-10-13  Joseph Myers  <joseph@codesourcery.com>
10250         [BZ #19125]
10251         * sysdeps/powerpc/powerpc32/fpu/s_llround.c: Include <limits.h>,
10252         <math_private.h> and <stdint.h>.
10253         (__llround): Avoid conversions to and from long long int, and
10254         subtractions, where those might raise spurious exceptions.
10255         * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: Include
10256         <math_private.h> and <stdint.h>.
10257         (__llroundf): Avoid conversions to and from long long int, and
10258         subtractions, where those might raise spurious exceptions.
10260 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
10262         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Use
10263         INLINE_SYSCALL_ERROR_RETURN_VALUE.
10264         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
10265         * sysdeps/unix/sysv/linux/eventfd.c (eventfd): Likewise.
10266         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
10267         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
10268         * sysdeps/unix/sysv/linux/fcntl.c (do_fcntl): Likewise.
10269         * sysdeps/unix/sysv/linux/futimens.c (futimens): Likewise.
10270         * sysdeps/unix/sysv/linux/futimes.c (__futimes): Likewise.
10271         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
10272         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
10273         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
10274         * sysdeps/unix/sysv/linux/lutimes.c (lutimes): Likewise.
10275         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
10276         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
10277         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Likewise.
10278         * sysdeps/unix/sysv/linux/mq_open.c (__mq_open): Likewise.
10279         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
10280         * sysdeps/unix/sysv/linux/prlimit.c (prlimit): Likewise.
10281         * sysdeps/unix/sysv/linux/readahead.c (__readahead): Likewise.
10282         * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
10283         * sysdeps/unix/sysv/linux/signalfd.c (signalfd): Likewise.
10284         * sysdeps/unix/sysv/linux/speed.c (cfsetospeed): Likewise.
10285         * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
10286         * sysdeps/unix/sysv/linux/ustat.c (ustat): Likewise.
10287         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
10288         * sysdeps/unix/sysv/linux/xmknod.c (__xmknod): Likewise.
10289         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
10290         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
10291         * sysdeps/unix/sysv/linux/xstatconv.c (__xstat_conv): Likewise.
10292         (__xstat64_conv): Likewise.
10293         (__xstat32_conv): Likewise.
10295 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
10297         * sysdeps/unix/sysv/linux/sysdep.h: New file.
10298         * sysdeps/unix/sysv/linux/i386/sysdep.c: Likewise.
10299         * sysdeps/unix/sysv/linux/alpha/sysdep.h: Include
10300         <sysdeps/unix/sysv/linux/sysdep.h>.
10301         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
10302         * sysdeps/unix/sysv/linux/generic/sysdep.h: Likewise.
10303         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Likewise.
10304         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
10305         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
10306         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Likewise.
10307         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: Likewise.
10308         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
10309         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
10310         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
10311         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
10312         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
10313         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
10314         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
10315         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
10316         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
10317         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) == csu]
10318         (sysdep-dl-routines): Add sysdep.
10319         [$(subdir) == nptl] (libpthread-routines): Likewise.
10320         [$(subdir) == rt] (librt-routines): Likewise.
10321         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Don't check
10322         PIC when branching to SYSCALL_ERROR_LABEL.
10323         * sysdeps/unix/sysv/linux/i386/sysdep.S: Removed.
10324         * sysdeps/unix/sysv/linux/i386/sysdep.h: Include
10325         <sysdeps/unix/sysv/linux/sysdep.h>.
10326         (SYSCALL_ERROR_LABEL): Changed to __syscall_error.
10327         (SYSCALL_ERROR_ERRNO): Removed.
10328         (SYSCALL_ERROR_HANDLER): Changed to empty.
10329         (SYSCALL_ERROR_HANDLER_TLS_STORE): Likewise.
10330         (__syscall_error): New prototype.
10331         [IS_IN (libc)] (INLINE_SYSCALL): New macro.
10332         (INLINE_SYSCALL_ERROR_RETURN_VALUE): Likewise.
10334 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
10336         [BZ #19124]
10337         * sysdeps/x86_64/dl-trampoline.S [!HAVE_AVX512_ASM_SUPPORT]
10338         (_dl_runtime_resolve_avx512): Make it a hidden alias of
10339         _dl_runtime_resolve_avx.
10340         (_dl_runtime_profile_avx512): Make it a hidden alias of
10341         _dl_runtime_profile_avx.
10343 2015-10-13  Joseph Myers  <joseph@codesourcery.com>
10345         * sysdeps/powerpc/fpu/s_llround.c: Move to ....
10346         * sysdeps/powerpc/powerpc32/fpu/s_llround.c: ...here.
10347         * sysdeps/powerpc/fpu/s_llroundf.c: Move to ....
10348         * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: ...here.
10350         [BZ #16422]
10351         * sysdeps/powerpc/powerpc32/fpu/configure.ac (libc_cv_ppc_fctidz):
10352         New configure test.
10353         * sysdeps/powerpc/powerpc32/fpu/configure: Regenerated.
10354         * config.h.in [_LIBC] (HAVE_PPC_FCTIDZ): New macro.
10355         * sysdeps/powerpc/powerpc32/fpu/s_llrint.c: Include <limits.h>,
10356         <math_private.h> and <stdint.h>.
10357         (__llrint): Avoid conversions to long long int where those might
10358         raise spurious exceptions.
10359         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Include
10360         <math_private.h> and <stdint.h>.
10361         (__llrintf): Avoid conversions to long long int where those might
10362         raise spurious exceptions.
10364 2015-10-12  Andreas Schwab  <schwab@suse.de>
10366         [BZ #18969]
10367         * debug/Makefile (LOCALES): Define.  Include gen-locales.mk.
10368         ($(objpfx)tst-chk1.out): Depend on $(gen-locales).
10369         * iconvdata/Makefile (LOCALES): Define.  Include gen-locales.mk.
10370         ($(objpfx)bug-iconv6.out, $(objpfx)tst-iconv7.out): Depend on
10371         $(gen-locales).
10372         * intl/Makefile (LOCALES): Define.  Include gen-locales.mk.
10373         ($(objpfx)tst-codeset.out, $(objpfx)tst-gettext.out)
10374         ($(objpfx)tst-gettext2.out, $(objpfx)tst-gettext3.out)
10375         ($(objpfx)tst-gettext4.out, $(objpfx)tst-gettext5.out)
10376         ($(objpfx)tst-gettext6.out, $(objpfx)tst-translit.out): Depend on
10377         $(gen-locales).
10378         * libio/Makefile (LOCALES): Define.  Include gen-locales.mk.
10379         ($(objpfx)bug-ftell.out, $(objpfx)bug-ungetwc1.out)
10380         ($(objpfx)bug-ungetwc2.out, $(objpfx)tst-fgetwc.out)
10381         ($(objpfx)tst-fgetws.out, $(objpfx)tst-fopenloc.out)
10382         ($(objpfx)tst-fputws.out, $(objpfx)tst-fseek.out)
10383         ($(objpfx)tst-ftell-active-handler.out)
10384         ($(objpfx)tst-ftell-append.out)
10385         ($(objpfx)tst-ftell-partial-wide.out, $(objpfx)tst-setvbuf1.out)
10386         ($(objpfx)tst-swscanf.out, $(objpfx)tst-ungetwc1.out)
10387         ($(objpfx)tst-ungetwc2.out, $(objpfx)tst-widetext.out)
10388         ($(objpfx)tst_wprintf2.out): Depend on $(gen-locales).
10389         * posix/Makefile (LOCALES): Define.  Include gen-locales.mk.
10390         ($(objpfx)bug-regex1.out, $(objpfx)bug-regex4.out)
10391         ($(objpfx)bug-regex5.out, $(objpfx)bug-regex6.out)
10392         ($(objpfx)bug-regex17.out, $(objpfx)bug-regex18.out)
10393         ($(objpfx)bug-regex19.out, $(objpfx)bug-regex20.out)
10394         ($(objpfx)bug-regex22.out, $(objpfx)bug-regex23.out)
10395         ($(objpfx)bug-regex25.out, $(objpfx)bug-regex26.out)
10396         ($(objpfx)bug-regex30.out, $(objpfx)bug-regex32.out)
10397         ($(objpfx)bug-regex33.out, $(objpfx)bug-regex34.out)
10398         ($(objpfx)bug-regex35.out, $(objpfx)tst-fnmatch.out)
10399         ($(objpfx)tst-fnmatch4.out, $(objpfx)tst-fnmatch5.out)
10400         ($(objpfx)tst-regex.out, $(objpfx)tst-regex2.out)
10401         ($(objpfx)tst-regexloc.out, $(objpfx)tst-rxspencer.out)
10402         ($(objpfx)tst-rxspencer-no-utf8.out): Depend on $(gen-locales).
10403         * stdio-common/Makefile (LOCALES): Define.  Include gen-locales.mk.
10404         ($(objpfx)bug14.out, $(objpfx)scanf13.out)
10405         ($(objpfx)test-vfprintf.out, $(objpfx)tst-grouping.out)
10406         ($(objpfx)tst-sprintf.out, $(objpfx)tst-sscanf.out)
10407         ($(objpfx)tst-swprintf.out): Depend on $(gen-locales).
10408         * stdlib/Makefile (LOCALES): Define.  Include gen-locales.mk.
10409         ($(objpfx)bug-strtod2.out, $(objpfx)testmb2.out)
10410         ($(objpfx)tst-strtod.out, $(objpfx)tst-strtod3.out)
10411         ($(objpfx)tst-strtod4.out, $(objpfx)tst-strtod5.out): Depend on
10412         $(gen-locales).
10413         * time/Makefile (LOCALES): Define.  Include gen-locales.mk.
10414         ($(objpfx)tst-ftime_l.out, $(objpfx)tst-strptime.out): Depend on
10415         $(gen-locales).
10416         * wcsmbs/Makefile (LOCALES): Define.  Include gen-locales.mk.
10417         ($(objpfx)tst-btowc.out, $(objpfx)tst-c16c32-1.out)
10418         ($(objpfx)tst-mbrtowc.out, $(objpfx)tst-mbrtowc2.out)
10419         ($(objpfx)tst-wcrtomb.out, $(objpfx)wcsmbs-tst1.out): Depend on
10420         $(gen-locales).
10421         * libio/tst_wprintf2.c (main): Use explicit locale.
10422         * wcsmbs/wcsmbs-tst1.c (main): Likewise.
10424 2015-10-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10426         * hurd/hurd-raise.c (_hurd_raise_signal): Return error returned by
10427         __msg_sig_post.
10428         * hurd/hurd/signal.h (_hurd_raise_signal): Add int return type.
10430 2015-10-09  Joseph Myers  <joseph@codesourcery.com>
10432         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
10433         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
10435         * sysdeps/arm/libm-test-ulps: Regenerated.
10437         [BZ #15470]
10438         * sysdeps/arm/fix-fp-int-convert-overflow.h: New file.
10440         [BZ #16399]
10441         * sysdeps/generic/fix-fp-int-convert-overflow.h: New file.
10442         * sysdeps/ieee754/dbl-64/s_llrint.c: Include <fenv.h>, <limits.h>
10443         and <fix-fp-int-convert-overflow.h>.
10444         (__llrint) [FE_INVALID]: Force FE_INVALID exception as needed if
10445         FIX_DBL_LLONG_CONVERT_OVERFLOW.
10446         * sysdeps/ieee754/dbl-64/s_llround.c: Include <fenv.h>, <limits.h>
10447         and <fix-fp-int-convert-overflow.h>.
10448         (__llround) [FE_INVALID]: Force FE_INVALID exception as needed if
10449         FIX_DBL_LLONG_CONVERT_OVERFLOW.
10450         * sysdeps/ieee754/dbl-64/s_lrint.c: Include
10451         <fix-fp-int-convert-overflow.h>.
10452         (__lrint) [FE_INVALID]: Force FE_INVALID exception as needed if
10453         FIX_DBL_LLONG_CONVERT_OVERFLOW.
10454         * sysdeps/ieee754/dbl-64/s_lround.c: Include
10455         <fix-fp-int-convert-overflow.h>.
10456         (__lround) [FE_INVALID]: Force FE_INVALID exception as needed if
10457         FIX_DBL_LLONG_CONVERT_OVERFLOW.
10458         * sysdeps/ieee754/flt-32/s_llrintf.c: Include <fenv.h>, <limits.h>
10459         and <fix-fp-int-convert-overflow.h>.
10460         (__llrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
10461         FIX_DBL_LLONG_CONVERT_OVERFLOW.
10462         * sysdeps/ieee754/flt-32/s_llroundf.c: Include <fenv.h>,
10463         <limits.h> and <fix-fp-int-convert-overflow.h>.
10464         (__llroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
10465         FIX_DBL_LLONG_CONVERT_OVERFLOW.
10466         * sysdeps/ieee754/flt-32/s_lrintf.c: Include <fenv.h>, <limits.h>
10467         and <fix-fp-int-convert-overflow.h>.
10468         (__lrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
10469         FIX_DBL_LLONG_CONVERT_OVERFLOW.
10470         * sysdeps/ieee754/flt-32/s_lroundf.c: Include <fenv.h>, <limits.h>
10471         and <fix-fp-int-convert-overflow.h>.
10472         (__lroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
10473         FIX_DBL_LLONG_CONVERT_OVERFLOW.
10474         * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h: New file.
10476 2015-10-09  Carlos O'Donell  <carlos@redhat.com>
10478         [BZ #18589]
10479         * string/bug-strcoll2.c: Adjust copyright, and remove contributed by.
10480         * string/Makefile ($(objpfx)bug-strcoll2.out): Depend on
10481         $(gen-locales).
10483 2015-10-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10484             Phil Blundell <pb@pbcl.net>
10486         * nptl/Makefile (tests): Add tst-cancel26.c and tst-cancel27.c.
10487         * nptl/tst-cancel26.c: New file.
10488         * nptl/tst-cancel27.c: Likewise.
10490 2015-10-09  H.J. Lu  <hongjiu.lu@intel.com>
10492         * sysdeps/x86_64/fpu/s_llrint.S (__lrint): Add alias only if
10493         __ILP32__ isn't defined.
10494         (lrint): Likewise.
10495         * sysdeps/x86_64/fpu/s_llrintf.S (__lrintf): Likewise.
10496         (lrintf): Likewise.
10497         * sysdeps/x86_64/fpu/s_llrintl.S (__lrintl): Likewise.
10498         (lrintl): Likewise.
10499         * sysdeps/x86_64/x32/fpu/s_lrint.S: New file.
10500         * sysdeps/x86_64/x32/fpu/s_lrintf.S: Likewise.
10501         * sysdeps/x86_64/x32/fpu/s_lrintl.S: Likewise.
10503 2015-10-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10505         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
10506         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
10508         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: Remove
10509         file.
10510         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Likewise.
10511         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
10513 2015-10-09  Joseph Myers  <joseph@codesourcery.com>
10515         * sysdeps/i386/configure.ac (libc_cv_cc_novzeroupper): Remove
10516         configure test.
10517         * sysdeps/i386/configure: Regenerated.
10518         * sysdeps/x86_64/configure.ac (libc_cv_cc_novzeroupper): Remove
10519         configure test.
10520         * sysdeps/x86_64/configure: Regenerated.
10521         * sysdeps/x86_64/Makefile [$(config-cflags-novzeroupper) = yes]:
10522         Make code unconditional.
10524         * sysdeps/i386/configure.ac (libc_cv_cc_fma4): Remove configure
10525         test.
10526         * sysdeps/i386/configure: Regenerated.
10527         * sysdeps/x86_64/configure.ac (libc_cv_cc_fma4): Remove configure
10528         test.
10529         * sysdeps/x86_64/configure: Regenerated.
10530         * sysdeps/x86_64/fpu/multiarch/Makefile [$(have-mfma4) = yes]:
10531         Make code unconditional.
10532         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
10533         Likewise.
10534         * sysdeps/x86_64/fpu/multiarch/e_atan2.c [HAVE_FMA4_SUPPORT]:
10535         Likewise.
10536         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
10537         * sysdeps/x86_64/fpu/multiarch/e_exp.c [HAVE_FMA4_SUPPORT]: Make
10538         code unconditional.
10539         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
10540         * sysdeps/x86_64/fpu/multiarch/e_log.c [HAVE_FMA4_SUPPORT]: Make
10541         code unconditional.
10542         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
10543         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]: Make
10544         code unconditional.
10545         * sysdeps/x86_64/fpu/multiarch/s_atan.c [HAVE_FMA4_SUPPORT]: Make
10546         code unconditional.
10547         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
10548         * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_FMA4_SUPPORT]: Make
10549         code unconditional.
10550         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
10551         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_FMA4_SUPPORT]: Make
10552         code unconditional.
10553         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
10554         * sysdeps/x86_64/fpu/multiarch/s_sin.c [HAVE_FMA4_SUPPORT]: Make
10555         code unconditional.
10556         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
10557         * sysdeps/x86_64/fpu/multiarch/s_tan.c [HAVE_FMA4_SUPPORT]: Make
10558         code unconditional.
10559         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
10560         * config.h.in (HAVE_FMA4_SUPPORT): Remove #undef.
10562         [BZ #19095]
10563         * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Cast low part of
10564         mantissa to long int before shifting left.
10566 2015-10-08  Joseph Myers  <joseph@codesourcery.com>
10568         [BZ #19094]
10569         * sysdeps/ieee754/dbl-64/s_lrint.c: Include <fenv.h> and
10570         <limits.h>.
10571         (__lrint) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
10572         when result overflows but exception would not result from cast.
10573         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Include <fenv.h> and
10574         <limits.h>.
10575         (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
10576         when result overflows but exception would not result from cast.
10577         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Include <fenv.h> and
10578         <limits.h>.
10579         (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
10580         when result overflows but exception would not result from cast.
10581         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Include <fenv.h> and
10582         <limits.h>.
10583         (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
10584         when result overflows but exception would not result from cast.
10585         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Include <fenv.h> and
10586         <limits.h>.
10587         (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
10588         when result overflows but exception would not result from cast.
10589         * math/libm-test.inc (lrint_test_data): Add more tests.
10590         (llrint_test_data): Likewise.
10592 2015-10-08  Roland McGrath  <roland@hack.frob.com>
10594         [BZ #18872]
10595         * stdio-common/Makefile ($(objpfx)tst-unbputc.out):
10596         Move out from under [$(run-built-tests) = yes] conditional.
10597         ($(objpfx)tst-printf.out, $(objpfx)tst-printf-bz18872.c): Likewise.
10598         ($(objpfx)tst-printf-bz18872-mem.out): Likewise.
10600 2015-10-08  Carlos O'Donell  <carlos@redhat.com>
10602         [BZ #18589]
10603         * string/Makefile (tests): Add bug-strcoll2.
10604         (LOCALES): Add cs_CZ.UTF-8.
10605         * string/bug-strcoll2.c (test_cs_CZ): Fix typo in FAIL string.
10607         [BZ #18589]
10608         * string/bug-strcoll2.c: New file.
10609         * locale/categories.def: Revert commit
10610         f13c2a8dff2329c6692a80176262ceaaf8a6f74e.
10611         * locale/langinfo.h: Likewise.
10612         * locale/localeinfo.h: Likewise.
10613         * locale/C-collate.c: Likewise.
10614         * locale/programs/ld-collate.c (collate_output): Likewise.
10615         * string/strcoll_l.c (STRDIFF): Likewise.
10616         (STRCOLL): Likewise.
10617         * wcsmbs/wcscoll_l.c: Likewise.
10619 2015-10-08  Joseph Myers  <joseph@codesourcery.com>
10621         * math/libm-test.inc (lround_test_data): Do not expect the absence
10622         of "inexact" for some tests with non-integer arguments.
10623         (llround_test_data): Likewise.
10625         * sysdeps/i386/configure.ac (libc_cv_cc_avx): Remove configure
10626         test.
10627         (libc_cv_cc_sse2avx): Likewise.
10628         * sysdeps/i386/configure: Regenerated.
10629         * sysdeps/i386/i686/multiarch/Makefile
10630         [$(subdir)$(config-cflags-avx) = mathyes]: Change conditional to
10631         [$(subdir) = math].
10632         * sysdeps/i386/i686/multiarch/s_fma-fma.c [HAVE_AVX_SUPPORT]: Make
10633         code unconditional.
10634         * sysdeps/i386/i686/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
10635         Likewise.
10636         * sysdeps/i386/i686/multiarch/s_fmaf-fma.c [HAVE_AVX_SUPPORT]:
10637         Likewise.
10638         * sysdeps/i386/i686/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
10639         Likewise.
10640         * sysdeps/x86_64/configure.ac (libc_cv_cc_avx): Remove configure
10641         test.
10642         (libc_cv_cc_sse2avx): Likewise.
10643         * sysdeps/x86_64/configure: Regenerated.
10644         * sysdeps/x86_64/Makefile [$(config-cflags-avx) = yes]: Make code
10645         unconditional.
10646         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_profile)
10647         [HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT]: Make code
10648         unconditional.
10649         (_dl_runtime_profile)
10650         [!(HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT)]: Remove
10651         conditional code.
10652         * sysdeps/x86_64/fpu/multiarch/Makefile
10653         [$(config-cflags-sse2avx) = yes]: Make code unconditional.
10654         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
10655         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
10656         * sysdeps/x86_64/fpu/multiarch/e_exp.c
10657         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
10658         * sysdeps/x86_64/fpu/multiarch/e_log.c
10659         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
10660         * sysdeps/x86_64/fpu/multiarch/s_atan.c
10661         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
10662         * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
10663         Likewise.
10664         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
10665         Likewise.
10666         * sysdeps/x86_64/fpu/multiarch/s_sin.c
10667         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
10668         * sysdeps/x86_64/fpu/multiarch/s_tan.c
10669         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
10670         * sysdeps/x86_64/multiarch/strcmp.S [HAVE_AVX_SUPPORT]: Likewise.
10671         * config.h.in (HAVE_AVX_SUPPORT): Remove #undef.
10672         (HAVE_SSE2AVX_SUPPORT): Likewise.
10674 2015-10-07  Paul Pluzhnikov  <ppluzhnikov@google.com>
10676         * stdio-common/tst-printf-bz18872.sh: Use attribute optimize
10677         instead of #pragma optimize.
10679 2015-10-07  Carlos O'Donell  <carlos@redhat.com>
10681         [BZ #17195]
10682         * malloc/arena.c (heap_trim): Apply trim_treshold to top_chunck size,
10683         as is similarly done in systrim and _int_free already.
10685 2015-10-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10687         * sysdeps/mach/configure.ac (mach_interface_list): Add task_notify.
10689 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
10691         [BZ #19088]
10692         * sysdeps/ieee754/dbl-64/s_lround.c: Include <fenv.h> and
10693         <limits.h>.
10694         (__lround) [FE_INVALID]: Force FE_INVALID exception when result
10695         overflows but exception would not result from cast.
10696         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Include <fenv.h>
10697         and <limits.h>.
10698         (__lround) [FE_INVALID]: Force FE_INVALID exception when result
10699         overflows but exception would not result from cast.
10700         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Include <fenv.h> and
10701         <limits.h>.
10702         (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
10703         overflows but exception would not result from cast.
10704         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Include <fenv.h> and
10705         <limits.h>.
10706         (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
10707         overflows but exception would not result from cast.
10708         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Include <fenv.h> and
10709         <limits.h>.
10710         (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
10711         overflows but exception would not result from cast.
10712         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Include <fenv.h> and
10713         <limits.h>.
10714         (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
10715         overflows but exception would not result from cast.
10716         * math/libm-test.inc (lround_test_data): Add more tests.
10717         (llround_test_data): Likewise.
10719 2015-10-07  Steve Ellcey  <sellcey@imgtec.com>
10721         * timezone/Makefile (CFLAGS-zic.c): Add -Wno-unused-variable.
10722         (CFLAGS-ialloc.c): Ditto.
10723         (CFLAGS-scheck.c): Ditto.
10725 2015-10-07  Carlos O'Donell  <carlos@redhat.com>
10727         [BZ #19086]
10728         * manual/filesys.texi (Storage Allocation): Fix argument order for
10729         posix_fallocate64.
10731 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
10733         [BZ #19085]
10734         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Move test for
10735         exponent below 48 inside case for non-overflowing exponent.
10736         * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl): Likewise.
10738 2015-10-07  Florian Weimer  <fweimer@redhat.com>
10740         * iconvdata/cp737.h (from_idx): Add const.
10741         * iconvdata/cp775.h (from_idx): Likewise.
10743 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
10745         * sysdeps/mips/mips64/Implies: Use ieee754/dbl-64/wordsize-64.
10746         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c
10747         (__issignaling) [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Remove #error.
10749         [BZ #19079]
10750         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Restore previous
10751         file, conditioned on [!_LP64].
10752         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c
10753         [!_LP64] (__lround): Do not define as function or alias.
10754         [!_LP64] (lround): Likewise.
10755         [!_LP64] (__lroundl): Likewise.
10756         [!_LP64] (lroundl): Likewise.
10757         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Remove
10758         macro.
10759         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
10760         Likewise.
10762 2015-10-06  Joseph Myers  <joseph@codesourcery.com>
10764         * math/libm-test.inc (lrint_test_data): Add more tests.
10765         (llrint_test_data): Likewise.
10766         (lround_test_data): Likewise.
10767         (llround_test_data): Likewise.
10769         * math/libm-test.inc (lrint_test_data): Add tests used for llrint.
10770         (llrint_test_data): Add tests used for lrint.
10772         * sysdeps/i386/configure.ac (libc_cv_cc_sse4): Remove configure
10773         test.
10774         * sysdeps/i386/configure: Regenerated.
10775         * sysdeps/i386/i686/multiarch/Makefile
10776         [$(config-cflags-sse4) = yes]: Make code unconditional.
10777         * sysdeps/i386/i686/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
10778         Likewise.
10779         * sysdeps/i386/i686/multiarch/strspn.S [HAVE_SSE4_SUPPORT]:
10780         Likewise.
10781         * sysdeps/x86_64/configure.ac (libc_cv_cc_sse4): Remove configure
10782         test.
10783         * sysdeps/x86_64/configure: Regenerated.
10784         * sysdeps/x86_64/multiarch/Makefile [$(config-cflags-sse4) = yes]:
10785         Make code unconditional.
10786         * sysdeps/x86_64/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
10787         Likewise.
10788         * sysdeps/x86_64/multiarch/strspn.S [HAVE_SSE4_SUPPORT]: Likewise.
10789         * config.h.in (HAVE_SSE4_SUPPORT): Remove #undef.
10791         * scripts/rpm2dynsym.sh: Remove file.
10793 2015-10-06  Florian Weimer  <fweimer@redhat.com>
10795         * configure.ac (libc_cv_cxx_thread_local): Define.
10796         * configure: Regenerate.
10797         * config.make.in (have-cxx-thread_local): Define.
10798         * nptl/Makefile (CFLAGS-tst-thread_local1.o):
10799         (LDLIBS-tst-thread_local1): Define.
10800         (tests): Add tst-thread_local1.
10801         [have-cxx-thread_local != yes] (tests-unsupported): Add
10802         tst-thread_local1.
10803         * nptl/tst-thread_local1.cc: New file.
10805 2015-10-06  Joseph Myers  <joseph@codesourcery.com>
10807         [BZ #19078]
10808         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (o_thres): Remove variable.
10809         (u_thres): Likewise.
10810         (__expl): Determine whether to call __kernel_standard_l based on
10811         value of result, not argument.
10813         * math/libm-test.inc (scalb_test_data): Add more expectations for
10814         the "inexact" exception.
10816         [BZ #19077]
10817         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Return
10818         0.0L for argument 1.0L.
10820         [BZ #19076]
10821         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Divide by
10822         constant 0.0L when computing infinite result.
10824 2015-10-06  Florian Weimer  <fweimer@redhat.com>
10826         [BZ #10432]
10827         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Remove call to
10828         malloc_usable_size.
10830 2015-10-06  Florian Weimer  <fweimer@redhat.com>
10832         [BZ #19018]
10833         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
10834         Mangle function pointer before storing it.
10835         (__call_tls_dtors): Demangle function pointer before calling it.
10837 2015-10-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
10839         [BZ #19012]
10840         * iconv/gconv_db.c (gen_steps): Check for additional errors.
10841         Clean up on failure.
10843 2015-10-05  Joseph Myers  <joseph@codesourcery.com>
10845         [BZ #19071]
10846         * sysdeps/ieee754/ldbl-96/s_lroundl.c (__lroundl): Use unsigned
10847         long int variable to store possibly incremented high part of
10848         mantissa.
10849         * math/libm-test.inc (lround_test_data): Add tests used for
10850         llround.  Use [LONG_MAX > 0x7fffffff] consistently as condition
10851         for tests requiring 64-bit long.  Do not condition tests on
10852         [TEST_FLOAT] unnecessarily.
10853         (llround_test_data): Add tests used for lround.  Add another
10854         expectation for the "inexact" exception.  Do not condition tests
10855         on [TEST_FLOAT] unnecessarily.
10857         [BZ #887]
10858         [BZ #19049]
10859         [BZ #19050]
10860         * sysdeps/generic/fix-int-fp-convert-zero.h: New file.
10861         * sysdeps/ieee754/dbl-64/e_log10.c: Include
10862         <fix-int-fp-convert-zero.h>.
10863         (__ieee754_log10): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
10864         * sysdeps/ieee754/dbl-64/e_log2.c: Include
10865         <fix-int-fp-convert-zero.h>.
10866         (__ieee754_log2): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
10867         * sysdeps/ieee754/dbl-64/s_erf.c: Include
10868         <fix-int-fp-convert-zero.h>.
10869         (__erfc): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
10870         * sysdeps/ieee754/dbl-64/s_logb.c: Include
10871         <fix-int-fp-convert-zero.h>.
10872         (__logb): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
10873         * sysdeps/ieee754/flt-32/e_log10f.c: Include
10874         <fix-int-fp-convert-zero.h>.
10875         (__ieee754_log10f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
10876         * sysdeps/ieee754/flt-32/e_log2f.c: Include
10877         <fix-int-fp-convert-zero.h>.
10878         (__ieee754_log2f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
10879         * sysdeps/ieee754/flt-32/s_erff.c: Include
10880         <fix-int-fp-convert-zero.h>.
10881         (__erfcf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
10882         * sysdeps/ieee754/flt-32/s_logbf.c: Include
10883         <fix-int-fp-convert-zero.h>.
10884         (__logbf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
10885         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include
10886         <fix-int-fp-convert-zero.h>.
10887         (__erfcl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
10888         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Include
10889         <fix-int-fp-convert-zero.h>.
10890         (__logbl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
10891         * sysdeps/powerpc/powerpc32/fpu/configure.ac: New file.
10892         * sysdeps/powerpc/powerpc32/fpu/configure: New generated file.
10893         * sysdeps/powerpc/powerpc32/fpu/fix-int-fp-convert-zero.h: New
10894         file.
10895         * config.h.in [_LIBC] (HAVE_PPC_FCFID): New macro.
10897 2015-10-03  Paul Pluzhnikov  <ppluzhnikov@google.com>
10899         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
10901 2015-10-02  Joseph Myers  <joseph@codesourcery.com>
10903         [BZ #19059]
10904         * math/s_nexttowardf.c (__nexttowardf): Do not return value from
10905         overflowing computation.
10906         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
10907         * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
10908         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
10909         Likewise.
10910         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
10911         Likewise.
10912         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
10913         Likewise.
10914         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
10915         Likewise.
10916         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
10917         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
10918         Likewise.
10919         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
10920         Likewise.
10921         * math/libm-test.inc (nexttoward_test_data): Add more tests.
10923         * nss/rewrite_field.c (__nss_rewrite_field): Use
10924         internal_function.
10925         * nss/valid_field.c (__nss_valid_field): Likewise.
10926         * nss/valid_list_field.c (__nss_valid_list_field): Likewise.
10928 2015-10-02  Florian Weimer  <fweimer@redhat.com>
10930         [BZ #18724]
10931         * include/nss.h (NSS_INVALID_FIELD_CHARACTERS): Define.
10932         (__nss_invalid_field_characters, __nss_valid_field)
10933         (__nss_valid_list_field, __nss_rewrite_field): Declare.
10934         * nss/valid_field.c, nss/valid_list_field, nss/rewrite_field.c,
10935         tst-field.c: New file.
10936         * nss/Makefile (routines): Add valid_field, rewrite_field.
10937         (tests-static): Define unconditionally.
10938         (tests): Include tests-static.
10939         [build-static-nss] (tests-static): Use append.
10940         [build-static-nss] (tests): Remove modification.
10941         * nss/getent.c (print_group): Call putgrent.  Report error.
10942         (print_gshadow): Call putsgent.  Report error.
10943         (print_passwd): Call putpwent.  Report error.
10944         (print_shadow): Call putspent.  Report error.
10945         * include/pwd.h: Include <nss.h> instead of <nss/nss.h>.
10946         * pwd/pwd.h (putpwent): Remove incorrect nonnull attribute.
10947         * pwd/putpwent.c (putpwent): Use ISO function definition.  Check
10948         name, password, directory, shell fields for valid syntax.  Rewrite
10949         GECOS field to match syntax.
10950         * pwd/Makefile (tests): Add tst-putpwent.
10951         * pwd/tst-putpwent.c: New file.
10952         * grp/putgrent.c (putgrent): Convert to ISO function definition.
10953         Check grName, grpasswd, gr_mem fields for valid syntax.
10954         Change loop variable i to size_t.
10955         * grp/Makefile (tests): Add tst-putgrent.
10956         * grp/tst-putgrent.c: New file.
10957         * shadow/putspent.c (putspent): Check sp_namp, sp_pwdp fields for
10958         valid syntax.
10959         * shadow/Makefile (tests): Add tst-putspent.
10960         * shadow/tst-putspent.c: New file.
10961         * gshadow/putsgent.c (putsgent): Check sg_namp, sg_passwd, sg_adm,
10962         sg_mem fields for valid syntax.
10963         * gshadow/Makefile (tests): Add tst-putsgent.
10964         * gshadow/tst-putsgent.c: New file.
10966 2015-10-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
10968         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Added comments to some
10969         assembly instructions.
10971 2015-10-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
10973         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Remove or add register
10974         prefix from operands.
10976 2015-10-01  Joseph Myers  <joseph@codesourcery.com>
10978         [BZ #16347]
10979         [BZ #19046]
10980         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Do not include
10981         <libc-internal.h>.
10982         (MAXLGM): Do not use diagnostic control macros.
10983         [LDBL_MANT_DIG == 106] (MAXLGM): Change value to overflow
10984         threshold for ldbl-128ibm.
10985         (__ieee754_lgammal_r): For large arguments, multiply by log - 1
10986         instead of multiplying by log then subtracting.
10987         * math/auto-libm-test-in: Add more tests of lgamma.
10988         * math/auto-libm-test-out: Regenerated.
10990         * math/libm-test.inc (TYPE_DECIMAL_DIG): New macro.
10991         (TYPE_HEX_DIG): Likewise.
10992         (print_float): Use TYPE_DECIMAL_DIG - 1 and TYPE_HEX_DIG - 1 as
10993         precisions when printing floating-point numbers.
10994         (check_float_internal): Likewise.
10996 2015-09-30  Joseph Myers  <joseph@codesourcery.com>
10998         [BZ #16620]
10999         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (log10_high): Use value
11000         of log (10) rounded downward to 48 bits.
11001         (log10_low): Use corresponding low part of log (10).
11003         [BZ #19032]
11004         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): For arguments < 1,
11005         compute result as (x - x) / (x - x) not as 0 / 0.
11006         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
11007         * math/libm-test.inc (acosh_test_data): Add another test of acosh.
11009         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
11010         atan, atan2, atanh, cbrt, cos, cosh, erf, erfc, exp, exp10, exp2
11011         and expm1.
11012         * math/auto-libm-test-out: Regenerated.
11013         * math/libm-test.inc (acos_test_data): Add more tests.
11014         (asin_test_data): Likewise.
11015         (asinh_test_data): Likewise.
11016         (atan_test_data): Likewise.
11017         (atanh_test_data): Likewise.
11018         (atan2_test_data): Likewise.
11019         (cbrt_test_data): Likewise.
11020         (ceil_test_data): Likewise.
11021         (copysign_test_data): Likewise.
11022         (cos_test_data): Likewise.
11023         (cosh_test_data): Likewise.
11024         (erf_test_data): Likewise.
11025         (erfc_test_data): Likewise.
11026         (exp_test_data): Likewise.
11027         (exp10_test_data): Likewise.
11028         (exp2_test_data): Likewise.
11029         (expm1_test_data): Likewise.
11030         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11032 2015-09-30  H.J. Lu  <hongjiu.lu@intel.com>
11034         [BZ #19006]
11035         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved
11036         to ...
11037         * sysdeps/unix/sysv/linux/i386/libc-lowlevellock.S: Here.
11038         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: Moved
11039         to ...
11040         * sysdeps/unix/sysv/linux/i386/lll_timedlock_wait.c: Here.
11041         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: Moved
11042         to ...
11043         * sysdeps/unix/sysv/linux/i386/lll_timedwait_tid.c: Here.
11044         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved to ...
11045         * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Here.
11046         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved
11047         to ...
11048         * sysdeps/unix/sysv/linux/i386/lowlevelrobustlock.S: Here.
11049         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
11050         Moved to ...
11051         * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Here.
11052         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
11053         Moved to ...
11054         * sysdeps/unix/sysv/linux/i386/pthread_cond_broadcast.S: Here.
11055         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: Moved
11056         to ...
11057         * sysdeps/unix/sysv/linux/i386/pthread_cond_signal.S: Here.
11058         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
11059         Moved to ...
11060         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Here.
11061         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved
11062         to ...
11063         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Here.
11064         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S:
11065         Removed.
11066         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c:
11067         Likewise.
11068         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c:
11069         Likewise.
11070         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Likewise.
11071         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S:
11072         Likewise.
11073         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
11074         Likewise.
11075         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
11076         Likewise.
11077         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
11078         Likewise.
11079         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
11080         Likewise.
11081         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S:
11082         Likewise.
11083         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S:
11084         Likewise.
11085         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c:
11086         Likewise.
11087         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c:
11088         Likewise.
11089         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Likewise.
11090         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S:
11091         Likewise.
11092         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
11093         Likewise.
11094         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
11095         Likewise.
11096         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
11097         Likewise.
11098         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S:
11099         Likewise.
11100         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
11101         Replace ../i486/pthread_cond_timedwait.S with
11102         ../pthread_cond_timedwait.S.
11104 2015-09-30  Joseph Myers  <joseph@codesourcery.com>
11106         * math/libm-test.inc (acos_test_data): Refine expectations for
11107         errno and "inexact" exceptions.
11108         (acosh_test_data): Likewise.
11109         (asin_test_data): Likewise.
11110         (asinh_test_data): Likewise.
11111         (atan_test_data): Likewise.
11112         (atanh_test_data): Likewise.
11113         (atan2_test_data): Likewise.
11114         (cbrt_test_data): Likewise.
11115         (ceil_test_data): Likewise.
11116         (copysign_test_data): Likewise.
11117         (cosh_test_data): Likewise.
11118         (erf_test_data): Likewise.
11119         (erfc_test_data): Likewise.
11120         (exp_test_data): Likewise.
11121         (exp10_test_data): Likewise.
11122         (exp2_test_data): Likewise.
11123         (expm1_test_data): Likewise.
11124         (fabs_test_data): Likewise.
11125         (floor_test_data): Likewise.
11126         (fma_test_data): Likewise.
11127         (fmax_test_data): Likewise.
11128         (fmin_test_data): Likewise.
11129         (fmod_test_data): Likewise.
11130         (fpclassify_test_data): Likewise.
11131         (frexp_test_data): Likewise.
11132         (hypot_test_data): Likewise.
11133         (ilogb_test_data): Likewise.
11134         (isgreater_test_data): Likewise.
11135         (isgreaterequal_test_data): Likewise.
11136         (isinf_test_data): Likewise.
11137         (isless_test_data): Likewise.
11138         (islessequal_test_data): Likewise.
11139         (islessgreater_test_data): Likewise.
11140         (isnan_test_data): Likewise.
11141         (isnormal_test_data): Likewise.
11142         (issignaling_test_data): Likewise.
11143         (isunordered_test_data): Likewise.
11144         (j0_test_data): Likewise.
11145         (j1_test_data): Likewise.
11146         (jn_test_data): Likewise.
11147         (lgamma_test_data): Likewise.
11148         (lrint_test_data): Likewise.
11149         (llrint_test_data): Likewise.
11150         (log_test_data): Likewise.
11151         (log10_test_data): Likewise.
11152         (log1p_test_data): Likewise.
11153         (log2_test_data): Likewise.
11154         (logb_test_data): Likewise.
11155         (lround_test_data): Likewise.
11156         (llround_test_data): Likewise.
11157         (modf_test_data): Likewise.
11158         (nearbyint_test_data): Likewise.
11159         (nextafter_test_data): Likewise.
11160         (nexttoward_test_data): Likewise.
11161         (pow_test_data): Likewise.
11162         (remainder_test_data): Likewise.
11163         (remquo_test_data): Likewise.
11164         (rint_test_data): Likewise.
11165         (round_test_data): Likewise.
11166         (signbit_test_data): Likewise.
11167         (sinh_test_data): Likewise.
11168         (sqrt_test_data): Likewise.
11169         (tanh_test_data): Likewise.
11170         (tgamma_test_data): Likewise.
11171         (trunc_test_data): Likewise.
11172         (y0_test_data): Likewise.
11173         (y1_test_data): Likewise.
11174         (yn_test_data): Likewise.
11175         (significand_test_data): Likewise.
11177 2015-09-29  Carlos O'Donell  <carlos@redhat.com>
11179         * manual/filesys.texi (Storage Allocation): Document that
11180         posix_fallocate emulation fails when fd is open with O_WRONLY.
11182 2015-09-28  Joseph Myers  <joseph@codesourcery.com>
11184         [BZ #19016]
11185         * sysdeps/generic/math_private.h (__x2y2m1f): Update comment to
11186         allow more cases with X^2 + Y^2 >= 0.5.
11187         * sysdeps/ieee754/dbl-64/x2y2m1.c (__x2y2m1): Likewise.  Add -1 as
11188         normal element in sum instead of special-casing based on values of
11189         arguments.
11190         * sysdeps/ieee754/dbl-64/x2y2m1f.c (__x2y2m1f): Update comment.
11191         * sysdeps/ieee754/ldbl-128/x2y2m1l.c (__x2y2m1l): Likewise.  Add
11192         -1 as normal element in sum instead of special-casing based on
11193         values of arguments.
11194         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c (__x2y2m1l): Likewise.
11195         * sysdeps/ieee754/ldbl-96/x2y2m1.c [FLT_EVAL_METHOD != 0]
11196         (__x2y2m1): Update comment.
11197         * sysdeps/ieee754/ldbl-96/x2y2m1l.c (__x2y2m1l): Likewise.  Add -1
11198         as normal element in sum instead of special-casing based on values
11199         of arguments.
11200         * math/s_clog.c (__clog): Handle more cases using log1p without
11201         hypot.
11202         * math/s_clog10.c (__clog10): Likewise.
11203         * math/s_clog10f.c (__clog10f): Likewise.
11204         * math/s_clog10l.c (__clog10l): Likewise.
11205         * math/s_clogf.c (__clogf): Likewise.
11206         * math/s_clogl.c (__clogl): Likewise.
11207         * math/auto-libm-test-in: Add more tests of clog and clog10.
11208         * math/auto-libm-test-out: Regenerated.
11209         * sysdeps/i386/fpu/libm-test-ulps: Update.
11210         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11212 2015-09-28  Martin Sebor  <msebor@redhat.com>
11214         [BZ #18969]
11215         * string/Makefile (LOCALES): Define.
11216         (gen-locales.mk): Include.
11217         (test-strcasecmp.out, test-strncasecmp.out, tst-strxfrm.out)
11218         (tst-strxfrm2.out): Add deppendency on $(gen-locales).
11219         * string/tst-strxfrm2.c (do_test): Print the name of the locale
11220         on setlocale failure.
11222 2015-09-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
11224         [BZ #18985]
11225         * time/strftime_l.c (a_wkday, f_wkday, a_month, f_month): Range check.
11226         (__strftime_internal): Likewise.
11227         * time/tst-strftime.c (do_bz18985): New test.
11228         (do_test): Call it.
11230 2015-09-26  Joseph Myers  <joseph@codesourcery.com>
11232         [BZ #18956]
11233         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Add 0x00400000
11234         not 0x0040000 for high bit of mantissa.  Mask with 0xfffff000 when
11235         extracting high part.
11236         * math/auto-libm-test-in: Add another test of pow.
11237         * math/auto-libm-test-out: Regenerated.
11238         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11240 2015-09-25  Joseph Myers  <joseph@codesourcery.com>
11242         [BZ #18825]
11243         * sysdeps/i386/fpu/i386-math-asm.h (FLT_NARROW_EVAL_UFLOW_NONNAN):
11244         New macro.
11245         (DBL_NARROW_EVAL_UFLOW_NONNAN): Likewise.
11246         (LDBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
11247         * sysdeps/i386/fpu/e_pow.S: Use DEFINE_DBL_MIN.
11248         (__ieee754_pow): Use DBL_NARROW_EVAL_UFLOW_NONNAN instead of
11249         DBL_NARROW_EVAL, reloading the PIC register as needed.
11250         * sysdeps/i386/fpu/e_powf.S: Use DEFINE_FLT_MIN.
11251         (__ieee754_powf): Use FLT_NARROW_EVAL_UFLOW_NONNAN instead of
11252         FLT_NARROW_EVAL.  Use separate return path for case when first
11253         argument is NaN.
11254         * sysdeps/i386/fpu/e_powl.S: Include <i386-math-asm.h>.  Use
11255         DEFINE_LDBL_MIN.
11256         (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN, reloading the
11257         PIC register.
11258         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use
11259         math_check_force_underflow_nonneg.
11260         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Force
11261         underflow for subnormal result.
11262         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
11263         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Use
11264         math_check_force_underflow_nonneg.
11265         * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Use
11266         math_check_force_underflow.
11267         * sysdeps/x86_64/fpu/x86_64-math-asm.h
11268         (LDBL_CHECK_FORCE_UFLOW_NONNAN): New macro.
11269         * sysdeps/x86_64/fpu/e_powl.S: Include <x86_64-math-asm.h>.  Use
11270         DEFINE_LDBL_MIN.
11271         (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN.
11272         * math/auto-libm-test-in: Add more tests of pow.
11273         * math/auto-libm-test-out: Regenerated.
11275 2015-09-25  Florian Weimer  <fweimer@redhat.com>
11277         * nss/bug17079.c (init_test_items): Add diagnostic for
11278         inconsistent entries.
11279         (test_buffer_size): Skip inconsistent entries.
11281 2015-09-25  Joseph Myers  <joseph@codesourcery.com>
11283         [BZ #13304]
11284         * sysdeps/m68k/coldfire/nofpu/s_fma.c: New file.
11285         * sysdeps/m68k/coldfire/nofpu/s_fmaf.c: Likewise.
11286         * sysdeps/m68k/coldfire/nofpu/sfp-machine.h: Likewise.
11288         [BZ #13304]
11289         * sysdeps/microblaze/s_fma.c: New file.
11290         * sysdeps/microblaze/s_fmaf.c: Likewise.
11291         * sysdeps/microblaze/sfp-machine.h: Likewise.
11293 2015-09-25  Maciej W. Rozycki  <macro@imgtec.com>
11295         [BZ #17250]
11296         * elf/dl-support.c (_dl_main_map): Don't initialize l_flags_1
11297         member.
11299 2015-09-24  Joseph Myers  <joseph@codesourcery.com>
11301         [BZ #18803]
11302         * sysdeps/i386/fpu/e_hypot.S: Use DEFINE_DBL_MIN.
11303         (MO): New macro.
11304         (__ieee754_hypot) [PIC]: Load PIC register.
11305         (__ieee754_hypot): Use DBL_NARROW_EVAL_UFLOW_NONNEG instead of
11306         DBL_NARROW_EVAL.
11307         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Use
11308         math_check_force_underflow_nonneg in case where result might be
11309         tiny.
11310         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
11311         Likewise.
11312         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
11313         Likewise.
11314         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
11315         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Likewise.
11316         * math/auto-libm-test-in: Add more tests of hypot.
11317         * math/auto-libm-test-out: Regenerated.
11319 2015-09-24  Steve Ellcey  <sellcey@imgtec.com>
11321         * sysdeps/mips/math_private.h (libc_fesetenv_mips): Mark cw as unused.
11323 2015-09-24  Joseph Myers  <joseph@codesourcery.com>
11325         * sysdeps/x86_64/fpu/x86_64-math-asm.h: New file.
11326         * sysdeps/x86_64/fpu/e_exp2l.S: Include <x86_64-math-asm.h>.
11327         (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
11328         (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
11329         * sysdeps/x86_64/fpu/e_expl.S: Include <x86_64-math-asm.h>.
11330         [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
11331         (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
11333         * sysdeps/i386/fpu/e_atanh.S (__ieee754_atanh) [PIC]: Use
11334         LOAD_PIC_REG.
11336         * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_LDBL_MIN): New macro.
11337         (FLT_CHECK_FORCE_UFLOW): Likewise.
11338         (DBL_CHECK_FORCE_UFLOW): Likewise.
11339         (FLT_CHECK_FORCE_UFLOW_NARROW): Likewise.
11340         (DBL_CHECK_FORCE_UFLOW_NARROW): Likewise.
11341         (LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN): Likewise.
11342         (FLT_CHECK_FORCE_UFLOW_NONNAN): Likewise.
11343         (DBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
11344         (FLT_CHECK_FORCE_UFLOW_NONNEG): Likewise.
11345         (DBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
11346         (LDBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
11347         * sysdeps/i386/fpu/e_asin.S: Include <i386-math-asm.h>.
11348         (dbl_min): Replace with use of DEFINE_DBL_MIN.
11349         (__ieee754_asin): Use DBL_CHECK_FORCE_UFLOW.
11350         * sysdeps/i386/fpu/e_asinf.S: Include <i386-math-asm.h>.
11351         (flt_min): Replace with use of DEFINE_FLT_MIN.
11352         (__ieee754_asinf): Use FLT_CHECK_FORCE_UFLOW.
11353         * sysdeps/i386/fpu/e_atan2.S: Include <i386-math-asm.h>.
11354         (dbl_min): Replace with use of DEFINE_DBL_MIN.
11355         (__ieee754_atan2): Use DBL_CHECK_FORCE_UFLOW_NARROW.
11356         * sysdeps/i386/fpu/e_atan2f.S: Include <i386-math-asm.h>.
11357         (flt_min): Replace with use of DEFINE_FLT_MIN.
11358         (__ieee754_atan2f): Use FLT_CHECK_FORCE_UFLOW_NARROW.
11359         * sysdeps/i386/fpu/e_atanh.S: Include <i386-math-asm.h>.
11360         (dbl_min): Replace with use of DEFINE_DBL_MIN.
11361         (__ieee754_atanh): Use DBL_CHECK_FORCE_UFLOW_NONNEG.
11362         * sysdeps/i386/fpu/e_atanhf.S: Include <i386-math-asm.h>.
11363         (flt_min): Replace with use of DEFINE_FLT_MIN.
11364         (__ieee754_atanhf): Use FLT_CHECK_FORCE_UFLOW_NONNEG.
11365         * sysdeps/i386/fpu/e_exp2l.S: Include <i386-math-asm.h>.
11366         (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
11367         (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
11368         * sysdeps/i386/fpu/e_expl.S: Include <i386-math-asm.h>.
11369         [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
11370         (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
11371         * sysdeps/i386/fpu/s_atan.S: Include <i386-math-asm.h>.
11372         (dbl_min): Replace with use of DEFINE_DBL_MIN.
11373         (__atan): Use DBL_CHECK_FORCE_UFLOW.
11374         * sysdeps/i386/fpu/s_atanf.S: Include <i386-math-asm.h>.
11375         (flt_min): Replace with use of DEFINE_FLT_MIN.
11376         (__atanf): Use FLT_CHECK_FORCE_UFLOW.
11377         * sysdeps/i386/fpu/s_expm1.S: Include <i386-math-asm.h>.
11378         (dbl_min): Replace with use of DEFINE_DBL_MIN.
11379         (__expm1): Use DBL_CHECK_FORCE_UFLOW.  Move underflow check after
11380         main computation.
11381         * sysdeps/i386/fpu/s_expm1f.S: Include <i386-math-asm.h>.
11382         (flt_min): Replace with use of DEFINE_FLT_MIN.
11383         (__expm1f): Use FLT_CHECK_FORCE_UFLOW.  Move underflow check after
11384         main computation.
11385         * sysdeps/i386/fpu/s_log1p.S: Include <i386-math-asm.h>.
11386         (dbl_min): Replace with use of DEFINE_DBL_MIN.
11387         (MO): New macro.
11388         (__log1p): Use MO.  Use DBL_CHECK_FORCE_UFLOW_NONNAN.
11389         * sysdeps/i386/fpu/s_log1pf.S: Include <i386-math-asm.h>.
11390         (flt_min): Replace with use of DEFINE_FLT_MIN.
11391         (MO): New macro.
11392         (__log1pf): Use MO.  Use FLT_CHECK_FORCE_UFLOW_NONNAN.
11393         * sysdeps/i386/fpu/s_log1pl.S (MO): New macro.
11394         (__log1pl): Use MO.
11396         [BZ #19003]
11397         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_pow-fma4.c): Add
11398         $(config-cflags-nofma).
11400 2015-09-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
11402         * sysdeps/aarch64/libm-test-ulps: Regenerated.
11404 2015-09-23  Joseph Myers  <joseph@codesourcery.com>
11406         * sysdeps/ieee754/flt-32/e_exp2f.c (TWOM100): Remove volatile.
11407         (TWO127): Likewise.
11409         * sysdeps/generic/math_private.h (fabs_tg): New macro.
11410         (min_of_type): Likewise.
11411         (math_check_force_underflow): Likewise.
11412         (math_check_force_underflow_nonneg): Likewise.
11413         (math_check_force_underflow_complex): Likewise.
11414         * math/e_exp2l.c (__ieee754_exp2l): Use
11415         math_check_force_underflow_nonneg.
11416         * math/k_casinh.c (__kernel_casinh): Likewise.
11417         * math/k_casinhf.c (__kernel_casinhf): Likewise.
11418         * math/k_casinhl.c (__kernel_casinhl): Likewise.
11419         * math/s_catan.c (__catan): Use
11420         math_check_force_underflow_complex.
11421         * math/s_catanf.c (__catanf): Likewise.
11422         * math/s_catanh.c (__catanh): Likewise.
11423         * math/s_catanhf.c (__catanhf): Likewise.
11424         * math/s_catanhl.c (__catanhl): Likewise.
11425         * math/s_catanl.c (__catanl): Likewise.
11426         * math/s_ccosh.c (__ccosh): Likewise.
11427         * math/s_ccoshf.c (__ccoshf): Likewise.
11428         * math/s_ccoshl.c (__ccoshl): Likewise.
11429         * math/s_cexp.c (__cexp): Likewise.
11430         * math/s_cexpf.c (__cexpf): Likewise.
11431         * math/s_cexpl.c (__cexpl): Likewise.
11432         * math/s_clog.c (__clog): Use math_check_force_underflow_nonneg.
11433         * math/s_clog10.c (__clog10): Likewise.
11434         * math/s_clog10f.c (__clog10f): Likewise.
11435         * math/s_clog10l.c (__clog10l): Likewise.
11436         * math/s_clogf.c (__clogf): Likewise.
11437         * math/s_clogl.c (__clogl): Likewise.
11438         * math/s_csin.c (__csin): Use math_check_force_underflow_complex.
11439         * math/s_csinf.c (__csinf): Likewise.
11440         * math/s_csinh.c (__csinh): Likewise.
11441         * math/s_csinhf.c (__csinhf): Likewise.
11442         * math/s_csinhl.c (__csinhl): Likewise.
11443         * math/s_csinl.c (__csinl): Likewise.
11444         * math/s_csqrt.c (__csqrt): Use math_check_force_underflow.
11445         * math/s_csqrtf.c (__csqrtf): Likewise.
11446         * math/s_csqrtl.c (__csqrtl): Likewise.
11447         * math/s_ctan.c (__ctan): Use math_check_force_underflow_complex.
11448         * math/s_ctanf.c (__ctanf): Likewise.
11449         * math/s_ctanh.c (__ctanh): Likewise.
11450         * math/s_ctanhf.c (__ctanhf): Likewise.
11451         * math/s_ctanhl.c (__ctanhl): Likewise.
11452         * math/s_ctanl.c (__ctanl): Likewise.
11453         * stdlib/strtod_l.c (round_and_return): Use math_force_eval
11454         instead of volatile.
11455         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use
11456         math_check_force_underflow.
11457         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
11458         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Do not use
11459         volatile when forcing underflow.
11460         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
11461         math_check_force_underflow_nonneg.
11462         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
11463         Likewise.
11464         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Use
11465         math_check_force_underflow.
11466         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
11467         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
11468         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
11469         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Use
11470         math_check_force_underflow_nonneg.
11471         * sysdeps/ieee754/dbl-64/s_erf.c (__erf): Use
11472         math_check_force_underflow.
11473         * sysdeps/ieee754/dbl-64/s_expm1.c (__expm1): Likewise.
11474         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval
11475         instead of volatile.
11476         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Use
11477         math_check_force_underflow.
11478         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
11479         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
11480         math_check_force_underflow_nonneg.
11481         * sysdeps/ieee754/dbl-64/s_tanh.c (__tanh): Use
11482         math_check_force_underflow.
11483         * sysdeps/ieee754/flt-32/e_asinf.c (__ieee754_asinf): Likewise.
11484         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
11485         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Use
11486         math_check_force_underflow_nonneg.
11487         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
11488         Likewise.
11489         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Use
11490         math_check_force_underflow.
11491         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
11492         * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
11493         * sysdeps/ieee754/flt-32/k_sinf.c (__kernel_sinf): Likewise.
11494         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Likewise.
11495         * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
11496         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Likewise.
11497         * sysdeps/ieee754/flt-32/s_erff.c (__erff): Likewise.
11498         * sysdeps/ieee754/flt-32/s_expm1f.c (__expm1f): Likewise.
11499         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
11500         * sysdeps/ieee754/flt-32/s_tanhf.c (__tanhf): Likewise.
11501         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Likewise.
11502         * sysdeps/ieee754/ldbl-128/e_atanhl.c (__ieee754_atanhl):
11503         Likewise.
11504         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Use
11505         math_check_force_underflow_nonneg.
11506         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
11507         Likewise.
11508         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Use
11509         math_check_force_underflow.
11510         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
11511         * sysdeps/ieee754/ldbl-128/e_sinhl.c (__ieee754_sinhl): Likewise.
11512         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
11513         Likewise.
11514         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Likewise.
11515         * sysdeps/ieee754/ldbl-128/k_tanl.c (__kernel_tanl): Likewise.
11516         * sysdeps/ieee754/ldbl-128/s_asinhl.c (__asinhl): Likewise.
11517         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Likewise.
11518         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Likewise.
11519         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Likewise.
11520         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use math_force_eval
11521         instead of volatile.
11522         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Use
11523         math_check_force_underflow.
11524         * sysdeps/ieee754/ldbl-128/s_tanhl.c (__tanhl): Likewise.
11525         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Use
11526         math_check_force_underflow.
11527         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl):
11528         Likewise.
11529         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
11530         Use math_check_force_underflow_nonneg.
11531         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Use
11532         math_check_force_underflow.
11533         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
11534         Likewise.
11535         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
11536         Likewise.
11537         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
11538         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
11539         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
11540         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
11541         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Likewise.
11542         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
11543         * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
11544         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Likewise.
11545         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r): Use
11546         math_check_force_underflow_nonneg.
11547         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Use
11548         math_check_force_underflow.
11549         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
11550         * sysdeps/ieee754/ldbl-96/e_sinhl.c (__ieee754_sinhl): Likewise.
11551         * sysdeps/ieee754/ldbl-96/k_sinl.c (__kernel_sinl): Likewise.
11552         * sysdeps/ieee754/ldbl-96/k_tanl.c (__kernel_tanl): Use
11553         math_check_force_underflow_nonneg.
11554         * sysdeps/ieee754/ldbl-96/s_asinhl.c (__asinhl): Use
11555         math_check_force_underflow.
11556         * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfl): Likewise.
11557         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Use math_force_eval
11558         instead of volatile.
11559         * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Use
11560         math_check_force_underflow.
11562         * math/s_nexttowardf.c (__nexttowardf): Use math_narrow_eval.
11563         * stdlib/strtod_l.c: Include <math_private.h>.
11564         (overflow_value): Use math_narrow_eval.
11565         (underflow_value): Likewise.
11566         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
11567         * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
11568         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Likewise.
11569         (__ieee754_gamma_r): Likewise.
11570         * sysdeps/ieee754/dbl-64/gamma_productf.c (__gamma_productf):
11571         Likewise.
11572         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
11573         Likewise.
11574         * sysdeps/ieee754/dbl-64/lgamma_neg.c (__lgamma_neg): Likewise.
11575         * sysdeps/ieee754/dbl-64/s_erf.c (__erfc): Likewise.
11576         * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Likewise.
11577         * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise.
11578         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
11579         (__ieee754_gammaf_r): Likewise.
11580         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
11581         Likewise.
11582         * sysdeps/ieee754/flt-32/lgamma_negf.c (__lgamma_negf): Likewise.
11583         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Likewise.
11584         * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise.
11585         * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise.
11586         * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Do not use
11587         volatile.
11588         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise.
11589         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward): Use
11590         math_narrow_eval.
11591         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
11592         Likewise.
11593         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
11594         Likewise.
11595         * sysdeps/ieee754/ldbl-96/gamma_product.c (__gamma_product):
11596         Likewise.
11597         * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Do not use
11598         volatile.
11599         * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise.
11600         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Use
11601         math_narrow_eval.
11602         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
11603         Likewise.
11604         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
11605         Likewise.
11607 2015-09-22  H.J. Lu  <hongjiu.lu@intel.com>
11609         * nptl/Versions: Remove ignored symbols.
11611 2015-09-22  Florian Weimer  <fweimer@redhat.com>
11613         * nss/bug17079.c: Renamed from nss/bug18287.c.  Add description.
11614         * nss/Makefile (tests): Update.
11616 2015-09-22  Florian Weimer  <fweimer@redhat.com>
11618         * nss/bug18287.c: New file.
11619         * nss/Makefile (tests): Add bug18287.
11621 2015-09-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
11623         * mach/Versions (__mach_host_self_): Add symbol.
11625 2015-09-21  Samuel Thibault  <samuel.thibault@ens-lyon.org>
11627         * sysdeps/mach/hurd/mmap.c (__mmap): Use __vm_page_size instead of
11628         vm_page_size.
11630 2015-09-19  Samuel Thibault  <samuel.thibault@ens-lyon.org>
11632         Really fix sysdeps/i386/fpu/s_scalbn.S build
11634         * math/Versions (libc: GLIBC_2_20): New (empty) version set.
11635         (libc: GLIBC_2_22): Remove unused version set.
11637 2015-09-18  Mike Frysinger  <vapier@gentoo.org>
11639         * config.make.in (enable-timezone-tools): New variable.
11640         * configure.ac (AC_ARG_ENABLE(timezone-tools)): New configure flag.
11641         (enable_timezone_tools): Export to generated files.
11642         * configure: Regenerate.
11643         * INSTALL: Regenerate.
11644         * manual/install.texi (--disable-timezone-tools): Document new flag.
11645         * timezone/Makefile (install-sbin, install-bin-script): Wrap in a
11646         ifeq ($(enable-timezone-tools),yes) check.
11648 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
11650         * timezone/Makefile: Revert previous change.
11652         [BZ #18980]
11653         * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_FLT_MIN): New macro.
11654         (DEFINE_DBL_MIN): Likewise.
11655         (FLT_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
11656         (DBL_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
11657         (FLT_NARROW_EVAL_UFLOW_NONNEG): Likewise.
11658         (DBL_NARROW_EVAL_UFLOW_NONNEG): Likewise.
11659         * sysdeps/i386/fpu/e_exp.S: Include <i386-math-asm.h>.
11660         (dbl_min): Replace with use of DEFINE_DBL_MIN.
11661         (__ieee754_exp): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
11662         (__exp_finite): Use DBL_NARROW_EVAL_UFLOW_NONNEG.
11663         * sysdeps/i386/fpu/e_exp10.S: Include <i386-math-asm.h>.
11664         (dbl_min): Replace with use of DEFINE_DBL_MIN.
11665         (__ieee754_exp10): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
11666         * sysdeps/i386/fpu/e_exp10f.S: Include <i386-math-asm.h>.
11667         (flt_min): Replace with use of DEFINE_FLT_MIN.
11668         (__ieee754_exp10f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
11669         * sysdeps/i386/fpu/e_exp2.S: Include <i386-math-asm.h>.
11670         (dbl_min): Replace with use of DEFINE_DBL_MIN.
11671         (__ieee754_exp2): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
11672         * sysdeps/i386/fpu/e_exp2f.S: Include <i386-math-asm.h>.
11673         (flt_min): Replace with use of DEFINE_FLT_MIN.
11674         (__ieee754_exp2f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
11675         * sysdeps/i386/fpu/e_expf.S: Include <i386-math-asm.h>.
11676         (flt_min): Replace with use of DEFINE_FLT_MIN.
11677         (__ieee754_expf): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
11678         (__expf_finite): Use FLT_NARROW_EVAL_UFLOW_NONNEG.
11679         * sysdeps/i386/fpu/e_hypot.S: Include <i386-math-asm.h>.
11680         (__ieee754_hypot): Use DBL_NARROW_EVAL.
11681         * sysdeps/i386/fpu/e_hypotf.S: Include <i386-math-asm.h>.
11682         (__ieee754_hypotf): Use FLT_NARROW_EVAL.
11683         * sysdeps/i386/fpu/e_pow.S: Include <i386-math-asm.h>.
11684         (__ieee754_pow): Use DBL_NARROW_EVAL.
11685         * sysdeps/i386/fpu/e_powf.S: Include <i386-math-asm.h>.
11686         (__ieee754_powf): Use FLT_NARROW_EVAL.
11687         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S
11688         (__ieee754_expf_sse2): Convert double-precision result to single
11689         precision.
11690         * sysdeps/i386/fpu/libm-test-ulps: Update.
11692 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
11694         * timezone/Makefile: Ignore unused variable errors due to private.h
11695         (time_t_min) and (time_t_max).
11696         * timezone/private.h (time_t_min): Revert removal.  (time_t_max):
11697         Likewise.
11699 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
11701         [BZ #18981]
11702         * sysdeps/i386/fpu/i386-math-asm.h: New file.
11703         * sysdeps/i386/fpu/e_scalb.S: Include <i386-math-asm.h>.
11704         (__ieee754_scalb): Use DBL_NARROW_EVAL.
11705         * sysdeps/i386/fpu/e_scalbf.S: Include <i386-math-asm.h>.
11706         (__ieee754_scalbf): Use FLT_NARROW_EVAL.
11707         * sysdeps/i386/fpu/s_scalbn.S: Include <i386-math-asm.h>.
11708         (__scalbn): Use DBL_NARROW_EVAL.
11709         * sysdeps/i386/fpu/s_scalbnf.S: Include <i386-math-asm.h>.
11710         (__scalbnf): Use FLT_NARROW_EVAL.
11712 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
11714         * math/w_tgamma.c (__ieee754_gamma_r): Use explicit sign check.
11715         * math/w_tgammaf.c (__ieee754_gammaf_r): Likewise.
11716         * math/w_tgammal.c (__ieee754_gammal_r): Likewise.
11717         * stdio-common/printf_fp.c (___printf_fp):
11718         Use signbit to get the sign. Use isinf macro to allow inlining.
11719         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.
11720         * stdio-common/printf_size.c (__printf_size): Likewise.
11722 2015-09-18  Mike Frysinger  <vapier@gentoo.org>
11724         * timezone/Makefile ($(testdata)/XT%): Call $(make-target-directory).
11726 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
11728         [BZ #18980]
11729         * sysdeps/generic/math_private.h: Include <float.h>.
11730         (math_narrow_eval): New macro.
11731         [FLT_EVAL_METHOD != 0] (excess_precision): Likewise.
11732         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Use
11733         math_narrow_eval on overflowing return value.
11734         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r):
11735         Likewise.
11736         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
11737         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Likewise.
11738         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r):
11739         Likewise.
11740         * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
11742 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
11744         * include/math.h: Remove __isinf_ns, __isinf_nsf, __isinf_nsl.
11745         * math/Makefile: Remove isinf_ns.c.
11746         * math/divtc3.c (__divtc3): Replace __isinf_nsl with isinf.
11747         * math/multc3.c (__multc3): Likewise.
11748         * math/s_casin.c (__casin): Likewise.
11749         * math/s_casinf.c (__casinf): Likewise.
11750         * math/s_casinl.c (__casinl): Likewise.
11751         * math/s_cproj.c (__cproj): Likewise.
11752         * math/s_cprojf.c (__cprojf): Likewise.
11753         * math/s_cprojl.c (__cprofl): Likewise.
11754         * math/s_ctan.c (__ctan): Likewise.
11755         * math/s_ctanf.c (__ctanf): Likewise.
11756         * math/s_ctanh.c (__ctanh): Likewise.
11757         * math/s_ctanhf.c (__ctanhf): Likewise.
11758         * math/s_ctanhl.c (__ctanhl): Likewise.
11759         * math/s_ctanl.c (__ctanl): Likewise.
11760         * math/w_fmod.c (__fmod): Likewise.
11761         * math/w_fmodf.c (__fmodf): Likewise.
11762         * math/w_fmodl.c (_fmodl): Likewise.
11763         * math/w_remainder.c (__remainder): Likewise.
11764         * math/w_remainderf.c (__remainderf): Likewise.
11765         * math/w_remainderl.c (__remainderl): Likewise.
11766         * math/w_scalb.c (__scalb): Likewise.
11767         * math/w_scalbf.c (__scalbf): Likewise.
11768         * math/w_scalbl.c (__scalbl): Likewise.
11769         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Deleted file.
11770         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Replace __isinf_ns
11771         with isinf.
11772         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Deleted file.
11773         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Deleted file.
11774         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Replace
11775         __isinf_nsf with isinf.
11776         * sysdeps/ieee754/flt-32/math_private.h: Deleted file.
11777         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Deleted file.
11778         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Deleted file.
11779         * sysdeps/ieee754/ldbl-128/s_sincosl.c (__sincosl): Replace __isinf_nsl
11780         with isinf.
11781         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c(__cprojll): Replace
11782         __isinf_nsl with isinf.
11783         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c(__ctanl): Replace __isinf_nsl
11784         with isinf.
11785         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Deleted file.
11786         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Replace
11787         __isinf_nsl with isinf.
11788         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Deleted file.
11789         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Replace __isinf_nsl
11790         with isinf.
11792 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
11794         * resolv/base64.c (rcsid): Remove unused static.
11795         * sysdeps/ieee754/dbl-64/atnat2.h (qpi1): Remove unused
11796         static.  (tqpi1): Likewise.
11797         * sysdeps/ieee754/dbl-64/uexp.h (one): Likewise.
11798         * sysdeps/ieee754/dbl-64/upow.h (sqrt_2): Likewise.
11799         * sysdeps/ieee754/flt-32/e_log10f.c (one): Likewise.
11800         * sysdeps/ieee754/flt-32/s_cosf.c (one): Likewise.
11801         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (zero): Likewise.
11802         * sysdeps/ieee754/ldbl-128/s_erfl.c (half): Likewise.
11803         * sysdeps/ieee754/ldbl-128/s_log1pl.c (maxlog): Likewise.
11804         * timezone/private.h (time_t_min): Likewise.  (time_t_max):
11805         Likewise.
11807 2015-09-18  H.J. Lu  <hongjiu.lu@intel.com>
11809         * sysdeps/nptl/jmp-unwind.c: Include <libc-lock.h> instead of
11810         <nptl/pthreadP.h>.
11811         (_longjmp_unwind): Use __libc_ptf_call.
11812         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Likewise.
11814 2015-09-18  David Lamparter  <equinox-gentoo@diac24.net>
11816         * sysdeps/arm/setjmp.S: Change PIC to SHARED.
11817         * sysdeps/arm/__longjmp.S: Likewise.
11819 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
11821         * sysdeps/ieee754/dbl-64/s_signbit.c (__signbit):
11822         Use __builtin_signbit.
11823         * sysdeps/ieee754/flt-32/s_signbitf.c (__signbitf):
11824         Use __builtin_signbitf.
11825         * sysdeps/ieee754/ldbl-128/s_signbitl.c (__signbitl):
11826         Use __builtin_signbitl.
11827         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
11828         * sysdeps/ieee754/ldbl-96/s_signbitl.c (__signbitl): Likewise.
11830 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
11832         [BZ #15367]
11833         [BZ #17441]
11835         * math/Makefile: Build test-snan.c with -fsignaling-nans.
11836         * math/math.h (fpclassify): Use __builtin_fpclassify when
11837         available.  (signbit): Use __builtin_signbit(f/l).
11838         (isfinite): Use__builtin_isfinite.  (isnormal): Use
11839         __builtin_isnormal.  (isnan): Use __builtin_isnan.
11840         (isinf): Use __builtin_isinf_sign.
11842 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
11844         * benchtests/Makefile: Add bench-math-inlines, link with libm.
11845         * benchtests/bench-math-inlines.c: New benchmark.
11846         * benchtests/bench-util.h: New file.
11847         * benchtests/bench-util.c: New file.
11848         * benchtests/bench-skeleton.c: Add include of bench-util.c/h.
11850 2015-09-18  Carlos O'Donell  <carlos@redhat.com>
11852         * elf/tst-dlmopen1.c: Define TEST_SO.
11853         (do_test): Use TEST_SO.
11855         * elf/dl-load.c: Include libc-internal.h.
11856         (_dl_map_object_from_fd): Use ALIGN_UP and ALIGN_DOWN.
11858 2015-09-18  Vincent Bernat  <vincent@bernat.im>
11860         [BZ #17887]
11861         * time/strptime_l.c (__strptime_internal): Make %z accept
11862         [+-]HH:MM time zones.
11864 2015-09-18  Vincent Bernat  <vincent@bernat.im>
11866         [BZ #17886]
11867         * time/strptime_l.c (__strptime_internal): Make %z accept Z as a
11868         valid time zone.
11870 2015-09-17  Mike Frysinger  <vapier@gentoo.org>
11872         * sysdeps/unix/sysv/linux/alpha/Makefile (CFLAGS-fdatasync.c): Delete.
11873         * sysdeps/unix/sysv/linux/alpha/fdatasync.c: Delete.
11874         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
11875         (__ASSUME_FDATASYNC): Delete.
11877 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
11879         * conform/linknamespace.pl: Require weak undefined symbols to be
11880         in the standard namespace.
11881         (%strong_syms): Rename to %seen_syms.
11882         (%strong_seen): Rename to %seen_where.
11884 2015-09-17  H.J. Lu  <hongjiu.lu@intel.com>
11886         [BZ #18970]
11887         * misc/error.c (error): Replace pthread_setcancelstate with
11888         __pthread_setcancelstate.
11889         (error_at_line): Likewise.
11890         * posix/wordexp.c (parse_comm): Likewise.
11891         * stdlib/fmtmsg.c (fmtmsg): Likewise.
11892         * nptl/forward.c (pthread_setcancelstate): Renamed to ...
11893         (__pthread_setcancelstate): This.
11894         (pthread_setcancelstate): Add an alias.
11895         * nptl/nptl-init.c (pthread_functions): Replace
11896         ptr_pthread_setcancelstate with ptr___pthread_setcancelstate.
11897         * sysdeps/nptl/pthread-functions.h (pthread_functions): Likewise.
11898         * nptl/pthreadP.h (__pthread_setcancelstate): Mark it with
11899         hidden_proto.
11900         * nptl/pthread_setcancelstate.c (__pthread_setcancelstate): Mark
11901         it with hidden_def.
11902         * sysdeps/nptl/libc-lockP.h (__pthread_setcancelstate): New.
11903         (pthread_setcancelstate): Renamed to ...
11904         (__pthread_setcancelstate): This.
11905         * sysdeps/unix/sysv/linux/fatal-prepare.h (FATAL_PREPARE): Use
11906         __libc_ptf_call with __pthread_setcancelstate.
11908 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
11909             Andreas Schwab  <schwab@suse.de>
11911         [BZ #17118]
11912         * math/s_ctan.c (__ctan): Determine sign of zero real part of
11913         result when imaginary part of argument is infinite using sine and
11914         cosine.
11915         * math/s_ctanf.c (__ctanf): Likewise.
11916         * math/s_ctanl.c (__ctanl): Likewise.
11917         * math/s_ctanh.c (__ctanh): Determine sign of zero imaginary part
11918         of result when real part of argument is infinite using sine and
11919         cosine.
11920         * math/s_ctanhf.c (__ctanhf): Likewise.
11921         * math/s_ctanhl.c (__ctanhl): Likewise.
11922         * math/libm-test.inc (ctan_test_data): Add more tests of ctan.
11923         (ctanh_test_data): Add more tests of ctanh.
11925 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
11927         [BZ #15384]
11928         * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Use same constant as
11929         bit-mask as in subtraction.
11930         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c (__finite):
11931         Likewise.
11932         * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise.
11933         * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise.
11934         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (__finitel): Likewise.
11936         [BZ #18951]
11937         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Force
11938         underflow exception for small results.
11939         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
11940         Likewise.
11941         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
11942         Likewise.
11943         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
11944         Likewise.
11945         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
11946         Likewise.
11947         * math/auto-libm-test-in: Add more tests of tgamma.
11948         * math/auto-libm-test-out: Regenerated.
11950 2015-09-17  Andreas Schwab  <schwab@suse.de>
11952         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Readd.
11954 2015-09-16  Joseph Myers  <joseph@codesourcery.com>
11956         [BZ #18977]
11957         * math/bits/mathcalls.h
11958         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j0): Do
11959         not declare.
11960         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j1):
11961         Likewise.
11962         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (jn):
11963         Likewise.
11964         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y0):
11965         Likewise.
11966         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y1):
11967         Likewise.
11968         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (yn):
11969         Likewise.
11970         * conform/data/math.h-data
11971         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0f): Do not expect
11972         function.
11973         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1f): Likewise.
11974         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnf): Likewise.
11975         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0f): Likewise.
11976         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1f): Likewise.
11977         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynf): Likewise.
11978         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0l): Likewise.
11979         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1l): Likewise.
11980         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnl): Likewise.
11981         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0l): Likewise.
11982         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1l): Likewise.
11983         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynl): Likewise.
11985         [BZ #6803]
11986         * math/s_ldexp.c (scalbn): Define as weak alias of __ldexp.
11987         [NO_LONG_DOUBLE] (scalbnl): Define as weak alias of __ldexp.
11988         * math/s_ldexpf.c (scalbnf): Define as weak alias of __ldexpf.
11989         * math/s_ldexpl.c (scalbnl): Define as weak alias of __ldexpl.
11990         * sysdeps/i386/fpu/s_scalbn.S (scalbn): Remove alias.
11991         * sysdeps/i386/fpu/s_scalbnf.S (scalbnf): Likewise.
11992         * sysdeps/i386/fpu/s_scalbnl.S (scalbnl): Likewise.
11993         * sysdeps/ieee754/dbl-64/s_scalbn.c (scalbn): Likewise.
11994         [NO_LONG_DOUBLE] (scalbnl): Likewise.
11995         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (scalbn):
11996         Likewise.
11997         [NO_LONG_DOUBLE] (scalbnl): Likewise.
11998         * sysdeps/ieee754/flt-32/s_scalbnf.c (scalbnf): Likewise.
11999         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (scalbnl): Likewise.
12000         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (scalbnl): Remove
12001         long_double_symbol calls.
12002         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c (scalbnl): Likewise.
12003         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c (__ldexpl_2): Define as
12004         strong alias of __ldexpl.
12005         (scalbnl): Define using long_double_symbol.
12006         * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(scalbn,suffix)):
12007         Remove alias.
12008         * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c (scalbnl): Likewise.
12009         * sysdeps/x86_64/fpu/s_scalbnl.S (scalbnl): Likewise.
12010         * math/libm-test.inc (scalbn_test_data): Add errno expectations.
12011         (scalbln_test_data): Add more errno expectations.
12013 2015-09-16  Justus Winter  <4winter@informatik.uni-hamburg.de>
12015         Cache the host port like we cache the task port.  This way we do not
12016         need to call the kernel just to get the port.  Furthermore, we no
12017         longer increase the reference count on every invocation of
12018         `mach_host_self'.
12020         * mach/mach/mach_traps.h (__mach_host_self, mach_host_self):
12021         Protect declarations against the macro expansion.
12022         * mach/mach_init.c (__mach_host_self_): New variable.
12023         (mach_init): Initialize `__mach_host_self_'.
12024         * mach/mach_init.h (__mach_host_self_): New declaration.
12025         (__mach_host_self, mach_host_self): New macros.
12026         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start_cleanup):
12027         Release reference.
12029 2015-09-16  Joseph Myers  <joseph@codesourcery.com>
12031         [BZ #4404]
12032         * po/de.po: Update from Translation Project.
12034         [BZ #16415]
12035         * sysdeps/ieee754/ldbl-128/s_expm1l.c (maxlog): Remove variable.
12036         (__expm1l): Remove code to handle positive infinity and overflow.
12037         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (maxlog): Remove
12038         variable.
12039         (__expm1l): Remove code to handle positive infinity and overflow.
12041 2015-09-16  Paul Eggert  <eggert@cs.ucla.edu>
12042             Paul Pluzhnikov  <ppluzhnikov@google.com>
12044         [BZ #18872]
12045         * stdio-common/Makefile (tst-printf-bz18872): New test.
12046         (tst-printf-bz18872-mem.out): Likewise.
12047         * stdio-common/tst-printf-bz18872.sh: Generate new test.
12048         * stdio-common/vfprintf.c: Fix memory leaks.
12050 2015-09-16  Andreas Schwab  <schwab@suse.de>
12052         [BZ #17244]
12053         * sysdeps/unix/sysv/linux/semctl.c (__old_semctl, __new_semctl):
12054         Remove extra va_start/va_end calls.
12056         [BZ #17243]
12057         * posix/execl.c (execl): Add missing va_end.
12058         * posix/execle.c (execle): Likewise.
12059         * posix/execlp.c (execlp): Likewise.
12061 2015-09-15  Roland McGrath  <roland@hack.frob.com>
12063         * misc/sys/param.h [!MAXHOSTNAMELEN && HOST_NAME_MAX]
12064         (MAXHOSTNAMELEN): Define it to HOST_NAME_MAX.
12066 2015-09-15  Joseph Myers  <joseph@codesourcery.com>
12068         [BZ #18967]
12069         * math/math.h (__MATH_DECLARING_DOUBLE): New macro.  Define and
12070         undefine around includes of <bits/mathcalls.h>.
12071         * math/bits/mathcalls.h [!__USE_MISC && __USE_XOPEN2K] (isnan): Do
12072         not declare function.
12073         [!__USE_MISC && __USE_XOPEN2K] (gamma): Likewise.
12074         [!__USE_MISC && (!__MATH_DECLARING_DOUBLE || __USE_XOPEN2K8)]
12075         (scalb): Likewise.
12076         * math/tgmath.h [!__USE_MISC && __USE_XOPEN_EXTENDED] (scalb): Do
12077         not define macro.
12078         * conform/Makefile (test-xfail-XOPEN2K/math.h/conform): Remove
12079         variable.
12080         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
12081         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
12082         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
12084         [BZ #18857]
12085         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c (__nearbyintl): Just
12086         return non-finite argument without doing ordered comparisons on
12087         it.
12089         [BZ #16296]
12090         * math/fenv.h (fegetround): Use __attribute_pure__.
12091         * include/fenv.h (__fegetround): Likewise.
12093         [BZ #18595]
12094         * math/s_ctan.c (__ctan): Force underflow exception for results
12095         whose real or imaginary part has small absolute value.
12096         * math/s_ctanf.c (__ctanf): Likewise.
12097         * math/s_ctanh.c (__ctanh): Likewise.
12098         * math/s_ctanhf.c (__ctanhf): Likewise.
12099         * math/s_ctanhl.c (__ctanhl): Likewise.
12100         * math/s_ctanl.c (__ctanl): Likewise.
12101         * math/auto-libm-test-in: Do not allow missing underflow for ctan
12102         and ctanh.  Add more tests of ctan and ctanh.
12104         [BZ #15918]
12105         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Simplify
12106         handling of cases where one argument is an infinity.
12108         [BZ #18875]
12109         [BZ #18966]
12110         * sysdeps/i386/fpu/e_exp10.S (dbl_min): New object.
12111         (MO): New macro.
12112         (__ieee754_exp10): For small results, force underflow exception
12113         and remove excess range and precision from return value.
12114         * sysdeps/i386/fpu/e_exp10f.S (flt_min): New object.
12115         (MO): New macro.
12116         (__ieee754_exp10f): For small results, force underflow exception
12117         and remove excess range and precision from return value.
12118         * math/auto-libm-test-in: Add more tests of exp10.
12119         * math/auto-libm-test-out: Regenerated.
12121 2015-09-14  Joseph Myers  <joseph@codesourcery.com>
12123         [BZ #18875]
12124         [BZ #18961]
12125         * sysdeps/i386/fpu/e_exp.S (dbl_min): New object.
12126         (MO): New macro.
12127         (__ieee754_exp): For small results, force underflow exception and
12128         remove excess range and precision from return value.
12129         (__exp_finite): Likewise.
12130         * sysdeps/i386/fpu/e_expf.S (flt_min): New object.
12131         (MO): New macro.
12132         (__ieee754_expf): For small results, force underflow exception and
12133         remove excess range and precision from return value.
12134         (__expf_finite): Likewise.
12135         * math/auto-libm-test-in: Add more tests of exp.
12136         * math/auto-libm-test-out: Regenerated.
12138         [BZ #16521]
12139         [BZ #18875]
12140         * math/e_exp2l.c (__ieee754_exp2l): Force underflow exception for
12141         small results.
12142         * sysdeps/i386/fpu/e_exp2.S (dbl_min): New object.
12143         (MO): New macro.
12144         (__ieee754_exp2): For small results, force underflow exception and
12145         remove excess range and precision from return value.
12146         * sysdeps/i386/fpu/e_exp2f.S (flt_min): New object.
12147         (MO): New macro.
12148         (__ieee754_exp2f): For small results, force underflow exception
12149         and remove excess range and precision from return value.
12150         * sysdeps/i386/fpu/e_exp2l.S (ldbl_min): New object.
12151         (MO): New macro.
12152         (__ieee754_exp2l): Force underflow exception for small results.
12153         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
12154         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
12155         * sysdeps/x86_64/fpu/e_exp2l.S (ldbl_min): New object.
12156         (MO): New macro.
12157         (__ieee754_exp2l): Force underflow exception for small results.
12158         * math/auto-libm-test-in: Add more tests or exp2.
12159         * math/auto-libm-test-out: Regenerated.
12161 2015-09-14  Carlos O'Donell  <carlos@redhat.com>
12163         * malloc/malloc.c (systrim): Use ALIGN_DOWN.
12165         * Makefile ($(objpfx)check-local-headers.out): Redirect stdin from
12166         /dev/null.
12168 2015-09-13  Samuel Thibault  <samuel.thibault@ens-lyon.org>
12170         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
12171         io fs process)): Drop spurious backslash.
12173 2015-09-12  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
12175         * sysdeps/unix/sysv/linux/getsysstats.c (__get_phys_pages):
12176         Use sysinfo system call instead of parsing /proc/meminfo.
12177         * sysdeps/unix/sysv/linux/getsysstats.c (__get_avphys_pages):
12178         Likewise.
12180 2015-09-11  Mike Frysinger  <vapier@gentoo.org>
12182         [BZ #16985]
12183         * programs/localedef.c (main): Display argv[remaining] when
12184         output_path is NULL.
12186 2015-09-11  Joseph Myers  <joseph@codesourcery.com>
12188         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
12189         asinh, atan, atan2, atanh, cabs, carg, cos, csqrt, erfc, exp,
12190         exp10, exp2, log, log1p, log2, pow, sin, sincos, sinh, tan and
12191         tanh.
12192         * math/auto-libm-test-out: Regenerated.
12193         * sysdeps/i386/fpu/libm-test-ulps: Update.
12194         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
12195         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
12196         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12198 2015-09-11  Roland McGrath  <roland@hack.frob.com>
12200         * sysdeps/nacl/Makefile [$(subdir) = misc] (sysdep_headers):
12201         Use 'override' keyword to freeze the value here, preventing
12202         the addition of sys/mtio.h by sysdeps/gnu/Makefile.
12204 2015-09-11  Joseph Myers  <joseph@codesourcery.com>
12206         [BZ #14912]
12207         * sysdeps/aarch64/bits/atomic.h: Move to ...
12208         * sysdeps/aarch64/atomic-machine.h: ...here.
12209         (_AARCH64_BITS_ATOMIC_H): Rename macro to
12210         _AARCH64_ATOMIC_MACHINE_H.
12211         * sysdeps/alpha/bits/atomic.h: Move to ...
12212         * sysdeps/alpha/atomic-machine.h: ...here.
12213         * sysdeps/arm/bits/atomic.h: Move to ...
12214         * sysdeps/arm/atomic-machine.h: ...here.  Update comments.
12215         * bits/atomic.h: Move to ...
12216         * sysdeps/generic/atomic-machine.h: ...here.
12217         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
12218         * sysdeps/i386/bits/atomic.h: Move to ...
12219         * sysdeps/i386/atomic-machine.h: ...here.
12220         * sysdeps/ia64/bits/atomic.h: Move to ...
12221         * sysdeps/ia64/atomic-machine.h: ...here.
12222         * sysdeps/m68k/coldfire/bits/atomic.h: Move to ...
12223         * sysdeps/m68k/coldfire/atomic-machine.h: ...here.
12224         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
12225         * sysdeps/m68k/m680x0/m68020/bits/atomic.h: Move to ...
12226         * sysdeps/m68k/m680x0/m68020/atomic-machine.h: ...here.
12227         * sysdeps/microblaze/bits/atomic.h: Move to ...
12228         * sysdeps/microblaze/atomic-machine.h: ...here.
12229         * sysdeps/mips/bits/atomic.h: Move to ...
12230         * sysdeps/mips/atomic-machine.h: ...here.
12231         (_MIPS_BITS_ATOMIC_H): Rename macro to _MIPS_ATOMIC_MACHINE_H.
12232         * sysdeps/powerpc/bits/atomic.h: Move to ...
12233         * sysdeps/powerpc/atomic-machine.h: ...here.  Update comments.
12234         * sysdeps/powerpc/powerpc32/bits/atomic.h: Move to ...
12235         * sysdeps/powerpc/powerpc32/atomic-machine.h: ...here.  Update
12236         comments.  Include <atomic-machine.h> instead of <bits/atomic.h>.
12237         * sysdeps/powerpc/powerpc64/bits/atomic.h: Move to ...
12238         * sysdeps/powerpc/powerpc64/atomic-machine.h: ...here.  Include
12239         <atomic-machine.h> instead of <bits/atomic.h>.
12240         * sysdeps/s390/bits/atomic.h: Move to ...
12241         * sysdeps/s390/atomic-machine.h: ...here.
12242         * sysdeps/sparc/sparc32/bits/atomic.h: Move to ...
12243         * sysdeps/sparc/sparc32/atomic-machine.h: ...here.
12244         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
12245         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h: Move to ...
12246         * sysdeps/sparc/sparc32/sparcv9/atomic-machine.h: ...here.
12247         * sysdeps/sparc/sparc64/bits/atomic.h: Move to ...
12248         * sysdeps/sparc/sparc64/atomic-machine.h: ...here.
12249         * sysdeps/tile/bits/atomic.h: Move to ...
12250         * sysdeps/tile/atomic-machine.h: ...here.
12251         * sysdeps/tile/tilegx/bits/atomic.h: Move to ...
12252         * sysdeps/tile/tilegx/atomic-machine.h: ...here.  Include
12253         <sysdeps/tile/atomic-machine.h> instead of
12254         <sysdeps/tile/bits/atomic.h>.
12255         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
12256         * sysdeps/tile/tilepro/bits/atomic.h: Move to ...
12257         * sysdeps/tile/tilepro/atomic-machine.h: ...here.  Include
12258         <sysdeps/tile/atomic-machine.h> instead of
12259         <sysdeps/tile/bits/atomic.h>.
12260         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
12261         * sysdeps/unix/sysv/linux/arm/bits/atomic.h: Move to ...
12262         * sysdeps/unix/sysv/linux/arm/atomic-machine.h: ...here.  Include
12263         <sysdeps/arm/atomic-machine.h> instead of
12264         <sysdeps/arm/bits/atomic.h>.
12265         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Move to ...
12266         * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: ...here.
12267         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
12268         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Move to ...
12269         * sysdeps/unix/sysv/linux/m68k/coldfire/atomic-machine.h: ...here.
12270         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
12271         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: Move to ...
12272         * sysdeps/unix/sysv/linux/nios2/atomic-machine.h: ...here.
12273         (_NIOS2_BITS_ATOMIC_H): Rename macro to _NIOS2_ATOMIC_MACHINE_H.
12274         * sysdeps/unix/sysv/linux/sh/bits/atomic.h: Move to ...
12275         * sysdeps/unix/sysv/linux/sh/atomic-machine.h: ...here.
12276         * sysdeps/x86_64/bits/atomic.h: Move to ...
12277         * sysdeps/x86_64/atomic-machine.h: ...here.
12278         * include/atomic.h: Include <atomic-machine.h> instead of
12279         <bits/atomic.h>.
12281         * sysdeps/mips/mips32/libm-test-ulps: Update.
12282         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
12284         [BZ #18952]
12285         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r): Do
12286         not convert non-integer negative arguments to int to determine the
12287         value of signgam.
12288         * math/auto-libm-test-in: Add more tests of lgamma.
12289         * math/auto-libm-test-out: Regenerated.
12291         * math/auto-libm-test-in: Add more tests of acosh, atanh, cbrt,
12292         cosh, csqrt, erfc, expm1 and lgamma.
12293         * math/auto-libm-test-out: Regenerated.
12294         * sysdeps/i386/fpu/libm-test-ulps: Update.
12295         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12297 2015-09-10  Joseph Myers  <joseph@codesourcery.com>
12299         [BZ #2542]
12300         [BZ #2543]
12301         [BZ #2558]
12302         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r): Call
12303         __lgamma_neg for arguments from -28.0 to -2.0.
12304         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Call
12305         __lgamma_negf for arguments from -15.0 to -2.0.
12306         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
12307         Call __lgamma_negl for arguments from -48.0 or -50.0 to -2.0.
12308         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (__ieee754_lgammal_r):
12309         Call __lgamma_negl for arguments from -33.0 to -2.0.
12310         * sysdeps/ieee754/dbl-64/lgamma_neg.c: New file.
12311         * sysdeps/ieee754/dbl-64/lgamma_product.c: Likewise.
12312         * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
12313         * sysdeps/ieee754/flt-32/lgamma_productf.c: Likewise.
12314         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
12315         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
12316         * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c: Likewise.
12317         * sysdeps/ieee754/ldbl-128ibm/lgamma_productl.c: Likewise.
12318         * sysdeps/ieee754/ldbl-96/lgamma_negl.c: Likewise.
12319         * sysdeps/ieee754/ldbl-96/lgamma_product.c: Likewise.
12320         * sysdeps/ieee754/ldbl-96/lgamma_productl.c: Likewise.
12321         * sysdeps/generic/math_private.h (__lgamma_negf): New prototype.
12322         (__lgamma_neg): Likewise.
12323         (__lgamma_negl): Likewise.
12324         (__lgamma_product): Likewise.
12325         (__lgamma_productl): Likewise.
12326         * math/Makefile (libm-calls): Add lgamma_neg and lgamma_product.
12327         * math/auto-libm-test-in: Add more tests of lgamma.
12328         * math/auto-libm-test-out: Regenerated.
12329         * sysdeps/i386/fpu/libm-test-ulps: Update.
12330         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12332 2015-09-09  Justin Maggard  <jmaggard@netgear.com>
12334         [BZ #18675]
12335         * sysdeps/posix/fpathconf.c (__fpathconf): Use __fstatvfs64.
12337 2015-09-08  Joseph Myers  <joseph@codesourcery.com>
12339         [BZ #14912]
12340         * bits/libc-lock.h: Move to ...
12341         * sysdeps/generic/libc-lock.h: ...here.
12342         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
12343         * sysdeps/mach/hurd/bits/libc-lock.h: Move to ...
12344         * sysdeps/mach/hurd/libc-lock.h: ...here.
12345         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
12346         [_LIBC]: Include <libc-lockP.h> instead of <bits/libc-lockP.h>.
12347         * sysdeps/mach/bits/libc-lock.h: Move to ...
12348         * sysdeps/mach/libc-lock.h: ...here.
12349         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
12350         * sysdeps/nptl/bits/libc-lock.h: Move to ...
12351         * sysdeps/nptl/libc-lock.h: ...here.
12352         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
12353         * sysdeps/nptl/bits/libc-lockP.h: Move to ...
12354         * sysdeps/nptl/libc-lockP.h: ...here.
12355         (_BITS_LIBC_LOCKP_H): Rename macro to _LIBC_LOCKP_H.
12356         * crypt/crypt_util.c: Include <libc-lock.h> instead of
12357         <bits/libc-lock.h>.
12358         * dirent/scandir-tail.c: Likewise.
12359         * dlfcn/dlerror.c: Likewise.
12360         * elf/dl-close.c: Likewise.
12361         * elf/dl-iteratephdr.c: Likewise.
12362         * elf/dl-lookup.c: Likewise.
12363         * elf/dl-open.c: Likewise.
12364         * elf/dl-support.c: Likewise.
12365         * elf/dl-writev.h: Likewise.
12366         * elf/rtld.c: Likewise.
12367         * grp/fgetgrent.c: Likewise.
12368         * gshadow/fgetsgent.c: Likewise.
12369         * gshadow/sgetsgent.c: Likewise.
12370         * iconv/gconv_conf.c: Likewise.
12371         * iconv/gconv_db.c: Likewise.
12372         * iconv/gconv_dl.c: Likewise.
12373         * iconv/gconv_int.h: Likewise.
12374         * iconv/gconv_trans.c: Likewise.
12375         * include/link.h: Likewise.
12376         * inet/getnameinfo.c: Likewise.
12377         * inet/getnetgrent.c: Likewise.
12378         * inet/getnetgrent_r.c: Likewise.
12379         * intl/bindtextdom.c: Likewise.
12380         * intl/dcigettext.c: Likewise.
12381         * intl/finddomain.c: Likewise.
12382         * intl/gettextP.h: Likewise.
12383         * intl/loadmsgcat.c: Likewise.
12384         * intl/localealias.c: Likewise.
12385         * intl/textdomain.c: Likewise.
12386         * libidn/idn-stub.c: Likewise.
12387         * libio/libioP.h: Likewise.
12388         * locale/duplocale.c: Likewise.
12389         * locale/freelocale.c: Likewise.
12390         * locale/newlocale.c: Likewise.
12391         * locale/setlocale.c: Likewise.
12392         * login/getutent_r.c: Likewise.
12393         * login/getutid_r.c: Likewise.
12394         * login/getutline_r.c: Likewise.
12395         * login/utmp-private.h: Likewise.
12396         * login/utmpname.c: Likewise.
12397         * malloc/mtrace.c: Likewise.
12398         * misc/efgcvt.c: Likewise.
12399         * misc/error.c: Likewise.
12400         * misc/fstab.c: Likewise.
12401         * misc/getpass.c: Likewise.
12402         * misc/mntent.c: Likewise.
12403         * misc/syslog.c: Likewise.
12404         * nis/nis_call.c: Likewise.
12405         * nis/nis_callback.c: Likewise.
12406         * nis/nss-default.c: Likewise.
12407         * nis/nss_compat/compat-grp.c: Likewise.
12408         * nis/nss_compat/compat-initgroups.c: Likewise.
12409         * nis/nss_compat/compat-pwd.c: Likewise.
12410         * nis/nss_compat/compat-spwd.c: Likewise.
12411         * nis/nss_nis/nis-alias.c: Likewise.
12412         * nis/nss_nis/nis-ethers.c: Likewise.
12413         * nis/nss_nis/nis-grp.c: Likewise.
12414         * nis/nss_nis/nis-hosts.c: Likewise.
12415         * nis/nss_nis/nis-network.c: Likewise.
12416         * nis/nss_nis/nis-proto.c: Likewise.
12417         * nis/nss_nis/nis-pwd.c: Likewise.
12418         * nis/nss_nis/nis-rpc.c: Likewise.
12419         * nis/nss_nis/nis-service.c: Likewise.
12420         * nis/nss_nis/nis-spwd.c: Likewise.
12421         * nis/nss_nisplus/nisplus-alias.c: Likewise.
12422         * nis/nss_nisplus/nisplus-ethers.c: Likewise.
12423         * nis/nss_nisplus/nisplus-grp.c: Likewise.
12424         * nis/nss_nisplus/nisplus-hosts.c: Likewise.
12425         * nis/nss_nisplus/nisplus-initgroups.c: Likewise.
12426         * nis/nss_nisplus/nisplus-network.c: Likewise.
12427         * nis/nss_nisplus/nisplus-proto.c: Likewise.
12428         * nis/nss_nisplus/nisplus-pwd.c: Likewise.
12429         * nis/nss_nisplus/nisplus-rpc.c: Likewise.
12430         * nis/nss_nisplus/nisplus-service.c: Likewise.
12431         * nis/nss_nisplus/nisplus-spwd.c: Likewise.
12432         * nis/ypclnt.c: Likewise.
12433         * nptl/libc_pthread_init.c: Likewise.
12434         * nss/getXXbyYY.c: Likewise.
12435         * nss/getXXent.c: Likewise.
12436         * nss/getXXent_r.c: Likewise.
12437         * nss/nss_db/db-XXX.c: Likewise.
12438         * nss/nss_db/db-netgrp.c: Likewise.
12439         * nss/nss_db/nss_db.h: Likewise.
12440         * nss/nss_files/files-XXX.c: Likewise.
12441         * nss/nss_files/files-alias.c: Likewise.
12442         * nss/nsswitch.c: Likewise.
12443         * posix/regex_internal.h: Likewise.
12444         * posix/wordexp.c: Likewise.
12445         * pwd/fgetpwent.c: Likewise.
12446         * resolv/res_hconf.c: Likewise.
12447         * resolv/res_libc.c: Likewise.
12448         * shadow/fgetspent.c: Likewise.
12449         * shadow/lckpwdf.c: Likewise.
12450         * shadow/sgetspent.c: Likewise.
12451         * socket/opensock.c: Likewise.
12452         * stdio-common/reg-modifier.c: Likewise.
12453         * stdio-common/reg-printf.c: Likewise.
12454         * stdio-common/reg-type.c: Likewise.
12455         * stdio-common/vfprintf.c: Likewise.
12456         * stdio-common/vfscanf.c: Likewise.
12457         * stdlib/abort.c: Likewise.
12458         * stdlib/cxa_atexit.c: Likewise.
12459         * stdlib/fmtmsg.c: Likewise.
12460         * stdlib/random.c: Likewise.
12461         * stdlib/setenv.c: Likewise.
12462         * string/strsignal.c: Likewise.
12463         * sunrpc/auth_none.c: Likewise.
12464         * sunrpc/bindrsvprt.c: Likewise.
12465         * sunrpc/create_xid.c: Likewise.
12466         * sunrpc/key_call.c: Likewise.
12467         * sunrpc/rpc_thread.c: Likewise.
12468         * sysdeps/arm/backtrace.c: Likewise.
12469         * sysdeps/generic/ldsodefs.h: Likewise.
12470         * sysdeps/generic/stdio-lock.h: Likewise.
12471         * sysdeps/generic/unwind-dw2-fde.c: Likewise.
12472         * sysdeps/i386/backtrace.c: Likewise.
12473         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
12474         * sysdeps/m68k/backtrace.c: Likewise.
12475         * sysdeps/mach/hurd/cthreads.c: Likewise.
12476         * sysdeps/mach/hurd/dirstream.h: Likewise.
12477         * sysdeps/mach/hurd/malloc-machine.h: Likewise.
12478         * sysdeps/nptl/malloc-machine.h: Likewise.
12479         * sysdeps/nptl/stdio-lock.h: Likewise.
12480         * sysdeps/posix/dirstream.h: Likewise.
12481         * sysdeps/posix/getaddrinfo.c: Likewise.
12482         * sysdeps/posix/system.c: Likewise.
12483         * sysdeps/pthread/aio_suspend.c: Likewise.
12484         * sysdeps/s390/s390-32/backtrace.c: Likewise.
12485         * sysdeps/s390/s390-64/backtrace.c: Likewise.
12486         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
12487         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
12488         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c: Likewise.
12489         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c: Likewise.
12490         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c: Likewise.
12491         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
12492         * sysdeps/unix/sysv/linux/system.c: Likewise.
12493         * sysdeps/x86_64/backtrace.c: Likewise.
12494         * time/alt_digit.c: Likewise.
12495         * time/era.c: Likewise.
12496         * time/tzset.c: Likewise.
12497         * wcsmbs/wcsmbsload.c: Likewise.
12498         * nptl/tst-initializers1.c (do_test): Refer to <libc-lock.h>
12499         instead of <bits/libc-lock.h> in comment.
12501 2015-09-08  Andrew Bennett  <andrew.bennett@imgtec.com>
12503         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIO32] (MIPS_PUSH_MIPS2):
12504         Only use .set mips2 if the current ISA is below mips2.
12505         * sysdeps/mips/sys/tas.h [_MIPS_SIM == _ABIO32] (_test_and_set):
12506         Likewise.
12507         * sysdeps/mips/nptl/tls.h (READ_THREAD_POINTER): Only use .set
12508         mips32r2 if the current ISA is below mips32r2.
12509         * sysdeps/mips/tls-macros.h (TLS_RDHWR): New define.
12510         (TLS_IE): Updated to use the TLD_RDHWR macro.
12511         (TLS_LE): Likewise.
12512         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Moved out of #ifdef
12513         __ASSEMBLER__ condition.
12515 2015-09-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
12517         Fix parallel build of before-compile targets.
12519         * sysdeps/mach/Makefile ($(patsubst
12520         mach%,m\%h%,$(mach-before-compile))): Move rule to dedicated
12521         mach-before-compile target.
12522         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
12523         io fs process)): Move rule to dedicated hurd-before-compile target.
12525 2015-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
12527         Fix rules generating headers in hurd/ and mach/ when initial make call
12528         has subdir= explicitly set.
12530         * sysdeps/mach/Makefile ($(patsubst
12531         mach%,m\%h%,$(mach-before-compile))): Force subdir to mach when
12532         calling $(MAKE).
12533         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
12534         io fs process)): Force subdir to hurd when calling $(MAKE).
12535         ($(common-objpfx)hurd/../mach/RPC_task_get_sampled_pcs.c): Force
12536         subdir to mach when calling $(MAKE).
12538 2015-09-06  Manolis Ragkousis  <manolis837@gmail.com>
12540         Check sysheaders when looking for Mach and Hurd headers
12542         * sysdeps/mach/configure.ac: Add sysheaders check.
12543         * sysdeps/mach/configure: Regenerate.
12544         * sysdeps/mach/hurd/configure.ac: Add sysheaders check.
12545         * sysdeps/mach/hurd/configure: Regenerate.
12547 2015-09-04  Roland McGrath  <roland@hack.frob.com>
12549         [BZ #18921]
12550         * sysdeps/posix/opendir.c (need_isdir_precheck) [O_DIRECTORY]:
12551         Fix inverted sense of test of 'o_directory_works' value.
12552         Reported by Pádraig Brady <P@draigBrady.com>, diagnosed by
12553         Bernhard Voelker <mail@bernhard-voelker.de>.
12555 2015-09-04  Joseph Myers  <joseph@codesourcery.com>
12557         [BZ #14912]
12558         * bits/linkmap.h: Move to ...
12559         * sysdeps/generic/linkmap.h: ...here.
12560         * sysdeps/aarch64/bits/linkmap.h: Move to ...
12561         * sysdeps/aarch64/linkmap.h: ...here.
12562         * sysdeps/arm/bits/linkmap.h: Move to ...
12563         * sysdeps/arm/linkmap.h: ...here.
12564         * sysdeps/hppa/bits/linkmap.h: Move to ...
12565         * sysdeps/hppa/linkmap.h: ...here.
12566         * sysdeps/ia64/bits/linkmap.h: Move to ...
12567         * sysdeps/ia64/linkmap.h: ...here.
12568         * sysdeps/mips/bits/linkmap.h: Move to ...
12569         * sysdeps/mips/linkmap.h: ...here.
12570         * sysdeps/s390/bits/linkmap.h: Move to ...
12571         * sysdeps/s390/linkmap.h: ...here.
12572         * sysdeps/sh/bits/linkmap.h: Move to ...
12573         * sysdeps/sh/linkmap.h: ...here.
12574         * sysdeps/x86/bits/linkmap.h: Move to ...
12575         * sysdeps/x86/linkmap.h: ...here.
12576         * include/link.h: Include <linkmap.h> instead of <bits/linkmap.h>.
12578 2015-09-04  Andreas Schwab  <schwab@suse.de>
12580         [BZ #18635]
12581         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S
12582         (__makecontext): Terminate FDE before return label.
12583         (__novec_makecontext): Likewise.
12585 2015-09-04  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
12587         * sysdeps/unix/sysv/linux/socketpair.c: Use the address of the
12588         first member of struct sv in syscall macro.
12590 2015-09-04  Joseph Myers  <joseph@codesourcery.com>
12592         [BZ #14912]
12593         * bits/stdio-lock.h: Move to ...
12594         * sysdeps/generic/stdio-lock.h: ...here.
12595         (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
12596         * sysdeps/nptl/bits/stdio-lock.h: Move to ...
12597         * sysdeps/nptl/stdio-lock.h: ...here.
12598         (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
12599         * include/libio.h: Include <stdio-lock.h> instead of
12600         <bits/stdio-lock.h>.
12601         * sysdeps/nptl/fork.c: Likewise.
12602         * sysdeps/pthread/flockfile.c: Likewise.
12603         * sysdeps/pthread/ftrylockfile.c: Likewise.
12604         * sysdeps/pthread/funlockfile.c: Likewise.
12606         [BZ #14912]
12607         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Move to ...
12608         * sysdeps/unix/sysv/linux/m68k/m68k-vdso.h: ...here.
12609         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Include
12610         <m68k-vdso.h> instead of <bits/m68k-vdso.h>.
12611         * sysdeps/unix/sysv/linux/m68k/init-first.c: Likewise.
12612         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
12613         * sysdeps/unix/sysv/linux/m68k/m68k-vdso.c: Likewise.
12615 2015-09-03  Roland McGrath  <roland@hack.frob.com>
12617         * elf/Makefile (test-xfail-tst-protected1a): New variable.
12618         (test-xfail-tst-protected1b): New variable.
12620 2015-09-03  Joseph Myers  <joseph@codesourcery.com>
12622         [BZ #14912]
12623         * bits/libc-tsd.h: Move to ...
12624         * sysdeps/generic/libc-tsd.h: ...here.
12625         (_GENERIC_BITS_LIBC_TSD_H): Rename macro to _GENERIC_LIBC_TSD_H.
12626         * sysdeps/mach/hurd/bits/libc-tsd.h: Move to ...
12627         * sysdeps/mach/hurd/libc-tsd.h: ...here.
12628         (_BITS_LIBC_TSD_H): Rename macro to _LIBC_TSD_H.
12629         * include/ctype.h: Include <libc-tsd.h> instead of
12630         <bits/libc-tsd.h>.
12631         * include/rpc/rpc.h: Likewise.
12632         * locale/localeinfo.h: Likewise.
12633         * sunrpc/rpc_thread.c: Likewise.
12634         * sysdeps/mach/hurd/malloc-machine.h: Likewise.
12635         * sysdeps/nptl/malloc-machine.h: Likewise.
12637         * Makefile (headers): Remove bits/libc-lock.h.
12638         * libio/Makefile (headers): Remove bits/stdio-lock.h.
12640         * libio/libio.h [_IO_MTSAFE_IO]: Remove include of
12641         <bits/stdio-lock.h> and commented-out include of <comthread.h>.
12642         * include/libio.h [!_ISOMAC && _IO_MTSAFE_IO]: Include
12643         <bits/stdio-lock.h>.
12644         * stdio-common/scanf15.c (_IO_MTSAFE_IO): Undefine.
12645         * stdio-common/scanf17.c (_IO_MTSAFE_IO): Likewise.
12647 2015-09-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
12649         [BZ #18757]
12650         * libio/iofopncook.c (_IO_fopencookie): Set errno on failure.
12651         * libio/test-fmemopen.c (do_bz18820): Extend the test to cover
12652         BZ #18757.
12654 2015-09-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
12656         * malloc/mtrace.pl: Filter out NULL entries.
12658 2015-09-01  Joseph Myers  <joseph@codesourcery.com>
12660         * inet/netinet/in.h (IPPROTO_MPLS): New enum value and macro.
12661         * sysdeps/unix/sysv/linux/bits/in.h (IP_BIND_ADDRESS_NO_PORT): New
12662         macro.
12664         * sysdeps/gnu/netinet/tcp.h (TCP_NOTSENT_LOWAT): New macro.
12665         (TCP_CC_INFO): Likewise.
12666         (TCP_SAVE_SYN): Likewise.
12667         (TCP_SAVED_SYN): Likewise.
12669 2015-08-31  Brett Neumeier <brett@neumeier.us>
12671         [BZ #18870]
12672         * sysdeps/sparc/sparc32/sem_open.c: Add missing #include
12674 2015-08-31  Paul Eggert  <eggert@cs.ucla.edu>
12676         [BZ #18873]
12677         Fix broken overflow check in posix_fallocate
12678         * sysdeps/posix/posix_fallocate.c (posix_fallocate):
12679         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
12680         Fix parenthesization typo.
12682 2015-08-28  Mike Frysinger  <vapier@gentoo.org>
12684         [BZ #18887]
12685         * misc/Makefile (tests): Add tst-mntent-blank-corrupt and
12686         tst-mntent-blank-passno.
12687         * misc/mntent_r.c (__getmntent_r): Do not read past buffer[0].
12688         * misc/tst-mntent-blank-corrupt.c: New test.
12689         * misc/tst-mntent-blank-passno.c: New test ripped from ...
12690         * misc/tst-mntent.c (do_test): ... here.
12692 2015-08-29  Mike Frysinger  <vapier@gentoo.org>
12694         [BZ #4404]
12695         * po/de.po: Fix SIGALRM typo.
12697 2015-08-28  James Perkins  <james@loowit.net>
12699         * time/tst-strptime2.c (tests): Replace short list of test
12700         strings for strptime %z specifier with code which exhaustively
12701         tests every combination of sign and 0 to 5 digits. Tests for
12702         rejection of invalid strings.
12704 2015-08-28  James Perkins  <james@loowit.net>
12706         [BZ #16141]
12707         * time/strptime_l.c (__strptime_internal): Fix %z minutes
12708         calculation, removing incorrect decimal time rounding, so that
12709         all minute values result in a valid seconds value.
12710         * time/strptime_l.c (__strptime_internal): Extend %z time zone
12711         offset range limits to UTC-99:59 through UTC+99:59 to parse
12712         current and historical use cases.
12713         * time/tst-strptime2.c (tests): Modify and add tests for the
12714         strptime %z input field descriptor, specifically conversion of
12715         minutes to seconds and validating an offset range of -9959 to
12716         +9959.
12718 2015-08-27  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12719             Dmitry V. Levin  <ldv@altlinux.org>
12721         [BZ #18877]
12722         * posix/Makefile (tests): Add tst-mmap-offset.
12723         * posix/tst-mmap.c: New file.
12724         * sysdeps/unix/sysv/linux/generic/wordsize-32/mmap.c (__mmap): Fix
12725         offset calculation for negative values.
12727 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
12729         * sysdeps/i386/init-arch.h: New file.
12730         * sysdeps/i386/i586/init-arch.h: Likewise.
12731         * sysdeps/i386/i686/init-arch.h: Likewise.
12732         * sysdeps/x86/cpu-features.c (init_cpu_features): Set bit_I586
12733         bit if CX8 is available.  Set bit_I686 bit if CMOV is available.
12734         * sysdeps/x86/cpu-features.h (bit_I586): New.
12735         (bit_I686): Likewise.
12736         (bit_CX8): Likewise.
12737         (bit_CMOV): Likewise.
12738         (index_CX8): Likewise.
12739         (index_CMOV): Likewise.
12740         (index_I586): Likewise.
12741         (index_I686): Likewise.
12742         (reg_CX8): Likewise.
12743         (reg_CMOV): Likewise.
12744         (HAS_I586): Defined as HAS_ARCH_FEATURE (I586) if i586 isn't
12745         available at compile-time.
12746         (HAS_I686): Defined as HAS_ARCH_FEATURE (I686) if i686 isn't
12747         available at compile-time.
12748         * sysdeps/x86/init-arch.h (USE_I586): New macro.
12749         (USE_I686): Likewise.
12751 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
12753         * sysdeps/i386/bcopy.S: New file.
12754         * sysdeps/i386/bzero.S: Likewise.
12755         * sysdeps/i386/memcpy.S: Likewise.
12756         * sysdeps/i386/memmove.S: Likewise.
12757         * sysdeps/i386/mempcpy.S: Likewise.
12758         * sysdeps/i386/memset.S: Likewise.
12759         * sysdeps/i386/bzero.c: Removed.
12760         * sysdeps/i386/memset.c: Likewise.
12761         * sysdeps/i386/i586/memcpy_chk.S: Likewise.
12762         * sysdeps/i386/i586/mempcpy_chk.S: Likewise.
12763         * sysdeps/i386/i586/memset_chk.S: Likewise.
12764         * sysdeps/i386/i686/memcpy_chk.S: Moved to ...
12765         * sysdeps/i386/memcpy_chk.S: Here.
12766         * sysdeps/i386/i686/memmove_chk.S: Moved to ...
12767         * sysdeps/i386/memmove_chk.S: Here.
12768         * sysdeps/i386/i686/mempcpy_chk.S: Moved to ...
12769         * sysdeps/i386/mempcpy_chk.S: Likewise.
12770         * sysdeps/i386/i686/memset_chk.S: Moved to ...
12771         * sysdeps/i386/memset_chk.S: Likewise.
12773 2015-08-27  Steve Ellcey  <sellcey@imgtec.com>
12775         * soft-fp/fmasf4.c: Add include of sys/cdefs.h.
12776         Move DIAG_PUSH_NEEDS_COMMENT, DIAG_IGNORE_NEEDS_COMMENT to front of
12777         file, move DIAG_POP_NEEDS_COMMENT to end of file.
12778         * soft-fp/fmadf4.c: Ditto.
12779         * soft-fp/fmatf4.c: Ditto.
12781 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
12783         * sysdeps/i386/i586/Implies: Removed.
12784         * sysdeps/i386/i686/Implies: Likewise.
12786 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
12788         * sysdeps/i386/i486/strlen.S: Moved to ...
12789         * sysdeps/i386/strlen.S: Here.
12791 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
12793         * sysdeps/i386/i486/strcat.S: Moved to ...
12794         * sysdeps/i386/strcat.S: Here.
12796 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
12798         * sysdeps/i386/i486/pthread_spin_trylock.S: Moved to ...
12799         * sysdeps/i386/pthread_spin_trylock.S: Here.
12800         * sysdeps/i386/i586/pthread_spin_trylock.S: Removed.
12801         * sysdeps/i386/i686/pthread_spin_trylock.S: Updated.
12803 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
12805         * sysdeps/i386/i486/string-inlines.c: Moved to ...
12806         * sysdeps/i386/string-inlines.c: Here.
12808 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
12810         * sysdeps/i386/i486/htonl.S: Moved ...
12811         * sysdeps/i386/htonl.S: here.
12813 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
12815         * sysdeps/i386/i486/bits/atomic.h: Moved to ...
12816         * sysdeps/i386/bits/atomic.h: Here.
12818 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
12820         * sysdeps/i386/i486/Versions: Removed.
12822 2015-08-27  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
12824         [BZ #2898]
12825         * misc/mktemp.c: Add mkdtemp to the link_warning message.
12826         Based on patch by Aurelien Jarno.
12828 2015-08-26  Stan Shebs  <stanshebs@google.com>
12830         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <libc-internal.h>.
12831         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
12833 2015-08-26  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
12835         * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_HTM_NOSC.
12836         * sysdeps/powerpc/dl-procinfo.c:
12837         (_dl_powerpc_cap_flags): Added descriptor for this hwcap
12838         feature so it shows when LD_SHOW_AUXV=1.
12840 2015-08-26  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
12842         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
12843         (__arch_compare_and_exchange_val_32_acq): Remove and use common
12844         definition.  ISA 2.07B no longer requires full sync.
12846 2015-08-26  Mike Frysinger  <vapier@gentoo.org>
12848         [BZ #18863]
12849         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (siginfo_t): Add _sigsys.
12850         (si_call_addr): Define.
12851         (si_syscall): Define.
12852         (si_arch): Define.
12854 2015-08-26  H.J. Lu  <hongjiu.lu@intel.com>
12856         * sysdeps/i386/i586/bzero.S (USE_AS_BZERO): New.
12857         * sysdeps/i386/i686/bzero.S (USE_AS_BZERO): Likewise.
12858         * sysdeps/i386/i586/memset.S (BZERO_P): Removed.
12859         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
12860         (__memset_zero_constant_len_parameter): New.
12861         * sysdeps/i386/i686/memset.S (BZERO_P): Removed.
12862         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
12863         (__memset_zero_constant_len_parameter): Don't define if
12864         __memset_chk or USE_AS_BZERO are defined.
12866         * sysdeps/i386/i586/memcpy.S (MEMPCPY_P): Removed.
12867         Check USE_AS_MEMPCPY/SHARED instead of MEMPCPY_P/PIC.
12868         * sysdeps/i386/i586/mempcpy.S (USE_AS_MEMPCPY): New.
12870         * sysdeps/x86/Makefile [$(subdir) == elf] (CFLAGS-.os,
12871         tests-special, $(objpfx)tst-ld-sse-use.out): Moved to ...
12872         * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os,
12873         tests-special, $(objpfx)tst-ld-sse-use.out): Here.  Update
12874         comments.
12875         * sysdeps/x86_64/Makefile [$(subdir) == elf] (CFLAGS-.os): Add
12876         -mno-mmx for $(all-rtld-routines).
12877         * sysdeps/x86/tst-ld-sse-use.sh: Moved to ...
12878         * sysdeps/i386/tst-ld-sse-use.sh: Here.  Replace x86-64 with
12879         i386.
12881 2015-08-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
12883         * sysdeps/generic/unwind.h
12884         (_Unwind_Word): Use __mode__(__unwind_word__)
12885         instead of __mode__(__word__).
12886         (_Unwind_Sword): Likewise.
12888         * sysdeps/s390/s390-64/utf8-utf16-z9.c
12889         (MAX_NEEDED_INPUT): New define.
12890         (MAX_NEEDED_OUTPUT): New define.
12892         * NEWS: New item for IBM z13 string optimizations.
12894         * sysdeps/s390/multiarch/memrchr-c.c: New File.
12895         * sysdeps/s390/multiarch/memrchr-vx.S: Likewise.
12896         * sysdeps/s390/multiarch/memrchr.c: Likewise.
12897         * sysdeps/s390/multiarch/Makefile
12898         (sysdep_routines): Add memrchr functions.
12899         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
12900         (__libc_ifunc_impl_list_common): Add ifunc test for memrchr.
12902         * sysdeps/s390/multiarch/wmemcmp-c.c: New File.
12903         * sysdeps/s390/multiarch/wmemcmp-vx.S: Likewise.
12904         * sysdeps/s390/multiarch/wmemcmp.c: Likewise.
12905         * sysdeps/s390/multiarch/Makefile
12906         (sysdep_routines): Add wmemcmp functions.
12907         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
12908         (__libc_ifunc_impl_list_common): Add ifunc test for wmemcmp.
12909         * benchtests/bench-wmemcmp.c: New File.
12910         * benchtests/Makefile (wcsmbs-bench): Add wmemcmp.
12912         * sysdeps/s390/multiarch/wmemset-c.c: New File.
12913         * sysdeps/s390/multiarch/wmemset-vx.S: Likewise.
12914         * sysdeps/s390/multiarch/wmemset.c: Likewise.
12915         * sysdeps/s390/multiarch/Makefile
12916         (sysdep_routines): Add wmemset functions.
12917         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
12918         (__libc_ifunc_impl_list_common): Add ifunc test for wmemset.
12919         * wcsmbs/wmemset.c: Use WMEMSET if defined.
12920         * string/test-memset.c: Add wmemset support.
12921         * wcsmbs/test-wmemset.c: New File.
12922         * wcsmbs/Makefile (strop-tests): Add wmemset.
12923         * benchtests/bench-memset.c: Add wmemset support.
12924         * benchtests/bench-wmemset.c: New File.
12925         * benchtests/Makefile (wcsmbs-bench): Add wmemset.
12927         * sysdeps/s390/multiarch/memccpy-c.c: New File.
12928         * sysdeps/s390/multiarch/memccpy-vx.S: Likewise.
12929         * sysdeps/s390/multiarch/memccpy.c: Likewise.
12930         * sysdeps/s390/multiarch/Makefile
12931         (sysdep_routines): Add memccpy functions.
12932         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
12933         (__libc_ifunc_impl_list_common): Add ifunc test for memccpy.
12934         * string/memccpy.c: Use MEMCCPY if defined.
12936         * sysdeps/s390/multiarch/memchr-vx.S: New File.
12937         * sysdeps/s390/multiarch/memchr.c: Likewise.
12938         * sysdeps/s390/multiarch/rawmemchr-c.c: Likewise.
12939         * sysdeps/s390/multiarch/rawmemchr-vx.S: Likewise.
12940         * sysdeps/s390/multiarch/rawmemchr.c: Likewise.
12941         * sysdeps/s390/multiarch/wmemchr-c.c: Likewise.
12942         * sysdeps/s390/multiarch/wmemchr-vx.S: Likewise.
12943         * sysdeps/s390/multiarch/wmemchr.c: Likewise.
12944         * sysdeps/s390/s390-32/multiarch/memchr.c: Likewise.
12945         * sysdeps/s390/s390-64/multiarch/memchr.c: Likewise.
12946         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memchr, wmemchr
12947         and rawmemchr functions.
12948         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
12949         (__libc_ifunc_impl_list_common): Add ifunc test for memchr, rawmemchr
12950         and wmemchr.
12951         * wcsmbs/wmemchr.c: Use WMEMCHR if defined.
12952         * string/test-memchr.c: Add wmemchr support.
12953         * wcsmbs/test-wmemchr.c: New File.
12954         * wcsmbs/Makefile (strop-tests): Add wmemchr.
12955         * benchtests/bench-memchr.c: Add wmemchr support.
12956         * benchtests/bench-wmemchr.c: New File.
12957         * benchtests/Makefile (wcsmbs-bench): wmemchr.
12959         * sysdeps/s390/multiarch/strcspn-c.c: New File.
12960         * sysdeps/s390/multiarch/strcspn-vx.S: Likewise.
12961         * sysdeps/s390/multiarch/strcspn.c: Likewise.
12962         * sysdeps/s390/multiarch/wcscspn-c.c: Likewise.
12963         * sysdeps/s390/multiarch/wcscspn-vx.S: Likewise.
12964         * sysdeps/s390/multiarch/wcscspn.c: Likewise.
12965         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcspn and
12966         wcscspn functions.
12967         * sysdeps/s390/multiarch/ifunc-impl-list.c
12968         (__libc_ifunc_impl_list): Add ifunc test for strcspn, wcscspn.
12969         * wcsmbs/wcscspn.c: Use WCSCSPN if defined.
12970         * string/test-strcspn.c: Add wcscspn support.
12971         * wcsmbs/test-wcscspn.c: New File.
12972         * wcsmbs/Makefile (strop-tests): Add wcscspn.
12973         * benchtests/bench-strcspn.c: Add wcscspn support.
12974         * benchtests/bench-wcscspn.c: New File.
12975         * benchtests/Makefile (wcsmbs-bench): Add wcscspn.
12977         * sysdeps/s390/multiarch/strpbrk-c.c: New File.
12978         * sysdeps/s390/multiarch/strpbrk-vx.S: Likewise.
12979         * sysdeps/s390/multiarch/strpbrk.c: Likewise.
12980         * sysdeps/s390/multiarch/wcspbrk-c.c: Likewise.
12981         * sysdeps/s390/multiarch/wcspbrk-vx.S: Likewise.
12982         * sysdeps/s390/multiarch/wcspbrk.c: Likewise.
12983         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strpbrk and
12984         wcspbrk functions.
12985         * sysdeps/s390/multiarch/ifunc-impl-list.c
12986         (__libc_ifunc_impl_list): Add ifunc test for strpbrk, wcspbrk.
12987         * wcsmbs/wcspbrk.c: Use WCSPBRK if defined.
12988         * string/test-strpbrk.c: Add wcspbrk support.
12989         * wcsmbs/test-wcspbrk.c: New File.
12990         * wcsmbs/Makefile (strop-tests): Add wcspbrk.
12991         * benchtests/bench-strpbrk.c: Add wcspbrk support.
12992         * benchtests/bench-wcspbrk.c: New File.
12993         * benchtests/Makefile (wcsmbs-bench): Add wcspbrk.
12995         * sysdeps/s390/multiarch/strspn-c.c: New File.
12996         * sysdeps/s390/multiarch/strspn-vx.S: Likewise.
12997         * sysdeps/s390/multiarch/strspn.c: Likewise.
12998         * sysdeps/s390/multiarch/wcsspn-c.c: Likewise.
12999         * sysdeps/s390/multiarch/wcsspn-vx.S: Likewise.
13000         * sysdeps/s390/multiarch/wcsspn.c: Likewise.
13001         * wcsmbs/wcsspn.c: Use WCSSPN if defined.
13002         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strspn and
13003         wcsspn functions.
13004         * sysdeps/s390/multiarch/ifunc-impl-list.c
13005         (__libc_ifunc_impl_list): Add ifunc test for strspn, wcsspn.
13006         * string/test-strspn.c: Add wcsspn support.
13007         * wcsmbs/test-wcsspn.c: New File.
13008         * wcsmbs/Makefile (strop-tests): Add wcsspn.
13009         * benchtests/bench-strspn.c: Add wcsspn support.
13010         * benchtests/bench-wcsspn.c: New File.
13011         * benchtests/Makefile (wcsmbs-bench): Add wcsspn.
13013         * sysdeps/s390/multiarch/strrchr-c.c: New File.
13014         * sysdeps/s390/multiarch/strrchr-vx.S: Likewise.
13015         * sysdeps/s390/multiarch/strrchr.c: Likewise.
13016         * sysdeps/s390/multiarch/wcsrchr-c.c: Likewise.
13017         * sysdeps/s390/multiarch/wcsrchr-vx.S: Likewise.
13018         * sysdeps/s390/multiarch/wcsrchr.c: Likewise.
13019         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strrchr and
13020         wcsrchr functions.
13021         * sysdeps/s390/multiarch/ifunc-impl-list.c
13022         (__libc_ifunc_impl_list): Add ifunc test for strrchr, wcsrchr.
13023         * benchtests/bench-wcsrchr.c: New File.
13024         * benchtests/Makefile (wcsmbs-bench): Add wcsrchr.
13026         * sysdeps/s390/multiarch/strchrnul-c.c: New File.
13027         * sysdeps/s390/multiarch/strchrnul-vx.S: Likewise.
13028         * sysdeps/s390/multiarch/strchrnul.c: Likewise.
13029         * sysdeps/s390/multiarch/wcschrnul-c.c: Likewise.
13030         * sysdeps/s390/multiarch/wcschrnul-vx.S: Likewise.
13031         * sysdeps/s390/multiarch/wcschrnul.c: Likewise.
13032         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchrnul and
13033         wcschrnul functions.
13034         * sysdeps/s390/multiarch/ifunc-impl-list.c
13035         (__libc_ifunc_impl_list): Add ifunc test for strchrnul, wcschrnul.
13036         * wcsmbs/wcschrnul.c: Use WCSCHRNUL if defined.
13037         * string/test-strchr.c: Add wcschrnul support.
13038         * wcsmbs/test-wcschrnul.c: New File.
13039         * wcsmbs/Makefile (strop-tests): Add wcschrnul.
13040         * benchtests/bench-strchr.c: Add wcschrnul support.
13041         * benchtests/bench-wcschrnul.c: New File.
13042         * benchtests/Makefile (wcsmbs-bench): Add wcschrnul.
13044         * sysdeps/s390/multiarch/strchr-c.c: New File.
13045         * sysdeps/s390/multiarch/strchr-vx.S: Likewise.
13046         * sysdeps/s390/multiarch/strchr.c: Likewise.
13047         * sysdeps/s390/multiarch/wcschr-c.c: Likewise.
13048         * sysdeps/s390/multiarch/wcschr-vx.S: Likewise.
13049         * sysdeps/s390/multiarch/wcschr.c: Likewise.
13050         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchr and
13051         wcschr functions.
13052         * sysdeps/s390/multiarch/ifunc-impl-list.c
13053         (__libc_ifunc_impl_list): Add ifunc test for strchr, wcschr.
13054         * string/strchr.c (STRCHR): Define and use macro.
13055         * benchtests/bench-wcschr.c: New File.
13056         * benchtests/Makefile (wcsmbs-bench): Add wcschr.
13058         * sysdeps/s390/multiarch/strncmp-c.c: New File.
13059         * sysdeps/s390/multiarch/strncmp-vx.S: Likewise.
13060         * sysdeps/s390/multiarch/strncmp.c: Likewise.
13061         * sysdeps/s390/multiarch/wcsncmp-c.c: Likewise.
13062         * sysdeps/s390/multiarch/wcsncmp-vx.S: Likewise.
13063         * sysdeps/s390/multiarch/wcsncmp.c: Likewise.
13064         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncmp and
13065         wcsncmp functions.
13066         * sysdeps/s390/multiarch/ifunc-impl-list.c
13067         (__libc_ifunc_impl_list): Add ifunc test for strncmp, wcsncmp.
13068         * wcsmbs/wcsncmp.c (WCSNCMP): Define and use macro.
13069         * benchtests/bench-strncmp.c: Add wcsncmp support.
13070         * benchtests/bench-wcsncmp.c: New File.
13071         * benchtests/Makefile (wcsmbs-bench): Add wcsncmp.
13073         * sysdeps/s390/multiarch/strcmp-vx.S: New File.
13074         * sysdeps/s390/multiarch/strcmp.c: Likewise.
13075         * sysdeps/s390/multiarch/wcscmp-c.c: Likewise.
13076         * sysdeps/s390/multiarch/wcscmp-vx.S: Likewise.
13077         * sysdeps/s390/multiarch/wcscmp.c: Likewise.
13078         * sysdeps/s390/s390-32/multiarch/strcmp.c: Likewise.
13079         * sysdeps/s390/s390-64/multiarch/strcmp.c: Likewise.
13080         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcmp and
13081         wcscmp functions.
13082         * sysdeps/s390/multiarch/ifunc-impl-list.c
13083         (__libc_ifunc_impl_list): Add ifunc test for strcmp, wcscmp.
13084         * string/strcmp.c (STRCMP): Define and use macro.
13085         * benchtests/bench-wcscmp.c: New File.
13086         * benchtests/Makefile (wcsmbs-bench): Add wcscmp.
13087         * sysdeps/s390/bits/string.h: Fix typo: _HAVE_STRING_ARCH_strcmp
13088         instead of _HAVE_STRING_ARCH_memchr.
13090         * sysdeps/s390/multiarch/strncat-c.c: New File.
13091         * sysdeps/s390/multiarch/strncat-vx.S: Likewise.
13092         * sysdeps/s390/multiarch/strncat.c: Likewise.
13093         * sysdeps/s390/multiarch/wcsncat-c.c: Likewise.
13094         * sysdeps/s390/multiarch/wcsncat-vx.S: Likewise.
13095         * sysdeps/s390/multiarch/wcsncat.c: Likewise.
13096         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncat and
13097         wcsncat functions.
13098         * sysdeps/s390/multiarch/ifunc-impl-list.c
13099         (__libc_ifunc_impl_list): Add ifunc test for strncat, wcsncat.
13100         * wcsmbs/wcsncat.c (WCSNCAT): Define and use macro.
13101         * string/test-strncat.c: Add wcsncat support.
13102         * wcsmbs/test-wcsncat.c: New File.
13103         * wcsmbs/Makefile (strop-tests): Add wcsncat.
13104         * benchtests/bench-strncat.c: Add wcsncat support.
13105         * benchtests/bench-wcsncat.c: New File.
13106         * benchtests/Makefile (wcsmbs-bench): Add wcsncat.
13108         * sysdeps/s390/multiarch/strcat-c.c: New File.
13109         * sysdeps/s390/multiarch/strcat-vx.S: Likewise.
13110         * sysdeps/s390/multiarch/strcat.c: Likewise.
13111         * sysdeps/s390/multiarch/wcscat-c.c: Likewise.
13112         * sysdeps/s390/multiarch/wcscat-vx.S: Likewise.
13113         * sysdeps/s390/multiarch/wcscat.c: Likewise.
13114         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcat and
13115         wcscat functions.
13116         * sysdeps/s390/multiarch/ifunc-impl-list.c
13117         (__libc_ifunc_impl_list): Add ifunc test for strcat, wcscat.
13118         * string/strcat.c (STRCAT): Define and use macro.
13119         * wcsmbs/wcscat.c: Use WCSCAT if defined.
13120         * string/test-strcat.c: Add wcscat support.
13121         * wcsmbs/test-wcscat.c: New File.
13122         * wcsmbs/Makefile (strop-tests): Add wcscat.
13123         * benchtests/bench-strcat.c: Add wcscat support.
13124         * benchtests/bench-wcscat.c: New File.
13125         * benchtests/Makefile (wcsmbs-bench): Add wcscat.
13127         * sysdeps/s390/multiarch/stpncpy-c.c: New File.
13128         * sysdeps/s390/multiarch/stpncpy-vx.S: Likewise.
13129         * sysdeps/s390/multiarch/stpncpy.c: Likewise.
13130         * sysdeps/s390/multiarch/wcpncpy-c.c: Likewise.
13131         * sysdeps/s390/multiarch/wcpncpy-vx.S: Likewise.
13132         * sysdeps/s390/multiarch/wcpncpy.c: Likewise.
13133         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpncpy and
13134         wcpncpy functions.
13135         * sysdeps/s390/multiarch/ifunc-impl-list.c
13136         (__libc_ifunc_impl_list): Add ifunc test for stpncpy, wcpncpy.
13137         * wcsmbs/wcpncpy.c: Use WCPNCPY if defined.
13138         * string/test-stpncpy.c: Add wcpncpy support.
13139         * wcsmbs/test-wcpncpy.c: New File.
13140         * wcsmbs/Makefile (strop-tests): Add wcpncpy.
13141         * benchtests/bench-stpncpy.c: Add wcpncpy support.
13142         * benchtests/bench-wcpncpy.c: New File.
13143         * benchtests/Makefile (wcsmbs-bench): Add wcpncpy.
13145         * sysdeps/s390/multiarch/strncpy-vx.S: New File.
13146         * sysdeps/s390/multiarch/strncpy.c: Likewise.
13147         * sysdeps/s390/multiarch/wcsncpy-c.c: Likewise.
13148         * sysdeps/s390/multiarch/wcsncpy-vx.S: Likewise.
13149         * sysdeps/s390/multiarch/wcsncpy.c: Likewise.
13150         * sysdeps/s390/s390-32/multiarch/strncpy.c: Likewise.
13151         * sysdeps/s390/s390-64/multiarch/strncpy.c: Likewise.
13152         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncpy and
13153         wcsncpy functions.
13154         * wcsmbs/wcsncpy.c: Use WCSNCPY if defined.
13155         * sysdeps/s390/multiarch/ifunc-impl-list.c
13156         (__libc_ifunc_impl_list): Add ifunc test for strncpy, wcsncpy.
13157         * string/test-strncpy.c: Add wcsncpy support.
13158         * wcsmbs/test-wcsncpy.c: New File.
13159         * wcsmbs/Makefile (strop-tests): Add wcsncpy.
13160         * benchtests/bench-strncpy.c: Add wcsncpy support.
13161         * benchtests/bench-wcsncpy.c: New File.
13162         * benchtests/Makefile (wcsmbs-bench): Add wcsncpy
13164         * sysdeps/s390/multiarch/stpcpy-c.c: New File.
13165         * sysdeps/s390/multiarch/stpcpy-vx.S: Likewise.
13166         * sysdeps/s390/multiarch/stpcpy.c: Likewise.
13167         * sysdeps/s390/multiarch/wcpcpy-c.c: Likewise.
13168         * sysdeps/s390/multiarch/wcpcpy-vx.S: Likewise.
13169         * sysdeps/s390/multiarch/wcpcpy.c: Likewise.
13170         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpcpy and
13171         wcpcpy functions.
13172         * string/stpcpy.c: Use STPCPY if defined.
13173         * wcsmbs/wcpcpy.c: Use WCPCPY if defined.
13174         * sysdeps/s390/multiarch/ifunc-impl-list.c
13175         (__libc_ifunc_impl_list): Add ifunc test for stpcpy, wcpcpy.
13176         * string/test-stpcpy.c: Add wcpcpy support.
13177         * wcsmbs/test-wcpcpy.c: New File.
13178         * wcsmbs/Makefile (strop-tests): Add wcpcpy.
13179         * benchtests/bench-stpcpy.c: Add wcpcpy support.
13180         * benchtests/bench-wcpcpy.c: New File.
13181         * benchtests/Makefile (wcsmbs-bench): Add wcpcpy.
13183         * sysdeps/s390/multiarch/strcpy-vx.S: New File.
13184         * sysdeps/s390/multiarch/strcpy.c: Likewise.
13185         * sysdeps/s390/multiarch/wcscpy-c.c: Likewise.
13186         * sysdeps/s390/multiarch/wcscpy-vx.S: Likewise.
13187         * sysdeps/s390/multiarch/wcscpy.c: Likewise.
13188         * sysdeps/s390/s390-32/multiarch/strcpy.c: Likewise.
13189         * sysdeps/s390/s390-64/multiarch/strcpy.c: Likewise.
13190         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcpy and
13191         wcscpy functions.
13192         * sysdeps/s390/multiarch/ifunc-impl-list.c
13193         (__libc_ifunc_impl_list): Add ifunc test for strcpy, wcscpy.
13194         * benchtests/bench-wcscpy.c: New File.
13195         * benchtests/Makefile (wcsmbs-bench): Add wcscpy.
13197         * sysdeps/s390/multiarch/strnlen-c.c: New File.
13198         * sysdeps/s390/multiarch/strnlen-vx.S: Likewise.
13199         * sysdeps/s390/multiarch/strnlen.c: Likewise.
13200         * sysdeps/s390/multiarch/wcsnlen-c.c: Likewise.
13201         * sysdeps/s390/multiarch/wcsnlen-vx.S: Likewise.
13202         * sysdeps/s390/multiarch/wcsnlen.c: Likewise.
13203         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strnlen and
13204         wcsnlen functions.
13205         * sysdeps/s390/multiarch/ifunc-impl-list.c
13206         (__libc_ifunc_impl_list): Add ifunc test for strnlen, wcsnlen.
13207         * wcsmbs/wcsnlen.c: Use WCSNLEN if defined.
13208         * string/test-strnlen.c: Add wcsnlen support.
13209         * wcsmbs/test-wcsnlen.c: New File.
13210         * wcsmbs/Makefile (strop-tests): Add wcsnlen.
13211         * benchtests/bench-strnlen.c: Add wcsnlen support.
13212         * benchtests/bench-wcsnlen.c: New File.
13213         * benchtests/Makefile (wcsmbs-bench): Add wcsnlen.
13215         * sysdeps/s390/multiarch/Makefile: New File.
13216         * sysdeps/s390/multiarch/strlen-c.c: Likewise.
13217         * sysdeps/s390/multiarch/strlen-vx.S: Likewise.
13218         * sysdeps/s390/multiarch/strlen.c: Likewise.
13219         * sysdeps/s390/multiarch/wcslen-c.c: Likewise.
13220         * sysdeps/s390/multiarch/wcslen-vx.S: Likewise.
13221         * sysdeps/s390/multiarch/wcslen.c: Likewise.
13222         * string/strlen.c (STRLEN): Define and use macro.
13223         * sysdeps/s390/multiarch/ifunc-impl-list.c
13224         (IFUNC_VX_IMPL): New macro function.
13225         (__libc_ifunc_impl_list): Add ifunc test for strlen, wcslen.
13226         * benchtests/Makefile (wcsmbs-bench): New variable.
13227         (string-bench-all): Added wcsmbs-bench.
13228         * benchtests/bench-wcslen.c: New File.
13230         * sysdeps/s390/multiarch/ifunc-resolve.h (s390_vx_libc_ifunc,
13231         s390_vx_libc_ifunc2): New macro function.
13233         * config.h.in (HAVE_S390_VX_ASM_SUPPORT): New macro undefine.
13234         * sysdeps/s390/configure.ac: Add test for S390 vector instruction
13235         assembler support.
13236         * sysdeps/s390/configure: Regenerated.
13238         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z13.
13239         * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
13241         * sysdeps/s390/dl-procinfo.c (_dl_s390_platforms): Add vector flag.
13242         * sysdeps/s390/dl-procinfo.h: Add vector capability.
13243         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h (HWCAP_S390_VX): Define.
13245         * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
13246         Remove ifunc-resolve, add memset-s390, memcpy-s390, memcmp-s390.
13247         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Delete File.
13248         * sysdeps/s390/s390-32/multiarch/memcmp.S: Move to ...
13249         * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: ... here.
13250         (memcmp, bcmp): Use __memcmp_default as alias source.
13251         * sysdeps/s390/s390-32/multiarch/memcmp.c: New File.
13252         * sysdeps/s390/s390-32/memcmp.S (__memcmp_g5):
13253         Rename to __memcmp_default.
13254         * sysdeps/s390/s390-32/multiarch/memcpy.S: Move to ...
13255         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: ... here.
13256         (memcpy): Use __memcpy_default as alias source.
13257         * sysdeps/s390/s390-32/multiarch/memcpy.c: New File.
13258         * sysdeps/s390/s390-32/memcpy.S (__memcpy_g5):
13259         Rename to __memcpy_default.
13260         * sysdeps/s390/s390-32/multiarch/memset.S: Move to ...
13261         * sysdeps/s390/s390-32/multiarch/memset-s390.S: ... here.
13262         (memset): Use __memset_default as alias source.
13263         * sysdeps/s390/s390-32/multiarch/memset.c: New File.
13264         * sysdeps/s390/s390-32/memset.S (__memset_g5):
13265         Rename to __memset_default.
13266         * sysdeps/s390/s390-64/multiarch/Makefile (sysdep_routines):
13267         Remove ifunc-resolve, add memset-s390x, memcpy-s390x, memcmp-s390x.
13268         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Delete File.
13269         * sysdeps/s390/s390-64/multiarch/memcmp.S: Move to ...
13270         * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: ... here.
13271         (memcmp, bcmp): Use __memcmp_default as alias source.
13272         * sysdeps/s390/s390-64/multiarch/memcmp.c: New File.
13273         * sysdeps/s390/s390-64/memcmp.S (__memcmp_z900):
13274         Rename to __memcmp_default.
13275         * sysdeps/s390/s390-64/multiarch/memcpy.S: Move to ...
13276         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: ... here.
13277         (memcpy): Use __memcpy_default as alias source.
13278         * sysdeps/s390/s390-64/multiarch/memcpy.c: New File.
13279         * sysdeps/s390/s390-64/memcpy.S (__memcpy_z900):
13280         Rename to __memcpy_default.
13281         * sysdeps/s390/s390-64/multiarch/memset.S: Move to ...
13282         * sysdeps/s390/s390-64/multiarch/memset-s390x.S: ... here.
13283         (memset): Use __memset_default as alias source.
13284         * sysdeps/s390/s390-64/multiarch/memset.c: New File.
13285         * sysdeps/s390/s390-64/memset.S (__memset_z900):
13286         Rename to __memset_default.
13287         * sysdeps/s390/multiarch/ifunc-resolve.h: New File.
13288         * sysdeps/s390/multiarch/ifunc-impl-list.c: New File.
13290         [BZ #18610]
13291         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Rename
13292         __ieee_instruction_pointer to __unused.
13293         * sysdeps/s390/fpu/fesetenv.c (__fesetenv): Remove usage of
13294         __ieee_instruction_pointer.
13295         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Fix dxc-field handling.
13296         * sysdeps/s390/fpu/fgetexcptflg.c (fegetexceptflag): Likewise.
13297         * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
13298         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
13299         * sysdeps/s390/fpu/fpu_control.h (_FPU_RESERVED):
13300         Mark dxc-field as reserved.
13302 2015-08-25  Roland McGrath  <roland@hack.frob.com>
13304         * sysdeps/nacl/start.c (_start): Call __nacl_main instead of main
13305         if the weak reference is not null.
13307 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
13309         * sysdeps/x86_64/strcmp.S: Remove "#if !IS_IN (libc)".
13311         [BZ #11214]
13312         * sysdeps/unix/sysv/linux/Makefile (tst-getpid2-ENV): Removed.
13314 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
13316         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: Define new macros.
13317         * sysdeps/unix/sysv/linux/accept.c: Call direct system call.
13318         * sysdeps/unix/sysv/linux/bind.c: Call direct system call.
13319         * sysdeps/unix/sysv/linux/connect.c: Call direct system call.
13320         * sysdeps/unix/sysv/linux/getpeername.c: Call direct system call.
13321         * sysdeps/unix/sysv/linux/getsockname.c: Call direct system call.
13322         * sysdeps/unix/sysv/linux/getsockopt.c: Call direct system call.
13323         * sysdeps/unix/sysv/linux/listen.c: Call direct system call.
13324         * sysdeps/unix/sysv/linux/recv.c: Call direct system call.
13325         * sysdeps/unix/sysv/linux/recvfrom.c: Call direct system call.
13326         * sysdeps/unix/sysv/linux/recvmsg.c: Call direct system call.
13327         * sysdeps/unix/sysv/linux/send.c: Call direct system call.
13328         * sysdeps/unix/sysv/linux/sendmsg.c: Call direct system call.
13329         * sysdeps/unix/sysv/linux/sendto.c: Call direct system call.
13330         * sysdeps/unix/sysv/linux/setsockopt.c: Call direct system call.
13331         * sysdeps/unix/sysv/linux/shutdown.c: Call direct system call.
13332         * sysdeps/unix/sysv/linux/socket.c: Call direct system call.
13333         * sysdeps/unix/sysv/linux/socketpair.c: Call direct system call.
13335 2015-08-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
13337         * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION): Use
13338         register other than r0 for tabort, it has special meaning.
13339         * sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION): Likewise.
13340         * sysdeps/unix.sysv/linux/powerpc/syscall.S (syscall): Abort
13341         transaction before starting syscall.
13343 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
13345         * sysdeps/powerpc/powerpc64/power7/strstr.S: Handle worst case.
13347 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
13349         * sysdeps/x86_64/strlen.S: Replace %xmm[8-12] with %xmm[0-4].
13351         * sysdeps/x86_64/rtld-memcmp.c: Removed.
13352         * sysdeps/x86_64/rtld-memset.S: Likewise.
13353         * sysdeps/x86_64/rtld-strchr.S: Likewise.
13354         * sysdeps/x86_64/rtld-strlen.S: Likewise.
13355         * sysdeps/x86_64/multiarch/rtld-memcmp.c: Likewise.
13356         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
13358         * sysdeps/x86_64/memset.S: Replace %xmm8 with %xmm0.
13360 2015-08-25  Ondřej Bílka  <neleai@seznam.cz>
13362         * debug/strcpy_chk.c: Improve performance.
13363         * debug/stpcpy_chk.c: Likewise.
13364         * sysdeps/x86_64/strcpy_chk.S: Remove.
13365         * sysdeps/x86_64/stpcpy_chk.S: Remove.
13367         [BZ #18240]
13368         * misc/hsearch_r.c (__hcreate_r): Handle overflow.
13370 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
13372         [BZ #15128]
13373         * sysdeps/x86_64/Makefile [$(subdir) == elf] (tests): Add
13374         ifuncmain8.
13375         (modules-names): Add ifuncmod8.
13376         ($(objpfx)ifuncmain8): New rule.
13377         * sysdeps/x86_64/dl-machine.h: Include <dl-procinfo.h> and
13378         <cpuid.h>.
13379         (elf_machine_runtime_setup): Use _dl_runtime_resolve_sse,
13380         _dl_runtime_resolve_avx, or _dl_runtime_resolve_avx512,
13381         _dl_runtime_profile_sse, _dl_runtime_profile_avx, or
13382         _dl_runtime_profile_avx512, based on HAS_ARCH_FEATURE.
13383         * sysdeps/x86_64/dl-trampoline.S: Rewrite.
13384         * sysdeps/x86_64/dl-trampoline.h: Likewise.
13385         * sysdeps/x86_64/ifuncmain8.c: New file.
13386         * sysdeps/x86_64/ifuncmod8.c: Likewise.
13387         * sysdeps/x86_64/nptl/tcb-offsets.sym (RTLD_SAVESPACE_SSE):
13388         Removed.
13389         * sysdeps/x86_64/nptl/tls.h (__128bits): Removed.
13390         (tcbhead_t): Change rtld_must_xmm_save to __glibc_unused1.
13391         Change rtld_savespace_sse to __glibc_unused2.
13392         (RTLD_CHECK_FOREIGN_CALL): Removed.
13393         (RTLD_ENABLE_FOREIGN_CALL): Likewise.
13394         (RTLD_PREPARE_FOREIGN_CALL): Likewise.
13395         (RTLD_FINALIZE_FOREIGN_CALL): Likewise.
13397 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
13399         * sysdeps/aarch64/bzero.S (__bzero): Remove.
13401 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
13403         * sysdeps/aarch64/fpu/math_private.h (libc_feholdsetround_aarch64_ctx):
13404         Unconditionally set __fpcr to avoid uninialized warning.
13405         (libc_feholdsetround_noex_aarch64_ctx): Likewise.
13407 2015-08-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
13409         * malloc/arena.c (arena_get_retry): Don't use main_arena if it
13410         is corrupt.
13412         * malloc/arena.c (arena_get2): Drop unused argument.
13413         (arena_lock): Adjust.
13414         (arena_get_retry): Likewise.
13416 2015-08-24  Andreas Schwab  <schwab@suse.de>
13418         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_IPC64):
13419         Don't define.
13420         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
13421         (__ASSUME_IPC64): Don't undef.
13422         * sysdeps/unix/sysv/linux/msgctl.c: Don't check for __ASSUME_IPC64.
13423         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
13424         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
13425         * sysdeps/unix/sysv/linux/i386/msgctl.c: Remove.
13426         * sysdeps/unix/sysv/linux/i386/semctl.c: Remove.
13427         * sysdeps/unix/sysv/linux/i386/shmctl.c: Remove.
13428         * sysdeps/unix/sysv/linux/m68k/msgctl.c: Remove.
13429         * sysdeps/unix/sysv/linux/m68k/semctl.c: Remove.
13430         * sysdeps/unix/sysv/linux/m68k/shmctl.c: Remove.
13431         * sysdeps/unix/sysv/linux/s390/s390-32/msgctl.c: Remove.
13432         * sysdeps/unix/sysv/linux/s390/s390-32/semctl.c: Remove.
13433         * sysdeps/unix/sysv/linux/s390/s390-32/shmctl.c: Remove.
13434         * sysdeps/unix/sysv/linux/sh/msgctl.c: Remove.
13435         * sysdeps/unix/sysv/linux/sh/semctl.c: Remove.
13436         * sysdeps/unix/sysv/linux/sh/shmctl.c: Remove.
13437         * sysdeps/unix/sysv/linux/sparc/sparc32/msgctl.c: Remove.
13438         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Remove.
13439         * sysdeps/unix/sysv/linux/sparc/sparc32/shmctl.c: Remove.
13440         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Remove.
13441         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Remove.
13442         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Remove.
13444 2015-08-21  Mike Frysinger  <vapier@gentoo.org>
13446         * manual/Makefile (install): Only build manual when perl is available.
13448 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
13450         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Replace
13451         '#undef memcpy' by '#undef memchr'.
13453 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
13455         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: Make
13456         memchr not point to the internal __GI_memchr implementation.
13458 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
13460         * timezone/Makefile (CFLAGS-zdump.c): Remove
13461         -Wno-strict-prototypes.
13462         (CFLAGS-zic.c): Likewise.
13463         (CFLAGS-ialloc.c): Likewise.
13464         (CFLAGS-scheck.c): Likewise.
13466         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Do not add
13467         -Wno-error=undef.
13469 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
13471         * i386/i686/multiarch/strcasestr-c.c: Removed.
13472         * x86_64/multiarch/strcasestr.c: Likewise.
13473         * x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
13474         Remove strcasestr.
13476 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
13478         * math/Makefile (CFLAGS): Don't add -Wno-uninitialized.
13480         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Always initialize
13481         variables for high and low parts before possibly modifying them.
13483 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
13485         * sysdeps/i386/i686/multiarch/init-arch.h: Removed.
13486         * sysdeps/unix/sysv/linux/x86/init-arch.h: Likewise.
13487         * sysdeps/x86_64/cacheinfo.c: Include <init-arch.h> instead
13488         of "multiarch/init-arch.h".
13489         * sysdeps/x86_64/multiarch/init-arch.h: Renamed to ...
13490         * sysdeps/x86/init-arch.h: This.
13492 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
13494         * sysdeps/i386/i686/multiarch/init-arch.c: Removed.
13495         * sysdeps/unix/sysv/linux/x86/init-arch.c: Likewise.
13497 2015-08-20  Ondřej Bílka  <neleai@seznam.cz>
13499         [BZ #17787]
13500         * manual/macros.texi: Add twoexp macro.
13501         * manual/filesys.texi: Fix exponents.
13502         * manual/llio.texi: Likewise.
13503         * manual/stdio.texi: Likewise.
13505 2015-08-20  Florian Weimer  <fweimer@redhat.com>
13507         * sysdeps/x86/elide.h (ELIDE_UNLOCK): Document crash due to
13508         incorrect use.
13510 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
13512         [BZ #18370]
13513         * math/s_csqrt.c (__csqrt): Force underflow exception for results
13514         whose real or imaginary part has small absolute value.
13515         * math/s_csqrtf.c (__csqrtf): Likewise.
13516         * math/s_csqrtl.c (__csqrtl): Likewise.
13517         * math/auto-libm-test-in: Add more tests of csqrt.
13518         * math/auto-libm-test-out: Regenerated.
13519         * sysdeps/i386/fpu/libm-test-ulps: Update.
13521 2015-08-19  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
13523         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_set_ppr_med_high,
13524         __ppc_set_ppr_very_low): New functions.
13525         * manual/platform.texi: Add documentation about
13526         __ppc_set_ppr_med_high and __ppc_set_ppr_very_low.
13528 2015-08-19  Wilco Dijkstra  <wdijkstr@arm.com>
13530         * string/stpncpy.c (stpncpy): Improve performance using
13531         __strnlen/memcpy/memset.
13533 2015-08-19  Andrew Senkevich  <andrew.senkevich@intel.com>
13535         [BZ #18796]
13536         * scripts/test-installation.pl: Don't add -lmvec to build options if
13537         libmvec wasn't built.
13539 2015-08-19   Petar Jovanovic  <petar.jovanovic@rt-rk.com>
13541         [BZ #14341]
13542         * elf/dynamic-link.h (elf_machine_lazy_rel): Properly handle the
13543         case when there is a gap between DT_REL and DT_JMPREL sections.
13544         * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc.
13545         (LDFLAGS-tst-split-dynreloc): New.
13546         (tst-split-dynreloc-ENV): Likewise.
13547         * sysdeps/x86_64/tst-split-dynreloc.c: New file.
13548         * sysdeps/x86_64/tst-split-dynreloc.lds: Likewise.
13550 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
13552         [BZ #18822]
13553         * sysdeps/unix/sysv/linux/xstatconv.h (__xstat_conv): Add
13554         attribute_hidden.
13555         (__xstat64_conv): Likewise.
13556         (__xstat32_conv): Likewise.
13558 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
13560         [BZ #18822]
13561         * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext):
13562         Don't load %ebx when calling __setcontext.  Call __setcontext
13563         with HIDDEN_JUMPTARGET.
13564         * sysdeps/unix/sysv/linux/i386/setcontext.S (__setcontext): Add
13565         libc_hidden_def.
13567 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
13569         * sysdeps/i386/i686/Makefile
13570         [$(subdir) == string] (sysdep_routines): Moved to ...
13571         * sysdeps/i386/Makefile: Here.
13572         * sysdeps/i386/i686/cacheinfo.c: Moved to ...
13573         * sysdeps/i386/cacheinfo.c: Here.
13574         * sysdeps/unix/sysv/linux/i386/sysconf.c: Removed.
13575         * sysdeps/unix/sysv/linux/i386/i686/sysconf.c: Likewise.
13576         * sysdeps/unix/sysv/linux/x86_64/sysconf.c: Moved to ...
13577         * sysdeps/unix/sysv/linux/x86/sysconf.c: Here.
13579 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
13581         * sysdeps/x86/cpu-features.h (HAS_I586): Defined to 1 if
13582         __i586__ is defined.
13583         (HAS_I686): Defined to 1 if __i686__ is defined.
13585 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
13587         * elf/Makefile [$(have-z-execstack) = yes]
13588         (CPPFLAGS-tst-execstack.c): New variable.
13590         * login/tst-utmp.c [_HAVE_UT_TYPE || defined UTMPX]: Change
13591         conditional to [defined UTMPX || _HAVE_UT_TYPE].
13592         [_HAVE_UT_TV || defined UTMPX]: Change conditional to [defined
13593         UTMPX || _HAVE_UT_TV].
13594         [_HAVE_UT_TV - 0 || defined UTMPX]: Change conditional to [defined
13595         UTMPX || _HAVE_UT_TV - 0].
13597 2015-08-18  Joseph Myers  <joseph@codesourcery.com>
13599         * sysdeps/mips/dl-machine.h [__mips_isa_rev < 6]: Change
13600         conditionals to [!defined __mips_isa_rev || __mips_isa_rev < 6].
13601         * sysdeps/mips/machine-gmon.h [__mips_isa_rev < 6]: Likewise.
13603 2015-08-18  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
13605         * sysdeps/powerpc/dl-procinfo.c:
13606         (_dl_powerpc_cap_flags): Added missing strings for some
13607         hwcap features.
13608         * sysdeps/powerpc/dl-procinfo.h: Updated hwcap bit count.
13610 2015-08-18  Paul Eggert  <eggert@cs.ucla.edu>
13612         Port the 0x7efe...feff pattern to GCC 6.
13613         See Steve Ellcey's bug report in:
13614         https://sourceware.org/ml/libc-alpha/2015-07/msg00673.html
13615         * string/memrchr.c (MEMRCHR):
13616         * string/rawmemchr.c (RAWMEMCHR):
13617         * string/strchr.c (strchr):
13618         * string/strchrnul.c (STRCHRNUL):
13619         Rewrite code to avoid issues with signed shift overflow.
13621 2015-08-18  H.J. Lu  <hongjiu.lu@intel.com>
13623         * sysdeps/x86/cpu-features.c (init_cpu_features): Check
13624         whether cpuid is available only if HAS_CPUID is 0.
13625         * sysdeps/x86/cpu-features.h (HAS_CPUID): New.
13626         (HAS_I586): Likewise.
13627         (HAS_I686): Likewise.
13629 2015-08-18  Zack Weinberg  <zackw@panix.com>
13631         * misc/Versions (libc): Add GLIBC_2.23.
13633 2015-08-18  Alan Modra  <amodra@gmail.com>
13635         [BZ #18421]
13636         * sysdeps/hppa/start.S [SHARED]: Use .section .data.rel.ro and define
13637         .Lp__global.
13638         (_start): Load %dp via .Lp__global.
13639         [!SHARED]: Use .section .rodata.
13641 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
13643         * sysdeps/unix/sysv/linux/hppa/bits/timerfd.h: New file.
13644         * sysdeps/unix/sysv/linux/hppa/sys/timerfd.h: Delete.
13646 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
13648         * sysdeps/unix/sysv/linux/hppa/bits/signalfd.h: New file.
13649         * sysdeps/unix/sysv/linux/hppa/sys/signalfd.h: Delete.
13651 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
13653         * sysdeps/unix/sysv/linux/hppa/bits/inotify.h: New file.
13654         * sysdeps/unix/sysv/linux/hppa/sys/inotify.h: Delete.
13656 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
13658         * sysdeps/unix/sysv/linux/hppa/bits/eventfd.h: New file.
13659         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Delete.
13661 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
13663         * sysdeps/unix/sysv/linux/hppa/bits/epoll.h: New file.
13664         * sysdeps/unix/sysv/linux/hppa/sys/epoll.h: Delete.
13666 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
13668         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h (SA_RESETHAND,
13669         SA_NODEFER, SA_RESTART): Define when __USE_XOPEN2K8 is defined.
13671 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
13673         * sysdeps/unix/sysv/linux/hppa/bits/shm.h (SHM_EXEC): Define.
13675 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
13677         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Delete
13678         kernel-features.h include.  Delete __ASSUME_LWS_CAS checks.
13679         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
13680         (__ASSUME_LWS_CAS): Delete.
13682 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
13684         * sysdeps/hppa/configure.ac: Delete binutils tls checks.
13685         * sysdeps/hppa/configure: Regenerated.
13686         * sysdeps/hppa/dl-machine.h: Delete USE_TLS and USE___THREAD checks.
13687         * sysdeps/hppa/libc-tls.c: Delete USE_TLS checks.
13688         * sysdeps/hppa/nptl/tls.h: Likewise.
13690 2015-08-17  Joseph Myers  <joseph@codesourcery.com>
13692         [BZ #18823]
13693         * math/s_csqrt.c (__csqrt): Increase threshold and scale factor
13694         for scaling up small arguments.
13695         * math/s_csqrtf.c (__csqrtf): Likewise.
13696         * math/s_csqrtl.c (__csqrtl): Likewise.
13697         * math/auto-libm-test-in: Add more tests of csqrt.
13698         * math/auto-libm-test-out: Regenerated.
13700 2015-08-17  Andreas Schwab  <schwab@suse.de>
13702         * sysdeps/unix/sysv/linux/powerpc/Versions (libm): Add empty
13703         version set GLIBC_2.19.
13705 2015-08-16  Zack Weinberg  <zackw@panix.com>
13707         [BZ #18681]
13708         * misc/regexp.h: This interface is no longer supported.
13709         Remove all contents, leaving only an #error directive.
13710         * misc/regexp.c (loc1, loc2, locs, step, advance):
13711         Demote to compatibility symbols.
13713 2015-08-15  Paul Pluzhnikov  <ppluzhnikov@google.com>
13715         [BZ #18084]
13716         * debug/tst-backtrace2.c (do_test): Add test for BZ #18084.
13717         * sysdeps/arm/backtrace.c (__backtrace): Handle size <= 0.
13718         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
13719         * sysdeps/m68k/backtrace.c (__backtrace): Likewise.
13720         * sysdeps/microblaze/backtrace.c (__backtrace): Likewise.
13721         * sysdeps/s390/s390-32/backtrace.c (__backtrace): Likewise.
13722         * sysdeps/s390/s390-64/backtrace.c (__backtrace): Likewise.
13723         * sysdeps/sparc/backtrace.c (__backtrace): Likewise.
13724         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
13726 2015-08-15  Zack Weinberg  <zackw@panix.com>
13728         [BZ #18795]
13729         * string/bits/string3.h (stpncpy): Call __stpncpy_chk if the
13730         buffer length is known to be too large, not if it's known to be
13731         small enough.
13732         * debug/tst-chk1.c (do_test): Do all tests for catching a buffer
13733         overflow at runtime, involving a length parameter, twice: once
13734         with a compile-time constant length parameter, once without.
13736 2015-08-14  Joseph Myers  <joseph@codesourcery.com>
13738         [BZ #18824]
13739         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Increase threshold for
13740         scaling x * y up instead of down.
13741         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
13742         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
13743         * math/auto-libm-test-in: Add more tests of fma.
13744         * math/auto-libm-test-out: Regenerated.
13746 2015-08-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
13748         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
13750 2015-08-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
13752         * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf): Remove
13753         unnecessary movq.
13754         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S (__nearbyint):
13755         Likewise.
13757 2015-08-13  Joseph Myers  <joseph@codesourcery.com>
13759         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
13760         asinh, atan, atan2, atanh, cabs, cbrt, cosh, csqrt, erf, erfc,
13761         exp, exp2, lgamma, log, log1p, log2, pow, sin, sincos, tan, tanh
13762         and tgamma.
13763         * math/auto-libm-test-out: Regenerated.
13764         * sysdeps/i386/fpu/libm-test-ulps: Update.
13765         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13767         [BZ #16520]
13768         * sysdeps/ieee754/dbl-64/s_tanh.c: Include <float.h>.
13769         (__tanh): Force underflow exception for arguments with small
13770         absolute value.
13771         * sysdeps/ieee754/flt-32/s_tanhf.c: Include <float.h>.
13772         (__tanhf): Force underflow exception for arguments with small
13773         absolute value.
13774         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include <float.h>.
13775         (__tanhl): Force underflow exception for arguments with small
13776         absolute value.
13777         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Include <float.h>.
13778         (__tanhl): Force underflow exception for arguments with small
13779         absolute value.
13780         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include <float.h>.
13781         (__tanhl): Force underflow exception for arguments with small
13782         absolute value.
13783         * math/auto-libm-test-in: Add more tests of tanh.
13784         * math/auto-libm-test-out: Regenerated.
13785         * sysdeps/i386/fpu/libm-test-ulps: Update.
13787 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
13789         * sysdeps/x86/cpu-features.c (init_cpu_features): Call
13790         __get_cpuid_max if not compiling for i586, i686 nor x86-64.
13792 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
13794         * sysdeps/unix/sysv/linux/x86/elision-conf.h: Don't include
13795         <cpuid.h>.
13797 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
13799         * sysdeps/unix/sysv/linux/x86/elision-conf.c (elision_init):
13800         Replace HAS_RTM with HAS_CPU_FEATURE (RTM).
13802 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
13804         * math/Makefile ($(addprefix $(objpfx), $(libm-vec-tests))):
13805         Remove $(objpfx)init-arch.o.
13806         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Remove
13807         init-arch.
13808         * sysdeps/x86_64/fpu/math-tests-arch.h (avx_usable): Removed.
13809         (INIT_ARCH_EXT): Defined as empty.
13810         (CHECK_ARCH_EXT): Replace HAS_XXX with HAS_ARCH_FEATURE (XXX).
13811         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Remove
13812         __init_cpu_features call.  Replace HAS_XXX with
13813         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
13814         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Likewise.
13815         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Likewise.
13816         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Likewise.
13817         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Likewise.
13818         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
13819         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Likewise.
13820         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Likewise.
13821         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
13822         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Likewise.
13823         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Likewise.
13824         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
13825         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Likewise.
13826         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Likewise.
13827         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
13828         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Likewise.
13829         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Likewise.
13830         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
13831         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
13832         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: Likewise.
13833         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: Likewise.
13834         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
13835         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: Likewise.
13836         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: Likewise.
13837         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
13838         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: Likewise.
13839         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: Likewise.
13840         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
13841         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: Likewise.
13842         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: Likewise.
13843         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
13844         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S: Likewise.
13845         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S: Likewise.
13846         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
13847         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: Likewise.
13848         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: Likewise.
13850 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
13852         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Replace HAS_XXX
13853         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
13854         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
13855         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
13856         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Likewise.
13857         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Likewise.
13858         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Likewise.
13859         * sysdeps/i386/i686/multiarch/s_fma.c: Likewise.
13860         * sysdeps/i386/i686/multiarch/s_fmaf.c: Likewise.
13861         * sysdeps/i386/i686/multiarch/bcopy.S: Remove __init_cpu_features
13862         call.  Merge SHARED and !SHARED.  Add LOAD_GOT_AND_RTLD_GLOBAL_RO.
13863         Use LOAD_FUNC_GOT_EAX to load function address.  Replace HAS_XXX
13864         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
13865         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
13866         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
13867         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
13868         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
13869         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
13870         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
13871         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
13872         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
13873         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
13874         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
13875         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
13876         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
13877         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
13878         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
13879         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
13880         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
13881         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
13882         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
13883         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
13884         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
13885         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
13886         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
13887         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
13888         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
13889         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
13890         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
13891         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
13892         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
13893         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
13894         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
13896 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
13898         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Replace HAS_XXX with
13899         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
13900         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
13901         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
13902         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
13903         * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
13904         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
13905         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Likewise.
13906         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
13907         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
13908         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
13909         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Use
13910         LOAD_RTLD_GLOBAL_RO_RDX and HAS_CPU_FEATURE (SSE4_1).
13911         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Likewise.
13912         * sysdeps/x86_64/fpu/multiarch/s_floor.S: Likewise.
13913         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Likewise.
13914         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S : Likewise.
13915         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Likewise.
13916         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Likewise.
13917         * sysdeps/x86_64/fpu/multiarch/s_rintf.S : Likewise.
13918         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
13919         * sysdeps/x86_64/multiarch/sched_cpucount.c: Likewise.
13920         * sysdeps/x86_64/multiarch/strstr.c: Likewise.
13921         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
13922         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
13923         * sysdeps/x86_64/multiarch/test-multiarch.c: Likewise.
13924         * sysdeps/x86_64/multiarch/memcmp.S: Remove __init_cpu_features
13925         call.  Add LOAD_RTLD_GLOBAL_RO_RDX.  Replace HAS_XXX with
13926         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
13927         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
13928         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
13929         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
13930         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
13931         * sysdeps/x86_64/multiarch/memset.S: Likewise.
13932         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
13933         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
13934         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
13935         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
13936         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
13937         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
13938         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
13939         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
13940         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
13942 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
13944         * sysdeps/i386/dl-machine.h: Include <cpu-features.c>.
13945         (dl_platform_init): Call init_cpu_features.
13946         * sysdeps/i386/dl-procinfo.c (_dl_x86_cpu_features): New.
13947         * sysdeps/i386/i686/cacheinfo.c
13948         (DISABLE_PREFERRED_MEMORY_INSTRUCTION): Removed.
13949         * sysdeps/i386/i686/multiarch/Makefile (aux): Remove init-arch.
13950         * sysdeps/i386/i686/multiarch/Versions: Removed.
13951         * sysdeps/i386/i686/multiarch/ifunc-defines.sym (KIND_OFFSET):
13952         Removed.
13953         * sysdeps/i386/ldsodefs.h: Include <cpu-features.h>.
13954         * sysdeps/unix/sysv/linux/x86/Makefile
13955         (libpthread-sysdep_routines): Remove init-arch.
13956         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Include
13957         <sysdeps/x86_64/dl-procinfo.c> instead of
13958         sysdeps/generic/dl-procinfo.c>.
13959         * sysdeps/x86/Makefile [$(subdir) == csu] (gen-as-const-headers):
13960         Add cpu-features-offsets.sym and rtld-global-offsets.sym.
13961         [$(subdir) == elf] (sysdep-dl-routines): Add dl-get-cpu-features.
13962         [$(subdir) == elf] (tests): Add tst-get-cpu-features.
13963         [$(subdir) == elf] (tests-static): Add
13964         tst-get-cpu-features-static.
13965         * sysdeps/x86/Versions: New file.
13966         * sysdeps/x86/cpu-features-offsets.sym: Likewise.
13967         * sysdeps/x86/cpu-features.c: Likewise.
13968         * sysdeps/x86/cpu-features.h: Likewise.
13969         * sysdeps/x86/dl-get-cpu-features.c: Likewise.
13970         * sysdeps/x86/libc-start.c: Likewise.
13971         * sysdeps/x86/rtld-global-offsets.sym: Likewise.
13972         * sysdeps/x86/tst-get-cpu-features-static.c: Likewise.
13973         * sysdeps/x86/tst-get-cpu-features.c: Likewise.
13974         * sysdeps/x86_64/dl-procinfo.c: Likewise.
13975         * sysdeps/x86_64/cacheinfo.c (__cpuid_count): Removed.
13976         Assume USE_MULTIARCH is defined and don't check it.
13977         (is_intel): Replace __cpu_features with GLRO(dl_x86_cpu_features).
13978         (is_amd): Likewise.
13979         (max_cpuid): Likewise.
13980         (intel_check_word): Likewise.
13981         (__cache_sysconf): Don't call __init_cpu_features.
13982         (__x86_preferred_memory_instruction): Removed.
13983         (init_cacheinfo): Don't call __init_cpu_features. Replace
13984         __cpu_features with GLRO(dl_x86_cpu_features).
13985         * sysdeps/x86_64/dl-machine.h: <cpu-features.c>.
13986         (dl_platform_init): Call init_cpu_features.
13987         * sysdeps/x86_64/ldsodefs.h: Include <cpu-features.h>.
13988         * sysdeps/x86_64/multiarch/Makefile (aux): Remove init-arch.
13989         * sysdeps/x86_64/multiarch/Versions: Removed.
13990         * sysdeps/x86_64/multiarch/cacheinfo.c: Likewise.
13991         * sysdeps/x86_64/multiarch/init-arch.c: Likewise.
13992         * sysdeps/x86_64/multiarch/ifunc-defines.sym (KIND_OFFSET):
13993         Removed.
13994         * sysdeps/x86_64/multiarch/init-arch.h: Rewrite.
13996 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
13998         [BZ #18820]
13999         * libio/Makefile (test-fmemopen-mem): New test.
14000         * libio/test-fmemopen.c (do_bz18820): New test.
14001         * libio/fmemopen.c (__fmemopen): Fix memory leak.
14002         * libio/oldfmemopen.c (__old_fmemopen): Likewise.
14004 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
14006         [BZ #16734]
14007         * libio/libioP.h (ROUND_TO_PAGE, ALLOC_BUF, ALLOC_WBUF): Delete.
14008         (FREE_BUF): Delete.
14009         * libio/libio.h (_IO_FILE_complete): Delete unused _freeres_size.
14010         * libio/genops.c (_IO_setb): Use malloc and free directly.
14011         (_IO_default_doallocate, _IO_default_finish): Likewise.
14012         ( _IO_unbuffer_all): Likewise.
14013         ( libc_freeres_fn): Likewise.
14014         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
14015         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
14016         * libio/wgenops.c (_IO_wsetb, _IO_wdefault_finish): Likewise.
14017         (_IO_wdefault_doallocate): Likewise.
14019 2015-08-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
14021         [BZ #18086]
14022         * sysdeps/posix/nice.c (nice): Restore old errno.
14023         * posix/tst-nice.c (do_test): Add test for BZ #18086.
14025 2015-08-10  Ondrej Bilka  <neleai@seznam.cz>
14027         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Fix ifunc.
14029 2015-08-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14031         * sysdeps/powerpc/powerpc64/power7/memmove.S (bcopy): Changing to
14032         __bcopy and add a weak_alias to bcopy.
14033         * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Use __strnlen
14034         for static build.
14036         * string/stpcpy.c (__stpcpy): Use STPCPY to redefine symbol name and
14037         cleanup macro usage.
14038         * string/strcpy.c (strcpt): Use STRCPY to redefine symbol name.
14039         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.S: Remove file.
14040         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
14041         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.S: Likewise.
14042         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
14043         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: Likewise.
14044         * sysdeps/powerpc/powerpc64/power7/strcpy.S: Likewise.
14045         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
14046         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
14047         * sysdeps/powerpc/powerpc64/strcpy.S: Likewise.
14048         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
14049         [SHARED && IS_IN (libc)]: Include <string/strcpy.c>.
14050         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
14051         [SHARED && IS_IN (libc)]: Include <string/stpcpy.c>.
14052         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
14053         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: Likewise.
14054         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: Likewise.
14055         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: Likewise.
14056         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
14058         * sysdeps/powerpc/powerpc64/power7/strnlen.S (__strnlen): Add
14059         libc_hidden_def.
14060         (strnlen): Remove libc_hidden_builtin_def and add libc_hidden_def.
14062         * sysdeps/powerpc/powerpc64/power7/Makefile [$(subdir) = string]
14063         (sysdep_routines): Add strstr-ppc64.
14064         * sysdeps/powerpc/powerpc64/power7/strstr-ppc64.c: New file.
14066 2015-08-10  Maxim Ostapenko  <m.ostapenko@partner.samsung.com>
14068         [BZ #18778]
14069         * elf/Makefile (tests): Add Add tst-nodelete2.
14070         (modules-names): Add tst-nodelete2mod.
14071         (tst-nodelete2mod.so-no-z-defs): New.
14072         ($(objpfx)tst-nodelete2): Likewise.
14073         ($(objpfx)tst-nodelete2.out): Likewise.
14074         (LDFLAGS-tst-nodelete2): Likewise.
14075         * elf/dl-close.c (_dl_close_worker): Move DF_1_NODELETE clearing
14076         out of loop through all loaded libraries.
14077         * elf/tst-nodelete2.c: New file.
14078         * elf/tst-nodelete2mod.c: Likewise.
14079         * elf/tst-znodelete-zlib.cc: Delete.
14081 2015-08-11  Andreas Schwab  <schwab@suse.de>
14083         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Don't define.
14084         * sysdeps/unix/sysv/linux/wordsize-64/openat.c
14085         (__openat64_nocancel): Likewise.
14087 2015-08-11  Joseph Myers  <joseph@codesourcery.com>
14089         * math/auto-libm-test-in: Add more tests of acosh, asin, asinh,
14090         atanh, cabs, carg, cbrt, cosh, csqrt, erf, erfc, exp, exp10,
14091         expm1, hypot, log, log10, log1p, log2, pow, sinh, tan and tgamma.
14092         * math/auto-libm-test-out: Regenerated.
14093         * sysdeps/i386/fpu/libm-test-ulps: Update.
14094         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14096 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
14098         [BZ #18790]
14099         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Increase
14100         threshold for returning +/- 1.
14101         * math/auto-libm-test-in: Add more tests of tanh.
14102         * math/auto-libm-test-out: Regenerated.
14103         * sysdeps/i386/fpu/libm-test-ulps: Update.
14105 2015-08-10  Andreas Schwab  <schwab@suse.de>
14107         [BZ #18781]
14108         * sysdeps/unix/sysv/linux/openat.c (__OPENAT) [MORE_OFLAGS]: Add
14109         MORE_OFLAGS to oflag.
14110         * io/test-lfs.c (do_test): Test openat64.
14112 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
14114         [BZ #18789]
14115         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Use
14116         smaller threshold for returning the argument.
14117         * math/auto-libm-test-in: Add more tests of sinh.
14118         * math/auto-libm-test-out: Regenerated.
14119         * sysdeps/i386/fpu/libm-test-ulps: Update.
14121 2015-08-09  H.J. Lu  <hongjiu.lu@intel.com>
14123         [BZ #18674]
14124         * sysdeps/i386/tst-auditmod3b.c (la_objsearch): Add a missing
14125         break.
14127 2015-08-09  Andreas Schwab  <schwab@linux-m68k.org>
14129         * timezone/Makefile (tzbases, tzlinks, tzfiles): Don't define.
14130         (generated): Don't add $(addprefix z.,$(tzfiles)).
14132 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
14134         * nptl/tst-cancel-wrappers.sh: Change 3rd arg to gensub to 1.
14135         * scripts/sysd-rules.awk: Likewise.
14137 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
14139         * iconvdata/tst-tables.sh: Change echo -n to printf.
14140         * nss/db-Makefile: Likewise.
14141         * posix/tst-getconf.sh: Likewise.
14142         * stdio-common/tst-unbputc.sh: Likewise.
14144 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
14146         * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]: Move all
14147         MADV_*_PAGES defines behind this feature check.
14149 2015-08-09  John David Anglin  <danglin@gcc.gnu.org>
14151         [BZ #18480]
14152         * sysdeps/unix/sysv/linux/hppa/sysdep.h (LOAD_ARGS_0, LOAD_ARGS_1,
14153         LOAD_ARGS_2, LOAD_ARGS_3, LOAD_ARGS_4, LOAD_ARGS_5, LOAD_ARGS_6):
14154         Define.
14155         (LOAD_REGS_0, LOAD_REGS_1, LOAD_REGS_2, LOAD_REGS_3, LOAD_REGS_4,
14156         LOAD_REGS_5, LOAD_REGS_6): Update.
14157         (INTERNAL_SYSCALL): Update using new LOAD defines.
14158         (INTERNAL_SYSCALL_NCS): Likewise.
14159         * sysdeps/unix/sysv/linux/hppa/syscall.c (syscall): Likewise.
14161 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
14163         [BZ #16734]
14164         * libio/genops.c (_IO_unbuffer_all): Free wide buffer as well.
14166 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
14168         [BZ #17905]
14169         * catgets/Makefile (tst-catgets-mem): New test.
14170         * catgets/catgets.c (catopen): Don't use unbounded alloca.
14171         * catgets/open_catalog.c (__open_catalog): Likewise.
14172         * catgets/tst-catgets.c (do_bz17905): Test unbounded alloca.
14174 2015-08-08  John David Anglin  <danglin@gcc.gnu.org>
14176         [BZ #18787]
14177         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (_LWS_CLOBBER): Revise
14178         clobber registers.
14179         (atomic_compare_and_exchange_val_acq): Use register asms to assign
14180         operand registers.  Use register %r20 for EAGAIN and EDEADLOCK checks.
14181         Cast return to __typeof (oldval).
14183 2015-08-08  Mike Frysinger  <vapier@gentoo.org>
14185         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Wrap the whole file
14186         in _LINUX_MICROBLAZE_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h
14187         and delete sys/syscall.h include.
14189 2015-08-07  Joseph Myers  <joseph@codesourcery.com>
14191         [BZ #16517]
14192         * sysdeps/ieee754/dbl-64/s_tan.c: Include <float.h>.
14193         (tan): Force underflow exception for arguments with small absolute
14194         value.
14195         * sysdeps/ieee754/flt-32/k_tanf.c: Include <float.h>.
14196         (__kernel_tanf): Force underflow exception for arguments with
14197         small absolute value.
14198         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <float.h>.
14199         (__kernel_tanl): Force underflow exception for arguments with
14200         small absolute value.
14201         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <float.h>.
14202         (__kernel_tanl): Force underflow exception for arguments with
14203         small absolute value.
14204         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <float.h>.
14205         (__kernel_tanl): Force underflow exception for arguments with
14206         small absolute value.
14207         * math/auto-libm-test-in: Add more tests of tan.
14208         * math/auto-libm-test-out: Regenerated.
14210 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14212         Fix sysdeps/i386/fpu/s_scalbn.S build
14214         * math/Versions (libc: GLIBC_2_22): New (empty) version set.
14216 2015-08-07  Mike Frysinger  <vapier@gentoo.org>
14218         * sysdeps/hppa/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
14220 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14222         Fix gcrt0.o compilation
14224         When static-start-installed-name is different from
14225         start-installed-name, we must not use the shared objects.
14227         * csu/Makefile
14228         (extra-objs): Add gmon-start.o when building shared library and
14229         $(static-start-installed-name) is different from
14230         $(start-installed-name).
14231         $(objpfx)g$(static-start-installed-name): When building shared
14232         library and $(static-start-installed-name) is different from
14233         $(static-start-installed-name), revert to non-shared rule,
14234         i.e. using $(objpfx)% and gmon-start.o.
14236 2015-08-06  Joseph Myers  <joseph@codesourcery.com>
14238         [BZ #16519]
14239         * sysdeps/ieee754/dbl-64/e_sinh.c: Include <float.h>.
14240         (__ieee754_sinh): Force underflow exception for arguments with
14241         small absolute value.
14242         * sysdeps/ieee754/flt-32/e_sinhf.c: Include <float.h>.
14243         (__ieee754_sinhf): Force underflow exception for arguments with
14244         small absolute value.
14245         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Include <float.h>.
14246         (__ieee754_sinhl): Force underflow exception for arguments with
14247         small absolute value.
14248         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Include <float.h>.
14249         (__ieee754_sinhl): Force underflow exception for arguments with
14250         small absolute value.
14251         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Include <float.h>.
14252         (__ieee754_sinhl): Force underflow exception for arguments with
14253         small absolute value.
14254         * math/auto-libm-test-in: Add more tests of sinh.
14255         * math/auto-libm-test-out: Regenerated.
14256         * sysdeps/i386/fpu/libm-test-ulps: Update.
14258 2015-08-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
14260         * libio/oldfileops.c: Include unistd.h.
14262 2015-08-06  Mike Frysinger  <vapier@gentoo.org>
14264         * stdlib/isomac.c: Include ctype.h.
14266 2015-08-06  Arjun Shankar  <arjun.is@lostca.se>
14268         * dirent/tst-seekdir.c (main): Converted to ...
14269         (do_test): ... this.
14270         (TEST_FUNCTION): New macro.
14271         Include test-skeleton.c.
14272         * elf/tst-dlmodcount.c (main): Converted to ...
14273         (do_test): ... this.
14274         (TEST_FUNCTION): New macro.
14275         Include test-skeleton.c.
14276         * elf/tst-order-main.c (main): Converted to ...
14277         (do_test): ... this.
14278         (TEST_FUNCTION): New macro.
14279         Include test-skeleton.c.
14280         * elf/tst-pie2.c (main): Converted to ...
14281         (do_test): ... this.
14282         (TEST_FUNCTION): New macro.
14283         Include test-skeleton.c.
14284         * inet/tst-ether_aton.c (main): Converted to ...
14285         (do_test): ... this.
14286         (TEST_FUNCTION): New macro.
14287         Include test-skeleton.c.
14288         * misc/tst-mntent.c (main): Converted to ...
14289         (do_test): ... this.
14290         (TEST_FUNCTION): New macro.
14291         Include test-skeleton.c.
14292         * misc/tst-tsearch.c (main): Converted to ...
14293         (do_test): ... this.
14294         (TEST_FUNCTION): New macro.
14295         Include test-skeleton.c.
14296         * posix/tst-regexloc.c (main): Converted to ...
14297         (do_test): ... this.
14298         (TEST_FUNCTION): New macro.
14299         Include test-skeleton.c.
14300         * resolv/tst-aton.c (main): Converted to ...
14301         (do_test): ... this.
14302         (TEST_FUNCTION): New macro.
14303         Include test-skeleton.c.
14304         * stdio-common/test-fwrite.c (main): Converted to ...
14305         (do_test): ... this.
14306         (TEST_FUNCTION): New macro.
14307         Include test-skeleton.c.
14308         * stdio-common/tst-ferror.c (main): Converted to ...
14309         (do_test): ... this.
14310         (TEST_FUNCTION): New macro.
14311         Include test-skeleton.c.
14312         * stdio-common/tst-printf.c (main): Converted to ...
14313         (do_test): ... this.
14314         (TEST_FUNCTION): New macro.
14315         Include test-skeleton.c.
14316         * stdio-common/tst-printfsz.c (main): Converted to ...
14317         (do_test): ... this.
14318         (TEST_FUNCTION): New macro.
14319         Include test-skeleton.c.
14320         * stdlib/tst-strtod.c (main): Converted to ...
14321         (do_test): ... this.
14322         (TEST_FUNCTION): New macro.
14323         Include test-skeleton.c.
14324         * string/tst-strlen.c (main): Converted to ...
14325         (do_test): ... this.
14326         (TEST_FUNCTION): New macro.
14327         Include test-skeleton.c.
14328         * string/tst-svc.c (main): Converted to ...
14329         (do_test): ... this.
14330         (TEST_FUNCTION): New macro.
14331         Include test-skeleton.c.
14332         * time/tst-strptime.c (main): Converted to ...
14333         (do_test): ... this.
14334         (TEST_FUNCTION): New macro.
14335         Include test-skeleton.c.
14336         * timezone/tst-timezone.c (main): Converted to ...
14337         (do_test): ... this.
14338         (TEST_FUNCTION): New macro.
14339         Include test-skeleton.c.
14341 2015-08-05  Zack Weinberg  <zackw@panix.com>
14343         * misc/regexp.h: Update comments.
14345 2015-08-05  Andreas Schwab  <schwab@linux-m68k.org>
14347         [BZ #18635]
14348         * sysdeps/unix/sysv/linux/m68k/m680x0/makecontext.S: Add nop
14349         before return label.
14351 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
14353         [BZ #18661]
14354         * sysdeps/x86_64/fpu/s_cosf.S (__cosf): Align stack to 16 bytes
14355         when calling __errno_location.
14356         * sysdeps/x86_64/fpu/s_sincosf.S (__sincosf): Likewise.
14357         * sysdeps/x86_64/fpu/s_sinf.S (__sinf): Likewise.
14359 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
14361         [BZ #18661]
14362         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S
14363         (__lll_timedwait_tid): Align stack to 16 bytes when calling
14364         __gettimeofday.
14366 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
14368         [BZ #18661]
14369         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
14370         (__start_context): Don't use pop to restore %rdi so that stack
14371         is aligned to 16 bytes when calling __setcontext.
14373 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
14375         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Compile
14376         only for libc.
14377         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
14379 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
14381         * string/string.h: (mempcpy): Redirect to __mempcpy_inline.
14382         (__mempcpy): Likewise.  (__mempcpy_inline): New inline function.
14383         * sysdeps/sparc/bits/string.h: (_HAVE_STRING_ARCH_mempcpy): Define.
14385 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
14387         * string/memccpy.c (memccpy):
14388         Improve performance by using memchr/memcpy/__mempcpy.
14390 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
14392         * string/strncpy.c (strncpy):
14393         Improve performance by using __strnlen/memcpy.
14395 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
14397         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
14398         Optimize to avoid an unnecessary FPCR read.
14400 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
14402         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
14403         Optimize to reduce FPCR/FPSR accesses.
14405 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
14407         * locale/loadarchive.c (_nl_archive_subfreeres): Also check
14408         dead->data[category] != NULL.
14410 2015-08-05  Joseph Myers  <joseph@codesourcery.com>
14412         [BZ #18647]
14413         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): For large y
14414         and |x| close to 1, use absolute value of x when computing log.
14415         * math/auto-libm-test-in: Add more tests of pow.
14416         * math/auto-libm-test-out: Regenerated.
14418 2015-08-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14420         * sysdeps/unix/sysv/linux/arm/mmap.c: Add file.
14421         * sysdeps/unix/sysv/linux/arm/mmap.S: Remove file.
14422         * sysdeps/unix/sysv/linux/arm/mmap64.S: Likewise.
14424 2015-08-05  Marko Myllynen  <myllynen@redhat.com>
14426         [BZ #18525]
14427         * locales/km_KH: Remove timezone definition.
14428         * locales/lo_LA: Likewise.
14429         * locales/my_MM: Likewise.
14430         * locales/nan_TW@latin: Likewise.
14431         * locales/th_TH: Likewise.
14432         * locales/uk_UA: Likewise.
14434 2015-08-05  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
14436         [BZ #18265]
14437         * wcsmbs/wchar.h (wcscat): Add __nonnull attribute.
14438         (wcsncat): Likewise.
14439         (wcscmp): Likewise.
14440         (wcsncmp): Likewise.
14442 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
14444         * test-skeleton.c (usage): New function.
14445         (main): Call usage when opt is '?'.
14447 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
14449         * sysdeps/unix/sysv/linux/mmap64.c: Move MMAP2_PAGE_SHIFT define
14450         before first use.
14452 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
14454         * nptl/allocatestack.c (allocate_stack): Move stacktop decl down to
14455         bottom and under _STACK_GROWS_DOWN.  Move the stacktop assignment
14456         in there too.
14458 2015-08-05  Carlos O'Donell  <carlos@systemhalted.org>
14460         * version.h (RELEASE): Set to "development".
14461         (VERSION): Set to "2.22.90"
14463         * version.h (RELEASE): Set to "stable".
14464         (VERSION): Set to "2.22"
14465         * include/features.h (__GLIBC_MINOR__): Set to 22.
14467 2015-08-04  Chris Metcalf  <cmetcalf@ezchip.com>
14469         * sysdeps/tile/tilepro/bits/atomic.h (__atomic_update):
14470         Restructure macro to avoid "value computed is not used" warning.
14471         (atomic_compare_and_exchange_val_acq): Likewise.
14473 2015-08-04  Andreas Schwab  <schwab@suse.de>
14475         [BZ #18635]
14476         * sysdeps/unix/sysv/linux/i386/makecontext.S: Terminate FDE before
14477         ret.
14478         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext): Remove.
14480 2015-08-01  Carlos O'Donell  <carlos@redhat.com>
14482         * po/pl.po: Updated translation.
14483         * po/uk.po: Likewise.
14484         * po/fi.po: Likewise.
14485         * po/ko.po: Likewise.
14486         * po/ru.po: Likewise.
14487         * po/vi.po: Likewise.
14489 2015-07-31  Zack Weinberg  <zackw@panix.com>
14491         [BZ #18681]
14492         * regexp.h: Add unconditional #warning stating that this header
14493         will be removed soon.  Revise banner comment to match.
14494         (compile): Consistently use ERROR instead of RETURN to report
14495         errors (partial fix for bz#18681).
14496         * regexp.c: Don't include regexp.h. Remove some unnecessary
14497         declarations.
14499 2015-07-31  Carlos O'Donell  <carlos@redhat.com>
14501         * po/libc.pot: Regenerated.
14503 2015-07-30  Andrew Senkevich  <andrew.senkevich@intel.com>
14505         [BZ #18740]
14506         * sysdeps/x86_64/fpu/Makefile (double-vlen2-arch-ext-cflags,
14507         float-vlen4-arch-ext-cflags): Removed.
14508         * math/Makefile (CFLAGS-test-double-vlen2-wrappers.c,
14509         CFLAGS-test-float-vlen4-wrappers.c): Likewise.
14511 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
14513         [BZ #14113]
14514         * sysdeps/hppa/nptl/bits/pthreadtypes.h (pthread_mutex_t): Change
14515         aligned to __aligned__.
14516         (pthread_cond_t, pthread_rwlock_t): Likewise.
14518 2015-07-30  Torvald Riegel  <triegel@redhat.com>
14520         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: Remove file.
14522 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
14524         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Include bits/wordsize.h.
14525         (struct sigaction): Change sa_flags from a long to an int, and add
14526         __glibc_reserved0 before it for padding when __WORDSIZE is 64.
14528 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
14530         * hppa/sysdep.h: Delete sys/syscall.h and config.h includes.
14531         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Delete
14532         sysdeps/generic/sysdep.h include.
14533         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Wrap the whole file in
14534         _LINUX_HPPA_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h and
14535         sysdeps/hppa/sysdep.h.
14536         (ENTRY, PSEUDO): Undefine before defining.
14538 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
14540         * sysdeps/unix/sysv/linux/hppa/sysdep.h (INLINE_SYSCALL): Rewrite
14541         from scratch to use INTERNAL_SYSCALL.
14543 2015-07-29  H.J. Lu  <hongjiu.lu@intel.com>
14545         [BZ #18078]
14546         * scripts/check-localplt.awk: Support alternate relocations.
14547         * scripts/localplt.awk: Also check relocations in DT_RELA/DT_REL
14548         sections.
14549         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark free and
14550         malloc entries with + REL R_386_GLOB_DAT.
14551         * sysdeps/x86_64/localplt.data: New file.
14553 2015-07-29  Andrew Senkevich  <andrew.senkevich@intel.com>
14555         [BZ #18731]
14556         * sysdeps/x86_64/fpu/math-tests-arch.h: Added AVX runtime check.
14557         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
14558         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
14560 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
14562         * sysdeps/unix/sysv/linux/ia64/localplt.data: Delete __tls_get_addr.
14564 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
14566         * sysdeps/ia64/bits/atomic.h (atomic_exchange_and_add): Define
14567         directly in terms of __sync_fetch_and_add and delete (int) cast.
14569 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
14571         * sysdeps/unix/sysv/linux/ia64/Makefile (CPPFLAGS): Delete
14572         the -D_ASM_IA64_CURRENT_H flag.
14574 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
14576         [BZ #18641]
14577         * pwd/pwd.h (putpwent): Delete __nonnull markings.
14579 2015-07-27  Andreas Schwab  <schwab@suse.de>
14581         * conform/conformtest.pl (checknamespace): Filter out string
14582         literals while tokenizing.
14584 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
14586         * sysdeps/nios2/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
14587         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Handle
14588         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
14590 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
14592         * nptl/tst-join7mod.c: Add #include <string.h>.
14594 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
14596         * sysdeps/nios2/libm-test-ulps: Update.
14598 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
14600         * sysdeps/unix/sysv/linux/nios2/setcontext.S (__setcontext):
14601         Fix order of arguments to the rt_sigprocmask syscall.
14602         * sysdeps/unix/sysv/linux/nios2/swapcontext.S (__swapcontext):
14603         Likewise.
14605 2015-07-24  Roland McGrath  <roland@hack.frob.com>
14607         * sysdeps/nacl/bits/fcntl.h (O_SHLOCK, O_EXLOCK): Macros removed.
14609 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
14611         [BZ #18457]
14612         * nptl/Makefile (tests): New test case tst-join7.
14613         (modules-names): New test case module tst-join7mod.
14614         * nptl/tst-join7.c: New file.
14615         * nptl/tst-join7mod.c: New file.
14616         * Makeconfig (tls-model): Pass -ftls-model=initial-exec for
14617         all translation units in libc.so, libpthread.so and rtld.
14619 2015-07-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14621         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14623 2015-07-24  Andrew Senkevich  <andrew.senkevich@intel.com>
14625         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Fixed AVX512 IFUNC.
14626         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
14627         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
14628         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
14629         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
14630         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
14631         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
14632         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
14633         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
14634         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
14635         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
14636         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
14637         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Fixed wrappers to AVX2.
14638         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
14639         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Fixed KNL
14640         implementation.
14642 2015-07-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
14644         [BZ #17711]
14645         * sysdeps/aarch64/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
14646         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Handle
14647         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
14648         * sysdeps/arm/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
14649         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Handle
14650         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
14652 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
14654         * stdlib/cxa_thread_atexit_impl.c: Use the lock name dl_load_lock
14655         instead of just saying load lock in the comments.
14657 2015-07-23  Roland McGrath  <roland@hack.frob.com>
14659         * sysdeps/unix/Subdirs: Moved ...
14660         * sysdeps/posix/Subdirs: ... here.
14661         * login/pty.h (struct termios, struct winsize): Add forward decls.
14662         * login/openpty.c (openpty): Put ioctl call under [TIOCSWINSZ].
14663         * sysdeps/nacl/glob.c: Just #include <sysdeps/wordsize-64/glob.c>.
14664         * sysdeps/arm/nacl/libc.abilist: Updated.
14665         * sysdeps/nacl/libutil.abilist: New file.
14667         * bits/signum.h: Update comments to mention 1003.1-2013 too.
14668         (SIGWINCH): New macro.
14670         * sysdeps/nacl/getdtsz.c (getdtablesize): Add missing weak_alias.
14671         * sysdeps/arm/nacl/libc.abilist: Add it.
14673 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
14675         * conform/linknamespace.pl (@whitelist): Add matherrf and matherrl.
14677 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
14679         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
14680         Swap __glibc_reserved0 and sa_flags order.
14682 2015-07-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
14684         [BZ #18657]
14685         * elf/dl-close.c (_dl_close_worker): Don't unload DSO if there
14686         are pending TLS destructor calls.
14687         * include/link.h (struct link_map): Add concurrency note for
14688         L_TLS_DTOR_COUNT.
14689         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
14690         Don't touch the link map flag.  Atomically increment
14691         l_tls_dtor_count.
14692         (__call_tls_dtors): Atomically decrement l_tls_dtor_count.
14693         Avoid taking the load lock and don't touch the link map flag.
14694         * stdlib/tst-tls-atexit-nodelete.c: New test case.
14695         * stdlib/Makefile (tests): Use it.
14696         * stdlib/tst-tls-atexit.c (do_test): dlopen
14697         tst-tls-atexit-lib.so again before dlclose.  Add conditionals
14698         to allow tst-tls-atexit-nodelete test case to use it.
14700 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
14702         * sysdeps/unix/sysv/linux/ia64/bits/msq.h: Change sys/types.h include
14703         to bits/types.h.
14704         (msgqnum_t): New typedef.
14705         (msglen_t): Likewise.
14706         (struct msqid_ds): Update comment.  Change msg_qnum type to msgqnum_t
14707         and msg_qbytes type to msglen_t.
14709 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
14711         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat): Rename
14712         pad0 to __glibc_reserved0.
14713         (struct stat64): Likewise.
14715 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
14717         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
14718         Change sa_flags from a long to an int and add __glibc_reserved0 before
14719         it for padding.
14721 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
14723         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (siginfo_t): Make struct
14724         anonymous by deleting "siginfo" name.
14726 2015-07-21  Roland McGrath  <roland@hack.frob.com>
14728         * sysdeps/nacl/nacl-interface-list.h: Remove nacl_irt_filename.
14729         * sysdeps/nacl/open.c (__libc_open): Use __nacl_irt_dev_filename
14730         rather than __nacl_irt_filename.
14731         * sysdeps/nacl/xstat.c (__xstat): Likewise.
14733         * NEWS: New item for arm-nacl port.
14734         * sysdeps/arm/nacl/libc.abilist: New file.
14735         * sysdeps/nacl/ld.abilist: New file.
14736         * sysdeps/nacl/libBrokenLocale.abilist: New file.
14737         * sysdeps/nacl/libanl.abilist: New file.
14738         * sysdeps/nacl/libcrypt.abilist: New file.
14739         * sysdeps/nacl/libdl.abilist: New file.
14740         * sysdeps/nacl/libm.abilist: New file.
14741         * sysdeps/nacl/libpthread.abilist: New file.
14742         * sysdeps/nacl/libresolv.abilist: New file.
14743         * sysdeps/nacl/librt.abilist: New file.
14745 2015-07-21  Chris Metcalf  <cmetcalf@ezchip.com>
14747         * sysdeps/unix/sysv/linux/tile/makecontext.c (__makecontext): Call
14748         __startcontext to initialize the new context.
14749         * sysdeps/unix/sysv/linux/tile/setcontext.S (__startcontext): Set
14750         up CFI directive to forbid further backtracing.
14752 2015-07-21  Marko Myllynen  <myllynen@redhat.com>
14754         * charmaps/ANSI_X3.110-1983: Remove obsolete repertoire map
14755         reference.
14756         * charmaps/ANSI_X3.4-1968: Likewise.
14757         * charmaps/BS_4730: Likewise.
14758         * charmaps/BS_VIEWDATA: Likewise.
14759         * charmaps/CP1250: Likewise.
14760         * charmaps/CP1251: Likewise.
14761         * charmaps/CP1252: Likewise.
14762         * charmaps/CP1253: Likewise.
14763         * charmaps/CP1254: Likewise.
14764         * charmaps/CP1255: Likewise.
14765         * charmaps/CP1256: Likewise.
14766         * charmaps/CSN_369103: Likewise.
14767         * charmaps/EBCDIC-DK-NO: Likewise.
14768         * charmaps/GB_1988-80: Likewise.
14769         * charmaps/GREEK-CCITT: Likewise.
14770         * charmaps/GREEK7: Likewise.
14771         * charmaps/INIS-8: Likewise.
14772         * charmaps/ISIRI-3342: Likewise.
14773         * charmaps/ISO_2033-1983: Likewise.
14774         * charmaps/ISO_5427-EXT: Likewise.
14775         * locales/POSIX: Likewise.
14776         * locales/ar_SA: Likewise.
14777         * locales/be_BY: Likewise.
14778         * locales/be_BY@latin: Likewise.
14779         * locales/ca_ES: Likewise.
14780         * locales/cs_CZ: Likewise.
14781         * locales/da_DK: Likewise.
14782         * locales/de_BE: Likewise.
14783         * locales/de_CH: Likewise.
14784         * locales/de_LU: Likewise.
14785         * locales/en_AU: Likewise.
14786         * locales/en_BW: Likewise.
14787         * locales/en_CA: Likewise.
14788         * locales/en_DK: Likewise.
14789         * locales/en_GB: Likewise.
14790         * locales/en_IE: Likewise.
14791         * locales/en_NZ: Likewise.
14792         * locales/en_ZA: Likewise.
14793         * locales/en_ZW: Likewise.
14794         * locales/es_AR: Likewise.
14795         * locales/es_BO: Likewise.
14796         * locales/es_CL: Likewise.
14797         * locales/es_CO: Likewise.
14798         * locales/es_DO: Likewise.
14799         * locales/es_EC: Likewise.
14800         * locales/es_ES: Likewise.
14801         * locales/es_HN: Likewise.
14802         * locales/es_MX: Likewise.
14803         * locales/es_PA: Likewise.
14804         * locales/es_PE: Likewise.
14805         * locales/es_PY: Likewise.
14806         * locales/es_SV: Likewise.
14807         * locales/es_US: Likewise.
14808         * locales/es_UY: Likewise.
14809         * locales/es_VE: Likewise.
14810         * locales/et_EE: Likewise.
14811         * locales/fa_IR: Likewise.
14812         * locales/fo_FO: Likewise.
14813         * locales/fr_CA: Likewise.
14814         * locales/fr_CH: Likewise.
14815         * locales/gv_GB: Likewise.
14816         * locales/he_IL: Likewise.
14817         * locales/hr_HR: Likewise.
14818         * locales/id_ID: Likewise.
14819         * locales/is_IS: Likewise.
14820         * locales/it_CH: Likewise.
14821         * locales/iw_IL: Likewise.
14822         * locales/kl_GL: Likewise.
14823         * locales/ko_KR: Likewise.
14824         * locales/kw_GB: Likewise.
14825         * locales/lg_UG: Likewise.
14826         * locales/lt_LT: Likewise.
14827         * locales/lv_LV: Likewise.
14828         * locales/mi_NZ: Likewise.
14829         * locales/nhn_MX: Likewise.
14830         * locales/nl_BE: Likewise.
14831         * locales/pl_PL: Likewise.
14832         * locales/sk_SK: Likewise.
14833         * locales/sl_SI: Likewise.
14834         * locales/sv_FI: Likewise.
14835         * locales/tl_PH: Likewise.
14836         * locales/tr_TR: Likewise.
14837         * locales/vi_VN: Likewise.
14839 2015-07-21  Khem Raj  <raj.khem@gmail.com>
14841         [BZ #17475]
14842         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Adjust for rename
14843         of tu_IN and bh_IN.
14845 2015-07-21  Mike Frysinger  <vapier@gentoo.org>
14847         [BZ #18694]
14848         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Include
14849         bits/wordsize.h.
14850         (sigaction): Declare __glibc_reserved0 only when __WORDSIZE is 64.
14852 2015-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
14854         * stdlib/tst-tls-atexit-lib.c (do_foo): Rename to reg_dtor.
14855         * stdlib/tst-tls-atexit.c: (is_loaded): New function.
14856         (spawn_thread): New function.
14857         (load): Rename to reg_dtor_and_close.  Move dlopen to...
14858         (do_test): ... here.  Use IS_LOADED to test for its
14859         availability.
14861 2015-07-21  Andreas Schwab  <schwab@linux-m68k.org>
14863         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
14865 2015-07-20  H.J. Lu  <hongjiu.lu@intel.com>
14867         [BZ #18696]
14868         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (_sigfault): Add
14869         si_addr_bnd.
14870         (si_lower): New.
14871         (si_upper): Likewise.
14873 2015-07-16  David S. Miller  <davem@davemloft.net>
14875         * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
14877 2015-07-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14879         * libio/fmemopen.c (__fmemopen): Fix 'w' openmode with provided
14880         buffer.
14881         * stdio-common/tst-fmemopen2.c (do_test_with_buffer): Fix typo and
14882         fail output information.
14884 2015-07-16  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
14886         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strstr-power7
14887         and strstr-ppc64..
14888         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
14889         * sysdeps/powerpc/powerpc64/power7/strstr.S: New File.
14890         * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: New File.
14891         * sysdeps/powerpc/powerpc64/multiarch/strstr-ppc64.c: New File.
14892         * sysdeps/powerpc/powerpc64/multiarch/strstr.c: New File.
14894 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
14896         * sysdeps/hppa/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
14897         * sysdeps/hppa/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
14898         * sysdeps/ia64/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
14899         * sysdeps/ia64/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
14901 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
14903         * elf/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
14904         * sysdeps/hppa/dl-lookupcfg.h (_dl_symbol_address): Add
14905         rtld_hidden_proto.
14906         * sysdeps/ia64/dl-lookupcfg.h (_dl_symbol_address): Likewise.
14908 2015-07-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
14910         * tst-nodelete-opened.c (do_test): Add comment to clarify how
14911         the test can fail.
14913         * stdlib/cxa_thread_atexit_impl.c: Whitespace fixup.
14915         [BZ #18676]
14916         * elf/tst-nodelete-opened.c: New test case.
14917         * elf/tst-nodelete-opened-lib.c: New test case module.
14918         * elf/Makefile (tests, modules-names): Use them.
14919         * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag
14920         early.
14922 2015-07-15  David S. Miller  <davem@davemloft.net>
14924         * sysdeps/sparc/nptl/pthread_barrier_init.c: Include
14925         futex-intenal.h
14926         * sysdeps/sparc/sparc32/sparcv9/Makefile (nscd): Add cpu_relax.
14927         * sysdeps/sparc/sparc64/Makefile: Likewise.
14928         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
14929         Remove space from macro define.
14930         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_spin_nop): Likewise.
14932 2015-07-15  Pravin Satpute  <psatpute@redhat.com>
14934         [BZ #17475]
14935         * locale/iso-639.def: Update Bhili and Tulu language codes as
14936         per iso639-3.
14938 2015-07-15  Arjun Shankar  <arjun.is@lostca.se>
14940         * elf/tst-leaks1.c (main): Converted to ...
14941         (do_test): ... this.
14942         (TEST_FUNCTION): New macro.
14943         Include test-skeleton.c.
14944         * localedata/tst-langinfo.c (main): Converted to ...
14945         (do_test): ... this.
14946         (TEST_FUNCTION): New macro.
14947         Include test-skeleton.c.
14948         * math/test-fpucw.c (main): Converted to ...
14949         (do_test): ... this.
14950         (TEST_FUNCTION): New macro.
14951         Include test-skeleton.c.
14952         * math/test-tgmath.c (main): Converted to ...
14953         (do_test): ... this.
14954         (TEST_FUNCTION): New macro.
14955         Include test-skeleton.c.
14956         * math/test-tgmath2.c (main): Converted to ...
14957         (do_test): ... this.
14958         (TEST_FUNCTION): New macro.
14959         Include test-skeleton.c.
14960         * setjmp/tst-setjmp.c (main): Converted to ...
14961         (do_test): ... this.
14962         (TEST_FUNCTION): New macro.
14963         Include test-skeleton.c.
14964         * stdio-common/tst-sscanf.c (main): Converted to ...
14965         (do_test): ... this.
14966         (TEST_FUNCTION): New macro.
14967         Include test-skeleton.c.
14968         * sysdeps/x86_64/tst-audit6.c (main): Converted to ...
14969         (do_test): ... this.
14970         (TEST_FUNCTION): New macro.
14971         Include test-skeleton.c.
14973         * elf/tst-audit9.c (main): Converted to ...
14974         (do_test): ... this.
14975         (TEST_FUNCTION): New macro.
14976         Include test-skeleton.c.
14978 2015-07-15  Mike Frysinger  <vapier@gentoo.org>
14980         * timezone/tst-tzset.c (TIMEOUT): Define to 5.
14982 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
14984         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext):
14985         New variable.
14987 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
14989         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
14991 2015-07-14  Roland McGrath  <roland@hack.frob.com>
14993         * sysdeps/generic/dl-fileid.h: New file.
14994         * sysdeps/posix/dl-fileid.h: New file.
14995         * sysdeps/nacl/dl-fileid.h: New file.
14996         * include/link.h: Include <dl-fileid.h>.
14997         (struct link_map): Replace l_dev and l_ino with l_file_id.
14998         * elf/dl-load.c (_dl_map_object_from_fd): Use _dl_get_file_id rather
14999         than __fxstat64.  Use _dl_file_id_match_p rather than comparing l_dev
15000         and l_ino directly.  Initialize l_file_id rather than l_dev and l_ino.
15002 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
15004         * stdlib/tst-tls-atexit.c (do_test): Fix typo.
15006 2015-07-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15008         * elf/Makefile [ifeq (yes,$(build-shared)) (tests)] (tst-nodelete):
15009         Add iff $CXX is set.
15010         [ifeq (yes,$(build-shared)) (modules-names)] (tst-nodelete-rtldmod):
15011         Likewise.
15012         (tst-nodelete-zmodiff): Likewise.
15013         * nptl/Makefile [[ifeq (,$(CXX))] (tests-unsupported)]: Add tst-once5.
15015 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
15017         * stdlib/tst-tls-atexit.c (load): Fix up whitespace.
15019 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
15021         * sysdeps/aarch64/fpu/math_private.h
15022         (define math_opt_barrier): Add AArch64 version.
15023         (math_force_eval): Likewise.
15025 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
15027         * sysdeps/aarch64/strlen.S (strlen): Optimize strlen.
15029 2015-07-11  H.J. Lu  <hongjiu.lu@intel.com>
15031         * stdio-common/tst-fmemopen2.c (do_test_without_buffer): Replace
15032         %ld with %jd and cast to intmax_t.
15033         (do_test_length_zero): Likewise.
15035 2015-07-10  Roland McGrath  <roland@hack.frob.com>
15037         * sysdeps/nacl/pthread_condattr_setclock.c: New file.
15039 2015-07-10  Chris Metcalf  <cmetcalf@ezchip.com>
15041         * sysdeps/tile/libm-test-ulps: Regenerated.
15043         * math/test-fenvinline.c (feenable_test) [FE_ALL_EXCEPT == 0]:
15044         Comment out the whole function, not just its body.
15046 2015-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
15048         * stdlib/tst-tls-atexit.c (load): Remove unnecessary mutex
15049         locks.
15051         * stdlib/tst-tls-atexit.c (load): Avoid boolean coercion.
15053 2015-07-10  Torvald Riegel  <triegel@redhat.com>
15055         * nptl/sem_waitcommon.c (__new_sem_wait_slow): Update comments.
15056         (sem_assume_only_signals_cause_futex_EINTR): Remove.
15058 2015-07-10  Torvald Riegel  <triegel@redhat.com>
15060         * sysdeps/nptl/futex-internal.h: New file.
15061         * sysdeps/nacl/futex-internal.h: New file.
15062         * sysdeps/unix/sysv/linux/futex-internal.h: New file.
15063         * nptl/allocatestack.c (setxid_mark_thread): Use futex wrappers with
15064         error checking.
15065         (setxid_unmark_thread): Likewise.
15066         (__nptl_setxid): Likewise.
15067         (__wait_lookup_done): Likewise.
15068         * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
15069         * nptl/nptl-init.c (sighandler_setxid): Likewise.
15070         * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
15071         * nptl/pthread_once.c (clear_once_control): Likewise.
15072         (__pthread_once_slow): Likewise.
15073         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
15074         * sysdeps/nacl/exit-thread.h (__exit_thread): Likewise.
15075         * sysdeps/nptl/aio_misc.h (AIO_MISC_NOTIFY, AIO_MISC_WAIT): Likewise.
15076         * sysdeps/nptl/fork.c (__libc_fork): Likewise.
15077         * sysdeps/nptl/gai_misc.h (GAI_MISC_NOTIFY, GAI_MISC_WAIT): Likewise.
15078         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock_slow):
15079         Likewise.
15080         (__pthread_rwlock_rdlock): Likewise.
15081         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
15082         Likewise.
15083         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
15084         Likewise.
15085         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
15086         Likewise.
15087         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Likewise.
15088         * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock_slow:
15089         Likewise.
15090         * nptl/pthread_rwlock_init (__pthread_rwlock_init): Remove
15091         __ASSUME_PRIVATE_FUTEX check.
15092         * nptl/pthread_rwlockattr_setpshared (pthread_rwlockattr_setpshared):
15093         Check that shared futexes are supported.
15094         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Use futex
15095         wrappers with error checking.
15096         * nptl/pthread_barrier_init.c (pthread_barrier_init): Add comments,
15097         remove attribute sanity check and __ASSUME_PRIVATE_FUTEX check.
15098         * nptl/pthread_barrierattr_setpshared.c
15099         (pthread_barrierattr_setpshared): Check that shared futexes are
15100         supported.
15101         * nptl/pthread_condattr_setpshared.c (pthread_condattr_setpshared):
15102         Likewise.
15103         * nptl/pthread_mutexattr_setpshared.c (pthread_mutexattr_setpshared):
15104         Likewise.
15105         * nptl/sem_init.c (futex_private_if_supported): Remove.
15106         (__new_sem_init): Adapt and check that shared futexes are supported.
15107         * nptl/sem_open.c (sem_open): Likewise.
15108         * nptl/sem_post.c (futex_wake): Remove.
15109         * nptl/sem_waitcommon.c (futex_abstimed_wait, futex_wake): Remove.
15110         (do_futex_wait): Use futex wrappers with error checking.
15111         * nptl/sem_wait.c: Include lowlevellock.h.
15112         * sysdeps/sparc/nptl/pthread_barrier_init.c (__pthread_barrier_init):
15113         Use futex_supports_pshared.
15114         * sysdeps/sparc/nptl/pthread_barrier_wait.c (pthread_barrier_wait):
15115         Use futex wrappers with error checking.
15116         * sysdeps/sparc/sparc32/pthread_barrier_wait.c (pthread_barrier_wait):
15117         Likewise.
15118         * sysdeps/sparc/sparc32/sem_init.c (futex_private_if_supported): Remove.
15119         * sysdeps/sparc/sparc32/sem_post.c (futex_wake): Likewise.
15120         * sysdeps/sparc/sparc32/sem_open.c (sem_open): Use FUTEX_SHARED.
15121         * sysdeps/sparc/sparc32/sem_waitcommon.c (futex_abstimed_wait): Remove.
15122         (futex_wake): Likewise.
15123         (sem_assume_only_signals_cause_futex_EINTR): Likewise.
15124         (do_futex_wait): Use futex wrappers with error checking.
15125         (__new_sem_wait_slow): Update EINTR handling.
15126         * sysdeps/sparc/sparc32/sem_wait.c: Include lowlevellock.h.
15128 2015-07-09  Martin Sebor  <msebor@redhat.com>
15130         [BZ #18435]
15131         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
15132         Revert commit ed225df3ad9cbac3c22ec3f0fbbed1f9c61d1c54.
15133         * nptl/Makefile (test-xfail-tst-once5): Define.
15135 2015-07-09  Roland McGrath  <roland@hack.frob.com>
15137         * include/stdio.h: Add rtld_hidden_proto (__libc_fatal).
15138         * elf/dl-minimal.c: For readability, reorder some definitions and
15139         introduce more page breaks.  Include <stdio.h>.
15140         (__libc_fatal): New function.
15142         * include/unistd.h: Add rtld_hidden_proto for _exit.
15143         * posix/_exit.c: Add rtld_hidden_def.
15144         * sysdeps/mach/hurd/_exit.c: Likewise.
15145         * sysdeps/nacl/_exit.c: Likewise.
15146         * sysdeps/unix/sysv/linux/_exit.c: Likewise.
15147         * sysdeps/unix/sysv/linux/i386/_exit.S: Likewise.
15149 2015-07-09  H.J. Lu  <hongjiu.lu@intel.com>
15151         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Improve
15152         bndmov encoding with zero displacement.
15154 2015-07-09  Igor Zamyatin  <igor.zamyatin@intel.com>
15155             H.J. Lu  <hongjiu.lu@intel.com>
15157         [BZ #18134]
15158         * sysdeps/i386/configure.ac: Set HAVE_MPX_SUPPORT.
15159         * sysdeps/i386/configure: Regenerated.
15160         * sysdeps/i386/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
15161         (_dl_runtime_profile): Save and restore Intel MPX return bound
15162         registers when calling _dl_call_pltexit.  Add
15163         PRESERVE_BND_REGS_PREFIX before return.
15164         * sysdeps/i386/link-defines.sym (LRV_BND0_OFFSET): New.
15165         (LRV_BND1_OFFSET): Likewise.
15166         * sysdeps/x86/bits/link.h (La_i86_retval): Add lrv_bnd0 and
15167         lrv_bnd1.
15168         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix
15169         typo in bndmov encoding.
15170         * sysdeps/x86_64/dl-trampoline.h: Properly save and restore
15171         Intel MPX bound registers.  Add PRESERVE_BND_REGS_PREFIX before
15172         branch instructions to preserve bounds.
15174 2015-07-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15176         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
15177         [GLIBC_2.22]: Add fmemopen.
15179 2015-07-09  Samuel Thibault  <samuel.thibault@ens-lyon.org>
15181         * sysdeps/mach/hurd/mlock.c (mlock): When __get_privileged_ports
15182         returns an error, also try to use host port from __mach_host_self for
15183         the __vm_wire call.
15184         * sysdeps/mach/hurd/munlock.c (munlock): Likewise.
15186 2015-07-09  Szabolcs Nagy  <szabolcs.nagy@arm.com>
15188         [BZ #18400]
15189         [BZ #18648]
15190         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (struct elf_prpsinfo):
15191         Fix pr_uid and pr_gid members.
15192         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (greg_t): Change the
15193         definition to elf_greg_t.
15195 2015-07-08  Roland McGrath  <roland@hack.frob.com>
15197         [BZ #18383]
15198         * sysdeps/arm/configure.ac (libc_cv_arm_tpoff_addend): New check.
15199         Emit test-xfail-tst-tlsalign{,-static}=yes if it fails.
15200         * sysdeps/arm/configure: Regenerated.
15201         * elf/Makefile (test-xfail-tst-tlsalign): Variable removed.
15202         (test-xfail-tst-tlsalign-static): Variable removed.
15204         * Makerules (do-install-so): Use $(LN_S) rather than explicit 'ln -s'.
15205         * elf/Makefile ($(objpfx)$(rtld-installed-name)): Use $(make-link)
15206         rather than explicit 'ln -s'.
15208         * resolv/rpc/netdb.h: New file.
15209         * resolv/Makefile [sunrpc not in $(subdirs)] (headers): Add it.
15211 2015-07-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15213         * stdio-common/tst-fmemopen2.c (do_test): Add test for NULL and zero
15214         length buffers.
15215         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
15216         test-skeleton.c.
15218         [BZ #6544]
15219         [BZ #11216]
15220         [BZ #12836]
15221         [BZ #13151]
15222         [BZ #13152]
15223         [BZ #14292]
15224         * include/stdio.h (fmemopen): Remove hidden prototype.
15225         (__fmemopen): Add new hidden prototype.
15226         * libio/Makefile: Add oldfmemopen object.
15227         * libio/Versions [GLIBC_2.22]: Add new fmemopen symbol.
15228         * libio/fmemopen.c (__fmemopen): Function rewrite to be POSIX
15229         compliance.
15230         * libio/oldfmemopen.c: New file: old fmemopen implementation for
15231         symbol compatibility.
15232         * stdio-common/Makefile [tests]: Add new tst-fmemopen3.
15233         * stdio-common/psiginfo.c [psiginfo]: Call __fmemopen instead of
15234         fmemopen.
15235         * stdio-common/tst-fmemopen3.c: New file: more fmemopen tests, focus
15236         on append and read mode.
15237         * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.22]: Add
15238         fmemopen.
15239         * sysdeps/unix/sysv/linux/alpha/libc.abilist [GLIBC_2.22]: Likewise.
15240         * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.22]: Likewise.
15241         * sysdeps/unix/sysv/linux/i386/libc.abilist [GLIBC_2.22]: Likewise.
15242         * sysdeps/unix/sysv/linux/ia64/libc.abilist [GLIBC_2.22]:
15243         Likewise.
15244         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
15245         [GLIBC_2.22]: Likewise.
15246         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist [GLIBC_2.22]:
15247         Likewise.
15248         * sysdeps/unix/sysv/linux/microblaze/libc.abilist [GLIBC_2.22]:
15249         Likewise.
15250         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
15251         [GLIBC_2.22]: Likewise.
15252         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
15253         [GLIBC_2.22]: Likewise.
15254         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
15255         [GLIBC_2.22]: Likewise.
15256         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
15257         [GLIBC_2.22]: Likewise.
15258         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
15259         [GLIBC_2.22]: Likewise.
15260         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
15261         [GLIBC_2.22]: Likewise.
15262         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
15263         [GLIBC_2.22]: Likewise.
15264         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist [GLIBC_2.22]:
15265         Likewise.
15266         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist [GLIBC_2.22]:
15267         Likewise.
15268         * sysdeps/unix/sysv/linux/sh/libc.abilist [GLIBC_2.22]: Likewise.
15269         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
15270         [GLIBC_2.22]: Likewise.
15271         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
15272         [GLIBC_2.22]: Likewise.
15273         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
15274         [GLIBC_2.22]: Likewise.
15275         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
15276         [GLIBC_2.22]: Likewise.
15277         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist [GLIBC_2.22]:
15278         Likewise.
15279         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist [GLIBC_2.22]:
15280         Likewise.
15281         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist [GLIBC_2.22]:
15282         Likewise.
15283         * sysdeps/unix/sysv/linux/hppa/libc.abilist [GLIBC_2.22]: Likewise.
15284         * sysdeps/unix/sysv/linux/nios2/libc.abilist [GLIBC_2.22]: Likewise.
15286 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
15288         [BZ #18643]
15289         * sysdeps/unix/sysv/linux/bits/in.h: Define IPV6_RECVPATHMTU,
15290         IPV6_PATHMTU, and IPV6_DONTFRAG.
15292 2015-07-08  Feng Gao  <gfree.wind@gmail.com>
15294         * libio/fileops.c: Use "|" instead of "+" when combine _IO_LINE_BUF
15295         and _IO_UNBUFFERED.
15296         * libio/oldfileops.c: Likewise.
15297         * libio/wfileops.c: Likewise.
15299 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
15301         * nscd/selinux.c: Delete selinux/flask.h include.
15303 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
15305         [BZ #18641]
15306         * pwd/pwd.h (fgetpwent): Add __nonnull markings.
15307         (putpwent): Likewise.
15308         (getpwnam): Likewise.
15309         (getpwent_r): Likewise.
15310         (getpwuid_r): Likewise.
15311         (getpwnam_r): Likewise.
15312         (fgetpwent_r): Likewise.
15314 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
15316         [BZ #18557]
15317         * inet/rcmd.c (__validuser2_sa): Check user first to
15318         short-circuit host check.
15320 2015-07-07  Pavel Kopyl  <p.kopyl@samsung.com>
15321             Mikhail Ilin  <m.ilin@samsung.com>
15323         [BZ #17833]
15324         * elf/Makefile (tests): Add tst-nodelete.
15325         (modules-names): Add tst-nodelete-uniquemod.
15326         (tst-nodelete-uniquemod.so-no-z-defs): New.
15327         (tst-nodelete-rtldmod.so-no-z-defs): Likewise.
15328         (tst-nodelete-zmod.so-no-z-defs): Likewise.
15329         ($(objpfx)tst-nodelete): Likewise.
15330         ($(objpfx)tst-nodelete.out): Likewise.
15331         (LDFLAGS-tst-nodelete): Likewise.
15332         (LDFLAGS-tst-nodelete-zmod.so): Likewise.
15333         * elf/dl-close.c (_dl_close_worker): Add a parameter to
15334         implement forced object deletion.
15335         (_dl_close): Pass false to _dl_close_worker.
15336         * elf/dl-open.c (_dl_open): Pass true to _dl_close_worker.
15337         * elf/tst-nodelete.cc: New file.
15338         * elf/tst-nodeletelib.cc: Likewise.
15339         * elf/tst-znodeletelib.cc: Likewise.
15340         * include/dlfcn.h (_dl_close_worker): Add a new parameter.
15342 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
15344         [BZ #18508]
15345         * stdlib/Makefile ($(objpfx)tst-makecontext3):
15346         Depend on $(libdl).
15347         * stdlib/tst-makecontext.c (cf): Test if _Unwind_Backtrace
15348         is not called infinitely times.
15349         (backtrace_helper): New function.
15350         (trace_arg): New struct.
15351         (st1): Enlarge stack size.
15352         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
15353         (__makecontext_ret): Omit cfi_startproc and cfi_endproc.
15354         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
15355         Likewise.
15357 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
15359         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
15361 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
15363         * sysdeps/unix/sysv/linux/s390/bits/sem.h:
15364         Include sys/types.h instead of bits/types.h.
15365         Remove inclusion of bits/wordsize.h.
15367 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
15369         * sysdeps/x86_64/tst-auditmod10b.c (la_symbind32): New.
15370         * sysdeps/x86_64/tst-auditmod4b.c (la_symbind32): Likewise.
15371         * sysdeps/x86_64/tst-auditmod5b.c (la_symbind32): Likewise.
15372         * sysdeps/x86_64/tst-auditmod6b.c (la_symbind32): Likewise.
15373         * sysdeps/x86_64/tst-auditmod6c.c (la_symbind32): Likewise.
15374         * sysdeps/x86_64/tst-auditmod7b.c (la_symbind32): Likewise.
15376 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
15378         * sysdeps/i386/Makefile (gen-as-const-headers)[elf]: Add
15379         link-defines.sym.
15380         * sysdeps/i386/dl-trampoline.S: Include <link-defines.h>.
15381         (_dl_runtime_profile): Use LONG_DOUBLE_SIZE, LRV_SIZE,
15382         LRV_EAX_OFFSET, LRV_EDX_OFFSET, LRV_ST0_OFFSET, LRV_ST1_OFFSET
15383         and LR_SIZE.
15384         * sysdeps/i386/link-defines.sym: New file.
15386 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
15388         * sysdeps/i386/Makefile (tests)[elf]: Add tst-audit3.
15389         (modules-names): Add tst-auditmod3a tst-auditmod3b.
15390         ($(objpfx)tst-audit3): New rule.
15391         ($(objpfx)tst-audit3.out): Likewise.
15392         * sysdeps/i386/tst-audit3.c: New file.
15393         * sysdeps/i386/tst-audit3.h: Likewise.
15394         * sysdeps/i386/tst-auditmod3a.c: Likewise.
15395         * sysdeps/i386/tst-auditmod3b.c: Likewise.
15397 2015-07-07  Torvald Riegel  <triegel@redhat.com>
15399         [BZ #18633]
15400         * sysdeps/x86/bits/string.h (__memmove_g): Do not create invalid
15401         pointer in C code.
15402         (__strcat_c): Likewise.
15403         (__strcat_g): Likewise.
15405 2015-07-07  Cyril Hrubis <chrubis@suse.cz>
15407         [BZ #18592]
15408         * misc/sbrk.c: Set errno to ENOMEM on overflow.
15410 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
15412         * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt):
15413         New function.  (__ieee754_sqrtf): New function.
15414         * sysdeps/aarch64/fpu/e_sqrt.c (__ieee754_sqrt):
15415         New function.
15416         * sysdeps/aarch64/fpu/e_sqrtf.c (__ieee754_sqrtf):
15417         New function.
15419 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
15421         * sysdeps/ieee754/support.c: Remove unused file.
15423 2015-07-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
15425         * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Use q
15426         registers instead of d ones so the layout is kernel abi compatible.
15427         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Likewise.
15428         * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext):
15429         Likewise.
15431 2015-07-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
15433         * sysdeps/aarch64/libm-test-ulps: Regenerated.
15435 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
15437         [BZ #18619]
15438         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Force underflow
15439         and return argument in case of subnormal argument.
15441 2015-07-01  Martin Sebor  <msebor@redhat.com>
15443         [BZ #18435]
15444         * nptl/Makefile: Add tst-once5.cc.
15445         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
15446         Remove macro redefinitions.
15447         * nptl/tst-once5.cc: New test.
15449 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
15451         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
15453         * sysdeps/arm/libm-test-ulps: Regenerated.
15455         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
15456         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
15458 2015-06-30  Torvald Riegel  <triegel@redhat.com>
15460         * nptl/DESIGN-systemtap-probes.txt: Remove lll_lock_wait,
15461         lll_lock_wait_private and lll_futex_wake probes.
15463         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (BUSY_WAIT_NOP): Remove.
15464         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (BUSY_WAIT_NOP):
15465         Likewise.
15466         * sysdeps/i386/i486/bits/atomic.h (atomic_delay): Rename to
15467         atomic_spin_nop.
15468         * sysdeps/x86_64/bits/atomic.h: Likewise.
15469         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (BUSY_WAIT_NOP): Rename
15470         to atomic_spin_nop and move ...
15471         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
15472         ... here and ...
15473         * sysdeps/sparc/sparc64/bits/atomic.h: ... here.
15474         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
15475         atomic_spin_nop instead of BUSY_WAIT_NOP.
15476         * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock):
15477         Likewise.
15478         * sysdeps/nacl/lll_timedwait_tid.c (__lll_timedwait_tid): Likewise.
15479         * sysdeps/nacl/lowlevellock.h (BUSY_WAIT_NOP): Remove.
15480         (lll_wait_tid): Use atomic_spin_nop instead of BUSY_WAIT_NOP.
15481         * nscd/nscd-client.h (__nscd_acquire_maplock): Use atomic_spin_nop
15482         instead of atomic_delay.
15484 2015-06-29  Joseph Myers  <joseph@codesourcery.com>
15486         [BZ #18613]
15487         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Take log of
15488         X_ADJ not X when adjusting exponent.
15489         (__ieee754_gamma_r): Do intermediate computations in
15490         round-to-nearest then adjust overflowing and underflowing results
15491         as needed.
15492         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Take log
15493         of X_ADJ not X when adjusting exponent.
15494         (__ieee754_gammaf_r): Do intermediate computations in
15495         round-to-nearest then adjust overflowing and underflowing results
15496         as needed.
15497         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Take
15498         log of X_ADJ not X when adjusting exponent.
15499         (__ieee754_gammal_r): Do intermediate computations in
15500         round-to-nearest then adjust overflowing and underflowing results
15501         as needed.  Use 1.0L not 1.0f as numerator of division.
15502         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Take
15503         log of X_ADJ not X when adjusting exponent.
15504         (__ieee754_gammal_r): Do intermediate computations in
15505         round-to-nearest then adjust overflowing and underflowing results
15506         as needed.  Use 1.0L not 1.0f as numerator of division.
15507         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Take log
15508         of X_ADJ not X when adjusting exponent.
15509         (__ieee754_gammal_r): Do intermediate computations in
15510         round-to-nearest then adjust overflowing and underflowing results
15511         as needed.  Use 1.0L not 1.0f as numerator of division.
15512         * math/libm-test.inc (tgamma_test_data): Remove one test.  Moved
15513         to auto-libm-test-in.
15514         (tgamma_test): Use ALL_RM_TEST.
15515         * math/auto-libm-test-in: Add one test of tgamma.  Mark some other
15516         tests of tgamma with spurious-overflow.
15517         * math/auto-libm-test-out: Regenerated.
15518         * math/gen-libm-have-vector-test.sh: Do not check for START.
15519         * sysdeps/i386/fpu/libm-test-ulps: Update.
15520         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15522         [BZ #18612]
15523         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): For small
15524         arguments, just return 0.5 times the argument, with underflow
15525         forced as needed.
15526         * math/auto-libm-test-in: Add more tests of j1.
15527         * math/auto-libm-test-out: Regenerated.
15529         [BZ #16559]
15530         * sysdeps/ieee754/dbl-64/e_j1.c: Include <float.h>.
15531         (__ieee754_j1): Force underflow exception for small results.
15532         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
15533         * sysdeps/ieee754/flt-32/e_j1f.c: Include <float.h>.
15534         (__ieee754_j1f): Force underflow exception for small results.
15535         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
15536         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
15537         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
15538         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <float.h>.
15539         (__ieee754_j1l): Force underflow exception for small results.
15540         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
15541         * math/auto-libm-test-in: Add more tests of j1 and jn.
15542         * math/auto-libm-test-out: Regenerated.
15544         * sysdeps/unix/sysv/linux/bits/in.h (IP_CHECKSUM): New macro.
15545         * sysdeps/unix/sysv/linux/bits/socket.h (PF_IB): Likewise.
15546         (PF_MPLS): Likewise.
15547         (AF_IB): Likewise.
15548         (AF_MPLS): Likewise.
15549         * sysdeps/unix/sysv/linux/sys/mount.h (MS_LAZYTIME): New enum
15550         value and macro.
15551         (MS_RMT_MASK): Include MS_LAZYTIME.
15553 2015-06-26  Mel Gorman  <mgorman@suse.de>
15555         [BZ #18502]
15556         * malloc/arena.c (heap_trim): Don't try to shrink a heap that is
15557         already minimal.
15559 2015-06-26  Matthew Fortune  <matthew.fortune@imgtec.com>
15561         * elf/elf.h (DT_MIPS_RLD_MAP_REL): New macro.
15562         (DT_MIPS_NUM): Update.
15563         * sysdeps/mips/dl-machine.h (ELF_MACHINE_DEBUG_SETUP): Handle
15564         DT_MIPS_RLD_MAP_REL.
15566 2015-06-25  Joseph Myers  <joseph@codesourcery.com>
15568         [BZ #16559]
15569         [BZ #18602]
15570         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Set
15571         round-to-nearest internally then recompute results that
15572         underflowed to zero in the original rounding mode.
15573         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
15574         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
15575         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
15576         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
15577         * math/libm-test.inc (jn_test): Use ALL_RM_TEST.
15578         * sysdeps/i386/fpu/libm-test-ulps: Update.
15579         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15581 2015-06-25  Andrew Senkevich  <andrew.senkevich@intel.com>
15583         * NEWS: Fixed description of link with vector math library.
15585 2015-06-25  Andreas Schwab  <schwab@suse.de>
15587         [BZ #18549]
15588         * libio/fmemopen.c (fmemopen_write): Fix bounds check for ENOSPC.
15589         * libio/test-fmemopen.c (do_test): Add test for it.
15591 2015-06-25  H.J. Lu  <hongjiu.lu@intel.com>
15593         [BZ #17841]
15594         * Makeconfig (no-pie-ldflag): New.
15595         (+link): Set to $(+link-pie) if default to PIE.
15596         (+link-tests): Set to $(+link-pie-tests) if default to PIE.
15597         * config.make.in (build-pie-default): New.
15598         * configure.ac (libc_cv_pie_default): New.  Set to yes if -fPIE
15599         is default.  AC_SUBST.
15600         * configure: Regenerated.
15601         * elf/Makefile (LDFLAGS-tst-dlopen-aout): New.
15603 2015-06-24  Roland McGrath  <roland@hack.frob.com>
15605         * nptl/descr.h (struct pthread): Change type of field setxid_futex
15606         to 'unsigned int'.
15608         * resolv/gai_misc.h (struct waitlist): Change type of field
15609         counterp to 'volatile unsigned int *'.
15610         * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Use unsigned types for
15611         FUTEXADDR and OLDVAL.
15612         * resolv/getaddrinfo_a.c (getaddrinfo_a):
15613         Give local variable TOTAL type 'volatile unsigned int'.
15614         (struct async_waitlist): Change type of field counter to 'unsigned int'.
15615         * resolv/gai_suspend.c (gai_suspend):
15616         Give local variable CNTR type 'unsigned int'.
15618         * sysdeps/pthread/aio_misc.h (struct waitlist): Change type of field
15619         counterp to 'volatile unsigned int *'.
15620         * sysdeps/pthread/aio_suspend.c [DONT_NEED_AIO_MISC_COND]
15621         (do_aio_misc_wait): Give argument CNTR type 'unsigned int *'.
15622         (aio_suspend): Give local variable CNTR type 'unsigned int'.
15623         * sysdeps/pthread/lio_listio.c (lio_listio_internal):
15624         Give local variable TOTAL type 'volatile unsigned int'.
15625         (struct async_waitlist): Change type of field counter to 'unsigned int'.
15627 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
15629         [BZ #18383]
15630         * csu/libc-tls.c (__libc_setup_tls) [TLS_TCB_AT_TP]: Align
15631         TCB_OFFSET to MAX_ALIGN, not just TCBALIGN.  Add comment.
15632         * elf/Makefile (test-xfail-tst-tlsalign{,-static}): Remove
15633         comment for i386/x86-64.
15634         (test-xfail-tst-tlsalign-extern-static): Removed.
15636 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
15638         * math/test-double.h: New file.
15639         * math/test-float.h: Likewise.
15640         * math/test-ldouble.h: Likewise.
15641         * math/test-math-inline.h: Likewise.
15642         * math/test-math-no-inline.h: Likewise.
15643         * math/test-math-scalar.h: Likewise.
15644         * math/test-math-vector.h: Likewise.
15645         * math/test-vec-loop.h: Remove file.  Contents moved into
15646         test-math-vector.h.
15647         * math/libm-test.inc (MATHCONST): Do not document macro.
15648         * math/test-double.c: Include test-double.h, test-math-no-inline.h
15649         and test-math-scalar.h.
15650         (FUNC): Remove macro.
15651         (FUNC_TEST): Likewise.
15652         (FLOAT): Likewise.
15653         (MATHCONST): Likewise.
15654         (PRINTF_EXPR): Likewise.
15655         (PRINTF_XEXPR): Likewise.
15656         (PRINTF_NEXPR): Likewise.
15657         (TEST_DOUBLE): Likewise.
15658         (TEST_MATHVEC): Likewise.
15659         (__NO_MATH_INLINES): Likewise.
15660         * math/test-float.c: Include test-float.h, test-math-no-inline.h
15661         and test-math-scalar.h.
15662         (FUNC): Remove macro.
15663         (FUNC_TEST): Likewise.
15664         (FLOAT): Likewise.
15665         (MATHCONST): Likewise.
15666         (PRINTF_EXPR): Likewise.
15667         (PRINTF_XEXPR): Likewise.
15668         (PRINTF_NEXPR): Likewise.
15669         (TEST_FLOAT): Likewise.
15670         (TEST_MATHVEC): Likewise.
15671         (__NO_MATH_INLINES): Likewise.
15672         * math/test-idouble.c: Include test-double.h, test-math-inline.h
15673         and 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_DOUBLE): Likewise.
15682         (TEST_MATHVEC): Likewise.
15683         (TEST_INLINE): Likewise.
15684         (__NO_MATH_INLINES): Likewise.
15685         * math/test-ifloat.c: Include test-float.h, test-math-inline.h and
15686         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_FLOAT): Likewise.
15695         (TEST_MATHVEC): Likewise.
15696         (TEST_INLINE): Likewise.
15697         (__NO_MATH_INLINES): Likewise.
15698         * math/test-ildoubl.c: Include test-ldouble.h, test-math-inline.h
15699         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         (TEST_INLINE): Likewise.
15710         (__NO_MATH_INLINES): Likewise.
15711         * math/test-ldouble.c: Include test-ldouble.h,
15712         test-math-no-inline.h and test-math-scalar.h.
15713         (FUNC): Remove macro.
15714         (FUNC_TEST): Likewise.
15715         (FLOAT): Likewise.
15716         (MATHCONST): Likewise.
15717         (PRINTF_EXPR): Likewise.
15718         (PRINTF_XEXPR): Likewise.
15719         (PRINTF_NEXPR): Likewise.
15720         (TEST_LDOUBLE): Likewise.
15721         (TEST_MATHVEC): Likewise.
15722         (__NO_MATH_INLINES): Likewise.
15723         * math/test-double-vlen2.h: Include test-double.h,
15724         test-math-no-inline.h and test-math-vector.h.
15725         (FLOAT): Remove macro.
15726         (FUNC): Likewise.
15727         (MATHCONST): Likewise.
15728         (PRINTF_EXPR): Likewise.
15729         (PRINTF_XEXPR): Likewise.
15730         (PRINTF_NEXPR): Likewise.
15731         (TEST_DOUBLE): Likewise.
15732         (TEST_MATHVEC): Likewise.
15733         (__NO_MATH_INLINES): Likewise.
15734         (CNCT): Likewise.
15735         (CONCAT): Likewise.
15736         (WRAPPER_NAME): Likewise.
15737         (WRAPPER_DECL): Likewise.
15738         (WRAPPER_DECL_ff): Likewise.
15739         (WRAPPER_DECL_fFF): Likewise.
15740         (VECTOR_WRAPPER): Likewise.
15741         (VECTOR_WRAPPER_ff): Likewise.
15742         (VECTOR_WRAPPER_fFF): Likewise.
15743         (VEC_LEN): New macro.
15744         * math/test-double-vlen4.h: Include test-double.h,
15745         test-math-no-inline.h and test-math-vector.h.
15746         (FLOAT): Remove macro.
15747         (FUNC): Likewise.
15748         (MATHCONST): Likewise.
15749         (PRINTF_EXPR): Likewise.
15750         (PRINTF_XEXPR): Likewise.
15751         (PRINTF_NEXPR): Likewise.
15752         (TEST_DOUBLE): Likewise.
15753         (TEST_MATHVEC): Likewise.
15754         (__NO_MATH_INLINES): Likewise.
15755         (CNCT): Likewise.
15756         (CONCAT): Likewise.
15757         (WRAPPER_NAME): Likewise.
15758         (WRAPPER_DECL): Likewise.
15759         (WRAPPER_DECL_ff): Likewise.
15760         (WRAPPER_DECL_fFF): Likewise.
15761         (VECTOR_WRAPPER): Likewise.
15762         (VECTOR_WRAPPER_ff): Likewise.
15763         (VECTOR_WRAPPER_fFF): Likewise.
15764         (VEC_LEN): New macro.
15765         * math/test-double-vlen8.h: Include test-double.h,
15766         test-math-no-inline.h and test-math-vector.h.
15767         (FLOAT): Remove macro.
15768         (FUNC): Likewise.
15769         (MATHCONST): Likewise.
15770         (PRINTF_EXPR): Likewise.
15771         (PRINTF_XEXPR): Likewise.
15772         (PRINTF_NEXPR): Likewise.
15773         (TEST_DOUBLE): Likewise.
15774         (TEST_MATHVEC): Likewise.
15775         (__NO_MATH_INLINES): Likewise.
15776         (CNCT): Likewise.
15777         (CONCAT): Likewise.
15778         (WRAPPER_NAME): Likewise.
15779         (WRAPPER_DECL): Likewise.
15780         (WRAPPER_DECL_ff): Likewise.
15781         (WRAPPER_DECL_fFF): Likewise.
15782         (VECTOR_WRAPPER): Likewise.
15783         (VECTOR_WRAPPER_ff): Likewise.
15784         (VECTOR_WRAPPER_fFF): Likewise.
15785         (VEC_LEN): New macro.
15786         * math/test-float-vlen4.h: Include test-float.h,
15787         test-math-no-inline.h and test-math-vector.h.
15788         (FLOAT): Remove macro.
15789         (FUNC): Likewise.
15790         (MATHCONST): Likewise.
15791         (PRINTF_EXPR): Likewise.
15792         (PRINTF_XEXPR): Likewise.
15793         (PRINTF_NEXPR): Likewise.
15794         (TEST_FLOAT): Likewise.
15795         (TEST_MATHVEC): Likewise.
15796         (__NO_MATH_INLINES): Likewise.
15797         (CNCT): Likewise.
15798         (CONCAT): Likewise.
15799         (WRAPPER_NAME): Likewise.
15800         (WRAPPER_DECL): Likewise.
15801         (WRAPPER_DECL_ff): Likewise.
15802         (WRAPPER_DECL_fFF): Likewise.
15803         (VECTOR_WRAPPER): Likewise.
15804         (VECTOR_WRAPPER_ff): Likewise.
15805         (VECTOR_WRAPPER_fFF): Likewise.
15806         (VEC_LEN): New macro.
15807         * math/test-float-vlen8.h: Include test-float.h,
15808         test-math-no-inline.h and test-math-vector.h.
15809         (FLOAT): Remove macro.
15810         (FUNC): Likewise.
15811         (MATHCONST): Likewise.
15812         (PRINTF_EXPR): Likewise.
15813         (PRINTF_XEXPR): Likewise.
15814         (PRINTF_NEXPR): Likewise.
15815         (TEST_FLOAT): Likewise.
15816         (TEST_MATHVEC): Likewise.
15817         (__NO_MATH_INLINES): Likewise.
15818         (CNCT): Likewise.
15819         (CONCAT): Likewise.
15820         (WRAPPER_NAME): Likewise.
15821         (WRAPPER_DECL): Likewise.
15822         (WRAPPER_DECL_ff): Likewise.
15823         (WRAPPER_DECL_fFF): Likewise.
15824         (VECTOR_WRAPPER): Likewise.
15825         (VECTOR_WRAPPER_ff): Likewise.
15826         (VECTOR_WRAPPER_fFF): Likewise.
15827         (VEC_LEN): New macro.
15828         * math/test-float-vlen16.h: Include test-float.h,
15829         test-math-no-inline.h and test-math-vector.h.
15830         (FLOAT): Remove macro.
15831         (FUNC): Likewise.
15832         (MATHCONST): Likewise.
15833         (PRINTF_EXPR): Likewise.
15834         (PRINTF_XEXPR): Likewise.
15835         (PRINTF_NEXPR): Likewise.
15836         (TEST_FLOAT): Likewise.
15837         (TEST_MATHVEC): Likewise.
15838         (__NO_MATH_INLINES): Likewise.
15839         (CNCT): Likewise.
15840         (CONCAT): Likewise.
15841         (WRAPPER_NAME): Likewise.
15842         (WRAPPER_DECL): Likewise.
15843         (WRAPPER_DECL_ff): Likewise.
15844         (WRAPPER_DECL_fFF): Likewise.
15845         (VECTOR_WRAPPER): Likewise.
15846         (VECTOR_WRAPPER_ff): Likewise.
15847         (VECTOR_WRAPPER_fFF): Likewise.
15848         (VEC_LEN): New macro.
15849         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Do not include
15850         test-vec-loop.h.
15851         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
15852         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
15853         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
15854         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
15855         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
15856         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
15857         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
15859 2015-06-24  Roland McGrath  <roland@hack.frob.com>
15861         * sysdeps/nacl/glob.c (getlogin_r): Macro renamed to ...
15862         (__getlogin_r): ... this.
15864 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
15866         [BZ #18594]
15867         * math/s_ccosh.c (__ccosh): Compare with least normal value
15868         instead of comparing class with FP_SUBNORMAL.
15869         * math/s_ccoshf.c (__ccoshf): Likewise.
15870         * math/s_ccoshl.c (__ccoshl): Likewise.
15871         * math/s_cexp.c (__cexp): Likewise.
15872         * math/s_cexpf.c (__cexpf): Likewise.
15873         * math/s_cexpl.c (__cexpl): Likewise.
15874         * math/s_csin.c (__csin): Likewise.
15875         * math/s_csinf.c (__csinf): Likewise.
15876         * math/s_csinh.c (__csinh): Likewise.
15877         * math/s_csinhf.c (__csinhf): Likewise.
15878         * math/s_csinhl.c (__csinhl): Likewise.
15879         * math/s_csinl.c (__csinl): Likewise.
15880         * math/s_ctan.c (__ctan): Likewise.
15881         * math/s_ctanf.c (__ctanf): Likewise.
15882         * math/s_ctanh.c (__ctanh): Likewise.
15883         * math/s_ctanhf.c (__ctanhf): Likewise.
15884         * math/s_ctanhl.c (__ctanhl): Likewise.
15885         * math/s_ctanl.c (__ctanl): Likewise.
15886         * math/auto-libm-test-in: Add more tests of ccos, ccosh, cexp,
15887         csin, csinh, ctan and ctanh.
15888         * math/auto-libm-test-out: Regenerated.
15889         * math/libm-test.inc (cexp_test): Use ALL_RM_TEST.
15890         * sysdeps/i386/fpu/libm-test-ulps: Update.
15891         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15893 2015-06-24  Roland McGrath  <roland@hack.frob.com>
15895         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): When sched_getcpu
15896         return value is wrong, print the expected value too.
15898 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
15900         [BZ #18585]
15901         * elf/readlib.c (is_gdb_python_file): New.
15902         (process_file): Don't issue errors on filenames with -gdb.py
15903         suffix.
15905 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
15907         * math/auto-libm-test-in: Add more tests of csin and csinh.
15908         * math/auto-libm-test-out: Regenerated.
15909         * math/libm-test.inc (csin_test_data): Remove tests moved to
15910         auto-libm-test-in.
15911         (csinh_test_data): Likewise.
15913         [BZ #18593]
15914         * math/s_csin.c (__csin): Negate before rather than after possibly
15915         overflowing multiplication.
15916         * math/s_csinf.c (__csinf): Likewise.
15917         * math/s_csinh.c (__csinh): Likewise.
15918         * math/s_csinhf.c (__csinhf): Likewise.
15919         * math/s_csinhl.c (__csinhl): Likewise.
15920         * math/s_csinl.c (__csinl): Likewise.
15921         * math/auto-libm-test-in: Add some tests of csin and csinh.
15922         * math/auto-libm-test-out: Regenerated.
15923         * math/libm-test.inc (csin_test_data): Use AUTO_TESTS_c_c.
15924         (csinh_test_data): Likewise.
15925         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15927         [BZ #18586]
15928         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Force
15929         underflow exception for small results.
15931 2015-06-24  Andrew Senkevich  <andrew.senkevich@intel.com>
15933         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
15934         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: Renamed
15935         variable and included header.
15936         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: Likewise.
15937         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: Likewise.
15938         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: Likewise.
15939         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: Likewise.
15940         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: Likewise.
15941         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
15942         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
15943         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S: Likewise.
15944         * sysdeps/x86_64/fpu/svml_s_trig_data.S: New file.
15945         * sysdeps/x86_64/fpu/svml_s_trig_data.h: Likewise.
15946         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: Removed file.
15947         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: Likewise.
15948         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: Likewise.
15949         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: Likewise.
15950         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: Likewise.
15951         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: Likewise.
15953 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
15955         [BZ #16526]
15956         [BZ #16538]
15957         * sysdeps/ieee754/dbl-64/s_sin.c: Include <float.h>.
15958         (__sin): Force underflow exception for arguments with small
15959         absolute value.
15960         * sysdeps/ieee754/flt-32/k_sinf.c: Include <float.h>.
15961         (__kernel_sinf): Force underflow exception for arguments with
15962         small absolute value.
15963         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Include <float.h>.
15964         (__kernel_sincosl): Force underflow exception for arguments with
15965         small absolute value.
15966         * sysdeps/ieee754/ldbl-128/k_sinl.c: Include <float.h>.
15967         (__kernel_sinl): Force underflow exception for arguments with
15968         small absolute value.
15969         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Include <float.h>.
15970         (__kernel_sincosl): Force underflow exception for arguments with
15971         small absolute value.
15972         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Include <float.h>.
15973         (__kernel_sinl): Force underflow exception for arguments with
15974         small absolute value.
15975         * sysdeps/ieee754/ldbl-96/k_sinl.c: Include <float.h>.
15976         (__kernel_sinl): Force underflow exception for arguments with
15977         small absolute value.
15978         * sysdeps/powerpc/fpu/k_sinf.c: Include <float.h>.
15979         (__kernel_sinf): Force underflow exception for arguments with
15980         small absolute value.
15981         * math/auto-libm-test-in: Add more tests of sin and sincos.
15982         * math/auto-libm-test-out: Regenerated.
15984         [BZ #18245]
15985         [BZ #18583]
15986         * sysdeps/ieee754/k_standardl.c: Include <fenv.h>.
15987         (__kernel_standard_l): Use feholdexcept and fesetenv around
15988         conversion to double instead of special-casing overflow and
15989         underflow.
15990         * math/libm-test.inc (fmod_test_data): Add more tests.
15991         (remainder_test_data): Likewise.
15992         (sqrt_test_data): Likewise.
15994 2015-06-23  Torvald Riegel  <triegel@redhat.com>
15996         [BZ #17403]
15997         * sysdeps/x86_64/bits/atomic.h: (atomic_full_barrier,
15998         atomic_read_barrier, atomic_write_barrier): Define.
15999         * sysdeps/i386/i486/bits/atomic.h (atomic_full_barrier,
16000         atomic_read_barrier, atomic_write_barrier): Define.
16002 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
16004         * math/Makefile [$(PERL) != no]
16005         ($(addprefix $(objpfx), $(addsuffix .o, $(libm-vec-tests)))): Move
16006         dependency on libm-test.stmp below the inclusion of Rules.
16008 2015-06-23  Andrew Senkevich  <andrew.senkevich@intel.com>
16010         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
16011         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: Renamed variable
16012         and included header.
16013         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: Likewise.
16014         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Likewise.
16015         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: Likewise.
16016         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: Likewise.
16017         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: Likewise.
16018         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Likewise.
16019         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
16020         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
16021         * sysdeps/x86_64/fpu/svml_d_trig_data.S: New file.
16022         * sysdeps/x86_64/fpu/svml_d_trig_data.h: Likewise.
16023         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: Removed unneeded include.
16024         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: Likewise.
16025         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: Likewise.
16026         * sysdeps/x86_64/fpu/svml_d_cos_data.S: Removed file.
16027         * sysdeps/x86_64/fpu/svml_d_cos_data.h: Likewise.
16028         * sysdeps/x86_64/fpu/svml_d_sin_data.S: Likewise.
16029         * sysdeps/x86_64/fpu/svml_d_sin_data.h: Likewise.
16030         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: Likewise.
16031         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: Likewise.
16033 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
16035         [BZ #18371]
16036         * math/s_csqrt.c (__csqrt): Avoid multiplication by 0.5 where
16037         intermediate but not final result might underflow.
16038         * math/s_csqrtf.c (__csqrtf): Likewise.
16039         * math/s_csqrtl.c (__csqrtl): Likewise.
16040         * math/auto-libm-test-in: Add more tests of csqrt.
16041         * math/auto-libm-test-out: Regenerated.
16042         * sysdeps/i386/fpu/libm-test-ulps: Update.
16044         [BZ #18219]
16045         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Reduce
16046         threshold on absolute value of exponent for which scaling is used.
16047         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
16048         * math/auto-libm-test-in: Add more tests of exp2.
16049         * math/auto-libm-test-out: Regenerated.
16051 2015-06-23  Dmitry V. Levin  <ldv@altlinux.org>
16053         [BZ #17977]
16054         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix unlocking
16055         when initializing interface list, based on the bug analysis
16056         and the patch proposed by Eric Newton.
16057         * resolv/tst-res_hconf_reorder.c: New test.
16058         * resolv/Makefile [$(have-thread-library) = yes] (tests): Add
16059         tst-res_hconf_reorder.
16060         ($(objpfx)tst-res_hconf_reorder): Depend on $(libdl)
16061         and $(shared-thread-library).
16062         (tst-res_hconf_reorder-ENV): New variable.
16064         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix typo
16065         in comment.
16067 2015-06-22  Joseph Myers  <joseph@codesourcery.com>
16069         [BZ #16353]
16070         * sysdeps/i386/fpu/s_expm1.S (dbl_min): New object.
16071         (__expm1): Force underflow exception for arguments with small
16072         absolute value.
16073         * sysdeps/i386/fpu/s_expm1f.S (flt_min): New object.
16074         (__expm1f): Force underflow exception for arguments with small
16075         absolute value.
16076         * sysdeps/ieee754/dbl-64/s_expm1.c: Include <float.h>.
16077         (__expm1): Force underflow exception for arguments with small
16078         absolute value.
16079         * sysdeps/ieee754/flt-32/s_expm1f.c: Include <float.h>.
16080         (__expm1f): Force underflow exception for arguments with small
16081         absolute value.
16082         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
16083         Check for small arguments before calling __expm1.
16084         * math/auto-libm-test-in: Do not mark underflow exceptions as
16085         possibly missing for bug 16353.
16086         * math/auto-libm-test-out: Regenerated.
16088 2015-06-22  Andreas Schwab  <schwab@suse.de>
16090         [BZ #18513]
16091         * resolv/nss_dns/dns-host.c (getanswer_r): Record TTL also for
16092         PTR queries.
16094 2015-06-22  Leonhard Holz  <leonhard.holz@web.de>
16096         * string/strcoll_l.c (STRCOLL): Remove unnecessary memset.
16098         * string/strcoll_l.c: Remove unused struct element idxnow.
16100 2015-06-21  Joseph Myers  <joseph@codesourcery.com>
16102         [BZ #18569]
16103         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Force
16104         underflow and return argument in case of subnormal argument.
16105         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
16106         Likewise.
16107         * math/auto-libm-test-in: Add more tests of expm1.
16108         * math/auto-libm-test-out: Regenerated.
16110         [BZ #16361]
16111         * sysdeps/i386/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
16112         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
16113         tiny results.
16114         * sysdeps/x86_64/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
16115         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
16116         tiny results.
16117         * math/auto-libm-test-in: Add more tests of exp and exp10.  Do not
16118         mark underflow exceptions as possibly missing for bug 16361.
16119         * math/auto-libm-test-out: Regenerated.
16121 2015-06-19  Joseph Myers  <joseph@codesourcery.com>
16123         * conform/data/sys/select.h-data [XOPEN2K8] (pselect): Expect.
16124         * conform/Makefile (test-xfail-XOPEN2K8/sys/select.h/conform):
16125         Remove variable.
16126         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
16127         (test-xfail-XOPEN2K8/utmpx.h/conform).
16129         * conform/conformtest.pl ($xerrors): New variable.
16130         (note_error): New function.
16131         (compiletest): New argument $xfail.  Use not_error.
16132         (runtest): Likewise.
16133         (top level): Handle xfail- lines.  Update calls to compiletest and
16134         runtest.  Handle xfail- and optional- in headers listed with
16135         allow-header.
16136         * conform/data/fcntl.h-data (O_TTY_INIT): Use xfail-.
16137         (O_EXEC): Likewise.
16138         (O_SEARCH): Likewise.
16139         * conform/data/stropts.h-data (ioctl): Likewise.
16140         * conform/data/sys/ipc.h-data (ipc_perm.mode): Likewise.
16141         * conform/data/sys/sem.h-data (semid_ds.sem_nsems): Likewise.
16142         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Likewise.
16143         (msghdr.msg_controllen): Likewise.
16144         (cmsghdr.cmsg_len): Likewise.
16145         * conform/data/utmpx.h-data (utmpx.ut_tv): Likewise.
16146         * conform/Makefile (test-xfail-XPG3/sys/ipc.h/conform): Remove
16147         variable.
16148         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
16149         (test-xfail-XPG4/stropts.h/conform): Likewise.
16150         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
16151         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
16152         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
16153         (test-xfail-UNIX98/stropts.h/conform): Likewise.
16154         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
16155         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
16156         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
16157         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
16158         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
16159         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
16160         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
16161         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
16162         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
16163         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
16164         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
16165         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
16166         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
16167         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
16168         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
16170 2015-06-19  Andrew Senkevich  <andrew.senkevich@intel.com>
16172         * sysdeps/ieee754/ldbl-opt/s_sin.c (__DECL_SIMD_sincos_disable,
16173         __DECL_SIMD_sincos_disablef, __DECL_SIMD_sincos_disablel): Added empty
16174         definitions for proper unfolding of __MATHDECL_VEC.
16176 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
16178         * benchtests/bench-strcoll.c:
16179         Include string.h.
16180         (main): Remove unused variable res.
16182 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
16184         * timezone/Makefile (%/UTC %/Universal):
16185         Generate test-result files for UTC and Universal.
16187 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
16189         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
16191 2015-06-18  Joseph Myers  <joseph@codesourcery.com>
16193         [BZ #16350]
16194         * sysdeps/i386/fpu/s_asinh.S (__asinh): Force underflow exception
16195         for arguments with small absolute value.
16196         * sysdeps/i386/fpu/s_asinhf.S (__asinhf): Likewise.
16197         * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Likewise.
16198         * sysdeps/ieee754/dbl-64/s_asinh.c: Include <float.h>.
16199         (__asinh): Force underflow exception for arguments with small
16200         absolute value.
16201         * sysdeps/ieee754/flt-32/s_asinhf.c: Include <float.h>.
16202         (__asinhf): Force underflow exception for arguments with small
16203         absolute value.
16204         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include <float.h>.
16205         (__asinhl): Force underflow exception for arguments with small
16206         absolute value.
16207         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Include <float.h>.
16208         (__asinhl): Force underflow exception for arguments with small
16209         absolute value.
16210         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include <float.h>.
16211         (__asinhl): Force underflow exception for arguments with small
16212         absolute value.
16213         * math/auto-libm-test-in: Do not mark underflow exceptions as
16214         possibly missing for bug 16350.
16215         * math/auto-libm-test-out: Regenerated.
16217         * include/bits/ipc.h: Remove file.
16218         * conform/Makefile (test-xfail-XPG3/sys/msg.h/conform): Remove
16219         variable.
16220         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
16221         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
16222         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
16223         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
16224         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
16225         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
16226         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
16227         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
16228         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
16230         * math/auto-libm-test-in: Remove spurious underflow allowance for
16231         tests of cexp.
16232         * math/auto-libm-test-out: Regenerated.
16234         [BZ #18558]
16235         * sysdeps/unix/sysv/linux/bits/in.h (MCAST_JOIN_GROUP): Remove
16236         unconditional definition.
16237         (MCAST_BLOCK_SOURCE): Likewise.
16238         (MCAST_UNBLOCK_SOURCE): Likewise.
16239         (MCAST_LEAVE_GROUP): Likewise.
16240         (MCAST_JOIN_SOURCE_GROUP): Likewise.
16241         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
16242         (MCAST_MSFILTER): Likewise.
16243         * conform/Makefile (test-xfail-XOPEN2K/arpa/inet.h/conform):
16244         Remove variable.
16245         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
16246         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
16247         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
16248         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
16249         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
16251 2015-06-18  Andrew Senkevich  <andrew.senkevich@intel.com>
16253         * NEWS: Mention addition of x86_64 vector sincosf.
16254         * math/test-float-vlen16.h: Added wrapper for sincosf tests.
16255         * math/test-float-vlen4.h: Likewise.
16256         * math/test-float-vlen8.h: Likewise.
16257         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
16258         * sysdeps/x86/fpu/bits/math-vector.h: Added sincosf SIMD declaration.
16259         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
16260         * sysdeps/x86_64/fpu/Versions: New versions added.
16261         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
16262         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
16263         Added build of SSE, AVX2 and AVX512 IFUNC versions.
16264         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S
16265         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
16266         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S
16267         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
16268         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S
16269         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
16270         * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S
16271         * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S
16272         * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S
16273         * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S
16274         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: New file.
16275         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: New file.
16276         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 3 argument wrappers.
16277         * sysdeps/x86_64/fpu/test-float-vlen16.c: : Vector sincosf tests.
16278         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
16279         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
16280         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
16281         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
16282         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
16283         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
16284         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
16286         * NEWS: Mention addition of x86_64 vector sincos.
16287         * bits/libm-simd-decl-stubs.h: Added stubs for sincos.
16288         * math/math.h (__MATHDECL_VEC): New macro.
16289         * math/bits/mathcalls.h: Added sincos declaration with __MATHDECL_VEC.
16290         * math/gen-libm-have-vector-test.sh: Added generation of sincos wrapper
16291         declaration under condition.
16292         * math/test-vec-loop.h (TEST_VEC_LOOP): Refactored.
16293         * math/test-double-vlen2.h: Added wrapper for sincos tests, reflected
16294         TEST_VEC_LOOP change.
16295         * math/test-double-vlen4.h: Likewise.
16296         * math/test-double-vlen8.h: Likewise.
16297         * math/test-float-vlen16.h: Reflected TEST_VEC_LOOP change.
16298         * math/test-float-vlen4.h: Likewise.
16299         * math/test-float-vlen8.h: Likewise.
16300         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
16301         * sysdeps/x86/fpu/bits/math-vector.h: Added sincos SIMD declaration.
16302         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
16303         * sysdeps/x86_64/fpu/Versions: New versions added.
16304         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
16305         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
16306         Added build of SSE, AVX2 and AVX512 IFUNC versions.
16307         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: New file.
16308         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: New file.
16309         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: New file.
16310         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: New file.
16311         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: New file.
16312         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: New file.
16313         * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: New file.
16314         * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: New file.
16315         * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: New file.
16316         * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: New file.
16317         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: New file.
16318         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: New file.
16319         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added wrappers for sincos.
16320         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Vector sincos tests.
16321         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
16322         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
16323         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
16324         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
16325         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
16326         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
16327         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
16329         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
16330         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
16331         redirections for powf.
16332         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
16333         * sysdeps/x86_64/fpu/Versions: New versions added.
16334         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
16335         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
16336         Added build of SSE, AVX2 and AVX512 IFUNC versions.
16337         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 2 argument wrappers.
16338         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: New file.
16339         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: New file.
16340         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: New file.
16341         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: New file.
16342         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: New file.
16343         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: New file.
16344         * sysdeps/x86_64/fpu/svml_s_powf16_core.S: New file.
16345         * sysdeps/x86_64/fpu/svml_s_powf4_core.S: New file.
16346         * sysdeps/x86_64/fpu/svml_s_powf8_core.S: New file.
16347         * sysdeps/x86_64/fpu/svml_s_powf8_core_avx.S: New file.
16348         * sysdeps/x86_64/fpu/svml_s_powf_data.S: New file.
16349         * sysdeps/x86_64/fpu/svml_s_powf_data.h: New file.
16350         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector powf tests.
16351         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
16352         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
16353         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
16354         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
16355         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
16356         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
16357         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
16358         * math/test-float-vlen16.h: Fixed 2 argument macro.
16359         * math/test-float-vlen4.h: Likewise.
16360         * math/test-float-vlen8.h: Likewise.
16361         * NEWS: Mention addition of x86_64 vector powf.
16363 2015-06-17  Joseph Myers  <joseph@codesourcery.com>
16365         * math/s_ctanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
16366         and redefine.
16367         * math/s_ctanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
16368         and redefine.
16369         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c: Remove file.
16370         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
16371         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
16373         [BZ #18553]
16374         * resource/getpriority.c (getpriority): Rename to __getpriority
16375         and define as weak alias of __getpriority.
16376         * resource/setpriority.c (setpriority): Rename to __setpriority
16377         and define as weak alias of __setpriority.
16378         * sysdeps/mach/hurd/getpriority.c (getpriority): Rename to
16379         __getpriority and define as weak alias of __getpriority.
16380         * sysdeps/mach/hurd/setpriority.c (setpriority): Rename to
16381         __setpriority and define as weak alias of __setpriority.
16382         * sysdeps/unix/syscalls.list (getpriority): Use __getpriority as
16383         strong name.
16384         (setpriority): Use __setpriority as strong name.
16385         * sysdeps/unix/sysv/linux/getpriority.c (getpriority): Rename to
16386         __getpriority and define as weak alias of __getpriority.
16387         * include/sys/resource.h (__getpriority): Declare.  Use
16388         libc_hidden_proto.
16389         (__setpriority): Likewise.
16390         (getpriority): Don't use libc_hidden_proto.
16391         (setpriority): Likewise.
16392         * sysdeps/posix/nice.c (nice): Call __getpriority instead of
16393         getpriority.  Call __setpriority instead of setpriority.
16394         * conform/Makefile (test-xfail-XPG3/unistd.h/linknamespace):
16395         Remove variable.
16397         [BZ #18547]
16398         * misc/getttyent.c (getttynam): Rename to __getttynam and define
16399         as weak alias of __getttynam.  Use prototype function definition.
16400         Call __setttyent, __getttyent and __endttyent instead of
16401         setttyent, getttyent and endttyent.
16402         (getttyent): Rename to __getttyent and define as weak alias of
16403         __getttyent.  Call __setttyent instead of setttyent.  Call
16404         __fgets_unlocked instead of fgets_unlocked.
16405         (setttyent): Rename to __setttyent and define as weak alias of
16406         __setttyent.
16407         (endttyent): Rename to __endttyent and define as weak alias of
16408         __endttyent.
16409         * include/ttyent.h (__getttyent): Declare.  Use libc_hidden_proto.
16410         (__setttyent): Likewise.
16411         (__endttyent): Likewise.
16412         (getttyent): Don't use libc_hidden_proto.
16413         (setttyent): Likewise.
16414         (endttyent): Likewise.
16415         * misc/ttyslot.c (ttyslot): Call __setttyent, __getttyent and
16416         __endttyent instead of setttyent, getttyent and endttyent.
16417         * conform/Makefile (test-xfail-XPG4/unistd.h/linknamespace):
16418         Remove variable.
16420         [BZ #18546]
16421         * socket/recv.c (__recv): Use libc_hidden_def.
16422         * socket/socket.c (__socket): Likewise.
16423         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
16424         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
16425         * sysdeps/unix/sysv/linux/generic/recv.c (__recv): Likewise.
16426         * sysdeps/unix/sysv/linux/recv.c (__recv): Use libc_hidden_weak.
16427         * sysdeps/unix/sysv/linux/socket.c (__socket): Use
16428         libc_hidden_def.
16429         * sysdeps/unix/sysv/linux/x86_64/recv.c (__recv): Use
16430         libc_hidden_weak.
16431         * include/sys/socket.h (__socket): Do not use attribute_hidden.
16432         Use libc_hidden_proto.
16433         (__recv): Likewise.
16434         * socket/Versions (libc): Export __recv and __socket at version
16435         GLIBC_PRIVATE.
16436         * sysdeps/unix/sysv/linux/mq_notify.c (helper_thread): Call __recv
16437         instead of recv.
16438         (init_mq_netlink): Call __socket instead of socket.
16439         * conform/Makefile (test-xfail-POSIX/mqueue.h/linknamespace):
16440         Remove variable.
16442         [BZ #18545]
16443         * rt/mq_timedreceive.c (mq_timedreceive): Rename to
16444         __mq_timedreceive and define as alias of __mq_timedreceive.  Use
16445         hidden_weak.
16446         * rt/mq_timedsend.c (mq_timedsend): Rename to __mq_timedsend and
16447         define as alias of __mq_timedsend.  Use hidden_weak.
16448         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Use
16449         __mq_timedsend as strong name.
16450         (mq_timedreceive): Use __mq_timedreceive as strong name.
16451         * include/mqueue.h (__mq_timedsend): Declare.  Use hidden_proto.
16452         (__mq_timedreceive): Likewise.
16453         * sysdeps/unix/sysv/linux/mq_receive.c (mq_receive): Call
16454         __mq_timedreceive instead of mq_timedreceive.
16455         * sysdeps/unix/sysv/linux/mq_send.c (mq_send): Call __mq_timedsend
16456         instead of mq_timedsend.
16457         * conform/Makefile (test-xfail-UNIX98/mqueue.h/linknamespace):
16458         Remove variable.
16460         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use
16461         hidden_def and hidden_weak instead of libc_hidden_def and
16462         libc_hidden_weak.
16463         (top level): Refer to hidden_def in comment.
16464         * sysdeps/unix/syscall-template.S (syscall_hidden_def): New
16465         macro.  Use it instead of libc_hidden_def.
16466         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Do not
16467         specify __GI_* name explicitly.
16468         (mq_timedreceive): Likewise.
16469         (mq_setattr): Likewise.
16471         [BZ #18544]
16472         * nptl/pthread_barrier_init.c (pthread_barrier_init): Rename to
16473         __pthread_barrier_init and define as weak alias of
16474         __pthread_barrier_init.
16475         * sysdeps/sparc/nptl/pthread_barrier_init.c
16476         (pthread_barrier_init): Likewise.
16477         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Rename to
16478         __pthread_barrier_wait and define as weak alias of
16479         __pthread_barrier_wait.
16480         * sysdeps/sparc/nptl/pthread_barrier_wait.c
16481         (pthread_barrier_wait): Likewise.
16482         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
16483         (pthread_barrier_wait): Likewise.
16484         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S
16485         (pthread_barrier_wait): Likewise.
16486         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S
16487         (pthread_barrier_wait): Likewise.
16488         * nptl/Versions (libpthread): Export __pthread_barrier_init and
16489         __pthread_barrier_wait at version GLIBC_PRIVATE.
16490         * include/pthread.h (__pthread_barrier_init): Declare.
16491         (__pthread_barrier_wait): Likewise.
16492         * sysdeps/unix/sysv/linux/mq_notify.c (notification_function):
16493         Call __pthread_barrier_wait instead of pthread_barrier_wait.
16494         (helper_thread): Likewise.
16495         (init_mq_netlink): Call __pthread_barrier_init instead of
16496         pthread_barrier_init.
16498         [BZ #18542]
16499         * libio/iovswscanf.c (__vswscanf): Use libc_hidden_def.
16500         (vswscanf): Use ldbl_weak_alias instead of ldbl_strong_alias
16501         * include/wchar.h (__vswscanf): Declare.  Use libc_hidden_proto.
16502         * libio/swscanf.c (__swscanf): Call __vswscanf instead of
16503         vswscanf.
16504         * conform/Makefile (test-xfail-UNIX98/wchar.h/linknamespace):
16505         Remove variable.
16507         [BZ #18540]
16508         * libio/iofflush.c [!_IO_MTSAFE_IO] (__fflush_unlocked): Define as
16509         strong alias of _IO_fflush.  Use libc_hidden_def.
16510         * libio/iofflush_u.c (fflush_unlocked): Rename to
16511         __fflush_unlocked and define as weak alias of __fflush_unlocked.
16512         Use libc_hidden_weak.
16513         * include/stdio.h (__fflush_unlocked): Declare.  Use
16514         libc_hidden_proto.
16515         * misc/getpass.c (getpass): Call __fflush_unlocked instead of
16516         fflush_unlocked.
16517         * conform/Makefile (test-xfail-UNIX98/unistd.h/linknamespace):
16518         Remove variable.
16520         [BZ #18539]
16521         * stdlib/fmtmsg.c (addseverity): Rename to __addseverity and
16522         define as weak alias of __addseverity.
16523         * conform/Makefile (test-xfail-XPG4/fmtmsg.h/linknamespace):
16524         Remove variable.
16525         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
16526         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
16527         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
16529         [BZ #18536]
16530         * misc/tsearch.c (__tsearch): Use libc_hidden_def.
16531         (__tfind): Likewise.
16532         (__tdelete): Likewise.
16533         (__twalk): Likewise.
16534         * misc/Versions (libc): Add __tdelete, __tfind, __tsearch and
16535         __twalk to GLIBC_PRIVATE.
16536         * include/search.h (__tsearch): Use libc_hidden_proto.
16537         (__tfind): Likewise.
16538         (__tdelete): Likewise.
16539         (__twalk): Likewise.
16540         * nptl/sem_close.c (sem_close): Call __twalk instead of twalk.
16541         Call __tdelete instead of tdelete.
16542         * nptl/sem_open.c (check_add_mapping): Call __tfind instead of
16543         tfind.  Call __tsearch instead of tsearch.
16544         * sysdeps/sparc/sparc32/sem_open.c (check_add_mapping): Likewise.
16545         * conform/Makefile (test-xfail-POSIX/semaphore.h/linknamespace):
16546         Remove variable.
16547         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
16549         [BZ #18534]
16550         * stdio-common/dprintf.c (__dprintf): Use libc_hidden_def.
16551         (dprintf): Define as a weak alias of __dprintf, not a strong
16552         alias.
16553         * include/stdio.h (__dprintf): Declare.  Use libc_hidden_proto.
16554         * misc/syslog.c (__vsyslog_chk): Call __dprintf instead of
16555         dprintf.
16556         * conform/Makefile (test-xfail-XPG4/syslog.h/linknamespace):
16557         Remove variable.
16558         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
16559         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
16561         [BZ #18533]
16562         * misc/syslog.c (vsyslog): Define as a weak alias of __vsyslog,
16563         not a strong alias.
16564         * conform/Makefile (test-xfail-XOPEN2K8/syslog.h/linknamespace):
16565         Remove variable.
16567         [BZ #18532]
16568         * inet/in6_addr.c (in6addr_any): Rename to __in6addr_any and
16569         define as weak alias of __in6addr_any.  Use libc_hidden_data_weak.
16570         (in6addr_loopback): Rename to __in6addr_loopback and define as
16571         weak alias of __in6addr_loopback.  Use libc_hidden_data_weak.
16572         * include/netinet/in.h (__in6addr_loopback): Declare.  Use
16573         libc_hidden_proto.
16574         (__in6addr_any): Likewise.
16575         * inet/gethstbyad_r.c (PREPROCESS): Use __in6addr_any instead of
16576         in6addr_any.
16577         * conform/Makefile (test-xfail-XPG4/netdb.h/linknamespace): Remove
16578         variable.
16579         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
16581 2015-06-17  Andrew Senkevich  <andrew.senkevich@intel.com>
16583         * bits/libm-simd-decl-stubs.h: Added stubs for pow.
16584         * math/bits/mathcalls.h: Added pow declaration with __MATHCALL_VEC.
16585         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
16586         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
16587         redirections for pow.
16588         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
16589         * sysdeps/x86_64/fpu/Versions: New versions added.
16590         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
16591         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
16592         build of SSE, AVX2 and AVX512 IFUNC versions.
16593         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added 2 argument wrappers.
16594         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: New file.
16595         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: New file.
16596         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: New file.
16597         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: New file.
16598         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: New file.
16599         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: New file.
16600         * sysdeps/x86_64/fpu/svml_d_pow2_core.S: New file.
16601         * sysdeps/x86_64/fpu/svml_d_pow4_core.S: New file.
16602         * sysdeps/x86_64/fpu/svml_d_pow4_core_avx.S: New file.
16603         * sysdeps/x86_64/fpu/svml_d_pow8_core.S: New file.
16604         * sysdeps/x86_64/fpu/svml_d_pow_data.S: New file.
16605         * sysdeps/x86_64/fpu/svml_d_pow_data.h: New file.
16606         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector pow test.
16607         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
16608         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
16609         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
16610         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
16611         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
16612         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
16613         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
16614         * NEWS: Mention addition of x86_64 vector pow.
16616         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
16617         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
16618         redirections for expf.
16619         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
16620         * sysdeps/x86_64/fpu/Versions: New versions added.
16621         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
16622         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
16623         build of SSE, AVX2 and AVX512 IFUNC versions.
16624         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: New file.
16625         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: New file.
16626         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: New file.
16627         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: New file.
16628         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: New file.
16629         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: New file.
16630         * sysdeps/x86_64/fpu/svml_s_expf16_core.S: New file.
16631         * sysdeps/x86_64/fpu/svml_s_expf4_core.S: New file.
16632         * sysdeps/x86_64/fpu/svml_s_expf8_core.S: New file.
16633         * sysdeps/x86_64/fpu/svml_s_expf8_core_avx.S: New file.
16634         * sysdeps/x86_64/fpu/svml_s_expf_data.S: New file.
16635         * sysdeps/x86_64/fpu/svml_s_expf_data.h: New file.
16636         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector expf tests.
16637         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
16638         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
16639         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
16640         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
16641         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
16642         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
16643         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
16644         * NEWS: Mention addition of x86_64 vector expf.
16646         * bits/libm-simd-decl-stubs.h: Added stubs for exp.
16647         * math/bits/mathcalls.h: Added exp declaration with __MATHCALL_VEC.
16648         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
16649         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
16650         redirections for exp.
16651         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
16652         * sysdeps/x86_64/fpu/Versions: New versions added.
16653         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
16654         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
16655         build of SSE, AVX2 and AVX512 IFUNC versions.
16656         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: New file.
16657         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: New file.
16658         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: New file.
16659         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: New file.
16660         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: New file.
16661         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: New file.
16662         * sysdeps/x86_64/fpu/svml_d_exp2_core.S: New file.
16663         * sysdeps/x86_64/fpu/svml_d_exp4_core.S: New file.
16664         * sysdeps/x86_64/fpu/svml_d_exp4_core_avx.S: New file.
16665         * sysdeps/x86_64/fpu/svml_d_exp8_core.S: New file.
16666         * sysdeps/x86_64/fpu/svml_d_exp_data.S: New file.
16667         * sysdeps/x86_64/fpu/svml_d_exp_data.h: New file.
16668         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector exp test.
16669         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
16670         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
16671         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
16672         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
16673         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
16674         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
16675         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
16676         * NEWS: Mention addition of x86_64 vector exp.
16678         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
16679         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
16680         redirections for logf.
16681         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
16682         * sysdeps/x86_64/fpu/Versions: New versions added.
16683         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
16684         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
16685         build of SSE, AVX2 and AVX512 IFUNC versions.
16686         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: New file.
16687         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: New file.
16688         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: New file.
16689         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: New file.
16690         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: New file.
16691         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: New file.
16692         * sysdeps/x86_64/fpu/svml_s_logf16_core.S: New file.
16693         * sysdeps/x86_64/fpu/svml_s_logf4_core.S: New file.
16694         * sysdeps/x86_64/fpu/svml_s_logf8_core.S: New file.
16695         * sysdeps/x86_64/fpu/svml_s_logf8_core_avx.S: New file.
16696         * sysdeps/x86_64/fpu/svml_s_logf_data.S: New file.
16697         * sysdeps/x86_64/fpu/svml_s_logf_data.h: New file.
16698         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector logf tests.
16699         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
16700         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
16701         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
16702         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
16703         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
16704         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
16705         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
16706         * NEWS: Mention addition of x86_64 vector logf.
16708         * bits/libm-simd-decl-stubs.h: Added stubs for log.
16709         * math/bits/mathcalls.h: Added log declaration with __MATHCALL_VEC.
16710         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
16711         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
16712         redirections for log.
16713         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
16714         * sysdeps/x86_64/fpu/Versions: New versions added.
16715         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
16716         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
16717         build of SSE, AVX2 and AVX512 IFUNC versions.
16718         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: New file.
16719         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: New file.
16720         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: New file.
16721         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: New file.
16722         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: New file.
16723         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: New file.
16724         * sysdeps/x86_64/fpu/svml_d_log2_core.S: New file.
16725         * sysdeps/x86_64/fpu/svml_d_log4_core.S: New file.
16726         * sysdeps/x86_64/fpu/svml_d_log4_core_avx.S: New file.
16727         * sysdeps/x86_64/fpu/svml_d_log8_core.S: New file.
16728         * sysdeps/x86_64/fpu/svml_d_log_data.S: New file.
16729         * sysdeps/x86_64/fpu/svml_d_log_data.h: New file.
16730         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector log
16731         test.
16732         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
16733         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
16734         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
16735         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
16736         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
16737         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
16738         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
16739         * NEWS: Mention addition of x86_64 vector log.
16741 2015-06-17  Szabolcs Nagy  <szabolcs.nagy@arm.com>
16743         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Fix
16744         cfi_adjust_cfa_offset argument.
16745         (_dl_tlsdesc_undefweak, _dl_tlsdesc_dynamic): Likewise.
16746         (_dl_tlsdesc_resolve_rela, _dl_tlsdesc_resolve_hold): Likewise.
16748         [BZ #18034]
16749         * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Declare.
16750         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Define.
16751         (_dl_tlsdesc_undefweak): Guarantee TLSDESC entry and argument load-load
16752         ordering using ldar.
16753         (_dl_tlsdesc_dynamic): Likewise.
16754         (_dl_tlsdesc_return_lazy): Likewise.
16755         * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Use
16756         relaxed atomics instead of volatile and synchronize with release store.
16757         (_dl_tlsdesc_resolve_hold_fixup): Use relaxed atomics instead of
16758         volatile.
16759         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
16761 2015-06-15  Andrew Senkevich  <andrew.senkevich@intel.com>
16763         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
16764         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for sinf.
16765         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
16766         * sysdeps/x86_64/fpu/Versions: New versions added.
16767         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
16768         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
16769         build of SSE, AVX2 and AVX512 IFUNC versions.
16770         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: New file.
16771         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: New file.
16772         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: New file.
16773         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: New file.
16774         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: New file.
16775         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: New file.
16776         * sysdeps/x86_64/fpu/svml_s_sinf16_core.S: New file.
16777         * sysdeps/x86_64/fpu/svml_s_sinf4_core.S: New file.
16778         * sysdeps/x86_64/fpu/svml_s_sinf8_core.S: New file.
16779         * sysdeps/x86_64/fpu/svml_s_sinf8_core_avx.S: New file.
16780         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: New file.
16781         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: New file.
16782         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector sinf tests.
16783         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
16784         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
16785         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
16786         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
16787         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
16788         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
16789         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
16790         * NEWS: Mention addition of x86_64 vector sinf.
16792 2015-06-14  Joseph Myers  <joseph@codesourcery.com>
16794         * conform/list-header-symbols.pl (%extra_syms): Add in6addr_any
16795         and in6addr_loopback for XOPEN2K, XOPEN2K8 and POSIX2008.
16796         * conform/Makefile (test-xfail-XOPEN2K/netdb.h/linknamespace):
16797         Remove variable.
16798         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
16799         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
16801 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
16803         [BZ #18530]
16804         * libio/iofputs.c [!_IO_MTSAFE_IO] (__fputs_unlocked): Define as
16805         strong alias of _IO_fputs.  Use libc_hidden_def.
16806         * libio/iofputs_u.c (fputs_unlocked): Rename to __fputs_unlocked
16807         and define as weak alias of __fputs_unlocked.  Use
16808         libc_hidden_weak.
16809         * include/stdio.h (__fputs_unlocked): Declare.  Use
16810         libc_hidden_proto.
16811         * misc/syslog.c (__vsyslog_chk): Call __fputs_unlocked instead of
16812         fputs_unlocked.
16814         [BZ #18529]
16815         * resolv/netdb.h [__USE_POSIX]: Change condition to
16816         [__USE_XOPEN2K].
16817         * conform/data/netdb.h-data [XPG4 || UNIX98] (struct addrinfo): Do
16818         not expect.
16819         [XPG4 || UNIX98] (AI_PASSIVE): Likewise.
16820         [XPG4 || UNIX98] (AI_CANONNAME): Likewise.
16821         [XPG4 || UNIX98] (AI_NUMERICHOST): Likewise.
16822         [XPG4 || UNIX98] (AI_V4MAPPED): Likewise.
16823         [XPG4 || UNIX98] (AI_ALL): Likewise.
16824         [XPG4 || UNIX98] (AI_ADDRCONFIG): Likewise.
16825         [XPG4 || UNIX98] (AI_NUMERICSERV): Likewise.
16826         [XPG4 || UNIX98] (NI_NOFQDN): Likewise.
16827         [XPG4 || UNIX98] (NI_NUMERICHOST): Likewise.
16828         [XPG4 || UNIX98] (NI_NAMEREQD): Likewise.
16829         [XPG4 || UNIX98] (NI_NUMERICSERV): Likewise.
16830         [XPG4 || UNIX98] (NI_DGRAM): Likewise.
16831         [XPG4 || UNIX98] (EAI_AGAIN): Likewise.
16832         [XPG4 || UNIX98] (EAI_BADFLAGS): Likewise.
16833         [XPG4 || UNIX98] (EAI_FAIL): Likewise.
16834         [XPG4 || UNIX98] (EAI_FAMILY): Likewise.
16835         [XPG4 || UNIX98] (EAI_MEMORY): Likewise.
16836         [XPG4 || UNIX98] (EAI_NONAME): Likewise.
16837         [XPG4 || UNIX98] (EAI_SERVICE): Likewise.
16838         [XPG4 || UNIX98] (EAI_SOCKTYPE): Likewise.
16839         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
16840         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
16841         [XPG4 || UNIX98] (freeaddrinfo): Likewise.
16842         [XPG4 || UNIX98] (gai_strerror): Likewise.
16843         [XPG4 || UNIX98] (getaddrinfo): Likewise.
16844         [XPG4 || UNIX98] (getnameinfo): Likewise.
16846         [BZ #18528]
16847         * grp/grp.h (endgrent): Condition on [__USE_MISC ||
16848         __USE_XOPEN_EXTENDED], not [__USE_XOPEN_EXTENDED ||
16849         __USE_XOPEN2K8].
16850         (getgrent): Likewise.
16851         * conform/data/grp.h-data [XPG3 || POSIX2008] (getgrent): Do not
16852         expect.
16853         [XPG3 || POSIX2008] (endgrent): Likewise.
16854         [XPG3] (setgrent): Likewise.
16855         * conform/Makefile (test-xfail-XPG3/grp.h/conform): Remove
16856         variable.
16857         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
16859         [BZ #18527]
16860         * login/getlogin_r.c (getlogin_r): Rename to __getlogin_r and
16861         define as weak alias of __getlogin_r.  Use libc_hidden_weak.
16862         * sysdeps/mach/hurd/getlogin_r.c (getlogin_r): Likewise.
16863         * sysdeps/unix/getlogin_r.c (getlogin_r): Likewise.
16864         * sysdeps/unix/sysv/linux/getlogin_r.c (getlogin_r): Likewise.
16865         * include/unistd.h (__getlogin_r): Declare.  Use
16866         libc_hidden_proto.
16867         * posix/glob.c (glob): Call __getlogin_r instead of getlogin_r.
16868         * conform/Makefile (test-xfail-XPG3/glob.h/linknamespace): Remove
16869         variable.
16870         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
16871         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
16872         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
16874 2015-06-12  Martin Sebor  <msebor@redhat.com>
16876         [BZ #18512]
16877         * Makerules (check-install-supported): New target.
16878         (install): Add check-install-supported as a dependency.
16879         * manual/install.texi (Installing the C Library): Document
16880         that overriding prefix and exec_prefix is not supported.
16881         Mention DESTDIR.
16882         * INSTALL: Regenerate from the above.
16884 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
16886         [BZ #18519]
16887         * posix/Versions (libc): Export __libc_pread at version
16888         GLIBC_PRIVATE.
16889         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Call __libc_pread
16890         instead of pread.
16891         * conform/Makefile (test-xfail-POSIX/aio.h/linknamespace): Remove
16892         variable.
16894         [BZ #18522]
16895         * misc/efgcvt_r.c
16896         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0) && !LONG_DOUBLE_CVT]
16897         (cvt_symbol): Use weak_alias instead of strong_alias.
16898         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0)] (cvt_symbol): Likewise.
16899         * conform/Makefile (test-xfail-XPG4/stdlib.h/linknamespace):
16900         Remove variable.
16901         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
16902         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
16904         [BZ #18520]
16905         * inet/herrno.c (h_errno): Rename to __h_errno.
16906         (__libc_h_errno): Define as alias of __h_errno not h_errno.
16907         * include/netdb.h [IS_IN_LIB && !IS_IN (libc)] (h_errno): Define
16908         to __h_errno instead of h_errno.
16909         * nptl/herrno.c (h_errno): Rename to __h_errno.
16910         (__h_errno_location): Refer to __h_errno not h_errno.
16911         * resolv/Versions (h_errno): Rename to __h_errno.
16912         * conform/Makefile (test-xfail-XOPEN2K8/grp.h/linknamespace):
16913         Remove variable.
16914         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
16916 2015-06-11  Andrew Senkevich  <andrew.senkevich@intel.com>
16918         * configure.ac: More strict check for AVX512 assembler support.
16919         * configure: Regenerated.
16921         * bits/libm-simd-decl-stubs.h: Added stubs for sin.
16922         * math/bits/mathcalls.h: Added sin declaration with __MATHCALL_VEC.
16923         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
16924         * sysdeps/x86/fpu/bits/math-vector.h: SIMD declaration for sin.
16925         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
16926         * sysdeps/x86_64/fpu/Versions: New versions added.
16927         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
16928         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
16929         Added build of SSE, AVX2 and AVX512 IFUNC versions.
16930         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: New file.
16931         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: New file.
16932         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: New file.
16933         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: New file.
16934         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: New file.
16935         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: New file.
16936         * sysdeps/x86_64/fpu/svml_d_sin2_core.S: New file.
16937         * sysdeps/x86_64/fpu/svml_d_sin4_core.S: New file.
16938         * sysdeps/x86_64/fpu/svml_d_sin4_core_avx.S: New file.
16939         * sysdeps/x86_64/fpu/svml_d_sin8_core.S: New file.
16940         * sysdeps/x86_64/fpu/svml_d_sin_data.S: New file.
16941         * sysdeps/x86_64/fpu/svml_d_sin_data.h: New file.
16942         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector sin
16943         test.
16944         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
16945         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
16946         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
16947         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
16948         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
16949         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
16950         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
16951         * NEWS: Mention addition of x86_64 vector sin.
16953 2015-06-11  Florian Weimer  <fweimer@redhat.com>
16955         * nptl/pthread_key_create.c (__pthread_key_create): Fix typo in
16956         comment.
16958 2015-06-10  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
16960         [BZ #18479]
16961         * nptl/pt-interp.c: New file.
16962         * nptl/Makefile (libpthread-routines, libpthread-shared-only-routines):
16963         Add pt-interp.
16964         [[$(build-shared) = yes] ($(objpfx)pt-interp.os): Depend on
16965         $(common-objpfx)runtime-linker.h.
16967 2015-06-10  Dmitry V. Levin  <ldv@altlinux.org>
16969         * Makeconfig (+interp): Remove unused variable.
16970         * elf/Makefile ($(objpfx)interp.os): Define for [$(build-shared) = yes]
16971         only.  Depend on $(common-objpfx)runtime-linker.h instead of
16972         $(elf-objpfx)runtime-linker.h.
16973         ($(elf-objpfx)runtime-linker.h): Rename to
16974         $(common-objpfx)runtime-linker.h and move ...
16975         * Makerules [$(build-shared) = yes]: ... here.
16976         * elf/interp.c: Include <runtime-linker.h> instead of
16977         <elf/runtime-linker.h>.
16979 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16981         * sysdeps/unix/sysv/linux/i386/gettimeofday.c
16982         (__gettimeofday_syscall): Remove vsyscall fallback.
16983         * sysdeps/unix/sysv/linux/i386/time.c (__time_syscall): Likewise.
16984         * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday_syscall):
16985         Add syscall fallback function.
16986         (gettimeofday_ifunc): Use __gettimeofday_syscall as fallback mechanism
16987         if vDSO is not present.
16988         * sysdeps/unix/sysv/linux/x86/time.c (__time_syscall): Add syscall
16989         fallback function.
16990         (time_ifunc): Use __time_syscall as fallback mechanism if vDSO is not
16991         present.
16992         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Remove file.
16993         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
16995 2015-06-09  Joseph Myers  <joseph@codesourcery.com>
16997         [BZ #18497]
16998         * wcsmbs/wcscmp.c [!WCSCMP] (WCSCMP): Define as __wcscmp instead
16999         of wcscmp.
17000         (wcscmp): Define as weak alias of WCSCMP.
17001         * wcsmbs/wcscoll.c (STRCOLL): Define as __wcscoll instead of
17002         wcscoll.
17003         (USE_HIDDEN_DEF): Define.
17004         [!USE_IN_EXTENDED_LOCALE_MODEL] (wcscoll): Define as weak alias of
17005         __wcscoll.  Don't use libc_hidden_weak.
17006         * wcsmbs/wcscoll_l.c (STRCMP): Define as __wcscmp instead of
17007         wcscmp.
17008         * sysdeps/i386/i686/multiarch/wcscmp-c.c
17009         [SHARED] (libc_hidden_def): Define __GI___wcscmp instead of
17010         __GI_wcscmp.
17011         (weak_alias): Undefine and redefine.
17012         * sysdeps/i386/i686/multiarch/wcscmp.S (wcscmp): Rename to
17013         __wcscmp and define as weak alias of __wcscmp.
17014         * sysdeps/x86_64/wcscmp.S (wcscmp): Likewise.
17015         * include/wchar.h (__wcscmp): Declare.  Use libc_hidden_proto.
17016         (__wcscoll): Likewise.
17017         (wcscmp): Don't use libc_hidden_proto.
17018         (wcscoll): Likewise.
17019         * posix/regcomp.c (build_range_exp): Call __wcscoll instead of
17020         wcscoll.
17021         * posix/regexec.c (check_node_accept_bytes): Likewise.
17022         * conform/Makefile (test-xfail-XPG3/regex.h/linknamespace): Remove
17023         variable.
17024         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
17025         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
17027         [BZ #18507]
17028         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Rename to
17029         __fstatvfs and define as weak alias of __fstatvfs.  Use
17030         libc_hidden_weak.
17031         * sysdeps/unix/sysv/linux/statvfs.c (statvs): Rename to __statvfs
17032         and define as weak alias of __statvfs.  Use libc_hidden_weak.
17033         * sysdeps/unix/sysv/linux/wordsize-64/fstatvfs.c (__fstatvfs64):
17034         Define as alias of __fstatvfs, not fstatvfs.
17035         (fstatvfs64): Likewise.
17036         * sysdeps/unix/sysv/linux/wordsize-64/statvfs.c (__statvfs64):
17037         Define as alias of __statvfs, not statvfs.
17038         (statvfs64): Likewise.
17039         * conform/Makefile (test-xfail-POSIX/unistd.h/linknamespace):
17040         Remove variable.
17042 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17044         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
17045         (HAVE_GETCPU_VSYSCALL): Define.
17046         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
17047         (HAVE_GETCPU_VSYSCALL): Likewise.
17048         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Remove file.
17049         * sysdeps/unix/sysv/linux/sched_getcpu.c
17050         (HAVE_VSYSCALL) [HAVE_GETCPU_VSYSCALL]: Define.
17051         (sched_getcpu): Use INLINE_VSYSCALL instead of INLINE_SYSCALL.
17052         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (getcpu): Add vDSO
17053         prototype.
17054         * sysdeps/unix/sysv/linux/x86_64/init-first.c
17055         (__vdso_platform_setup): Remove vsyscall getcpu fallback.
17056         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Remove file.
17057         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (HAVE_GETCPU_VSYSCALL):
17058         Define.
17059         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: Remove file.
17060         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
17061         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c: Likewise.
17062         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
17064 2015-06-09  Andrew Senkevich  <andrew.senkevich@intel.com>
17066         * sysdeps/x86_64/fpu/Makefile: New file.
17067         * sysdeps/x86_64/fpu/Versions: New file.
17068         * sysdeps/x86_64/fpu/svml_d_cos_data.S: New file.
17069         * sysdeps/x86_64/fpu/svml_d_cos_data.h: New file.
17070         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: New file.
17071         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: New file.
17072         * sysdeps/x86_64/fpu/svml_d_cos4_core_avx.S: New file.
17073         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: New file.
17074         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: New file.
17075         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: New file.
17076         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: New file.
17077         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: New file.
17078         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: New file.
17079         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: New file.
17080         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: New file.
17081         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
17082         Added build of SSE, AVX2 and AVX512 IFUNC versions.
17083         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cos.
17084         * math/bits/mathcalls.h: Added cos declaration with __MATHCALL_VEC.
17085         * sysdeps/x86_64/configure.ac: Options for libmvec build.
17086         * sysdeps/x86_64/configure: Regenerated.
17087         * sysdeps/x86_64/sysdep.h (cfi_offset_rel_rsp): New macro.
17088         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New file.
17089         * manual/install.texi (Configuring and compiling): Document
17090         --disable-mathvec.
17091         * INSTALL: Regenerated.
17092         * NEWS: Mention addition of libmvec and x86_64 vector cos.
17094         * math/Makefile: Added rules for vector tests.
17095         * math/gen-libm-have-vector-test.sh: Added generation of wrapper
17096         declaration under condition.
17097         * math/test-double-vlen2.h: New file.
17098         * math/test-double-vlen4.h: New file.
17099         * math/test-double-vlen8.h: New file.
17100         * math/test-vec-loop.h: Added initialization macro.
17101         * sysdeps/x86_64/fpu/Makefile: Added variables for vector tests.
17102         * sysdeps/x86_64/fpu/libm-test-ulps: Regenarated.
17103         * sysdeps/x86_64/fpu/math-tests-arch.h: New file.
17104         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: New file.
17105         * sysdeps/x86_64/fpu/test-double-vlen2.c: New file.
17106         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: New file.
17107         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: New file.
17108         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: New file.
17109         * sysdeps/x86_64/fpu/test-double-vlen4.c: New file.
17110         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: New file.
17111         * sysdeps/x86_64/fpu/test-double-vlen8.c: New file.
17113         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
17114         * sysdeps/x86_64/fpu/Versions: New versions added.
17115         * sysdeps/x86_64/fpu/svml_s_cosf4_core.S: New file.
17116         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: New file.
17117         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: New file.
17118         * sysdeps/x86_64/fpu/svml_s_cosf8_core_avx.S: New file.
17119         * sysdeps/x86_64/fpu/svml_s_cosf8_core.S: New file.
17120         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: New file.
17121         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: New file.
17122         * sysdeps/x86_64/fpu/svml_s_cosf16_core.S: New file.
17123         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: New file.
17124         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: New file.
17125         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: New file.
17126         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: New file.
17127         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: New file.
17128         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
17129         Added build of SSE, AVX2 and AVX512 IFUNC versions.
17130         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
17131         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cosf.
17132         * NEWS: Mention addition of x86_64 vector cosf.
17134         * math/Makefile: Added CFLAGS for new tests.
17135         * math/test-float-vlen16.h: New file.
17136         * math/test-float-vlen4.h: New file.
17137         * math/test-float-vlen8.h: New file.
17138         * math/test-double-vlen2.h: Fixed 2 argument macro and comment.
17139         * sysdeps/x86_64/fpu/Makefile: Added new tests and variables.
17140         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
17141         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: New file.
17142         * sysdeps/x86_64/fpu/test-float-vlen16.c: New file.
17143         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: New file.
17144         * sysdeps/x86_64/fpu/test-float-vlen4.c: New file.
17145         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: New file.
17146         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: New file.
17147         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: New file.
17148         * sysdeps/x86_64/fpu/test-float-vlen8.c: New file.
17150 2015-06-09 Marko Myllynen  <myllynen@redhat.com>
17152         * locale/C-ctype.c (PREDEFINED_CLASSES): Remove.
17153         * locale/programs/ld-ctype.c: Likewise.
17155 2015-06-08  Andrew Senkevich  <andrew.senkevich@intel.com>
17157         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX512F_Usable,
17158         bit_AVX512DQ_Usable, bit_Opmask_state, bit_ZMM0_15_state,
17159         bit_ZMM16_31_state): New macro.
17160         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
17161         Check and set bit_AVX512F_Usable, bit_AVX512DQ_Usable.
17163 2015-06-08  Joseph Myers  <joseph@codesourcery.com>
17165         * include/stdio.h (__open_memstream): Say "C++ tests" in comment.
17167 2015-06-06  Justus Winter  <4winter@informatik.uni-hamburg.de>
17169         * mach/mach/mach_traps.h (thread_switch): Fix typo in comment.
17171 2015-06-05  Joseph Myers  <joseph@codesourcery.com>
17173         [BZ #18498]
17174         * libio/memstream.c (open_memstream): Rename to __open_memstream
17175         and define as weak alias of __open_memstream.
17176         * include/stdio.h (__open_memstream): Declare.  Use
17177         libc_hidden_proto.
17178         (open_memstream): Don't use libc_hidden_proto.
17179         * misc/syslog.c (__vsyslog_chk): Call __open_memstream instead of
17180         open_memstream.
17181         * posix/getopt.c (_getopt_internal_r): Likewise.
17182         * conform/Makefile (test-xfail-XPG3/stdio.h/linknamespace): Remove
17183         variable.
17184         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
17185         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
17186         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
17188         [BZ #18496]
17189         * posix/regex_internal.c (build_wcs_upper_buffer): Call __wcrtomb
17190         instead of wcrtomb.
17192         [BZ #18483]
17193         * signal/signal.h [__USE_XOPEN2K] (psignal): Change condition to
17194         [__USE_XOPEN2K8].  Remove redundant #endif.
17195         [__USE_XOPEN2K] (psiginfo): Change condition to [__USE_XOPEN2K8].
17196         Remove redundant #if.
17197         * conform/Makefile (test-xfail-XOPEN2K/signal.h/linknamespace):
17198         Remove variable.
17199         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
17200         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
17202         [BZ #18495]
17203         * wctype/wcfuncs.c (__iswalnum): Use libc_hidden_def.
17204         (__iswlower): Likewise.
17205         * include/wctype.h (__iswalnum): Declare.  Use libc_hidden_proto.
17206         (__iswlower): Likewise.
17207         * posix/regcomp.c (re_compile_fastmap_iter): Call __towlower
17208         instead of towlower.
17209         * posix/regex_internal.c (build_wcs_upper_buffer): Call __iswlower
17210         instead of iswlower.  Call __towupper instead of towupper.
17211         * posix/regex_internal.h (IS_WIDE_WORD_CHAR): Call __iswalnum
17212         instead of iswalnum.
17214 2015-06-05  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
17216         * malloc/tst-malloc-backtrace.c (do_test): Redirect libc fatal
17217         errors to stderr.
17219 2015-06-05  Florian Weimer  <fweimer@redhat.com>
17221         [BZ #15661]
17222         [BZ #17322]
17223         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
17224         Check for overflow properly.  Check for O_APPEND.  Ignore large
17225         file system block sizes.  Add comments about problems.
17226         * sysdeps/posix/posix_fallocate.c (posix_fallocate): Likewise.
17227         * manual/filesys.texi (Storage Allocation): New node.
17229 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17231         * sysdeps/unix/sysdep.h [SYSCALL_CANCEL]: New macro: define
17232         cancellable syscalls.
17233         (SYS_ify): Add guard to no redefine it.
17234         (INLINE_SYSCALL): Likewise.
17235         * sysdeps/unix/sysv/linux/accept4.c (accept4): Remove
17236         LIBC_CANCEL_ASYNC/INLINE_SYSCALL/LIBC_CANCEL_RESET and use
17237         SYSCALL_CANCEL instead.
17238         * sysdeps/unix/sysv/linux/alpha/fdatasync.c (__fdatasync): Likewise.
17239         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
17240         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
17241         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
17242         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
17243         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Likewise.
17244         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Likewise.
17245         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Likewise.
17246         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
17247         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
17248         * sysdeps/unix/sysv/linux/generic/pause.c (__libc_pause): Likewise.
17249         * sysdeps/unix/sysv/linux/generic/poll.c (__poll): Likewise.
17250         * sysdeps/unix/sysv/linux/generic/recv.c (__libc_recv): Likewise.
17251         * sysdeps/unix/sysv/linux/generic/select.c (__select): Likewise.
17252         * sysdeps/unix/sysv/linux/generic/send.c (__libc_send): Likewise.
17253         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
17254         Likewise.
17255         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
17256         (__libc_pread64): Likewise.
17257         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c
17258         (__libc_preadv): Likewise.
17259         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c
17260         (__libc_readv64): Likewise.
17261         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
17262         (__libc_pwrite): Likewise.
17263         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
17264         (__libc_pwrite64): Likewise.
17265         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c
17266         (__libc_pwritev): Likewise.
17267         * sysdeps/sysv/linux/generic/wordsize-32/pwritev64.c
17268         (__libc_pwritev64): Likewise.
17269         * sysdeps/unix/sysv/linux/i386/fcntl.c (__libc_fcntl): Likewise.
17270         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
17271         (sync_file_range): Likewise.
17272         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c (fallocate):
17273         Likewise.
17274         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c (fallocate64):
17275         Likewise.
17276         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
17277         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
17278         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
17279         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
17280         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
17281         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
17282         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
17283         * sysdeps/unix/sysv/linux/openat.c (__libc_openat): Likewise.
17284         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
17285         Likewise.
17286         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
17287         (__libc_read64): Likewise.
17288         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_write):
17289         Likewise.
17290         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c (__libc_write64):
17291         Likewise.
17292         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c (__libc_fcntl):
17293         Likewise.
17294         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c (__libc_pread):
17295         Likewise.
17296         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
17297         (__libc_pread64): Likewise.
17298         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c (__libc_pwrite):
17299         Likewise.
17300         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
17301         (__libc_pwrite64): Likewise.
17302         * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c
17303         (sync_file_range): Likewise.
17304         * sysdeps/unix/sysv/linux/ppoll.c (ppoll): Likewise.
17305         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
17306         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
17307         * sysdeps/unix/sysv/linux/preadv.c (__libc_preadv): Likewise.
17308         * sysdeps/unix/sysv/linux/pselect.c (__pselect): Likewise.
17309         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
17310         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
17311         * sysdeps/unix/sysv/linux/pwritev.c (PWRITEV): Likewise.
17312         * sysdeps/unix/sysv/linux/readv.c (__libc_readv): Likewise.
17313         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
17314         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
17315         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
17316         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
17317         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
17318         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_pwrite64): Likewise.
17319         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
17320         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
17321         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
17322         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
17323         Likewise.
17324         * sysdeps/unix/sysv/linux/sync_file_range.c (sync_file_range):
17325         Likewise.
17326         * sysdeps/unix/sysv/linux/tcdrain.c (__libc_tcdrain): Likewise.
17327         * sysdeps/unix/sysv/linux/timer_routines.c (timer_helper_thread):
17328         Likewise.
17329         * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Likewise.
17330         * sysdeps/unix/sysv/linux/waitid.c (__waitid): Likewise.
17331         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Likewise.
17332         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c (fallocate):
17333         Likewise.
17334         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c (preadv): Likewise.
17335         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c (pwritev): Likewise.
17336         * sysdeps/unix/sysv/linux/writev.c (__libc_writev): Likewise.
17337         * sysdeps/unix/sysv/linux/x86_64/recv.c (__libc_recv): Likewise.
17338         * sysdeps/unix/sysv/linux/x86_64/send.c (__libc_send): Likewise.
17340 2015-06-04  Nathan Lynch  <nathan_lynch@codesourcery.com>
17342         * sysdeps/unix/sysv/linux/arm/Makefile: (sysdep_routines):
17343         Include dl-vdso.
17344         * sysdeps/unix/sysv/linux/arm/init-first.c: New file:
17345         Use VDSO routines for gettimeofday, clock_gettime if
17346         available.
17347         * sysdeps/unix/sysv/linux/arm/libc-vdso.h: New file:
17348         Declare VDSO symbols.
17349         * sysdeps/unix/sysv/linux/arm/sysdep.h:
17350         [HAVE_GETTIMEOFDAY_VSYSCALL]: Define.
17351         [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
17352         * sysdeps/unix/sysv/linux/arm/Versions: Add
17353         __vdso_clock_gettime.
17355 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17357         * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Rewrite to
17358         be an inline implementation regardless of library is built within.
17359         (open_not_cancel_2): Likewise.
17360         (__read_nocancel): Likewise.
17361         (__write_nocancel): Likewise.
17362         (openat_not_cancel): Likewise.
17363         (openat_not_cancel_3): Likewise.
17364         (openat64_not_cancel): Likewise.
17365         (openat64_not_cancel_3): Likewise.
17366         (__close_nocancel): Likewise.
17367         (pause_not_cancel): Likewise.
17368         (nanosleep_not_cancel): Likewise.
17369         (sigsuspend_not_cancel): Likewise.
17371 2015-06-04  Torvald Riegel  <triegel@redhat.com>
17373         [BZ #14958]
17374         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock): Add missing
17375         wake-up.
17376         (__pthread_rwlock_rdlock_slow): Likewise.
17377         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
17378         Likewise.
17379         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
17380         Likewise.
17381         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Add comments.
17382         * nptl/tst-rwlock16.c: New file.
17383         * nptl/Makefile (tests): Add new test.
17385 2015-06-04  Torvald Riegel  <triegel@redhat.com>
17387         [BZ #18324]
17388         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock): Add
17389         missing wake-up of readers.
17390         * nptl/tst-rwlock15.c: New file.
17391         * nptl/Makefile (tests): Add new test.
17393 2015-06-03  Roland McGrath  <roland@hack.frob.com>
17395         * sysdeps/nacl/nacl-interfaces.c (try_supply): New static function.
17396         (PASTE_NAME (__nacl_supply_interface_, MODULE_NAME)): New function.
17397         * sysdeps/nacl/nacl-interfaces.h: Declare __nacl_supply_interface_libc
17398         and __nacl_supply_interface_rtld.
17399         * sysdeps/nacl/nacl_interface_ext_supply.c: New file.
17400         * sysdeps/nacl/Makefile [$(subdir) = csu] (sysdep_routines): Add it.
17401         * sysdeps/nacl/Versions (ld: GLIBC_PRIVATE):
17402         Add __nacl_supply_interface_rtld.
17403         (libc: GLIBC_2.22): Add nacl_interface_ext_supply.
17405 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
17407         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Replace finite with
17408         isfinite.
17409         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
17410         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c (__finitel): Likewise.
17412 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
17414         * math/e_exp10.c: Replace __isinf*, __isnan*, __finite* and
17415         __signbit* with standard C99 macros.
17416         * math/e_exp10l.c: Likewise.
17417         * math/e_exp2l.c: Likewise.
17418         * math/e_scalb.c: Likewise.
17419         * math/e_scalbf.c: Likewise.
17420         * math/e_scalbl.c: Likewise.
17421         * math/s_ldexp.c: Likewise.
17422         * math/s_ldexpf.c: Likewise.
17423         * math/s_ldexpl.c: Likewise.
17424         * math/w_atan2.c: Likewise.
17425         * math/w_atan2f.c: Likewise.
17426         * math/w_atan2l.c: Likewise.
17427         * math/w_cosh.c: Likewise.
17428         * math/w_coshf.c: Likewise.
17429         * math/w_coshl.c: Likewise.
17430         * math/w_exp10.c: Likewise.
17431         * math/w_exp10f.c: Likewise.
17432         * math/w_exp10l.c: Likewise.
17433         * math/w_exp2.c: Likewise.
17434         * math/w_exp2f.c: Likewise.
17435         * math/w_exp2l.c: Likewise.
17436         * math/w_fmod.c: Likewise.
17437         * math/w_fmodf.c: Likewise.
17438         * math/w_fmodl.c: Likewise.
17439         * math/w_hypot.c: Likewise.
17440         * math/w_hypotf.c: Likewise.
17441         * math/w_hypotl.c: Likewise.
17442         * math/w_jnl.c: Likewise.
17443         * math/w_lgamma.c: Likewise.
17444         * math/w_lgamma_r.c: Likewise.
17445         * math/w_lgammaf.c: Likewise.
17446         * math/w_lgammaf_r.c: Likewise.
17447         * math/w_lgammal.c: Likewise.
17448         * math/w_lgammal_r.c: Likewise.
17449         * math/w_pow.c: Likewise.
17450         * math/w_powf.c: Likewise.
17451         * math/w_powl.c: Likewise.
17452         * math/w_remainder.c: Likewise.
17453         * math/w_remainderf.c: Likewise.
17454         * math/w_remainderl.c: Likewise.
17455         * math/w_scalb.c: Likewise.
17456         * math/w_scalbf.c: Likewise.
17457         * math/w_scalbl.c: Likewise.
17458         * math/w_scalbln.c: Likewise.
17459         * math/w_scalblnf.c: Likewise.
17460         * math/w_scalblnl.c: Likewise.
17461         * math/w_sinh.c: Likewise.
17462         * math/w_sinhf.c: Likewise.
17463         * math/w_sinhl.c: Likewise.
17464         * math/w_tgamma.c: Likewise.
17465         * math/w_tgammaf.c: Likewise.
17466         * math/w_tgammal.c: Likewise.
17467         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
17468         * sysdeps/ieee754/dbl-64/e_exp10.c: Likewise.
17469         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
17470         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
17471         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
17472         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
17473         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
17474         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
17475         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
17476         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
17477         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
17478         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
17479         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
17480         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
17481         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
17482         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
17483         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
17484         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
17485         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
17486         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
17487         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
17488         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
17489         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
17490         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
17491         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
17492         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
17493         * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
17494         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
17495         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
17496         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
17497         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c: Likewise.
17498         * sysdeps/ieee754/ldbl-opt/nldbl-isinf.c: Likewise.
17499         * sysdeps/ieee754/ldbl-opt/nldbl-isnan.c: Likewise.
17500         * sysdeps/ieee754/ldbl-opt/nldbl-signbit.c: Likewise.
17501         * stdio-common/printf_fp.c: Likewise.
17502         * stdio-common/printf_fphex.c: Likewise.
17503         * stdio-common/printf_size.c: Likewise.
17505 2015-06-03  Joseph Myers  <joseph@codesourcery.com>
17507         [BZ #18470]
17508         * posix/fnmatch.c (fnmatch) [_LIBC]: Call __strnlen instead of
17509         strnlen.
17510         * conform/Makefile (test-xfail-XPG3/fnmatch.h/linknamespace):
17511         Remove variable.
17512         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
17513         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
17514         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
17515         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
17516         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
17517         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
17518         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
17519         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
17520         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
17521         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
17523         [BZ #18468]
17524         * wcsmbs/wmemchr.c (wmemchr): Rename to __wmemchr and define as
17525         weak alias of __wmemchr.  Use libc_hidden_weak.
17526         * include/wchar.h (__wmemchr): Declare.  Use libc_hidden_proto.
17527         * posix/fnmatch.c [HANDLE_MULTIBYTE] (MEMCHR): Use __wmemchr
17528         instead of wmemchr.
17530 2015-06-02  Roland McGrath  <roland@hack.frob.com>
17532         [BZ #18383]
17533         * elf/tst-tlsalign-extern.c: New file.
17534         * elf/tst-tlsalign-extern-static.c: New file.
17535         * elf/tst-tlsalign-vars.c: New file.
17536         * elf/Makefile (tests-static): Add tst-tlsalign-extern-static.
17537         [$(build-shared) = yes] (tests): Add tst-tlsalign-extern.
17538         ($(objpfx)tst-tlsalign-extern): Depend on tst-tlsalign-vars.o.
17539         ($(objpfx)tst-tlsalign-extern-static): Likewise.
17540         (test-xfail-tst-tlsalign-extern-static): New variable.
17542 2015-06-02  Joseph Myers  <joseph@codesourcery.com>
17544         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (INLINE_SYSCALL):
17545         Use variable name _sc_err instead of err.
17546         [__mips16] (INTERNAL_SYSCALL_NCS): Use variable name _sc_ret
17547         instead of ret.
17548         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
17549         (INLINE_SYSCALL): Use variable name _sc_err instead of err.
17550         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
17551         (INLINE_SYSCALL): Likewise.
17553         * string/strnlen.c [!STRNLEN] (__strnlen): Use libc_hidden_def.
17554         * include/string.h (__strnlen): Use libc_hidden_proto.
17555         * sysdeps/aarch64/strnlen.S (__strnlen): Use libc_hidden_def.
17556         * sysdeps/i386/i686/multiarch/strnlen-c.c [SHARED]
17557         (libc_hidden_def): Define __GI___strnlen as well as __GI_strnlen.
17558         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-power7.S
17559         (libc_hidden_def): Undefine and redefine.
17560         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c
17561         [SHARED] (libc_hidden_def): Define __GI___strnlen as well as
17562         __GI_strnlen.
17563         * sysdeps/powerpc/powerpc32/power7/strnlen.S (__strnlen): Use
17564         libc_hidden_def.
17565         * sysdeps/tile/tilegx/strnlen.c (__strnlen): Likewise.
17567         [BZ #18469]
17568         * wctype/wcfuncs.c (towlower): Rename to __towlower and define as
17569         weak alias of __towlower.  Use libc_hidden_weak.
17570         (towupper): Rename to __towupper and define as weak alias of
17571         __towupper.  Use libc_hidden_weak.
17572         * include/wctype.h (__towlower): Declare.  Use libc_hidden_proto.
17573         (__towupper): Likewise.
17574         * posix/fnmatch.c [HANDLE_MULTIBYTE && _LIBC] (FOLD): Use
17575         __towlower instead of towlower.
17577 2015-06-02  Roland McGrath  <roland@hack.frob.com>
17579         * stdlib/setenv.c [__GNUC__,__GNUC_MINOR__ < 4,7]: Use
17580         "-Wuninitialized" rather than "-Wmaybe-uninitialized" in pragma.
17582 2015-06-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
17584         * sysdeps/aarch64/libm-test-ulps: Update.
17586 2015-06-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17588         * sysdeps/unix/sysv/linux/i386/sysdep.h (HAVE_CLOCK_GETTIME_VSYSCALL):
17589         Define.
17590         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
17591         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
17592         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
17593         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
17594         * sysdeps/unix/sysv/linux/timespec_get.c: Include errno.h.
17595         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: Remove file.
17596         * sysdeps/unix/sysv/linux/x86/timespec_get.c: Likewise.
17598 2015-06-01  Martin Sebor  <msebor@redhat.com>
17600         [BZ #18116]
17601         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
17602         (__setcontext): Use extended four-operand version of mtsf whenever
17603         possible.
17604         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
17605         (__novec_swapcontext): Likewise.
17607 2015-06-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
17609         * benchtests/scripts/compare_bench.py: New file.
17610         * benchtests/scripts/import_bench.py (mean): New function.
17611         (split_list): Likewise.
17612         (do_for_all_timings): Likewise.
17613         (compress_timings): Likewise.
17615         * benchtests/scripts/import_bench.py: New file.
17616         * benchtests/scripts/validate_benchout.py: Import import_bench
17617         instead of jsonschema.
17618         (validate_bench): Remove function.
17619         (main): Use import_bench.
17621 2015-06-01  Steve Ellcey  <sellcey@imgtec.com>
17623         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use a union to
17624         copy data from cur_ifr->ifr_addr and cur_ifr->ifr_netmask.
17626 2015-05-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17628         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17630 2015-05-28  Roland McGrath  <roland@hack.frob.com>
17632         * sysdeps/nacl/exit-thread.h (__exit_thread): If not detached,
17633         set THREAD_SELF->tid to a magic value and futex-wake it.
17634         Pass its address to the thread_exit system call.
17635         * sysdeps/nacl/pthread-pids.h (__nacl_get_tid): Assert that TID's low
17636         bit is clear.
17637         * sysdeps/nacl/lowlevellock.h: New file.
17638         * sysdeps/nacl/lll_timedwait_tid.c: New file.
17640         * sysdeps/nacl/lowlevellock-futex.h (lll_futex_timed_wait):
17641         Add TIMEOUT to current time, don't subtract it.
17643 2015-05-28  H.J. Lu  <hongjiu.lu@intel.com>
17645         [BZ #2981]
17646         [BZ #18422]
17647         * Makefile ($(objpfx)tst-audit2): Depend on $(libdl).
17648         ($(objpfx)tst-audit2.out): Also depend on
17649         $(objpfx)tst-auditmod9b.so.
17650         * elf/tst-audit2.c: Include <dlfcn.h>.
17651         (calloc_called): New.
17652         (calloc): Allow to be called more than once.
17653         (do_test): dllopen/dlclose $ORIGIN/tst-auditmod9b.so.
17655 2015-05-28  Wilco Dijkstra  <wdijkstr@arm.com>
17657         * sysdeps/ieee754/dbl-64/s_fabs.c: (__fabs): Call __builtin_fabs.
17658         * sysdeps/ieee754/flt-32/s_fabsf.c: (__fabsf): Likewise.
17660 2015-05-27  Marko Myllynen  <myllynen@redhat.com>
17662         * stdlib/monetary.h: Fix comment.
17664 2015-05-26  Chris Metcalf  <cmetcalf@ezchip.com>
17666         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_SYSCALL):
17667         Avoid using variables in #defines that might cause shadowing.
17668         (INTERNAL_VSYSCALL_CALL): Likewise.
17670 2015-05-26  Roland McGrath  <roland@hack.frob.com>
17672         * sysdeps/nacl/lll_timedlock_wait.c: New file.
17674         * nptl/lowlevellock.c (__lll_timedlock_wait): Moved ...
17675         * nptl/lll_timedlock_wait.c: ... to this new file.
17676         * nptl/Makefile (libpthread-routines): Add it.
17677         * nptl/lowlevellock.c (__lll_timedwait_tid): Moved ...
17678         * nptl/lll_timedwait_tid.c: ... to this new file.
17679         * nptl/Makefile (libpthread-routines): Add it.
17680         * sysdeps/sparc/sparc32/lll_timedlock_wait.c: New file.
17681         * sysdeps/sparc/sparc32/lll_timedwait_tid.c: New file.
17682         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: New file.
17683         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c: New file.
17684         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c: New file.
17685         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: New file.
17686         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c: New file.
17687         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c: New file.
17688         * sysdeps/unix/sysv/linux/x86_64/lll_timedlock_wait.c: New file.
17689         * sysdeps/unix/sysv/linux/x86_64/lll_timedwait_tid.c: New file.
17691 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17693         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: Remove file.
17694         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
17695         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
17696         * sysdeps/unix/sysv/linux/aarch64/sysdep.h
17697         (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
17698         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
17699         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
17700         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
17701         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
17702         * sysdeps/unix/sysv/linux/tile/sysdep.h
17703         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
17704         * sysdeps/unix/sysv/linux/gettimeofday.c: New file: gettimeofday
17705         using vDSO syscall macro.
17707 2015-05-26  Andriy Rysin  <arysin@gmail.com>
17709         [BZ #17293]
17710         * uk_UA: Fix sorting order for Ukrainian locale
17712 2015-05-26  Marko Myllynen  <myllynen@redhat.com>
17714         * stdlib/monetary.h: Fix comment.
17716 2015-05-26  Szabolcs Nagy  <szabolcs.nagy@arm.com>
17718         [BZ #18234]
17719         * conform/data/sys/stat.h-data (struct stat): Add tests for st_atim,
17720         st_mtim and st_ctim members.
17721         * sysdeps/nacl/bits/stat.h (struct stat, struct stat64): Make
17722         st_atim, st_ctim, st_mtim visible under __USE_XOPEN2K8 only.
17723         * sysdeps/unix/sysv/linux/generic/bits/stat.h (struct stat,):
17724         (struct stat64): Likewise.
17725         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat,):
17726         (struct stat64): Likewise.
17727         * sysdeps/unix/sysv/linux/microblaze/bits/stat.h (struct stat,):
17728         (struct stat64): Likewise.
17730 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17732         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c (HAVE_VSYSCALL):
17733         Define and include sysdep-vdso.h.
17734         * sysdeps/unix/sysv/linux/s390/gettimeofday.c (HAVE_VSYSCALL):
17735         Likewise.
17736         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (HAVE_VSYSCALL):
17737         Likewise.
17738         * sysdeps/unix/sysv/linux/aarch64/init-first.c (__vdso_gettimeofday):
17739         Define with VDSO_SYMBOL and use PTR_MANGLE.
17740         (__vdso_clock_gettime): Likewise.
17741         (__vdso_clock_getres): Likewise.
17742         (_libc_vdso_platform_setup): Likewise.
17743         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
17744         Likewise.
17745         (_libc_vdso_platform_setup): Likewise.
17746         * sysdeps/unix/sysv/linux/powerpc/init-first.c (__vdso_gettimeofday):
17747         Likewise.
17748         (__vdso_clock_gettime): Likewise.
17749         (__vdso_clock_getres): Likewise.
17750         (__vdso_get_tbfreq): Likewise.
17751         (__vdso_getcpu): Likewise.
17752         (__vdso_time): Likewise.
17753         (__vdso_sigtramp_rt64): Likewise.
17754         (__vdso_signtramp32): Likewise.
17755         (__vdso_sigtramp_rt32): Likewise.
17756         (_libc_vdso_platform_setup): Likewise.
17757         * sysdeps/unix/sysv/linux/s390/init-first.c (__vdso_gettimeofay):
17758         Likewise.
17759         (__vdso_clock_gettime): Likewise.
17760         (__vdso_clock_getres): Likewise.
17761         (_libc_vdso_platform_setup): Likewise.
17762         * sysdeps/unix/sysv/linux/tile/init-first.c (__vdso_gettimeofday):
17763         Likewise.
17764         (__vdso_clock_gettime): Likewise.
17765         (_libc_vdso_platform_setup): Likewise.
17766         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
17767         Likewise.
17768         (__vdso_getcpu): Likewise.
17769         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h (__vdso_gettimeoday):
17770         Use VDSO_SYMBOL macro to define.
17771         (__vdso_clock_gettime): Likewise.
17772         (__vdso_clock_getres): Likewise.
17773         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h (__vdso_gettimeofday):
17774         Likewise.
17775         (__vdso_clock_gettime): Likewise.
17776         (__vdso_clock_getres): Likewise.
17777         (__vdso_get_tbfreq): Likewise.
17778         (__vdso_getcpu): Likewise.
17779         (__vdso_time): Likewise.
17780         (__vdso_sigtramp_rt64): Likewise.
17781         (__vdso_signtramp32): Likewise.
17782         (__vdso_sigtramp_rt32): Likewise.
17783         * sysdeps/unix/sysv/linux/s390/libc-vdso.h (__vdso_gettimeofday):
17784         Likewise.
17785         (__vdso_clock_gettime): Likewise.
17786         (__vdso_clock_getres): Likewise.
17787         * sysdeps/unix/sysv/linux/tile/libc-vdso.h (__vdso_gettimeofday):
17788         Likewise.
17789         (__vdso_clock_gettime): Likewise.
17790         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
17791         Likewise.
17792         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INLINE_VSYSCALL):  Remove
17793         macro.
17794         (INTERNAL_VSYSCALL): Likewise.
17795         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (INLINE_VSYSCALL):
17796         Remove macro.
17797         (INTERNAL_VSYSCALL): Likewise.
17798         (INTERNAL_VSYSCALL_NCS): Likewise.
17799         (INTERNAL_VSYSCALL_CALL): New macro.
17800         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
17801         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (INLINE_VSYSCALL):
17802         Likewise.
17803         (INTERNAL_VSYSCALL): Likewise.
17804         (INTERNAL_VSYSCALL_NCS): Likewise.
17805         (INTERNAL_VSYSCALL_CALL): New macro.
17806         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
17807         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
17808         (INLINE_VSYSCALL): Remove macro.
17809         (INTERNAL_VSYSCALL): Remove macro.
17810         (INTERNAL_VSYSCALL_NCS): Remove macro.
17811         (INTERNAL_VSYSCALL_CALL): New macro.
17812         (INTERNAL_VSYSCALL_CALL_TYPE): New macro.
17813         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL.
17814         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
17815         (HAVE_CLOCK_GETRES_VSYSCALL): New define.
17816         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
17817         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
17818         (INLINE_VSYSCALL): Remove macro.
17819         (INTERNAL_VSYSCALL): Likewise.
17820         (INTERNAL_VSYSCALL_NCS): Likewise.
17821         (INTERNAL_VSYSCALL_CALL): New macro.
17822         (INTERNAL_VSYSCALL_CALL_TYPE): Likewise.
17823         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL and
17824         PTR_DEMANGLE on vDSO pointer.
17825         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
17826         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Remove
17827         macro.
17828         (INTERNAL_SYSCALL): Likewise.
17829         (INTERNAL_VSYSCALL_NCS): Remove macro.
17830         (INTERNAL_VSYSCALL_CALL): New macro.
17831         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_VSYSCALL):
17832         Remove macro.
17833         (INTERNAL_VSYSCALL): Likewise.
17834         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Include
17835         sysdep-vdso.h instead of libc-vdso.h.
17836         * sysdeps/unix/sysv/linux/clock_getres.c (INTERNAL_VSYSCALL): Remove
17837         definition.
17838         (INLINE_VSYSCALL): Likewise.
17839         (HAVE_VSYSCALL) [HAVE_CLOCK_GETRES_VSYSCALL]: Define.
17840         * sysdeps/unix/sysv/linux/clock_gettime.c (INTERNAL_VSYSCALL): Remove
17841         definition.
17842         (INLINE_VSYSCALL): Likewise.
17843         (INTERNAL_VSYSCALL): Likewise.
17844         (HAVE_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
17845         * sysdeps/unix/sysv/linux/timespec_get.c
17846         (INTERNAL_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
17847         (timespec_get): Use ANSI prototype.
17848         * sysdeps/unix/sysv/linux/sysdep-vdso.h: New file: default vDSO macros
17849         and definition for Linux.
17851 2015-05-25  Andrew Senkevich  <andrew.senkevich@intel.com>
17853         * elf/Makefile (localplt-built-dso): libmvec added to localplt test.
17854         * include/libc-symbols.h: libmvec_hidden_* macro series added.
17856 2015-05-22  H.J. Lu  <hongjiu.lu@intel.com>
17858         [BZ #2981]
17859         [BZ #18410]
17860         * elf/dl-reloc.c (_dl_relocate_object): Don't issue an error
17861         for missing DT_PLTRELSZ.
17863 2015-05-22  Paul Eggert  <eggert@cs.ucla.edu>
17865         Remove obsolete aliases that broke 'locale -a'
17866         [BZ #18412]
17867         * intl/locale.alias: Remove obsolete aliases "bokmål" and "français"
17868         which caused 'locale -a' to output Latin-1 data in UTF-8 locales,
17869         breaking some applications that use 'locale -a' output.
17870         Change the encoding of this file from Latin-1 to ASCII to avoid
17871         other potential problems with people grepping this file.
17873 2015-05-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17875         * nptl/Makefile (CFLAGS-accept.c): Add -fexceptions and
17876         -fasynchronous-unwind-tables.
17877         (CFLAGS-sendto.c): Likewise.
17878         (CFLAGS-sendmsg.c): Likewise.
17879         (CFLAGS-connect.c): Likewise.
17880         (CFLAGS-recvmsg.c): Likewise.
17881         (CFLAGS-recvfrom.c): Likewise.
17882         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_invalid): Define.
17883         (SOCKETCALL): New macro: non-cancellable socketcall.
17884         (SOCKETCALL_CANCEL): New macro: cancellable socketcall.
17885         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = socket]: Remove
17886         internal_accept4, internal_recvmmsg, and internal_sendmmsg rules.
17887         * sysdeps/unix/sysv/linux/accept.c: New file.
17888         * sysdeps/unix/sysv/linux/bind.c: Likewise.
17889         * sysdeps/unix/sysv/linux/connect.c: Likewise.
17890         * sysdeps/unix/sysv/linux/getpeername.c: Likewise.
17891         * sysdeps/unix/sysv/linux/getsockname.c: Likewise.
17892         * sysdeps/unix/sysv/linux/getsockopt.c: Likewise.
17893         * sysdeps/unix/sysv/linux/listen.c: Likewise.
17894         * sysdeps/unix/sysv/linux/recv.c: Likewise.
17895         * sysdeps/unix/sysv/linux/recvfrom.c: Likewise.
17896         * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
17897         * sysdeps/unix/sysv/linux/send.c: Likewise.
17898         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
17899         * sysdeps/unix/sysv/linux/sendto.c: Likewise.
17900         * sysdeps/unix/sysv/linux/setsockopt.c: Likewise.
17901         * sysdeps/unix/sysv/linux/shutdown.c: Likewise.
17902         * sysdeps/unix/sysv/linux/socket.c: Likewise.
17903         * sysdeps/unix/sysv/linux/socketpair.c: Likewise.
17904         * sysdeps/unix/sysv/linux/recvmmsg.c (__internal_recvmmsg): Remove
17905         prototype.
17906         (recvmmsg) [__ASSUME_RECVMMSG_SOCKETCALL]: Add C based implementation.
17907         (recvmmsg) [!__ASSUME_RECVMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
17908         instead of __internal_xxx function.
17909         * sysdeps/unix/sysv/linux/accept4.c (__internal_accept4): Remove
17910         prototype.
17911         (accept4) [__ASSUME_ACCEPT4_SOCKETCALL]: Add C based implementation.
17912         (accept4) [!__ASSUME_ACCEPT4_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
17913         instead of __internal_xxx function.
17914         * sysdeps/unix/sysv/linux/sendmmsg.c (__internal_sendmmsg): Remove
17915         prototype.
17916         (sendmmsg) [__ASSUME_SENDMMSG_SOCKETCALL]: Add C based implementation.
17917         (sendmmsg) [!__ASSUME_SENDMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
17918         instead of __internal_xxx function.
17919         * sysdeps/unix/sysv/linux/accept.S: Remove file.
17920         * sysdeps/unix/sysv/linux/bind.S: Likewise.
17921         * sysdeps/unix/sysv/linux/connect.S: Likewise.
17922         * sysdeps/unix/sysv/linux/getpeername.S: Likewise.
17923         * sysdeps/unix/sysv/linux/getsockname.S: Likewise.
17924         * sysdeps/unix/sysv/linux/getsockopt.S: Likewise.
17925         * sysdeps/unix/sysv/linux/arm/internal_accept4.S: Likewise.
17926         * sysdeps/unix/sysv/linux/arm/internal_recvmmsg.S: Likewise.
17927         * sysdeps/unix/sysv/linux/arm/internal_sendmmsg.S: Likewise.
17928         * sysdeps/unix/sysv/linux/i386/accept4.S: Likewise.
17929         * sysdeps/unix/sysv/linux/i386/internal_accept4.S: Likewise.
17930         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
17931         * sysdeps/unix/sysv/linux/internal_accept4.S: Likewise.
17932         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: Likewise.
17933         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: Likewise.
17934         * sysdeps/unix/sysv/linux/listen.S: Likewise.
17935         * sysdeps/unix/sysv/linux/microblaze/socket.S: Likewise.
17936         * sysdeps/unix/sysv/linux/mips/mips32/internal_accept4.S: Likewise.
17937         * sysdeps/unix/sysv/linux/mips/mips32/internal_recvmmsg.S: Likewise.
17938         * sysdeps/unix/sysv/linux/mips/mips32/internal_sendmmsg.S: Likewise.
17939         * sysdeps/unix/sysv/linux/powerpc/powerpc32/socket.S: Likewise.
17940         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S: Likewise.
17941         * sysdeps/unix/sysv/linux/recv.S: Likewise.
17942         * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
17943         * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
17944         * sysdeps/unix/sysv/linux/s390/s390-32/socket.S: Likewise.
17945         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
17946         * sysdeps/unix/sysv/linux/send.S: Likewise.
17947         * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
17948         * sysdeps/unix/sysv/linux/sendto.S: Likewise.
17949         * sysdeps/unix/sysv/linux/setsockopt.S: Likewise.
17950         * sysdeps/unix/sysv/linux/sh/socket.S: Likewise.
17951         * sysdeps/unix/sysv/linux/shutdown.S: Likewise.
17952         * sysdeps/unix/sysv/linux/socketpair.S: Likewise.
17953         * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Likewise.
17954         * sysdeps/unix/sysv/linux/sparc/sparc64/socket.S: Likewise.
17955         * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
17956         * sysdeps/unix/sysv/linux/hppa/socket.S: Likewise.
17957         * sysdeps/unix/sysv/linux/kernel-features.h: Adjust comment on how
17958         socketcall is implemented in GLIBC.
17960 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
17962         * soft-fp/fmadf4.c: Include <libc-internal.h>.
17963         (__fma): Ignore uninitialized warnings around packing.
17964         * soft-fp/fmasf4.c: Include <libc-internal.h>.
17965         (__fmaf): Ignore uninitialized warnings around packing.
17966         * soft-fp/fmatf4.c: Include <libc-internal.h>.
17967         (__fmal): Ignore uninitialized warnings around packing.
17969         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <libc-internal.h>.
17970         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
17971         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <libc-internal.h>.
17972         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
17974         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Make case 9 in
17975         switch statement into default case.
17976         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Likewise.
17978         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Don't use
17979         a conditional in forcing "inexact".
17980         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
17981         Likewise.
17983 2015-05-22  Roland McGrath  <roland@hack.frob.com>
17985         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
17986         Use a separate INTERNAL_SYSCALL_DECL (err); in a local scope
17987         for each INTERNAL_SYSCALL use.
17989 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
17991         [BZ #438]
17992         * posix/unistd.h (_POSIX2_C_VERSION): New macro.
17993         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): Remove
17994         variable.
17996         [BZ #18444]
17997         * string/basename.c (basename): Rename to __basename and define as
17998         weak alias of __basename.  Use libc_hidden_weak.
17999         * include/string.h (__basename): Declare.  Use libc_hidden_proto.
18000         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Call
18001         __basename instead of basename.
18002         * conform/Makefile (test-xfail-POSIX2008/unistd.h/linknamespace):
18003         Remove variable.
18004         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
18006 2015-05-18  Florian Weimer  <fweimer@redhat.com>
18008         * libio/libioP.h (_IO_MEMBER_TYPE, _IO_CAST_FIELD_ACCESS)
18009         (_IO_JUMPS_FILE_plus): New.
18010         (_IO_WIDE_JUMPS, _IO_CHECK_WIDE, _IO_JUMPS_FUNC): Use
18011         _IO_CAST_FIELD_ACCESS.
18012         * libio/fileops.c (libc_hidden_def, _IO_file_setbuf_mmap,
18013         mmap_remap_check, decide_maybe_mmap): Use _IO_JUMPS_FILE_plus.
18014         * libio/freopen.c (freopen): Likewise.
18015         * libio/freopen64.c (freopen64): Likewise.
18016         * libio/iofopen.c (__fopen_maybe_mmap): Likewise.
18017         * libio/iofopncook.c (_IO_old_fopencookie): Likewise.
18018         * libio/iofwide.c (_IO_fwide): Likewise.
18019         * libio/memstream.c (open_memstream): Likewise.
18020         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
18021         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
18022         * libio/oldiopopen.c (_IO_old_popen): Likewise.
18024 2015-05-21  Joseph Myers  <joseph@codesourcery.com>
18026         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Include <libc-internal.h>.
18027         (__ieee754_lgamma_r): Ignore uninitialized warnings around use of
18028         NADJ.
18029         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Include <libc-internal.h>.
18030         (__ieee754_lgammaf_r): Ignore uninitialized warnings around use of
18031         NADJ.
18032         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Include <libc-internal.h>.
18033         (__ieee754_lgammal_r): Ignore uninitialized warnings around use of
18034         NADJ.
18036         * sysdeps/ieee754/dbl-64/mpa.c (norm): Remove if condition on
18037         (p == 4) case.
18039         * conform/linknamespace.pl (@whitelist): Add re_syntax_options.
18040         * conform/Makefile (test-xfail-UNIX98/regex.h/linknamespace):
18041         Remove variable.
18042         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
18043         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
18044         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
18046 2015-05-21  Florian Weimer  <fweimer@redhat.com>
18048         * stdio-common/vfprintf.c (LABEL, JUMP_TABLE_BASE_LABEL, REF):
18049         Adjust jump table label generation macros.
18051 2015-05-21  Florian Weimer  <fweimer@redhat.com>
18053         * stdio-common/vfprintf.c (vfprintf): Move local variables
18054         args_malloced, specs, specs_malloced, and the code after
18055         do_positional to the printf_positional function.
18056         (printf_positional): New function.
18058 2015-05-21  Florian Weimer  <fweimer@redhat.com>
18060         * stdio-common/vfprintf.c (jump_table): Move out of the vfprintf
18061         function.
18062         (NOT_IN_JUMP_RANGE, CHAR_CLASS, LABEL, REF, JUMP, STEP0_3_TABLE,
18063         STEP4_TABLE, process_arg): Move macro definitions
18064         out of the vfprintf function.  (Cosmetic change only.)
18066 2015-05-21  Carlos O'Donell  <carlos@redhat.com>
18068         * benchtests/Makefile (stdio-common-bench): Define.
18069         (benchset): Add stdio-common-bench.
18070         * sprintf-inputs: New file.
18071         * sprintf-source.c: New file.
18073 2015-05-21  Andreas Schwab  <schwab@suse.de>
18075         [BZ #13028]
18076         [BZ #17053]
18077         * resolv/res_init.c (__res_vinit): Remove use of ext.nsmap member
18078         of struct __res_state.
18079         * resolv/res_send.c (__libc_res_nsend): Likewise.
18080         (get_nsaddr): New function.
18081         (res_ourserver_p, send_vc, reopen): Use it instead of accessing
18082         statp directly.
18084 2015-05-20  Joseph Myers  <joseph@codesourcery.com>
18086         * conform/GlibcConform.pm ($CFLAGS{"POSIX"}): Use
18087         -D_POSIX_C_SOURCE=199506L.
18089         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Require.
18091         * conform/data/unistd.h-data (_POSIX_VERSION): Require.
18092         (_POSIX2_C_VERSION): Require if [POSIX || XPG3 || XPG4 || UNIX98].
18093         Do not mention otherwise.
18094         [POSIX] (_XOPEN_VERSION): Do not expect.
18095         [POSIX] (_XOPEN_XCU_VERSION): Likewise.
18096         [POSIX] (_POSIX2_C_BIND): Likewise.
18097         [POSIX] (_POSIX2_VERSION): Likewise.
18098         [POSIX] (_XOPEN_XPG2): Likewise.
18099         [POSIX] (_XOPEN_XPG3): Likewise.
18100         [POSIX] (_XOPEN_XPG4): Likewise.
18101         [POSIX] (_XOPEN_UNIX): Likewise.
18102         [POSIX] (_POSIX_ADVISORY_INFO): Likewise.
18103         [POSIX] (_POSIX_BARRIERS): Likewise.
18104         [POSIX] (_POSIX_CLOCK_SELECTION): Likewise.
18105         [POSIX] (_POSIX_CPUTIME): Likewise.
18106         [POSIX] (_POSIX_MONOTONIC_CLOCK): Likewise.
18107         [POSIX] (_POSIX_READER_WRITER_LOCKS): Likewise.
18108         [POSIX] (_POSIX_SHELL): Likewise.
18109         [POSIX] (_POSIX_SPAWN): Likewise.
18110         [POSIX] (_POSIX_SPIN_LOCKS): Likewise.
18111         [POSIX] (_POSIX_SPORADIC_SERVER): Likewise.
18112         [POSIX] (_POSIX_THREAD_CPUTIME): Likewise.
18113         [POSIX] (_POSIX_TYPED_MEMORY_OBJECTS): Likewise.
18114         [POSIX] (_POSIX_THREAD_SPORADIC_SERVER): Likewise.
18115         [POSIX] (_XBS5_ILP32_OFF32): Likewise.
18116         [POSIX] (_XBS5_ILP32_OFBIG): Likewise.
18117         [POSIX] (_XBS5_LP64_OFF64): Likewise.
18118         [POSIX] (_XBS5_LPBIG_OFFBIG): Likewise.
18119         [POSIX] (_POSIX_TIMEOUTS): Likewise.
18120         [POSIX] (_POSIX2_PBS): Likewise.
18121         [POSIX] (_POSIX2_PBS_ACCOUNTING): Likewise.
18122         [POSIX] (_POSIX2_PBS_CHECKPOINT): Likewise.
18123         [POSIX] (_POSIX2_PBS_LOCATE): Likewise.
18124         [POSIX] (_POSIX2_PBS_MESSAGE): Likewise.
18125         [POSIX] (_POSIX2_PBS_TRACK): Likewise.
18126         [POSIX] (_POSIX_TIMESTAMP_RESOLUTION): Likewise.
18127         [POSIX] (_CS_XBS5_ILP32_OFF32_CFLAGS): Likewise.
18128         [POSIX] (_CS_XBS5_ILP32_OFF32_LDFLAGS): Likewise.
18129         [POSIX] (_CS_XBS5_ILP32_OFF32_LIBS): Likewise.
18130         [POSIX] (_CS_XBS5_ILP32_OFF32_LINTFLAGS): Likewise.
18131         [POSIX] (_CS_XBS5_ILP32_OFFBIG_CFLAGS): Likewise.
18132         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LDFLAGS): Likewise.
18133         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LIBS): Likewise.
18134         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LINTFLAGS): Likewise.
18135         [POSIX] (_CS_XBS5_LP64_OFF64_CFLAGS): Likewise.
18136         [POSIX] (_CS_XBS5_LP64_OFF64_LDFLAGS): Likewise.
18137         [POSIX] (_CS_XBS5_LP64_OFF64_LIBS): Likewise.
18138         [POSIX] (_CS_XBS5_LP64_OFF64_LINTFLAGS): Likewise.
18139         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_CFLAGS): Likewise.
18140         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LDFLAGS): Likewise.
18141         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LIBS): Likewise.
18142         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LINTFLAGS): Likewise.
18143         [POSIX] (_SC_2_C_BIND): Likewise.
18144         [POSIX] (_SC_2_C_VERSION): Likewise.
18145         [POSIX] (_SC_2_PBS): Likewise.
18146         [POSIX] (_SC_2_PBS_ACCOUNTING): Likewise.
18147         [POSIX] (_SC_2_PBS_CHECKPOINT): Likewise.
18148         [POSIX] (_SC_2_PBS_LOCATE): Likewise.
18149         [POSIX] (_SC_2_PBS_MESSAGE): Likewise.
18150         [POSIX] (_SC_2_PBS_TRACK): Likewise.
18151         [POSIX] (_SC_ATEXIT_MAX): Likewise.
18152         [POSIX] (_SC_BARRIERS): Likewise.
18153         [POSIX] (_SC_BASE): Likewise.
18154         [POSIX] (_SC_CLOCK_SELECTION): Likewise.
18155         [POSIX] (_SC_DEVICE_IO): Likewise.
18156         [POSIX] (_SC_DEVICE_SPECIFIC): Likewise.
18157         [POSIX] (_SC_DEVICE_SPECIFIC_R): Likewise.
18158         [POSIX] (_SC_FD_MGMT): Likewise.
18159         [POSIX] (_SC_FIFO): Likewise.
18160         [POSIX] (_SC_FILE_ATTRIBUTES): Likewise.
18161         [POSIX] (_SC_FILE_LOCKING): Likewise.
18162         [POSIX] (_SC_FILE_SYSTEM): Likewise.
18163         [POSIX] (_SC_IOV_MAX): Likewise.
18164         [POSIX] (_SC_MONOTONIC_CLOCK): Likewise.
18165         [POSIX] (_SC_NETWORKING): Likewise.
18166         [POSIX] (_SC_PAGE_SIZE): Likewise.
18167         [POSIX] (_SC_PASS_MAX): Likewise.
18168         [POSIX] (_SC_PIPE): Likewise.
18169         [POSIX] (_SC_READER_WRITER_LOCKS): Likewise.
18170         [POSIX] (_SC_REGEXP): Likewise.
18171         [POSIX] (_SC_SHELL): Likewise.
18172         [POSIX] (_SC_SIGNALS): Likewise.
18173         [POSIX] (_SC_SINGLE_PROCESS): Likewise.
18174         [POSIX] (_SC_SPIN_LOCKS): Likewise.
18175         [POSIX] (_SC_TYPED_MEMORY_OBJECTS): Likewise.
18176         [POSIX] (_SC_USER_GROUPS): Likewise.
18177         [POSIX] (_SC_USER_GROUPS_R): Likewise.
18178         [POSIX] (_SC_STREAMS): Likewise.
18179         [POSIX] (_SC_XBS5_ILP32_OFF32): Likewise.
18180         [POSIX] (_SC_XBS5_ILP32_OFFBIG): Likewise.
18181         [POSIX] (_SC_XBS5_LP64_OFF64): Likewise.
18182         [POSIX] (_SC_XBS5_LPBIG_OFFBIG): Likewise.
18183         [POSIX] (_SC_THREAD_ROBUST_PRIO_INHERIT): Likewise.
18184         [POSIX] (_SC_THREAD_ROBUST_PRIO_PROTECT): Likewise.
18185         [POSIX] (_PC_FILESIZEBITS): Likewise.
18186         [POSIX] (_PC_REC_INCR_XFER_SIZE): Likewise.
18187         [POSIX] (_PC_REC_MAX_XFER_SIZE): Likewise.
18188         [POSIX] (_PC_REC_MIN_XFER_SIZE): Likewise.
18189         [POSIX] (_PC_REC_XFER_ALIGN): Likewise.
18190         [POSIX] (uid_t): Likewise.
18191         [POSIX] (gid_t): Likewise.
18192         [POSIX] (off_t): Likewise.
18193         [POSIX] (pid_t): Likewise.
18194         [POSIX] (cuserid): Allow.
18195         (_SC_2_CHAR_TERM): Require constant.
18196         (_POSIX_ASYNCHRONOUS_IO): Remove duplicate optional-constant.
18197         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): New
18198         variable.
18200 2015-05-20  Roland McGrath  <roland@hack.frob.com>
18202         * sysdeps/nacl/pthread-pids.h: New file.
18203         * sysdeps/nacl/createthread.c: Include <pthread-pids.h>.
18204         (create_thread): Use __nacl_get_tid to initialize PD->tid.
18206         * nptl/pthread-pids.h: New file.
18207         * sysdeps/unix/sysv/linux/pthread-pids.h: New file.
18208         * nptl/nptl-init.c: Include <pthread-pids.h>.
18209         (__pthread_initialize_minimal_internal):
18210         Call __pthread_initialize_pids instead of set_tid_address syscall.
18212         * sysdeps/unix/sysv/linux/usleep.c: Moved to ...
18213         * sysdeps/posix/usleep.c: ... here.
18215 2015-05-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
18217         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = misc)]: Remove
18218         call_pselect6 object.
18219         [$(subdir) = io]: Remove call_sync_file_range object.
18220         * sysdeps/unix/sysv/linux/i386/call_pselect6.S: Remove file.
18221         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Remove file.
18222         * sysdeps/unix/sysv/linux/i386/pselect.c: Remove file.
18223         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: Remove file.
18225 2015-05-20  Wilco Dijkstra  <wdijkstr@arm.com>
18227         * math/s_cproj.c: Add include "math_private.h".
18228         * math/s_cprojf.c: Likewise.
18229         * math/s_cprojl.c: Likewise.
18231 2015-05-19  Joseph Myers  <joseph@codesourcery.com>
18233         [BZ #18244]
18234         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Ignore explicit
18235         high mantissa bit when testing whether P is a NaN.
18236         * math/libm-test.inc (remainder_test_data): Add more tests.
18237         (remquo_test_data): Likewise.
18239         [BZ #18049]
18240         * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): For exponents
18241         below -32, return the argument, with underflow if subnormal.
18242         * math/auto-libm-test-in: Add more tests of atanh.
18243         * math/auto-libm-test-out: Regenerated.
18245 2015-05-19  Roland McGrath  <roland@hack.frob.com>
18247         [BZ #18434]
18248         * nptl/tst-sem15.c: New file.
18249         * nptl/Makefile (tests): Add it.
18250         * nptl/sem_post.c (__new_sem_post) [!__HAVE_64B_ATOMICS]:
18251         s/<</>>/ to fix typo in EOVERFLOW check.
18252         * sysdeps/sparc/sparc32/sem_post.c (__new_sem_post): Likewise.
18254 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
18256         * manual/strings.texi (envz_remove): Fix typo in safety
18257         annotations.
18259 2015-05-19  Paul Eggert  <eggert@cs.ucla.edu>
18260             Steve Ellcey  <sellcey@imgtec.com>
18262         * inet/rcmd.c (rresvport_af): Change ss to anonymous union
18263         in order to avoid strict alias warnings.
18264         (iruserok_af): Ditto for ra.
18266 2015-05-19  James Lemke  <jwlemke@codesourcery.com>
18268         [BZ #17581]
18269         * malloc/hooks.c
18270         (magicbyte): Convert to a function and avoid returning 0x01.
18271         (mem2mem_check): Avoid using a length byte equal to the magic byte.
18272         (mem2chunk_check): Fix unsigned comparisons to zero.
18273         Hoist defs of sz and magic.
18275 2015-05-19  Richard Henderson  <rth@redhat.com>
18277         * soft-fp/op-common.h (_FP_FROM_INT): Don't write to R.
18279         * sysdeps/alpha/fpu/libm-test-ulps: Update.
18281 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
18283         [BZ #16159]
18284         * malloc/Makefile (tests): New test case tst-malloc-backtrace.
18285         * malloc/arena.c (arena_lock): Check if arena is corrupt.
18286         (reused_arena): Find a non-corrupt arena.
18287         (heap_trim): Pass arena to unlink.
18288         * malloc/hooks.c (malloc_check_get_size): Pass arena to
18289         malloc_printerr.
18290         (top_check): Likewise.
18291         (free_check): Likewise.
18292         (realloc_check): Likewise.
18293         * malloc/malloc.c (malloc_printerr): Add arena argument.
18294         (unlink): Likewise.
18295         (munmap_chunk): Adjust.
18296         (ARENA_CORRUPTION_BIT): New macro.
18297         (arena_is_corrupt): Likewise.
18298         (set_arena_corrupt): Likewise.
18299         (sysmalloc): Use mmap if there are no usable arenas.
18300         (_int_malloc): Likewise.
18301         (__libc_malloc): Don't fail if arena_get returns NULL.
18302         (_mid_memalign): Likewise.
18303         (__libc_calloc): Likewise.
18304         (__libc_realloc): Adjust for additional argument to
18305         malloc_printerr.
18306         (_int_free): Likewise.
18307         (malloc_consolidate): Likewise.
18308         (_int_realloc): Likewise.
18309         (_int_memalign): Don't touch corrupt arenas.
18310         * malloc/tst-malloc-backtrace.c: New test case.
18312         * Makefile (summarize-tests): Fix return value on success.
18314         * manual/string.texi (Envz Functions): Add envz_remove.
18316 2015-05-18  Roland McGrath  <roland@hack.frob.com>
18318         * sysdeps/posix/opendir.c: Include <stdbool.h>.
18319         (invalid_name): New function, broken out of ...
18320         (__opendirat): ... here.  Call it.
18321         (need_isdir_precheck): New function, broken out of ...
18322         (__opendirat): ... here.  Call it.
18323         Use __fxstatat64, not __xstatat64.
18324         (opendir_oflags): New function, broken out of ...
18325         (__opendirat): ... here.  Call it.
18326         (opendir_tail): New function, broken out of ...
18327         (__opendirat): ... here.  Call it.
18328         (__opendir): Call invalid_name, need_isdir_precheck, __xstat64, and
18329         opendir_tail, rather than punting to __opendirat.
18330         (__opendirat): Conditionalize function definition on [IS_IN (libc)].
18332 2015-05-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
18334         * .gitignore: Ignore generated *.pyc.
18336 2015-05-18  Arjun Shankar  <arjun.is@lostca.se>
18338         * include/stdio.h: Define __need_wint_t.
18339         * test-skeleton.c: Avoid `for' loop initial declaration.
18340         * nptl/tst-initializers1.c: Use test-skeleton.c.
18342 2015-05-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
18344         [BZ #18418]
18345         * stdlib/tst-setcontext3.sh: Remove non-portable array use.
18347 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
18349         [BZ #16352]
18350         * sysdeps/i386/fpu/e_atanh.S (dbl_min): New object.
18351         (__ieee754_atanh): Force underflow exception for results with
18352         small absolute value.
18353         * sysdeps/i386/fpu/e_atanhf.S (flt_min): New object.
18354         (__ieee754_atanhf): Force underflow exception for results with
18355         small absolute value.
18356         * sysdeps/ieee754/dbl-64/e_atanh.c: Include <float.h>.
18357         (__ieee754_atanh): Force underflow exception for results with
18358         small absolute value.
18359         * sysdeps/ieee754/flt-32/e_atanhf.c: Include <float.h>.
18360         (__ieee754_atanhf): Force underflow exception for results with
18361         small absolute value.
18362         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Include <float.h>.
18363         (__ieee754_atanhl): Force underflow exception for results with
18364         small absolute value.
18365         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Include <float.h>.
18366         (__ieee754_atanhl): Force underflow exception for results with
18367         small absolute value.
18368         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Include <float.h>.
18369         (__ieee754_atanhl): Force underflow exception for results with
18370         small absolute value.
18371         * math/auto-libm-test-in: Do not allow missing underflow
18372         exceptions from atanh.
18373         * math/auto-libm-test-out: Regenerated.
18375         [BZ #18221]
18376         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use 2**-13 not
18377         2**-28 as threshold for returning x or +/- 1/x.
18378         * math/auto-libm-test-in: Add more tests of tan.
18379         * math/auto-libm-test-out: Regenerated.
18381         [BZ #18220]
18382         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
18383         2**26 not 2**58 as threshold for returning x * (log (x) - 1).
18384         * math/auto-libm-test-in: Add another test of lgamma.
18385         * math/auto-libm-test-out: Regenerated.
18387 2015-05-15  Wilco Dijkstra  <wdijkstr@arm.com>
18389         * stdio-common/printf_fp.c (___printf_fp): Use abs.
18390         * stdlib/gmp-impl.h (ABS): Remove define.  (ABSIZ): Remove.
18391         * sysdeps/ieee754/dbl-64/branred.c (__branred): Use fabs.
18392         * sysdeps/ieee754/dbl-64/dla.h (EADD): Use fabs.
18393         (ESUB): Use fabs.  (ADD2): Use fabs.  (SUB2): Use fabs.
18394         (ADD2A): Use fabs.  (SUB2A): Use fabs.
18395         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use fabs.
18396         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Use fabs.
18397         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use fabs.
18398         (log1): Use fabs.  (my_log2): Use fabs.
18399         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): Use fabs.
18400         * sysdeps/ieee754/dbl-64/mpa.h (ABS): Remove define.
18401         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use fabs.
18402         * sysdeps/ieee754/dbl-64/mydefs.h (ABS): Remove define.
18403         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use fabs.
18404         (__cos): Use fabs.  (slow): Use fabs.  (slow2): Use fabs.
18405         (sloww): Use fabs.  (sloww1): Use fabs.  (sloww2): Use fabs.
18406         (bslow1): Use fabs.  (bslow2): Use fabs.  (cslow2): Use fabs.
18407         (csloww): Use fabs.  (csloww1): Use fabs.  (csloww2): Use fabs.
18408         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Use fabs.
18409         * sysdeps/x86_64/fpu/multiarch/e_log.c: add math.h include.
18411 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
18413         [BZ #18217]
18414         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Use 2**-26 not 2**-56
18415         as threshold for returning 1 - x.
18416         * math/auto-libm-test-in: Add more tests of erfc.
18417         * math/auto-libm-test-out: Regenerated.
18419 2015-05-14  Joseph Myers  <joseph@codesourcery.com>
18421         [BZ #18196]
18422         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Use 2^25 not 2^34 as
18423         threshold for large arguments.
18424         * math/auto-libm-test-in: Add another test of atan.
18425         * math/auto-libm-test-out: Regenerated.
18427         [BZ #16339]
18428         * sysdeps/i386/fpu/s_log1p.S (dbl_min): New object.
18429         (__log1p): Force underflow exception for results with small
18430         absolute value.
18431         * sysdeps/i386/fpu/s_log1pf.S (flt_min): New object.
18432         (__log1pf): Force underflow exception for results with small
18433         absolute value.
18434         * sysdeps/ieee754/dbl-64/s_log1p.c: Include <float.h>.
18435         (__log1p): Force underflow exception for results with small
18436         absolute value.
18437         * sysdeps/ieee754/flt-32/s_log1pf.c: Include <float.h>.
18438         (__log1pf): Force underflow exception for results with small
18439         absolute value.
18440         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Include <float.h>.
18441         (__log1pl): Force underflow exception for results with small
18442         absolute value.
18443         * math/auto-libm-test-in: Do not allow missing underflow
18444         exceptions from log1p.
18445         * math/auto-libm-test-out: Regenerated.
18447 2015-05-14  Jakub Bogusz  <qboosh@pld-linux.org>
18448             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
18450         [BZ #16704]
18451         * sysdeps/unix/make-syscalls.sh: Remove non-portable echo usage.
18453 2015-05-14  Andrew Senkevich  <andrew.senkevich@intel.com>
18455         * Makeconfig (rpath-dirs, all-subdirs): Added mathvec folder.
18456         (libmvec): New variable.
18457         * configure.ac: Added option for mathvec build.
18458         * configure: Regenerated.
18459         * mathvec/Depend: New file.
18460         * mathvec/Makefile: New file.
18461         * shlib-versions: Added libmvec.
18462         * math/Makefile: Added rule for libm.so installation.
18464         * bits/math-vector.h: New file.
18465         * bits/libm-simd-decl-stubs.h: New header.
18466         * math/Makefile (headers): Added new header
18467         libm-simd-decl-stubs.h.
18468         * math/math.h (__MATHCALL_VEC): New macro.
18470         * math/gen-libm-have-vector-test.sh: Script generates series of macros
18471         for conditions in testing functions.
18472         * math/Makefile: Added call of libm-have-vector-test.sh.
18473         * math/libm-test.inc (HAVE_VECTOR): New macros.
18475         * math/libm-test.inc: START refactored.
18476         * math/test-double.c (TEST_MATHVEC): Add define.
18477         * math/test-float.c: Likewise.
18478         * math/test-idouble.c: Likewise.
18479         * math/test-ifloat.c: Likewise.
18480         * math/test-ildoubl.c: Likewise.
18481         * math/test-ldouble.c: Likewise.
18482         * sysdeps/generic/math-tests-arch.h
18483         (INIT_ARCH_EXT, CHECK_ARCH_EXT): New helper macros for runtime
18484         architecture check.
18486         * math/test-double.c (FUNC_TEST): New macro.
18487         * math/test-float.c: Likewise.
18488         * math/test-idouble.c: Likewise.
18489         * math/test-ifloat.c: Likewise.
18490         * math/test-ildoubl.c: Likewise.
18491         * math/test-ldouble.c: Likewise.
18492         * math/libm-test.inc: Use FUNC_TEST for name of tested functions.
18494 2015-05-13  Roland McGrath  <roland@hack.frob.com>
18496         * sysdeps/nacl/fdopendir.c: New file.
18498         * dirent/scandir-tail.c: New file.
18499         * dirent/scandir64-tail.c: New file.
18500         * dirent/Makefile (routines): Add them.
18501         (CFLAGS-scandir-tail.c, CFLAGS-scandir64-tail.c): New variables.
18502         * include/dirent.h (__scandir_tail, __scandir64_tail): Declare them.
18503         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Macro removed.
18504         [!SCANDIR] (SCANDIR_TAIL): New macro.
18505         (SCANDIR): Call __opendir and __scandir_tail, not __scandirat.
18506         * dirent/scandir64.c [!_DIRENT_MATCHES_DIRENT64]
18507         (SCANDIRAT): Macro removed.
18508         (SCANDIR_TAIL): New macro.
18509         * dirent/scandirat.c [!SCANDIRAT] (READDIR): Macro removed.
18510         [!SCANDIRAT] (SCANDIR_TAIL): New macro.
18511         (SCANDIRAT): Just call __opendirat and __scandir_tail.
18512         * dirent/scandirat64.c [!_DIRENT_MATCHES_DIRENT64]
18513         (READDIR): Macro removed.
18514         (SCANDIR_TAIL): New macro.
18515         * sysdeps/unix/sysv/linux/i386/scandir64.c (READDIR): Macro removed.
18516         (SCANDIR_TAIL): New macro.
18518         * dirent/scandirat.c (__scandir_cancel_handler): Function moved ...
18519         * dirent/scandir-cancel.c: ... to this new file.
18520         * dirent/Makefile (routines): Add it.
18521         * dirent/scandirat64.c (SKIP_SCANDIR_CANCEL): Macro removed.
18522         * sysdeps/unix/sysv/linux/i386/scandir64.c
18523         (SKIP_SCANDIR_CANCEL): Macro removed.
18524         * include/dirent.h (__scandir_cancel_handler): Add attribute_hidden.
18526         * dirent/tst-scandir.c: New file.
18527         * dirent/tst-scandir64.c: New file.
18528         * dirent/Makefile (tests): Add them.
18530 2015-05-13  H.J. Lu  <hongjiu.lu@intel.com>
18532         [BZ #18409]
18533         * sysdeps/unix/make-syscalls.sh: Remove a trailing `\'.
18535 2015-05-13  Szabolcs Nagy  <szabolcs.nagy@arm.com>
18537         * sysdeps/aarch64/tls-macros.h (TLS_GD): Add "cc" to the clobber
18538         list.
18540 2015-05-13  Leonhard Holz  <leonhard.holz@web.de>
18542         * benchtests/bench-strcoll.c: New benchmark.
18543         * benchtests/Makefile: Generate locales and run benchmark.
18544         * benchtests/strcoll-inputs/filelist#C: New benchmark input file.
18545         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
18546         * benchtests/strcoll-inputs/lorem_ipsum#ar_SA.UTF-8: Likewise.
18547         * benchtests/strcoll-inputs/lorem_ipsum#cs_CZ.UTF-8: Likewise.
18548         * benchtests/strcoll-inputs/lorem_ipsum#da_DK.UTF-8: Likewise.
18549         * benchtests/strcoll-inputs/lorem_ipsum#el_GR.UTF-8: Likewise.
18550         * benchtests/strcoll-inputs/lorem_ipsum#en_GB.UTF-8: Likewise.
18551         * benchtests/strcoll-inputs/lorem_ipsum#en_US.UTF-8: Likewise.
18552         * benchtests/strcoll-inputs/lorem_ipsum#es_ES.UTF-8: Likewise.
18553         * benchtests/strcoll-inputs/lorem_ipsum#fr_FR.UTF-8: Likewise.
18554         * benchtests/strcoll-inputs/lorem_ipsum#hi_IN.UTF-8: Likewise.
18555         * benchtests/strcoll-inputs/lorem_ipsum#hu_HU.UTF-8: Likewise.
18556         * benchtests/strcoll-inputs/lorem_ipsum#is_IS.UTF-8: Likewise.
18557         * benchtests/strcoll-inputs/lorem_ipsum#it_IT.UTF-8: Likewise.
18558         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Likewise.
18559         * benchtests/strcoll-inputs/lorem_ipsum#ja_JP.UTF-8: Likewise.
18560         * benchtests/strcoll-inputs/lorem_ipsum#pl_PL.UTF-8: Likewise.
18561         * benchtests/strcoll-inputs/lorem_ipsum#pt_PT.UTF-8: Likewise.
18562         * benchtests/strcoll-inputs/lorem_ipsum#ru_RU.UTF-8: Likewise.
18563         * benchtests/strcoll-inputs/lorem_ipsum#sr_RS.UTF-8: Likewise.
18564         * benchtests/strcoll-inputs/lorem_ipsum#sv_SE.UTF-8: Likewise.
18565         * benchtests/strcoll-inputs/lorem_ipsum#tr_TR.UTF-8: Likewise.
18566         * benchtests/strcoll-inputs/lorem_ipsum#vi_VN.UTF-8: Likewise.
18567         * benchtests/strcoll-inputs/lorem_ipsum#zh_CN.UTF-8: Likewise.
18569 2015-05-12  Ondřej Bílka  <neleai@seznam.cz>
18571         * sysdeps/x86_64/multiarch/strcspn.S: Remove plt indirection.
18572         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
18574 2015-05-12  Roland McGrath  <roland@hack.frob.com>
18576         * posix/uname-values.h: New file.
18577         * posix/uname.c: Include that instead of <config-name.h>.
18578         * sysdeps/nacl/uname-values.h: New file.
18579         * sysdeps/arm/nacl/uname-values.h: New file.
18581 2015-05-12  Joseph Myers  <joseph@codesourcery.com>
18583         * conform/linknamespace.pl (list_syms): Remove \[.*?\] before
18584         splitting into fields.
18586 2015-05-12  Leonhard Holz  <leonhard.holz@web.de>
18588         * locale/categories.def: Define _NL_COLLATE_ENCODING_TYPE.
18589         * locale/langinfo.h: Add _NL_COLLATE_ENCODING_TYPE to attribute list.
18590         * locale/localeinfo.h: Add enum collation_encoding_type.
18591         * locale/C-collate.c: Set _NL_COLLATE_ENCODING_TYPE to 8bit.
18592         * programs/ld-collate.c (collate_output): Add encoding type info.
18593         * string/strcoll_l.c (STRDIFF): New function.
18594         * (STRCOLL): Use STRDIFF to skip over equal prefix.
18595         * wcsmbs/wcscoll_l.c: Define STRDIFF.
18597 2015-05-11  Joseph Myers  <joseph@codesourcery.com>
18599         [BZ #18397]
18600         * sysdeps/mips/mips32/fpu/fpu_control.c: Move to ....
18601         * sysdeps/mips/mips32/fpu/fpucw-helpers.c: ... here.  Include
18602         <fpu_control.h> instead of <math/fpu_control.c>.
18603         * sysdeps/mips/mips32/fpu/Makefile: New file.
18605 2015-05-11  Andreas Schwab  <schwab@suse.de>
18607         [BZ #18007]
18608         * nis/nss_compat/compat-grp.c (internal_endgrent): Don't call
18609         nss_endgrent.
18610         (_nss_compat_endgrent): Call nss_endgrent.
18611         * nis/nss_compat/compat-pwd.c (internal_endpwent): Don't call
18612         nss_endpwent.
18613         (_nss_compat_endpwent): Call nss_endpwent.
18614         * nis/nss_compat/compat-spwd.c (internal_setspent): Add parameter
18615         needent, call nss_setspent only if non-zero.
18616         (_nss_compat_setspent, _nss_compat_getspent_r): Pass non-zero.
18617         (internal_endspent): Don't call nss_endspent.
18618         (_nss_compat_endspent): Call nss_endspent.
18619         * nss/nss_files/files-XXX.c (position, last_use, keep_stream):
18620         Remove.  All uses removed.
18621         (internal_setent): Remove parameter stayopen, add parameter
18622         stream.  Use it instead of global variable.
18623         (CONCAT(_nss_files_set,ENTNAME)): Pass global stream.
18624         (internal_endent, internal_getent): Add parameter stream.  Use it
18625         instead of global variable.
18626         (CONCAT(_nss_files_end,ENTNAME))
18627         (CONCAT(_nss_files_get,ENTNAME_r)): Pass global stream.
18628         (_nss_files_get##name##_r): Pass local stream.  Remove locking.
18629         * nss/nss_files/files-alias.c (position, last_use): Remove.  All
18630         uses removed.
18631         (internal_setent, internal_endent): Add parameter stream.  Use it
18632         instead of global variable.
18633         (_nss_files_setaliasent, _nss_files_endaliasent): Pass global
18634         stream.
18635         (get_next_alias): Add parameter stream.
18636         (_nss_files_getaliasent_r): Pass global stream.
18637         (_nss_files_getaliasbyname_r): Pass local stream.  Remove locking.
18638         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r)
18639         (_nss_files_gethostbyname4_r): Pass local stream to
18640         internal_setent, internal_getent and internal_endent.  Remove
18641         locking.
18643 2015-05-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
18645         * tst-strfmon1.c (tests): Update expected currency symbol.
18647 2015-05-08  Roland McGrath  <roland@hack.frob.com>
18649         * sysdeps/nacl/gethostname.c: New file.
18651 2015-05-08  Joseph Myers  <joseph@codesourcery.com>
18653         * math/auto-libm-test-in: Add more tests of csqrt, lgamma, log10
18654         and sinh.
18655         * math/auto-libm-test-out: Regenerated.
18656         * sysdeps/i386/fpu/libm-test-ulps: Update.
18657         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18659 2015-05-08  Carlos O'Donell  <carlos@redhat.com>
18661         [BZ #18125]
18662         * stdlib/tst-setcontext3.c: New file.
18663         * stdlib/tst-setcontext3.sh: New file.
18664         * stdlib/Makefile (tests): Add tst-setcontext3.
18665         (tst-setcontext3.out): Custom rule to run tst-setcontext3.sh
18666         to verify test program created output file.
18667         * sysdeps/unix/sysv/linux/aarch64/setcontext.S: Call exit.
18668         * sysdeps/unix/sysv/linux/arm/setcontext.S: Likewise.
18669         * sysdeps/unix/sysv/linux/hppa/setcontext.S: Likewise.
18670         * sysdeps/unix/sysv/linux/nios2/setcontext.S: Likewise.
18672 2015-05-06  Roland McGrath  <roland@hack.frob.com>
18674         [BZ #18383]
18675         * elf/tst-tlsalign.c: New file.
18676         * elf/tst-tlsalign-static.c: New file.
18677         * elf/tst-tlsalign-lib.c: New file.
18678         * elf/Makefile [$(build-shared) = yes] (tests): Add tst-tlsalign.
18679         (tests-static): Add tst-tlsalign-static.
18680         (modules-names): Add tst-tlsalign-lib.
18681         (test-xfail-tst-tlsalign): New variable.
18682         (test-xfail-tst-tlsalign-static): New variable.
18684         * sysdeps/nacl/nacl-test-wrapper.sh (NACL_LOADER):
18685         Use elf_loader_${arch}.nexe rather than loader_${arch}.nexe.
18687 2015-05-06  Joseph Myers  <joseph@codesourcery.com>
18689         * math/auto-libm-test-in: Add more tests of acosh, atanh, cos,
18690         csqrt, erfc, sin and sincos.
18691         * math/auto-libm-test-out: Regenerated.
18692         * sysdeps/i386/fpu/libm-test-ulps: Update.
18693         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18695 2015-05-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
18697         * sysdeps/aarch64/libm-test-ulps: Update.
18699 2015-05-05  Joseph Myers  <joseph@codesourcery.com>
18701         * math/auto-libm-test-in: Add more tests of acosh, atanh, clog,
18702         clog10, csqrt, erfc, exp2, expm1, log10, log2 and sinh.
18703         * math/auto-libm-test-out: Regenerated.
18704         * sysdeps/i386/fpu/libm-test-ulps: Update.
18705         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18707 2015-04-30  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
18709         [BZ #18265]
18710         * wcsmbs/wchar.h (wcscpy): Add __nonnull attribute.
18711         (wcsncpy): Likewise.
18713 2015-05-05  Florian Weimer  <fweimer@redhat.com>
18715         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
18716         Assume __ASSUME_FALLOCATE is always true.
18717         * sysdeps/unix/sysv/linux/posix_fallocate64.c
18718         (__posix_fallocate64_l64): Likweise.
18719         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c
18720         (posix_fallocate): Likewise.
18721         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c
18722         (__posix_fallocate64_l64): Likewise.
18723         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
18724         [!__ASSUME_FALLOCATE]: Add comment.
18726 2015-05-05  Florian Weimer  <fweimer@redhat.com>
18728         * sysdeps/unix/sysv/linux/i386/Makefile
18729         (sysdep_routines) [$(subdir) = misc]: Remove call_fallocate.
18730         (sysdep_routines) [$(subdir) = io]: Add libc-do-syscall.
18731         * sysdeps/unix/sysv/linux/i386/call_fallocate.S: Remove.
18732         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
18733         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
18734         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c: Likewise.
18735         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c: Likewise.
18737 2015-05-02  Joseph Myers  <joseph@codesourcery.com>
18739         * math/auto-libm-test-in: Add more tests of atan, clog, clog10,
18740         cos, csqrt, erf, erfc, exp2, lgamma, log1p, sin, sincos, tanh and
18741         tgamma.
18742         * math/auto-libm-test-out: Regenerated.
18743         * sysdeps/i386/fpu/libm-test-ulps: Update.
18744         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18746 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
18748         * math/auto-libm-test-in: Add more tests of tgamma.
18749         * math/auto-libm-test-out: Regenerated.
18750         * sysdeps/i386/fpu/libm-test-ulps: Update.
18751         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18753         * math/auto-libm-test-in: Add more tests of tanh.
18754         * math/auto-libm-test-out: Regenerated.
18755         * sysdeps/i386/fpu/libm-test-ulps: Update.
18756         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18758         * math/auto-libm-test-in: Add more tests of tan.
18759         * math/auto-libm-test-out: Regenerated.
18760         * sysdeps/i386/fpu/libm-test-ulps: Update.
18761         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18763         * math/auto-libm-test-in: Add more tests of cos, sin and sincos.
18764         * math/auto-libm-test-out: Regenerated.
18765         * sysdeps/i386/fpu/libm-test-ulps: Update.
18766         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18768         * math/auto-libm-test-in: Add another test of pow.
18769         * math/auto-libm-test-out: Regenerated.
18770         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18772         * math/auto-libm-test-in: Add more tests of lgamma.
18773         * math/auto-libm-test-out: Regenerated.
18774         * sysdeps/i386/fpu/libm-test-ulps: Update.
18775         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18777         * math/auto-libm-test-in: Add more tests of log, log10, log2 and
18778         log1p.
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 2015-05-01  Mark Wielaard  <mjw@redhat.com>
18785         * elf/elf.h: Add SHF_COMPRESSED section flag, Elf32_Chdr and
18786         Elf64_Chdr structs and ELFCOMPRESS constants.
18788 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
18790         * math/auto-libm-test-in: Add more tests of exp, exp10, exp2 and
18791         expm1.
18792         * math/auto-libm-test-out: Regenerated.
18793         * sysdeps/i386/fpu/libm-test-ulps: Update.
18794         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18796         * math/auto-libm-test-in: Add more tests of erf and erfc.
18797         * math/auto-libm-test-out: Regenerated.
18798         * sysdeps/i386/fpu/libm-test-ulps: Update.
18799         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18801 2015-05-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
18803         * config.h.in (HAVE_AARCH64_BE): Add.
18805 2015-04-30  Joseph Myers  <joseph@codesourcery.com>
18807         * math/auto-libm-test-in: Add more tests of csqrt.
18808         * math/auto-libm-test-out: Regenerated.
18809         * sysdeps/i386/fpu/libm-test-ulps: Update.
18810         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18812         * math/auto-libm-test-in: Add more tests of cosh and sinh.
18813         * math/auto-libm-test-out: Regenerated.
18814         * sysdeps/i386/fpu/libm-test-ulps: Update.
18815         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18817         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: Remove file.
18819 2015-04-29  Roland McGrath  <roland@hack.frob.com>
18821         * sysdeps/nacl/bits/typesizes.h (__CLOCK_T_TYPE): Use __SLONGWORD_TYPE.
18822         * sysdeps/nacl/nacl-interfaces.h (nacl_abi_clock_t): Use clock_t.
18824         * sysdeps/nacl/euidaccess.c (euidaccess): Renamed to __euidaccess.
18825         (euidaccess, eaccess): Define as weak aliases.
18827         * sysdeps/nacl/bits/typesizes.h (__SUSECONDS_T_TYPE): Use
18828         __SLONGWORD_TYPE rather than __S32_TYPE.  They are the same size,
18829         but __suseconds_t is often 'long int' so some sources assume that
18830         type is being used (e.g. they use %ld to print tv_usec).
18832 2015-04-29  Florian Weimer  <fweimer@redhat.com>
18834         [BZ #18007]
18835         * nss/nss_files/files-XXX.c (CONCAT): Always enable stayopen.
18836         (CVE-2014-8121)
18837         * nss/tst-nss-getpwent.c: New file.
18838         * nss/Makefile (tests): Add new test.
18840 2015-04-28  Joseph Myers  <joseph@codesourcery.com>
18842         [BZ #18346]
18843         * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Handle all
18844         exponents less than 48 as cases where high part of mantissa needs
18845         examining to determine whether argument is integral.
18846         * math/libm-test.inc (round_test_data): Add more tests.
18848 2015-04-28  Mark Wielaard  <mjw@redhat.com>
18850         * elf/elf.h (SHF_EXCLUDE): Use unsigned 1 for shift.
18852 2015-04-27  David S. Miller  <davem@davemloft.net>
18854         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Remove
18855         __tls_get_addr.
18856         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
18858 2015-04-27  H.J. Lu  <hongjiu.lu@intel.com>
18860         [BZ#18333]
18861         * time/tzset.c (__tzfile_read): Check tzspec_len == 0.
18863 2015-04-27  Florian Weimer  <fweimer@redhat.com>
18865         [BZ#18333]
18866         * time/tzset.c (parse_tzname): Return error on memory allocation
18867         failure.
18868         * test-skeleton.c (struct temp_name_list): Change type of name
18869         member to non-const.
18870         (add_temp_file): Create a copy of the file name.
18871         (delete_temp_files): Deallocate memory.
18872         (create_temp_file): Add comment.
18874 2015-04-24  Florian Weimer  <fweimer@redhat.com>
18876         * io/posix_fallocate.c (posix_fallocate): Do not set errno.
18877         * io/posix_fallocate64.c (posix_fallocate64): Likewise.
18879 2015-04-24  Roland McGrath  <roland@hack.frob.com>
18881         * sysdeps/arm/configure.ac (PI_STATIC_AND_HIDDEN): Define it.
18882         * sysdeps/arm/configure: Regenerated.
18884 2015-04-24  Florian Weimer  <fweimer@redhat.com>
18886         [BZ #17715]
18887         * time/tzfile.c (__tzfile_read): Check for large values of
18888         tzh_ttisstdcnt and tzh_ttisgmtcnt.  Use malloc instead of alloca.
18889         * time/tzset.c (__tzstring_len): New function, based on the old
18890         __tzstring function.
18891         (__tzstring): Call __tzstring_len.
18892         (parse_tzname): New helper function extracted from
18893         __tzset_parse_tz.  Call __tzstring_len, without making a copy of
18894         the input string.
18895         (parse_offset): New helper function extracted from
18896         __tzset_parse_tz.  Replace switch with fallthrough with
18897         initialization before sscanf.
18898         (parse_rule): Likewise.
18899         (__tzset_parse_tz): Rewrite using the new helper functions.  Use
18900         new-style function definition.
18901         * timezone/Makefile (tests): Add tst-tzset.
18902         (tst-tzset.out): Dependencies on time zone files.
18903         (tst-tzset-ENV): Set TZDIR.
18904         (testdata/XT%): Copy crafted time zone files.
18905         * timezone/README: Mention crafted time zone files.
18906         * timezone/testdata/XT1, timezone/testdata/XT2,
18907         timezone/testdata/XT3, timezone/testdata/XT4: New time zone test
18908         files.
18909         * timezone/tst-tzset.c: New test.
18911 2015-04-24  Florian Weimer  <fweimer@redhat.com>
18913         * Makeconfig (+gccwarn): Remove -Winline.
18915 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
18917         * sysdeps/s390/fpu/libm-test-upls: Regenerate.
18919 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
18921         * NEWS: Mention sysconf() cache information support for s390.
18922         * sysdeps/unix/sysv/linux/s390/sysconf.c: New File.
18924 2015-04-22  Wilco Dijkstra  <wdijkstr@arm.com>
18926         * math/k_casinh.c (__kernel_casinh): Use __copysign.
18927         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c
18928         (__nearbyint): Likewise.
18929         * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c
18930         (copysignl): Likewise.
18932 2015-04-21  Arjun Shankar  <arjun.is@lostca.se>
18934         [BZ #18287]
18935         * resolv/nss_dns/dns-host.c (getanswer_r): Adjust buffer length
18936         based on padding.  (CVE-2015-1781)
18938 2015-04-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
18940         * nptl/pthread_cond_timedwait.c: Change include bits/libc-vdso.h to just
18941         libc-vdso.h.
18942         * sysdeps/powerpc/powerpc32/backtrace.c: Likewise.
18943         * sysdeps/powerpc/powerpc64/backtrace.c: Likewise.
18944         * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
18945         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
18946         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
18947         * sysdeps/unix/sysv/linux/gettimeofday.c: Likewise.
18948         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Likewise.
18949         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
18950         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
18951         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Likewise.
18952         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
18953         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
18954         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
18955         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise.
18956         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
18957         * sysdeps/unix/sysv/linux/aarch64/bits/libc-vdso.h: Move to ...
18958         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: ... here.
18959         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Move to ...
18960         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: ... here.
18961         * sysdeps/unix/sysv/linux/s390/bits/libc-vdso.h: Move to ...
18962         * sysdeps/unix/sysv/linux/s390/libc-vdso.h: ... here.
18963         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Move to ...
18964         * sysdeps/unix/sysv/linux/tile/libc-vdso.h: ... here.
18966 2015-04-19  Paul Eggert  <eggert@cs.ucla.edu>
18968         * stdlib/setenv.c (__add_to_environ):
18969         Dump core quickly if setenv (..., NULL, ...) is called.
18970         This time, do it the right way, and pacify GCC with a pragma.
18972 2015-04-17  Roland McGrath  <roland@hack.frob.com>
18974         * elf/dl-close.c (_dl_close_worker) [DL_NNS == 1]: Just assert that
18975         IMAP->l_prev cannot be null, and #if out the code for the contrary
18976         case, avoiding 'assert (nsid != LM_ID_BASE)' making the compiler
18977         believe that NS (&_dl_ns[NSID]) could point outside the array.
18979         * elf/dl-open.c (_dl_open): Use __glibc_unlikely in invalid namespace
18980         check.  Reject NSID < 0 and NSID >= dl_nns, and check for DL_NNS==1,
18981         before using NSID as an index.
18983 2015-04-17  Il'ya Malakhov <ilmalakhov@yandex.ru>
18985         [BZ #17825]
18986         * sysdeps/sparc/sparc64/memchr.S: Fix signedness handling of length.
18987         * sysdeps/sparc/sparc64/memcmp.S: Likewise.
18988         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
18990 2015-04-17  Roland McGrath  <roland@hack.frob.com>
18992         Add preliminary port to Google Native Client on ARM.
18993         * abi-tags (.*-.*-nacl.*): New entry.
18994         * sysdeps/arm/nacl: New directory.
18995         * sysdeps/nacl: New directory.
18997 2015-04-16  David S. Miller  <davem@davemloft.net>
18999         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Make use of
19000         lowlevellock-futex.h
19002 2015-04-16  Chris Metcalf  <cmetcalf@ezchip.com>
19004         * sysdeps/tile/configure.ac: New file.
19005         * sysdeps/tile/configure: Regenerated.
19007 2015-04-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
19009         * wcsmbs/wcschr.c [WCSCHR] (wcschr): Define as __wcschr.  Remove
19010         conditionals for weak_alias and libc_hidden_weak.
19011         * sysdeps/i386/i686/multiarch/wcschr-c.c [libc]: Undefine
19012         libc_hidden_weak and weak_alias.
19013         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c [libc]:
19014         Undefine libc_hidden_weak. Define libc_hidden_def for SHARED builds
19015         and weak_alias for static one.
19017 2015-04-15  David S. Miller  <davem@davemloft.net>
19019         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
19021 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
19023         [BZ #18206]
19024         * wcsmbs/wcsncmp.c (wcsncmp): Compare as wchar_t, not wint_t.
19025           Use signed comparision instead of substraction to avoid
19026           overflow bug.
19027         * localedata/tests-mbwc/tst_wcsncmp.c (tst_wcsncmp):
19028           Take the sign of ret.
19029         * localedata/tests-mbwc/dat_wcsncmp.c (tst_wcsncmp_loc):
19030           Do not expect precise return values. Only the sign matters.
19031         * wcsmbs/Makefile (strop-tests): Add wcsncmp.
19032         * wcsmbs/test-wcsncmp.c: New File.
19033         * string/test-strncmp.c: Add wcsncmp support.
19035 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
19037         [BZ #6792]
19038         * math/w_log1p.c: New file.
19039         * math/w_log1pf.c: Likewise.
19040         * math/w_log1pl.c: Likewise.
19041         * math/Makefile (libm-calls): Add w_log1p.
19042         * math/s_log1pl.c (log1pl): Remove weak_alias.
19043         * sysdeps/i386/fpu/s_log1p.S (log1p): Likewise.
19044         * sysdeps/i386/fpu/s_log1pf.S (log1pf): Likewise.
19045         * sysdeps/i386/fpu/s_log1pl.S (log1pl): Likewise.
19046         * sysdeps/x86_64/fpu/s_log1pl.S (log1pl): Likewise.
19047         * sysdeps/ieee754/dbl-64/s_log1p.c (log1p): Likewise.
19048         [NO_LONG_DOUBLE] (log1pl): Likewise.
19049         * sysdeps/ieee754/flt-32/s_log1pf.c (log1pf): Likewise.
19050         * sysdeps/ieee754/ldbl-128/s_log1pl.c (log1pl): Likewise.
19051         * sysdeps/ieee754/ldbl-64-128/s_log1pl.c
19052         (log1p): Remove long_double_symbol.
19053         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (log1pl): Likewise.
19054         * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: New file.
19055         * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Likewise.
19056         * sysdeps/m68k/m680x0/fpu/s_log1p.c: Define empty weak_alias to
19057         remove weak_alias for corresponding log1p function.
19058         * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Likewise.
19059         * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
19060         * sysdeps/ia64/fpu/w_log1p.c: New file.
19061         * sysdeps/ia64/fpu/w_log1pf.c: Likewise.
19062         * sysdeps/ia64/fpu/w_log1pl.c: Likewise.
19063         * math/libm-test.inc (log1p_test_data): Add errno expectations.
19065 2015-04-10  Joseph Myers  <joseph@codesourcery.com>
19067         [BZ #18247]
19068         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Decrease minimum
19069         decimal exponent by 1.
19070         * stdlib/tst-strtod-round-data: Add more tests.
19071         * stdlib/tst-strtod-round.c (tests): Regenerated.
19073 2015-04-09  Joseph Myers  <joseph@codesourcery.com>
19075         * math/auto-libm-test-in: Add more tests of clog and clog10.
19076         * math/auto-libm-test-out: Regenerated.
19077         * sysdeps/i386/fpu/libm-test-ulps: Update.
19078         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19080 2015-04-09  Roland McGrath  <roland@hack.frob.com>
19082         * Makeconfig (module-cppflags): Exclude all .v.i files.
19083         (skip-module-cppflags): Variable removed.
19085         * configure.ac (libc_config_ok): Initialize before reading
19086         preconfigure scripts, not after.
19087         * configure: Regenerated.
19089         * test-skeleton.c (TIMEOUT): Move #define to top level.
19090         (main): Grok environment variable TEST_DIRECT.  If set, print
19091         test expectation details into that file and then behave as if
19092         given --direct.
19094 2015-04-09  Florian Weimer  <fweimer@redhat.com>
19096         * malloc/tst-scratch_buffer.c (do_test): Suppress truncation
19097         warning on 32-bit.
19099 2015-04-08  David S. Miller  <davem@davemloft.net>
19101         * sysdeps/sparc/fpu/libm-test-ulps: Update.
19103 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
19105         * math/auto-libm-test-in: Add more tests of atanh.
19106         * math/auto-libm-test-out: Regenerated.
19107         * sysdeps/i386/fpu/libm-test-ulps: Update.
19108         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19110         * math/auto-libm-test-in: Add more tests of atan.
19111         * math/auto-libm-test-out: Regenerated.
19112         * sysdeps/i386/fpu/libm-test-ulps: Update.
19113         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19115 2015-04-08  Florian Weimer  <fweimer@redhat.com>
19117         * elf/pldd.c (main): Rewrite to use struct
19118         scratch_buffer instead of extend_alloca.
19119         * elf/pldd-xx.c (find_maps): Likewise.
19120         * grp/initgroups.c: Include <scratch_buffer.h> instead of
19121         <alloca.h>.
19122         * grp/compat-initgroups.c (compat_call): Rewrite to use struct
19123         scratch_buffer instead of extend_alloca.
19124         * nscd/initgrcache.c: Include <scratch_buffer.h>, now needed by
19125         grp/compat-initgroups.c.
19126         * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups_dyn):
19127         Rewrite to use struct scratch_buffer instead of extend_alloca.
19128         * inet/getnameinfo.c (nrl_domainname, getnameinfo): Likewise.
19129         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
19131 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
19133         * math/auto-libm-test-in: Add more tests of cbrt.
19134         * math/auto-libm-test-out: Regenerated.
19135         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19137         * math/auto-libm-test-in: Add more tests of cabs.
19138         * math/auto-libm-test-out: Regenerated.
19139         * sysdeps/i386/fpu/libm-test-ulps: Update.
19140         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19142         [BZ #18210]
19143         [BZ #18211]
19144         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <fenv.h>.
19145         (__ieee754_atan2): Set FE_TONEAREST mode for internal
19146         computations.
19147         * math/auto-libm-test-in: Add more tests of atan2, carg, clog and
19148         clog10.
19149         * math/auto-libm-test-out: Regenerated.
19150         * sysdeps/i386/fpu/libm-test-ulps: Update.
19151         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19153         [BZ #18197]
19154         * sysdeps/ieee754/dbl-64/s_atan.c: Include <fenv.h>.
19155         (atan): Set FE_TONEAREST mode for internal computations.
19156         * math/auto-libm-test-in: Add more tests of atan.
19157         * math/auto-libm-test-out: Regenerated.
19159 2015-04-07  James Cowgill  <james410@cowgill.org.uk>
19161         [BZ #17930]
19162         * sysdeps/unix/sysv/linux/mips/bits/shm.h (SHM_NORESERVE): Define.
19164 2015-04-07  Florian Weimer  <fweimer@redhat.com>
19166         * malloc/scratch_buffer_grow_preserve.c: Include <string.h>
19168 2015-04-07  Florian Weimer  <fweimer@redhat.com>
19170         * include/scratch_buffer.h: New file.
19171         * malloc/scratch_buffer_grow.c: Likewise.
19172         * malloc/scratch_buffer_grow_preserve.c: Likewise.
19173         * malloc/scratch_buffer_set_array_size.c: Likewise.
19174         * malloc/tst-scratch_buffer.c: Likewise.
19175         * malloc/Makefile (routines): Add scratch_buffer_grow.
19176         (tests): Add test case.
19177         * malloc/Versions (GLIBC_PRIVATE): Export
19178         __libc_scratch_buffer_grow, __libc_scratch_buffer_grow_preserve,
19179         __libc_scratch_buffer_set_array_size.
19181 2015-04-06  Richard Henderson  <rth@redhat.com>
19183         * sysdeps/unix/alpha/sysdep.h: Unconditionally include dl-sysdep.h.
19184         * sysdeps/alpha/fpu/libm-test-ulps: Update.
19186         * math/test-fenvinline.c (feenable_test): Cast fe_exc to
19187         unsigned int before printing.
19189 2015-04-03  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
19191         [BZ #17596]
19192         * wcsmbs/mbrtowc.c (__mbrtowc): Add check for n=0.
19193         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
19195 2015-04-02  Florian Weimer  <fweimer@redhat.com>
19197         * include/libc-internal.h (libc_max_align_t): Define.
19199 2015-04-02  Andreas Schwab  <schwab@suse.de>
19201         [BZ #16850]
19202         * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h: New file.
19204 2015-04-02  Mel Gorman  <mgorman@suse.de>
19206         [BZ #17195]
19207         * malloc/arena.c (free): Apply trim threshold to per-thread heaps
19208         as well as the main arena.
19210 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
19212         [BZ #18185]
19213         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo): Limit threads
19214         sharing L2 cache to 2 for Silvermont/Knights Landing.
19216 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
19218         [BZ #17711]
19219         * config.make.in (have-protected-data): New.
19220         * configure.ac: Check linker support for protected data symbol.
19221         * configure: Regenerated.
19222         * elf/Makefile (modules-names): Add tst-protected1moda and
19223         tst-protected1modb if $(have-protected-data) is yes.
19224         (tests): Add tst-protected1a and tst-protected1b if
19225         $(have-protected-data) is yes.
19226         ($(objpfx)tst-protected1a): New.
19227         ($(objpfx)tst-protected1b): Likewise.
19228         (tst-protected1modb.so-no-z-defs): Likewise.
19229         * elf/tst-protected1a.c: New file.
19230         * elf/tst-protected1b.c: Likewise.
19231         * elf/tst-protected1mod.h: Likewise.
19232         * elf/tst-protected1moda.c: Likewise.
19233         * elf/tst-protected1modb.c: Likewise.
19235 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
19237         [BZ #17711]
19238         * elf/dl-lookup.c (do_lookup_x): When UNDEF_MAP is NULL, which
19239         indicates it is called from do_lookup_x on relocation against
19240         protected data, skip the data definion in the executable from
19241         copy reloc.
19242         (_dl_lookup_symbol_x): Pass ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA,
19243         instead of ELF_RTYPE_CLASS_PLT, to do_lookup_x for
19244         EXTERN_PROTECTED_DATA relocation against STT_OBJECT symbol.
19245         * sysdeps/generic/ldsodefs.h * (ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA):
19246         New.  Defined to 4 if DL_EXTERN_PROTECTED_DATA is defined,
19247         otherwise to 0.
19248         * sysdeps/i386/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
19249         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Set class
19250         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_386_GLOB_DAT.
19251         * sysdeps/x86_64/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
19252         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Set class
19253         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_X86_64_GLOB_DAT.
19255 2015-03-28  Martin Galvan  <martin.galvan@tallertechnologies.com>
19257         * sysdeps/nptl/pthread.h: Remove duplicate definition of
19258         PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP.
19260 2015-03-27  Martin Galvan  <martin.galvan@tallertechnologies.com>
19262         * sysdeps/i386/nptl/tls.h: Swap comments between THREAD_SETMEM and
19263         THREAD_SETMEM_NC.
19264         * sysdeps/x86_64/nptl/tls.h: Ditto.
19266 2015-03-27  Roland McGrath  <roland@hack.frob.com>
19268         * dlfcn/tststatic.c (main): Converted to ...
19269         (do_test): ... this.
19270         (TEST_FUNCTION): New macro.
19271         Include test-skeleton.c.
19273 2015-03-26  Alan Modra  <amodra@gmail.com>
19275         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_fixup_plt):
19276         Don't segfault if ifunc resolver returns a NULL.  Do set plt to
19277         zero for undefined weak.
19278         (elf_machine_plt_conflict): Similarly.
19280 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
19282         * math/auto-libm-test-in: Add more tests of acosh, asinh and
19283         atanh.
19284         * math/auto-libm-test-out: Regenerated.
19285         * sysdeps/i386/fpu/libm-test-ulps: Update.
19286         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19288         * math/auto-libm-test-in: Add another test of asin.
19289         * math/auto-libm-test-out: Regenerated.
19290         * sysdeps/i386/fpu/libm-test-ulps: Update.
19291         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19293         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (LLL_EBX_LOAD):
19294         Remove macro.
19295         (LLL_EBX_REG): Likewise.
19296         (LLL_ENTER_KERNEL): Likewise.
19298         * math/auto-libm-test-in: Add more tests of asin.
19299         * math/auto-libm-test-out: Regenerated.
19300         * sysdeps/i386/fpu/libm-test-ulps: Update.
19301         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19303         [BZ #18138]
19304         * sysdeps/unix/sysv/linux/i386/sysdep.h (struct
19305         libc_do_syscall_args): New structure.
19306         (INTERNAL_SYSCALL_MAIN_0): New macro.
19307         (INTERNAL_SYSCALL_MAIN_1): Likewise.
19308         (INTERNAL_SYSCALL_MAIN_2): Likewise.
19309         (INTERNAL_SYSCALL_MAIN_3): Likewise.
19310         (INTERNAL_SYSCALL_MAIN_4): Likewise.
19311         (INTERNAL_SYSCALL_MAIN_5): Likewise.
19312         (INTERNAL_SYSCALL_MAIN_6): Likewise.  Call __libc_do_syscall.
19313         (INTERNAL_SYSCALL): Define to use INTERNAL_SYSCALL_MAIN_##nr.
19314         Replace conditional definitions by conditional definitions of ....
19315         (INTERNAL_SYSCALL_MAIN_INLINE): ... this.  New macro.
19316         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: New file.
19317         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = nptl]
19318         (libpthread-sysdep_routines): Add libc-do-syscall.
19319         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: Remove file.
19320         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (SYS_futex): Define
19321         to __NR_futex not 240.
19323 2015-03-25  Alan Modra  <amodra@gmail.com>
19325         * NEWS: Advertise TLS optimization.
19326         * elf/elf.h (R_PPC_TLSGD, R_PPC_TLSLD, DT_PPC_OPT, PPC_OPT_TLS): Define.
19327         (DT_PPC_NUM): Increment.
19328         * elf/dynamic-link.h (HAVE_STATIC_TLS): Define.
19329         (CHECK_STATIC_TLS): Use here.
19330         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Optimize
19331         TLS descriptors.
19332         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
19333         * sysdeps/powerpc/dl-tls.c: New file.
19334         * sysdeps/powerpc/Versions: Add __tls_get_addr_opt.
19335         * sysdeps/powerpc/tst-tlsopt-powerpc.c: New tls test.
19336         * sysdeps/unix/sysv/linux/powerpc/Makefile: Add new test.
19337         Build tst-tlsmod2.so with --no-tls-get-addr-optimize.
19338         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Update.
19339         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
19340         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
19342 2015-03-25  Alan Modra  <amodra@gmail.com>
19344         * sysdeps/powerpc/powerpc64/configure.ac: Correct "linker support
19345         for overlapping .opd entries" to "support...".
19346         * sysdeps/powerpc/powerpc64/configure: Regenerate
19348 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
19350         * math/auto-libm-test-in: Add more tests of acos.
19351         * math/auto-libm-test-out: Regenerated.
19352         * sysdeps/i386/fpu/libm-test-ulps: Update.
19353         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19355         * math/auto-libm-test-in: Add more tests of expm1.
19356         * math/auto-libm-test-out: Regenerated.
19357         * sysdeps/i386/fpu/libm-test-ulps: Update.
19358         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19360 2015-03-24  Joseph Myers  <joseph@codesourcery.com>
19362         * math/auto-libm-test-in: Add more tests of cosh and sinh.
19363         * math/auto-libm-test-out: Regenerated.
19364         * sysdeps/i386/fpu/libm-test-ulps: Update.
19365         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19367         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
19368         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19370         * math/auto-libm-test-in: Add more tests of log2.
19371         * math/auto-libm-test-out: Regenerated.
19372         * sysdeps/i386/fpu/libm-test-ulps: Update.
19373         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19375 2015-03-23  Roland McGrath  <roland@hack.frob.com>
19377         * libio/iofdopen.c: Move FD_FLAGS declaration into its first use,
19378         inside [F_GETFL].  Remove POSIX_MODE local variable, just test the
19379         _IO_IS_APPENDING bit in READ_WRITE instead.
19381 2015-03-23  Florian Weimer  <fweimer@redhat.com>
19383         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
19384         (__determine_cpumask_size): Replace extend_alloca with a
19385         variable-length array.  Do not treat res == 0 as an error.
19387 2015-03-23  Florian Weimer  <fweimer@redhat.com>
19389         [BZ #18100]
19390         * posix/wordexp.c (eval_expr_multdiv): Check for division by zero
19391         and integer overflow.
19392         * posix/wordexp-test.c (test_case): Add divide-by-zero test.
19393         (main): Add integer overflow tests.
19394         * manual/pattern.texi (Calling Wordexp): Document additional use
19395         for WRDE_SYNTAX.
19397 2015-03-23  Alan Modra  <amodra@gmail.com>
19399         * config.h.in: Remove HAVE_ASM_PPC_REL16.
19400         * sysdeps/powerpc/powerpc32/tls-macros.h: Remove HAVE_ASM_PPC_REL16
19401         and false branch of conditional.
19402         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
19403         Likewise.
19405 2015-03-21  Samuel Thibault  <samuel.thibault@ens-lyon.org
19407         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Depend on
19408         libc-modules.h
19409         * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Remove
19410         unused declaration of _hurd_intr_rpc_msg_in_trap.
19411         * mach/mach_init.c (__mach_init): Test whether HAVE_HOST_PAGE_SIZE is
19412         defined instead of whether it is non-zero.
19413         * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Use "+m"
19414         input constraint instead of both input and output constraint.  Use ecx
19415         clobber instead of %ecx.
19416         * sysdeps/mach/hurd/malloc-machine.h (mutex_init, mutex_lock,
19417         mutex_unlock): Use a statement expression instead of an expression list.
19418         * sysdeps/mach/hurd/setitimer.c (_hurd_itimer_thread_stack_size): Set
19419         type to vm_size_t instead of vm_address_t.
19420         * sysdeps/mach/hurd/fork.c (__fork): Test whether STACK_GROWTH_UP is
19421         defined instead of whether it is non-zero.
19422         * hurd/hurd/ioctl.h (_hurd_locked_install_cttyid): New declaration.
19423         * sysdeps/mach/hurd/setsid.c: Include <hurd/ioctl.h>.
19424         * sysdeps/mach/hurd/mmap.c (__mmap): Use 0 instead of NULL for
19425         comparisons with mapaddr.
19426         * nscd/nscd-client.h: Include <time.h>.
19427         * sysdeps/mach/hurd/dl-sysdep.c (fmh): Pass vm_offset_t dummy
19428         9th parameter to __vm_region instead of int.
19429         * bits/termios.h [!__USE_MISC] (EXTPROC): Do not define.
19430         * scripts/check-local-headers.sh (exclude): Add device/,
19431         hurd/hurd_types.h, hurd/ioctl_types.h, hurd/paths.h, hurd/ioctls.defs,
19432         cthreads.h.
19434 2015-03-19  Roland McGrath  <roland@hack.frob.com>
19436         * sysdeps/arm/memcpy.S [ARM_ALWAYS_BX]: Fix computed-jump calculations
19437         to account for alignment padding.
19438         * sysdeps/arm/memmove.S: Likewise.
19440 2015-03-19  Chris Metcalf  <cmetcalf@ezchip.com>
19442         * sysdeps/unix/sysv/linux/generic/README: New file.
19444 2015-03-18  Joseph Myers  <joseph@codesourcery.com>
19446         [BZ #18138]
19447         * nptl/sem_waitcommon.c: Include <kernel-features.h>.
19448         (futex_abstimed_wait)
19449         [__ASSUME_FUTEX_CLOCK_REALTIME && lll_futex_timed_wait_bitset]:
19450         Use lll_futex_timed_wait_bitset with FUTEX_CLOCK_REALTIME instead
19451         of lll_futex_timed_wait.
19453 2015-03-18  Brad Hubbard  <bhubbard@redhat.com>
19455         [BZ #17542]
19456         * sunrpc/svc.c (xprt_register): Use calloc to allocate xports.
19458 2015-03-17  Alexandre Oliva <aoliva@redhat.com>
19460         [BZ #17090]
19461         [BZ #17620]
19462         [BZ #17621]
19463         [BZ #17628]
19464         * NEWS: Update.
19465         * elf/dl-tls.c (_dl_update_slotinfo): Clean up outdated DTV
19466         entries with Static TLS too.  Skip entries past the end of the
19467         allocated DTV, from Alan Modra.
19468         (tls_get_addr_tail): Update to glibc_likely/unlikely.  Move
19469         Static TLS DTV entry set up from...
19470         (_dl_allocate_tls_init): ... here (fix modid assertion), ...
19471         * elf/dl-reloc.c (_dl_nothread_init_static_tls): ... here...
19472         * nptl/allocatestack.c (init_one_static_tls): ... and here...
19473         * elf/dlopen.c (dl_open_worker): Drop l_tls_modid upper bound
19474         for Static TLS.
19475         * elf/tlsdeschtab.h (map_generation): Return size_t.  Check
19476         that the slot we find is associated with the given map before
19477         using its generation count.
19478         * nptl_db/db_info.c: Include ldsodefs.h.
19479         (rtld_global, dtv_slotinfo_list, dtv_slotinfo): New typedefs.
19480         * nptl_db/structs.def (DB_RTLD_VARIABLE): New macro.
19481         (DB_MAIN_VARIABLE, DB_RTLD_GLOBAL_FIELD): Likewise.
19482         (link_map::l_tls_offset): New struct field.
19483         (dtv_t::counter): Likewise.
19484         (rtld_global): New struct.
19485         (_rtld_global): New rtld variable.
19486         (dl_tls_dtv_slotinfo_list): New rtld global field.
19487         (dtv_slotinfo_list): New struct.
19488         (dtv_slotinfo): Likewise.
19489         * nptl_db/td_symbol_list.c: Drop gnu/lib-names.h include.
19490         (td_lookup): Rename to...
19491         (td_mod_lookup): ... this.  Use new mod parameter instead of
19492         LIBPTHREAD_SO.
19493         * nptl_db/td_thr_tlsbase.c: Include link.h.
19494         (dtv_slotinfo_list, dtv_slotinfo): New functions.
19495         (td_thr_tlsbase): Check DTV generation.  Compute Static TLS
19496         addresses even if the DTV is out of date or missing them.
19497         * nptl_db/fetch-value.c (_td_locate_field): Do not refuse to
19498         index zero-length arrays.
19499         * nptl_db/thread_dbP.h: Include gnu/lib-names.h.
19500         (td_lookup): Make it a macro implemented in terms of...
19501         (td_mod_lookup): ... this declaration.
19502         * nptl_db/db-symbols.awk (DB_RTLD_VARIABLE): Override.
19503         (DB_MAIN_VARIABLE): Likewise.
19505 2015-03-16  H.J. Lu  <hongjiu.lu@intel.com>
19507         [BZ #18134]
19508         * sysdeps/x86_64/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
19510 2015-03-15  Paul Eggert  <eggert@cs.ucla.edu>
19512         * stdlib/setenv.c (__add_to_environ): Revert previous change.
19514 2015-03-14  Andreas Schwab  <schwab@linux-m68k.org>
19516         [BZ #18128]
19517         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (atomic_exchange_and_add)
19518         (atomic_add, atomic_increment_and_test)
19519         (atomic_decrement_and_test): Fix 64-bit arithmetic.
19521 2015-03-13  Paul Eggert  <eggert@cs.ucla.edu>
19523         * stdlib/setenv.c (__add_to_environ):
19524         Dump core quickly if setenv (..., NULL, ...) is called.
19526 2015-03-13  Roland McGrath  <roland@hack.frob.com>
19528         * sysdeps/arm/tls-macros.h: Include <sysdep.h>.
19529         (GET_SPECIAL_RELOC, GET_SPECIAL_PCREL): New macros to encapsulate
19530         all the necessary asm magic in one place.
19531         (TLS_LE, TLS_IE, TLS_LD, TLS_GD): Rewritten as C expressions
19532         using those.
19534 2015-03-13  Carlos O'Donell  <carlos@redhat.com>
19536         [BZ #14906]
19537         * nscd/cache.c (prune_cache): Use TRACED_FILE. Compare and update
19538         traced file mtime. Use consistent log message.
19539         * nscd/connections.c [HAVE_INOTIFY] (install_watches): New function.
19540         (register_traced_file): Call install_watches. Always set mtime.
19541         (invalidate_cache): Iterate over all trace files. Call install_watches.
19542         (inotify_check_files): Don't inline. Handle watching parent
19543         directories and configuration file movement in and out.
19544         (handle_inotify_events): New function.
19545         (main_loop_poll): Call handle_inotify_events.
19546         (main_loop_epoll): Likewise.
19547         * nscd/nscd.h: Define TRACED_FILE, TRACED_DIR, and PATH_MAX.
19548         (struct traced_file): Use array of inotify fds. Add parent directory,
19549         and basename.
19550         (struct database_dyn): Remove unused file_mtime.
19551         (init_traced_file): New inline function.
19552         (define_traced_file): New macro.
19553         * nss/nss_db/db-init.c: Use define_traced_file.
19554         (_nss_db_init): Use init_traced_file.
19555         * nss/nss_files/files-init.c: Use define_traced_file.
19556         (_nss_files_init): Use init_traced_file.
19558 2015-03-12  Joseph Myers  <joseph@codesourcery.com>
19560         * soft-fp/soft-fp.h (_FP_STATIC_ASSERT): New macro.
19561         [_LIBC]: Do not include <stdlib.h>.
19562         [!_LIBC] (abort): Remove declaration.
19563         * soft-fp/op-2.h (_FP_MUL_MEAT_2_120_240_double): Use
19564         _FP_STATIC_ASSERT instead of conditionally calling abort.
19565         * soft-fp/op-common.h (_FP_FROM_INT): Likewise.
19566         (_FP_EXTEND_CNAN): Likewise.
19567         (FP_TRUNC): Likewise.
19568         (__FP_CLZ): Likewise.
19569         * sysdeps/powerpc/nofpu/flt-rounds.c: Include <stdlib.h>.
19571 2015-03-12  Yaakov Selkowitz  <yselkowi@redhat.com>
19573         * manual/string.texi (XPG basename): Fix prototype.
19575 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
19577         [BZ #18080]
19578         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S
19579         (__setcontext): Use SIG_SETMASK instead of SIG_BLOCK.
19580         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S
19581         (__setcontext): Likewise.
19582         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S
19583         (__swapcontext): Use SIG_SETMASK instead of SIG_BLOCK.
19584         Call rt_sigprocmask syscall one time to set new signal mask
19585         and retrieve the current signal mask instead of two calls.
19586         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S
19587         (__swapcontext): Likewise.
19588         * stdlib/Makefile (tests): Add new testcase tst-setcontext2.
19589         * stdlib/tst-setcontext2.c: New file.
19591 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
19593         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
19595 2015-03-11  Aurelien Jarno  <aurelien@aurel32.net>
19597         [BZ #18093]
19598         * elf/cache.c (load_aux_cache): Regenerate the cache if it has
19599         the wrong size.
19601 2015-03-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
19603         [BZ #18043]
19604         * posix/wordexp.c (parse_param): Don't call setenv(..., NULL, 1).
19606 2015-03-11  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
19608         * config.h.in [HAVE_ASM_GLOBAL_DOT_NAME]: Remove define.
19609         * include/libc-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (strong_alias):
19610         Remove define.
19611         [HAVE_ASM_GLOBAL_DOT_NAME] (strong_data_alias): Likewise.
19612         [HAVE_ASM_GLOBAL_DOT_NAME] (weak_alias): Likewise.
19613         [HAVE_ASM_GLOBAL_DOT_NAME] (_symbol_version): Likewise.
19614         [HAVE_ASM_GLOBAL_DOT_NAME] (_default_symbol_version): Likewise.
19615         [HAVE_ASM_GLOBAL_DOT_NAME] (HIDDEN_JUMPTARGET): Likewise.
19616         * nptl_db/db-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (DOT): Remove
19617         define.
19618         * nptl_db/td_symbol_list.c (td_lookup): Remove
19619         HAVE_ASM_GLOBAL_DOT_NAME code.
19620         * sysdeps/powerpc/powerpc64/configure.ac: Remove
19621         HAVE_ASM_GLOBAL_DOT_NAME check.
19622         * sysdeps/powerpc/powerpc64/configure: Regenerate.
19623         * sysdeps/powerpc/powerpc64/sysdep.h [HAVE_ASM_GLOBAL_DOT_NAME]
19624         (DOT_LABEL): Remove define.
19625         [HAVE_ASM_GLOBAL_DOT_NAME] (BODY_LABEL): Likewise.
19626         [HAVE_ASM_GLOBAL_DOT_NAME] (ENTRY_2): Likewise.
19627         [HAVE_ASM_GLOBAL_DOT_NAME] (END_2): Likewise.
19628         * sysdeps/powerpc/powerpc64/tls-macros.h [HAVE_ASM_GLOBAL_DOT_NAME]
19629         (__TLS_GET_ADDR): Likewise.
19630         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h
19631         [HAVE_ASM_GLOBAL_DOT_NAME] (DASHDASHPFX): Likewise.
19633 2015-03-11  Carlos O'Donell  <carlos@redhat.com>
19635         [BZ #18111]
19636         * sysdeps/hppa/fpu/fpu_control.h (_FPU_HPPA_SHIFT_FLAGS): Define.
19637         (_FPU_SETCW): Initialize cw from fpsr before storing.
19638         * sysdeps/hppa/fpu/fsetexcptflg.c: Include fpu_control.h
19639         (fesetexceptflag): Rewrite using fpu_control.h.
19640         * sysdeps/hppa/fpu/feupdateenv.c: Handle FE_DFL_ENV, and FE_NOMASK_ENV.
19642 2015-03-11  John David Anglin  <danglin@gcc.gnu.org>
19644         [BZ #18110]
19645         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Don't modify bufptr in
19646         asms.
19647         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
19649 2015-03-11  Joseph Myers  <joseph@codesourcery.com>
19651         * soft-fp/soft-fp.h (_FP_UNREACHABLE): New macro.
19652         * soft-fp/op-common.h (_FP_MUL): Use _FP_UNREACHABLE instead of
19653         abort.
19654         (_FP_FMA): Likewise.
19655         (_FP_DIV): Likewise.
19657 2015-03-10  Roland McGrath  <roland@hack.frob.com>
19659         * scripts/evaluate-test.sh: Grok exit code 77 as UNSUPPORTED and exit
19660         with 0 in that case.
19661         * Makefile (summarize-tests): New canned sequence, factored out of
19662         commands for targets tests and xtests.  Display summary lines that
19663         don't start with PASS: or XFAIL: rather than ones that do start with
19664         ERROR: or FAIL:.  Make the commands fail if any summary lines fail
19665         to start with X?PASS: or XFAIL: or UNSUPPORTED: rather than if any
19666         do start with ERROR: or FAIL:.
19667         * dlfcn/Makefile (tests): Add bug-atexit3 back here unconditionally
19668         (except for [$(build-shared) = yes]).
19669         (tests-unsupported) [$(CXX) empty]: Add bug-atexit3.
19670         (LDLIBS-bug-atexit3-lib.so): Conditionalize on [$(CXX) nonempty].
19671         ($(objpfx)bug-atexit3, $(objpfx)bug-atexit3.out): Likewise.
19672         * nptl/Makefile: Revert 2015-03-04 changes.
19673         [$(CXX) empty] (tests-unsupported): New variable.
19674         * debug/Makefile: Likewise.
19676         * posix/regcomp.c: Fix comment typos and formatting to harmonize with
19677         gnulib file.  Replace __attribute with __attribute__ throughout.
19679 2015-03-10  Carlos O'Donell  <carlos@redhat.com>
19681         * sysdeps/hppa/fpu/libm-test-ulps: Update.
19683 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
19685         [BZ #18104]
19686         * math/auto-libm-test-in: Add another test of pow.
19687         * math/auto-libm-test-out: Regenerated.
19689 2015-03-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19691         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Add
19692         $(config-cflags-nofma).
19694 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
19696         * soft-fp/double.h [SOFT_FP_DOUBLE_H]: New multiple-include guard.
19697         * soft-fp/extended.h [SOFT_FP_EXTENDED_H]: Likewise.
19698         * soft-fp/op-1.h [SOFT_FP_OP_1_H]: Likewise.
19699         * soft-fp/op-2.h [SOFT_FP_OP_2_H]: Likewise.
19700         * soft-fp/op-4.h [SOFT_FP_OP_4_H]: Likewise.
19701         * soft-fp/op-8.h [SOFT_FP_OP_8_H]: Likewise.
19702         * soft-fp/op-common.h [SOFT_FP_OP_COMMON_H]: Likewise.
19703         * soft-fp/quad.h [SOFT_FP_QUAD_H]: Likewise.
19704         * soft-fp/single.h [SOFT_FP_SINGLE_H]: Likewise.
19705         * soft-fp/soft-fp.h (SOFT_FP_H): Define to 1 rather than empty.
19706         Add comment on closing #endif.
19708 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
19710         * posix/wordexp.c (CHAR_IN_SET): New macro.
19711         (parse_param): Use it.
19713 2015-03-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19715         * sysdeps/powerpc/fpu/libm-test-ulps: update.
19717 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
19719         [BZ #18043]
19720         * posix/wordexp.c (parse_param): Fix buffer overflow.
19721         * posix/wordexp-test.c (test_case): Add test case.
19723 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
19725         [BZ #18042]
19726         * posix/wordexp.c (parse_backtick): Fix off-by-one.
19727         * posix/wordexp-test.c (test_case): Add test for BZ #18042.
19729 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
19731         [BZ #18043]
19732         * posix/wordexp-test.c (test_case): Add test for BZ #18043
19733         (do_bz18043): Delete.
19734         (at_page_end): New.
19735         (testit): Refactor to have words at the edge of unreadable page.
19737 2015-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
19739         [BZ #16734]
19740         * libio/genops.c (_IO_unbuffer_all): Renamed from _IO_unbuffer_write.
19741         Cleanup read-only streams as well.
19742         (_IO_cleanup): Call _IO_unbuffer_all instead of _IO_unbuffer_write.
19744 2015-03-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
19746         * sysdeps/mach/hurd/bits/libc-lock.h [_LIBC]: Include
19747         <bits/libc-lockP.h>
19749 2015-03-07  Joseph Myers  <joseph@codesourcery.com>
19751         * soft-fp/soft-fp.h (_FP_ZERO_INIT): New macro.  Define depending
19752         on [__KERNEL__].
19753         * soft-fp/op-1.h (_FP_FRAC_DECL_1): Use _FP_ZERO_INIT.
19754         * soft-fp/op-2.h (_FP_FRAC_DECL_2): Likewise.
19755         * soft-fp/op-common.h (_FP_DECL): Likewise.
19757 2015-03-06  H.J. Lu  <hongjiu.lu@intel.com>
19759         * elf/ifuncdep2.c (global): Replace
19760         __attribute__((visibility("protected"))) with
19761         asm (".protected global").
19762         * elf/ifuncmod1.c (global): Likewise.
19763         * elf/ifuncmod5.c (global): Likewise.
19765 2015-03-06  Joseph Myers  <joseph@codesourcery.com>
19767         * soft-fp/soft-fp.h [!_LIBC && __KERNEL__]: Include
19768         <asm/sfp-machine.h> instead of <sfp-machine.h>.
19770 2015-03-06  Roland McGrath  <roland@hack.frob.com>
19772         * manual/install.texi (Configuring and compiling):
19773         Document test-wrapper-env-only.
19774         * INSTALL: Regenerated.
19776 2015-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
19778         [BZ #18043]
19779         * posix/wordexp.c (parse_param): Fix buffer overflow.
19780         * posix/wordexp-test.c (do_bz18043): Add test case.
19782 2015-03-06  Vincent Bernat  <vincent@bernat.im>
19784         * time/tst-strptime2.c (do_test): Ensure failing tests are
19785         reported correctly.
19786         * time/tst-strptime3.c (do_test): Likewise.
19788 2015-03-06  Samuel Thibault  <samuel.thibault@inria.fr>
19790         Fix aio_error thread-safety.
19791         * sysdeps/pthread/aio_error.c: New file
19792         * sysdeps/pthread/aio_misc.c: Remove optimistic comment about
19793         synchronization.
19795 2015-03-06  Florian Weimer  <fweimer@redhat.com>
19797         * stdio-common/vfprintf.c (THOUSANDS_SEP_T): New typedef.
19798         (group_number, vfprintf): Use it.
19799         (JUMP_TABLE_BASE_LABEL): New preprocessor macro.
19800         (JUMP, REF): Use it.
19801         (WORK_BUFFER_SIZE): New enum constant.
19802         (process_arg, vfprintf): Use it.
19804 2015-03-06  Rical Jasan  <ricaljasan@pacific.net>
19806         * manual/errno.texi (Error Messages): Complete example function
19807         by adding missing #define.
19808         (program_invocation_name): Add statement indicating GNU
19809         extension and reference which header file declares the variable.
19810         (program_invocation_short_name): Likewise.
19812 2015-03-06  Mike Frysinger  <vapier@gentoo.org>
19814         * manual/errno.texi (Error Messages): Delete strerror ISO C89
19815         compatibility note.
19817 2015-03-05  Roland McGrath  <roland@hack.frob.com>
19819         * Makeconfig (test-wrapper-env-only): New variable.
19820         * Rules (make-test-out): If variable $*-ENV-only is nonempty,
19821         then use that with $(test-wrapper-env-only) rather than using
19822         $(test-wrapper-env) $(run-program-env) $($*-ENV).
19824 2015-03-05  H.J. Lu  <hongjiu.lu@intel.com>
19826         [BZ #18082]
19827         * sysdeps/alpha/dl-machine.h (elf_machine_type_class): Replace
19828         ELF_RTYPE_CLASS_NOCOPY with ELF_RTYPE_CLASS_COPY in comments.
19829         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Likewise.
19830         * sysdeps/hppa/dl-machine.h (elf_machine_type_class): Likewise.
19831         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Likewise.
19832         * sysdeps/ia64/dl-machine.h (elf_machine_type_class): Likewise.
19833         * sysdeps/m68k/dl-machine.h (elf_machine_type_class): Likewise.
19834         * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
19835         Likewise.
19836         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Likewise.
19837         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_type_class):
19838         Likewise.
19839         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_type_class):
19840         Likewise.
19841         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_type_class):
19842         Likewise.
19843         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_type_class):
19844         Likewise.
19845         * sysdeps/sh/dl-machine.h (elf_machine_type_class): Likewise.
19846         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_type_class):
19847         Likewise.
19848         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_type_class):
19849         Likewise.
19850         * sysdeps/tile/dl-machine.h (elf_machine_type_class): Likewise.
19851         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Likewise.
19853 2015-03-04  Roland McGrath  <roland@hack.frob.com>
19855         * sysdeps/generic/netinet/if_ether.h: Don't #include <features.h>.
19856         (ETH_ALEN): New macro.
19857         (struct ether_addr): Use it for length of ether_addr_octet.
19859         * nss/test-netdb.c: Don't #include <rpc/netdb.h>.
19860         (setdb): Don't call __nss_configure_lookup for "rpc".
19861         (do_test): Don't call test_rpc.
19862         (output_rpcent, test_rpc): Functions moved ...
19863         * sunrpc/test-rpcent.c: ... to this new file.
19864         * sunrpc/Makefile (tests): Add it.
19866         * nptl/tst-cancel4.c (tf_sigpause) [!SIGCANCEL]: Call pause instead of
19867         __xpg_sigpause.
19868         * nptl/tst-signal3.c: Conditionalize body on [SIGRTMIN].
19869         * nptl/tst-signal6.c: Likewise.
19870         * rt/tst-mqueue5.c: Conditionalize body on [SIGRTMIN && SA_SIGINFO].
19871         * rt/tst-timer4.c: Conditionalize body on [SA_SIGINFO].
19873         * configure.ac (libc_cv_cxx_link_ok): New check.
19874         Reset CXX to empty if it fails to link.
19875         * configure: Regenerated.
19876         * dlfcn/Makefile (tests, modules-names): Add bug-atexit3 and
19877         bug-atexit3-lib only if $(CXX) is nonempty.
19878         * nptl/Makefile (tests): Likewise for tst-cancel24.
19879         (tests, tests-static): Likewise for tst-cancel24-static.
19880         * debug/Makefile (tests): Likewise for tst-chk4, tst-chk5, tst-chk6,
19881         tst-lfschk4, tst-lfschk5, and tst-lfschk6.
19882         * elf/Makefile (tests, modules-names): Likewise for tst-unique3,
19883         tst-unique3lib, tst-unique3lib2, tst-unique4, and tst-unique4lib.
19885 2015-03-04  Andreas Schwab  <schwab@suse.de>
19887         [BZ #17631]
19888         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Don't define
19889         for non-GCC compilers.
19890         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
19891         Likewise.
19893 2015-03-03 Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
19895         [BZ #17776]
19896         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Convert input to
19897         integer before bitwise and assembly operations.
19898         (feclearexcept): Likewise.
19899         * math/test-fenvinline.c: New file.
19900         * math/Makefile: Add test-fenvinline test.
19902 2015-03-03  Alan Modra  <amodra@gmail.com>
19904         [BZ #16512]
19905         * scripts/localplt.awk: Strip off symbol version.
19906         * NEWS: Mention bug fix.
19908 2015-03-02  Roland McGrath  <roland@hack.frob.com>
19910         * sysdeps/pthread/timer_routines.c
19911         (timer_free_list, thread_free_list, thread_active_list): Make static.
19913 2015-03-02  Joseph Myers  <joseph@codesourcery.com>
19915         [BZ #17779]
19916         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
19917         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
19918         Undefine.
19919         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
19920         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
19921         Likewise.
19922         * sysdeps/unix/sysv/linux/sh/kernel-features.h
19923         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
19924         Likewise.
19926 2015-03-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
19928         [BZ #18036]
19929         * posix/fnmatch_loop.c (END): Detect invalid pattern.
19930         * posix/tst-fnmatch3.c (do_bz18036): Add test case.
19932 2015-03-02  Andreas Schwab  <schwab@suse.de>
19934         * elf/Makefile ($(elf-objpfx)runtime-linker.st): Fix typo in
19935         variable name.
19937 2015-03-02  Florian Weimer  <fweimer@redhat.com>
19939         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn):
19940         Return error status.
19942 2015-02-27  Alexandre Oliva <aoliva@redhat.com>
19944         [BZ #15969]
19945         * locale/findlocale.c (_nl_find_locale): Introduce const
19946         version of loc_name and drop unsafe type casts.
19948 2015-02-27  Roland McGrath  <roland@hack.frob.com>
19950         * dlfcn/tststatic2.c (main): Converted to ...
19951         (do_test): ... this.
19952         (TEST_FUNCTION): New macro.
19953         Include test-skeleton.c.
19955 2015-02-27  H.J. Lu  <hongjiu.lu@intel.com>
19957         [BZ #17711]
19958         * elf/Makefile (tests): Add vismain only if PIE is enabled.
19959         (tests-pie): Add vismain.
19960         (CFLAGS-vismain.c): New.
19961         * elf/vismain.c: Add comments for PIE requirement.
19963 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
19965         [BZ #18046]
19966         [BZ #18047]
19967         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Use
19968         0x1p-56L as threshold for just returning the argument.
19969         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Use
19970         0x1p-32L as threshold for just returning the argument.
19971         * math/auto-libm-test-in: Add more tests of atanh.
19972         * math/auto-libm-test-out: Regenerated.
19973         * sysdeps/i386/fpu/libm-test-ulps: Update.
19974         * sysdeps/x86_64/fpu/libm-test-ulp: Likewise.
19976 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
19978         * string/bcopy.c (bcopy): Call memmove for performance.
19980 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
19982         * string/bzero.c (__bzero): Call memset for performance.
19984 2015-02-27  John David Anglin  <dave.anglin@bell.net>
19986         [BZ #18068]
19987         * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (__O_SYNC): Change
19988         to 00100000.
19990 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
19992         * sysdeps/ieee754/k_standard.c (CSTR): Add comment.
19994 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
19996         * sysdeps/ieee754/k_standard.c (CSTR): New macro.
19997         (__kernel_standard): Use CSTR macro when setting exc.name.
19998         * sysdeps/ieee754/Makefile [$(subdir) = math]
19999         (CFLAGS-k_standard.c): Remove variable.
20001         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Change last case for
20002         setting p and q from "else if" to "else".
20003         (qzero): Likewise.
20004         * sysdeps/ieee754/dbl-64/e_j1.c (pone): Likewise.
20005         (qone): Likewise.
20006         * sysdeps/ieee754/flt-32/e_j0f.c (pzerof): Likewise.
20007         (qzerof): Likewise.
20008         * sysdeps/ieee754/flt-32/e_j1f.c (ponef): Likewise.
20009         (qonef): Likewise.
20010         * sysdeps/ieee754/ldbl-96/e_j0l.c (pzero): Likewise.
20011         (qzero): Likewise.
20012         * sysdeps/ieee754/ldbl-96/e_j1l.c (pone): Likewise.
20013         (qone): Likewise.
20015         [BZ #18038]
20016         [BZ #18039]
20017         * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Only
20018         return pi/2 for arguments below 0x1p-113L.
20019         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Only
20020         return pi/2 for arguments below 0x1p-106L.
20021         * math/auto-libm-test-in: Add more tests of acos.
20022         * math/auto-libm-test-out: Regenerated.
20024         [BZ #16351]
20025         * sysdeps/i386/fpu/e_asin.S (dbl_min): New object.
20026         (MO): New macro.
20027         (__ieee754_asin): Force underflow exception for results with small
20028         absolute value.
20029         * sysdeps/i386/fpu/e_asinf.S (flt_min): New object.
20030         (MO): New macro.
20031         (__ieee754_asinf): Force underflow exception for results with
20032         small absolute value.
20033         * sysdeps/ieee754/dbl-64/e_asin.c: Include <float.h> and <math.h>.
20034         (__ieee754_asin): Force underflow exception for results with small
20035         absolute value.
20036         * sysdeps/ieee754/flt-32/e_asinf.c: Include <float.h>.
20037         (__ieee754_asinf): Force underflow exception for results with
20038         small absolute value.
20039         * sysdeps/ieee754/ldbl-128/e_asinl.c: Include <float.h>.
20040         (__ieee754_asinl): Force underflow exception for results with
20041         small absolute value.
20042         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Include <float.h>.
20043         (__ieee754_asinl): Force underflow exception for results with
20044         small absolute value.
20045         * sysdeps/ieee754/ldbl-96/e_asinl.c: Include <float.h>.
20046         (__ieee754_asinl): Force underflow exception for results with
20047         small absolute value.
20048         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
20049         Include <math.h>.
20050         * math/auto-libm-test-in: Do not mark underflow exceptions as
20051         possibly missing for bug 16351.
20052         * math/auto-libm-test-out: Regenerated.
20054         [BZ #18030]
20055         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Adjust exponent
20056         of power of 2 down when low part has opposite sign.
20057         * math/libm-test.inc (logb_test_data): Add more tests.
20059 2015-02-26  Andreas Schwab  <schwab@suse.de>
20061         [BZ #18032]
20062         * posix/fnmatch_loop.c (FCT): Remove extra increment when skipping
20063         over collating symbol inside a bracket expression.  Minor cleanup.
20064         * posix/tst-fnmatch3.c (do_test): Add test case.
20066 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
20068         [BZ #18029]
20069         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl):
20070         Adjust exponent of power of 2 down when low part has opposite
20071         sign.
20072         * math/libm-test.inc (ilogb_test_data): Add more tests.
20074 2015-02-26  Alexandre Oliva  <aoliva@redhat.com>
20076         [BZ #15969]
20077         * locale/findlocale.c (_nl_find_locale): Fix constness error in
20078         the previous change.
20080         [BZ #15969]
20081         * locale/findlocale.c (_nl_find_locale): Retry archive search
20082         after alias expansion.
20084 2015-02-25  Roland McGrath  <roland@hack.frob.com>
20086         * iconv/tst-iconv3.c (main): Converted to ...
20087         (do_test): ... this.
20088         (TEST_FUNCTION): New macro.
20089         Include test-skeleton.c.
20091         * iconv/tst-iconv5.c (testcode, number): Make variables static const.
20092         (convert): Make function static.
20093         (test_unalign): Likewise.  Add const to argument pointee types.
20094         (main): Replace with static function do_test.
20095         Print "Succeeded." only if RET is zero.
20096         (TEST_FUNCTION): New macro.
20097         Include test-skeleton.c.
20099         * iconv/gconv_conf.c (__gconv_get_path): Don't crash if __getcwd
20100         returns a null pointer.
20102 2015-02-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20104         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Define memcpy
20105         to __memcpy_ppc only for static builds.
20107 2015-02-25  Joseph Myers  <joseph@codesourcery.com>
20109         [BZ #18020]
20110         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use 2**56 and
20111         2**-56 not 2**28 and 2**-29 as thresholds for simpler formulas.
20112         * math/auto-libm-test-in: Add more tests of asinh.
20113         * math/auto-libm-test-out: Regenerated.
20114         * sysdeps/i386/fpu/libm-test-ulps: Update.
20115         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20117 2015-02-25  Cong Wang  <xiyou.wangcong@gmail.com>
20119         [BZ #15850]
20120         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Put in6_pktinfo
20121         and ip6_mtuinfo definitions here.
20122         * sysdeps/unix/sysv/linux/bits/in.h [_UAPI_IPV6_H]: Wrap code
20123         in this define too.  Update comment.
20125 2015-02-24  Benno Schulenberg  <bensberg@justemail.net>
20127         * elf/sprof.c (load_shobj): Tweak error message to match others.
20129 2015-02-24  Kevin Easton  <kevin@guarana.org>
20131         [BZ #16145] (partial fix)
20132         * time/tzset.c (__tz_convert): Unlock tzset_lock earlier
20133         to reduce lock contention.
20135 2015-02-24  Miroslav Lichvar  <mlichvar@redhat.com>
20137         * sysdeps/unix/sysv/linux/bits/timex.h: Update version.
20138         (struct timex): Update time comment.
20139         (ADJ_SETOFFSET): Define.
20141 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
20143         [BZ #18019]
20144         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
20145         2**56 not 2**28 as threshold for log (2x) formula.
20146         * math/auto-libm-test-in: Add more tests of acosh.
20147         * math/auto-libm-test-out: Regenerated.
20148         * sysdeps/i386/fpu/libm-test-ulps: Update.
20149         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20151 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
20153         * include/alloca.h [_STACK_GROWS_DOWN] (extend_alloca): Add
20154         parenthesis around the buf assignment.
20155         [_STACK_GROWS_UP] (extend_alloca): Add a char* cast.
20157 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
20159         [BZ #16783]
20160         * sysdeps/i386/fpu/e_scalb.S (__ieee754_scalb): Do not handle
20161         arguments (NaN, -Inf) the same as (+/-Inf, -Inf).
20162         * sysdeps/i386/fpu/e_scalbf.S (__ieee754_scalbf): Likewise.
20163         * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
20164         * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
20165         * math/libm-test.inc (scalb_test_data): Add more tests.
20167 2015-02-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
20169         [BZ #17916]
20170         * libio/fileops.c (_IO_new_file_fopen): Limit stack use
20171         * libio/tst-fopenloc.c (do_test, do_bz17916): Add a large ccs= test
20173 2015-02-24  Eric Rannaud  <e@nanocritical.com>
20175         [BZ #17523]
20176         * io/fcntl.h (__OPEN_NEEDS_MODE): New macro.
20177         * io/bits/fcntl2.h (open): Use it.
20178         (openat): Likewise.
20179         * io/open.c (__libc_open): Likewise.
20180         * io/open64.c (__libc_open64): Likewise.
20181         * io/open64_2.c (__open64_2): Likewise.
20182         * io/open_2.c (__open_2): Likewise.
20183         * io/openat.c (__openat): Likewise.
20184         * io/openat64.c (__openat64): Likewise.
20185         * io/openat64_2.c (__openat64_2): Likewise.
20186         * io/openat_2.c (__openat_2): Likewise.
20187         * sysdeps/mach/hurd/open.c (__libc_open): Likewise.
20188         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
20189         * sysdeps/posix/open64.c (__libc_open64): Likewise.
20190         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
20191         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
20192         (__open_nocancel): Likewise.
20193         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
20194         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
20195         * sysdeps/unix/sysv/linux/openat.c (__OPENAT): Likewise.
20197 2015-02-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
20199         [BZ #14841]
20200         * resolv/gethnamaddr.c (getanswer): Skip logging if
20201         RES_USE_DNSSEC is set.
20202         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
20204 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
20206         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Include dl-sysdep.h.
20208 2015-02-23  Alexandre Oliva <aoliva@redhat.com>
20210         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
20211         201304L, for Unicode 7.
20213 2015-02-23  H.J. Lu  <hongjiu.lu@intel.com>
20215         [BZ #17836]
20216         * csu/Makefile (extra-objs): Add gmon-start.o if not builing
20217         shared library.  Add gmon-start.os otherwise.
20218         ($(objpfx)g$(start-installed-name)): Use $(objpfx)S%
20219         $(objpfx)gmon-start.os if builing shared library.
20220         ($(objpfx)g$(static-start-installed-name)): Likewise.
20222 2015-02-23  Andreas Schwab  <schwab@suse.de>
20224         * elf/Makefile (CFLAGS-tst-audit2.c): Define.
20226 2015-02-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
20228         [BZ #17269]
20229         * libio/wstrops.c (_IO_wstr_overflow): Guard against integer overflow
20230         (enlarge_userbuf): Likewise.
20232 2015-02-22  Chung-Lin Tang  <cltang@codesourcery.com>
20234         * libio/tst-memstream2.c (TIMEOUT): Define as 100.
20235         * math/atest-exp.c (TIMEOUT): Adjust to 200.
20236         * math/atest-exp2.c (TIMEOUT): Adjust to 300.
20237         * math/atest-sincos.c (TIMEOUT): Adjust to 600.
20239 2015-02-20  Joseph Myers  <joseph@codesourcery.com>
20241         * soft-fp/op-common.h (_FP_FROM_INT): Wrap call to abort in
20242         expression inside statement expression.
20244 2015-02-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
20246         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Include
20247         <sysdeps/nptl/lowlevellock.h> and remove macros and
20248         functions that are now defined there.
20249         (SYS_futex): Remove.
20250         (lll_compare_and_swap): Remove.
20251         * sysdeps/s390/bits/atomic.h (atomic_exchange_acq): Define.
20253 2015-02-19  Joseph Myers  <joseph@codesourcery.com>
20255         [BZ #17999]
20256         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Define to __scandirat
20257         instead of scandirat.
20258         * dirent/scandirat.c [!SCANDIRAT] (SCANDIRAT): Likewise.
20259         [!SCANDIRAT] (SCANDIRAT_WEAK_ALIAS): Define.
20260         [SCANDIRAT_WEAK_ALIAS] (scandirat): Define as weak alias of
20261         __scandirat.
20262         * include/dirent.h (scandirat): Do not use libc_hidden_proto.
20263         (__scandirat): Declare.  Use libc_hidden_proto.
20264         * conform/Makefile (test-xfail-POSIX2008/dirent.h/linknamespace):
20265         Remove variable.
20266         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
20268 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
20270         [BZ #15319]
20271         * sysdeps/i386/fpu/e_atan2.S (dbl_min): New object.
20272         (MO): New macro.
20273         (__ieee754_atan2): For results with small absolute value, force
20274         underflow exception and remove excess range and precision from
20275         return value.
20276         * sysdeps/i386/fpu/e_atan2f.S (flt_min): New object.
20277         (MO): New macro.
20278         (__ieee754_atan2f): For results with small absolute value, force
20279         underflow exception and remove excess range and precision from
20280         return value.
20281         * sysdeps/i386/fpu/s_atan.S (dbl_min): New object.
20282         (MO): New macro.
20283         (__atan): For results with small absolute value, force underflow
20284         exception and remove excess range and precision from return value.
20285         * sysdeps/i386/fpu/s_atanf.S (flt_min): New object.
20286         (MO): New macro.
20287         (__atanf): For results with small absolute value, force underflow
20288         exception and remove excess range and precision from return value.
20289         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <float.h> and
20290         <math.h>.
20291         (__ieee754_atan2): Force underflow exception for results with
20292         small absolute value.
20293         * sysdeps/ieee754/dbl-64/s_atan.c: Include <float.h> and
20294         <math_private.h>.
20295         (atan): Force underflow exception for results with small absolute
20296         value.
20297         * sysdeps/ieee754/flt-32/s_atanf.c: Include <float.h>.
20298         (__atanf): Force underflow exception for results with small
20299         absolute value.
20300         * sysdeps/ieee754/ldbl-128/s_atanl.c: Include <float.h> and
20301         <math.h>.
20302         (__atanl): Force underflow exception for results with small
20303         absolute value.
20304         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <float.h>.
20305         (__atanl): Force underflow exception for results with small
20306         absolute value.
20307         * sysdeps/x86/fpu/bits/mathinline.h
20308         [!__SSE2_MATH__ && !__x86_64__ && __LIBC_INTERNAL_MATH_INLINES]
20309         (__ieee754_atan2): Only define inline for long double.
20310         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
20311         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Include <math.h>.
20312         * math/auto-libm-test-in: Do not mark underflow exceptions as
20313         possibly missing for bug 15319.  Add more tests of atan2.
20314         * math/auto-libm-test-out: Regenerated.
20315         * math/libm-test.inc (casin_test_data): Do not mark underflow
20316         exceptions as possibly missing for bug 15319.
20317         (casinh_test_data): Likewise.
20318         * sysdeps/i386/fpu/libm-test-ulps: Update.
20320 2015-02-18  Steve Ellcey  <sellcey@imgtec.com>
20322         * sysdeps/unix/sysv/linux/mips/bits/endian.h: Remove.
20323         * sysdeps/mips/bits/endian.h: Fix comments.
20325 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
20327         [BZ #17996]
20328         * include/search.h (hcreate_r): Don't use libc_hidden_proto.
20329         (hdestroy_r): Likewise.
20330         (hsearch_r): Likewise.
20331         (__hcreate_r): Declare and use libc_hidden_proto.
20332         (__hdestroy_r): Likewise.
20333         (__hsearch_r): Likewise.
20334         * misc/hsearch.c (hsearch): Call __hsearch_r instead of hsearch_r.
20335         (hcreate): Call __hcreate_r instead of hcreate_r.
20336         (__hdestroy): Call __hdestroy_r instead of hdestroy_r.
20337         * misc/hsearch_r.c (hcreate_r): Rename to __hcreate_r and define
20338         as weak alias of __hcreate_r.
20339         (hdestroy_r): Rename to __hdestroy_r and define as weak alias of
20340         __hdestroy_r.
20341         (hsearch_r): Rename to __hsearch_r and define as weak alias of
20342         __hsearch_r.
20343         * conform/Makefile (test-xfail-XPG3/search.h/linknamespace):
20344         Remove variable.
20345         (test-xfail-XPG4/search.h/linknamespace): Likewise.
20346         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
20347         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
20348         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
20350 2015-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
20352         * malloc/malloc.c (__libc_malloc): Consolidate arena_lookup and
20353         arena_lock into a single arena_get.
20355 2015-02-17  Carlos O'Donell  <carlos@redhat.com>
20357         * dl-reloc.c: Inlucde libc-internal.h.
20358         (_dl_try_allocate_static_tls): Call ALIGN_UP.
20359         (_dl_relocate_object): Call ALIGN_UP, ALIGN_DOWN, and PTR_ALIGN_DOWN.
20360         (_dl_protect_relro): Call ALIGN_UP and ALIGN_DOWN.
20361         * malloc/arena.c (new_heap): Use pagesize. Call ALIGN_UP.
20362         (grow_heap): Likewise.
20363         * malloc/malloc.c: Include libc-internal.h.
20364         (do_check_malloc): Call powerof2.
20365         (sysmalloc): Use pagesize. Call ALIGN_UP.
20366         (systrim): Use pagesize.
20367         (mremap_chunk): Use pagesize. Call ALIGN_UP.
20368         (__libc_valloc): Use pagesize.
20369         (__libc_pvalloc): Use pagesize. Call ALIGN_UP.
20371 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
20373         [BZ #17991]
20374         * include/sys/resource.h (__getrlimit64): Declare.  Use
20375         libc_hidden_proto.
20376         * resource/getrlimit64.c (getrlimit64): Rename to __getrlimit64
20377         and define as weak alias of __getrlimit64.  Use libc_hidden_weak.
20378         * sysdeps/posix/spawni.c (__spawni): Call __getrlimit64 instead of
20379         getrlimit64.
20380         * sysdeps/unix/sysv/linux/getrlimit64.c (getrlimit64): Rename to
20381         __getrlimit64.
20382         [!getrlimit64] (getrlimit64): Define as weak alias of
20383         __getrlimit64.  Use libc_hidden_weak.
20384         * sysdeps/unix/sysv/linux/i386/getrlimit64.c (getrlimit64): Define
20385         using __getrlimit64 not __new_getrlimit64.
20386         (__GI_getrlimit64): Likewise.
20387         * sysdeps/unix/sysv/linux/mips/getrlimit64.c (getrlimit64):
20388         Likewise.
20389         (__GI_getrlimit64): Likewise.
20390         (__old_getrlimit64): Use __getrlimit64 not __new_getrlimit64.
20391         * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list
20392         (getrlimit): Add __getrlimit64 alias.
20393         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (getrlimit):
20394         Likewise.
20395         * conform/Makefile (test-xfail-XOPEN2K/spawn.h/linknamespace):
20396         Remove variable.
20397         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
20398         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
20400 2015-02-17  Paul Pluzhnikov  <ppluzhnikov@google.com>
20402         * libio/fileops.c: Add missing sys/mman.h
20403         * libio/iopopen.c: Add missing fcntl.h, remove redundant unistd.h
20405 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
20407         * manual/math.texi (Errors in Math Functions): Clarify goals
20408         regarding inexact and underflow exceptions.
20410 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
20412         * sysdeps/mips/memcpy.S: Move R6 PREFETCH_STORE_HINT check.
20413         * sysdeps/mips/memset.S: Ditto.
20415 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
20417         * sysdeps/mips/bits/endian.h (__MIPSEL): Use #ifdef instead of #if.
20419 2015-02-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
20421         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c
20422         (__v1longjmp): Remove versioned symbol.
20423         (__v1siglongjmp): Remove alias and versioned symbol.
20424         (__v2longjmp): Use DEFINE_LONGJMP instead of alias.
20425         (__v2siglongjmp): Likewise.
20427 2015-02-16  Torvald Riegel  <triegel@redhat.com>
20429         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Remove file.
20431 2015-02-16  Mike Frysinger  <vapier@gentoo.org>
20433         * sysdeps/unix/sysv/linux/ia64/getpagesize.c: Delete.
20435 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
20437         [BZ #17987]
20438         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Ensure sign of
20439         zero result does not depend on the sign resulting from
20440         subtraction.
20441         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
20442         Likewise.
20443         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
20444         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
20445         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
20446         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
20447         * math/libm-test.inc (remquo_test_data): Add more tests.
20449 2015-02-16  Paul Eggert  <eggert@cs.ucla.edu>
20451         * manual/time.texi (TZ Variable): glibc no longer comes with tzdata.
20452         Problem reported by J William Piggott.
20454 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
20456         [BZ #17978]
20457         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Do not form
20458         products 4 * y and 2 * y where those would overflow.
20459         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
20460         Likewise.
20461         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
20462         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
20463         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
20464         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
20465         * math/libm-test.inc (remquo_test_data): Add more tests.
20467         * sysdeps/mips/sgidefs.h [!_ABIO64] (_ABIO64): New macro.
20469         * sysdeps/mips/memcpy.S [_COMPILING_NEWLIB]: Change condition to
20470         [defined _COMPILING_NEWLIB].
20471         * sysdeps/mips/memset.S [_COMPILING_NEWLIB]: Likewise.
20472         * sysdeps/mips/strcmp.S [_COMPILING_NEWLIB]: Likewise.
20474         * sysdeps/mips/sys/asm.h [__mips_isa_rev < 6]: Change condition to
20475         [!defined __mips_isa_rev || __mips_isa_rev < 6].
20477 2015-02-16  Torvald Riegel  <triegel@redhat.com>
20479         * nptl/tst-cond25.c (cleanup): Explicitly check that the mutex is
20480         acquired.
20482 2015-02-15  Matthew Fortune <Matthew.Fortune@imgtec.com>
20484         [BZ #17792]
20485         * sysdeps/unix/sysv/linux/ia64/sys/user.h (NBPG): Remove.
20486         (UPAGES, HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR,
20487         HOST_STACK_END_ADDR): Likewise.
20489 2015-02-13  Steve Ellcey  <sellcey@imgtec.com>
20491         * sysdeps/mips/bits/endian.h (__MIPSEB): Use #ifdef instead of #if.
20492         * sysdeps/mips/memcpy.S (__MIPSEB): Ditto.
20493         * sysdeps/mips/memset.S (__MIPSEB): Ditto.
20495 2015-02-13  Roland McGrath  <roland@hack.frob.com>
20497         * sysdeps/generic/c++-types.data: New file.
20498         * sysdeps/generic/ld.abilist: New file.
20499         * sysdeps/generic/libBrokenLocale.abilist: New file.
20500         * sysdeps/generic/libanl.abilist: New file.
20501         * sysdeps/generic/libc.abilist: New file.
20502         * sysdeps/generic/libcrypt.abilist: New file.
20503         * sysdeps/generic/libdl.abilist: New file.
20504         * sysdeps/generic/libm.abilist: New file.
20505         * sysdeps/generic/libpthread.abilist: New file.
20506         * sysdeps/generic/libresolv.abilist: New file.
20507         * sysdeps/generic/librt.abilist: New file.
20509 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
20511         [BZ #17569]
20512         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
20513         Compute absolute value of x as modified by fmod, not original
20514         value of x.
20515         * math/libm-test.inc (RUN_TEST_ffI_f1): Rename to
20516         RUN_TEST_ffI_f1_mod8.  Check extra return value mod 8.
20517         (RUN_TEST_LOOP_ffI_f1): Rename to RUN_TEST_LOOP_ffI_f1_mod8.  Call
20518         RUN_TEST_ffI_f1_mod8.
20519         (remquo_test_data): Add more tests.
20521 2015-02-13  Roland McGrath  <roland@hack.frob.com>
20523         * sysdeps/init_array/pt-crti.S: New file.
20525 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
20527         [BZ #17967]
20528         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Use
20529         __builtin_fmaf instead of relying on contraction of a * b + c.
20531 2015-02-12  J William Piggott  <elseifthen@gmx.com>
20533         [BZ #17969]
20534         * manual/time.texi: correct the zoneinfo path in the TZ Variable
20535         node.
20537 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
20539         [BZ #17964]
20540         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Use
20541         __builtin_fma instead of relying on contraction of a * b + c.
20543 2015-02-12  Roland McGrath  <roland@hack.frob.com>
20545         * Makeconfig (ASFLAGS): Add -Werror=undef.
20546         * sysdeps/arm/Versions (libc: GLIBC_2.19): New (empty) version set.
20547         * sysdeps/unix/make-syscalls.sh: Always emit #define's for
20548         SYSCALL_CANCELLABLE, SYSCALL_NOERRNO, SYSCALL_ERRVAL, to 1 or 0.
20550         * Makeconfig (after-link): New variable.
20551         (+link-pie, +link-pie-tests): Use it.
20552         (+link-static, +link-static-tests): Likewise.
20553         (+link, +link-tests): Likewise.
20554         * Makerules (build-module, build-module-asneeded): Likewise.
20555         (lib%.so, $(common-objpfx)libc.so, $(common-objpfx)linkobj/libc.so):
20556         Likewise.
20557         * elf/Makefile ($(objpfx)ld.so): Likewise.
20559 2015-02-12  Rüdiger Sonderfeld  <ruediger@c-plusplus.net>
20561         [BZ #17965]
20562         * manual/time.texi (Elapsed Time): tv_sec is of type time_t in
20563         both struct timeval and struct timespec.
20565 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
20567         [BZ #16560]
20568         * math/e_exp2l.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
20569         and redefine.
20570         (__ieee754_exp2l): Do not multiply small fractional parts by
20571         M_LN2l.
20572         * sysdeps/i386/fpu/e_exp2l.S (__ieee754_exp2l): Just add 1 to
20573         small argument.
20574         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
20575         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
20576         * sysdeps/x86_64/fpu/e_exp2l.S (__ieee754_exp2l): Likewise.
20577         * math/auto-libm-test-in: Add more tests of exp2.
20578         * math/auto-libm-test-out: Regenerated.
20580 2015-02-12  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
20582         * sysdeps/powerpc/powerpc64/power7/strncpy.S (strncpy): Optimize
20583         unaligned path.
20585 2015-02-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20587         * sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for
20588         little endian.
20590 2015-02-12  Andreas Schwab  <schwab@suse.de>
20592         [BZ #15790]
20593         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
20594         Filter out elision flags from value returned in kind.
20595         * nptl/Makefile (tests): Add tst-pthread-mutexattr.
20596         * nptl/tst-pthread-mutexattr.c: New file.
20598 2015-02-11  Samuel Thibault  <samuel.thibault@ens-lyon.org>
20600         * abi-tags: Revert ae20c9a: rename back gnu into gnu-gnu.
20601         * configure.ac, configure: Revert ba90e05: modify gnu-* host_os back
20602         into gnu-gnu, and update comment to refer to abi-tags.
20604 2015-02-11  Joseph Myers  <joseph@codesourcery.com>
20606         [BZ #15467]
20607         * sysdeps/ieee754/dbl-64/s_sincos.c: Include <errno.h>.
20608         (__sincos): Set errno to EDOM for infinite argument.
20609         * sysdeps/ieee754/flt-32/s_sincosf.c: Include <errno.h>.
20610         (SINCOSF_FUNC): Set errno to EDOM for infinite argument.
20611         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include <errno.h>.
20612         (__sincosl): Set errno to EDOM for infinite argument.
20613         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Include <errno.h>.
20614         (__sincosl): Set errno to EDOM for infinite argument.
20615         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include <errno.h>.
20616         (__sincosl): Set errno to EDOM for infinite argument.
20617         * math/libm-test.inc (sincos_test_data): Test errno setting.
20619 2015-02-11  Leonhard Holz  <leonhard.holz@web.de>
20621         * string/strxfrm_l.c: Remove #define STRCMP.
20622         * string/strcoll_l.c: Remove #define STRLEN.
20623         * wcsmbs/wcsxfrm_l.c: Remove #define STRCMP.
20624         * wcsmbs/wcscoll_l.c: Remove #define STRLEN.
20626 2015-02-10  Joseph Myers  <joseph@codesourcery.com>
20628         * sysdeps/mips/soft-fp/sfp-machine.h: Move to ....
20629         * sysdeps/mips/mips32/sfp-machine.h: ... here.
20630         * sysdeps/mips/mips64/soft-fp/Makefile: Move to ....
20631         * sysdeps/mips/mips64/Makefile: ... here.
20632         * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Move to ....
20633         * sysdeps/mips/mips64/e_sqrtl.c: ... here.
20634         * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Move to ....
20635         * sysdeps/mips/mips64/sfp-machine.h: ... here.
20636         * sysdeps/mips/mips32/Implies: Remove mips/soft-fp.
20637         * sysdeps/mips/mips64/n32/Implies: Remove mips/mips64/soft-fp.
20638         * sysdeps/mips/mips64/n64/Implies: Likewise.
20640 2015-02-10  Roland McGrath  <roland@hack.frob.com>
20642         * math/test-snan.c: Drop unnecessary #include's of <stdlib.h>,
20643         <sys/time.h>, <string.h>, and <errno.h>.
20644         (dest_offset, dest_address, value, zero): Remove unused variables.
20645         (ldouble): Remove typedef.
20646         (myFPsighandler): Use simple handler signature, not SA_SIGINFO
20647         signature.  Pass 1 to siglongjmp rather than 0 (which is converted to
20648         1).  Fix code style.
20649         (set_sigaction_FP, remove_sigaction_FP): Functions removed.
20650         (check): Function removed.
20651         (CHECK): New macro.
20652         (TEST_FUNC): Fix code style.  Use CHECK macro rather than repeating
20653         boilerplate feclearexcept + feenableexcept + sigsetjmp code.
20654         Don't call set_sigaction_FP and remove_sigaction_FP here.
20655         (ldouble_test): Just use 'long double' as macro argument, no need for
20656         the 'ldouble' typedef.
20657         (do_test): Set up SIGFPE handler at start, using plain signal rather
20658         than sigaction.  Fix code style.
20660 2015-02-10  Evangelos Foutras  <evangelos@foutrelis.com>
20662         [BZ #17949]
20663         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of
20664         jump label.
20666 2015-02-09  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
20668         * sysdeps/powerpc/powerpc32/configure.ac: Remove R_PPC_REL16 check.
20669         * sysdeps/powerpc/powerpc32/configure: Regenerated.
20671         * sysdeps/powerpc/configure.ac: Remove file.
20672         * sysdeps/powerpc/configure: Likewise.
20674         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
20675         [sysdep_routines]: Remove wordcopy-power6 object.
20676         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
20677         (__memmove_power7): Use local call for wordcopy and memcpy symbols.
20678         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c
20679         (__memmove_ppc32): Likewise.
20680         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove
20681         file.
20682         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file.
20683         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]:
20684         Remove preprocessor.
20686         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
20687         [sysdep_routines]: Remove wide chars objects.
20688         [wcsmbs]: New rule for wide char objects.
20690         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
20691         Remove wordcopy-power6 obejct.
20692         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc):
20693         Use local call for wordcopy and memcpy symbols.
20694         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file.
20695         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default
20696         implementation for loader.
20697         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file.
20699         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
20700         Remove wordcopy-power7 object.
20701         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file.
20702         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c
20703         (_wordcopy_fwd_aligned): Remove POWER7 specialization.
20704         (_wordcopy_fwd_dest_aligned): Likewise.
20705         (_wordcopy_bwd_aligned): Likewise.
20706         (_wordcopy_bwd_dest_aligned): Likewise.
20708         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc):
20709         Rewrite to call __memmove_ppc instead of include default
20710         implementation.
20712         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
20713         Remove wide chars objects.
20714         [wcsmbs]: New rule for wide char objects.
20716 2015-02-09  Andreas Schwab  <schwab@suse.de>
20718         [BZ #17912]
20719         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
20720         in terms of __O_DIRECTORY.
20722 2015-02-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
20724         * time/getdate.c: Include <stdbool.h>.
20725         * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not
20726         call PTR_MANGLE.
20727         [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call
20728         PTR_DEMANGLE.
20730 2015-02-07  Paul Eggert  <eggert@cs.ucla.edu>
20732         Add ersatz _Static_assert on older C hosts
20733         * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a
20734         pre-C11 C platform that is not known to support _Static_assert.
20736 2015-02-07  Richard Braun  <rbraun@sceen.net>
20738         * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
20739         sigstate.
20740         * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case.
20742 2015-02-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
20744         * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
20745         priority against unexistent AIO_PRIO_DELTA_MAX.
20746         * misc/chflags.c (chflags): Set flags parameter type to unsigned long
20747         instead of int.
20748         * misc/fchflags.c (fchflags): Likewise.
20749         * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
20750         * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
20751         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
20752         UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
20753         SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
20754         Declare macros.
20755         [__USE_MISC] (chflags, fchflags): Declare functions.
20756         * hurd/hurdselect.c (_hurd_select): In the poll case, do not return
20757         EINVAL when nfds is greater than FD_SETSIZE.
20758         * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE,
20759         NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to
20760         45.
20761         * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to
20762         __mach_msg.  If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
20763         * hurd/hurdselect.c (_hurd_select): Remove unreachable check for
20764         MACH_RCV_TIMED_OUT.
20765         * hurd/hurd/signal.h (_hurd_self_sigstate,
20766         _hurd_critical_section_lock, _hurd_critical_section_unlock):
20767         Explicit casts from void *.
20768         * sysdeps/mach/hurd/tls.h: Include <stdint.h> and <sysdep.h>.
20769         * abi-tags: Rename gnu-gnu os into gnu.
20771         [BZ #4719]
20772         * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char,
20773         _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t,
20774         _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t,
20775         _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t,
20776         _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t,
20777         _IOTBASE_unsigned, _IOTBASE_signed): Define macros.
20779         [BZ #17944]
20780         * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which
20781         duplicates ADDR->sun_path with sockaddr LEN limitation.
20782         * sysdeps/mach/hurd/connect.c: Include <string.h>
20783         (__connect): Give result of _hurd_sun_path_dupa to name lookup.
20784         * sysdeps/mach/hurd/sendmsg.c: Likewise.
20785         * sysdeps/mach/hurd/sendto.c: Likewise.
20786         * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of
20787         implementing it by hand.
20789 2015-02-06  Roland McGrath  <roland@hack.frob.com>
20791         * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
20792         Use sfi_breg on ldr.
20793         [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
20794         Likewise.
20796         * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
20797         it's defined.
20798         * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
20799         Test SIGSETXID only if it's defined.
20801         * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
20803         * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
20804         will not be used.  Use NULL rather than 0 for .sigev_notify_attributes.
20806         * nptl/tst-align2.c: Moved ...
20807         * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
20808         * nptl/Makefile (tests): Remove tst-align2.
20809         * sysdeps/unix/sysv/linux/Makefile
20810         [$(subdir) = nptl] (tests): Add tst-align-clone.
20811         * nptl/tst-getpid1.c: Moved ...
20812         * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
20813         * nptl/tst-getpid2.c: Moved ...
20814         * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
20815         * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
20816         * sysdeps/unix/sysv/linux/Makefile
20817         [$(subdir) = nptl] (tests): ... here.
20818         * nptl/Makefile (tst-getpid2-ENV): Move variable ...
20819         * sysdeps/unix/sysv/linux/Makefile
20820         [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
20822         * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
20823         Drop trailing \n from perror argument.  Use return rather than exit.
20825         * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
20826         on [SA_SIGINFO].
20827         * nptl/tst-cancel21.c (do_test): Likewise.
20828         * debug/tst-backtrace6.c: Include <signal.h> first thing.
20829         Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
20830         [!SA_SIGINFO]: Make it a stub test.
20832         * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
20833         SIGCHLD; it's redundant with SIG_IGN as sa_handler.
20835         * posix/tst-getlogin.c: Move to ...
20836         * login/tst-getlogin.c: ... here.
20837         * posix/Makefile (tests): Move tst-getlogin to ...
20838         * login/Makefile (tests): ... here.
20840         * libio/tst-atime.c (do_test): Move local variables SV and E
20841         inside [ST_NOATIME] conditional.
20843         * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
20845         * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
20847         * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
20848         (wait_code): New function replaces macro.
20849         Call nanosleep rather than syscall.
20851         * nptl/pt-system.c: Rewritten.  Put everything under
20852         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
20853         Use IFUNC to redirect when possible.
20855         * nptl/pt-longjmp.c: Rewritten.  Put everything under
20856         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
20857         Use IFUNC to redirect when possible.
20859         * nptl/pt-fork.c: Rewritten.  Put everything under
20860         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
20861         Use IFUNC to redirect when possible.
20862         * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
20864         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
20865         code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
20866         unconditionally nowadays.  This included the only reference to
20867         __vdso_clock_gettime that appears outside libc proper.
20868         * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
20869         Remove version set (containing only __vdso_clock_gettime).
20870         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
20871         Add attribute_hidden.
20872         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
20873         Likewise.  Drop __attribute__ ((nocommon)), libc_hidden_proto, and
20874         libc_hidden_data_def.
20875         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
20876         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
20878         * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
20879         getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
20880         setrpcent, and getrpcport to ...
20881         * sunrpc/Versions (libc: GLIBC_2.0): ... here.
20882         * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
20883         getrpcbynumber_r, and getrpcent_r to ...
20884         * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
20885         * inet/getrpcbyname.c: Moved ...
20886         * sunrpc/getrpcbyname.c: ... here.
20887         * inet/getrpcbyname_r.c: Moved ...
20888         * sunrpc/getrpcbyname_r.c: ... here.
20889         * inet/getrpcbynumber.c: Moved ...
20890         * sunrpc/getrpcbynumber.c: ... here.
20891         * inet/getrpcbynumber_r.c: Moved ...
20892         * sunrpc/getrpcbynumber_r.c: ... here.
20893         * inet/getrpcent.c: Moved ...
20894         * sunrpc/getrpcent.c: ... here.
20895         * inet/getrpcent_r.c: Moved ...
20896         * sunrpc/getrpcent_r.c: ... here.
20897         * inet/Makefile (routines): Move those to ...
20898         * sunrpc/Makefile (routines): ... here.
20899         * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
20900         the $(subdirs) list.
20901         (CPPFLAGS-getent.c): New variable.  Pass -D option to set HAVE_SUNRPC
20902         to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
20903         * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
20904         (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
20906         * elf/Makefile (routines): Include $(all-dl-routines), not just
20907         $(dl-routines).
20908         (rtld-routines): Likewise.  Use = rather than :=.
20909         * sysdeps/aarch64/Makefile [$(subdir) = elf]
20910         (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
20911         dl-tlsdesc to these; sysdep-dl-routines alone is enough.
20912         * sysdeps/arm/Makefile: Likewise.
20913         * sysdeps/i386/Makefile: Likewise.
20914         * sysdeps/x86_64/Makefile: Likewise.
20915         * sysdeps/hppa/Makefile [$(subdir) = elf]
20916         (sysdep_routines, sysdep-rtld-routines): Don't add
20917         $(sysdep-dl-routines) to these.
20918         * sysdeps/ia64/Makefile: Likewise.
20919         * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
20920         * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
20921         [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
20922         Don't add dl-static to these; sysdep-dl-routines alone is enough.
20923         * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
20924         * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
20925         * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
20926         * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
20927         * sysdeps/powerpc/Makefile [$(subdir) = elf]
20928         (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
20929         these; sysdep-dl-routines alone is enough.
20931 2015-02-06  Joseph Myers  <joseph@codesourcery.com>
20933         [BZ #17932]
20934         * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
20935         where multiplication results in zero and third argument is finite
20936         and nonzero.
20937         * math/auto-libm-test-in: Add more tests of fma.
20938         * math/auto-libm-test-out: Regenerated.
20940         * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
20941         (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
20942         (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
20943         (_FP_CMP_EQ): Likewise.
20944         (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
20946         * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
20947         extra argument CHECK_NAN.  Redefine as wrapper around
20948         _FP_EXTEND_CNAN.
20950 2015-02-06  Carlos O'Donell  <carlos@systemhalted.org>
20952         * version.h (RELEASE): Set to "stable".
20953         (VERSION): Set to "2.21"
20954         * include/features.h (__GLIBC_MINOR__): Set to 21.
20956         * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
20958 2015-02-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
20959             Paul Eggert  <eggert@cs.ucla.edu>
20961         [BZ #16618]
20962         * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
20963         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
20964         size in bytes. Store needed elements in wpmax. Use needed size
20965         in bytes for extend_alloca.
20967 2015-02-05  Carlos O'Donell  <carlos@systemhalted.org>
20969         * manual/install.texi: Latest tested versions are GCC 4.9.2,
20970         binutls 2.25, and texinfo 5.2.
20971         * INSTALL: Regenerate.
20972         * sysdeps/nios2/configure: Regenerate.
20973         * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
20974         * manual/contrib.texi: Update.
20975         * po/be.po: Update.
20976         * po/bg.po: Update.
20977         * po/ca.po: Update.
20978         * po/cs.po: Update.
20979         * po/da.po: Update.
20980         * po/de.po: Update.
20981         * po/el.po: Update.
20982         * po/eo.po: Update.
20983         * po/es.po: Update.
20984         * po/fi.po: Update.
20985         * po/fr.po: Update.
20986         * po/gl.po: Update.
20987         * po/hr.po: Update.
20988         * po/hu.po: Update.
20989         * po/ia.po: Update.
20990         * po/id.po: Update.
20991         * po/it.po: Update.
20992         * po/ja.po: Update.
20993         * po/ko.po: Update.
20994         * po/lt.po: Update.
20995         * po/nb.po: Update.
20996         * po/nl.po: Update.
20997         * po/pl.po: Update.
20998         * po/pt_BR.po: Update.
20999         * po/ru.po: Update.
21000         * po/rw.po: Update.
21001         * po/sk.po: Update.
21002         * po/sl.po: Update.
21003         * po/sv.po: Update.
21004         * po/tr.po: Update.
21005         * po/uk.po: Update.
21006         * po/vi.po: Update.
21007         * po/zh_CN.po: Update.
21008         * po/zh_TW.po: Update.
21010         * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
21011         * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
21012         * sysdeps/hppa/dl-irel.h: Remove #warning.
21013         * sysdeps/hppa/entry.h: Provide prototype for
21014         __canonicalize_funcptr_for_compare and cast argument.
21015         * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
21016         * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
21017         * sysdeps/hppa/sotruss-lib.c: New file.
21018         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
21019         (atomic_compare_and_exchange_val_acq): Use __typeof__.
21020         (atomic_compare_and_exchange_bool_acq): Likewise.
21021         * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
21022         * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
21024         * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
21025         * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
21026         * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
21028 2015-02-05  Chung-Lin Tang  <cltang@codesourcery.com>
21030         * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
21031         called function in non-PIC case.
21033 2015-01-31  David S. Miller  <davem@davemloft.net>
21035         * sysdeps/sparc/sparc32/bits/atomic.h
21036         (__sparc32_atomic_do_unlock24): Put the memory barrier before the
21037         unlock not after it.
21038         (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
21039         volatile register usage warnings from the compiler.
21041         * sysdeps/sparc/nptl/sem_init.c: Delete.
21042         * sysdeps/sparc/nptl/sem_post.c: Delete.
21043         * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
21044         * sysdeps/sparc/nptl/sem_wait.c: Delete.
21045         * sysdeps/sparc/sparc32/sem_init.c: New file.
21046         * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
21047         * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
21048         padding explicitly initialized.
21049         * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
21050         padding for in-semaphore spinlock.
21051         * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
21052         * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
21053         * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
21054         * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
21055         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
21056         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
21057         * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
21058         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
21059         version.
21060         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
21061         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
21063 2015-01-30  H.J. Lu  <hongjiu.lu@intel.com>
21065         [BZ #17801]
21066         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
21067         Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
21068         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
21069         New.
21070         (index_AVX_Fast_Unaligned_Load): Likewise.
21071         (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
21072         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
21073         bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
21074         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
21075         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
21076         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
21077         * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
21078         HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
21079         * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
21081 2015-01-29  Andreas Schwab  <schwab@suse.de>
21083         * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
21085 2015-01-29  Siddhesh Poyarekar <siddhesh@redhat.com>
21087         [BZ #17892]
21088         * nscd/nscd_stat.c (send_stats): Initialize DATA.
21090 2015-01-28  Martin Sebor  <msebor@redhat.com>
21092         * math/README.libm-test: Clarify. Add "How to read the test output."
21094 2015-01-28  Chris Metcalf  <cmetcalf@ezchip.com>
21096         * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
21097         Define to 0.
21099 2015-01-28  Joseph Myers  <joseph@codesourcery.com>
21101         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
21102         (__HAVE_64B_ATOMICS): Define to 0.
21104 2015-01-28  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
21106         [BZ #17885]
21107         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
21108         value to set as new flag.
21110         [BZ #16576]
21111         * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
21112         and use _ARCH_PPCSQ instead.
21113         (__ieee754_sqrt): Likewise.
21114         (__ieee754_sqrtf): Likewise.
21115         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
21116         _ARCH_PPCSQ is defined.
21117         (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
21118         fsqrt instruction.
21119         * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
21120         _ARCH_PPCSQ is defined.
21121         (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
21122         fsqrts instruction.
21123         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
21125 2015-01-27  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
21127         * iconv/loop.c: Suppress array out of bound warning caused by GCC
21128         bug (GCC BZ #64739).
21130 2015-01-25  Andreas Schwab  <schwab@linux-m68k.org>
21132         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
21133         Mark _retval as used.
21134         (lll_futex_wake_unlock): Likewise.
21135         (lll_futex_timed_wait_requeue_pi): Likewise.
21137         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
21138         (atomic_compare_and_exchange_val_acq): Use uint32_t for the
21139         register variables.
21141         * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
21142         libm_hidden_def.
21144         * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
21145         (__bswap_64): Mark as __always_inline.
21147 2015-01-25  Bram  <bug_rh@spam.wizbit.be>
21149         [BZ #15378]
21150         * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
21151         when none of the search directories exist.
21153 2015-01-24  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
21155         [BZ #17869]
21156         * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
21157         power8 in .machine directive.
21159         [BZ #17868]
21160         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
21161         set dependency from opd value.
21163 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
21165         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
21166         Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
21167         architecture.
21169 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
21171         [BZ #17870]
21172         * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
21173         with uint64_t.
21174         * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
21175         (uint64_t) 1.
21176         (__new_sem_wait_fast): Replace unsigned long with uint64_t.
21177         (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
21178         Replace 1UL with (uint64_t) 1.
21179         * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
21180         int with uint64_t.
21182 2015-01-23  Roland McGrath  <roland@hack.frob.com>
21184         * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
21185         (if_freenameindex): Likewise.
21187         * resource/getrlimit64.c: Add missing libc_hidden_def.
21189 2015-01-22  Joseph Myers  <joseph@codesourcery.com>
21191         * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
21192         __label__.
21193         (_FP_FMA): Likewise.
21194         (_FP_TO_INT_ROUND): Likewise.
21195         (_FP_FROM_INT): Likewise.
21197 2015-01-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21199         [BZ #16418]
21200         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
21201         Make code racy and cancel safe.
21203 2015-01-21  Carlos O'Donell  <carlos@redhat.com>
21205         * sysdeps/arm/unwind-resume.h: Fix copyright year.
21206         * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
21207         attribution.
21209         * pwd/tst-getpw.c: Rewrite.
21211         [BZ #17702]
21212         * dlfcn/Makefile (tests): Add tst-rec-dlopen.
21213         (modules-names): Add moddummy1 and moddummy2.
21214         ($(objpfx)tst-rec-dlopen): Define.
21215         * dlfcn/moddummy1.c: New file.
21216         * dlfcn/moddummy2.c: New file.
21217         * dlfcn/tst-rec-dlopen.c: New file.
21218         * elf/dl-cache.c (_dl_load_cache_lookup):
21219         Return char*. Copy result with alloca/strcpy/strdup.
21220         * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
21221         returns char*. Free cached. If not saving realname
21222         free cached.
21223         * elf/dl-open.c (dl_open_worker): Do not assert that
21224         _r_debug->r_state is RT_CONSISTENT.
21225         * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
21226         returns char*.
21228 2015-01-21  Torvald Riegel  <triegel@redhat.com>
21229             Carlos O'Donell  <carlos@redhat.com>
21231         [BZ #12674]
21232         * nptl/sem_waitcommon.c: New file.
21233         * nptl/sem_wait.c: Include sem_waitcommon.c.
21234         (__sem_wait_cleanup, do_futex_wait): Remove.
21235         (__new_sem_wait): Adapt.
21236         (__new_sem_trywait): New function.
21237         (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
21238         * nptl/sem_timedwait.c: Include sem_waitcommon.c.
21239         (__sem_wait_cleanup, do_futex_timed_wait): Remove.
21240         (sem_timedwait): Adapt.
21241         * nptl/sem_post.c (__new_sem_post): Adapt.
21242         (futex_wake): New function.
21243         (__old_sem_post): Add release MO fence.
21244         * nptl/sem_open.c (sem_open): Adapt.
21245         * nptl/sem_init.c (__new_sem_init): Adapt.
21246         (futex_private_if_supported): New function.
21247         * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
21248         (__old_sem_getvalue): Add using previous code.
21249         * sysdeps/nptl/internaltypes.h: Adapt.
21250         * nptl/tst-sem13.c (do_test): Adapt.
21251         * nptl/tst-sem11.c (main): Adapt.
21252         * nptl/sem_trywait.c: Remove.
21253         * nptl/DESIGN-sem.txt: Remove.
21254         * nptl/Makefile (libpthread-routines): Remove sem_trywait.
21255         (gen-as-const-headers): Remove structsem.sym.
21256         * nptl/structsem.sym: Remove.
21257         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
21258         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
21259         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
21260         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
21261         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
21262         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
21263         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
21264         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
21265         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
21266         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
21267         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
21268         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
21269         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
21270         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
21271         * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
21272         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
21273         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
21274         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
21275         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
21276         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
21277         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
21278         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
21280 2015-01-20  Carlos O'Donell  <carlos@redhat.com>
21282         * INSTALL: Regenerated.
21284         * po/libc.pot: Regenerated.
21286 2015-01-18  Chung-Lin Tang  <cltang@codesourcery.com>
21287             Sandra Loosemore  <sandra@codesourcery.com>
21288             Andrew Jenner  <andrew@codesourcery.com>
21289             Joseph Myers  <joseph@codesourcery.com>
21290             Nathan Sidwell  <nathan@codesourcery.com>
21292         * NEWS: Mention new Nios II port.
21293         * sysdeps/nios2/Implies: New file.
21294         * sysdeps/nios2/Makefile: New file.
21295         * sysdeps/nios2/Subdirs: New file.
21296         * sysdeps/nios2/Versions: New file.
21297         * sysdeps/nios2/__longjmp.S: New file.
21298         * sysdeps/nios2/abort-instr.h: New file.
21299         * sysdeps/nios2/backtrace.c: New file.
21300         * sysdeps/nios2/bits/endian.h: New file.
21301         * sysdeps/nios2/bits/fenv.h: New file.
21302         * sysdeps/nios2/bits/link.h: New file.
21303         * sysdeps/nios2/bits/setjmp.h: New file.
21304         * sysdeps/nios2/bsd-_setjmp.S: New file.
21305         * sysdeps/nios2/bsd-setjmp.S: New file.
21306         * sysdeps/nios2/configure: New generated file.
21307         * sysdeps/nios2/configure.ac: New file.
21308         * sysdeps/nios2/crti.S: New file.
21309         * sysdeps/nios2/crtn.S: New file.
21310         * sysdeps/nios2/dl-init.c: New file.
21311         * sysdeps/nios2/dl-machine.h: New file.
21312         * sysdeps/nios2/dl-sysdep.h: New file.
21313         * sysdeps/nios2/dl-tls.h: New file.
21314         * sysdeps/nios2/dl-trampoline.S: New file.
21315         * sysdeps/nios2/gccframe.h: New file.
21316         * sysdeps/nios2/gmp-mparam.h: New file.
21317         * sysdeps/nios2/jmpbuf-offsets.h: New file.
21318         * sysdeps/nios2/jmpbuf-unwind.h: New file.
21319         * sysdeps/nios2/ldsodefs.h: New file.
21320         * sysdeps/nios2/libc-tls.c: New file.
21321         * sysdeps/nios2/libm-test-ulps: New file.
21322         * sysdeps/nios2/machine-gmon.h: New file.
21323         * sysdeps/nios2/math-tests.h: New file.
21324         * sysdeps/nios2/math_private.h: New file.
21325         * sysdeps/nios2/memusage.h: New file.
21326         * sysdeps/nios2/nptl/Makefile: New file.
21327         * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
21328         * sysdeps/nios2/nptl/bits/semaphore.h: New file.
21329         * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
21330         * sysdeps/nios2/nptl/pthreaddef.h: New file.
21331         * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
21332         * sysdeps/nios2/nptl/tls.h: New file.
21333         * sysdeps/nios2/preconfigure: New file.
21334         * sysdeps/nios2/s_fma.c: New file.
21335         * sysdeps/nios2/s_fmaf.c: New file.
21336         * sysdeps/nios2/setjmp.S: New file.
21337         * sysdeps/nios2/sfp-machine.h: New file.
21338         * sysdeps/nios2/sotruss-lib.c: New file.
21339         * sysdeps/nios2/stackguard-macros.h: New file.
21340         * sysdeps/nios2/stackinfo.h: New file.
21341         * sysdeps/nios2/start.S: New file.
21342         * sysdeps/nios2/sysdep.h: New file.
21343         * sysdeps/nios2/tls-macros.h: New file.
21344         * sysdeps/nios2/tst-audit.h: New file.
21345         * sysdeps/unix/sysv/linux/nios2/Implies: New file.
21346         * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
21347         * sysdeps/unix/sysv/linux/nios2/Versions: New file.
21348         * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
21349         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
21350         * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
21351         * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
21352         * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
21353         * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
21354         * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
21355         * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
21356         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
21357         * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
21358         * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
21359         * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
21360         * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
21361         * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
21362         * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
21363         * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
21364         * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
21365         * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
21366         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
21367         * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
21368         * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
21369         * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
21370         * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
21371         * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
21372         * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
21373         * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
21374         * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
21375         * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
21376         * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
21377         * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
21378         * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
21379         * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
21380         * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
21381         * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
21382         * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
21383         * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
21384         * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
21385         * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
21386         * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
21387         * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
21388         * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
21390 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
21392         [BZ #17844]
21393         * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
21394         (getutent): Use weak_alias in non SHARED case
21395         and default_symbol_version in SHARED case.
21396         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
21397         (getutent_r, pututline): Likewise.
21398         * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
21399         (getutid): Likewise.
21400         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
21401         (getutid_r): Likewise.
21402         * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
21403         (getutline): Likewise.
21404         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
21405         (getutline_r): Likewise.
21406         * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
21407         (updwtmp): Likewise.
21409 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
21411         [BZ #17848]
21412         * sysdeps/s390/s390-32/memcmp.S
21413         (memcmp_g5): Rename to __memcmp_g5.
21414         * sysdeps/s390/s390-32/memcpy.S
21415         (memcpy_g5): Rename to __memcpy_g5.
21416         Jump to __memcpy_mvcle instead of memcpy_mvcle.
21417         (memcpy_mvcle) Rename to __memcpy_mvcle.
21418         * sysdeps/s390/s390-32/memset.S
21419         (memset_g5): Rename to __memset_g5.
21420         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
21421         (IFUNC_RESOLVE): Prefix ifunc-resolve function
21422         and use prefixed functions.
21423         * sysdeps/s390/s390-32/multiarch/memcmp.S
21424         (memcmp_z196): Rename to __memcmp_z196.
21425         (memcmp_z10): Rename to __memcmp_z10.
21426         (memcmp): Set alias to __memcmp_g5.
21427         (bcmp): Set alias to __memcmp_g5.
21428         * sysdeps/s390/s390-32/multiarch/memcpy.S
21429         (memcpy_z196): Rename to __memcpy_z196.
21430         Jump to __memcpy_mvcle instead of memcpy_mvcle.
21431         (memcpy_z10): Rename to __memcpy_z10.
21432         Jump to __memcpy_mvcle instead of memcpy_mvcle.
21433         (memcpy): Set alias to __memcpy_g5.
21434         * sysdeps/s390/s390-32/multiarch/memset.S
21435         (memset_z196): Rename to __memset_z196.
21436         Jump to __memset_mvcle instead of memset_mvcle.
21437         (memset_z10): Rename to __memset_z10.
21438         Jump to __memset_mvcle instead of memset_mvcle.
21439         (memset_mvcle) Rename to __memset_mvcle.
21440         (memset): Set alias to __memset_g5.
21441         * sysdeps/s390/s390-64/memcmp.S
21442         (memcmp_z900): Rename to __memcmp_z900.
21443         * sysdeps/s390/s390-64/memcpy.S
21444         (memcpy_z900): Rename to __memcpy_z900.
21445         Jump to __memcpy_mvcle instead of memcpy_mvcle.
21446         (memcpy_mvcle) Rename to __memcpy_mvcle.
21447         * sysdeps/s390/s390-64/memset.S
21448         (memset_z900): Rename to __memset_z900.
21449         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
21450         (IFUNC_RESOLVE): Prefix ifunc-resolve function
21451         and use prefixed functions.
21452         * sysdeps/s390/s390-64/multiarch/memcmp.S
21453         (memcmp_z196): Rename to __memcmp_z196.
21454         (memcmp_z10): Rename to __memcmp_z10.
21455         (memcmp): Set alias to __memcmp_z900.
21456         (bcmp): Set alias to __memcmp_z900.
21457         * sysdeps/s390/s390-64/multiarch/memcpy.S
21458         (memcpy_z196): Rename to __memcpy_z196.
21459         Jump to __memcpy_mvcle instead of memcpy_mvcle.
21460         (memcpy_z10): Rename to __memcpy_z10.
21461         Jump to __memcpy_mvcle instead of memcpy_mvcle.
21462         (memcpy): Set alias to __memcpy_z900.
21463         * sysdeps/s390/s390-64/multiarch/memset.S
21464         (memset_z196): Rename to __memset_z196.
21465         Jump to __memset_mvcle instead of memset_mvcle.
21466         (memset_z10): Rename to __memset_z10.
21467         Jump to __memset_mvcle instead of memset_mvcle.
21468         (memset_mvcle) Rename to __memset_mvcle.
21469         (memset): Set alias to __memset_z900.
21471 2015-01-14  Joseph Myers  <joseph@codesourcery.com>
21473         [BZ #17748]
21474         * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
21475         __fesetenv instead of fesetenv.
21477 2015-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
21479         * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
21480         macro.
21482 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21484         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
21485         regression on LE.
21487         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
21488         * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
21489         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
21490         strncmp-power8 object.
21491         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21492         (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
21493         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
21494         * NEWS: Update.
21496 2015-01-13  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
21497             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21499         * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
21500         trailing byte check.
21502 2015-01-13  David S. Miller  <davem@davemloft.net>
21504         * include/signal.h (__sigreturn): Guard with __USE_MISC.
21506 2015-01-13  Roland McGrath  <roland@hack.frob.com>
21508         * login/logout.c (logout): Use memset rather than bzero.
21509         * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
21510         * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
21511         * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
21512         (_gethtbyaddr): Likewise.
21513         * locale/programs/simple-hash.c (bcopy): Macro removed.
21515 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21517         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
21518         Add strcmp-power8 object.
21519         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21520         (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
21521         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
21522         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
21523         __strcmp_power8 implementation.
21524         * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
21525         * NEWS: Update.
21527         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
21528         Add strncpy-power8 and stpncpy-power8 objects.
21529         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21530         (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
21531         implementations.
21532         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
21533         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
21534         __stpncpy_power8 implementation.
21535         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
21536         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
21537         __strncpy_power8 implementation.
21538         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
21539         * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
21540         * NEWS: Update.
21542         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
21543         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
21544         * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
21546         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
21547         strncat-power8 object.
21548         * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
21549         __strcat_power8 implementation.
21550         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21551         (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
21552         * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
21553         optimized strcat for power8.
21555         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
21556         strcpy-power8 and stpcpy-power8 objects.
21557         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21558         (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
21559         implementations.
21560         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
21561         multiarch stpcpy implementation for POWER8.
21562         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
21563         multiarch strcpy implementation for POWER8.
21564         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
21565         __strcpy_power8 function.
21566         * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
21567         stpcpy for POWER8.
21568         * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
21569         strcpy for POWER8.
21570         * NEWS: Update.
21572 2015-01-13  Leonhard Holz  <leonhard.holz@web.de>
21574         [BZ #16009]
21575         * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
21576         weights and rules. Use do_xfrm_cached if data fits in cache,
21577         do_xfrm otherwise.  Moved former main loop to...
21578         * (do_xfrm_cached): New function.
21579         * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
21580         find_idx, find_position and stack_push.
21581         * (find_idx): New function.
21582         * (find_position): Likewise.
21583         * localedata/sort-test.sh: Added test run for do_xfrm.
21584         * localedata/xfrm-test.c (main): Added command line option
21585         -nocache to run the test with strings that are too large for
21586         the STRXFRM cache.
21588 2015-01-13  Torvald Riegel  <triegel@redhat.com>
21590         * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
21591         variable to lll_futex_wake call, not the value itself.
21593 2015-01-12  Joseph Myers  <joseph@codesourcery.com>
21595         [BZ #17803]
21596         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
21597         twom64.  Adjust value to 0x1p-64L.
21598         (__scalblnl): Only return standard underflowing result for K <=
21599         -64 not K <= -63; adjust exponent for underflowing result by 64
21600         not 63.
21601         * math/libm-test.inc (scalbn_test_data): Add more tests.
21602         (scalbln_test_data): Likewise.
21604         [BZ #17834]
21605         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
21606         0x1p63L.
21607         (__scalblnl): Get new exponent of adjusted subnormal value from ES
21608         not HX.
21609         * math/libm-test.inc (scalbn_test_data): Add more tests.
21610         (scalbln_test_data): Likewise.
21612 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21613             Stefani Seibold  <stefani@seibold.net>
21615         * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
21616         (sysdep_routines): Add dl-vdso here, ...
21617         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
21618         (sysdep_routines): ... not here.
21619         * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
21620         fallback when vDSO is not presented.
21621         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
21622         Define with libc_hidden_proto/libc_hidden_data_def definitions.
21623         (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
21624         * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
21625         * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
21626         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
21627         * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
21628         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
21629         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
21630         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
21631         * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here.  Also added
21632         fallback configurable symbol when vDSO is not available.
21633         * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
21634         * sysdeps/unix/sysv/linux/x86/time.c: ... here.  Also refactored to
21635         be able to redefine fallback symbol when vDSO is not available.
21636         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
21637         * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
21639 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21641         * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
21642         (TLS_INIT_TP): Add tm_capable initialization.
21643         (TLS_DEFINE_INIT_TP): Likewise.
21644         (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
21645         TCB.
21646         (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
21647         * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
21648         calculation.
21649         * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
21650         transactoion is lock elision is built and TCB tm_capable is set.
21651         * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
21652         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
21653         (INTERNAL_SYSCALL_NCS): Likewise.
21654         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
21655         (INTERNAL_SYSCALL_NCS): Likewise.
21656         * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
21658         * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
21659         for powerpc.
21660         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
21661         [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
21662         and remove it for 32 bits case.
21663         [pthread_rwlock_t] (__rwelision): New field for lock elision.
21664         (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
21665         initialization.
21666         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
21667         Disable lock elision with rdlocks if elision is not available.
21669         * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
21670         (sysdep_routines): Add lock elision objects.
21671         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
21672         [pthread_mutex_t] (__spins): Rework to add lock elision field.
21673         [pthread_mutex_t] (__elision): Add field.
21674         [__PTHREAD_SPINS]: Adjust to init lock elision field.
21675         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
21676         elision definitions for powerpc.
21677         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
21678         implementation of lock elision for powerpc.
21679         * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
21680         implementation of timed lock elision for powerpc.
21681         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
21682         implementation of trylock with lock elision for powerpc.
21683         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
21684         implementaion of unlock for lock elision for powerpc.
21685         * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
21686         automatic enable lock elision for mutexes.
21687         * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
21688         transaction execution definitions for powerpc.
21689         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
21690         definitions.
21691         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
21692         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
21693         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
21694         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
21695         * NEWS: Update.
21697 2015-01-09  Roland McGrath  <roland@hack.frob.com>
21699         * sysdeps/posix/shm-directory.c: Use <> rather than ""
21700         for #include of <shm-directory.h>.
21702 2015-01-09  Chung-Lin Tang  <cltang@codesourcery.com>
21704         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
21705         assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
21707 2015-01-09  Matthew Fortune <matthew.fortune@imgtec.com>
21709         [BZ #17791]
21710         * NEWS: Mention bug fix.
21711         * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
21712         (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
21713         (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
21715 2015-01-09  Torvald Riegel <triegel@redhat.com>
21717         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
21719 2015-01-09  Torvald Riegel <triegel@redhat.com>
21721         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
21723 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
21725         * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
21726         pointer and cast to uintptr_t.
21728 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
21730         * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
21731         removed.
21732         (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
21734 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
21736         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
21737         of 0.
21739 2015-01-08  Roland McGrath  <roland@hack.frob.com>
21741         * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
21742         <nptl/pthreadP.h> instead.
21743         * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
21745         * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
21746         already defined.
21747         [__SIGRTMIN] (init): Function removed.
21748         [__SIGRTMIN] (initialized): Variable removed.
21749         [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
21750         [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
21751         __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
21752         (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
21753         (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
21754         (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
21755         (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
21756         (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
21757         (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
21758         (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
21759         (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
21760         * sysdeps/nptl/allocrtsig.c: New file.
21761         * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
21762         * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
21763         * sysdeps/generic/testrtsig.h: File removed.
21765         * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
21766         (pthread_sigmask): Call sigprocmask, not __sigprocmask.
21768         * nptl/nptl-init.c (pthread_functions): Conditionalize
21769         .ptr__nptl_setxid initialization on [SIGSETXID].
21771         * sysdeps/nptl/sys/procfs.h: New file.
21772         * nptl_db/Makefile (headers): Add it.
21773         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
21775         * nptl/pthreadP.h (check_cpuset_attr): Moved ...
21776         * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
21777         * nptl/pthread_attr_setaffinity.c: Include it.
21778         * nptl/pthread_setattr_default_np.c: Likewise.
21779         * nptl/check-cpuset.h: New file.
21781 2015-01-08  Richard Henderson  <rth@redhat.com>
21783         * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
21784         (CFLAGS-tst-execstack-prog.c): Likewise.
21785         * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
21787 2015-01-08  Chung-Lin Tang  <cltang@codesourcery.com>
21788             Sandra Loosemore  <sandra@codesourcery.com>
21789             Andrew Jenner  <andrew@codesourcery.com>
21790             Joseph Myers  <joseph@codesourcery.com>
21791             Nathan Sidwell  <nathan@codesourcery.com>
21793         * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
21794         (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
21795         (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
21796         (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
21797         (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
21798         (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
21799         (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
21800         (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
21801         (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
21802         (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
21803         (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
21804         (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
21805         (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
21806         (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
21807         (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
21808         (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
21809         (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
21811 2015-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21813         * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
21814         timespec struct member in syscall macro.
21815         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
21816         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
21817         first timeval struct member in syscall macro.
21818         * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
21820 2015-01-07  Joseph Myers  <joseph@codesourcery.com>
21822         [BZ #17748]
21823         * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
21824         * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
21825         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
21826         __feupdateenv and define as weak alias of __feupdateenv.  Use
21827         libm_hidden_weak.
21828         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
21829         libm_hidden_def.
21830         * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
21831         and define as weak alias of __feupdateenv.  Use libm_hidden_weak.
21832         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
21833         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
21834         libm_hidden_def.
21835         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
21836         __feupdateenv and define as weak alias of __feupdateenv.  Use
21837         libm_hidden_weak.
21838         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
21839         libm_hidden_def.
21840         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
21841         __feupdateenv and define as weak alias of __feupdateenv.  Use
21842         libm_hidden_weak.
21843         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
21844         libm_hidden_def.
21845         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
21846         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
21847         (__feupdateenv): Likewise.
21848         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
21849         __feupdateenv and define as weak alias of __feupdateenv.  Use
21850         libm_hidden_weak.
21851         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
21852         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
21853         libm_hidden_def.
21854         * sysdeps/tile/math_private.h (__feupdateenv): New inline
21855         function.
21856         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
21857         libm_hidden_def.
21858         * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
21859         __feupdateenv instead of feupdateenv.
21860         (default_libc_feupdateenv_test): Likewise.
21861         (libc_feresetround_ctx): Likewise.
21863 2015-01-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21865         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
21866         prototype.
21868 2015-01-07  Chris Metcalf  <cmetcalf@ezchip.com>
21870         * posix/regcomp.c (parse_bracket_exp): Initialize type to
21871         COLL_SYM in a couple of places to avoid uninitialized variable
21872         wanings on tilegx gcc 4.8.2.
21874 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
21876         * sysdeps/aarch64/strcpy.S: New file.
21877         * sysdeps/aarch64/stpcpy.S: New file.
21878         * NEWS: Updated.
21880 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
21882         * sysdeps/aarch64/strrchr.S: New file.
21883         * NEWS: Updated.
21885 2015-01-07  Eric Biggers  <ebiggers3@gmail.com>
21887         [BZ #17658]
21888         * stdlib/setenv.c: Fix memory leak when setting large,
21889         duplicate string.
21891 2015-01-06  Vladimir A. Nazarenko  <naszar@ya.ru>
21893         [BZ #17273]
21894         * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
21895         and tabs from buffer before parsing fstab entry.
21896         * misc/tst-mntent.c (main): Add test for mount entry with
21897         trailing spaces and tabs.
21899 2015-01-06  Joseph Myers  <joseph@codesourcery.com>
21901         [BZ #17748]
21902         * include/fenv.h (__fesetround): Declare.  Use libm_hidden_proto.
21903         * math/fesetround.c (fesetround): Rename to __fesetround and
21904         define as weak alias of __fesetround.  Use libm_hidden_weak.
21905         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
21906         * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
21907         * sysdeps/arm/fesetround.c (fesetround): Likewise.
21908         * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
21909         * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
21910         * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
21911         * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
21912         * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
21913         * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
21914         __fesetround_inline.
21915         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
21916         __fesetround_inline instead of __fesetround.
21917         * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
21918         __fesetround and define as weak alias of __fesetround.  Use
21919         libm_hidden_weak.  Call __fesetround_inline instead of
21920         __fesetround.
21921         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
21922         __fesetround and define as weak alias of __fesetround.  Use
21923         libm_hidden_weak.
21924         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
21925         Likewise.
21926         * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
21927         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
21928         * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
21929         * sysdeps/tile/math_private.h (__fesetround): New inline function.
21930         * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
21931         __fesetround and define as weak alias of __fesetround.  Use
21932         libm_hidden_weak.
21933         * sysdeps/generic/math_private.h (default_libc_fesetround): Call
21934         __fesetround instead of fesetround.
21935         (default_libc_feholdexcept_setround): Likewise.
21936         (libc_feholdsetround_ctx): Likewise.
21937         (libc_feholdsetround_noex_ctx): Likewise.
21939         [BZ #17748]
21940         * include/fenv.h (__fesetenv): Use libm_hidden_proto.
21941         * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
21942         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
21943         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
21944         * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
21945         * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
21946         define as weak alias of __fesetenv.  Use libm_hidden_weak.
21947         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
21948         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
21949         * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
21950         define as weak alias of __fesetenv.  Use libm_hidden_weak.
21951         * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
21952         * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
21953         define as weak alias of __fesetenv.  Use libm_hidden_weak.
21954         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
21955         libm_hidden_def.
21956         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
21957         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
21958         Likewise.
21959         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
21960         define as weak alias of __fesetenv.  Use libm_hidden_weak.
21961         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
21962         * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
21963         * sysdeps/tile/math_private.h (__fesetenv): New inline function.
21964         * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
21965         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
21966         * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
21967         __fesetenv instead of fesetenv.
21968         (libc_feresetround_noex_ctx): Likewise.
21969         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
21970         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
21971         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
21972         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
21973         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
21974         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
21975         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
21976         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
21977         (__feupdateenv): Likewise.
21978         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
21979         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
21980         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
21981         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
21983 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
21985         [BZ #17806]
21986         * resolv/res_init.c (__res_iclose): Only clear nsinit if the
21987         addresses have been freed.
21989 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
21991         * resolv/res_init.c (__res_vinit): Improve comments about nserv
21992         and nservall.
21994 2015-01-06  Ondřej Bílka  <neleai@seznam.cz>
21996         * sysdeps/unix/sysv/linux/check_pf.c (make_request):
21997         Clean up check_pf allocation pattern. addresses
21999 2015-01-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22001         * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
22002         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
22003         * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
22004         * nptl/pthread_exit.c (__pthread_exit): Likewise.
22005         * nptl/pthread_join.c (pthread_join): Likewise.
22006         * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
22007         * sysdeps/posix/waitid.c (__waitid): Likewise.
22008         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
22009         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
22010         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
22011         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
22012         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
22013         Likewise.
22014         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
22015         (__libc_pread64): Likewise.
22016         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
22017         (__libc_pwrite): Likewise.
22018         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
22019         (__libc_pwrite64): Likewsie.
22020         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
22021         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
22022         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
22023         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
22024         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
22025         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
22026         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
22027         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
22028         Likewise.
22029         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
22030         (__libc_pread64): Likewise.
22031         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
22032         Likewise.
22033         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
22034         (__libc_pwrite64): Likewise.
22035         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
22036         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
22037         * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
22038         * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
22039         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
22040         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
22041         * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
22042         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
22043         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
22044         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
22045         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
22046         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
22047         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
22048         * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
22049         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
22050         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
22051         Likewise.
22053 2015-01-06  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
22055         * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
22056         (CFLAGS-test-double.c): Likewise.
22057         (CFLAGS-test-ldouble.c): Likewise.
22058         (CPPFLAGS-test-ifloat.c): Likewise.
22059         (CPPFLAGS-test-idouble.c): Likewise.
22060         (CPPFLAGS-test-ildoubl.c): Likewise.
22061         (CFLAGS-test-test-fenv.c): Remove variable.
22062         (CFLAGS-test-misc.c): Likewise.
22064 2015-01-06  H.J. Lu  <hongjiu.lu@intel.com>
22066         [BZ #17797]
22067         * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
22068         * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
22069         * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
22070         CLOCKS_PER_SEC == 1000000.
22071         * time/clocktest.c (main): Replace %ld with %jd and cast to
22072         intmax_t.
22074 2015-01-05  Roland McGrath  <roland@hack.frob.com>
22076         * sysdeps/generic/unwind-resume.h: New file.
22077         * sysdeps/gnu/unwind-resume.c: Include it.
22078         (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
22079         (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
22080         argument list.
22081         (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
22082         global rather than static.
22083         (_Unwind_Resume): Update user.
22084         Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
22085         (init): Likewise.  Renamed to __libgcc_s_init, made hidden global
22086         rather than static.  Add __attribute__ ((cold)).
22087         (_Unwind_Resume, __gcc_personality_v0): Update callers.
22088         * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
22089         * sysdeps/arm/arm-unwind-resume.S: New file.
22090         * sysdeps/arm/rt-arm-unwind-resume.S: New file.
22091         * sysdeps/arm/pt-arm-unwind-resume.S: New file.
22092         * sysdeps/arm/Makefile [$(subdir) = csu]
22093         (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
22094         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
22095         Add rt-arm-unwind-resume.
22096         [$(subdir) = nptl]
22097         (libpthread-sysdep_routines, libpthread-shared-only-routines):
22098         Add pt-arm-unwind-resume.
22099         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
22100         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
22102 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
22104         [BZ #17748]
22105         * include/fenv.h (__feholdexcept): Declare.  Use
22106         libm_hidden_proto.
22107         * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
22108         define as weak alias of __feholdexcept.  Use libm_hidden_weak.
22109         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
22110         * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
22111         * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
22112         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
22113         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
22114         * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
22115         * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
22116         * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
22117         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
22118         * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
22119         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
22120         (feholdexcept): Likewise.
22121         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
22122         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
22123         * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
22124         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
22125         * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
22126         __feholdexcept instead of feholdexcept.
22127         (default_libc_feholdexcept_setround): Likewise.
22129 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
22131         * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
22132         to avoid using stl/str to align destination.
22134 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
22136         * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
22138 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
22140         [BZ #17796]
22141         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
22142         [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
22143         Define as weak alias not strong alias.
22145 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
22147         * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
22148         bltzal with addiupc.
22149         (RTLD_START): Ditto.
22151 2015-01-05  Chris Metcalf  <cmetcalf@ezchip.com>
22153         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
22154         for __vdso_* functions in declarations.
22155         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
22156         definitions.
22157         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
22158         INTERNAL_VSYSCALL): Use struct return types to check for error.
22160         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
22161         && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
22162         function with cast from llround().
22163         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
22164         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
22165         Define.
22167 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
22169         [BZ #17793]
22170         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
22171         Define as weak alias not strong alias.
22173         [BZ #17635]
22174         * ctype/ctype-c99.c: New file.  isblank implementation moved from
22175         ...
22176         * ctype/ctype-extn.c: ... here.
22177         (__isblank_l): Move to ...
22178         * ctype/ctype-c99_l.c: ... here.  New file.
22179         * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
22180         * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
22181         Remove variable.
22182         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
22183         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
22184         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
22185         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
22186         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
22188         [BZ #17777]
22189         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
22190         (posix_fadvise64): Define as weak alias not strong alias.
22191         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
22192         (posix_fallocate64): Likewise.
22193         * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
22194         Remove variable.
22195         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
22196         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
22197         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
22198         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
22199         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
22201 2015-01-05  Matthew Fortune  <matthew.fortune@imgtec.com>
22203         [BZ #16191]
22204         * NEWS: Mention bug fix.
22205         * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
22206         (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
22207         (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
22208         (HOST_STACK_END_ADDR): Likewise.
22210 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
22212         [BZ #17748]
22213         * include/fenv.h (__fegetround): Declare.  Use libm_hidden_proto.
22214         * math/fegetround.c (fegetround): Rename to __fegetround and
22215         define as weak alias of __fegetround.  Use libm_hidden_weak.
22216         * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
22217         * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
22218         * sysdeps/arm/fegetround.c (fegetround): Likewise.
22219         * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
22220         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
22221         * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
22222         * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
22223         * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
22224         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
22225         Undefine after rather than before function definition; use
22226         parentheses around function name in definition.
22227         (__fegetround): Also undefine macro after function definition.
22228         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
22229         __fegetround and define as weak alias of __fegetround.  Use
22230         libm_hidden_weak.  Do not undefine as macro.
22231         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
22232         Likewise.
22233         * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
22234         __fegetround and define as weak alias of __fegetround.  Use
22235         libm_hidden_weak.
22236         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
22237         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
22238         * sysdeps/tile/math_private.h (__fegetround): New inline function.
22239         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
22240         __fegetround and define as weak alias of __fegetround.  Use
22241         libm_hidden_weak.
22242         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
22243         __fegetround instead of fegetround.
22245         [BZ #17782]
22246         * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
22247         Condition macro definition on [__USE_MISC].
22249         [BZ #17781]
22250         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
22251         (struct sigaction): Change type of sa_flags field to int.
22253         [BZ #17780]
22254         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
22255         [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
22256         __glibc_reserved0.
22258         * nptl/version.c (banner): Use single year in copyright notice.
22260         * NEWS: Update copyright dates.
22261         * catgets/gencat.c (print_version): Likewise.
22262         * csu/version.c (banner): Likewise.
22263         * debug/catchsegv.sh: Likewise.
22264         * debug/pcprofiledump.c (print_version): Likewise.
22265         * debug/xtrace.sh (do_version): Likewise.
22266         * elf/ldconfig.c (print_version): Likewise.
22267         * elf/ldd.bash.in: Likewise.
22268         * elf/pldd.c (print_version): Likewise.
22269         * elf/sotruss.sh: Likewise.
22270         * elf/sprof.c (print_version): Likewise.
22271         * iconv/iconv_prog.c (print_version): Likewise.
22272         * iconv/iconvconfig.c (print_version): Likewise.
22273         * locale/programs/locale.c (print_version): Likewise.
22274         * locale/programs/localedef.c (print_version): Likewise.
22275         * login/programs/pt_chown.c (print_version): Likewise.
22276         * malloc/memusage.sh (do_version): Likewise.
22277         * malloc/memusagestat.c (print_version): Likewise.
22278         * malloc/mtrace.pl: Likewise.
22279         * manual/libc.texinfo: Likewise.
22280         * nptl/version.c (banner): Likewise.
22281         * nscd/nscd.c (print_version): Likewise.
22282         * nss/getent.c (print_version): Likewise.
22283         * nss/makedb.c (print_version): Likewise.
22284         * posix/getconf.c (main): Likewise.
22285         * scripts/test-installation.pl: Likewise.
22286         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
22288 2015-01-02  Will Newton  <will.newton@linaro.org>
22290         * sysdeps/arm/armv7/configure: Removed.
22291         * sysdeps/arm/armv7/configure.ac: Likewise.
22293 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
22295         * All files with FSF copyright notices: Update copyright dates
22296         using scripts/update-copyrights.
22297         * intl/plural.c: Regenerated.
22298         * locale/programs/charmap-kw.h: Likewise.
22299         * locale/programs/locfile-kw.h: Likewise.
22301 2015-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
22303         * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
22305 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
22307         [BZ #17748]
22308         * include/fenv.h (__fegetenv): Use libm_hidden_proto.
22309         * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
22310         * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
22311         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
22312         * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
22313         * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
22314         define as weak alias of __fegetenv.  Use libm_hidden_weak.
22315         * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
22316         * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
22317         * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
22318         define as weak alias of __fegetenv.  Use libm_hidden_weak.
22319         * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
22320         * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
22321         define as weak alias of __fegetenv.  Use libm_hidden_weak.
22322         * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
22323         libm_hidden_def.
22324         * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
22325         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
22326         Likewise.
22327         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
22328         define as weak alias of __fegetenv.  Use libm_hidden_weak.
22329         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
22330         * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
22331         * sysdeps/tile/math_private.h (__fegetenv): New inline function.
22332         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
22333         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
22334         * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
22335         __fegetenv instead of fegetenv.
22336         (libc_feholdsetround_noex_ctx): Likewise.
22338 2014-12-31  Matthew Fortune  <matthew.fortune@imgtec.com>
22340         * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
22341         (Elf_MIPS_ABIFlags_v0): New structure.
22342         (EF_MIPS_FP64): Define.
22343         (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
22344         (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
22345         (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
22346         (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
22347         (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
22348         (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
22349         (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
22350         (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
22351         (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
22352         (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
22353         (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
22354         (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
22355         (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
22356         (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
22357         (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
22358         (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
22359         (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
22360         (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
22361         (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
22362         * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
22363         tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
22364         * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
22365         field.
22366         * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
22367         EF_MIPS_FP64.
22368         * sysdeps/mips/dl-machine-reject-phdr.h: New file.
22369         * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
22370         * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
22371         * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
22372         * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
22373         * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
22374         * sysdeps/mips/tst-abi-interlink.c: Likewise.
22375         * sysdeps/mips/tst-mode-switch-1.c: Likewise.
22376         * sysdeps/mips/tst-mode-switch-2.c: Likewise.
22377         * sysdeps/mips/tst-mode-switch-3.c: Likewise.
22378         * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
22379         record the current FP ABI extension.
22380         (mips-mode-switch): Define to show if kernel headers support mode
22381         switching.
22382         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
22383         * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
22384         supported SYSV ABI version to 3.
22385         * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
22386         feature.
22388 2014-12-31  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
22389             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22391         * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
22392         path.
22393         * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
22395 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
22397         * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
22398         __fegetround and redefine to call __fegetround.  Remove condition
22399         on [!__NO_MATH_INLINES].
22400         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
22401         function.
22402         * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
22403         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
22404         Remove macro.
22405         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
22406         instead of <fenv_libc.h>.
22407         (__llrintl): Call fegetround instead of __fegetround.
22408         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
22409         instead of <fenv_libc.h>.
22410         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
22411         (__lrintl): Call fegetround instead of __fegetround.
22412         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
22413         instead of <fenv_libc.h>.
22414         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
22415         (__rintl): Call fegetround instead of __fegetround.
22417 2014-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
22419         * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
22420         arrays.
22422 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
22424         [BZ #17775]
22425         * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
22426         (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
22427         (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
22429 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
22431         * sysdeps/i386/tls-macros.h: Include <features.h>.
22432         (TLS_LE): Use non-PIC version for GCC >= 5.0.
22433         (TLS_IE): Likewise.
22434         (TLS_LD): Likewise.
22435         (TLS_GD): Likewise.
22436         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
22437         define for GCC >= 5.0.
22439 2014-12-30  Chris Metcalf  <cmetcalf@ezchip.com>
22441         * math/test-fenv.c (test_single_exception, set_single_exc,
22442         feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
22443         feexcp_mask_test, feenable_test, fe_single_test): Add
22444         [!FE_ALL_EXCEPT] test so these routines are not compiled in the
22445         case where they are not used.
22446         * math/libm-test.inc: Likewise.
22447         * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
22448         unused in the absence of FP rounding/exception support.
22449         * stdio-common/tst-printf-round.c: Likewise.
22450         * stdlib/tst-strtod-round.c: Likewise.
22451         * stdlib/tst-strtod-underflow.c: Likewise.
22453 2014-12-30  Joseph Myers  <joseph@codesourcery.com>
22455         [BZ #17723]
22456         * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
22457         * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
22458         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
22459         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
22460         libm_hidden_weak.
22461         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
22462         * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
22463         * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
22464         libm_hidden_def.
22465         * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
22466         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
22467         libm_hidden_weak.
22468         * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
22469         Likewise.
22470         * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
22471         * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
22472         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
22473         libm_hidden_weak.
22474         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
22475         libm_hidden_def.
22476         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
22477         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
22478         (__feraiseexcept): Likewise.
22479         * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
22480         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
22481         libm_hidden_weak.
22482         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
22483         * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
22484         libm_hidden_def.
22485         * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
22486         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
22487         Use libm_hidden_def.
22488         * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
22489         libm_hidden_def.
22490         (feraiseexcept): Define as weak not strong alias.  Use
22491         libm_hidden_weak.
22492         * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
22493         New inline function.  Factored out of ...
22494         (feraiseexcept): ... here.  Use __feraiseexcept_invalid_divbyzero.
22495         * sysdeps/x86/fpu/include/bits/fenv.h: New file.
22496         * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
22497         feraiseexcept.
22498         * math/w_acos.c (__acos): Likewise.
22499         * math/w_asin.c (__asin): Likewise.
22500         * math/w_ilogb.c (__ilogb): Likewise.
22501         * math/w_j0.c (y0): Likewise.
22502         * math/w_j1.c (y1): Likewise.
22503         * math/w_jn.c (yn): Likewise.
22504         * math/w_log.c (__log): Likewise.
22505         * math/w_log10.c (__log10): Likewise.
22506         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
22507         * sysdeps/aarch64/fpu/math_private.h
22508         (libc_feupdateenv_test_aarch64): Likewise.
22509         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
22510         * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
22511         * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
22512         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
22513         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
22514         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
22515         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
22516         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
22517         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
22518         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
22520 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
22522         [BZ #17732]
22523         * io/test-utime.c (main): Replace %ld with %jd and cast to
22524         intmax_t.
22525         * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
22526         * nptl/tst-mutex5.c: Include <stdint.h>.
22527         (do_test): Replace %ld with %jd and cast to intmax_t.
22528         * posix/tst-regex.c (run_test): Likewise.
22529         (run_test_backwards): Likewise.
22530         * rt/tst-clock.c: Include <stdint.h>.
22531         (clock_test): Replace %ld with %jd and cast to intmax_t.
22532         * rt/tst-cpuclock1.c: Include <stdint.h>.
22533         (do_test): Replace %lu with %ju and cast to uintmax_t.
22534         * rt/tst-cpuclock2.c: Include <stdint.h>.
22535         (do_test): Replace %lu with %ju and cast to uintmax_t.
22536         * rt/tst-mqueue1.c: Include <stdint.h>.
22537         (check_attrs): Replace %ld with %jd and cast to intmax_t.
22538         * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
22539         intmax_t.
22540         * rt/tst-mqueue4.c (do_test): Likewise.
22541         * rt/tst-timer4.c: Include <stdint.h>.
22542         (check_ts): Replace %ld with %jd and cast to intmax_t.
22543         (do_test): Likewise.
22544         * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
22545         and cast to intmax_t.
22546         * sysdeps/pthread/tst-timer.c (main): Likewise.
22547         * time/clocktest.c (main): Likewise.
22548         * time/tst-posixtz.c (do_test): Likewise.
22549         * timezone/tst-timezone.c (main): Likewise.
22551 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
22552             H.J. Lu  <hongjiu.lu@intel.com>
22554         * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
22555         * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
22556         * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
22557         * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
22558         * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
22559         version if bit_Fast_Unaligned_Load is set.
22560         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
22561         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
22562         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
22563         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
22564         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
22565         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
22566         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
22567         bcopy-sse2-unaligned, memcpy-sse2-unaligned,
22568         memmove-sse2-unaligned and mempcpy-sse2-unaligned.
22569         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
22570         to 4.
22571         (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
22572         __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
22573         __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
22574         __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
22576 2014-12-29  Chris Metcalf  <cmetcalf@ezchip.com>
22578         * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
22579         instead of #if to avoid a Wundef warning.
22580         * stdlib/tst-limits.c (do_test): Likewise.
22582         * sysdeps/tile/math_private.h (fetestexcept): Add macro to
22583         parallel other exception macros.
22584         (fegetenv): Convert from macro to extern inline so that it applies
22585         retroactively to inline functions already seen by the compiler.
22586         (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
22588         * posix/Makefile (before-compile): Use $(objpfx) for
22589         posix-conf-vars-def.h.
22591 2014-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
22593         * posix/getconf.c (main): Use size_t for type of I.
22594         * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
22595         NSPEC.
22597         * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
22598         * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
22599         * posix/posix-envs.def: Likewise.
22600         * sysdeps/posix/sysconf.c: Likewise.
22601         * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
22602         (specs): Remove array.
22603         * scripts/gen-posix-conf-vars.awk: Support generation of specs
22604         array.
22606         * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
22607         * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
22608         (__sysconf): Use CONF_IS_* macros.
22610         * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
22611         ($(objpfx)posix-conf-vars-def.h): New target.
22612         * posix/posix-conf-vars.list: New file.
22613         * posix/posix-conf-vars.h: New file.
22614         * posix/confstr.c: Include posix-conf-vars.h.
22615         (confstr): Use CONF_IS_* macros.
22616         * posix/posix-envs.def: Include posix-conf-vars.h.  Use
22617         CONF_IS_* macros.
22618         * scripts/gen-posix-conf-vars.awk: New file.
22620 2014-12-26  Chris Metcalf  <cmetcalf@ezchip.com>
22622         * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
22623         fegetround): Add no-op macros to avoid linknamespace issues.
22625         * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
22626         definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
22628         * sysdeps/unix/sysv/linux/tile/sysdep.h
22629         (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
22630         assembly-specific section to avoid a redefinition warning.
22632         * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
22633         long before casting to pointer to avoid a cast warning.
22635 2014-12-23  Chris Metcalf  <cmetcalf@ezchip.com>
22637         * sysdeps/tile/tilegx/Implies: New file.
22639 2014-12-23  Richard Earnshaw  <rearnsha@arm.com>
22641         * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
22643 2014-12-23  Florian Weimer  <fweimer@redhat.com>
22645         * iconvdata/run-iconv-test.sh: Actually test iconv modules.
22647 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
22649         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
22650         not define.
22651         * sysdeps/unix/sysv/linux/utimes.c: Do not include
22652         <kernel-features.h>.
22653         (__utimes) [__NR_utimes]: Make code unconditional.
22654         (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
22655         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
22656         (__ASSUME_UTIMES): Do not undefine.
22657         * sysdeps/unix/sysv/linux/tile/kernel-features.h
22658         (__ASSUME_UTIMES): Likewise.
22659         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
22660         (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
22661         instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
22662         * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
22664 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
22666         * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
22668 2014-12-22  Chris Metcalf  <cmetcalf@ezchip.com>
22670         [BZ #17747]
22671         * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
22672         alias to weak alias for j0l, y0l.
22673         * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
22674         * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
22676         [BZ #17746]
22677         * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
22678         conversion.
22680 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
22682         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
22683         to zero if not already defined.
22685 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
22687         [BZ #17724]
22688         * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
22689         (__kernel_standard_f): Remove.  Moved to k_standardf.c.
22690         (__kernel_standard_l): Remove.  Moved to k_standardl.c with
22691         (char *) casts added.
22692         * sysdeps/ieee754/k_standardf.c: New file.
22693         * sysdeps/ieee754/k_standardl.c: Likewise.
22694         * math/Makefile (libm-support): Remove k_standard.
22695         (libm-calls): Add k_standard.
22697 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
22699         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
22700         Optimize to avoid an unnecessary FPCR read.
22702 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
22704         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
22705         Optimize to reduce FPCR/FPSR accesses.
22707 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
22709         * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
22710         Call libc_fetestexcept_aarch64.
22712 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
22714         * sysdeps/aarch64/fpu/fesetround.c (fesetround):
22715         Call libc_fesetround_aarch64.
22717 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
22719         [BZ #17733]
22720         * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
22721         (__bind): Do not define as weak alias.
22722         * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
22723         define.
22724         (__getsockname): Do not define as weak alias.
22726 2014-12-22  Will Newton  <will.newton@linaro.org>
22728         * manual/install.texi: Document that we require bison 2.7
22729         or above.
22730         * INSTALL: Regenerate.
22731         * configure.ac: Use AC_CHECK_PROG_VER instead of
22732         AC_PATH_PROG when checking for bison and check for
22733         version 2.7 or above.
22734         * configure: Regenerate.
22736 2014-12-21  Chris Metcalf  <cmetcalf@ezchip.com>
22738         [BZ #17745]
22739         * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
22740         * sysdeps/tile/ffsll.c (ffsll): To here.
22742         * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
22744 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
22746         * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
22747         if not defined.
22748         * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
22749         definition.
22750         * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
22751         hidden ___tls_get_addr.
22752         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
22753         hidden __tls_get_addr.
22754         * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
22755         * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
22756         Likewise.
22758 2014-12-21  Andreas Schwab  <schwab@linux-m68k.org>
22760         * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
22761         _dl_init call.
22763 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
22765         * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
22766         from "call _dl_init@PLT".
22767         * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
22769 2014-12-21  Anders Kaseorg  <andersk@mit.edu>
22771         * manual/search.texi: (Array Sort Function): Clarify stable sorting
22772         guarantees.
22774 2014-12-20  Chris Metcalf  <cmetcalf@ezchip.com>
22776         * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
22778 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
22780         [BZ #17744]
22781         * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
22782         strnlen.
22784 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
22786         * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
22787         of multu on MIPSr6.
22788         * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
22789         * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
22790         * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
22791         * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
22792         * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
22794 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
22796         * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
22797         (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
22798         (PTR_SUBU): Use subu for mips32r6/mips64r6.
22799         (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
22800         * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
22801         mips32r6/mips64r6.
22802         (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
22804 2014-12-19  Ondřej Bílka  <neleai@seznam.cz>
22806         * string/strncat.c (STRNCAT): Simplify implementation.
22808 2014-12-19  David S. Miller  <davem@davemloft.net>
22810         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
22811         access the quad as both a long double and as a series of 4 words.
22813         * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
22814         link_map->l_info array access.
22816 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
22818         * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
22820         * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
22821         * math/atest-exp2.c (TIMEOUT): Likewise.
22822         * math/atest-sincos.c (TIMEOUT): Likewise.
22824 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
22826         * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
22827         -Wno-error with -fno-builtin-lround.
22829 2014-12-19  Torvald Riegel  <triegel@redhat.com>
22831         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
22832         Contains futex constants and functions moved over from ...
22833         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.  Include
22834         <lowlevellock-futex.h>.
22835         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
22836         (lll_timedwait_tid): Add comments and parentheses around macro
22837         arguments.
22839 2014-12-19  Torvald Riegel  <triegel@redhat.com>
22841         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
22842         <lowlevellock-futex.h>.  Remove FUTEX_* constants defined there.
22843         (__lll_private_flag): Remove.
22844         (lll_futex_wait): Likewise.
22845         (lll_futex_timed_wait): Likewise.
22846         (lll_futex_wake): Likewise.
22847         (lll_futex_requeue): Likewise.
22848         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
22849         (__lll_timedwait_tid): Spell out argument names.
22850         (lll_timedwait_tid): Add comments and parentheses around macro
22851         arguments.
22852         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
22853         LLL_SHARED and LLL_PRIVATE usable from assembly code.
22855 2014-12-19  Torvald Riegel  <triegel@redhat.com>
22857         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
22858         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
22859         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
22860         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
22861         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
22862         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
22863         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
22864         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
22865         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
22866         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
22867         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
22868         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
22869         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
22870         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
22871         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
22872         * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
22873         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
22874         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
22875         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
22877 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
22879         * sysdeps/x86_64/x32/Makefile: New file.
22881 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
22883         * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
22884         1L with (mp_limb_t) 1.
22886 2014-12-17  Roland McGrath  <roland@hack.frob.com>
22888         * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
22889         * nptl/libc_pthread_init.c: ... here.
22890         * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
22891         * nptl/register-atfork.c: ... here.
22893         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
22894         Use pthread_sigmask rather than INTERNAL_SYSCALL.
22895         Use assert_perror to check its return value.
22896         (__gai_create_helper_thread): Likewise.
22898         * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
22900         * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
22902 2014-12-17  Joseph Myers  <joseph@codesourcery.com>
22904         [BZ #17725]
22905         * sysdeps/generic/profil-counter.h (profil_counter): Rename to
22906         __profil_counter.
22907         * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
22908         Likewise.
22909         * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
22910         Likewise.
22911         * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
22912         Likewise.
22913         * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
22914         (profil_counter): Likewise.
22915         * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
22916         (profil_counter): Likewise.
22917         * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
22918         Likewise.
22919         * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
22920         Likewise.
22921         * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
22922         (profil_counter): Likewise.
22923         * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
22924         Likewise.
22925         [!__profil_counter] (profil_counter): Define as weak alias of
22926         __profil_counter.
22927         * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
22928         (profil_counter): Rename to __profil_counter.
22929         [!__profil_counter] (profil_counter): Define as weak alias of
22930         __profil_counter.
22931         * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
22932         (profil_counter): Rename to __profil_counter.
22933         [!__profil_counter] (profil_counter): Define as weak alias of
22934         __profil_counter.
22935         * sysdeps/posix/profil.c: Update comment referring to
22936         profil_counter.
22937         (__profil): Use __profil_counter instead of profil_counter.
22938         * sysdeps/posix/sprofil.c (profil_counter): Rename to
22939         __profil_counter.  Use __profil_counter_ushort and
22940         __profil_counter_uint in definitions.
22941         (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
22942         instead of profil_counter_uint and profil_counter_ushort.
22944         [BZ #17722]
22945         * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
22946         define as weak alias of __inet_makeaddr.
22947         * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
22948         as weak alias of __inet_addr.
22949         * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
22950         as weak alias of __inet_pton.  Use libc_hidden_weak.
22951         * include/arpa/inet.h (__inet_pton): Declare.  Use
22952         libc_hidden_proto.
22953         (inet_makeaddr): Don't use libc_hidden_proto.
22954         (__inet_makeaddr): Declare.  Use libc_hidden_proto.
22955         * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
22956         inet_pton.  Use __inet_makeaddr instead of inet_makeaddr.
22957         * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
22958         Remove variable.
22959         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
22960         (test-xfail-POSIX/time.h/linknamespace): Likewise.
22962 2014-12-17  Steve Ellcey  <sellcey@imgtec.com>
22964         * inet/getnetgrent_r.c: Move while loop to be inside if statement.
22966 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
22968         * stdio-common/bug-vfprintf-nargs.c (do_test):
22969         Cast value to intptr_t to avoid format warning
22970         for usage with PRIdPTR printing macro.
22972 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
22974         * libio/tst-widetext.c (do_test):
22975         Use format type %td instead of %Zd for ptrdiff_t
22976         in order to avoid format warning.
22978 2014-12-17  Andreas Schwab  <schwab@suse.de>
22980         * nscd/mem.c (gc): Add size_t cast to match printf format.
22982 2014-12-16  Roland McGrath  <roland@hack.frob.com>
22984         * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
22985         (init): Apply PTR_MANGLE to pointers before storing them.
22986         (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
22987         before using them.
22989 2014-12-16  Joseph Myers  <joseph@codesourcery.com>
22991         [BZ #17719]
22992         * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
22993         define as weak alias of __memrchr.
22994         (__memrchr): Do not define as strong alias of memrchr.
22995         * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
22996         Remove variable.
22997         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
22998         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
22999         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
23001         [BZ #17717]
23002         * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
23003         define as weak alias of __if_nametoindex.  Use libc_hidden_weak.
23004         (if_indextoname): Rename to __if_indextoname and define as weak
23005         alias of __if_indextoname.  Use libc_hidden_weak.
23006         (if_freenameindex): Rename to __if_freenameindex and define as
23007         weak alias of __if_freenameindex.
23008         (if_nameindex): Rename to __if_nameindex and define as weak alias
23009         of __if_nameindex.
23010         * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
23011         __if_nametoindex and define as weak alias of __if_nametoindex.
23012         Use libc_hidden_weak.
23013         (if_freenameindex): Rename to __if_freenameindex and define as
23014         weak alias of __if_freenameindex.
23015         (if_nameindex): Rename to __if_nameindex and define as weak alias
23016         of __if_nameindex.
23017         (if_indextoname): Rename to __if_indextoname and define as weak
23018         alias of __if_indextoname.  Use libc_hidden_weak.
23019         * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
23020         __if_nametoindex and define as weak alias of __if_nametoindex.
23021         Use libc_hidden_weak.
23022         (if_freenameindex): Rename to __if_freenameindex and define as
23023         weak alias of __if_freenameindex.  Use libc_hidden_weak.
23024         (if_nameindex_netlink): Use __if_freenameindex instead of
23025         if_freenameindex.
23026         (if_nameindex): Rename to __if_nameindex and define as weak alias
23027         of __if_nameindex.  Use libc_hidden_weak.
23028         (if_indextoname): Rename to __if_indextoname and define as weak
23029         alias of __if_indextoname.  Use libc_hidden_weak.
23030         * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
23031         libc_hidden_proto.
23032         [!_ISOMAC] (__if_freenameindex): Likewise.
23033         * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
23034         if_nametoindex.
23035         * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
23036         variable.
23037         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
23038         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
23039         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
23040         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
23041         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
23042         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
23043         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
23045         * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
23046         Remove variable.
23047         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
23048         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
23050 2014-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
23052         * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
23053         subscript above bounds'
23055         * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
23056         bounds.
23058 2014-12-16  Arjun Shankar  <arjun.is@lostca.se>
23060         * libio/tst-fopenloc.c: Use test-skeleton.c.
23062         * stdlib/tst-bsearch.c: Use test-skeleton.c.
23063         (entry): Rename to ITEM.
23064         (do_test, comp): Adjust.
23066         * stdio-common/tst-fseek.c: Use test-skeleton.c.
23068 2014-12-16  Torvald Riegel  <triegel@redhat.com>
23070         * string/tester.c: Include <libc-internal.h>.
23071         (test_memset): Ignore -Wmemset-transposed-args.
23073 2014-12-16  Torvald Riegel  <triegel@redhat.com>
23075         * misc/tst-mntent2.c (do_test): Fix warning.
23077 2014-12-16  Torvald Riegel  <triegel@redhat.com>
23079         * elf/tst-unique4lib.cc(a): Mark as used.
23081 2014-12-16  Florian Weimer  <fweimer@redhat.com>
23083         [BZ #17630]
23084         * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
23085         names.
23087 2014-12-16  Allan McRae  <allan@archlinux.org>
23089         * stdio-common/Makefile (tests): Re-add bug26.
23091 2014-12-15  Ondřej Bílka  <neleai@seznam.cz>
23093         [BZ #17657]
23094         * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
23095         static array.
23097 2014-12-15  Bernard Ogden  <bernie.ogden@linaro.org>
23099         * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
23100         (__lll_lock_wait): Likewise.
23101         (__lll_timedlock_wait): Likewise.
23102         (__lll_timedwait_tid): Likewise.
23103         * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
23104         (__lll_robust_timedlock_wait): Likewise.
23105         * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
23106         (lll_cond_trylock): Likewise.
23107         (__lll_lock): Likewise.
23108         (__lll_robust_lock): Likewise.
23109         (__lll_cond_lock): Likewise.
23110         (lll_robust_cond_lock): Likewise.
23111         (__lll_timedlock): Likewise.
23112         (__lll_robust_timedlock): Likewise.
23113         (__lll_unlock): Likewise.
23114         (__lll_robust_unlock): Likewise.
23115         (lll_wait_tid): Likewise.
23116         (lll_timedwait_tid): Likewise.
23118 2014-12-15  Torvald Riegel  <triegel@redhat.com>
23120         * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
23122 2014-12-15  Torvald Riegel  <triegel@redhat.com>
23124         * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
23126 2014-12-15  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
23128         * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
23129         * stdio-common/tst-sprintf.c: Likewise.
23131 2014-12-15  Torvald Riegel  <triegel@redhat.com>
23133         * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
23135 2014-12-15  Jeff Law  <law@redhat.com>
23137         [BZ #16617]
23138         * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
23139         on the heap.  (CVE-2012-3406)
23140         * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
23141         * stdio-common/bug23-4.c: New file.  Test case by Joseph Myers.
23142         * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
23144 2014-12-15  Will Newton  <will.newton@linaro.org>
23146         * manual/install.texi: Bump required version of texinfo
23147         to 4.7 from 4.5.
23148         * INSTALL: Regenerated.
23149         * configure.ac: Check for makeinfo version 4.7 and above.
23150         * configure: Regenerated.
23152 2014-12-12  Roland McGrath  <roland@hack.frob.com>
23154         * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
23155         PREFIX, string constant to insert between directory and name.
23156         * sysdeps/posix/shm_open.c: Update caller.
23157         * sysdeps/posix/shm_unlink.c: Likewise.
23158         * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
23159         (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
23160         (SEM_SHM_PREFIX): New macro.
23161         * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
23162         [$(have-thread-library) = no].
23163         * nptl/Makefile (libpthread-routines): Add shm-directory.
23164         * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
23165         * sysdeps/nptl/shm-directory.h: New file.
23166         * sysdeps/posix/shm-directory.c
23167         [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
23168         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
23169         * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
23170         INTERNAL_SYSCALL.
23171         (__where_is_shmfs): Function removed.
23172         (mountpoint, defaultmount, defaultdir, __namedsem_once):
23173         Variables removed.
23174         (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
23175         Use SHM_GET_NAME.
23176         * nptl/sem_unlink.c: Prototypify.  Use SHM_GET_NAME.
23178         * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
23179         (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
23180         unconditional for use inside libpthread.
23181         [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
23183 2014-12-12  Roland McGrath  <roland@hack.frob.com>
23185         * nptl/pthread_getaffinity.c: New file.
23186         * nptl/pthread_setaffinity.c: New file.
23187         * nptl/pthread_getname.c: New file.
23188         * nptl/pthread_setname.c: New file.
23190         * nptl/pthread_create.c (START_THREAD_DEFN)
23191         [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
23193 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
23194             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23196         * resolv/res_send.c (send_vc): Disable warning resplen may
23197         be used uninitialized.
23199 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
23201         * nptl/tst-mutex6.c
23202         (ATTR_NULL): New define checks ATTR against NULL.
23203         (do_test): Use !ATTR_NULL instead of ATTR != NULL.
23204         * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
23206 2014-12-11  James Lemke  <jwlemke@codesourcery.com>
23208         [BZ #17581]
23209         * malloc/hooks.c
23210         (mem2mem_check): Revert my previous change.
23211         (malloc_check_get_size): Revert my previous change.
23212         (mem2chunk_check): Revert my previous change.
23214 2014-12-11  Roland McGrath  <roland@hack.frob.com>
23216         * sysdeps/posix/shm-directory.c: New file.
23217         * sysdeps/posix/shm-directory.h: New file.
23218         * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
23219         * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
23220         Use O_NOFOLLOW and O_CLOEXEC if available.  Transmute EISDIR to EINVAL.
23221         * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
23222         Transmute EPERM to EACCES.
23223         * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
23224         from ...
23225         * sysdeps/unix/sysv/linux/shm_open.c: ... here.  File removed.
23226         * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
23228 2014-12-11  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
23230         * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
23231         pointer and cast to uintptr_t.
23232         * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
23233         * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
23234         Add cast to avoid warning.
23235         * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
23237 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
23239         * nptl/semaphore.h: Move to ...
23240         * sysdeps/pthread/semaphore.h: ... here.
23241         * Makefile (installed-headers): Change nptl/semaphore.h to
23242         sysdeps/pthread/semaphore.h.
23244 2014-12-11  Roland McGrath  <roland@hack.frob.com>
23246         * misc/tst-error1.c (do_test): Ignore -Wformat-security for
23247         generated error format strings.
23249         * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
23250         -Wformat-extra-args warnings for scanf formats.
23251         * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
23252         test of zero-length format (duh).
23253         * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
23254         corner-case scanf format test.
23255         * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
23256         generated fprintf format string.
23257         * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
23258         corner-case sprintf format tests.
23259         * stdio-common/tst-printf.c: Ignore -Wformat throughout.
23260         * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
23261         -Wformat-extra-args warnings throughout.
23262         * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
23263         (CFLAGS-scanf4.c): Likewise.
23264         (CFLAGS-scanf7.c): Likewise.
23265         (CFLAGS-tst-sprintf.c): Likewise.
23266         (CFLAGS-tst-printf.c): Likewise.
23267         (CFLAGS-tst-printfsz.c): Likewise.
23269 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
23271         * include/cpio.h: New file.
23272         * include/fmtmsg.h: Likewise.
23274         * tst-mbswcs1.c (show): Use %zu format instead of %Zd.  Cast
23275         corresponding format argument to size_t.
23276         * tst-mbswcs2.c (show): Likewise.  Use %td format for ptrdiff_t
23277         arguments.
23278         * tst-mbswcs3.c (show): Use %zu format instead of %Zd.  Cast
23279         corresponding format argument to size_t.
23280         * tst-mbswcs4.c (show): Likewise.  Use %td format for ptrdiff_t
23281         arguments.
23282         * tst-mbswcs5.c (show): Use %zu format instead of %Zd.  Cast
23283         corresponding format argument to size_t.
23284         * tst-trans.c (do_test): Use %lc format for wint_t arguments.
23285         * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
23286         (CFLAGS-tst-mbswcs2.c): Likewise.
23287         (CFLAGS-tst-mbswcs3.c): Likewise.
23288         (CFLAGS-tst-mbswcs4.c): Likewise.
23289         (CFLAGS-tst-mbswcs5.c): Likewise.
23290         (CFLAGS-tst-trans.c): Likewise.
23292 2014-12-11  Roland McGrath  <roland@hack.frob.com>
23294         * posix/regexbug1.c (main): Use "%s" format with regerror results,
23295         rather than assuming they won't contain any '%'s.
23297 2014-12-11  Chris Metcalf  <cmetcalf@ezchip.com>
23299         * sysdeps/tile/tilegx/memset.c (__memcpy): Add
23300         inhibit_loop_to_libcall to avoid recursive calls.
23301         * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
23302         * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
23304 2014-12-11  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
23306         * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
23307         prototype.
23309 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
23311         * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
23312         integer value instead of boolean.
23314 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
23316         * malloc/malloc.c: Fix powerof2 check.
23318 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
23320         * locale/programs/locfile.h (maybe_swap_uint32):
23321         Remove inline and add unused attribute.
23323 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
23325         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
23326         Truncating assembler expression to a .long expression.
23328 2014-12-11  Andreas Schwab  <schwab@suse.de>
23330         * elf/rtld.c (struct map_args): Constify str member.
23331         (do_preload): Constify fname argument.
23333 2014-12-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23335         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
23336         constants definition.
23338 2014-12-11  Andreas Schwab  <schwab@suse.de>
23340         [BZ #16657]
23341         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
23342         FORCE_ELISION instead of DO_ELISION.
23343         * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
23344         Remove.
23345         * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
23346         Likewise.
23348         * iconvdata/gconv-modules: Remove duplicate entry.
23350 2014-12-11  Will Newton  <will.newton@linaro.org>
23352         Merge gettext 0.19.3 into intl/.
23354         This involves a number of cosmetic changes to comments
23355         and ANSI function definitions and prototypes throughout
23356         all the files. The gettext copyright header is used but
23357         with the date ranges taken from the glibc copy.
23359         * NEWS: Add gettext merge to 2.21.
23360         * intl/bindtextdom.c: Switch to gettext copyright.
23361         Use ANSI definitions and prototypes.
23362         Use gl_* locking primitives rather than __libc_* ones.
23363         Use __builtin_expect rather than __glibc_likely/unlikely.
23364         * intl/dcgettext.c: Switch to gettext copyright.
23365         Use ANSI definitions and prototypes.
23366         * intl/dcigettext.c: Switch to gettext copyright.
23367         Use ANSI definitions and prototypes.
23368         (INTDIV0_RAISES_SIGFPE): New define.
23369         Use gl_* locking primitives rather than __libc_* ones.
23370         Include eval-plural.h instead of plural-eval.c.
23371         Use __builtin_expect rather than __glibc_likely/unlikely.
23372         * intl/dcngettext.c: Switch to gettext copyright.
23373         Use ANSI definitions and prototypes.
23374         * intl/dgettext.c: Likewise.
23375         * intl/dngettext.c: Likewise.
23376         * intl/plural-eval.c: Renamed to...
23377         * intl/eval-plural.h: ...this.
23378         * intl/explodename.c: Switch to gettext copyright.
23379         Use ANSI definitions and prototypes.
23380         (_nl_explode_name): Use strchr instead of __rawmemchr.
23381         * intl/finddomain.c: Switch to gettext copyright.
23382         Use ANSI definitions and prototypes.
23383         Use gl_* locking primitives rather than __libc_* ones.
23384         (_nl_find_domain): Use malloc rather than alloca for
23385         allocation of temporary locale name.
23386         * intl/gettext.c: Switch to gettext copyright.
23387         Use ANSI definitions and prototypes.
23388         * intl/gettextP.h: Switch to gettext copyright.
23389         Use ANSI definitions and prototypes.
23390         Use gl_* locking primitives rather than __libc_* ones.
23391         * intl/gmo.h: Switch to gettext copyright.
23392         (struct sysdep_string): Move struct segment_pair outside of
23393         struct definition.
23394         * intl/hash-string.c: Use ANSI definitions and prototypes.
23395         * intl/hash-string.h: Switch to gettext copyright.
23396         Use ANSI definitions and prototypes.
23397         * intl/l10nflist.c: Switch to gettext copyright.
23398         Use ANSI definitions and prototypes.
23399         (_nl_normalize_codeset): Avoid integer overflow.
23400         * intl/loadinfo.h: Switch to gettext copyright.
23401         Use ANSI definitions and prototypes.
23402         (LIBINTL_DLL_EXPORTED): New define.
23403         (PATH_SEPARATOR): New define.
23404         * intl/loadmsgcat.c: Switch to gettext copyright.
23405         * intl/localealias.c: Switch to gettext copyright.
23406         Use ANSI definitions and prototypes.
23407         (_nl_expand_alias): Use PATH_SEPARATOR.
23408         * intl/ngettext.c: Switch to gettext copyright.
23409         Use ANSI definitions and prototypes.
23410         * intl/plural-exp.c: Likewise.
23411         * intl/plural-exp.h: Switch to gettext copyright.
23412         Use ANSI definitions and prototypes.
23413         (struct expression): Move definition of enum operator outside
23414         of struct definition.
23415         * intl/plural.c: Regenerate.
23416         * intl/plural.y: Switch to gettext copyright.
23417         Use ANSI definitions and prototypes.
23418         Port to bison 3.0.
23419         * intl/textdomain.c: Switch to gettext copyright.
23420         Use ANSI definitions and prototypes.
23421         Use gl_* locking primitives rather than __libc_* ones.
23423 2014-12-10  Steve Ellcey  <sellcey@imgtec.com>
23425         * debug/warning-nop.c: Add used atrribute.
23427 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
23429         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
23431         * sysdeps/unix/sysv/linux/mips/mips64/Makefile
23432         [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
23433         [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
23435 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
23436             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23438         [BZ #17634]
23439         * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
23440         Undefine after defining function.  Define as weak alias of
23441         __wcschr.  Use libc_hidden_weak.
23442         * include/wchar.h (__wcschr): Declare.  Use libc_hidden_proto.
23443         * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
23444         (libc_hidden_def): Also define __GI___wcschr alias.
23445         * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
23446         __wcschr and define as weak alias of __wcschr.
23447         * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
23448         __wcschr.
23449         [!WCSCHR] (DEFAULT_WCSCHR): Define.
23450         [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
23451         [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr.  Use
23452         libc_hidden_weak.  Do not use libc_hidden_def.
23453         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
23454         [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
23455         __GI___wcschr alias.
23456         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
23457         [IS_IN (libc)] (wcschr): Define as macro expanding to
23458         __redirect_wcschr.
23459         [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
23460         [IS_IN (libc)] (__wcschr_power6): Likewise.
23461         [IS_IN (libc)] (__wcschr_power7): Likewise.
23462         [IS_IN (libc)] (__libc_wcschr): New.  Define with libc_ifunc
23463         instead of wcschr.
23464         [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
23465         __libc_wcschr.
23466         [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
23467         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
23468         __wcschr and define as weak alias of __wcschr.  Use
23469         libc_hidden_builtin_def.
23470         * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
23471         as weak alias of __wcschr.  Use libc_hidden_weak.
23472         * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
23473         wcschr.
23474         * time/era.c (_nl_init_era_entries): Likewise.
23475         * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
23476         variable.
23477         (test-xfail-XPG3/time.h/linknamespace): Likewise.
23478         (test-xfail-XPG4/time.h/linknamespace): Likewise.
23480 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
23482         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
23483         format for long int variable.
23485 2014-12-10  Anders Kaseorg  <andersk@MIT.EDU>
23487         [BZ #10672]
23488         * manual/search.texi: (Array Sort Function): Remove claim how to make
23489         qsort stable.
23491 2014-12-10  Andreas Schwab  <schwab@suse.de>
23493         [BZ #12847]
23494         * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
23495         user-controlled locks.
23497 2014-12-10  Richard Earnshaw  <rearnsha@arm.com>
23499         * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
23500         register.
23502 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
23504         * configure.ac (--disable-werror): New configure option.
23505         (enable_werror): New AC_SUBST.
23506         * configure: Regenerated.
23507         * config.make.in (enable-werror): New variable.
23508         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
23509         -Wno-error=undef.
23510         (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
23511         * manual/install.texi (Configuring and compiling): Document
23512         --disable-werror.
23513         * INSTALL: Regenerated.
23514         * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
23515         (CFLAGS-tst-chk2.c): Likewise.
23516         (CFLAGS-tst-chk3.c): Likewise.
23517         (CFLAGS-tst-chk4.cc): Likewise.
23518         (CFLAGS-tst-chk5.cc): Likewise.
23519         (CFLAGS-tst-chk6.cc): Likewise.
23520         (CFLAGS-tst-lfschk1.c): Likewise.
23521         (CFLAGS-tst-lfschk2.c): Likewise.
23522         (CFLAGS-tst-lfschk3.c): Likewise.
23523         (CFLAGS-tst-lfschk4.cc): Likewise.
23524         (CFLAGS-tst-lfschk5.cc): Likewise.
23525         (CFLAGS-tst-lfschk6.cc): Likewise.
23527         * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
23528         (main): Disable -Wdeprecated-declarations around calls to
23529         register_printf_function.
23531         * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
23532         (do_test): Disable -Wdiv-by-zero around some calls to
23533         fwrite_unlocked and fread_unlocked.
23535         * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
23536         (DIAG_POP_NEEDS_COMMENT): Likewise.
23537         (_DIAG_STR1): Likewise.
23538         (_DIAG_STR): Likewise.
23539         (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
23540         * stdio-common/bug21.c: Include <libc-internal.h>.
23541         (do_test): Disable -Wformat around call to sscanf.
23542         * stdio-common/scanf14.c: Include <libc-internal.h>.
23543         (main): Disable -Wformat around some calls to scanf functions.
23545 2014-12-09  Torvald Riegel  <triegel@redhat.com>
23547         * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
23549 2014-12-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23551         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
23552         stack variable alignment.
23554 2014-12-06  Joseph Myers  <joseph@codesourcery.com>
23556         [BZ #17682]
23557         * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
23558         * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
23559         * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
23560         * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
23561         * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
23562         __getrlimit instead of getrlimit.
23563         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
23564         __gettimeofday instead of gettimeofday.
23565         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
23566         Likewise.
23567         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
23568         Likewise.
23569         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
23570         * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
23571         Remove variable.
23572         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
23573         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
23575 2014-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23577         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
23578         for wide-character tests.
23580 2014-12-04  Roland McGrath  <roland@hack.frob.com>
23582         * io/openat64.c: #include <libc-internal.h>
23583         (__openat64): Prototypify.  Use ignore_value on MODE.
23584         * io/openat.c: Likewise.
23585         * misc/reboot.c: #include <libc-internal.h>
23586         (reboot): Prototypify.  Use ignore_value on HOWTO.
23587         * misc/ptrace.c: #include <libc-internal.h>
23588         (ptrace): Prototypify.  Use ignore_value for va_arg'd parameters.
23590 2014-12-04  Joseph Myers  <joseph@codesourcery.com>
23592         * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
23593         XPG4, UNIX98 and XOPEN2K.
23594         * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
23595         Remove variable.
23596         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
23598 2014-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
23600         * libio/fileops.c: Use ISO C style for function definitions.
23601         * libio/iofopen.c: Likewise.
23602         * libio/wfileops.c: Likewise.
23604         [BZ #17653]
23605         * libio/fileops.c (_IO_new_file_underflow): Unset cached
23606         offset on EOF.
23607         * libio/wfileops.c (_IO_wfile_underflow): Likewise.
23608         * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
23609         (fgets_func): Function pointer to fgets and fgetws.
23610         (do_ftell_test): Add test to verify ftell value after read
23611         EOF.
23612         (do_test): Set fgets_func.
23614         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
23615         O_TRUNC flag for w and w+ modes.
23616         (do_rewind_test): Likewise.
23617         (do_ftell_test): Likewise.
23618         (do_write_test): Likewise.
23620         [BZ #17647]
23621         * libio/fileops.c (do_ftell): Seek only when there are
23622         unflushed writes.
23623         * libio/wfileops.c (do_ftell_wide): Likewise.
23624         * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
23625         test case.
23626         (do_one_test): Call it.
23628 2014-12-03  Joseph Myers  <joseph@codesourcery.com>
23630         * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
23631         for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
23632         * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
23633         Remove variable.
23634         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
23635         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
23636         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
23638 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
23640         * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
23641         Remove variable.
23642         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
23644         [BZ #17668]
23645         * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
23646         as weak alias of __getifaddrs.  Use libc_hidden_weak.
23647         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
23648         __freeifaddrs.  Use libc_hidden_weak.
23649         * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
23650         define as weak alias of __getifaddrs.  Use libc_hidden_weak.
23651         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
23652         __freeifaddrs.  Use libc_hidden_weak.
23653         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
23654         __getifaddrs and define as weak alias of __getifaddrs.  Use
23655         libc_hidden_weak.
23656         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
23657         __freeifaddrs.  Use libc_hidden_weak.
23658         * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
23659         Remove variable.
23660         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
23661         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
23663 2014-12-02  Petar Jovanovic  <petar.jovanovic@rt-rk.com>
23665         [BZ #17601]
23666         * sysdeps/mips/start.S (__start): Use indirect jump to call
23667         __libc_start_main.
23669 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
23671         * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
23673         * nptl/tst-mutex1.c: Include <stdbool.h>.
23674         [!ATTR] (ATTR_NULL): New macro.
23675         (do_test): Test !ATTR_NULL instead of ATTR != NULL.
23676         * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
23677         * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
23679         * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
23680         to char *.
23682         [BZ #17665]
23683         * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
23684         Change conditional to [__USE_MISC].
23686         [BZ #17664]
23687         * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
23688         fgets_unlocked.
23689         * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
23690         __fgets_unlocked.
23691         * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
23692         fgets_unlocked.
23693         * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
23694         Remove variable.
23695         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
23696         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
23697         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
23698         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
23699         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
23700         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
23701         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
23702         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
23703         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
23705         * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
23707 2014-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23709         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
23710         Remove strpbrk objects.
23711         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
23712         (__libc_ifunc_impl_list): Remove strpbrk implementation.
23713         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
23714         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
23715         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
23716         * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
23718         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
23719         Remove strcspn objects.
23720         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
23721         (__libc_ifunc_impl_list): Remove strcspn implementation.
23722         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
23723         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
23724         * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
23725         * sysdeps/powerpc/powerpc64/strcspn.S: New file.
23727         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
23728         Remove strspn objetcs.
23729         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
23730         (__libc_ifunc_impl_list): Remove strspn implementation.
23731         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
23732         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
23733         * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
23734         * sysdeps/powerpc/powerpc64/strspn.S: New file.
23736 2014-12-01  James Lemke  <jwlemke@codesourcery.com>
23738         [BZ #17581]
23739         * malloc/hooks.c
23740         (mem2mem_check): Add a terminator to the chain of checking blocks.
23741         (malloc_check_get_size): Use it here.
23742         (mem2chunk_check): Ditto.
23744 2014-12-01  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
23746         * sysdeps/powerpc/powerpc64/strtok.S: New file.
23747         * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
23749 2014-11-29  Carlos O'Donell  <carlos@redhat.com>
23751         * bits/ioctl-types.h: Indent preprocessor directives correctly.
23753         * nptl/nptl-init.c: Include libc-internal.h.
23754         (__pthread_initialize_minimal_internal): Use ROUND_UP.
23756         * elf/ldconfig.c (search_dir): Expand comment.
23758 2014-11-29  Joseph Myers  <joseph@codesourcery.com>
23760         * conform/Makefile (linknamespace-symlist-stdlibs-base): New
23761         variable.
23762         (linknamespace-symlist-stdlibs-tests): Likewise.
23763         (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
23764         instead of $(objpfx)symlist-stdlibs.
23765         (linknamespace-libs-isoc): New variable.
23766         (linknamespace-libs): Use $(linknamespace-libs-isoc).
23767         (linknamespace-libs-ISO): New variable.
23768         (linknamespace-libs-ISO99): Likewise.
23769         (linknamespace-libs-ISO11): Likewise.
23770         (linknamespace-libs-XPG3): Likewise.
23771         (linknamespace-libs-XPG4): Likewise.
23772         (linknamespace-libs-POSIX): Likewise.
23773         (linknamespace-libs-UNIX98): Likewise.
23774         (linknamespace-libs-XOPEN2K): Likewise.
23775         (linknamespace-libs-POSIX2008): Likewise.
23776         (linknamespace-libs-XOPEN2K8): Likewise.
23777         ($(objpfx)symlist-stdlibs): Replace by
23778         $(linknamespace-symlist-stdlibs-tests).  Use
23779         $(linknamespace-libs-$*) as set of libraries.
23780         ($(linknamespace-header-tests)): Update dependencies.  Use
23781         $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
23782         (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
23783         * conform/linknamespace.pl: Remove comment about considering
23784         definitions of symbols from irrelevant libraries.
23786 2014-11-28  H.J. Lu  <hongjiu.lu@intel.com>
23788         [BZ #13862]
23789         * elf/dl-tls.c: Include <atomic.h>.
23790         (oom): Remove #ifdef SHARED/#endif.
23791         (_dl_static_dtv, _dl_initial_dtv): Moved before ...
23792         (_dl_resize_dtv): This.  Extracted from _dl_update_slotinfo.
23793         (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
23794         big enough.
23795         (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
23796         * nptl/Makefile (tests): Add tst-stack4.
23797         (modules-names): Add tst-stack4mod.
23798         ($(objpfx)tst-stack4): New.
23799         (tst-stack4mod.sos): Likewise.
23800         ($(objpfx)tst-stack4.out): Likewise.
23801         ($(tst-stack4mod.sos)): Likewise.
23802         (clean): Likewise.
23803         * nptl/tst-stack4.c: New file.
23804         * nptl/tst-stack4mod.c: Likewise.
23806 2014-11-27  J. Brown  <jb999@gmx.de>
23808         * sysdeps/x86/bits/string.h: Add recent CPUs.
23810 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
23812         * misc/tst-pselect.c (do_test): Use sigprocmask instead of
23813         sigblock.
23815         * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
23816         feof.
23818         * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
23819         variable.
23821 2014-11-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
23823         * nscd/connections.c: Include libc-internal.h because of macro
23824         usage ignore_value.
23826 2014-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
23828         * string/bits/string3.h (__warn_memset_zero_len): Don't
23829         declare for gcc newer than 5.0.
23830         (memset): Don't test for zero-length __LEN for gcc newer than
23831         5.0.
23833 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
23835         * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
23836         size_t for %zu format.
23838         * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
23839         difference, not %ju.
23841 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
23843         * include/libc-internal.h (ignore_value): New macro.
23844         * nscd/connections.c (restart): Wrap calls to setuid and setgid
23845         with ignore_value.
23847         * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
23848         definition.
23850         * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
23851         pthread_cleanup_push to void *.
23853         * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
23854         Undefine.
23856         [BZ #16619]
23857         [BZ #16740]
23858         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
23859         instead of 1L << 52.
23861         * libio/bug-rewind.c (do_test): Check fwscanf return values.
23862         * libio/bug-rewind2.c (do_test): Likewise.
23864         * debug/test-stpcpy_chk-ifunc.c: Remove file.
23865         * debug/test-strcpy_chk-ifunc.c: Likewise.
23866         * wcsmbs/test-wcschr-ifunc.c: Likewise.
23867         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
23868         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
23869         * wcsmbs/test-wcslen-ifunc.c: Likewise.
23870         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
23871         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
23872         * Rules [$(multi-arch) = no] (tests): Do not filter out
23873         $(tests-ifunc).
23874         [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
23875         * debug/Makefile (tests-ifunc): Remove variable.
23876         (tests): Do not add $(tests-ifunc).
23877         * wcsmbs/Makefile (tests-ifunc): Remove variable.
23878         (tests): Do not add $(tests-ifunc).
23879         * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
23880         [TEST_IFUNC]: Remove conditionals.
23881         * string/test-string.h (TEST_IFUNC): Remove macro.
23882         [TEST_IFUNC]: Remove conditionals.
23884         * string/test-strchr.c [!WIDE] (L): New macro.
23885         [WIDE] (L): Likewise.
23886         (check1): Use CHAR instead of char.  Use L on string and character
23887         constants.
23889 2014-11-26  Adhemerval Zanella  <azanella@linux.ibm.com>
23891         * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
23892         tests.
23893         * sysdeps/powerpc/bits/atomic.h
23894         (__arch_atomic_exchange_and_add_32_acq): Add definition.
23895         (__arch_atomic_exchange_and_add_32_rel): Likewise.
23896         (atomic_exchange_and_add_acq): Likewise.
23897         (atomic_exchange_and_add_rel): Likewise.
23898         * sysdeps/powerpc/powerpc32/bits/atomic.h
23899         (__arch_atomic_exchange_and_add_64_acq): Add definition.
23900         (__arch_atomic_exchange_and_add_64_rel): Likewise.
23901         * sysdeps/powerpc/powerpc64/bits/atomic.h
23902         (__arch_atomic_exchange_and_add_64_acq): Add definition.
23903         (__arch_atomic_exchange_and_add_64_rel): Likewise.
23905 2014-11-26  Torvald Riegel  <triegel@redhat.com>
23907         * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
23908         Change synchronization of __sched_fifo_min_prio and
23909         __sched_fifo_max_prio.
23910         * nptl/pthread_mutexattr_getprioceiling.c
23911         (pthread_mutexattr_getprioceiling): Likewise.
23912         * nptl/pthread_mutexattr_setprioceiling.c
23913         (pthread_mutexattr_setprioceiling): Likewise.
23914         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
23915         * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
23916         Likewise.
23918 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
23920         * setjmp/jmpbug.c (test): Make foo volatile and cast it to
23921         void.
23923 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
23925         * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
23926         third argument const.
23928 2014-11-25  Paul Eggert  <eggert@cs.ucla.edu>
23930         fnmatch: work around GCC compiler warning bug with uninit var
23931         * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
23932         This works around a bug with x86-64 GCC 4.9.2 and earlier
23933         where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
23934         "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
23935         used uninitialized in this function [-Wmaybe-uninitialized]".
23937 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
23939         * posix/bug-regex31.c (main): Return RES not 0.
23941 2014-11-25  Anton Blanchard <anton@samba.org>
23943         * sysdeps/powerpc/bits/atomic.h
23944         (__arch_compare_and_exchange_bool_64_rel): Load from mem.
23946 2014-11-24  Sterling Augustine  <saugustine@google.com>
23948         * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
23950 2014-11-24  Ryan Cumming  <etaoins@gmail.com>
23952         [BZ #17608]
23953         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
23955 2014-11-24  Joseph Myers  <joseph@codesourcery.com>
23957         [BZ #17633]
23958         * stdio-common/perror.c (perror): Call __fileno instead of fileno.
23959         * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
23960         variable.
23961         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
23962         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
23964 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
23966         * string/strncpy.c (strncpy): Improve performance by using memset.
23968 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
23970         * string/strcpy.c (strcpy):
23971         Improve performance by using strlen and memcpy.
23973 2014-11-24  Leonhard Holz  <leonhard.holz@web.de>
23975         * string/strcoll_l.c (get_next_seq): __always_inline.
23976         * string/strcoll_l.c (do_compare): __always_inline.
23978 2014-11-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
23980         * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
23981         defined.
23982         * include/mqueue.h: Likewise.
23983         * include/stdlib.h: Likewise.
23985         * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
23986         (get_null_defines): Adjust.
23987         * sunrpc/Makefile: Adjust comment.
23988         * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
23989         * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
23990         (CFLAGS-interp.c): Likewise.
23991         (CFLAGS-ldconfig.c): Likewise.
23992         (CPPFLAGS-.os): Likewise.
23993         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
23994         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
23995         * extra-modules.mk (extra-modules.mk): Likewise.
23996         * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
23997         * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
23998         * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
23999         * nscd/Makefile (CPPFLAGS-nscd): Likewise.
24000         * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
24001         * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
24002         * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
24003         * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
24004         * iconvdata/Makefile (CPPFLAGS): Likewise.
24005         (cpp-srcs-left): Add libof for all iconvdata routines.
24006         * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
24007         * include/assert.h: Likewise.
24008         * include/ctype.h: Likewise.
24009         * include/errno.h: Likewise.
24010         * include/libc-symbols.h: Likewise.
24011         * include/math.h: Likewise.
24012         * include/netdb.h: Likewise.
24013         * include/resolv.h: Likewise.
24014         * include/stdio.h: Likewise.
24015         * include/stdlib.h: Likewise.
24016         * include/string.h: Likewise.
24017         * include/sys/stat.h: Likewise.
24018         * include/wctype.h: Likewise.
24019         * intl/l10nflist.c: Likewise.
24020         * libidn/idn-stub.c: Likewise.
24021         * libio/libioP.h: Likewise.
24022         * nptl/libc_multiple_threads.c: Likewise.
24023         * nptl/pthreadP.h: Likewise.
24024         * posix/regex_internal.h: Likewise.
24025         * resolv/res_hconf.c: Likewise.
24026         * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
24027         * sysdeps/arm/memmove.S: Likewise.
24028         * sysdeps/arm/sysdep.h: Likewise.
24029         * sysdeps/generic/_itoa.h: Likewise.
24030         * sysdeps/generic/symbol-hacks.h: Likewise.
24031         * sysdeps/gnu/errlist.awk: Likewise.
24032         * sysdeps/gnu/errlist.c: Likewise.
24033         * sysdeps/i386/i586/memcpy.S: Likewise.
24034         * sysdeps/i386/i586/memset.S: Likewise.
24035         * sysdeps/i386/i686/memcpy.S: Likewise.
24036         * sysdeps/i386/i686/memmove.S: Likewise.
24037         * sysdeps/i386/i686/mempcpy.S: Likewise.
24038         * sysdeps/i386/i686/memset.S: Likewise.
24039         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
24040         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
24041         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
24042         * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
24043         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
24044         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
24045         * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
24046         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
24047         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
24048         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
24049         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
24050         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
24051         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
24052         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
24053         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
24054         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
24055         * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
24056         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
24057         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
24058         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
24059         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
24060         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
24061         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
24062         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
24063         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
24064         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
24065         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
24066         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
24067         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
24068         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
24069         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
24070         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
24071         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
24072         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
24073         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
24074         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
24075         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
24076         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
24077         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
24078         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
24079         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
24080         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
24081         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
24082         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
24083         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
24084         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
24085         * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
24086         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
24087         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
24088         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
24089         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
24090         * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
24091         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
24092         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
24093         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
24094         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
24095         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
24096         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
24097         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
24098         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
24099         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
24100         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
24101         * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
24102         * sysdeps/nptl/bits/libc-lock.h: Likewise.
24103         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
24104         * sysdeps/nptl/bits/stdio-lock.h: Likewise.
24105         * sysdeps/posix/closedir.c: Likewise.
24106         * sysdeps/posix/opendir.c: Likewise.
24107         * sysdeps/posix/readdir.c: Likewise.
24108         * sysdeps/posix/rewinddir.c: Likewise.
24109         * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
24110         * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
24111         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
24112         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
24113         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
24114         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
24115         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
24116         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
24117         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
24118         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
24119         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
24120         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
24121         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
24122         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
24123         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
24124         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
24125         * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
24126         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
24127         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
24128         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
24129         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
24130         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
24131         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
24132         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
24133         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
24134         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
24135         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
24136         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
24137         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
24138         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
24139         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
24140         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
24141         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
24142         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
24143         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
24144         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
24145         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
24146         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
24147         * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
24148         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
24149         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
24150         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
24151         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
24152         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
24153         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
24154         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
24155         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
24156         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
24157         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
24158         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
24159         * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
24160         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
24161         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
24162         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
24163         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
24164         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
24165         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
24166         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
24167         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
24168         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
24169         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
24170         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
24171         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
24172         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
24173         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
24174         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
24175         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
24176         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
24177         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
24178         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
24179         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
24180         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
24181         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
24182         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
24183         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
24184         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
24185         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
24186         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
24187         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
24188         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
24189         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
24190         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
24191         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
24192         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
24193         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
24194         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
24195         * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
24196         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
24197         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
24198         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
24199         * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
24200         * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
24201         * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
24202         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
24203         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
24204         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
24205         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
24206         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
24207         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
24208         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
24209         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
24210         * sysdeps/unix/alpha/sysdep.S: Likewise.
24211         * sysdeps/unix/alpha/sysdep.h: Likewise.
24212         * sysdeps/unix/make-syscalls.sh: Likewise.
24213         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
24214         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
24215         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
24216         * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
24217         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
24218         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
24219         * sysdeps/unix/sysv/linux/getpid.c: Likewise.
24220         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
24221         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
24222         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
24223         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
24224         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
24225         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
24226         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
24227         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
24228         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
24229         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
24230         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
24231         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
24232         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
24233         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
24234         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
24235         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
24236         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
24237         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
24238         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
24239         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
24240         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
24241         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
24242         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
24243         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
24244         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
24245         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
24246         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
24247         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
24248         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
24249         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
24250         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
24251         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
24252         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
24253         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
24254         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
24255         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
24256         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
24257         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
24258         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
24259         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
24260         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
24261         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
24262         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
24263         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
24264         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
24265         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
24266         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
24267         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
24268         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
24269         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
24270         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
24271         * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
24272         * sysdeps/x86_64/memcpy.S: Likewise.
24273         * sysdeps/x86_64/memmove.c: Likewise.
24274         * sysdeps/x86_64/memset.S: Likewise.
24275         * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
24276         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
24277         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
24278         * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
24279         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
24280         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
24281         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
24282         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
24283         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
24284         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
24285         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
24286         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
24287         * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
24288         * sysdeps/x86_64/multiarch/memset.S: Likewise.
24289         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
24290         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
24291         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
24292         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
24293         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
24294         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
24295         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
24296         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
24297         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
24298         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
24299         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
24300         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
24301         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
24302         * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
24303         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
24304         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
24305         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
24306         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
24307         * sysdeps/x86_64/strcmp.S: Likewise.
24309         * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
24311         * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
24312         * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
24313         * elf/rtld-Rules: Likewise.
24314         * elf/setup-vdso.h: Likewise.
24315         * include/assert.h: Likewise.
24316         * include/bits/stdlib-float.h: Likewise.
24317         * include/errno.h: Likewise.
24318         * include/sys/stat.h: Likewise.
24319         * include/unistd.h: Likewise.
24320         * sysdeps/aarch64/setjmp.S: Likewise.
24321         * sysdeps/alpha/setjmp.S: Likewise.
24322         * sysdeps/arm/__longjmp.S: Likewise.
24323         * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
24324         * sysdeps/arm/setjmp.S: Likewise.
24325         * sysdeps/arm/sysdep.h: Likewise.
24326         * sysdeps/generic/_itoa.h: Likewise.
24327         * sysdeps/generic/dl-sysdep.h: Likewise.
24328         * sysdeps/generic/ldsodefs.h: Likewise.
24329         * sysdeps/i386/dl-tls.h: Likewise.
24330         * sysdeps/i386/setjmp.S: Likewise.
24331         * sysdeps/m68k/setjmp.c: Likewise.
24332         * sysdeps/mach/hurd/dl-execstack.c: Likewise.
24333         * sysdeps/mach/hurd/opendir.c: Likewise.
24334         * sysdeps/posix/getcwd.c: Likewise.
24335         * sysdeps/posix/opendir.c: Likewise.
24336         * sysdeps/posix/profil.c: Likewise.
24337         * sysdeps/powerpc/dl-procinfo.h: Likewise.
24338         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
24339         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
24340         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
24341         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
24342         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
24343         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
24344         * sysdeps/s390/dl-tls.h: Likewise.
24345         * sysdeps/s390/s390-32/setjmp.S: Likewise.
24346         * sysdeps/s390/s390-64/setjmp.S: Likewise.
24347         * sysdeps/sh/sh3/setjmp.S: Likewise.
24348         * sysdeps/sh/sh4/setjmp.S: Likewise.
24349         * sysdeps/unix/alpha/sysdep.h: Likewise.
24350         * sysdeps/unix/arm/sysdep.S: Likewise.
24351         * sysdeps/unix/i386/sysdep.S: Likewise.
24352         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
24353         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
24354         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
24355         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
24356         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
24357         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
24358         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
24359         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
24360         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
24361         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
24362         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
24363         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
24364         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
24365         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
24366         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
24367         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
24368         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
24369         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
24370         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
24371         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
24372         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
24373         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
24374         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
24375         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
24376         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
24377         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
24378         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
24379         * sysdeps/unix/x86_64/sysdep.S: Likewise.
24380         * sysdeps/x86_64/setjmp.S: Likewise.
24382         * include/math.h: Use IS_IN instead of IS_IN_libm.
24383         * sysdeps/alpha/fpu/s_copysign.c: Likewise.
24384         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
24385         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
24386         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
24387         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
24388         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
24389         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
24390         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
24391         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
24392         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
24393         * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
24394         * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
24395         * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
24396         * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
24397         * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
24398         * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
24399         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
24400         * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
24401         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
24402         * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
24403         * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
24404         * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
24405         * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
24406         * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
24407         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
24408         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
24409         * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
24410         * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
24411         * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
24412         * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
24413         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
24414         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
24415         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
24416         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
24417         Likewise.
24418         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
24419         Likewise.
24420         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
24421         Likewise.
24422         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
24423         Likewise.
24424         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
24425         Likewise.
24426         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
24427         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
24428         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
24429         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
24430         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
24431         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
24432         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
24433         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
24434         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
24435         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
24436         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
24437         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
24438         * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
24439         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
24440         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
24441         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
24442         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
24443         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
24444         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
24445         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
24446         * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
24447         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
24448         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
24449         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
24450         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
24451         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
24452         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
24454         * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
24455         * nptl/pthreadP.h: Likewise.
24456         * nptl_db/structs.def: Likewise.
24457         * sysdeps/arm/sysdep.h: Likewise.
24458         * sysdeps/nptl/bits/libc-lock.h: Likewise.
24459         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
24460         * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
24461         * sysdeps/unix/alpha/sysdep.h: Likewise.
24462         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
24463         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
24464         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
24465         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
24466         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
24467         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
24468         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
24469         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
24470         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
24471         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
24472         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
24473         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
24474         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
24475         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
24476         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
24477         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
24478         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
24479         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
24480         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
24481         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
24482         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
24483         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
24484         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
24485         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
24486         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
24487         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
24489         * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
24490         * nptl/pthreadP.h: Likewise.
24491         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
24492         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
24493         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
24494         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
24495         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
24496         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
24497         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
24498         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
24499         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
24500         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
24501         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
24502         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
24503         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
24504         Likewise.
24505         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
24506         Likewise.
24507         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
24508         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
24509         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
24510         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
24511         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
24512         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
24513         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
24514         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
24516         * dlfcn/dladdr.c: Use IS_IN.
24517         * dlfcn/dladdr1.c: Likewise.
24518         * dlfcn/dlclose.c: Likewise.
24519         * dlfcn/dlerror.c: Likewise.
24520         * dlfcn/dlinfo.c: Likewise.
24521         * dlfcn/dlmopen.c: Likewise.
24522         * dlfcn/dlopen.c: Likewise.
24523         * dlfcn/dlsym.c: Likewise.
24524         * dlfcn/dlvsym.c: Likewise.
24526         * include/ifaddrs.h: Use IS_IN.
24527         * inet/check_pf.c: Likewise.
24528         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
24529         * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
24531         * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
24532         IS_IN_ldconfig.
24533         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
24534         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
24536         * include/shlib-compat.h [!NOT_IN_libc]: Remove.
24537         * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
24538         IS_IN (libc).
24540         * elf/Makefile (libof-sotruss-lib): Set as extramodules.
24542         * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
24543         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
24544         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
24545         * include/libc-symbols.h (IS_IN_LIB): New macro.
24546         * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
24547         * include/netdb.h: Likewise.
24548         * include/stap-probe.h: Remove all uses of IN_LIB.
24550         * Makeconfig (module-cppflags-real): Define MODULE_NAME
24551         instead of IN_MODULE.
24552         * include/libc-symbols.h (IN_MODULE): Define using
24553         MODULE_NAME.
24554         (PASTE_NAME, PASTE_NAME1): New macros.
24555         * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
24556         of IN_LIB.
24557         (STAP_PROBE_ASM): Likewise.
24559 2014-11-23  Samuel Thibault  <samuel.thibault@ens-lyon.org>
24561         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
24562         __mach_init in dlopened libc.
24564 2014-11-22  Mike Frysinger  <vapier@gentoo.org>
24566         * sysdeps/arm/preconfigure.ac: Delete EABI check.
24567         * sysdeps/arm/preconfigure: Regenerate.
24569 2014-11-21  Roland McGrath  <roland@hack.frob.com>
24571         * nptl/pthread_create.c (__pthread_create_2_1): Set
24572         ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
24573         when copying values from IATTR into PD.
24575 2014-11-21  Will Newton  <will.newton@linaro.org>
24576             Andrew Pinski  <andrew.pinski@caviumnetworks.com>
24578         * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
24579         Refactor inline-asm.  Also add comment.
24581         * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
24582         ElfW macro instead of hardcoded Elf64 types.
24583         (la_aarch64_gnu_pltenter): Likewise.
24584         * sysdeps/aarch64/dl-machine.h
24585         (elf_machine_runtime_setup): Use ElfW(Addr).
24587         * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
24588         R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
24589         R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
24590         R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
24591         R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
24592         (R_AARCH64_TLS_DTPMOD64): Rename to ..
24593         (R_AARCH64_TLS_DTPMOD): This.
24594         (R_AARCH64_TLS_DTPREL64): Rename to ...
24595         (R_AARCH64_TLS_DTPREL): This.
24596         (R_AARCH64_TLS_TPREL64): Rename to ...
24597         (R_AARCH64_TLS_TPREL): This.
24598         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
24599         R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
24600         R_AARCH64_TLS_TPREL64.
24601         (elf_machine_rela): Likewise.
24603 2014-11-21  Torvald Riegel  <triegel@redhat.com>
24605         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
24606         by setting it to 0.  64b atomics are not supported currently.
24608 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
24610         [BZ #16469]
24611         * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
24612         search domain names.
24614 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
24616         [BZ #16469]
24617         * NEWS: Update.
24618         * resolv/res_query.c (__libc_res_nquerydomain): Retain
24619         trailing dot.
24620         * posix/tst-getaddrinfo5.c: New.
24621         * posix/Makefile (tests): Add it.
24623 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
24625         [BZ #14498]
24626         * NEWS: Fixed.
24627         * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
24628         after parsing line but before break_if_match.
24629         * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
24630         if there is a protocol mismatch.
24632 2014-11-21  Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
24634         * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
24635         because the potential race is on the user-supplied stream.
24637 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
24639         * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
24640         string literal if not passed a buffer.
24641         * manual/job.texi (ctermid): Update reasoning, note deviation
24642         from posix, suggest mtasurace when not passed a buffer, for
24643         future non-preliminary safety notes.
24645 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
24647         * manual/users.texi (cuserid): Fix MT-Safety note for the case
24648         of not passing it a buffer.
24649         Reported by Peng Haitao.
24651 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
24653         * manual/Makefile ($(objpfx)stamp-summary): Require
24654         check-safety.sh to pass.
24655         * manual/check-safety.sh: Wish for verification that every
24656         @deftypefn and @deftypefun is followed by a @safety remark.
24658 2014-11-20  Roland McGrath  <roland@hack.frob.com>
24660         * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
24662         * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
24663         PTHREAD_CANCEL_ASYNCHRONOUS.
24664         * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
24665         send SIGCANCEL.
24667         * nptl/default-sched.h: New file.
24668         * sysdeps/unix/sysv/linux/default-sched.h: New file.
24669         * nptl/pthread_create.c: Include it.
24670         (__pthread_create_2_1): Use collect_default_sched instead of making
24671         Linux syscalls here directly.
24673 2014-11-20  Torvald Riegel  <triegel@redhat.com>
24675         * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
24676         __pthread_once): Use C11 atomics.
24678 2014-11-20  Torvald Riegel  <triegel@redhat.com>
24680         * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
24682 2014-11-20  Torvald Riegel  <triegel@redhat.com>
24684         * include/atomic.h (__atomic_link_error, __atomic_check_size,
24685         atomic_thread_fence_acquire, atomic_thread_fence_release,
24686         atomic_thread_fence_seq_cst, atomic_load_relaxed,
24687         atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
24688         atomic_compare_exchange_weak_relaxed,
24689         atomic_compare_exchange_weak_acquire,
24690         atomic_compare_exchange_weak_release,
24691         atomic_exchange_acquire, atomic_exchange_release,
24692         atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
24693         atomic_fetch_add_release, atomic_fetch_add_acq_rel,
24694         atomic_fetch_and_acquire,
24695         atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
24697 2014-11-20  Torvald Riegel  <triegel@redhat.com>
24699         * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
24700         USE_ATOMIC_COMPILER_BUILTINS): Define.
24701         * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
24702         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
24703         * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
24704         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
24705         * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
24706         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
24707         * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
24708         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
24709         * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
24710         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
24711         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
24712         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
24713         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
24714         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
24715         * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
24716         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
24717         * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
24718         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
24719         * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
24720         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
24721         * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
24722         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
24723         * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
24724         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
24725         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
24726         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
24727         * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
24728         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
24729         * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
24730         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
24731         * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
24732         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
24733         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
24734         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
24735         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
24736         (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
24737         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
24738         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
24739         * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
24740         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
24742 2014-11-19  Roland McGrath  <roland@hack.frob.com>
24744         * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
24745         the sched_priority value here.  It was already checked when the user
24746         called pthread_attr_setschedparam.
24748         * nptl/tst-bad-schedattr.c: New file.
24749         * nptl/Makefile (tests): Add it.
24751 2014-11-19  Carlos O'Donell  <carlos@redhat.com>
24752             Florian Weimer  <fweimer@redhat.com>
24753             Joseph Myers  <joseph@codesourcery.com>
24754             Adam Conrad  <adconrad@0c3.net>
24755             Andreas Schwab  <schwab@suse.de>
24756             Brooks  <bmoses@google.com>
24758         [BZ #17625]
24759         * wordexp-test.c (__dso_handle): Add prototype.
24760         (__register_atfork): Likewise.
24761         (__app_register_atfork): New function.
24762         (registered_forks): New global.
24763         (register_fork): New function.
24764         (test_case): Add 3 new tests for WRDE_CMDSUB.
24765         (main): Call __app_register_atfork.
24766         (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
24767         fork count is non-zero fail the test.
24768         * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
24769         is set.
24770         (parse_dollars): Remove check for WRDE_NOCMD.
24771         (parse_dquote): Likewise.
24773 2014-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
24775         * Makeconfig (built-modules): List non-library modules to be
24776         built.
24777         (module-cppflags): Include libc-modules.h for
24778         everything except shlib-versions.v.i.
24779         (CPPFLAGS): Use it.
24780         (before-compile): Add libc-modules.h.
24781         ($(common-objpfx)libc-modules.h,
24782         $(common-objpfx)libc-modules.stmp): New targets.
24783         (common-generated): Add libc-modules.h and libc-modules.stmp.
24784         ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
24785         * include/libc-symbols.h: Don't include libc-modules.h.
24786         * include/libc-modules.h: Remove file.
24787         * scripts/gen-libc-modules.awk: New script to generate
24788         libc-modules.h.
24789         * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
24790         Depend on libc-modules.stmp.
24792         * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
24794         * Makeconfig (in-module): Get value of libof set for the
24795         translation unit.
24796         (CPPFLAGS): Use $(in-module).
24797         * Makerules: Don't suffix routine names for nonlib.
24798         * include/libc-modules.h: New file.
24799         * include/libc-symbols.h: Include libc-modules.h
24800         (IS_IN): New macro to replace IS_IN_* macros.
24801         * elf/Makefile: Set libof-* for each routine.
24802         * elf/rtld-Rules: Likewise.
24803         * extra-modules.mk: Likewise.
24804         * iconv/Makefile: Likewise.
24805         * iconvdata/Makefile: Likewise.
24806         * locale/Makefile: Likewise.
24807         * malloc/Makefile: Likewise.
24808         * nss/Makefile: Likewise.
24809         * sysdeps/gnu/Makefile: Likewise.
24810         * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
24811         * sysdeps/unix/sysv/linux/Makefile: Likewise.
24812         * sysdeps/s390/s390-64/Makefile: Likewise.
24813         * nscd/Makefile: Set libof-* for each routine.  Set CFLAGS and
24814         CPPFLAGS for nscd instead of nonlib.
24816 2014-11-18  Roland McGrath  <roland@hack.frob.com>
24818         * nptl/createthread.c: New file.
24820         * nptl/createthread.c: Moved ...
24821         * sysdeps/unix/sysv/linux/createthread.c: ... here.
24823         * nptl/createthread.c: Add proper top-line comment.
24824         (do_clone): Folded into ...
24825         (create_thread): ... here.  Take new arguments STOPPED_START and
24826         THREAD_RAN.  Always set PD->stopped_start to something here.  Don't
24827         increment __nptl_threads, do event-reporting logic, do
24828         CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
24829         here.  Set *THREAD_RAN after ARCH_CLONE call succeeds.  Don't do any
24830         resource cleanup if sched_setaffinity or sched_setscheduler fails,
24831         just send SIGCANCEL.
24832         * nptl/pthread_create.c: Forward-declare create_thread before
24833         including createthread.c.
24834         (start_thread): Use new macro START_THREAD_DEFN to replace defining
24835         declaration, and new macro START_THREAD_SELF to replace argument.
24836         Remove return statement.
24837         (report_thread_creation): New function.
24838         (__pthread_create_2_1): Use it.  Do TD_CREATE reporting,
24839         synchronization logic, and __nptl_nthreads increment here, around
24840         calling create_thread.  Do CHECK_THREAD_SYSINFO and initialize
24841         PD->parent_cancelhandling here, before create_thread.  When
24842         create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
24843         __deallocate_stack, and ENOMEM translation here.
24845 2014-11-18  Joseph Myers  <joseph@codesourcery.com>
24847         [BZ #17616]
24848         * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
24849         (mptwo): Rename to __mptwo.
24850         (__inv): Use __mptwo instead of mptwo.
24851         * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
24852         (mptwo): Rename to __mptwo.
24853         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
24854         of mpone and __mptwo instead of mptwo.
24855         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
24856         instead of mpone.
24857         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
24858         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
24859         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
24860         of mpone and __mptwo instead of mptwo.
24861         (__mpranred): Use __mpone instead of mpone.
24862         * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
24863         variable.
24864         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
24865         (test-xfail-ISO99/math.h/linknamespace): Likewise.
24866         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
24867         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
24868         (test-xfail-ISO11/math.h/linknamespace): Likewise.
24869         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
24870         (test-xfail-XPG3/math.h/linknamespace): Likewise.
24871         (test-xfail-XPG4/math.h/linknamespace): Likewise.
24872         (test-xfail-POSIX/math.h/linknamespace): Likewise.
24873         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
24874         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
24875         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
24876         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
24877         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
24878         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
24879         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
24880         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
24881         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
24882         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
24884 2014-11-18  Tom de Vries  <tom@codesoucery.com>
24886         * manual/signal.texi (Primitives Interrupted by Signals): In section,
24887         replace BSD Handler xref with BSD Signal Handling.
24889 2014-11-17  Richard Henderson  <rth@redhat.com>
24891         * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
24892         (_FP_PACK_RAW_2): Remove.
24893         (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
24894         (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
24895         (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
24896         (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
24897         * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
24898         * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
24899         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
24900         * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
24901         * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
24902         * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
24903         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
24904         * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
24905         * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
24906         * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
24907         * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
24908         * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
24910 2014-11-14  Roland McGrath  <roland@hack.frob.com>
24912         * signal/signal.h [__USE_MISC]
24913         (struct sigvec): Remove type.
24914         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
24915         (sigvec): Remove declaration.
24916         * sysdeps/posix/sigvec.c: Moved ...
24917         * signal/sigvec.c: ... here, replacing old file.
24918         (struct sigvec): New type, copied from old signal.h definition.
24919         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
24920         (__sigvec): Convert definition to prototype.
24921         (sigvec): Replace weak_alias with compat_symbol.
24922         * signal/Versions (libc: GLIBC_2.21): New version set.
24923         * include/signal.h: Remove __sigvec declaration.
24924         * sysdeps/unix/bsd/sigvec.c: Remove file.
24925         * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
24926         * manual/signal.texi (BSD Handler): Remove subsection.
24927         Move siginterrupt up to ...
24928         (BSD Signal Handling): ... here.  Mark it as XPG rather than BSD.
24929         (Blocking in BSD): Fold subsection into its parent.
24930         * NEWS: Mention sigvec removal.
24932 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
24934         * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
24935         (DLA_FMS): Make definition conditional only on [__FMA4__].
24936         [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
24937         definition.
24939         * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
24940         Make definition conditional only on [PROF].
24941         [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
24942         definition.
24943         [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
24944         [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
24946         * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
24947         !__GNUC__].
24948         * include/signal.h (__sigpause): Move declaration above call to
24949         libc_hidden_proto.
24950         * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
24951         variable.
24952         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
24953         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
24955 2014-11-14  David S. Miller  <davem@davemloft.net>
24957         * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
24958         Define before including <string/memcpy.c> and <string/mempcpy.c>.
24960 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
24962         * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
24963         * configure: Regenerated.
24964         * manual/install.texi (Tools for Compilation): Document a
24965         requirement of GCC 4.6 or later and that GCC 4.9 is the newest
24966         compiler verified to work.
24967         * INSTALL: Regenerated.
24969         * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
24970         redeclare with asm name.
24971         [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
24972         * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
24973         including <string.h>.
24974         * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
24975         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
24976         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
24977         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
24978         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
24979         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
24980         [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
24982 2014-11-13  Joseph Myers  <joseph@codesourcery.com>
24984         * stdlib/strtol.c (__strtol): Use prototype definition.
24986         [BZ #17594]
24987         * stdlib/strtol.c (SYM__): New macro.
24988         (SYM__1): Likewise.
24989         (__strtol): Likewise.
24990         (strtol): Rename to __strtol and define as weak alias of
24991         __strtol.  Use libc_hidden_weak.
24993 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
24995         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
24996         Use numbered labels in inline assembly.
24998 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
25000         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
25001         Add setjmp LIBC_PROBE.
25002         * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
25003         Likewise.
25004         * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
25005         Add longjmp, longjmp_target LIBC_PROBE.
25006         * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
25007         Likewise.
25009 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
25011         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
25012         Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
25013         to get rid of unused variable warning.
25015 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
25017         * sysdeps/s390/s390-32/backtrace.c (__backtrace):
25018         Check for unwind_backtrace ==  NULL only in SHARED case.
25019         (__backchain_backtrace): Compile only in SHARED case.
25020         * sysdeps/s390/s390-64/backtrace.c (__backtrace):
25021         Likewise.
25022         (__backchain_backtrace): Declare as static.
25024 2014-11-12  Roland McGrath  <roland@hack.frob.com>
25026         * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
25027         (__libc_multiple_threads_ptr): Variable moved ...
25028         * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
25030 2014-11-12  Joseph Myers  <joseph@codesourcery.com>
25032         * conform/GlibcConform.pm: New file.
25033         * conform/conformtest.pl: Use GlibcConform module.
25034         * conform/linknamespace.pl: New file.
25035         * conform/list-header-symbols.pl: Likewise.
25036         * conform/Makefile (linknamespace-symlists-base): New variable.
25037         (linknamespace-symlists-tests): Likewise.
25038         (linknamespace-header-base): Likewise.
25039         (linknamespace-header-tests): Likewise.
25040         (tests-special): Add new tests.
25041         ($(linknamespace-symlists-tests)): New rule.
25042         (linknamespace-libs): New variable.
25043         ($(objpfx)symlist-stdlibs): New rule.
25044         ($(linknamespace-header-tests)): Likewise.
25045         (test-xfail-XPG3/varargs.h/linknamespace): New variable.
25046         (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
25047         (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
25048         (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
25049         (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
25050         (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
25051         (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
25052         (test-xfail-ISO/math.h/linknamespace): Likewise.
25053         (test-xfail-ISO/signal.h/linknamespace): Likewise.
25054         (test-xfail-ISO/stdio.h/linknamespace): Likewise.
25055         (test-xfail-ISO/time.h/linknamespace): Likewise.
25056         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
25057         (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
25058         (test-xfail-ISO99/math.h/linknamespace): Likewise.
25059         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
25060         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
25061         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
25062         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
25063         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
25064         (test-xfail-ISO11/math.h/linknamespace): Likewise.
25065         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
25066         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
25067         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
25068         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
25069         (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
25070         (test-xfail-XPG3/glob.h/linknamespace): Likewise.
25071         (test-xfail-XPG3/math.h/linknamespace): Likewise.
25072         (test-xfail-XPG3/regex.h/linknamespace): Likewise.
25073         (test-xfail-XPG3/search.h/linknamespace): Likewise.
25074         (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
25075         (test-xfail-XPG3/time.h/linknamespace): Likewise.
25076         (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
25077         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
25078         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
25079         (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
25080         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
25081         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
25082         (test-xfail-XPG4/grp.h/linknamespace): Likewise.
25083         (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
25084         (test-xfail-XPG4/math.h/linknamespace): Likewise.
25085         (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
25086         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
25087         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
25088         (test-xfail-XPG4/search.h/linknamespace): Likewise.
25089         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
25090         (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
25091         (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
25092         (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
25093         (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
25094         (test-xfail-XPG4/time.h/linknamespace): Likewise.
25095         (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
25096         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
25097         (test-xfail-POSIX/aio.h/linknamespace): Likewise.
25098         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
25099         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
25100         (test-xfail-POSIX/math.h/linknamespace): Likewise.
25101         (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
25102         (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
25103         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
25104         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
25105         (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
25106         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
25107         (test-xfail-POSIX/time.h/linknamespace): Likewise.
25108         (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
25109         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
25110         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
25111         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
25112         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
25113         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
25114         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
25115         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
25116         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
25117         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
25118         (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
25119         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
25120         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
25121         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
25122         (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
25123         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
25124         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
25125         (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
25126         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
25127         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
25128         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
25129         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
25130         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
25131         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
25132         (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
25133         (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
25134         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
25135         (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
25136         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
25137         (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
25138         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
25139         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
25140         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
25141         (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
25142         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
25143         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
25144         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
25145         (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
25146         (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
25147         (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
25148         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
25149         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
25150         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
25151         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
25152         (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
25153         (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
25154         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
25155         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
25156         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
25157         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
25158         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
25159         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
25160         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
25161         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
25162         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
25163         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
25164         (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
25165         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
25166         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
25167         (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
25168         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
25169         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
25170         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
25171         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
25172         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
25173         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
25174         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
25175         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
25176         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
25177         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
25178         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
25179         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
25180         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
25181         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
25182         (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
25183         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
25184         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
25185         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
25186         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
25187         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
25188         (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
25189         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
25190         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
25191         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
25192         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
25193         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
25194         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
25195         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
25196         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
25197         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
25198         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
25199         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
25200         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
25201         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
25202         (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
25203         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
25204         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
25205         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
25207         [BZ #17589]
25208         * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
25209         of fgets_unlocked.
25211         [BZ #17585]
25212         * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
25213         (memmem): Rename to __memmem and define as weak alias of
25214         __memmem.  Use libc_hidden_weak.
25215         (__memmem): Use libc_hidden_def.
25216         * include/string.h (__memmem): Declare.  Use libc_hidden_proto.
25217         * locale/findlocale.c (valid_locale_name): Use __memmem instead of
25218         memmem.
25220         [BZ #17582]
25221         * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
25222         (__fgets_unlocked): Add alias of _IO_fgets.  Use libc_hidden_def.
25223         * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
25224         and define as weak alias of __fgets_unlocked.  Use
25225         libc_hidden_weak.
25226         (__fgets_unlocked): Use libc_hidden_def.
25227         * include/stdio.h (__fgets_unlocked): Declare.  Use
25228         libc_hidden_proto.
25229         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
25230         __fgets_unlocked instead of fgets_unlocked.
25231         * sysdeps/unix/sysv/linux/alpha/getsysstats.c
25232         (GET_NPROCS_CONF_PARSER): Likewise.
25233         * sysdeps/unix/sysv/linux/sparc/getsysstats.c
25234         (GET_NPROCS_CONF_PARSER): Likewise.
25236         [BZ #17574]
25237         * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
25238         weak alias of __wmemset.  Use libc_hidden_weak.
25239         (__wmemset): Use libc_hidden_def.
25240         * include/wchar.h (__wmemset): Declare.  Use libc_hidden_proto.
25241         * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
25242         of wmemset.
25244         [BZ #17573]
25245         * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
25246         with asm name __mempcpy.
25247         [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
25249         [BZ #17572]
25250         * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
25251         and define as weak alias of __rawmemchr.
25252         (__rawmemchr): Do not define as strong alias of rawmemchr.
25254         [BZ #17571]
25255         * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
25256         alias of __qsort_r.
25257         (qsort): Call __qsort_r instead of qsort_r.
25258         * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
25259         (__qsort_r): Declare.  Call libc_hidden_proto.
25260         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
25261         instead of qsort_r.
25262         * nscd/gai.c (__qsort_r): Define to qsort_r.
25263         * posix/tst-rfc3484.c (__qsort_r): Likewise.
25264         * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
25265         * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
25267         [BZ #17570]
25268         * malloc/malloc.c (malloc_info): Rename to __malloc_info and
25269         define as weak alias of __malloc_info.
25271         [BZ #17584]
25272         * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
25273         as weak alias of __rewinddir.  Don't use libc_hidden_def.
25274         (__rewinddir): Use libc_hidden_def.
25275         * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
25276         as weak alias of __rewinddir.  Don't use libc_hidden_def.
25277         (__rewinddir): Use libc_hidden_def.
25278         * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
25279         weak alias of __rewinddir.  Don't use libc_hidden_def.
25280         (__rewinddir): Use libc_hidden_def.
25281         * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
25282         (__rewinddir): Use libc_hidden_proto.
25283         * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
25284         rewinddir.
25285         (__getcwd): Use __rewinddir instead of rewinddir.
25287         [BZ #17583]
25288         * libio/fileno.c (fileno): Rename to __fileno and define as weak
25289         alias of __fileno.  Use libc_hidden_weak.
25290         (__fileno): Use libc_hidden_def.
25291         [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
25292         * libio/ftello.c (ftello): Rename to __ftello and define as weak
25293         alias of __ftello.
25294         [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
25295         __ftello.
25296         * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
25297         (__fread_unlocked): Define as strong alias of _IO_fread.  Use
25298         libc_hidden_def.
25299         (fread_unlocked): Don't use libc_hidden_ver.
25300         * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
25301         and define as weak alias of __fread_unlocked.  Don't use
25302         libc_hidden_def.
25303         (__fread_unlocked): Use libc_hidden_def.
25304         * include/stdio.h (__fileno): Declare.  Use libc_hidden_proto.
25305         (ftello): Don't use libc_hidden_proto.
25306         (__ftello): Declare.  Use libc_hidden_proto.
25307         (fread_unlocked): Don't use libc_hidden_proto.
25308         (__fread_unlocked): Declare.  Use libc_hidden_proto.
25309         * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
25310         and __ftello instead of fileno, fread_unlocked and ftello.
25312 2012-11-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
25314         * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
25315         GOT12.
25316         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
25317         Likewise.
25318         (_dl_start_user): Likewise.
25319         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
25321 2014-11-12  Carlos O'Donell  <carlos@redhat.com>
25322             Siddhesh Poyarekar  <siddhesh@redhat.com>
25324         * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
25325         Move argv and envp down instead of moving argc up.
25326         * sysdeps/s390/s390-32/dl-sysdep.h: New file.
25328 2014-11-12  Leonhard Holz  <leonhard.holz@web.de>
25330         [BZ #17506]
25331         * test-skeleton.c (main): Return successful if one of
25332         EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
25333         * string/tst-strcoll-overflow.c: Define expected status.
25335 2014-11-12  Tatiana Udalova  <t.udalova@samsung.com>
25337         [BZ #17475]
25338         * locale/iso-639.def: Define Bhili and Tulu language codes.
25340 2014-11-11  Alan Hayward  <alan.hayward@arm.com>
25342         * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
25344 2014-11-10  Renlin Li  <Renlin.Li@arm.com>
25346         [BZ #17555]
25347         * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
25349 2014-11-10  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
25351         * configure.ac: Updated check of minimal required version to
25352         2.22.
25353         * manual/install.texi (Tools for Compilation): Updated version
25354         number.
25355         * configure: Regenerated.
25356         * INSTALL: Likewise.
25358 2014-11-07  Andreas Schwab  <schwab@linux-m68k.org>
25360         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
25361         __tls_get_addr.
25363 2014-11-07  Joseph Myers  <joseph@codesourcery.com>
25365         * include/sys/wait.h (__libc_waitpid): Remove declaration.
25366         * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
25367         (__waitpid): Don't define as alias.  Use libc_hidden_def not
25368         libc_hidden_weak.
25369         (waitpid): Define as alias of __waitpid.
25370         * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
25371         __waitpid.
25372         (__waitpid): Don't define as alias.  Use libc_hidden_def not
25373         libc_hidden_weak.
25374         (waitpid): Define as alias of __waitpid.
25375         * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
25376         __libc_waitpid alias.
25377         * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
25378         * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
25379         Likewise.
25380         * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
25381         * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
25382         * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
25383         alias.
25384         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
25385         __waitpid.
25386         (__waitpid): Don't define as alias.  Use libc_hidden_def not
25387         libc_hidden_weak.
25388         (waitpid): Define as alias of __waitpid.
25390 2014-11-06  Carlos O'Donell  <carlos@redhat.com>
25392         * manual/llio.texi: Add comment that write safety has been
25393         fixed in Linux.
25395         * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
25396         (localplt-build-dso): Add elf/ld.so.
25397         * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
25398         i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
25399         and free for ld.so.
25400         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
25401         __libc_memalign, malloc, calloc, realloc, and free for ld.so.
25402         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
25403         Likewise.
25404         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
25405         Likewise.
25406         * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
25407         * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
25408         version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
25409         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
25410         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
25411         * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
25412         * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
25413         * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
25414         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
25415         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
25416         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
25418 2014-11-05  Joseph Myers  <joseph@codesourcery.com>
25420         [BZ #14132]
25421         * include/libc-symbols.h (INTUSE): Remove macro.
25422         (INTDEF): Likewise.
25423         (INTVARDEF): Likewise.
25424         (_INTVARDEF): Likewise.
25425         (INTDEF2): Likewise.
25426         (INTVARDEF2): Likewise.
25427         * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
25428         rtld_hidden_def instead of INTVARDEF.
25429         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
25430         (_dl_starting_up_internal): Remove declaration.
25431         (_dl_starting_up): Use rtld_hidden_proto.
25432         * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
25433         declaration.
25434         [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
25435         (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
25436         _dl_starting_up.
25437         * elf/dl-writev.h (_dl_writev): Likewise.
25438         * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
25439         (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
25440         _dl_starting_up_internal.
25442 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25444         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
25445         test-skeleton.c.
25447 2014-11-05  Will Newton  <will.newton@linaro.org>
25449         * benchtests/Makefile: (bench-malloc): Add malloc thread
25450         scalability benchmark.
25451         * benchtests/bench-malloc-threads.c: New file.
25453 2014-11-05  Richard Earnshaw  <rearnsha@arm.com>
25455         * sysdeps/aarch64/strchrnul.S: New file.
25457 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25459         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
25460         definition.
25461         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
25462         Likwise.
25463         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
25464         Likewise.
25465         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
25466         Likewise.
25467         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
25468         Likewise.
25469         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
25470         Likewise.
25472 2014-11-05  Arjun Shankar  <arjun.is@lostca.se>
25474         * catgets/test-gencat.c: Use test-skeleton.c.
25475         * catgets/tst-catgets.c: Likewise.
25476         * csu/tst-empty.c: Likewise.
25477         * elf/tst-audit2.c: Likewise.
25478         * elf/tst-global1.c: Likewise.
25479         * elf/tst-pathopt.c: Likewise.
25480         * elf/tst-piemod1.c: Likewise.
25481         * elf/tst-tls10.c: Likewise.
25482         * elf/tst-tls11.c: Likewise.
25483         * elf/tst-tls12.c: Likewise.
25484         * gnulib/tst-gcc.c: Likewise.
25485         * iconvdata/tst-e2big.c: Likewise.
25486         * iconvdata/tst-loading.c: Likewise.
25487         * iconv/tst-iconv1.c: Likewise.
25488         * iconv/tst-iconv2.c: Likewise.
25489         * inet/test-inet6_opt.c: Likewise.
25490         * inet/tst-gethnm.c: Likewise.
25491         * inet/tst-network.c: Likewise.
25492         * inet/tst-ntoa.c: Likewise.
25493         * intl/tst-codeset.c: Likewise.
25494         * intl/tst-gettext2.c: Likewise.
25495         * intl/tst-gettext3.c: Likewise.
25496         * intl/tst-ngettext.c: Likewise.
25497         * intl/tst-translit.c: Likewise.
25498         * io/test-stat.c: Likewise.
25499         * libio/test-fmemopen.c: Likewise.
25500         * libio/tst-freopen.c: Likewise.
25501         * libio/tst-sscanf.c: Likewise.
25502         * libio/tst-ungetwc1.c: Likewise.
25503         * libio/tst-ungetwc2.c: Likewise.
25504         * libio/tst-widetext.c: Likewise.
25505         * localedata/tst-ctype.c: Likewise.
25506         * localedata/tst-digits.c: Likewise.
25507         * localedata/tst-leaks.c: Likewise.
25508         * localedata/tst-mbswcs1.c: Likewise.
25509         * localedata/tst-mbswcs2.c: Likewise.
25510         * localedata/tst-mbswcs3.c: Likewise.
25511         * localedata/tst-mbswcs4.c: Likewise.
25512         * localedata/tst-mbswcs5.c: Likewise.
25513         * localedata/tst-setlocale.c: Likewise.
25514         * localedata/tst-trans.c: Likewise.
25515         * localedata/tst-wctype.c: Likewise.
25516         * localedata/tst-xlocale1.c: Likewise.
25517         * login/tst-grantpt.c: Likewise.
25518         * malloc/tst-calloc.c: Likewise.
25519         * malloc/tst-malloc.c: Likewise.
25520         * malloc/tst-mallocstate.c: Likewise.
25521         * malloc/tst-mcheck.c: Likewise.
25522         * malloc/tst-mtrace.c: Likewise.
25523         * malloc/tst-obstack.c: Likewise.
25524         * math/atest-exp2.c: Likewise.
25525         * math/atest-exp.c: Likewise.
25526         * math/atest-sincos.c: Likewise.
25527         * math/test-matherr.c: Likewise.
25528         * math/test-misc.c: Likewise.
25529         * math/test-powl.c: Likewise.
25530         * math/tst-definitions.c: Likewise.
25531         * misc/tst-dirname.c: Likewise.
25532         * misc/tst-efgcvt.c: Likewise.
25533         * misc/tst-fdset.c: Likewise.
25534         * misc/tst-hsearch.c: Likewise.
25535         * misc/tst-mntent2.c: Likewise.
25536         * nptl/tst-sem7.c: Likewise.
25537         * nptl/tst-sem8.c: Likewise.
25538         * nptl/tst-sem9.c: Likewise.
25539         * nss/test-netdb.c: Likewise.
25540         * posix/tst-fnmatch.c: Likewise.
25541         * posix/tst-getlogin.c: Likewise.
25542         * posix/tst-gnuglob.c: Likewise.
25543         * posix/tst-mmap.c: Likewise.
25544         * pwd/tst-getpw.c: Likewise.
25545         * resolv/tst-inet_ntop.c: Likewise.
25546         * rt/tst-timer.c: Likewise.
25547         * stdio-common/test-fseek.c: Likewise.
25548         * stdio-common/test-popen.c: Likewise.
25549         * stdio-common/test-vfprintf.c: Likewise.
25550         * stdio-common/tst-cookie.c: Likewise.
25551         * stdio-common/tst-fileno.c: Likewise.
25552         * stdio-common/tst-gets.c: Likewise.
25553         * stdio-common/tst-obprintf.c: Likewise.
25554         * stdio-common/tst-perror.c: Likewise.
25555         * stdio-common/tst-sprintf2.c: Likewise.
25556         * stdio-common/tst-sprintf3.c: Likewise.
25557         * stdio-common/tst-sprintf.c: Likewise.
25558         * stdio-common/tst-swprintf.c: Likewise.
25559         * stdio-common/tst-tmpnam.c: Likewise.
25560         * stdio-common/tst-unbputc.c: Likewise.
25561         * stdio-common/tst-wc-printf.c: Likewise.
25562         * stdlib/tst-environ.c: Likewise.
25563         * stdlib/tst-fmtmsg.c: Likewise.
25564         * stdlib/tst-limits.c: Likewise.
25565         * stdlib/tst-rand48-2.c: Likewise.
25566         * stdlib/tst-rand48.c: Likewise.
25567         * stdlib/tst-random2.c: Likewise.
25568         * stdlib/tst-random.c: Likewise.
25569         * stdlib/tst-strtol.c: Likewise.
25570         * stdlib/tst-strtoll.c: Likewise.
25571         * stdlib/tst-tls-atexit.c: Likewise.
25572         * stdlib/tst-xpg-basename.c: Likewise.
25573         * string/test-ffs.c: Likewise.
25574         * string/tst-bswap.c: Likewise.
25575         * string/tst-inlcall.c: Likewise.
25576         * string/tst-strtok.c: Likewise.
25577         * string/tst-strxfrm.c: Likewise.
25578         * sysdeps/x86_64/tst-audit10.c: Likewise.
25579         * sysdeps/x86_64/tst-audit3.c: Likewise.
25580         * sysdeps/x86_64/tst-audit4.c: Likewise.
25581         * sysdeps/x86_64/tst-audit5.c: Likewise.
25582         * time/tst-ftime_l.c: Likewise.
25583         * time/tst-getdate.c: Likewise.
25584         * time/tst-mktime3.c: Likewise.
25585         * time/tst-mktime.c: Likewise.
25586         * time/tst-posixtz.c: Likewise.
25587         * time/tst-strptime2.c: Likewise.
25588         * time/tst-strptime3.c: Likewise.
25589         * wcsmbs/tst-btowc.c: Likewise.
25590         * wcsmbs/tst-mbrtowc.c: Likewise.
25591         * wcsmbs/tst-mbsrtowcs.c: Likewise.
25592         * wcsmbs/tst-wchar-h.c: Likewise.
25593         * wcsmbs/tst-wcpncpy.c: Likewise.
25594         * wcsmbs/tst-wcrtomb.c: Likewise.
25595         * wcsmbs/tst-wcsnlen.c: Likewise.
25596         * wcsmbs/tst-wcstof.c: Likewise.
25598 2014-11-04  Joseph Myers  <joseph@codesourcery.com>
25600         [BZ #14132]
25601         * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
25602         INTDEF.
25603         * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
25604         declaration.
25605         (_dl_mcount): Use rtld_hidden_proto.
25606         * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
25607         _dl_mcount.
25608         * elf/rtld.c (_rtld_global_ro): Likewise.
25610         [BZ #14132]
25611         * elf/dl-init.c (_dl_init): Don't use INTDEF.
25612         * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
25613         of _dl_init_internal.
25614         * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
25615         * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
25616         * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
25617         * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
25618         * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
25619         * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
25620         * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
25621         * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
25622         * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
25623         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
25624         * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
25625         * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
25626         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
25627         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
25628         * sysdeps/tile/dl-start.S (_start): Likewise.
25629         * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
25630         * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
25632         [BZ #14132]
25633         * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
25634         [IS_IN_rtld] (_dl_argv_internal): Do not declare.
25635         (rtld_progname): Make macro definition unconditional.
25636         * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
25637         INTDEF.
25638         (dlmopen_doit): Do not use INTUSE with _dl_argv.
25639         (dl_main): Likewise.
25640         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
25641         * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
25642         instead of _dl_argv_internal.
25643         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
25644         __GI__dl_argv instead of INTUSE(_dl_argv).
25645         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
25646         __GI__dl_argv instead of _dl_argv_internal.
25648         * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
25649         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
25650         macro.
25651         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
25652         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
25653         New macro.
25654         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
25655         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
25656         macro.
25657         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
25658         * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
25660 2014-11-04  Andreas Schwab  <schwab@suse.de>
25662         * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
25664 2014-11-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25666         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
25667         mtvsrd instruction in binary form.
25669 2014-11-03  Andreas Schwab  <schwab@suse.de>
25671         [BZ #17522]
25672         * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
25673         for less than MB_LEN_MAX use a local buffer of that size.
25674         * libio/tst-fputws.c: New file.
25675         * libio/Makefile (tests): Add tst-fputws.
25677 2014-11-01  Jose E. Marchesi  <jose.marchesi@oracle.com>
25679         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
25680         the size of the fpu_fr.fpu_dregs[] array.
25682 2014-11-01  Joseph Myers  <joseph@codesourcery.com>
25684         * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
25685         (__nanosleep): Do not define as alias.
25686         (nanosleep): Define as alias of __nanosleep.
25687         * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
25688         __libc_nanosleep name.
25690 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
25692         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
25693         install.texi in comment.
25695 2014-10-31  Torvald Riegel  <triegel@redhat.com>
25697         * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
25698         * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
25699         ... add here and use lwsync or sync ...
25700         * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
25701         ... and add here using lwsync.
25703 2014-10-31  Matthew Fortune  <matthew.fortune@imgtec.com>
25705         * elf/dl-machine-reject-phdr.h: New file.
25706         * elf/dl-load.c: #include that.
25707         (open_verify): Call elf_machine_reject_phdr_p and ignore the file
25708         if that returned true.
25710 2014-10-31  Roland McGrath  <roland@hack.frob.com>
25712         [BZ #17496]
25713         * Makerules: Move gnu/lib-names.h generation chunk up, to right after
25714         gen-as-const-headers chunk.  Add a big scare comment after the last
25715         safe place to touch before-compile.
25717 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
25719         * manual/install.texi (Tools for Compilation): Update autoconf
25720         version requirements.
25721         * INSTALL: Regenerated.
25723         * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
25724         * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
25725         (__libc_pselect): Likewise.
25727         [BZ #14138]
25728         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
25729         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
25730         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
25731         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
25733 2014-10-31  Torvald Riegel  <triegel@redhat.com>
25735         * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
25736         correct barrier instruction.
25737         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
25738         Likewise.
25739         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
25740         Likewise.
25742 2014-10-30  Roland McGrath  <roland@hack.frob.com>
25744         * include/ctype.h: Include <ctype/ctype.h> first thing rather than
25745         after defining inlines.  Instead, just use parens to defeat macro
25746         expansion of __isctype in its declaration.
25748 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
25750         * include/sys/uio.h (__libc_readv): Remove declaration.
25751         (__libc_writev): Likewise.
25752         * misc/readv.c (__libc_readv): Rename to __readv.
25753         (__readv): Do not define as alias.
25754         (readv): Define as alias of __readv.
25755         * misc/writev.c (__libc_writev): Rename to __writev.
25756         (__writev): Do not define as alias.
25757         (writev): Define as alias of __writev.
25758         * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
25759         (__readv): Do not define as alias.
25760         (readv): Define unconditionally as alias of __readv.
25761         * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
25762         (__writev): Do not define as alias.
25763         (writev): Define unconditionally as alias of __writev.
25764         * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
25765         name.
25766         (writev): Do not define __libc_writev name.
25768 2014-10-30  Roland McGrath  <roland@hack.frob.com>
25770         * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
25771         (convert_charseq): New function, broken out of ...
25772         (use_from_charmap): ... here.  Call it.
25773         (use_to_charmap): Use convert_charseq and free instead of duplicating
25774         its code with a variable-length stack struct.
25776 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
25778         * include/fcntl.h (__libc_creat): Remove declaration.
25779         * io/creat.c (__libc_creat): Rename to creat.
25780         (creat): Do not define as alias.
25781         * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
25782         of creat instead of __libc_creat.
25783         * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
25784         to creat.
25785         (creat): Do not define as alias.
25786         [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
25787         __libc_creat.
25788         * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
25789         __libc_creat name.
25790         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
25791         Likewise.
25793 2014-10-29  Carlos O'Donell  <carlos@redhat.com>
25795         * manual/llio.texi: Add comments discussing why write() may be
25796         considered MT-unsafe on Linux.
25798 2014-10-28  Carlos O'Donell  <carlos@redhat.com>
25800         * dl-load.c (local_strdup): Remove.
25801         (expand_dynamic_string_token): Use __strdup.
25802         (decompose_rpath): Likewise.
25803         (_dl_map_object): Likewise.
25805 2014-10-28  Joseph Myers  <joseph@codesourcery.com>
25807         [BZ #14132]
25808         * sysdeps/generic/unwind-dw2-fde.c
25809         (__register_frame_info_bases_internal): Do not declare.
25810         (__register_frame_info_table_bases_internal): Likewise.
25811         (__deregister_frame_info_bases_internal): Likewise.
25812         (__register_frame_info_bases): Declare and use hidden_proto before
25813         definition.  Use hidden_def instead of INTDEF.
25814         (__register_frame_info_table_bases): Likewise.
25815         (__deregister_frame_info_bases): Likewise.
25816         (__register_frame_info): Do not use INTUSE.
25817         (__register_frame): Likewise.
25818         (__register_frame_info_table): Likewise.
25819         (__register_frame_table): Likewise.
25820         (__deregister_frame_info): Likewise.
25821         (__deregister_frame): Likewise.
25823 2014-10-27  Gratian Crisan  <gratian.crisan@ni.com>
25825         * sysdeps/unix/sysv/linux/arm/kernel-features.h
25826         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
25827         not undefine.
25828         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
25829         Likewise.
25830         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
25831         Likewise.
25833 2014-10-27  Joseph Myers  <joseph@codesourcery.com>
25835         [BZ #14138]
25836         * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
25837         * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
25838         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
25839         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
25840         * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
25841         * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
25842         * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
25843         * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
25844         * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
25845         * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
25846         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
25847         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
25848         * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
25849         syscall.
25850         (setfsuid): Likewise.
25851         * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
25852         (setfsuid): Likewise.
25853         * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
25854         (setfsuid): Likewise.
25855         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
25856         Likewise.
25857         (setfsuid): Likewise.
25858         * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
25859         (setfsuid): Likewise.
25860         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
25861         Likewise.
25862         (setfsuid): Likewise.
25864 2014-10-27  Andreas Schwab  <schwab@suse.de>
25866         [BZ #17501]
25867         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
25868         check for Slow_SSE4_2 feature bit.
25869         * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
25870         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
25871         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
25872         Likewise.  Fix check for Fast_Unaligned_Load feature bit.
25874 2014-10-24  Roland McGrath  <roland@hack.frob.com>
25876         * configure.ac: Validate compiler version with a empirical test of
25877         __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
25878         $CC -v output.
25879         * configure: Regenerated.
25881         * inet/htons.c (htons): Prototypify.
25882         * inet/htonl.c (htonl): Likewise.
25884 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
25886         * string/strncat.c (strncat): Improve performance by using strlen.
25888 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
25890         * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
25892 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
25894         * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
25895         Call libc_fetestexcept_aarch64.
25897 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
25899         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
25900         Call libc_feholdexcept_aarch64.
25902 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
25904         * sysdeps/aarch64/fpu/fegetround.c (fegetround):
25905         Call get_rounding_mode.
25907 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
25909         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
25910         Simplify logic.
25912 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
25914         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
25915         Simplify logic.
25917 2014-10-24  Joseph Myers  <joseph@codesourcery.com>
25919         [BZ #14138]
25920         * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
25921         * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
25922         * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
25923         * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
25924         * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
25925         * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
25926         * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
25927         * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
25928         * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
25929         * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
25930         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
25931         * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
25932         * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
25933         * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
25934         * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
25935         * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
25936         * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
25937         * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
25938         * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
25939         * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
25940         * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
25941         * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
25942         * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
25943         * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
25944         * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
25945         * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
25946         * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
25947         * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
25948         * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
25949         * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
25950         * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
25951         * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
25952         * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
25953         * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
25954         * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
25955         * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
25956         * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
25957         * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
25958         * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
25959         * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
25960         * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
25961         syscall.
25962         (geteuid): Likewise.
25963         (getgid): Likewise.
25964         (getuid): Likewise.
25965         (getresgid): Likewise.
25966         (getresuid): Likewise.
25967         (getgroups): Likewise.
25968         * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
25969         (geteuid): Likewise.
25970         (getgid): Likewise.
25971         (getuid): Likewise.
25972         (getresgid): Likewise.
25973         (getresuid): Likewise.
25974         (getgroups): Likewise.
25975         * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
25976         (geteuid): Likewise.
25977         (getgid): Likewise.
25978         (getuid): Likewise.
25979         (getresgid): Likewise.
25980         (getresuid): Likewise.
25981         (getgroups): Likewise.
25982         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
25983         Likewise.
25984         (geteuid): Likewise.
25985         (getgid): Likewise.
25986         (getuid): Likewise.
25987         (getresgid): Likewise.
25988         (getresuid): Likewise.
25989         (getgroups): Likewise.
25990         * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
25991         (geteuid): Likewise.
25992         (getgid): Likewise.
25993         (getuid): Likewise.
25994         (getresgid): Likewise.
25995         (getresuid): Likewise.
25996         (getgroups): Likewise.
25997         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
25998         Likewise.
25999         (geteuid): Likewise.
26000         (getgid): Likewise.
26001         (getuid): Likewise.
26002         (getgroups): Likewise.
26004         [BZ #14138]
26005         * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
26006         * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
26007         * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
26008         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
26009         * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
26010         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
26011         * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
26012         * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
26013         * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
26014         * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
26015         * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
26016         * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
26017         * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
26018         __chown.
26019         * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
26020         (lchown): Likewise.
26021         (fchown): Likewise.
26022         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
26023         Likewise.
26024         (lchown): Likewise.
26025         (fchown): Likewise.
26026         * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
26027         (lchown): Likewise.
26028         (fchown): Likewise.
26029         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
26030         Likewise.
26031         (lchown): Likewise.
26032         (fchown): Likewise.
26034 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
26036         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
26037         Simplify logic.
26039 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
26041         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
26042         Cleanup logic.
26044 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
26046         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
26047         Remove unused include.
26049 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
26051         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
26052         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
26053         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
26054         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
26056 2014-10-23  Carlos O'Donell  <carlos@systemhalted.org>
26057             Helge Deller <deller@gmx.de>
26059         [BZ #17508]
26060         * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
26061         Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
26062         Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
26064 2014-10-23  Joseph Myers  <joseph@codesourcery.com>
26066         [BZ #14132]
26067         * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
26068         Remove macro definition.
26069         (__ashrdi3_v_glibc20): Likewise.
26070         (__lshrdi3_v_glibc20): Likewise.
26071         (__cmpdi2_v_glibc20): Likewise.
26072         (__ucmpdi2_v_glibc20): Likewise.
26073         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
26074         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
26075         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
26076         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
26077         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
26078         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
26080 2014-10-22  Roland McGrath  <roland@hack.frob.com>
26082         * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
26083         old GNU extension [0] syntax.
26084         * nscd/nscd_helper.c (open_socket): Use a flexible array member and
26085         alloca rather than an array member with variable length.
26086         * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
26087         * nscd/nscd.c (invalidate_db): New function, broken out of ...
26088         (parse_opt): ... here.  Likewise use alloca there.
26089         Validate the -i argument before checking for rootness.
26090         (send_shutdown): New function, broken out of ...
26091         (parse_opt): ... here.
26093 2014-10-22  Roland McGrath  <roland@hack.frob.com>
26095         * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
26096         macro to get at the _rt_local_ro field.
26097         [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
26098         ([PIC] case) or _dl_hwcap ([!PIC] case).
26099         * sysdeps/arm/setjmp.S: Likewise.
26101         * config.h.in (ARM_PCREL_MOVW_OK): New macro.
26102         * sysdeps/arm/configure.ac: New check to define it.
26103         * sysdeps/arm/configure: Regenerated.
26104         * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
26105         (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
26106         (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
26107         depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
26108         (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
26109         Use move/movt pair instead of a load.
26110         (LDST_GLOBAL): Macro removed.
26111         (LDR_GLOBAL): New macro replaces it.
26112         (LDR_HIDDEN): New macro.
26113         (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
26114         Use LDR_HIDDEN instead for __pointer_chk_guard_local.
26116         * setjmp/tst-setjmp-static.c: New file.
26117         * setjmp/Makefile (tests): Add it.
26118         (tests-static): New variable.
26120 2014-10-22  Maciej W. Rozycki  <macro@codesourcery.com>
26122         [BZ #17485]
26123         * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
26125 2014-10-21  Joseph Myers  <joseph@codesourcery.com>
26127         [BZ #14132]
26128         * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
26130 2014-10-21  Roland McGrath  <roland@hack.frob.com>
26132         * nptl/version.c (__nptl_main): Call __libc_write, not __write.
26134 2014-10-20  Roland McGrath  <roland@hack.frob.com>
26136         * io/fts.c (dirent_not_directory): New function.
26137         (fts_build): Call it.
26139 2014-10-20  Roland McGrath  <roland@hack.frob.com>
26141         * nptl/version.c (__nptl_main): Use normal __write rather than
26142         INTERNAL_SYSCALL.
26143         (banner): Update copyright years.
26145         * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
26146         gettimeofday.
26147         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
26148         * nptl/pthread_cond_timedwait.c: Likewise.
26149         * nptl/pthread_mutex_timedlock.c: Likewise.
26150         * nptl/sem_timedwait.c: Likewise.
26152         * sysdeps/nptl/bits/libc-lock.h
26153         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
26154         (__libc_lock_init_recursive): Return void, not 0.
26155         * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
26156         (__libc_rwlock_init): Likewise.
26157         * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
26159 2014-10-20  Torvald Riegel  <triegel@redhat.com>
26161         [BZ #15215]
26162         * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
26163         (__pthread_once_slow): ... here.
26164         * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
26165         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
26167 2014-10-20  Torvald Riegel  <triegel@redhat.com>
26169         [BZ #15215]
26170         * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
26171         __PTHREAD_ONCE_FORK_GEN_INCR): New.
26172         * sysdeps/nptl/fork.c (__libc_fork): Use them.
26173         * nptl/pthread_once.c (__pthread_once): Likewise.
26174         Update comments.
26176 2014-10-20  Joseph Myers  <joseph@codesourcery.com>
26178         [BZ #14138]
26179         * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
26180         name.
26181         (writev): Use __libc_writev as strong name.
26182         * sysdeps/unix/sysv/linux/readv.c: Remove file.
26183         * sysdeps/unix/sysv/linux/writev.c: Likewise.
26185 2014-10-17  Roland McGrath  <roland@hack.frob.com>
26187         * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
26189         * sysdeps/i386/nptl/tls.h
26190         (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
26191         [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
26192         New macros.
26193         * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
26194         (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
26195         * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
26196         Call SETUP_THREAD_SYSINFO instead of doing an assignment.
26197         * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
26198         Call CHECK_THREAD_SYSINFO instead of doing an assert.
26200         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
26201         Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
26202         on [__NR_futex].
26203         * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
26204         broken out of ...
26205         (__pthread_mutex_init): ... here.  Call it.
26206         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
26207         Conditionalize PI cases on [__NR_futex].
26208         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
26209         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
26210         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
26212         * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
26213         conditional on [SIGSETXID].
26214         (sigcancel_handler): Make definition conditional on [SIGCANCEL].
26215         (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
26216         is defined.  Likewise for SIGSETXID.
26217         * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
26218         Conditionalize definitions on [SIGSETXID].
26219         (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
26220         * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
26221         unblocking on [SIGCANCEL].
26223         * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
26224         [__NR_set_robust_list].
26226 2014-10-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
26228         * string/strcoll_l.c (get_next_seq): Fix up formatting.
26229         (do_compare): Likewise.
26231 2014-10-17  Leonhard Holz  <leonhard.holz@web.de>
26233         [BZ #15884]
26234         * string/strcoll_l.c: Don't include stdio.h.
26235         (coll_seq): Remove members idxarr and rulearr.
26236         (get_next_seq_cached): Remove function.
26237         (get_next_seq): Likewise.
26238         (get_next_seq_nocache): Rename to get_next_seq.
26239         (do_compare): Remove function.
26240         (do_compare_nocache): Rename to do_compare.
26241         (STRCOLL): Remove weight and rules cache.
26243 2014-10-16  Roland McGrath  <roland@hack.frob.com>
26245         * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
26246         * sysdeps/arm/sfp-machine.h: ... to here.
26247         * sysdeps/arm/Implies: Remove arm/soft-fp.
26249 2014-10-14  Joseph Myers  <joseph@codesourcery.com>
26251         * conform/data/sys/utsname.h-data (*_t): Allow.
26252         * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
26253         [POSIX] (WEXITED): Do not expect constant.
26254         [POSIX] (WSTOPPED): Likewise.
26255         [POSIX] (WNOHANG): Likewise.
26256         [POSIX] (WNOWAIT): Likewise.
26257         [POSIX] (siginfo_t): Do not expect type or elements.
26258         [POSIX] (pid_t): Do not expect type.
26259         [POSIX] (signal.h): Do not allow header.
26260         [POSIX] (sys/resource.h): Likewise.
26261         [POSIX] (si_*): Do not allow pattern.
26262         [POSIX] (W*): Likewise.
26263         [POSIX] (P_*): Likewise.
26264         [POSIX] (BUS_*): Likewise.
26265         [POSIX] (CLD_*): Likewise.
26266         [POSIX] (FPE_*): Likewise.
26267         [POSIX] (ILL_*): Likewise.
26268         [POSIX] (POLL_*): Likewise.
26269         [POSIX] (SEGV_*): Likewise.
26270         [POSIX] (SI_*): Likewise.
26271         [POSIX] (TRAP_*): Likewise.
26272         * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
26273         variable.
26275 2014-10-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
26277         [BZ #12926]
26278         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
26279         infinite loop when __recvmsg returns 0.
26281 2014-10-10  Joseph Myers  <joseph@codesourcery.com>
26283         * CANCEL-FCT-WAIVE: Remove file.
26284         * CANCEL-FILE-WAIVE: Likewise.
26286         [BZ #14132]
26287         * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
26288         instead of INTVARDEF.
26289         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
26290         * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
26291         rtld_hidden_data_def instead of INTVARDEF.
26292         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
26293         * elf/dl-deps.c (expand_dst): Likewise.
26294         * elf/dl-load.c (_dl_dst_count): Likewise.
26295         (_dl_dst_substitute): Likewise.
26296         (decompose_rpath): Likewise.
26297         (_dl_init_paths): Likewise.
26298         (open_path): Likewise.
26299         (_dl_map_object): Likewise.
26300         * elf/rtld.c (dl_main): Likewise.
26301         (process_dl_audit): Likewise.
26302         (process_envvars): Likewise.
26303         * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
26304         Remove declaration.
26305         (__libc_enable_secure): Use rtld_hidden_proto.
26307 2014-10-09  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
26309         * elf/dl-load.c
26310         (add_path): New function broken out of _dl_rtld_di_serinfo.
26311         (_dl_rtld_di_serinfo): Remove that nested function.  Update call sites.
26313 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
26315         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
26316         parentheses around macro arguments.
26317         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
26318         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
26319         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
26320         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
26321         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
26322         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
26323         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
26324         [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
26325         [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
26326         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
26327         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
26328         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
26329         [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
26330         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
26331         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
26332         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
26333         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
26334         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
26335         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
26336         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
26337         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
26338         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
26339         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
26340         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
26341         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
26342         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
26343         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
26344         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
26345         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
26346         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
26347         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
26348         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
26349         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
26350         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
26351         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
26352         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
26353         Likewise.
26354         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
26355         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
26356         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
26357         [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
26358         [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
26359         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
26360         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
26361         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
26362         [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
26363         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
26364         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
26365         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
26366         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
26367         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
26368         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
26369         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
26370         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
26371         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
26372         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
26373         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
26374         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
26375         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
26376         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
26377         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
26378         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
26379         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
26380         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
26381         * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
26382         (_FP_FRAC_SRS_1): Likewise.
26383         (_FP_FRAC_CLZ_1): Likewise.
26384         (_FP_MUL_MEAT_1_imm): Likewise.
26385         (_FP_MUL_MEAT_1_wide): Likewise.
26386         (_FP_MUL_MEAT_1_hard): Likewise.
26387         (_FP_SQRT_MEAT_1): Likewise.
26388         (_FP_FRAC_ASSEMBLE_1): Likewise.
26389         (_FP_FRAC_DISASSEMBLE_1): Likewise.
26390         * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
26391         (__FP_CLZ_2): Likewise.
26392         (_FP_MUL_MEAT_2_wide): Likewise.
26393         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
26394         (_FP_MUL_MEAT_2_gmp): Likewise.
26395         (_FP_MUL_MEAT_2_120_240_double): Likewise.
26396         (_FP_SQRT_MEAT_2): Likewise.
26397         (_FP_FRAC_ASSEMBLE_2): Likewise.
26398         (_FP_FRAC_DISASSEMBLE_2): Likewise.
26399         * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
26400         (_FP_FRAC_CLZ_4): Likewise.
26401         (_FP_MUL_MEAT_4_wide): Likewise.
26402         (_FP_MUL_MEAT_4_gmp): Likewise.
26403         (_FP_SQRT_MEAT_4): Likewise.
26404         (_FP_FRAC_ASSEMBLE_4): Likewise.
26405         (_FP_FRAC_DISASSEMBLE_4): Likewise.
26406         * soft-fp/op-common.h (_FP_CMP): Likewise.
26407         (_FP_CMP_EQ): Likewise.
26408         (_FP_CMP_UNORD): Likewise.
26409         (_FP_TO_INT): Likewise.
26410         (_FP_FROM_INT): Likewise.
26411         [!__FP_CLZ] (__FP_CLZ): Likewise.
26412         (_FP_DIV_HELP_imm): Likewise.
26413         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
26414         Likewise.
26415         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
26416         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
26417         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
26418         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
26419         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
26420         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
26421         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
26422         [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
26423         [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
26424         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
26425         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
26426         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
26427         [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
26428         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
26429         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
26430         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
26431         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
26432         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
26433         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
26434         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
26435         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
26436         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
26437         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
26438         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
26439         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
26440         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
26441         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
26442         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
26443         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
26444         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
26445         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
26446         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
26447         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
26448         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
26449         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
26450         * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
26451         (FP_UNPACK_RAW_SP): Likewise.
26452         (FP_PACK_RAW_S): Likewise.
26453         (FP_PACK_RAW_SP): Likewise.
26454         (FP_UNPACK_S): Likewise.
26455         (FP_UNPACK_SP): Likewise.
26456         (FP_UNPACK_SEMIRAW_S): Likewise.
26457         (FP_UNPACK_SEMIRAW_SP): Likewise.
26458         (FP_PACK_S): Likewise.
26459         (FP_PACK_SP): Likewise.
26460         (FP_PACK_SEMIRAW_S): Likewise.
26461         (FP_PACK_SEMIRAW_SP): Likewise.
26462         (_FP_SQRT_MEAT_S): Likewise.
26463         (FP_CMP_S): Likewise.
26464         (FP_CMP_EQ_S): Likewise.
26465         (FP_CMP_UNORD_S): Likewise.
26466         (FP_TO_INT_S): Likewise.
26467         (FP_FROM_INT_S): Likewise.
26469         * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
26471         * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
26472         (FP_EX_INVALID_IMZ): Likewise.
26473         (FP_EX_INVALID_IMZ_FMA): Likewise.
26474         (FP_EX_INVALID_ISI): Likewise.
26475         (FP_EX_INVALID_ZDZ): Likewise.
26476         (FP_EX_INVALID_IDI): Likewise.
26477         (FP_EX_INVALID_SQRT): Likewise.
26478         (FP_EX_INVALID_CVI): Likewise.
26479         (FP_EX_INVALID_VC): Likewise.
26480         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
26481         "invalid" exceptions.
26482         (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
26483         (_FP_ADD_INTERNAL): Likewise.
26484         (_FP_MUL): Likewise.
26485         (_FP_FMA): Likewise.
26486         (_FP_DIV): Likewise.
26487         (_FP_CMP_CHECK_NAN): Likewise.
26488         (_FP_SQRT): Likewise.
26489         (_FP_TO_INT): Likewise.
26490         (FP_EXTEND): Likewise.
26492 2014-10-09  Allan McRae  <allan@archlinux.org>
26494         * po/fr.po: Update French translation from translation project.
26496 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
26498         [BZ #14132]
26499         * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
26500         of INTDEF.
26501         * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
26502         (__cxa_atexit): Use libc_hidden_proto.
26503         [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
26505         [BZ #14132]
26506         * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
26507         declaration.
26508         [!_ISOMAC] (__iswdigit_l_internal): Likewise.
26509         [!_ISOMAC] (__iswspace_l_internal): Likewise.
26510         [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
26511         [!_ISOMAC] (__iswctype_internal): Likewise.
26512         * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
26513         * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
26514         alias.
26515         (fcntl): Remove __fcntl_internal alias.
26516         * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
26517         __connect_internal alias.
26518         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
26519         Likewise.
26521         * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
26522         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
26523         FP_DENORM_ZERO.
26524         (_FP_CHECK_FLUSH_ZERO): New macro.
26525         (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
26526         (_FP_CMP): Likewise.
26527         (_FP_CMP_EQ): Likewise.
26528         (_FP_TO_INT): Do not set inexact for subnormal arguments if
26529         FP_DENORM_ZERO.
26530         (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
26531         (FP_TRUNC): Likewise.
26533         * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
26534         treated as invalid conversion, not as normal exponent.
26536         * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
26537         (_FP_CMP): Add extra argument EX.  Call _FP_CMP_CHECK_NAN.
26538         (_FP_CMP_EQ): Likewise.
26539         (_FP_CMP_UNORD): Likewise.
26540         * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
26541         (FP_CMP_EQ_D): Likewise.
26542         (FP_CMP_UNORD_D): Likewise.
26543         * soft-fp/extended.h (FP_CMP_E): Likewise.
26544         (FP_CMP_EQ_E): Likewise.
26545         (FP_CMP_UNORD_E): Likewise.
26546         * soft-fp/quad.h (FP_CMP_Q): Likewise.
26547         (FP_CMP_EQ_Q): Likewise.
26548         (FP_CMP_UNORD_Q): Likewise.
26549         * soft-fp/single.h (FP_CMP_S): Likewise.
26550         (FP_CMP_EQ_S): Likewise.
26551         (FP_CMP_UNORD_S): Likewise.
26552         * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
26553         * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
26554         * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
26555         * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
26556         * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
26557         * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
26558         * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
26559         * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
26560         * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
26561         * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
26562         * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
26563         * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
26564         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
26565         to FP_CMP_Q.
26566         * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
26567         FP_CMP_Q.
26568         * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
26569         * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
26570         FP_CMP_EQ_Q.
26571         * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
26572         FP_CMP_Q.
26573         * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
26574         * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
26575         * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
26576         * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
26577         FP_CMP_EQ_Q.
26578         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
26579         FP_CMP_Q.
26580         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
26581         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
26582         FP_CMP_EQ_Q.
26583         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
26584         FP_CMP_Q.
26585         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
26586         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
26587         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
26588         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
26589         FP_CMP_EQ_Q.
26591         * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
26592         a subnormal result, set the underflow exception if trapping on
26593         underflow is enabled.
26594         * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
26595         (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
26596         [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
26597         redefine to 0.
26598         * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
26599         * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
26600         * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
26601         * soft-fp/extendxftf2.c (__extendxftf2): Use
26602         FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
26604         * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
26605         * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
26606         (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
26607         FP_HANDLE_EXCEPTIONS.
26608         * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
26609         (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
26610         FP_HANDLE_EXCEPTIONS.
26611         * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
26612         (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
26613         FP_HANDLE_EXCEPTIONS.
26614         * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
26615         (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
26616         FP_HANDLE_EXCEPTIONS.
26618 2014-10-08  Joseph Myers  <joseph@codesourcery.com>
26620         [BZ #14132]
26621         * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
26622         * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
26623         use INTUSE.
26624         [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
26625         * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
26626         Remove alias.
26627         (__adjtimex): Define using libc_hidden_ver.
26628         * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
26629         Remove declaration.
26630         (ntp_gettime): Call __adjtimex directly.
26631         * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
26632         Remove declaration.
26633         (ntp_gettimex): Call __adjtimex directly.
26634         * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
26635         __adjtimex_internal alias.
26637 2014-10-08  Roland McGrath  <roland@hack.frob.com>
26639         [BZ #17460]
26640         * nscd/nscd.c (more_help): Rewrite list of tables collection
26641         using xstrdup and asprintf.
26643         * nscd/nscd_conf.c: Remove local xstrdup declaration.
26645 2014-10-08  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
26646             Roland McGrath  <roland@hack.frob.com>
26648         * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
26649         (do_lookup_unique): ... local function 'enter' here; update callers.
26651 2014-10-06  Joseph Myers  <joseph@codesourcery.com>
26653         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
26654         compat_symbol calls on [SHARED].
26655         * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
26656         * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
26657         Remove.
26658         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
26659         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
26660         (oldsetrlimit): Remove.
26661         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
26662         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
26663         (lchown): New syscall entry.
26664         (oldsetrlimit): Remove.
26665         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
26666         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
26667         (oldsetrlimit): Remove.
26668         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
26670         [BZ #14138]
26671         * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
26672         * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
26673         * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
26674         * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
26675         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
26676         * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
26677         (fchown): Likewise.
26678         * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
26679         (fchown): Likewise.
26680         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
26681         Likewise.
26683 2014-10-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26685         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
26686         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
26687         (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
26688         __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
26689         * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
26690         Likewise.
26691         (__old_sem_post): Likewise.
26693 2014-10-06  Chris Metcalf  <cmetcalf@tilera.com>
26695         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
26696         INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
26697         HAVE_CLOCK_GETTIME_VSYSCALL macros.
26698         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
26699         Use INLINE_VSYSCALL macro.
26700         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
26701         __vdso_clock_gettime.
26702         * sysdeps/unix/sysv/linux/tile/init-first.c
26703         (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
26704         * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
26705         __vdso_clock_gettime.
26707         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
26708         to set up frame more cleanly.
26710         * sysdeps/tile/memcmp.c: New file.
26712         * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
26714         * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
26715         * sysdeps/tile/tilegx/strcasestr.c: New file.
26716         * sysdeps/tile/tilegx/strnlen.c: New file.
26717         * sysdeps/tile/tilegx/strstr.c: New file.
26719         * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
26721 2014-10-06  Arjun Shankar  <arjun.is@lostca.se>
26723         * nptl/tst-setuid3.c: Write errors to stdout.
26725 2014-10-01  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
26727         * elf/dl-deps.c
26728         (preload): New functions broken out of _dl_map_object_deps.
26729         (_dl_map_object_deps):  Remove a nested function. Update call sites.
26731 2014-10-01  Joseph Myers  <joseph@codesourcery.com>
26733         [BZ #14138]
26734         * sysdeps/unix/sysv/linux/execve.c: Remove file.
26735         * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
26737 2014-10-01  Steve Ellcey  <sellcey@mips.com>
26739         * sysdeps/mips/strcmp.S: New.
26741 2014-09-30  Joseph Myers  <joseph@codesourcery.com>
26743         [BZ #14138]
26744         * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
26745         (linkat): Likewise.
26746         (mkdirat): Likewise.
26747         (readlinkat): Likewise.
26748         (renameat): Likewise.
26749         (symlinkat): Likewise.
26750         (unlinkat): Likewise.
26751         * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
26752         * sysdeps/unix/sysv/linux/linkat.c: Likewise.
26753         * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
26754         * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
26755         * sysdeps/unix/sysv/linux/renameat.c: Likewise.
26756         * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
26757         * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
26759 2014-09-30  Will Newton  <will.newton@linaro.org>
26761         * math/math.h: Define long double math functions if
26762         _LIBC_TEST is defined.
26763         * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
26765         * localedata/Makefile: Move assignment to tests-special
26766         into an ifdef testing run-built-tests.
26767         * timezone/Makefile: Likewise.
26769 2014-09-29  Joseph Myers  <joseph@codesourcery.com>
26771         * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
26772         with $(BASH) not $(SHELL).
26774 2014-09-29  Carlos O'Donell  <carlos@redhat.com>
26775             Matthew LeGendre  <legendre1@llnl.gov>
26777         [BZ #17411]
26778         * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
26779         l_reloc_result.
26781 2014-09-29  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
26783         * stdio-common/printf_fp.c
26784         (hack_digit): New function, broken out of ...
26785         (__printf_fp): ... local function here.  Update call sites.
26786         hack_digit now takes an additional parameter that is a pointer
26787         to a struct of the referenced locals.  Those locals moved inside
26788         the struct and references updated.
26790 2014-09-29  H.J. Lu  <hongjiu.lu@intel.com>
26792         * aclocal.m4: Require autoconf 2.69.
26793         * configure: Regenerated.
26794         * sysdeps/aarch64/configure: Likewise.
26795         * sysdeps/alpha/configure: Likewise.
26796         * sysdeps/arm/armv7/configure: Likewise.
26797         * sysdeps/arm/configure: Likewise.
26798         * sysdeps/ia64/configure: Likewise.
26799         * sysdeps/mach/configure: Likewise.
26800         * sysdeps/mips/configure: Likewise.
26801         * sysdeps/s390/configure: Likewise.
26802         * sysdeps/unix/sysv/linux/mips/configure: Likewise.
26803         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
26805         * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
26806         file.
26807         * sysdeps/ia64/configure.ac: Likewise.
26809 2014-09-26  Joseph Myers  <joseph@codesourcery.com>
26811         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
26812         specify symbol version for ld.so.  Do not include entry for
26813         libpthread.
26814         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
26815         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
26816         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
26818         [BZ #14171]
26819         * Makeconfig [$(build-shared) = yes]
26820         ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
26821         makefiles.
26822         [$(build-shared) = yes && $(soversions.mk-done) = t]
26823         ($(common-objpfx)gnu/lib-names.h): Remove rule.
26824         [$(build-shared) = yes && $(soversions.mk-done) = t]
26825         ($(common-objpfx)gnu/lib-names.stmp): Likewise.  Split and moved
26826         to Makerules.
26827         [$(build-shared) = yes && $(soversions.mk-done) = t]
26828         (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
26829         here.
26830         [$(build-shared) = yes && $(soversions.mk-done) = t]
26831         (common-generated): Don't append gnu/lib-names.h and
26832         gnu/lib-names.stmp here.
26833         * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
26834         (lib-names-h-abi): New variable.
26835         [$(build-shared) = yes && $(soversions.mk-done) = t]
26836         (lib-names-stmp-abi): Likewise.
26837         [$(build-shared) = yes && $(soversions.mk-done) = t &&
26838         abi-variants] (before-compile): Append
26839         $(common-objpfx)$(lib-names-h-abi).
26840         [$(build-shared) = yes && $(soversions.mk-done) = t &&
26841         abi-variants] (common-generated): Append gnu/lib-names.h.
26842         [$(build-shared) = yes && $(soversions.mk-done) = t &&
26843         abi-variants] (install-others-nosubdir): Depend on
26844         $(inst_includedir)/$(lib-names-h-abi).
26845         [$(build-shared) = yes && $(soversions.mk-done) = t &&
26846         abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
26847         [$(build-shared) = yes && $(soversions.mk-done) = t]
26848         ($(common-objpfx)$(lib-names-h-abi)): New rule.
26849         [$(build-shared) = yes && $(soversions.mk-done) = t]
26850         ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
26851         [$(build-shared) = yes && $(soversions.mk-done) = t]
26852         (common-generated): Append $(lib-names-h-abi) and
26853         $(lib-names-stmp-abi).
26854         * scripts/lib-names.awk: Do not handle multi being set.
26855         * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
26856         Remove variable.
26857         (abi-lp64_be-ld-soname): Likewise.
26858         * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
26859         Likewise.
26860         (abi-hard-ld-soname): Likewise.
26861         * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
26862         * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
26863         Remove variable.
26864         (abi-o32_hard-ld-soname): Likewise.
26865         (abi-o32_soft_2008-ld-soname): Likewise.
26866         (abi-o32_hard_2008-ld-soname): Likewise.
26867         (abi-n32_soft-ld-soname): Likewise.
26868         (abi-n32_hard-ld-soname): Likewise.
26869         (abi-n32_soft_2008-ld-soname): Likewise.
26870         (abi-n32_hard_2008-ld-soname): Likewise.
26871         (abi-n64_soft-ld-soname): Likewise.
26872         (abi-n64_hard-ld-soname): Likewise.
26873         (abi-n64_soft_2008-ld-soname): Likewise.
26874         (abi-n64_hard_2008-ld-soname): Likewise.
26875         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
26876         Likewise.
26877         (abi-64-v2-ld-soname): Likewise.
26878         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
26879         ld.so entries.
26880         * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
26881         variable.
26882         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
26883         entry.
26884         * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
26885         variable.
26886         (abi-64-ld-soname): Likewise.
26887         (abi-x32-ld-soname): Likewise.
26888         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
26889         entry.
26890         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
26892 2014-09-23  Joseph Myers  <joseph@codesourcery.com>
26894         [BZ #14138]
26895         * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
26896         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
26897         * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
26898         * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
26899         * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
26900         * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
26901         * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
26902         syscall entry for GLIBC_2.2 symbol version.
26903         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
26904         Likewise.
26905         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
26906         (setrlimit): Likewise.
26907         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
26908         Likewise.
26910 2014-09-23  Will Newton  <will.newton@linaro.org>
26912         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
26913         _LINUX_ARM_SYSDEP_H include guard too.
26914         * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
26915         define.
26917 2014-09-20  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
26919         * sysdeps/unix/sysv/linux/eventfd.c:
26920         Make first argument unsigned.
26921         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
26922         * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
26924 2014-09-20  Ondřej Bílka  <neleai@seznam.cz>
26926         [BZ #16852]
26927         * socket/recvmmsg.c (recvmmsg): Drop const argument.
26928         * socket/sys/socket.h: Likewise.
26929         * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
26931 2014-09-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
26933         * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
26935 2014-09-17  Arjun Shankar  <arjun.is@lostca.se>
26937         * time/tst-ftime.c: New test.
26938         * time/Makefile (tests): Add tst-ftime.
26940 2014-09-17  Joseph Myers  <joseph@codesourcery.com>
26942         * soft-fp/extended.h: Fix comment formatting.
26943         * soft-fp/op-1.h: Likewise.
26944         * soft-fp/op-2.h: Likewise.
26945         * soft-fp/op-4.h: Likewise.
26946         * soft-fp/op-8.h: Likewise.
26947         * soft-fp/op-common.h: Likewise.
26948         * soft-fp/soft-fp.h: Likewise.
26950         * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
26952 2014-09-16  Joseph Myers  <joseph@codesourcery.com>
26954         [BZ #6652]
26955         * Makeconfig (soversions-default-setname): Remove variable.
26956         ($(common-objpfx)soversions.i): Don't pass default_setname to
26957         soversions.awk.
26958         * Makerules ($(common-objpfx)abi-versions.h): Don't pass
26959         oldest_abi to abi-versions.awk.
26960         * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
26961         * config.make.in (oldest-abi): Remove variable.
26962         * configure.ac (--enable-oldest-abi): Remove configure option.
26963         * configure: Regenerated.
26964         * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
26965         text.
26966         * scripts/abi-versions.awk: Do not handle oldest_abi variable.
26967         * scripts/soversions.awk: Do not handle default_setname variable.
26968         * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
26969         variable.
26970         * sysdeps/mach/hurd/configure: Regenerated.
26971         * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
26972         variable.
26973         * sysdeps/unix/sysv/linux/configure: Regenerated.
26975 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
26977         * elf/Makefile (CFLAGS-interp.c): Remove.
26978         ($(elf-objpfx)runtime-linker.h): Generate header with linker
26979         path string.
26980         * elf/interp.c: Include generated runtime-linker.h
26982         * Makerules (lib%.so): Don't include $(+interp) in
26983         prerequisites.
26984         * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
26985         * dlfcn/eval.c: Remove file.
26987         * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
26988         macros.
26990         [BZ #17266]
26991         * misc/sys/cdefs.h: Define __extern_always_inline for clang
26992         4.2 and newer.
26994         [BZ #17370]
26995         * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
26997 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
26998             Jakub Jelinek  <jakub@redhat.com>
27000         [BZ #17266]
27001         * libio/stdio.h: Check definition of __fortify_function
27002         instead of __extern_always_inline to include bits/stdio2.h.
27003         * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
27004         check if __extern_always_inline is defined.
27005         [__USE_MISC || __USE_XOPEN]: Likewise.
27006         [__USE_ISOC99] Likewise.
27007         * misc/sys/cdefs.h (__fortify_function): Define only if
27008         __extern_always_inline is defined.
27009         [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
27010         __extern_always_inline and __extern_inline only for g++-4.3
27011         and newer or a compatible gcc.
27013 2014-09-15  Andreas Schwab  <schwab@linux-m68k.org>
27015         [BZ #17371]
27016         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
27017         last change to handle zero prefix length.
27019 2014-09-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
27021         * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
27022         _SC_REGEX_VERSION.
27024         * posix/getconf.c (vars): Add _POSIX_IPV6 and
27025         _POSIX_RAW_SOCKETS.
27027 2014-09-13  Allan McRae  <allan@archlinux.org>
27029         * po/ru.po: Update Russian translation from translation project.
27031 2014-09-12  Roland McGrath  <roland@hack.frob.com>
27033         * locale/programs/locale.c (show_locale_vars): Inline local function
27034         into its sole call site.  Clean up some style nits.
27035         (print_item): New function, broken out of ...
27036         (show_info): ... local function here.  Clean up style nits.
27038         * locale/programs/ld-ctype.c (set_one_default): New function, broken
27039         out of ...
27040         (set_class_defaults): ... local function set_default here.
27041         Define set_default as a macro locally to pass constant parameters.
27042         (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
27043         rather than a shared local.
27045         * stdlib/rpmatch.c (try): New function, broken out of ...
27046         (rpmatch): ... local function here.  Also, prototypify definition.
27048 2014-09-12  Joseph Myers  <joseph@codesourcery.com>
27050         * scripts/soversions.awk: Do not handle configuration names.
27051         * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
27052         vendor and os variables to soversions.awk.
27053         * configure.ac: Do not modify gnu-* host_os.
27054         * configure: Regenerated
27055         * shlib-versions: Remove first column with configuration names.
27056         * nptl/shlib-versions: Likewise.
27057         * nptl_db/shlib-versions: Likewise.
27058         * sysdeps/hppa/shlib-versions: Likewise.
27059         * sysdeps/m68k/shlib-versions: Likewise.
27060         * sysdeps/mach/hurd/shlib-versions: Likewise.
27061         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
27062         * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
27063         * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
27064         * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
27065         * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
27066         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
27067         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
27068         * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
27069         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
27070         Likewise.
27071         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
27072         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
27073         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
27074         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
27075         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
27076         * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
27077         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
27078         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
27080         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
27081         (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
27082         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
27083         Regenerated.
27084         * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
27085         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
27086         Condition symbol version definitions on [HAVE_ELFV2_ABI].
27088         * shlib-versions: Remove OS-specific entries.  Moved to files in
27089         sysdeps.
27090         * sysdeps/mach/hurd/shlib-versions: New file.
27091         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
27093         * nptl/shlib-versions: Remove architecture-specific entries.
27094         Moved to files in sysdeps.
27095         * shlib-versions: Likewise.
27096         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
27097         file.
27098         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
27099         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
27100         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
27101         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
27103         * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
27104         (UDP_NO_CHECK6_RX): Likewise.
27106 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
27108         * sysdeps/posix/sysconf.c (__sysconf): Spell
27109         _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
27111 2014-08-12  Florian Weimer  <fweimer@redhat.com>
27113         * iconv/gconv_open.c (__gconv_open): Remove transliteration module
27114         loading.
27115         * iconv/Versions (__gconv_transliterate): Export for use from
27116         gconv modules.
27117         * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
27118         (struct __gconv_trans_data, __gconv_trans_fct,
27119         __gconv_trans_context_fct, __gconv_trans_query_fct,
27120         __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
27121         definitions.
27122         (struct __gconv_step_data): Remove __trans member.
27123         (__gconv_transliterate): Declaration moved from gconv_int.h.  No
27124         longer hidden.  Remove unused trans_data argument.
27125         * iconv/gconv_int.h (struct trans_struct): Remove definition.
27126         (__gconv_translit_find): Remove declaration.
27127         (__gconv_transliterate): Declaration moved to gconv.h.  Add hidden
27128         prototype.
27129         * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
27130         * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
27131         trans_data argument.  Add hidden definition.
27132         (__gconv_translit_find): Remove.
27133         * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
27134         __gconv_transliterate directly if __GCONV_TRANSLIT is set.
27135         * iconv/skeleton.c: Remove transliteration initialization.
27136         * libio/fileops.c (_IO_new_file_fopen): Adjust struct
27137         __gconv_step_data initialization.
27138         * libio/iofwide.c (__libio_translit_): Remove.
27139         (_IO_fwide): Adjust struct __gconv_step_data initialization.
27140         * wcsmbs/btowc.c (__btowc): Likewise.
27141         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
27142         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
27143         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
27144         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
27145         * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
27146         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
27147         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
27148         * wcsmbs/wctob.c (wctob): Likewise.
27150 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
27152         [BZ #16194]
27153         * sysdeps/x86/tst-xmmymm.sh: Rename file to...
27154         * sysdeps/x86/tst-ld-sse-use.sh: ... this.  Check for zmm
27155         register usage.
27156         * sysdeps/x86/Makefile: Adjust.
27158 2014-09-11  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
27159             Roland McGrath  <roland@hack.frob.com>
27161         * locale/weight.h: Add include guard.
27162         (findidx): Make static rather than auto; take new parameters
27163         TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
27164         * locale/weightwc.h: Likewise.
27165         * posix/fnmatch_loop.c
27166         (FCT): Change type of EXTRA from int32_t to wint_t.
27167         Don't include either header inside the function.
27168         Call FINDIDX rather than findidx, and pass new arguments.
27169         #undef FINDIDX at the end of the file.
27170         * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
27171         FINDIDX before including fnmatch_loop.c for the non-wide version.
27172         [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
27173         #include <locale/weightwc.h>, and define FINDIDX to findidxwc
27174         for the wide version.
27175         * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
27176         (build_equiv_class) [_LIBC]: Don't #include it inside the function.
27177         Pass new arguments to findidx.
27178         * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
27179         [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
27180         Don't #include it inside the function.  Pass new arguments to findidx.
27181         * posix/regex_internal.h
27182         [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
27183         (re_string_elem_size_at): Don't #include it inside the function.
27184         Pass new arguments to findidx.
27185         * string/strcoll_l.c: #include WEIGHT_H at top level.
27186         (get_next_seq): Don't #include it inside the function.
27187         Pass new arguments to findidx.
27188         (get_next_seq_nocache): Likewise.
27189         * string/strxfrm_l.c: #include WEIGHT_H at top level.
27190         (STRXFRM): Don't #include it inside the function.
27191         Pass new arguments to findidx.
27193 2014-09-11  Florian Weimer  <fweimer@redhat.com>
27195         [BZ #17344]
27196         * malloc/malloc.c (unlink): Turn asserts into a call to
27197         malloc_printerr.
27199 2014-09-11  Tim Lammens  <tim.lammens@gmail.com>
27201         [BZ #17370]
27202         * libio/wfileops (do_ftell_wide): Free OUT.
27204 2014-09-10  Chris Metcalf  <cmetcalf@tilera.com>
27206         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
27208 2014-09-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
27210         [BZ #17363]
27211         * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
27212         group if the current group is empty.
27214 2014-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27216         * benchtests/bench-memset.c (test_main): Add more test from size
27217         from 32 to 512 bytes.
27218         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
27219         Add POWER8 memset object.
27220         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
27221         (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
27222         * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
27223         implementation.
27224         * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
27225         Likewise.
27226         * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
27227         multiarch POWER8 memset optimization.
27228         * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
27229         POWER8 memset optimization.
27231         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
27232         Remove bzero multiarch objects.
27233         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
27234         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
27235         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
27236         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
27237         Remove define.
27238         [__bzero]: Redefine to specific name.
27239         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
27240         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
27241         * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
27242         define.
27243         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
27244         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
27246 2014-09-10  Florian Weimer  <fweimer@redhat.com>
27248         * Makeconfig (gccwarn-c): Turn implicit-function-declaration
27249         warnings into errors.
27251         * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
27252         __cxa_thread_atexit_impl prototype.
27254 2014-09-09  Steve Ellcey  <sellcey@mips.com>
27256         * sysdeps/mips/preconfigure: Put code inside mips* case statement.
27257         Fix capitalization of error message.
27259 2014-09-09  Steve Ellcey  <sellcey@mips.com>
27261         * sysdeps/mips/preconfigure: Modify ABI tests.
27263 2014-09-07  Carlos O'Donell  <carlos@systemhalted.org>
27265         * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
27267 2014-09-07  Roland McGrath  <roland@hack.frob.com>
27268             Carlos O'Donell  <carlos@systemhalted.org>
27270         * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
27271         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
27272         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
27273         * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
27274         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
27275         * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
27276         * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
27277         * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
27278         * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
27279         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
27280         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
27281         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
27282         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
27283         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
27284         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
27285         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
27286         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
27287         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
27288         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
27289         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
27290         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
27291         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
27292         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
27293         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
27294         * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
27295         * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
27296         * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
27297         * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
27298         Deconditionalize the code that was previously under [RESET_PID].
27299         * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
27300         * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
27301         * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
27302         * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
27303         include sysdep.h.
27305 2014-09-08  Allan McRae  <allan@archlinux.org>
27307         * version.h (RELEASE): Set to "development".
27308         (VERSION): Set to "2.20.90"
27310 2014-09-07  Allan McRae  <allan@archlinux.org
27312         * version.h (RELEASE): Set to "stable".
27313         (VERSION): Set to "2.20"
27314         * include/features.h (__GLIBC_MINOR__): Set to 20.
27316         * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
27317         Liebler.
27319         * po/ko.po: Update Korean translation from translation project.
27321 2014-09-06  Chris Metcalf  <cmetcalf@tilera.com>
27323         [BZ #17354]
27324         * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
27325         macro for handling signed relocations.
27327 2014-09-03  Florian Weimer  <fweimer@redhat.com>
27329         [BZ #17325]
27330         * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
27331         * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
27332         assert.
27333         * iconvdata/ibm933.c (BODY): Fix check for sentinel.
27334         * iconvdata/ibm935.c (BODY): Likewise.
27335         * iconvdata/ibm937.c (BODY): Likewise.
27336         * iconvdata/ibm939.c (BODY): Likewise.
27337         * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
27338         assert.
27339         * iconvdata/Makefile (iconv-test.out): Pass module list to test
27340         script.
27341         * iconvdata/run-iconv-test.sh: New test loop for checking for
27342         decoder crashers.
27344 2014-09-02  Khem Raj  <raj.khem@gmail.com>
27346         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
27347         libm_hidden_ver.
27349 2014-09-01  Allan McRae  <allan@archlinux.org>
27351         * po/eo.po: Update Esperanto translation from translation project.
27353         * po/ca.po: Update Catalan translation from translation project.
27355 2014-08-28  Samuel Thibault  <samuel.thibault@ens-lyon.org>
27357         * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
27358         __proc_dostop call.
27360 2014-08-27  Mark Wielaard  <mjw@redhat.com>
27362         [BZ #17319]
27363         * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
27364         to call set_thread_area instead of hand written asm.
27365         (__NR_set_thread_area): Removed define.
27366         (TLS_FLAG_WRITABLE): Likewise.
27367         (__ASSUME_SET_THREAD_AREA): Remove check.
27368         (TLS_EBX_ARG): Remove define.
27369         (TLS_LOAD_EBX): Likewise.
27371 2014-08-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
27373         Simplify atomicity of socket creation in bind.
27375         * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
27376         looking up the name after linking the file.
27378 2014-08-27  Allan McRae  <allan@archlinux.org>
27380         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
27382 2014-08-26  Florian Weimer  <fweimer@redhat.com>
27384         [BZ #17187]
27385         * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
27386         trans_compare, open_translit, __gconv_translit_find):
27387         Remove module loading code.
27389 2014-08-26  Allan McRae  <allan@archlinux.org>
27391         * po/vi.po: Update Vietnamese translation from translation project.
27393         * po/uk.po: Update Ukrainian translation from translation project.
27395         * po/fr.po: Update French translation from translation project.
27397         * po/ru.po: Update Russian translation from translation project.
27399         * po/pl.po: Update Polish translation from translation project.
27401         * po/cs.po: Update Czech translation from translation project.
27403         * po/de.po: Update German translation from translation project.
27405         * po/bg.po: Update Bulgarian translation from translation project.
27407         * po/sv.po: Update Sweedish translation from translation project.
27409         * po/nl.po: Update Dutch translation from translation project.
27411         * po/es.po: Update Spanish translation from translation project.
27413 2014-08-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
27415         * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
27417         * catgets/Makefile (CPPFLAGS-gencat): Remove.
27418         * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
27419         (CPPFLAGS-iconvconfig): Likewise.
27420         * timezone/Makefile (CPPFLAGS-zic): Likewise.
27422         * include/libc-symbols.h: Remove unnecessary check for
27423         NOT_IN_libc.
27424         * nptl/pthreadP.h: Likewise.
27425         * sysdeps/aarch64/setjmp.S: Likewise.
27426         * sysdeps/alpha/setjmp.S: Likewise.
27427         * sysdeps/arm/sysdep.h: Likewise.
27428         * sysdeps/i386/setjmp.S: Likewise.
27429         * sysdeps/m68k/setjmp.c: Likewise.
27430         * sysdeps/posix/getcwd.c: Likewise.
27431         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
27432         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
27433         * sysdeps/s390/s390-32/setjmp.S: Likewise.
27434         * sysdeps/s390/s390-64/setjmp.S: Likewise.
27435         * sysdeps/sh/sh3/setjmp.S: Likewise.
27436         * sysdeps/sh/sh4/setjmp.S: Likewise.
27437         * sysdeps/unix/alpha/sysdep.h: Likewise.
27438         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
27439         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
27440         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
27441         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
27442         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
27443         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
27444         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
27445         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
27446         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
27447         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
27448         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
27449         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
27450         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
27451         * sysdeps/x86_64/setjmp.S: Likewise.
27453 2014-08-13  Joseph Myers  <joseph@codesourcery.com>
27455         [BZ #17263]
27456         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
27457         <stdint.h>.
27458         (__get_clockfreq): Use uint64_t instead of hp_timing_t in
27459         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
27461 2014-08-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
27463         * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
27465         [BZ #17262]
27466         * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
27467         and __x86_64__ when disabling x87 inline functions.
27469 2014-08-12  H.J. Lu  <hongjiu.lu@intel.com>
27471         [BZ #17259]
27472         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
27473         asm statement with __cpuid_count.
27475 2014-08-12  Mike Frysinger  <vapier@gentoo.org>
27477         * configure.ac: Change __ehdr_start code to dereference the struct.
27478         Run readelf on the output to look for relocations.
27479         * configure: Regenerated.
27481 2014-08-12  Joseph Myers  <joseph@codesourcery.com>
27483         [BZ #17261]
27484         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
27485         value to 0.
27486         (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
27488 2014-08-12  Roland McGrath  <roland@hack.frob.com>
27490         * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
27492 2014-08-12  Bernard Ogden  <bernie.ogden@linaro.org>
27494         [BZ #16892]
27495         * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
27496         atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
27498 2014-08-12  Sean Anderson  <seanga2@gmail.com>
27500         * malloc/malloc.c: Fix typo in comment.
27502 2014-08-09  Allan McRae  <allan@archlinux.org>
27504         * Regenerate libc.po.
27506 2014-08-08  Mike Frysinger  <vapier@gentoo.org>
27508         * intl/tst-gettext2.sh: Check every lang file for creation.
27510 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
27512         * sysdeps/aarch64/fpu/math_private.h
27513         (libc_feholdsetround_noex_aarch64_ctx): New function.
27515 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
27517         * sysdeps/arm/armv6/strcpy.S (strcpy):
27518         Fix performance issue in misaligned cases.
27520 2014-08-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27522         * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
27523         Move definition from termios.h.
27524         (struct termio): Likewise.
27525         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
27526         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
27527         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
27528         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
27529         Likewise.
27530         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
27531         Move definition to ioctl-types.h
27532         (struct termio): Likewise.
27533         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
27534         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
27535         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
27536         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
27537         Likewise.
27539 2014-08-05  Richard Henderson  <rth@redhat.com>
27541         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
27542         exceptions.
27543         * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
27544         Add fraiseexcpt.
27545         * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
27546         Use __feraiseexcept.
27547         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
27548         Protect libm symbols with IS_IN_libm.
27550         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
27552 2014-08-04  Bernard Ogden  <bernie.ogden@linaro.org>
27554         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
27556 2014-08-04  Will Newton  <will.newton@linaro.org>
27558         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
27559         file.
27561 2014-08-04  Mike Frysinger  <vapier@gentoo.org>
27563         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
27564         variants for each function.
27566 2014-08-04  Roland McGrath  <roland@hack.frob.com>
27568         * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
27569         appended ...
27570         * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
27571         * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
27572         appended ...
27573         * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
27574         * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
27575         * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
27576         * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
27577         * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
27578         * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
27579         * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
27580         * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
27581         * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
27582         * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
27583         * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
27584         * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
27585         * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
27586         * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
27587         * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
27588         * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
27589         * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
27590         * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
27591         * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
27592         * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
27593         * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
27594         * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
27595         * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
27596         * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
27597         * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
27598         * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
27599         * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
27600         * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
27601         * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
27602         * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
27603         * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
27604         * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
27605         * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
27606         * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
27607         * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
27608         * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
27609         * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
27610         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
27611         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
27612         * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
27613         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
27614         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
27615         * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
27616         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
27617         * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
27618         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
27619         * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
27620         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
27621         * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
27622         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
27623         * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
27624         * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
27625         * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
27626         Update #include.
27627         * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
27628         * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
27630 2014-08-04  Roland McGrath  <roland@hack.frob.com>
27632         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
27633         * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
27634         * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
27635         * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
27636         * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
27637         * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
27639 2014-08-04  Roland McGrath  <roland@hack.frob.com>
27641         * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
27642         * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
27643         * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
27644         * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
27646 2014-08-04  Roland McGrath  <roland@hack.frob.com>
27648         * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
27649         * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
27650         (__libc_vfork): Define function under this name.
27651         (__vfork): Define as an alias.
27652         * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
27653         * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
27655 2014-08-04  Roland McGrath  <roland@hack.frob.com>
27657         * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
27658         that was previously under [RESET_PID].
27659         * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
27661 2014-08-04  Andreas Schwab  <schwab@suse.de>
27663         * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
27665 2014-08-03  Mike Frysinger  <vapier@gentoo.org>
27667         * stdlib/tst-setcontext.c (test_stack): Fix coding style.
27668         (main): Likewise.
27670 2014-08-01  Roland McGrath  <roland@hack.frob.com>
27672         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
27674 2014-08-01  Richard Henderon  <rth@redhat.com>
27676         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
27677         feclearexcept; use math_opt_barrier instead of open-coded asm; fix
27678         typo in exact zero test.
27679         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
27680         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
27681         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
27683 2014-08-01  Roland McGrath  <roland@hack.frob.com>
27685         * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
27686         (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
27687         * sysdeps/arm/sysdep.h: ... here.
27688         [!__ASSEMBLER__]: Include <stdint.h>.
27690 2014-08-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
27692         * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
27693         (HAVE_WCTYPE_H): Likewise.
27694         (HAVE_ISWCTYPE): Likewise.
27695         (ENABLE_NLS): Likewise.
27696         * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
27697         && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
27699         * posix/regex_internal.c: Check if DEBUG is defined and is
27700         set.
27702         * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
27703         (HAVE_MBSRTOWCS): Likewise.
27704         * posix/fnmatch.c: Include string.h unconditionally.
27706 2014-08-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
27708         * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
27709         reversal.
27711 2014-07-31  Roland McGrath  <roland@hack.frob.com>
27713         * sysdeps/generic/safe-fatal.h: New file.
27714         * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
27715         * nptl/forward.c: Include it.
27716         (__pthread_unwind): Use __safe_fatal as default action, rather
27717         than a bogus use of INTERNAL_SYSCALL that could never work.
27719         * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
27720         * configure.ac (libc_cv_builtin_trap): New test.
27721         * configure: Regenerated.
27722         * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
27723         (ABORT_INSTRUCTION): Define using __builtin_trap.
27725         * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
27726         * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
27727         * sysdeps/nptl/nptl-signals.h: New file.
27728         * nptl/pthreadP.h: Include <nptl-signals.h>.
27730 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
27732         * sysdeps/s390/s390-64/utf16-utf32-z9.c
27733         (ONE_DIRECTION): Define.
27734         * sysdeps/s390/s390-64/utf8-utf16-z9.c
27735         (ONE_DIRECTION): Define.
27736         * sysdeps/s390/s390-64/utf8-utf32-z9.c
27737         (ONE_DIRECTION): Define.
27739 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
27741         * sysdeps/s390/Makefile: Delete file.
27742         * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
27743         * sysdeps/s390/__longjmp.c: Delete file.
27744         * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
27745         Remove fields __flags and __reserved.
27746         * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
27747         and add versioning.
27748         * sysdeps/s390/rtld-__longjmp.c: Delete file.
27749         * sysdeps/s390/rtld-global-offsets.sym: Likewise.
27750         * sysdeps/s390/rtld-setjmp.S: Likewise.
27751         * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
27752         * sysdeps/s390/s390-32/__longjmp.c: ... here.
27753         * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
27754         * sysdeps/s390/s390-32/setjmp.S: ... here.
27755         Add versioning.
27756         (__sigsetjmp): Remove setting __flags field.
27757         * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
27758         * sysdeps/s390/s390-64/__longjmp.c: ... here.
27759         * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
27760         * sysdeps/s390/s390-64/setjmp.S: ... here.
27761         Add versioning.
27762         (__sigsetjmp): Remove setting __flags field.
27763         * sysdeps/s390/setjmp.S: Delete file.
27764         * sysdeps/s390/sigjmp.c: Likewise.
27765         * sysdeps/s390/v1-longjmp.c: Likewise.
27766         * sysdeps/s390/v1-setjmp.h: Likewise.
27767         * sysdeps/s390/v1-sigjmp.c: Likewise.
27768         * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
27769         Remove v1-longjmp_chk.
27770         * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
27771         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
27772         Include debug/longjmp_chk.c and add versioning.
27773         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
27774         Include nptl/pt-longjmp.c and add versioning.
27775         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
27776         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
27777         Include __longjmp.c.
27778         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
27779         Move to ...
27780         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
27781         (__getcontext): Remove setting __flags field.
27782         Add versioning.
27783         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
27784         Don't restore upper high grps.
27785         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
27786         Likewise.
27787         (__swapcontext): Remove setting uc_flags field.
27788         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
27789         Delete file.
27790         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
27791         Include __longjmp.c.
27792         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
27793         Move to ...
27794         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
27795         (__getcontext): Remove setting __flags field.
27796         Add versioning.
27797         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
27798         (__swapcontext): Remove setting uc_flags field.
27799         * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
27800         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
27801         Remove fields uc_high_gprs and __reserved.
27802         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
27803         New file with reverted content.
27804         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
27805         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
27806         Regenerated.
27807         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
27808         Regenerated.
27810 2014-07-31  Andreas Schwab  <schwab@suse.de>
27812         * config.h.in (HAVE_IFUNC): Define to 0.
27813         * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
27814         definedness.
27816 2014-07-30  Ling Ma  <ling.ml@alibaba-inc.com>
27818         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
27819         memmove-avx-unaligned, memcpy-avx-unaligned and
27820         mempcpy-avx-unaligned.
27821         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
27822         Add tests for AVX memcpy functions.
27823         * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
27824         * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
27825         memcpy_chk.
27826         * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
27827         * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
27828         memmove_chk.
27829         * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
27830         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
27831         mempcpy_chk.
27832         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
27833         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
27834         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
27836 2013-07-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27838         [BZ #17213]
27839         * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
27840         powerpc64le.
27842 2014-07-29  Jeff Layton  <jlayton@poochiereds.net>
27844         [BZ #16839]
27845         * manual/llio.texi: Add section about open file description locks.
27846         * manual/examples/ofdlocks.c: Example of open file description
27847         lock usage.
27848         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
27849         F_OFD_SETLK, and F_OFD_SETLKW.
27851 2014-07-23  Allan McRae  <allan@archlinux.org>
27853         * po/es.po: Update Spanish translation from translation project.
27855 2014-07-18  Andreas Schwab  <schwab@linux-m68k.org>
27857         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
27859 2014-07-17  Maciej W. Rozycki  <macro@codesourcery.com>
27861         [BZ #17078]
27862         * sysdeps/arm/dl-machine.h (elf_machine_rela)
27863         [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
27864         (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
27866 2014-07-17  Joseph Myers  <joseph@codesourcery.com>
27868         [BZ #17088]
27869         * math/fesetenv.c (__fesetenv)
27870         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
27871         * math/feupdateenv.c (__feupdateenv)
27872         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
27874         * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
27875         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
27876         (__ASSUME_SOCKETCALL): Do not define.
27878         * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
27879         * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
27880         (__ASSUME_SOCKETCALL): Do not define.
27881         (__ASSUME_ST_INO_64_BIT): Define unconditionally.
27882         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
27883         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
27884         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
27885         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
27886         [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
27887         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
27888         [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
27890         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
27891         * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
27892         (__ASSUME_SOCKETCALL): Do not define.
27893         (__ASSUME_IPC64): Define unconditionally.
27894         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
27895         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
27896         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
27897         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
27898         [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
27899         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
27900         [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
27901         Likewise.
27903         * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
27904         * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
27905         (__ASSUME_SOCKETCALL): Do not define.
27906         (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
27907         (__ASSUME_FUTEX_LOCK_PI): Likewise.
27908         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
27909         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
27910         (__ASSUME_REQUEUE_PI): Define unconditionally.
27911         [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
27912         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
27913         [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
27914         [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
27915         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
27916         [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
27918         * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
27919         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
27920         (__ASSUME_SOCKETCALL): Do not define.
27921         [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
27922         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
27923         [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
27924         [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
27925         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
27926         [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
27928         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
27929         * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
27930         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
27931         [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
27932         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
27933         [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
27934         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
27935         [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
27936         (__ASSUME_GETCPU_SYSCALL): Likewise.
27938         * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
27939         * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR.  Remove
27940         cases for individual architectures.
27941         * sysdeps/gnu/configure: Regenerated.
27942         * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
27943         LIBC_SLIBDIR_RTLDDIR.
27944         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
27945         * sysdeps/unix/sysv/linux/mips/configure.ac: Use
27946         LIBC_SLIBDIR_RTLDDIR.
27947         * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
27948         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
27949         LIBC_SLIBDIR_RTLDDIR.
27950         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
27951         Regenerated.
27952         * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
27953         * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
27954         file.
27955         * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
27956         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
27957         file.
27958         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
27959         * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
27960         * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
27961         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
27963         * sysdeps/aarch64/shlib-versions: Move to ...
27964         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
27965         * sysdeps/alpha/shlib-versions: Move to ...
27966         * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
27967         * sysdeps/arm/shlib-versions: Move to ...
27968         * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
27969         * sysdeps/hppa/shlib-versions: Move all contents except for
27970         libgcc_s entry to ...
27971         * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here.  Merge in
27972         entry from ...
27973         * sysdeps/hppa/nptl/shlib-versions: ... here.  Remove file.
27974         * sysdeps/ia64/shlib-versions: Move to ...
27975         * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here.  Merge in
27976         entry from ...
27977         * sysdeps/ia64/nptl/shlib-versions: ... here.  Remove file.
27978         * sysdeps/m68k/coldfire/shlib-versions: Move to ...
27979         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
27980         * sysdeps/microblaze/shlib-versions: Move to ...
27981         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
27982         * sysdeps/mips/shlib-versions: Move to ...
27983         * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here.  Merge in
27984         entry from ...
27985         * sysdeps/mips/nptl/shlib-versions: ... here.  Remove file.
27986         * sysdeps/tile/shlib-versions: Move to ...
27987         * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
27988         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
27989         from ...
27990         * sysdeps/x86_64/64/shlib-versions: ... here.  Remove file.
27991         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
27992         entry from ...
27993         * sysdeps/x86_64/x32/shlib-versions: ... here.  Remove file.
27995 2014-07-17  Will Newton  <will.newton@linaro.org>
27997         * sysdeps/arm/bits/atomic.h
27998         (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
27999         (__arch_compare_and_exchange_bool_16_int): Likewise.
28000         (__arch_compare_and_exchange_bool_64_int): Likewise.
28002         * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
28003         into an #else block.
28005 2014-07-16  Roland McGrath  <roland@hack.frob.com>
28007         * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
28008         just Linux configurations.  Test empirically that the compiler sets
28009         __ARM_EABI__, rather than using the tuple to decide.
28010         * sysdeps/arm/preconfigure: Regenerated.
28011         * sysdeps/unix/sysv/linux/arm/configure: File removed.
28012         * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
28013         contents appended ...
28014         * sysdeps/arm/configure.ac: ... here.
28015         * sysdeps/arm/configure: Regenerated.
28017 2014-07-15  Roland McGrath  <roland@hack.frob.com>
28019         * nptl/pthread_kill.c: New file.
28020         * nptl/pthread_sigmask.c: New file.
28021         * nptl/pthread_sigqueue.c: New file.
28023         * sysdeps/nptl/lowlevellock.h: New file.
28024         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
28025         * sysdeps/nptl/lowlevellock-futex.h: New file.
28027         * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
28028         Remove dead declarations.
28030 2014-07-14  H.J. Lu  <hongjiu.lu@intel.com>
28032         * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
28033         * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
28034         config-cflags-avx2.
28035         * sysdeps/x86_64/configure.ac: Likewise.
28036         * sysdeps/i386/configure: Regenerated.
28037         * sysdeps/x86_64/configure: Likewise.
28038         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
28039         memset-avx2 only if config-cflags-avx2 is yes.
28040         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
28041         Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
28042         defined.
28043         * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
28044         only if HAVE_AVX2_SUPPORT is defined.
28045         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
28047 2014-07-14  Alan Modra  <amodra@gmail.com>
28049         [BZ #17153]
28050         * elf/elf.h (DT_PPC64_NUM): Correct value.
28051         * NEWS: Add to fixed bug list.
28053 2014-07-13  Jim Meyering  <meyering@fb.com>
28055         [BZ 17150]
28056         regex: don't deref NULL upon heap allocation failure
28057         * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
28058         failure in one more place.
28059         To trigger the segfault, configure grep -with-included-regex,
28060         build it, and run these commands:
28061         ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
28063 2014-07-13  Andreas Schwab  <schwab@linux-m68k.org>
28065         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
28067 2014-07-11  Richard Henderson  <rth@redhat.com>
28069         * sysdeps/aarch64/libm-test-ulps: Update.
28071 2014-07-10  Florian Weimer  <fweimer@redhat.com>
28073         [BZ #17135]
28074         * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
28075         * nptl/allocatestack.c (__nptl_setxid_error): New function.
28076         (__nptl_setxid): Initialize error member.  Call
28077         __nptl_setxid_error.
28078         * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
28079         * nptl/descr.h (struct xid_command): Add error member.
28080         * nptl/tst-setuid3.c: New file.
28081         * nptl/Makefile (tests): Add it.
28083 2014-07-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28085         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
28086         New define.
28087         (__lll_trylock): Use __lll_base_trylock.
28088         (__lll_cond_trylock): Likewise.
28090 2014-07-10  Roland McGrath  <roland@hack.frob.com>
28092         * nptl/pthread_create.c (start_thread): Use atomic_or and
28093         lll_futex_wake directly rather than lll_robust_dead.
28094         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
28095         (lll_robust_dead): Macro removed.
28096         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
28097         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
28098         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
28099         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
28100         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
28101         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
28102         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
28103         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
28104         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
28105         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
28106         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
28107         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
28108         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
28109         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
28110         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
28112         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
28113         Use atomic_compare_and_exchange_val_acq directly rather than
28114         lll_robust_trylock.
28115         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
28116         (__lll_robust_trylock, lll_robust_trylock): Removed.
28117         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
28118         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
28119         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
28120         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
28121         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
28122         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
28123         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
28124         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
28125         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
28126         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
28127         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
28128         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
28129         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
28130         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
28132 2014-07-02  Florian Weimer  <fweimer@redhat.com>
28134         * manual/locale.texi (Locale Names): New section documenting
28135         locale name syntax.  Adjust menu and node chaining accordingly.
28136         (Choosing Locale): Reference Locale Names, Locale Categories.
28137         Mention setting LC_ALL=C.  Reflect that name syntax is now
28138         documented.
28139         (Locale Categories): New section title.  Reference Locale Names.
28140         LC_ALL is an environment variable, but not a category.
28141         (Setting the Locale): Remove "locale -a" invocation and LOCPATH
28142         description, now in Locale Name.  Reference that section.  Locale
28143         name syntax is now documented.
28145 2014-07-02  Florian Weimer  <fweimer@redhat.com>
28147         [BZ #17137]
28148         * locale/findlocale.c (name_present, valid_locale_name): New
28149         functions.
28150         (_nl_find_locale): Use the loc_name variable to store name
28151         candidates.  Call name_present and valid_locale_name to check and
28152         validate locale names.  Return an error if the locale is invalid.
28154 2014-07-02  Florian Weimer  <fweimer@redhat.com>
28156         * locale/setlocale.c (setlocale): Use strdup for allocating
28157         composite name copy.
28159 2014-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
28161         Sync up with gnulib.
28162         * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
28163         [!_LIBC && ENABLE_NLS]: Include gettext.h.
28164         [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
28165         and _GL_ARG_NONNULL.
28166         [USE_UNLOCKED_IO]: Include unlocked-io.h.
28167         [!_LIBC]: Include code for Windows and Cygwin.
28168         [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
28169         Include prototype for int strerror_r.
28170         [!_LIBC] (is_open): New function.
28171         (flush_stdout): New function.
28172         (print_errno_message): Use it.
28173         (error): Likewise.
28174         (error_at_line): Likewise.
28175         (error_tail) Add function attribute macros.  Use
28176         __builtin_expect.
28178         * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
28180         * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
28182         * io/ftw.c: Include sys/param.h unconditionally.
28184         * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
28186         [BZ #17125]
28187         * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
28188         libc_freeres_ptr.
28189         (freecache): New function to free CACHE on exit.
28191         * sunrpc/xdr.c (xdr_string): Add comment about SIZE
28192         initialization.
28194 2014-07-09  David S. Miller  <davem@davemloft.net>
28196         * sysdeps/sparc/fpu/libm-test-ulps: Update.
28198         * sysdeps/sparc/nptl/internaltypes.h: Delete.
28199         * sysdeps/sparc/nptl/sparc-nptl.h: New file.
28200         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
28201         * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
28202         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
28203         * sysdeps/sparc/nptl/sem_init.c: Likewise.
28204         * sysdeps/sparc/nptl/sem_post.c: Likewise.
28205         * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
28206         * sysdeps/sparc/nptl/sem_wait.c: Likewise.
28207         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
28208         * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
28209         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
28210         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
28212 2014-07-09  Andreas Schwab  <schwab@suse.de>
28214         * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
28215         output.
28216         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
28217         (do_test): Likewise.
28219         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
28221 2014-07-09  Will Newton  <will.newton@linaro.org>
28223         * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
28224         * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
28225         * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
28226         * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
28227         * sysdeps/hppa/start.S (_start): Likewise.
28229 2014-07-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
28231         * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
28233         * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
28234         defined.
28236 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
28238         * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
28239         after checking that it is non-NULL.
28241         * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
28243 2014-07-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28245         * sysdeps/powerpc/memmove.c: Remove file.
28246         * sysdeps/powerpc/powerpc32/power4/memcopy.h
28247         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
28248         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
28249         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
28250         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
28251         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
28252         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
28253         string memmove instead of removed powerpc one.
28255         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
28256         [weak_alias]: Fix compiler warning due trailing data.
28257         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
28258         [weak_alias]: Likewise.
28259         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
28260         warnigs due missing definition of __strcpy_power7 and __strlen_power7.
28262         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
28263         (__libc_ifunc_impl_list): Add memmove functions.
28265 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
28267         * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
28268         Remove code.
28269         * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
28270         Likewise.
28271         * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
28272         Likewise.
28273         * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
28274         Likewise.
28275         * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
28276         Likewise.
28277         * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
28278         Likewise.
28279         * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
28280         Likewise.
28281         * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
28282         Likewise.
28283         * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
28284         Likewise.
28285         * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
28286         Likewise.
28287         * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
28288         Likewise.
28289         * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
28290         Likewise.
28291         * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
28292         Likewise.
28293         * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
28294         Likewise.
28295         * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
28296         Likewise.
28297         * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
28298         Likewise.
28299         * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
28300         Likewise.
28302 2014-07-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28304         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
28305         to avoid alignment traps in non-cacheable memory.
28306         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
28308         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
28309         multiarch objects.
28310         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
28311         file: multiarch power7 memmove.
28312         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
28313         multiarch default memmove.
28314         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
28315         multiarch memove for powerpc32/power4.
28317         * string/bcopy.c: Use full path to include memmove.c.
28318         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
28319         multiarch objects.
28320         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
28321         bcopy for powerpc64.
28322         * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
28323         bcopy for powerpc64.
28324         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
28325         and memmove implementations.
28326         * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
28327         optimized multiarch memmove for POWER7/powerpc64.
28328         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
28329         default multiarch memmove for powerpc64.
28330         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
28331         multiarch for powerpc64.
28332         * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
28333         for POWER7/powerpc64.
28334         * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
28335         memmove for POWER7/powerpc64.
28337         * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
28338         glibc default one.
28340         * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
28341         __ELF_NATIVE_CLASS equal to 64.
28343 2014-07-07  Roland McGrath  <roland@hack.frob.com>
28345         * sysdeps/nptl/lowlevellock.h: File removed.
28347         * NEWS: NPTL is no longer an add-on!
28348         * nptl/internaltypes.h: Moved ...
28349         * sysdeps/nptl/internaltypes.h: ... here.
28350         * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
28351         * sysdeps/nptl/fork.c: Likewise.
28352         * sysdeps/nptl/gai_misc.h: Likewise.
28353         * sysdeps/nptl/librt-cancellation.c: Likewise.
28354         * sysdeps/nptl/jmp-unwind.c: Likewise.
28355         * sysdeps/nptl/setxid.h: Likewise.
28356         * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
28357         * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
28358         * sysdeps/unix/sysv/linux/arm/Implies: New file.
28359         * sysdeps/unix/sysv/linux/hppa/Implies: New file.
28360         * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
28361         * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
28362         * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
28363         * sysdeps/unix/sysv/linux/m68k/Implies: New file.
28364         * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
28365         * sysdeps/unix/sysv/linux/mips/Implies: New file.
28366         * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
28367         * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
28368         * sysdeps/unix/sysv/linux/sh/Implies: New file.
28369         * sysdeps/unix/sysv/linux/sparc/Implies: New file.
28370         * sysdeps/unix/sysv/linux/tile/Implies: New file.
28371         * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
28372         * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
28373         * nptl/Makeconfig: Moved ...
28374         * sysdeps/nptl/Makeconfig: ... here.
28375         * nptl/configure: File removed.
28376         * nptl/ANNOUNCE: File removed.
28377         * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
28378         * sysdeps/unix/sysv/linux/configure: Regenerated.
28380         * nptl/Makefile (routines): Add libc_pthread_init,
28381         libc_multiple_threads, register-atfork and unregister-atfork.
28382         (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
28383         (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
28384         lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
28385         pthread-pi-defines.sym, structsem.sym.
28386         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
28387         (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
28388         [$(subdir) = nptl] (tests): Add tst-setgetname.
28389         * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
28390         * sysdeps/unix/sysv/linux/sigaction.c: Just include
28391         <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
28392         [!LIBC_SIGACTION]: Remove aliases.
28393         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
28394         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
28395         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
28396         * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
28397         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
28398         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
28399         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
28400         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
28401         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
28402         * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
28403         (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
28404         __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
28405         __libc_allocate_rtsig_private.
28406         * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
28407         * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
28408         * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
28409         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
28410         * sysdeps/unix/sysv/linux/sleep.c: Likewise.
28411         * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
28412         * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
28413         * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
28414         * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
28415         * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
28416         * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
28417         * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
28418         * nptl/internaltypes.h: ... here.
28419         * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
28420         * sysdeps/nptl/jmp-unwind.c: ... here.
28421         * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
28422         * nptl/libc-lowlevellock.c: ... here.
28423         * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
28424         * nptl/libc_multiple_threads.c: ... here.
28425         * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
28426         * nptl/libc_pthread_init.c: ... here.
28427         * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
28428         * nptl/lowlevelbarrier.sym: ... here.
28429         * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
28430         * nptl/lowlevelcond.sym: ... here.
28431         * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
28432         * nptl/lowlevellock.c: ... here.
28433         * nptl/lowlevellock.h: Moved ...
28434         * sysdeps/nptl/lowlevellock.h: ... here.
28435         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
28436         * nptl/lowlevelrobustlock.c: ... here.
28437         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
28438         * nptl/lowlevelrobustlock.sym: ... here.
28439         * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
28440         * nptl/lowlevelrwlock.sym: ... here.
28441         * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
28442         * nptl/pt-fork.c: ... here.
28443         * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
28444         * nptl/pthread-pi-defines.sym: ... here.
28445         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
28446         * nptl/pthread_attr_getaffinity.c: ... here.
28447         * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
28448         * nptl/pthread_attr_setaffinity.c: ... here.
28449         * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
28450         * nptl/pthread_mutex_cond_lock.c: ... here.
28451         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
28452         Update #include.
28453         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
28454         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
28455         * nptl/pthread_once.c: ... here, replacing old file.
28456         * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
28457         * nptl/pthread_yield.c: ... here.
28458         * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
28459         * nptl/register-atfork.c: ... here.
28460         * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
28461         * nptl/sem_post.c: ... here.
28462         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
28463         * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
28464         * nptl/sem_timedwait.c: ... here.
28465         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
28466         * nptl/sem_trywait.c: ... here.
28467         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
28468         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
28469         * nptl/sem_wait.c: ... here.
28470         * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
28471         * nptl/structsem.sym: ... here.
28472         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
28473         * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
28474         * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
28475         * nptl/unregister-atfork.c: ... here.
28476         * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
28477         * nptl/unwindbuf.sym: ... here.
28478         * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
28479         * sysdeps/nptl/fork.c: ... here.
28480         * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
28481         * sysdeps/nptl/fork.h: ... here.
28482         * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
28483         * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
28484         * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
28485         * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
28486         * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
28487         * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
28488         * sysdeps/unix/sysv/linux/getpid.c: ... here.
28489         * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
28490         * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
28491         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
28492         * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
28493         * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
28494         * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
28495         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
28496         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
28497         * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
28498         * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
28499         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
28500         * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
28501         * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
28502         * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
28503         * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
28504         * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
28505         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
28506         * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
28507         * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
28508         * sysdeps/unix/sysv/linux/raise.c: ... here.
28509         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
28510         * sysdeps/unix/sysv/linux/timer_create.c: ... here.
28511         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
28512         * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
28513         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
28514         * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
28515         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
28516         * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
28517         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
28518         * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
28519         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
28520         * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
28521         * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
28522         * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
28523         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
28525 2014-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
28527         * sysdeps/generic/memcopy.h: Add comment for
28528         MEMCPY_OK_FOR_FWD_MEMMOVE.
28530 2014-07-04  Will Newton  <will.newton@linaro.org>
28532         * string/memchr.c: Merge from gnulib.
28533         [_LIBC]: Remove conditionals.
28534         (__ptr_t): Remove define.
28535         (LONG_MAX_32_BITS): Likewise.
28536         (LONG_MAX): Likewise.
28537         (MEMCHR): Use ANSI prototype and optimize algorithm.
28539         * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
28541 2014-07-03  Roland McGrath  <roland@hack.frob.com>
28543         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
28544         (lll_futex_timed_wait_bitset): Fix syscall argument count.
28546         * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
28547         Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
28548         in a bare environment with no <stdlib.h> installed.
28549         * sysdeps/nptl/configure: Regenerated.
28551         * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
28553         * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
28554         AC_EGREP_CPP for kernel header checks, so they only succeed if
28555         including <linux/version.h> actually works right.
28556         * sysdeps/unix/sysv/linux/configure: Regenerated.
28558         * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
28559         value so it's not diagnosed as unused.
28561         * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
28562         thing) with "ifeq ($(subdir),rt)".
28564 2014-07-03  Richard Henderson  <rth@redhat.com>
28566         * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
28567         * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
28568         include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
28570         * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
28571         (math_force_eval): New.
28573         * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
28574         * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
28576         * sysdeps/alpha/fpu/s_round.c: Remove file.
28577         * sysdeps/alpha/fpu/s_roundf.c: Remove file.
28579         * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
28580         (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
28581         * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
28582         (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
28583         (_dl_start, print_statistics): Likewise.
28584         * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
28585         HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
28587         * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
28588         * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
28589         * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
28590         * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
28591         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
28592         (HP_SMALL_TIMING_AVAIL): Define.
28593         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
28594         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
28595         (HP_SMALL_TIMING_AVAIL): Define.
28596         * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
28597         * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
28599         * sysdeps/aarch64/hp-timing.h: New file.
28601         * sysdeps/generic/hp-timing.h: Remove dead comment.
28602         * sysdeps/generic/hp-timing-common.h: New file.
28603         * sysdeps/alpha/hp-timing.h: Include it.
28604         (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
28605         * sysdeps/i386/i686/hp-timing.h: Likewise.
28606         * sysdeps/ia64/hp-timing.h: Likewise.
28607         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
28608         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
28609         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
28610         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
28611         * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
28612         (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
28613         (hp_timing_t): New.
28615         * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
28616         * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
28617         (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
28618         * elf/rtld.c (_dl_start_final): Likewise.
28619         * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
28620         * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
28621         * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
28622         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
28623         * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
28624         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
28625         (HP_TIMING_DIFF_INIT): Remove.
28626         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
28627         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
28628         (HP_TIMING_DIFF_INIT): Remove.
28629         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
28630         * sysdeps/i386/i686/hp-timing.c: Remove file.
28631         * sysdeps/x86_64/hp-timing.c: Remove file.
28632         * sysdeps/ia64/hp-timing.c: Remove file.
28633         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
28634         * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
28635         * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
28636         * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
28638         * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
28639         * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
28640         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
28641         * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
28642         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
28643         (HP_TIMING_ACCUM): Remove.
28644         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
28645         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
28646         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
28648         * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
28649         * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
28650         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
28651         * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
28652         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
28653         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
28654         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
28655         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
28657         * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
28659 2014-07-03  Maciej W. Rozycki  <macro@codesourcery.com>
28661         * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
28663 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
28665         Sync up with gettext.
28666         * intl/loadmsgcat.c: Define O_BINARY if not defined.
28667         [_MSC_VER]: Include malloc.h
28668         [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
28669         (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
28670         (_nl_load_domain): Open DOMAIN_FILE in binary mode.  Don't use
28671         TEMP_FAILURE_RETRY.  Cast return of alloca.
28672         [!_LIBC] Call gl_rwlock_init.
28673         [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
28675 2014-07-02  Roland McGrath  <roland@hack.frob.com>
28677         * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
28678         before checking its value.
28680 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
28682         * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
28684         * debug/memcpy_chk.c: Don't include pagecopy.h.
28685         * debug/mempcpy_chk.c: Likewise.
28686         * string/memcpy.c: Likewise.
28687         * string/memmove.c: Likewise.
28688         * sysdeps/powerpc/memmove.c: Likewise.
28689         * sysdeps/generic/memcopy.h: Include pagecopy.h.  Move
28690         definition of PAGE_COPY_FWD_MAYBE here...
28691         * sysdeps/generic/pagecopy.h: ... from here.
28692         * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
28694 2014-07-02  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
28695             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28697         * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
28698         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
28699         optimizations.
28700         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
28701         (__libc_ifunc_impl_list): Likewise.
28702         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
28703         multiarch strcat for PPC64.
28704         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
28705         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
28707 2014-07-02  Roland McGrath  <roland@hack.frob.com>
28709         * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
28711 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
28713         * intl/loadmsgcat.c: Remove declaration of
28714         get_sysdep_segment_value.
28715         (get_sysdep_segment_value): Use ISO C style.
28716         (_nl_load_domain): Use ISO C style.  Get rid of redundant
28717         semicolon.  Fix typo and formatting in comment.
28718         (_nl_unload_domain): Use ISO C style.
28720         * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
28722 2014-07-02  Will Newton  <will.newton@linaro.org>
28724         * malloc/obstack.c: Merge from gnulib master.
28725         [HAVE_CONFIG_H]: Remove conditional code.
28726         [!_LIBC]: Include config.h.
28727         [!ELIDE_CODE]: Don't include inttypes.h, include
28728         stdint.h unconditionally.
28729         (print_and_abort): Mark as _Noreturn.
28730         (_obstack_allocated_p): Mark as __attribute_pure__.
28731         (obstack_free): Rename to __obstack_free.
28732         [!__attribute__]: Remove conditional code.
28733         * malloc/obstack.h: Merge from gnulib master.
28734         [__cplusplus]: Move conditional down.
28735         [!__attribute_pure__]: Define __attribute_pure__ here
28736         if it is not already defined.
28737         (_obstack_memory_used): Mark as __attribute_pure__.
28738         [!__obstack_free]: Define as obstack_free.
28739         [__GNUC__]: Remove check for ancient NeXT gcc.
28741 2014-07-02  Will Newton  <will.newton@linaro.org>
28742             Paul Eggert  <eggert@cs.ucla.edu>
28744         * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
28746 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
28748         * resolv/gethnamaddr.c: Add comment warning that the file is
28749         not maintained.
28751 2014-07-01  Carlos O'Donell  <carlos@redhat.com>
28753         * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
28754         entries.
28756         * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
28757         entry for aio_cancel and aio_cancel64.
28758         * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
28759         * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
28760         * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
28761         * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
28762         * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
28763         * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
28764         * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
28765         * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
28766         * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
28767         * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
28768         * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
28769         * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
28770         * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
28772 2014-07-01  Roland McGrath  <roland@hack.frob.com>
28774         * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
28775         * nptl/pthread_mutex_lock.c: Likewise.
28776         * nptl/pthread_mutex_timedlock.c: Likewise.
28777         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
28779 2014-07-01  Richard henderson  <rth@redhat.com>
28781         * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
28782         (__isnan, __isnanl): Remove.
28783         * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
28785         * sysdeps/alpha/fpu/libm-test-ulps: Update.
28787 2014-07-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
28789         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
28791 2014-07-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
28793         * resolv/nss_dns/dns-host.c (getanswer_r)
28794         [MULTI_PTRS_ARE_ALIASES]: Remove code.
28796 2014-07-01  Joseph Myers  <joseph@codesourcery.com>
28798         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
28799         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
28800         undefine.
28801         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
28802         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
28804 2014-07-01  Roland McGrath <roland@hack.frob.com>
28806         * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
28807         * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
28809         * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
28810         * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
28812         * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
28813         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
28814         ... here.
28815         * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
28816         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
28818         * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
28819         * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
28820         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
28821         * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
28823         * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
28824         * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
28825         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
28826         * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
28827         * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
28828         Moved ...
28829         * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
28830         ... here.
28831         * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
28832         * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
28833         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
28834         * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
28835         * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
28836         * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
28837         * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
28838         * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
28839         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
28840         * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
28841         * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
28842         * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
28843         * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
28844         * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
28845         * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
28846         * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
28847         * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
28848         * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
28849         * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
28850         * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
28851         ... here.
28852         * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
28853         * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
28854         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
28855         * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
28856         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
28857         * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
28858         * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
28859         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
28861 2014-07-01  David Holsgrove  <david.holsgrove@xilinx.com>
28863         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
28864         * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
28865         * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
28866         Add sysdep.
28868 2014-06-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28870         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28872 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
28874         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
28875         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
28877         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
28879         * sysdeps/arm/libm-test-ulps: Regenerated.
28881 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
28882             Roland McGrath <roland@hack.frob.com>
28884         * test-skeleton.c (signal_handler): Kill the whole process group
28885         before killing the child individually.
28886         (main): Report any failure on `setpgid'.
28888 2014-06-30  Roland McGrath  <roland@hack.frob.com>
28890         * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
28891         from _TLS_H to _ARM_NPTL_TLS_H.
28892         (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
28893         * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
28895 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
28897         [BZ #16539]
28898         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
28899         (__expm1l): Return argument unchanged when small but not
28900         subnormal.
28902         * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
28903         include macro name.
28904         (_FP_UNPACK_RAW_1_P): Likewise.
28905         (_FP_PACK_RAW_1): Likewise.
28906         (_FP_PACK_RAW_1_P): Likewise.
28907         (_FP_MUL_MEAT_1_wide): Likewise.
28908         (_FP_MUL_MEAT_DW_1_hard): Likewise.
28909         (_FP_MUL_MEAT_1_hard): Likewise.
28910         (_FP_DIV_MEAT_1_imm): Likewise.
28911         (_FP_DIV_MEAT_1_udiv_norm): Likewise.
28912         (_FP_DIV_MEAT_1_udiv): Likewise.
28913         * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
28914         (_FP_UNPACK_RAW_2): Likewise.
28915         (_FP_UNPACK_RAW_2_P): Likewise.
28916         (_FP_PACK_RAW_2): Likewise.
28917         (_FP_PACK_RAW_2_P): Likewise.
28918         (_FP_MUL_MEAT_DW_2_wide): Likewise.
28919         (_FP_MUL_MEAT_2_wide): Likewise.
28920         (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
28921         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
28922         (_FP_MUL_MEAT_DW_2_gmp): Likewise.
28923         (_FP_MUL_MEAT_2_gmp): Likewise.
28924         (_FP_DIV_MEAT_2_udiv): Likewise.
28925         * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
28926         (_FP_FRAC_SRL_4): Likewise.
28927         (_FP_FRAC_SRST_4): Likewise.
28928         (_FP_FRAC_SRS_4): Likewise.
28929         (_FP_UNPACK_RAW_4): Likewise.
28930         (_FP_UNPACK_RAW_4_P): Likewise.
28931         (_FP_PACK_RAW_4): Likewise.
28932         (_FP_PACK_RAW_4_P): Likewise.
28933         (_FP_MUL_MEAT_DW_4_wide): Likewise.
28934         (_FP_MUL_MEAT_4_wide): Likewise.
28935         (_FP_MUL_MEAT_4_gmp): Likewise.
28936         (umul_ppppmnnn): Likewise.
28937         (_FP_DIV_MEAT_4_udiv): Likewise.
28938         (__FP_FRAC_ADD_4): Likewise.
28939         (__FP_FRAC_SUB_3): Likewise.
28940         (__FP_FRAC_SUB_4): Likewise.
28941         (__FP_FRAC_DEC_3): Likewise.
28942         (__FP_FRAC_DEC_4): Likewise.
28943         (__FP_FRAC_ADDI_4): Likewise.
28944         * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
28945         (_FP_FRAC_SRL_8): Likewise.
28946         (_FP_FRAC_SRS_8): Likewise.
28948         * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
28949         include macro name.
28950         (FP_UNPACK_RAW_EP): Likewise.
28951         (FP_PACK_RAW_E): Likewise.
28952         (FP_PACK_RAW_EP): Likewise.
28953         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
28954         (_FP_ISSIGNAN): Likewise.
28955         (_FP_ADD_INTERNAL): Likewise.
28956         (_FP_FMA): Likewise.
28957         (_FP_CMP): Likewise.
28958         (_FP_SQRT): Likewise.
28959         (_FP_TO_INT): Likewise.
28960         (_FP_FROM_INT): Likewise.
28961         (FP_EXTEND): Likewise.
28962         (_FP_DIV_MEAT_N_loop): Likewise.
28964 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
28966         * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
28967         throughout.
28969 2014-06-29  Joseph Myers  <joseph@codesourcery.com>
28971         [BZ #17097]
28972         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
28973         result with correct sign in case of exponents that produce
28974         overflow except for X very close to 1.
28976 2014-06-28  Paul Eggert  <eggert@cs.ucla.edu>
28978         mktime: merge #if/#ifdef usage from glibc
28979         * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
28980         as that works with both Glibc's and Gnulib's style.
28981         See thread starting at Siddhesh Poyarekar's bug report at:
28982         http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
28984 2014-06-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
28986         * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
28987         * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
28988         * sysdeps/tile/tilegx/memmove.c: Remove file.
28990 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
28992         * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
28993         abi-name definition.
28994         * scripts/soversions.awk: Do not handle or generate ABI lines.
28995         * shlib-versions: Remove ABI entries.
28996         * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
28997         * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
28999 2014-06-27  Roland McGrath  <roland@hack.frob.com>
29001         * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
29002         * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
29003         * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
29004         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
29005         * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
29006         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
29007         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
29008         Moved ...
29009         * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
29010         ... here.
29011         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
29012         * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
29013         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
29014         * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
29015         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
29016         * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
29017         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
29018         * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
29019         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
29020         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
29021         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
29022         * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
29023         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
29024         Moved ...
29025         * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
29026         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
29027         * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
29028         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
29029         * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
29030         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
29031         Moved ...
29032         * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
29033         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
29034         Moved ...
29035         * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
29036         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
29037         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
29038         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
29039         Moved ...
29040         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
29041         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
29042         * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
29043         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
29044         * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
29045         * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
29046         * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
29047         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
29048         Moved ...
29049         * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
29050         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
29051         * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
29052         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
29053         Moved ...
29054         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
29055         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
29056         Moved ...
29057         * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
29058         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
29059         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
29060         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
29061         Moved ...
29062         * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
29063         ... here.
29064         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
29065         Identical file removed.
29066         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
29067         Moved ...
29068         * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
29069         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
29070         Identical file removed.
29071         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
29072         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
29073         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
29074         Moved ...
29075         * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
29076         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
29077         Identical file removed.
29078         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
29079         * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
29080         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
29081         Identical file removed.
29082         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
29083         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
29084         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
29085         Identical file removed.
29086         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
29087         * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
29088         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
29089         Identical file removed.
29090         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
29091         Moved ...
29092         * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
29093         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
29094         Identical file removed.
29095         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
29096         Moved ...
29097         * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
29098         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
29099         * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
29100         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
29101         Identical file removed.
29102         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
29103         Moved ...
29104         * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
29105         ... here.
29106         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
29107         Identical file removed.
29108         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
29109         Moved ...
29110         * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
29111         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
29112         Identical file removed.
29113         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
29114         Moved ...
29115         * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
29116         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
29117         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
29118         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
29119         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
29120         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
29121         Moved ...
29122         * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
29123         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
29124         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
29126         * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
29127         SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
29128         * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
29129         * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
29130         * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
29132 2014-06-27  Arjun Shankar  <arjun.is@lostca.se>
29134         [BZ #17092]
29135         * nscd/nscd.c (monitor_child): Return exit status of child
29136         instead of return value from wait syscall.
29138 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
29140         * configure.ac (libc_commonpagesize): Remove variable.
29141         (libc_relro_required): Likewise.
29142         (libc_cv_z_relro): Remove configure test.
29143         * configure: Regenerated.
29144         * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
29145         variable.
29146         (libc_relro_required): Likewise.
29147         * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
29148         (libc_relro_required): Likewise.
29149         * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
29150         (libc_relro_required): Likewise.
29151         * sysdeps/arm/preconfigure: Regenerated.
29152         * sysdeps/ia64/preconfigure: Remove file.
29153         * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
29154         variable.
29155         (libc_relro_required): Likewise.
29157         [BZ #16561]
29158         [BZ #16562]
29159         * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
29160         (__ieee754_yn): Set FE_TONEAREST mode internally and then
29161         recompute overflowing results in original rounding mode.
29162         * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
29163         (__ieee754_ynf): Set FE_TONEAREST mode internally and then
29164         recompute overflowing results in original rounding mode.
29165         * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
29166         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
29167         recompute overflowing results in original rounding mode.
29168         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
29169         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
29170         recompute overflowing results in original rounding mode.
29171         * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
29172         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
29173         recompute overflowing results in original rounding mode.
29174         * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
29175         (libc_feholdsetround_ctx): New macro.
29176         * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
29177         * sysdeps/i386/fpu/libm-test-ulps: Update.
29178         * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
29180 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
29182         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
29183         [__PIC__] (PSEUDO): Use name of _nocancel entry point in
29184         corresponding .cpsetup call.
29186 2014-06-26  Roland McGrath  <roland@hack.frob.com>
29188         * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
29189         * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
29190         * sysdeps/arm/Makefile [$(subdir) = csu]
29191         (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
29192         (static-only-routines): Add aeabi_read_tp here.
29193         (shared-only-routines): Add libc-aeabi_read_tp here.
29194         (CFLAGS-libc-start.c): Add -fexceptions here.
29195         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
29196         (sysdep_routines, static-only-routines, shared-only-routines):
29197         Don't add to these here.
29198         (CFLAGS-libc-start.c): Likewise.
29200         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
29201         * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
29202         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
29203         * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
29204         * sysdeps/arm/Makefile [$(subdir) = rt]
29205         (librt-sysdep_routines, librt-shared-only-routines):
29206         Append rt-aeabi_unwind_cpp_pr1 here.
29207         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
29208         (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
29209         * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
29210         (libpthread-sysdep_routines, libpthread-shared-only-routines):
29211         Append nptl-aeabi_unwind_cpp_pr1 here.
29212         (tests): Filter out tst-cleanupx4 here.
29213         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
29214         (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
29215         Don't do those here.
29217 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
29219         * scripts/list-sources.sh: Do not handle ports specially.
29221 2014-06-26  Roland McGrath  <roland@hack.frob.com>
29223         * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
29224         * sysdeps/arm/feupdateenv.c: Likewise.
29226         * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
29228 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
29230         * manual/texinfo.tex: Update to version 2014-05-05.10 with
29231         trailing whitespace removed.
29232         * scripts/config.guess: Update to version 2014-03-23.
29233         * scripts/config.sub: Update to version 2014-05-01
29234         * scripts/install-sh: Update to version 2013-12-25.23.
29235         * scripts/move-if-change: Update from gnulib.
29237 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
29239         * debug/memmove_chk.c: Remove pagecopy.h include.
29241 2014-06-26  Paul Eggert  <eggert@cs.ucla.edu>
29243         * time/mktime.c (leapyear): Remove inline keyword.  The code is now
29244         identical to gnulib mktime.
29246 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
29248         * configure.ac: Do not test for machine being rs6000.  Do not test
29249         for powerpc*-*soft.
29250         * configure: Regenerated.
29252         [BZ #11505]
29253         * configure.ac (libc_cv_asm_cfi_directives): Remove configure
29254         test.
29255         * configure: Regenerated.
29256         * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
29257         * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
29258         Remove configure test.
29259         * sysdeps/arm/configure: Regenerated.
29260         * sysdeps/nptl/configure.ac: Do not check
29261         libc_cv_asm_cfi_directives.
29262         * sysdeps/nptl/configure: Regenerated.
29263         * sysdeps/x86_64/nptl/configure.ac: Remove file.
29264         * sysdeps/x86_64/nptl/configure: Remove generated file.
29265         * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
29266         unconditional.
29267         [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
29269 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
29271         * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
29272         * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
29273         (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
29274         it is defined.
29276         * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
29277         instead of whether it is defined.
29278         * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
29279         * sysdeps/hppa/dl-machine.h: Likewise.
29280         * sysdeps/ia64/dl-machine.h: Likewise.
29281         * sysdeps/m68k/dl-machine.h: Likewise.
29282         * sysdeps/microblaze/dl-machine.h: Likewise.
29283         * sysdeps/mips/dl-machine.: Likewise.
29284         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
29285         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
29286         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
29287         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
29288         * sysdeps/sh/dl-machine.h: Likewise.
29289         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
29290         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
29291         * sysdeps/tile/dl-machine.h: Likewise.
29292         * sysdeps/x86_64/dl-machine.h: Likewise.
29294         * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
29295         code.
29296         (verify_persistent_db): Likewise.
29298 2014-06-26  Roland McGrath  <roland@hack.frob.com>
29300         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
29301         * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
29302         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
29303         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
29304         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
29305         Moved ...
29306         * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
29307         ... here.
29308         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
29309         * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
29310         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
29311         Identical file removed.
29312         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
29313         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
29314         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
29315         * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
29316         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
29317         * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
29318         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
29319         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
29320         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
29321         * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
29322         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
29323         Moved ...
29324         * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
29325         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
29326         * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
29327         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
29328         * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
29329         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
29330         Moved ...
29331         * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
29332         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
29333         * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
29334         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
29335         * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
29336         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
29337         Identical file removed.
29338         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
29339         * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
29340         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
29341         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
29342         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
29343         Moved ...
29344         * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
29345         ... here.
29346         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
29347         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
29348         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
29349         * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
29350         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
29351         * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
29352         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
29353         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
29354         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
29355         * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
29356         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
29357         Moved ...
29358         * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
29359         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
29360         Moved ...
29361         * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
29362         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
29363         * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
29364         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
29365         Moved ...
29366         * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
29367         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
29368         * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
29370         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
29371         folded into ...
29372         * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
29373         * sysdeps/unix/sysv/linux/s390/Versions
29374         (libpthread: GLIBC_2.19): New version set.
29375         * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
29376         * sysdeps/unix/sysv/linux/s390/s390-64/Versions
29377         (librt: GLIBC_2.3.3): New version set.
29378         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
29379         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
29380         * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
29381         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
29382         * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
29383         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
29384         * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
29385         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
29386         * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
29387         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
29388         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
29389         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
29390         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
29391         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
29392         * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
29393         * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
29394         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
29395         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
29396         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
29397         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
29398         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
29399         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
29400         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
29401         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
29402         * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
29403         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
29404         * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
29405         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
29406         * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
29407         * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
29408         * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
29409         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
29410         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
29411         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
29412         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
29413         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
29414         * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
29415         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
29416         * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
29417         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
29418         * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
29419         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
29420         * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
29421         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
29422         * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
29424         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
29425         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
29426         (__libc_vfork): Define the function under this name.
29427         [!NOT_IN_libc] (__vfork): Make this an alias.
29428         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
29429         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
29430         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
29431         (__libc_vfork): Define the function under this name.
29432         [!NOT_IN_libc] (__vfork): Make this an alias.
29433         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
29434         * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
29435         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
29436         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
29437         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
29438         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
29440         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
29441         code that was previously under [RESET_PID].
29442         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
29443         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
29444         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
29446         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
29447         * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
29448         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
29449         * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
29450         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
29451         * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
29452         * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
29453         * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
29454         * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
29455         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
29456         * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
29457         Moved ...
29458         * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
29459         * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
29460         * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
29461         * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
29462         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
29463         * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
29464         * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
29465         * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
29466         * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
29467         * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
29468         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
29469         * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
29470         * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
29471         * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
29472         * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
29473         * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
29474         * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
29475         * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
29476         * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
29477         * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
29478         * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
29479         * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
29480         * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
29481         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
29482         * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
29483         * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
29484         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
29485         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
29486         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
29488 2014-06-25  Roland McGrath  <roland@hack.frob.com>
29490         * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
29491         that was previously under [RESET_PID].
29492         * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
29494 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
29496         * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
29497         not undefine and redefine.
29498         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
29499         [O_CLOEXEC]: Make code unconditional.
29500         (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
29501         * sysdeps/unix/sysv/linux/shm_open.c: Do not include
29502         <kernel-features.h>.
29503         [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
29504         conditional variable definition.
29505         (shm_open) [O_CLOEXEC]: Make code unconditional.
29506         (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
29507         code.
29509         * configure.ac (USE_REGPARMS): Don't define here.
29510         * configure: Regenerated.
29511         * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
29512         * sysdeps/i386/configure: Regenerated.
29514         * nptl/createthread.c: Don't include kernel-features.h.
29515         * nptl/pthread_cancel.c: Likewise.
29516         * nptl/pthread_condattr_setclock.c: Likewise.
29517         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
29518         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
29519         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
29520         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
29521         * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
29522         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
29523         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
29524         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
29525         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
29526         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
29527         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
29528         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
29529         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
29530         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
29531         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
29532         * nscd/gai.c: Likewise.
29533         * nss/nss_db/db-open.c: Likewise.
29534         * sysdeps/generic/ldsodefs.h: Likewise.
29535         * sysdeps/sh/nptl/tls.h: Likewise.
29536         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
29537         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
29538         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
29539         * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
29540         * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
29541         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
29542         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
29543         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
29544         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
29545         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
29546         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
29547         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
29548         * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
29549         * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
29550         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
29551         * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
29552         * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
29553         * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
29554         * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
29555         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
29556         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
29557         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
29558         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
29559         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
29560         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
29561         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
29562         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
29563         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
29564         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
29565         * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
29566         * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
29567         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
29568         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
29569         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
29570         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
29571         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
29572         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
29573         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
29574         * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
29575         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
29576         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
29577         * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
29578         * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
29579         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
29580         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
29581         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
29582         * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
29583         * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
29584         * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
29585         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
29586         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
29587         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
29588         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
29589         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
29590         * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
29591         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
29592         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
29593         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
29594         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
29595         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
29596         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
29597         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
29598         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
29599         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
29600         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
29601         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
29602         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
29603         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
29604         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
29605         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
29606         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
29607         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
29608         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
29609         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
29610         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
29611         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
29612         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
29613         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
29614         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
29615         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
29616         * sysdeps/unix/sysv/linux/pread.c: Likewise.
29617         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
29618         * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
29619         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
29620         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
29621         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
29622         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
29623         * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
29624         * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
29625         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
29626         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
29627         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
29628         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
29629         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
29630         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
29631         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
29632         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
29633         * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
29634         * sysdeps/unix/sysv/linux/syslog.c: Likewise.
29635         * sysdeps/unix/sysv/linux/system.c: Likewise.
29636         * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
29637         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
29638         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
29639         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
29640         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
29641         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
29642         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
29644         * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
29645         * configure: Regenerated.
29646         * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
29648         * configure.ac (base_machine): Do not set specially for particular
29649         machines here.
29650         * configure: Regenerated.
29651         * sysdeps/powerpc/preconfigure: Move machine and base_machine
29652         settings from configure.ac.
29653         * sysdeps/i386/preconfigure: New file.
29654         * sysdeps/s390/preconfigure: Likewise.
29655         * sysdeps/sh/preconfigure: Likewise.
29656         * sysdeps/sparc/preconfigure: Likewise.
29658 2014-06-25  Roland McGrath  <roland@hack.frob.com>
29660         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
29661         * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
29662         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
29663         * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
29664         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
29665         * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
29666         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
29667         * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
29668         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
29669         * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
29670         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
29671         * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
29672         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
29673         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
29674         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
29675         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
29676         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
29677         * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
29678         * sysdeps/sparc/sparc64/Makefile: ... appended here.
29680         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
29681         * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
29682         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
29683         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
29684         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
29685         * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
29686         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
29687         * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
29688         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
29689         * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
29690         * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
29691         * sysdeps/sparc/sparc32/sem_post.c: ... here.
29692         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
29693         * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
29694         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
29695         * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
29696         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
29697         * sysdeps/sparc/sparc32/sem_wait.c: ... here.
29698         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
29699         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
29700         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
29701         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
29702         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
29703         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
29704         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
29705         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
29706         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
29707         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
29708         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
29709         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
29710         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
29711         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
29712         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
29713         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
29714         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
29715         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
29716         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
29717         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
29719         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
29720         * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
29721         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
29722         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
29723         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
29724         Moved ...
29725         * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
29726         ... here.
29727         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
29728         * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
29729         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
29730         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
29731         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
29732         Moved ...
29733         * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
29734         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
29735         * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
29736         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
29737         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
29738         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
29739         * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
29740         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
29741         Moved ...
29742         * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
29743         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
29744         Moved ...
29745         * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
29746         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
29747         * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
29748         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
29749         Moved ...
29750         * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
29751         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
29752         * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
29753         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
29754         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
29755         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
29756         * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
29757         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
29758         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
29759         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
29760         Moved ...
29761         * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
29762         ... here.
29763         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
29764         * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
29765         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
29766         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
29767         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
29768         Moved ...
29769         * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
29770         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
29771         * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
29772         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
29773         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
29774         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
29775         * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
29776         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
29777         Moved ...
29778         * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
29779         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
29780         Moved ...
29781         * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
29782         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
29783         * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
29784         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
29785         Moved ...
29786         * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
29787         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
29788         * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
29789         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
29790         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
29792 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
29794         * timezone/checktab.awk: Update from tzcode 2014e.
29795         * timezone/private.h: Likewise.
29796         * timezone/tzfile.h: Likewise.
29797         * timezone/zdump.c: Likewise.
29798         * timezone/zic.c: Likewise.
29800         * sysdeps/unix/sysv/linux/kernel-features.h
29801         (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
29802         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
29803         [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
29804         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
29805         Remove conditional code.
29807 2014-06-25  Will Newton  <will.newton@linaro.org>
29809         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
29810         (_dl_arm_cap_flags): Add HWCAP2 values.
29811         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
29812         (_DL_HWCAP_COUNT): Increase to 37.
29813         (_DL_HWCAP_LAST): New define.
29814         (_DL_HWCAP2_LAST): New define.
29815         (_dl_procinfo): Add support for printing
29816         AT_HWCAP2 entries.
29817         (_dl_string_hwcap): Use _dl_hwcap_string.
29819 2014-06-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29821         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29823 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
29825         * README: Do not mention ports directory.
29827         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
29828         Remove macro.
29829         * sysdeps/unix/sysv/linux/futimes.c: Do not include
29830         <kernel-features.h>.
29831         [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
29832         conditional variable definition.
29833         (__futimes): Update comment.
29834         (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
29835         (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
29837         [BZ #16560]
29838         * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
29839         arguments close to 0.
29840         * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
29841         Likewise.
29842         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
29843         Likewise.
29844         * math/auto-libm-test-in: Add more tests of exp10.
29845         * math/auto-libm-test-out: Regenerated.
29846         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29848         * sysdeps/unix/sysv/linux/kernel-features.h
29849         (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
29850         * sysdeps/unix/sysv/linux/readv.c: Do not include
29851         <kernel-features.h>.
29852         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
29853         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
29854         (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
29855         unconditional.
29856         (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
29857         conditional code.
29858         * sysdeps/unix/sysv/linux/writev.c: Do not include
29859         <kernel-features.h>.
29860         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
29861         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
29862         (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
29863         unconditional.
29864         (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
29865         conditional code.
29867 2014-06-25  Will Newton  <will.newton@linaro.org>
29869         * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
29870         comment changes throughout the file.  Remove checks
29871         for HAVE_*_H definitions that are not required.
29872         (__gen_tempname): Call abort if an unknown kind value is
29873         passed.
29875 2014-06-25  Andreas Schwab  <schwab@suse.de>
29877         [BZ #17086]
29878         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
29879         scalbln, scalblnf, scalblnl in libc.
29881 2014-06-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
29883         [BZ #17086]
29884         * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
29885         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
29886         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
29888 2014-06-24  Roland McGrath  <roland@hack.frob.com>
29890         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
29891         * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
29892         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
29893         * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
29894         Update #include.
29895         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
29896         * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
29897         Update #include.
29898         * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
29899         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
29900         * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
29901         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
29902         * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
29903         * sysdeps/x86/bits/pthreadtypes.h: ... here.
29904         * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
29905         * sysdeps/x86/bits/semaphore.h: ... here.
29906         * sysdeps/x86/nptl/elide.h: Moved ...
29907         * sysdeps/x86/elide.h: ... here.
29908         * sysdeps/x86_64/nptl/Implies: File removed.
29909         * sysdeps/i386/nptl/Implies: File removed.
29911 2014-06-24  Joseph Myers  <joseph@codesourcery.com>
29913         [BZ #16539]
29914         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
29915         return the argument for normal arguments with exponent below -64.
29916         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
29917         Likewise.
29918         * math/auto-libm-test-in: Add another test of expm1.
29919         * math/auto-libm-test-out: Regenerated.
29921         [BZ #16287]
29922         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
29923         calling __erfcl for arguments at least 16.
29924         * math/auto-libm-test-in: Add more tests of erf.
29925         * math/auto-libm-test-out: Regenerated.
29927         * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
29928         individual architectures.
29929         * sysdeps/unix/sysv/linux/configure: Regenerated.
29930         * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
29931         * sysdeps/unix/sysv/linux/i386/configure: New generated file.
29932         * sysdeps/unix/sysv/linux/powerpc/configure.ac
29933         (ldd_rewrite_script): Define variable.
29934         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
29935         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
29936         file.
29937         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
29938         generated file.
29939         * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
29940         * sysdeps/unix/sysv/linux/s390/configure: New generated file.
29941         * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
29942         * sysdeps/unix/sysv/linux/sh/configure: New generated file.
29943         * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
29944         * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
29945         * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
29946         * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
29948 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
29950         [BZ #17084]
29951         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
29952         Rename member __data.d to __data.__elision_data.
29954 2014-06-24  Wilco  <wdijkstr@arm.com>
29956         * NEWS: Add 16918 to fixed bug list.
29958 2014-06-24  Wilco  <wdijkstr@arm.com>
29960         * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
29962 2014-06-24  Wilco  <wdijkstr@arm.com>
29964         * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
29965         * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
29966         (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
29967         (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
29968         (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
29969         * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
29970         * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
29971         Use _FPU_MASK_RM.
29973 2014-06-24  Wilco  <wdijkstr@arm.com>
29975         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
29977 2014-06-24  Wilco  <wdijkstr@arm.com>
29979         * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
29980         * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
29981         * sysdeps/arm/fesetround.c (fesetround): Remove space.
29982         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
29984 2014-06-24  Wilco  <wdijkstr@arm.com>
29986         [BZ #16918]
29987         * sysdeps/arm/feupdateenv.c (feupdateenv):
29988         Rewrite to reduce FPSCR accesses and fix return value.
29990 2014-06-24  Wilco  <wdijkstr@arm.com>
29992         * sysdeps/arm/fclrexcpt.c (feclearexcept):
29993         Optimize to avoid unnecessary FPSCR writes.
29994         * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
29995         * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
29996         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
29997         * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
29999 2014-06-24  Wilco  <wdijkstr@arm.com>
30001         * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
30002         * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
30003         * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
30004         * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
30005         Call libc_fetestexcept_vfp.
30006         * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
30007         * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
30008         __SOFTFP__ ifdef so that they can be built for softfp.
30010 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
30012         * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
30013         argument type signed char.
30015         * Makerules (check-abi): Dump diff of symlist if the test
30016         fails.
30018 2014-06-23  Roland McGrath  <roland@hack.frob.com>
30020         * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
30021         using abort.
30023         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
30024         Remove unused variable ST.
30026 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
30028         [BZ #16354]
30029         [BZ #17061]
30030         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
30031         small arguments before calling __expm1.
30032         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
30033         small arguments before calling __expm1f.
30034         * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
30035         small arguments before calling __expm1l.
30036         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
30037         Likewise.
30038         * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
30039         * math/auto-libm-test-in: Add more cosh tests.  Do not allow
30040         spurious underflow for some cosh tests.
30041         * math/auto-libm-test-out: Regenerated.
30042         * sysdeps/i386/fpu/libm-test-ulps: Update.
30044         [BZ #17050]
30045         * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
30046         (__ieee754_y1): Set errno if return value overflows.
30047         * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
30048         (__ieee754_y1f): Set errno if return value overflows.
30049         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
30050         (__ieee754_y1l): Set errno if return value overflows.
30051         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
30052         (__ieee754_y1l): Set errno if return value overflows.
30053         * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
30054         * math/auto-libm-test-out: Regenerated.
30056         * math/gen-auto-libm-tests.c: Document use of
30057         ignore-zero-inf-sign.
30058         (input_flag_type): Add value flag_ignore_zero_inf_sign.
30059         (input_flags): Add ignore-zero-inf-sign.
30060         (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
30061         * math/gen-libm-test.pl (generate_testfile): Handle
30062         ignore-zero-inf-sign.
30063         * math/auto-libm-test-in: Mark some cpow tests with
30064         ignore-zero-inf-sign and some with xfail-rounding.
30065         * math/auto-libm-test-out: Regenerated.
30066         * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
30067         * sysdeps/i386/fpu/libm-test-ulps: Update.
30068         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30070         [BZ #16315]
30071         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
30072         overflowing or underflowing operations take place with sign of
30073         result.
30074         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
30075         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
30076         * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
30077         (__ieee754_pow): Recompute overflowing and underflowing results in
30078         original rounding mode.
30079         * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
30080         (__powl_helper): Allow negative argument X and scale negated value
30081         as needed.  Avoid passing value outside [-1, 1] to f2xm1.
30082         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
30083         overflowing or underflowing operations take place with sign of
30084         result.
30085         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
30086         Include <math.h>.
30087         * math/auto-libm-test-in: Add more tests of pow.
30088         * math/auto-libm-test-out: Regenerated.
30089         * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
30090         (pow_tonearest_test_data): Remove.
30091         (pow_test_tonearest): Likewise.
30092         (pow_towardzero_test_data): Likewise.
30093         (pow_test_towardzero): Likewise.
30094         (pow_downward_test_data): Likewise.
30095         (pow_test_downward): Likewise.
30096         (pow_upward_test_data): Likewise.
30097         (pow_test_upward): Likewise.
30098         (main): Don't call removed functions.
30099         * sysdeps/i386/fpu/libm-test-ulps: Update.
30100         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30102 2014-06-23  Roland McGrath  <roland@hack.frob.com>
30104         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
30105         Moved ...
30106         * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
30107         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
30108         Moved ...
30109         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
30110         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
30111         Moved ...
30112         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
30113         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
30114         Moved ...
30115         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
30116         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
30117         File removed.
30118         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
30119         File removed.
30120         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
30121         File removed.
30122         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
30123         File removed.
30124         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
30125         File removed.
30126         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
30127         File removed.
30128         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
30129         File removed.
30130         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
30131         File removed.
30132         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
30133         File removed.
30134         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
30135         File removed.
30136         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
30137         File removed.
30138         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
30139         File removed.
30140         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
30141         Moved ...
30142         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
30143         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
30144         Moved ...
30145         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
30146         ... here.
30147         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
30148         Moved ...
30149         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
30150         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
30151         Moved ...
30152         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
30153         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
30154         Moved ...
30155         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
30156         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
30157         Moved ...
30158         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
30159         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
30160         Moved ...
30161         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
30162         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
30163         Moved ...
30164         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
30165         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
30166         Moved ...
30167         * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
30168         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
30169         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
30170         ... here.
30171         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
30172         Moved ...
30173         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
30174         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
30175         Moved ...
30176         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
30177         ... here.
30178         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
30179         Moved ...
30180         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
30181         ... here.
30182         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
30183         Moved ...
30184         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
30185         ... here.
30186         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
30187         Moved ...
30188         * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
30189         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
30190         Moved ...
30191         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
30192         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
30193         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
30194         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
30195         Moved ...
30196         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
30197         ... here.
30198         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
30199         Moved ...
30200         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
30201         ... here.
30202         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
30203         Moved ...
30204         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
30205         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
30206         Moved ...
30207         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
30208         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
30209         Moved ...
30210         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
30211         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
30212         Moved ...
30213         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
30214         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
30215         Moved ...
30216         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
30217         ... here.
30218         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
30219         Moved ...
30220         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
30221         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
30222         Moved ...
30223         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
30224         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
30225         Moved ...
30226         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
30227         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
30228         Moved ...
30229         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
30230         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
30231         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
30232         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
30233         Moved ...
30234         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
30235         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
30236         Moved ...
30237         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
30238         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
30239         Moved ...
30240         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
30241         ... here.
30242         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
30243         Moved ...
30244         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
30245         ... here.
30246         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
30247         Moved ...
30248         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
30249         ... here.
30250         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
30251         Moved ...
30252         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
30253         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
30254         Moved ...
30255         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
30256         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
30257         Moved ...
30258         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
30259         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
30260         Moved ...
30261         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
30262         ... here.
30263         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
30264         Moved ...
30265         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
30266         ... here.
30267         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
30268         Moved ...
30269         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
30270         ... here.
30271         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
30272         Moved ...
30273         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
30274         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
30275         Moved ...
30276         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
30278 2014-06-23  Will Newton  <will.newton@linaro.org>
30279             Wilco  <wdijkstr@arm.com>
30281         * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
30282         implementation.  Include get-rounding-mode.h.
30283         [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
30284         [!libc_feholdsetround_noex_ctx]: Define
30285         libc_feholdsetround_noex_ctx.
30286         [!libc_feholdsetround_noexf_ctx]: Define
30287         libc_feholdsetround_noexf_ctx.
30288         [!libc_feholdsetround_noexl_ctx]: Define
30289         libc_feholdsetround_noexl_ctx.
30290         (libc_feholdsetround_ctx): New function.
30291         (libc_feresetround_ctx): New function.
30292         (libc_feholdsetround_noex_ctx): New function.
30293         (libc_feresetround_noex_ctx): New function.
30295 2014-06-23  Roland McGrath  <roland@hack.frob.com>
30297         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
30298         * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
30299         * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
30300         * sysdeps/mips/nptl/bits/semaphore.h: ... here.
30301         * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
30302         * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
30304         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
30305         * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
30306         * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
30307         * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
30308         * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
30309         * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
30310         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
30311         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
30312         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
30313         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
30314         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
30315         Moved ...
30316         * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
30317         ... here.
30318         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
30319         * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
30320         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
30321         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
30322         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
30323         Moved ...
30324         * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
30325         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
30326         * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
30327         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
30328         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
30329         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
30330         * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
30331         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
30332         Moved ...
30333         * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
30334         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
30335         Moved ...
30336         * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
30337         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
30338         * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
30339         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
30340         Moved ...
30341         * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
30342         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
30343         * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
30344         * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
30345         * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
30346         * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
30347         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
30348         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
30349         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
30350         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
30351         Moved ...
30352         * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
30353         ... here.
30354         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
30355         * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
30356         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
30357         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
30358         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
30359         * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
30360         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
30361         * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
30362         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
30363         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
30364         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
30365         * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
30366         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
30367         Moved ...
30368         * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
30369         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
30370         * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
30371         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
30372         * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
30373         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
30374         Moved ...
30375         * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
30376         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
30377         * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
30378         * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
30379         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
30381         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
30382         * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
30383         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
30384         * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
30385         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
30386         * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
30387         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
30388         * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
30389         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
30390         * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
30391         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
30392         * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
30393         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
30394         * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
30395         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
30396         * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
30397         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
30398         * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
30399         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
30400         * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
30401         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
30402         * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
30403         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
30404         * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
30405         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
30406         * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
30407         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
30408         * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
30410 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
30412         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
30413         (FALLOC_FL_COLLAPSE_RANGE): New macro.
30414         [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
30415         * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
30416         (IPV6_PMTUDISC_INTERFACE): Likewise.
30417         (IPV6_PMTUDISC_OMIT): Likewise.
30419 2014-06-23  Andreas Schwab  <schwab@suse.de>
30421         * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
30422         Remove unused errout label.
30424 2014-06-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30426         * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
30427         macro: hardware supports Vector Crypto instructions.
30429 2014-06-23  Will Newton  <will.newton@linaro.org>
30431         * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
30432         rather than __builtin_expect.
30434         * elf/dl-lookup.c (undefined_msg): Remove variable.
30435         (_dl_lookup_symbol_x): Replace undefined_msg with string
30436         literal.
30438         * elf/dl-lookup.c (do_lookup_unique): New function.
30439         (do_lookup_x): Move STB_GNU_UNIQUE handling code
30440         to a separate function.
30442 2014-06-23  Andreas Schwab  <schwab@suse.de>
30444         [BZ #17079]
30445         * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
30446         before reading the next line.
30448 2014-06-23  Will Newton  <will.newton@linaro.org>
30450         * test-skeleton.c (signal_handler): Use printf and %m
30451         rather than perror.  Use printf rather than fprintf to
30452         stderr.  Use puts rather than fputs to stderr.
30453         (main): Likewise.
30455 2014-06-22  Ludovic Courtès  <ludo@gnu.org>
30457         * nscd/nscd.c (thread_info_t): Remove typedef.
30458         (thread_info): Remove variable.
30460 2014-06-21  Allan McRae  <allan@archlinux.org>
30462         * NEWS: Mention CVE-2014-4043.
30464 2014-06-20  Roland McGrath  <roland@hack.frob.com>
30466         * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
30467         * nptl/smp.h: ... here.
30469         * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
30471         * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
30472         * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
30473         * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
30474         * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
30476         * nptl/allocatestack.c: Include <stack-aliasing.h>.
30477         * nptl/stack-aliasing.h: New file.
30478         * sysdeps/i386/i686/stack-aliasing.h: New file.
30479         * sysdeps/i386/i686/nptl/Makefile: File removed.
30480         * sysdeps/x86_64/stack-aliasing.h: New file.
30481         * sysdeps/x86_64/nptl/Makefile
30482         (CFLAGS-pthread_create.c): Variable removed.
30484         * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
30485         * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
30486         old file.
30487         * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
30488         * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
30489         old file.
30491 2014-06-21  Joseph Myers  <joseph@codesourcery.com>
30493         * sysdeps/unix/sysv/linux/arm/kernel-features.h
30494         (__ASSUME_SIGFRAME_V2): Remove macro.
30495         * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
30496         [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
30497         (__default_sa_restorer_v2): Rename to __default_sa_restorer.
30498         (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
30499         * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
30500         Declare as function.  Remove conditional macro definitions.
30501         (__default_rt_sa_restorer): Likewise.
30502         (__default_sa_restorer_v1): Remove declaration.
30503         (__default_sa_restorer_v2): Likewise.
30504         (__default_rt_sa_restorer_v1): Likewise.
30505         (__default_rt_sa_restorer_v2): Likewise.
30506         * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
30507         __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
30508         __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
30510 2014-06-20  Roland McGrath  <roland@hack.frob.com>
30512         * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
30513         (libpthread-routines): Add sysdep.
30514         * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
30515         * sysdeps/unix/sysv/linux/sparc/Versions
30516         (libpthread: GLIBC_2.3.3): New version set.
30517         * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
30518         * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
30519         * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
30520         * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
30521         * sysdeps/sparc/nptl/internaltypes.h: ... here.  Use #include_next.
30522         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
30523         Moved ...
30524         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
30525         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
30526         * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
30527         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
30528         * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
30529         * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
30530         * sysdeps/sparc/nptl/sem_init.c: ... here.
30531         * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
30532         * sysdeps/sparc/nptl/sem_post.c: ... here.
30533         * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
30534         * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
30535         * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
30536         * sysdeps/sparc/nptl/sem_wait.c: ... here.
30537         * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
30538         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
30539         * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
30540         (libpthread-routines): Add cpu_relax.
30541         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
30542         File removed.
30543         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
30544         (librt: GLIBC_2.3.3): New version set.
30545         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
30546         * sysdeps/sparc/sparc64/nptl/Makefile: New file.
30547         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
30548         (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
30549         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
30550         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
30551         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
30552         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
30553         Moved ...
30554         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
30555         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
30556         * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
30557         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
30558         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
30559         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
30560         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
30561         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
30562         * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
30563         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
30564         Moved ...
30565         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
30566         Update #include.
30567         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
30568         Moved ...
30569         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
30570         Update #include.
30571         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
30572         Moved ...
30573         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
30574         Update #include.
30575         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
30576         Moved ...
30577         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
30578         Update #include.
30579         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
30580         Moved ...
30581         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
30582         Update #include.
30583         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
30584         Moved ...
30585         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
30586         Update #include.
30587         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
30588         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
30589         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
30590         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
30591         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
30592         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
30593         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
30594         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
30595         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
30596         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
30597         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
30598         Moved ...
30599         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
30600         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
30601         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
30602         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
30603         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
30605 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
30607         * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
30608         * nptl/pthread_rwlock_timedrdlock.c: Likewise.
30609         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
30610         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
30611         * nscd/nscd.c: Likewise.
30612         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
30613         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
30614         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
30615         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
30617         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
30618         <kernel-features.h>.
30619         (init_mq_netlink): Remove conditional have_sock_cloexec
30620         definitions.  Remove code conditional on have_sock_cloexec < 0.
30621         (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
30622         (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
30623         * sysdeps/unix/sysv/linux/opensock.c: Do not include
30624         <kernel-features.h>.
30625         (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
30626         (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
30628 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
30630         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
30631         Add tests for memset_chk and memset.
30633         * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
30634         with AVX2_Usable.
30636 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
30638         [BZ #16046]
30639         * elf/tst-dl-iter-static.c: New file.
30640         * elf/Makefile (tests-static): Add tst-dl-iter-static.
30642         * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
30643         error.
30645 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
30647         * sysdeps/unix/sysv/linux/kernel-features.h
30648         (__ASSUME_F_GETOWN_EX): Remove macro.
30649         * sysdeps/unix/sysv/linux/fcntl.c: Do not include
30650         <kernel-features.h>.
30651         (miss_F_GETOWN_EX): Remove variable or macro.
30652         (do_fcntl): Do not check miss_F_GETOWN_EX.
30653         (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
30655         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
30656         Remove macro.
30657         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
30658         [!__ASSUME_AT_RANDOM]: Remove conditional code.
30659         (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
30661         * sysdeps/unix/sysv/linux/kernel-features.h
30662         (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
30663         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
30664         [ADJ_OFFSET_SS_READ]: Make code unconditional.
30665         (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
30667 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
30669         [BZ #17075]
30670         * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
30671         Fix calculation of the symbol's value.
30672         * sysdeps/arm/tst-armtlsdescloc.c: New file.
30673         * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
30674         * sysdeps/arm/tst-armtlsdescextnow.c: New file.
30675         * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
30676         * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
30677         * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
30678         * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
30679         `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
30680         (modules-names): Add `tst-armtlsdescmod',
30681         `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
30682         (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
30683         (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
30684         (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
30685         (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
30686         (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
30687         (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
30688         ($(objpfx)tst-armtlsdescloc): New dependency.
30689         ($(objpfx)tst-armtlsdescextnow): Likewise.
30690         ($(objpfx)tst-armtlsdescextlazy): Likewise.
30691         * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
30692         TLS scheme support.
30693         * sysdeps/arm/configure: Regenerate.
30695 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
30697         * include/fcntl.h (__atfct_seterrno): Remove prototype.
30698         (__atfct_seterrno_2): Likewise.
30699         * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
30700         <kernel-features.h>.
30701         (__ASSUME_ATFCTS): Do not undefine and redefine.
30702         * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
30703         (__have_atfcts): Remove conditional definition.
30704         (__fxstatat([__NR_fstatat64]: Make code unconditional.
30705         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
30706         unreachable if [__ASSUME_ATFCTS].
30707         * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
30708         not undefine and redefine.
30709         * sysdeps/unix/sysv/linux/faccessat.c: Do not include
30710         <kernel-features.h>.
30711         (faccessat) [__NR_faccessat]: Make code unconditional.
30712         (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
30713         * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
30714         <kernel-features.h>.
30715         (fchmodat) [__NR_fchmodat]: Make code unconditional.
30716         (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
30717         * sysdeps/unix/sysv/linux/fchownat.c: Do not include
30718         <kernel-features.h>.
30719         (fchownat) [__NR_fchownat]: Make code unconditional.
30720         (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
30721         * sysdeps/unix/sysv/linux/futimesat.c: Do not include
30722         <kernel-features.h>.
30723         (futimesat) [__NR_futimesat]: Make code unconditional.
30724         (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
30725         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
30726         <kernel-features.h>.
30727         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
30728         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
30729         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
30730         <kernel-features.h>.
30731         (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
30732         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
30733         * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
30734         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
30735         <kernel-features.h>.
30736         (__fxstatat) [__NR_fstatat64]: Make code unconditional.
30737         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
30738         * sysdeps/unix/sysv/linux/linkat.c: Do not include
30739         <kernel-features.h>.
30740         (linkat) [__NR_linkat]: Make code unconditional.
30741         (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
30742         * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
30743         * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
30744         <kernel-features.h>.
30745         (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
30746         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
30747         * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
30748         <kernel-features.h>.
30749         (mkdirat) [__NR_mkdirat]: Make code unconditional.
30750         (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
30751         * sysdeps/unix/sysv/linux/openat.c: Do not include
30752         <kernel-features.h>.
30753         [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
30754         [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
30755         (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
30756         (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
30757         * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
30758         * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
30759         <kernel-features.h>.
30760         (readlinkat) [__NR_readlinkat]: Make code unconditional.
30761         (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.  Return
30762         result of INLINE_SYSCALL directly, not via int variable.
30763         * sysdeps/unix/sysv/linux/renameat.c: Do not include
30764         <kernel-features.h>.
30765         [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
30766         (renameat) [__NR_renameat]: Make code unconditional.
30767         (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
30768         * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
30769         * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
30770         * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
30771         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
30772         (__ASSUME_ATFCTS): Do not undefine and redefine.
30773         * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
30774         <kernel-features.h>.
30775         (symlinkat) [__NR_symlinkat]: Make code unconditional.
30776         (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
30777         * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
30778         <kernel-features.h>.
30779         (unlinkat) [__NR_unlinkat]: Make code unconditional.
30780         (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
30781         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
30782         (__ASSUME_ATFCTS): Do not undefine and redefine.
30783         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
30784         <kernel-features.h>.
30785         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
30786         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
30787         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
30788         <kernel-features.h>.
30789         (__xmknodat) [__NR_mknodat]: Make code unconditional.
30790         (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
30792 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
30794         * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
30796 2014-06-20  Andreas Schwab  <schwab@linux-m68k.org>
30798         [BZ #17069]
30799         * posix/regcomp.c (parse_reg_exp): Deallocate partially
30800         constructed tree before returning error.
30801         * posix/bug-regexp36.c: Expand test case.
30803 2014-06-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
30805         [BZ #6803]
30806         * math/libm-test.inc (scalbln_test_date):
30807         Add errno expectations.
30808         * math/w_scalblnf.c: New File.
30809         Add wrapper which checks for setting errno to ERANGE.
30810         Add weak_alias for corresponding scalbln function.
30811         * math/w_scalbln.c: Likewise.
30812         * math/w_scalblnl.c: Likewise.
30813         * math/Makefile (libm-calls): Add w_scalbln.
30814         * sysdeps/ieee754/flt-32/s_scalblnf.c:
30815         Remove weak_alias for corresponding scalbln function.
30816         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
30817         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
30818         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
30819         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
30820         * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
30821         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
30822         * sysdeps/i386/fpu/s_scalbn.S: Likewise.
30823         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
30824         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
30825         * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
30826         Remove long_double_symbol for scalblnl function in libm, libc.
30827         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
30828         Add wrapper which checks for setting errno to ERANGE.
30829         Add long_double_symbol for scalblnl function in libm, libc.
30830         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
30831         Remove long_double_symbol for scalblnl in libm.
30832         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
30833         Add wrapper which checks for setting errno to ERANGE.
30834         Add long_double_symbol for scalblnl function in libm.
30835         * sysdeps/ia64/fpu/w_scalblnf.c: New File.
30836         Do not use wrapper because of own implementation.
30838 2014-06-19  H.J. Lu  <hongjiu.lu@intel.com>
30840         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
30841         3 bytes for __pad1 for x32.
30842         (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
30844 2014-06-19  Ling Ma  <ling.ml@alibaba-inc.com>
30845             H.J. Lu  <hongjiu.lu@intel.com>
30847         * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
30848         * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
30849         * sysdeps/x86_64/multiarch/memset.S: Likewise.
30850         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
30851         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
30853 2014-06-19  Andreas Schwab  <schwab@linux-m68k.org>
30855         [BZ #17069]
30856         * posix/regcomp.c (parse_expression): Deallocate partially
30857         constructed tree before returning error.
30858         * posix/Makefile.c (tests): Add bug-regex36.
30859         (generated): Add bug-regex36.mtrace.
30860         (tests-special): Add $(objpfx)bug-regex36-mem.out
30861         (bug-regex36-ENV): New variable.
30862         ($(objpfx)bug-regex36-mem.out): New rule.
30863         * posix/bug-regex36.c: New file.
30865 2014-06-19  Will Newton  <will.newton@linaro.org>
30867         * malloc/malloc.c (systrim): If extra is zero then return
30868         early.
30870 2014-06-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
30872         * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
30874 2014-06-19  Richard Earnshaw  <rearnsha@arm.com>
30876         * sysdeps/aarch64/strchr.S: New file.
30878 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
30880         [BZ #17022]
30881         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
30882         from arguments -2 or below.
30883         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
30884         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
30886 2014-06-18  Andreas Schwab  <schwab@suse.de>
30888         [BZ #17062]
30889         * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
30890         of a bracket expr not to run off the end of the string.
30891         * posix/Makefile (tests): Add tst-fnmatch3.
30892         * posix/tst-fnmatch3.c: New file.
30894 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
30896         * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
30897         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
30898         [$(cross-compiling) = no]: Likewise.
30899         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
30900         [$(cross-compiling) = no]: Likewise.
30902 2014-16-17  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
30904         [BZ #17031]
30905         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
30906         double, adjusted for any remainder from the high double.
30907         * math/libm-test.inc (nearbyint): Add tests.
30908         (rint): Likewise.
30910 2014-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30912         * nptl/sysdeps/powerpc/Makefile: Moved ...
30913         * sysdeps/powerpc/nptl/Makefile: ... here.
30914         * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
30915         * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
30916         * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
30917         * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
30918         * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
30919         * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
30920         * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
30921         * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
30922         * nptl/sysdeps/powerpc/tls.h: Moved ...
30923         * sysdeps/powerpc/nptl/tls.h: ... here.
30925 2014-06-16  Joseph Myers  <joseph@codesourcery.com>
30927         [BZ #16681]
30928         * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
30929         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
30930         * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
30931         * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
30932         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
30933         * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
30934         * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
30935         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
30936         * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
30938 2014-06-17  Andreas Schwab  <schwab@linux-m68k.org>
30940         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
30942 2014-06-16  Andreas Schwab  <schwab@linux-m68k.org>
30944         * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
30945         defined operator.
30947         * scripts/cross-test-ssh.sh (timeoutfactor): Default to
30948         $TIMEOUTFACTOR.
30950 2014-06-16  Florian Weimer  <fweimer@redhat.com>
30952         [BZ #17058]
30953         * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
30954         non-executed part of the test.
30956 2014-06-16  Andreas Schwab  <schwab@suse.de>
30958         * string/bits/string2.h (strdup, strndup): Update feature guard.
30960 2014-06-14  David S. Miller  <davem@davemloft.net>
30962         * sysdeps/sparc/fpu/libm-test-ulps: Update.
30964 2014-06-14  Andreas Schwab  <schwab@linux-m68k.org>
30966         * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
30967         that was previously under [RESET_PID].
30968         * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
30970         * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
30971         * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
30972         * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
30973         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
30974         (__libc_vfork): New strong alias.
30975         * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
30977 2014-06-14 Andi Kleen  <ak@linux.intel.com>
30979         * sysdeps/generic/elide.h: New file.
30981 2014-06-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
30983         * Makefile (installed-headers): Adjust path of pthread.h header.
30985 2014-06-13  Roland McGrath  <roland@hack.frob.com>
30987         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
30988         * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
30989         * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
30990         * sysdeps/s390/nptl/bits/semaphore.h: ... here.
30992         * nptl/sysdeps/s390/Makefile: Moved ...
30993         * sysdeps/s390/nptl/Makefile: ... here.
30994         * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
30995         * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
30996         * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
30997         * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
30998         * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
30999         * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
31000         * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
31001         * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
31002         * nptl/sysdeps/s390/pthreaddef.h: Moved ...
31003         * sysdeps/s390/nptl/pthreaddef.h: ... here.
31004         * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
31005         * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
31006         * nptl/sysdeps/s390/tls.h: Moved ...
31007         * sysdeps/s390/nptl/tls.h: ... here.
31009         * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
31010         * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
31012 2014-06-13  David S. Miller  <davem@davemloft.net>
31014         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
31015         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
31016         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
31017         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
31018         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
31019         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
31020         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
31021         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
31022         * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
31023         * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
31024         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
31025         Remove RESET_PID cpp guards.
31026         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
31027         Remove RESET_PID cpp guards.
31028         * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
31030 2014-06-13  Andreas Schwab  <schwab@linux-m68k.org>
31032         * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
31033         __sp to uintptr_t.
31035 2014-06-13  Andi Kleen  <ak@linux.intel.com>
31037         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
31038         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
31039         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
31040         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
31041         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
31042         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
31043         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
31044         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
31045         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
31046         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
31047         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
31048         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
31049         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
31050         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
31051         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
31052         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
31053         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
31054         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
31055         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
31056         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
31058         * nptl/pthread_rwlock_rdlock.c: Include elide.h.
31059         (pthread_rwlock_rdlock): Add elision.
31060         * nptl/pthread_rwlock_wrlock.c: Include elide.h.
31061         (pthread_rwlock_wrlock): Add elision.
31062         * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
31063         (pthread_rwlock_trywrlock): Add elision.
31064         * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
31065         (pthread_rwlock_tryrdlock): Add elision.
31066         * nptl/pthread_rwlock_unlock.c: Include elide.h.
31067         (pthread_rwlock_tryrdlock): Add elision unlock.
31068         * nptl/sysdeps/pthread/pthread.h:
31069         (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
31070         (PTHREAD_RWLOCK_INITIALIZER,
31071         PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
31072         Handle new elision field.
31073         * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
31074         * sysdeps/arm/nptl/bits/pthreadtypes.h
31075         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
31076         * sysdeps/sh/nptl/bits/pthreadtypes.h
31077         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
31078         * sysdeps/tile/nptl/bits/pthreadtypes.h
31079         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
31080         * sysdeps/a/nptl/bits/pthreadtypes.h
31081         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
31082         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
31083         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
31084         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
31085         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
31086         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
31087         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
31088         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
31089         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
31090         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
31091         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
31092         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
31093         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
31094         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
31095         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
31096         * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
31097         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
31098         * sysdeps/unix/sysv/linux/x86/elision-conf.c:
31099         (elision_init): Set try_xbegin to zero when no RTM.
31100         * sysdeps/x86/nptl/bits/pthreadtypes.h
31101         (pthread_rwlock_t): Change __pad1 to __rwelision.
31102         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
31104 2014-06-13  Andi Kleen  <ak@linux.intel.com>
31106         * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
31107         Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
31108         * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
31109         Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
31111 2014-06-13  Meador Inge  <meadori@codesourcery.com>
31113         [BZ #16996]
31114         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
31115         that the cached result has been set before returning it.
31117 2014-06-12  Roland McGrath  <roland@hack.frob.com>
31119         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
31120         * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
31121         * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
31122         * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
31123         * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
31124         * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
31126         * nptl/sysdeps/sparc/Makefile: Moved ...
31127         * sysdeps/sparc/nptl/Makefile: ... here.
31128         * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
31129         * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
31130         * nptl/sysdeps/sparc/tls.h: Moved ...
31131         * sysdeps/sparc/nptl/tls.h: ... here.
31132         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
31133         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
31134         * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
31135         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
31136         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
31137         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
31138         * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
31139         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
31140         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
31141         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
31142         * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
31143         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
31144         * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
31145         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
31146         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
31147         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
31148         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
31149         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
31150         Update #include.
31151         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
31152         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
31153         Update #include.
31154         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
31155         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
31156         Update #include.
31157         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
31158         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
31159         Update #include.
31161         * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
31163         * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
31164         * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
31166         * sysdeps/pthread/posix-timer.h: Include <list.h>.
31167         (struct list_links): Type removed.
31168         (struct thread_node, struct timer_node): Replace struct list_links
31169         with struct list_head.
31170         (list_unlink_ip): Likewise.
31171         * sysdeps/pthread/timer_routines.c
31172         (timer_free_list, thread_free_list, thread_active_list): Likewise.
31173         (list_append, list_insbefore): Likewise.
31174         (list_init): Function removed.
31175         (thread_init, init_module): Use INIT_LIST_HEAD instead.
31176         * sysdeps/nptl/Makefile: Move tst-timer bits to ...
31177         * sysdeps/pthread/Makefile: ... here, new file.
31179         * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
31180         * sysdeps/nptl/Implies: ... here.
31181         * sysdeps/unix/sysv/linux/Implies: Add nptl.
31182         * nptl/sysdeps/pthread/list.h: Moved ...
31183         * include/list.h: ... here.
31184         * nptl/sysdeps/pthread/createthread.c: Moved ...
31185         * nptl/createthread.c: ... here.
31186         * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
31187         * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
31188         * nptl/pt-longjmp.c: ... here.
31189         * nptl/sysdeps/pthread/Makefile: Moved ...
31190         * sysdeps/nptl/Makefile: ... here.
31191         * nptl/sysdeps/pthread/Subdirs: Moved ...
31192         * sysdeps/nptl/Subdirs: ... here.
31193         * nptl/sysdeps/pthread/aio_misc.h: Moved ...
31194         * sysdeps/nptl/aio_misc.h: ... here.
31195         * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
31196         * sysdeps/nptl/bits/libc-lock.h: ... here.
31197         * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
31198         * sysdeps/nptl/bits/libc-lockP.h: ... here.
31199         * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
31200         * sysdeps/nptl/bits/stdio-lock.h: ... here.
31201         * nptl/sysdeps/pthread/configure: Moved ...
31202         * sysdeps/nptl/configure: ... here.
31203         * nptl/sysdeps/pthread/configure.ac: Moved ...
31204         * sysdeps/nptl/configure.ac: ... here.
31205         * nptl/sysdeps/pthread/gai_misc.h: Moved ...
31206         * sysdeps/nptl/gai_misc.h: ... here.
31207         * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
31208         * sysdeps/nptl/librt-cancellation.c: ... here.
31209         * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
31210         * sysdeps/nptl/malloc-machine.h: ... here.
31211         * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
31212         * sysdeps/nptl/pthread-functions.h: ... here.
31213         * nptl/sysdeps/pthread/pthread.h: Moved ...
31214         * sysdeps/nptl/pthread.h: ... here.
31215         * nptl/sysdeps/pthread/setxid.h: Moved ...
31216         * sysdeps/nptl/setxid.h: ... here.
31217         * nptl/sysdeps/pthread/sigfillset.c: Moved ...
31218         * sysdeps/nptl/sigfillset.c: ... here.
31219         * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
31220         * sysdeps/nptl/tcb-offsets.h: ... here.
31221         * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
31222         * sysdeps/nptl/tst-mqueue8x.c: ... here.
31223         * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
31224         * sysdeps/nptl/unwind-forcedunwind.c: ... here.
31225         * nptl/sysdeps/pthread/allocalim.h: Moved ...
31226         * sysdeps/pthread/allocalim.h: ... here.
31227         * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
31228         * sysdeps/pthread/bits/sigthread.h: ... here.
31229         * nptl/sysdeps/pthread/flockfile.c: Moved ...
31230         * sysdeps/pthread/flockfile.c: ... here.
31231         * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
31232         * sysdeps/pthread/ftrylockfile.c: ... here.
31233         * nptl/sysdeps/pthread/funlockfile.c: Moved ...
31234         * sysdeps/pthread/funlockfile.c: ... here.
31235         * nptl/sysdeps/pthread/posix-timer.h: Moved ...
31236         * sysdeps/pthread/posix-timer.h: ... here.
31237         * nptl/sysdeps/pthread/timer_create.c: Moved ...
31238         * sysdeps/pthread/timer_create.c: ... here.
31239         * nptl/sysdeps/pthread/timer_delete.c: Moved ...
31240         * sysdeps/pthread/timer_delete.c: ... here.
31241         * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
31242         * sysdeps/pthread/timer_getoverr.c: ... here.
31243         * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
31244         * sysdeps/pthread/timer_gettime.c: ... here.
31245         * nptl/sysdeps/pthread/timer_routines.c: Moved ...
31246         * sysdeps/pthread/timer_routines.c: ... here.
31247         * nptl/sysdeps/pthread/timer_settime.c: Moved ...
31248         * sysdeps/pthread/timer_settime.c: ... here.
31249         * nptl/sysdeps/pthread/tst-timer.c: Moved ...
31250         * sysdeps/pthread/tst-timer.c: ... here.
31251         * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
31252         * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
31254         * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
31255         * nptl/sysdeps/pthread/sigprocmask.c: File removed.
31257         * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
31258         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
31259         * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
31260         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
31261         Update #include target.
31262         * nptl/sysdeps/i386/i686/Makefile: Moved ...
31263         * sysdeps/i386/i686/nptl/Makefile: ... here.
31264         * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
31265         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
31266         Update #include target.
31267         * nptl/sysdeps/i386/i686/tls.h: Moved ...
31268         * sysdeps/i386/i686/nptl/tls.h: ... here.  Use #include_next.
31269         * nptl/sysdeps/i386/Makefile: Moved ...
31270         * sysdeps/i386/nptl/Makefile: ... here.
31271         * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
31272         * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
31273         * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
31274         * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
31275         * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
31276         * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
31277         * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
31278         * nptl/sysdeps/i386/pthreaddef.h: Moved ...
31279         * sysdeps/i386/nptl/pthreaddef.h: ... here.
31280         * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
31281         * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
31282         * nptl/sysdeps/i386/tls.h: Moved ...
31283         * sysdeps/i386/nptl/tls.h: ... here.
31285         * sysdeps/sh/Makefile [$(subdir) = csu]
31286         (gen-as-const-headers): Add tcb-offsets.sym.
31287         * nptl/sysdeps/sh/Makefile: File removed.
31288         * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
31289         * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
31290         * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
31291         * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
31292         * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
31293         * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
31294         * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
31295         * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
31296         * nptl/sysdeps/sh/pthreaddef.h: Moved ...
31297         * sysdeps/sh/nptl/pthreaddef.h: ... here.
31298         * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
31299         * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
31300         * nptl/sysdeps/sh/tls.h: Moved ...
31301         * sysdeps/sh/nptl/tls.h: ... here.
31302         * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
31303         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
31304         * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
31305         * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
31306         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
31307         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
31308         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
31309         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
31310         * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
31311         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
31312         * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
31313         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
31314         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
31315         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
31316         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
31317         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
31318         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
31319         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
31320         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
31321         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
31322         * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
31323         * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
31324         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
31325         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
31326         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
31327         Moved ...
31328         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
31329         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
31330         Moved ...
31331         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
31332         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
31333         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
31334         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
31335         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
31336         * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
31337         * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
31338         * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
31339         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
31340         * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
31341         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
31342         * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
31343         * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
31344         * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
31345         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
31346         * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
31347         * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
31348         * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
31349         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
31351 2014-06-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
31353         * posix/spawn_faction_addopen.c: Include string.h.
31355 2014-06-11  Roland McGrath  <roland@hack.frob.com>
31357         * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
31358         * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
31359         * nptl/sysdeps/x86_64/Makefile: Moved ...
31360         * sysdeps/x86_64/nptl/Makefile: ... here.
31361         * nptl/sysdeps/x86_64/configure: Moved ...
31362         * sysdeps/x86_64/nptl/configure: ... here.
31363         * nptl/sysdeps/x86_64/configure.ac: Moved ...
31364         * sysdeps/x86_64/nptl/configure.ac: ... here.
31365         * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
31366         * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
31367         * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
31368         * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
31369         * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
31370         * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
31371         * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
31372         * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
31373         * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
31374         * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
31375         * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
31376         * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
31377         * nptl/sysdeps/x86_64/tls.h: Moved ...
31378         * sysdeps/x86_64/nptl/tls.h: ... here.
31379         * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
31380         * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
31381         * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
31382         * sysdeps/x86_64/x32/nptl/tls.h: ... here.
31384         * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
31386 2014-06-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31388         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31390 2014-06-11  Joseph Myers  <joseph@codesourcery.com>
31392         * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
31393         type.
31394         [POSIX] (off_t): Likewise.
31395         * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
31396         [POSIX] (S_ISBLK): Require macro.
31397         [POSIX] (S_ISCHR): Likewise.
31398         [POSIX] (S_ISDIR): Likewise.
31399         [POSIX] (S_ISFIFO): Likewise.
31400         [POSIX] (S_ISREG): Likewise.
31401         [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
31402         optional-macro.
31403         * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
31404         type.
31405         [POSIX] (time_t): Likewise.
31406         [POSIX] (timer_t): Likewise.
31408 2014-06-11  Florian Weimer  <fweimer@redhat.com>
31410         [BZ #17048]
31411         * posix/spawn_int.h (struct __spawn_action): Make the path string
31412         non-const to support deallocation.
31413         * posix/spawn_faction_addopen.c
31414         (posix_spawn_file_actions_addopen): Make a copy of the pathname.
31415         * posix/spawn_faction_destroy.c
31416         (posix_spawn_file_actions_destroy): Adjust comment.  Deallocate
31417         path in all spawn_do_open actions.
31418         * posix/tst-spawn.c (do_test): Exercise the copy operation in
31419         posix_spawn_file_actions_addopen.
31421 2014-06-11  Chris Metcalf  <cmetcalf@tilera.com>
31423         * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
31424         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
31425         * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
31426         conditional code always true.
31427         (__libc_vfork): New alias.
31429 2014-06-11  Roland McGrath  <roland@hack.frob.com>
31431         * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
31432         * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
31434         * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
31436         * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
31437         * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
31439         * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
31440         * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
31442         * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
31443         * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
31445 2014-06-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
31447         * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
31448         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
31449         multiarch strcmp for PPC64.
31450         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
31451         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
31452         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
31453         multiarch optimizations.
31454         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
31455         (__libc_ifunc_impl_list): Likewise.
31457 2014-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
31459         * benchtests/scripts/validate_benchout.py: New script.
31460         * benchtests/Makefile (bench-func): Call it.
31461         * benchtests/scripts/benchout.schema.json: New file.
31463 2014-06-10  Chris Metcalf  <cmetcalf@tilera.com>
31465         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
31466         * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
31467         * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
31468         * sysdeps/tile/nptl/bits/semaphore.h: ... here.
31469         * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
31470         * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
31471         * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
31472         * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
31473         * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
31474         * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
31475         * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
31476         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
31477         * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
31478         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
31479         * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
31480         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
31481         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
31482         Moved ...
31483         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
31484         ... here.
31485         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
31486         Moved ...
31487         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
31488         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
31489         Moved ...
31490         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
31491         ... here.
31492         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
31493         Moved ...
31494         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
31495         ... here.
31496         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
31497         Moved ...
31498         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
31499         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
31500         Moved ...
31501         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
31502         ... here.
31503         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
31504         Moved ...
31505         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
31506         ... here.
31507         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
31508         Moved ...
31509         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
31510         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
31511         Moved ...
31512         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
31513         ... here.
31514         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
31515         Moved ...
31516         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
31517         ... here.
31518         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
31519         Moved ...
31520         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
31521         ... here.
31522         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
31523         Moved ...
31524         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
31525         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
31526         Moved ...
31527         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
31528         ... here.
31529         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
31530         Moved ...
31531         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
31532         ... here.
31533         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
31534         Moved ...
31535         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
31536         ... here.
31537         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
31538         Moved ...
31539         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
31540         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
31541         Moved ...
31542         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
31543         ... here.
31544         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
31545         Moved ...
31546         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
31547         ... here.
31548         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
31549         Moved ...
31550         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
31551         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
31552         Moved ...
31553         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
31554         ... here.
31555         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
31556         Moved ...
31557         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
31558         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
31559         Moved ...
31560         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
31561         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
31562         Moved ...
31563         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
31564         ... here.
31565         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
31566         Moved ...
31567         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
31568         ... here.
31569         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
31570         Moved ...
31571         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
31572         ... here.
31573         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
31574         Moved ...
31575         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
31576         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
31577         Moved ...
31578         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
31579         ... here.
31580         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
31581         Moved ...
31582         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
31583         ... here.
31584         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
31585         * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
31586         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
31587         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
31588         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
31589         Moved ...
31590         * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
31591         ... here.
31592         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
31593         * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
31594         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
31595         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
31596         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
31597         * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
31598         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
31599         * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
31600         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
31601         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
31602         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
31603         * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
31604         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
31605         Moved ...
31606         * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
31607         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
31608         Moved ...
31609         * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
31610         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
31611         * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
31612         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
31613         Moved ...
31614         * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
31615         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
31616         * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
31617         * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
31618         * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
31619         * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
31620         * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
31622 2014-06-10  Wilco  <wdijkstr@arm.com>
31624         * math/test-fenv-return.c: New file.
31625         * math/Makefile: Add new test test-fenv-return.
31627 2014-06-10  Joseph Myers  <joseph@codesourcery.com>
31629         [BZ #17042]
31630         * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
31631         when x - 1 is zero.
31632         * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
31633         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
31634         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
31635         0.0L for an argument of 1.0L.
31636         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
31637         Likewise.
31638         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
31639         value when x - 1 is zero.
31640         * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
31641         * sysdeps/i386/fpu/libm-test-ulps: Update.
31642         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31644 2014-06-09  Bernard Ogden  <bernie.ogden@linaro.org>
31646         [BZ #15119]
31647         * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
31649 2014-06-09  Roland McGrath  <roland@hack.frob.com>
31651         * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
31652         * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
31654 2014-06-09  Roland McGrath  <roland@hack.frob.com>
31656         * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
31657         * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
31659         * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
31660         * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
31662         * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
31663         * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
31665         * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
31666         * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
31668         * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
31669         if not already defined.
31670         (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
31671         * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
31672         * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
31673         (TLS_INIT_TP): Use it.
31674         (TLS_DEFINE_INIT_TP): New macro.
31675         * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
31677 2014-06-09  Joseph Myers  <joseph@codesourcery.com>
31679         * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
31680         constant.
31681         [POSIX] (IXANY): Likewise.
31682         [POSIX] (OLCUC): Likewise.
31683         [POSIX || POSIX2008] (CBAUD): Do not allow.
31684         [POSIX || POSIX2008] (DEFECHO): Likewise.
31685         [POSIX || POSIX2008] (ECHOCTL): Likewise.
31686         [POSIX || POSIX2008] (ECHOKE): Likewise.
31687         [POSIX || POSIX2008] (ECHOPRT): Likewise.
31688         [POSIX || POSIX2008] (EXTA): Likewise.
31689         [POSIX || POSIX2008] (EXTB): Likewise.
31690         [POSIX || POSIX2008] (FLUSHO): Likewise.
31691         [POSIX || POSIX2008] (LOBLK): Likewise.
31692         [POSIX || POSIX2008] (PENDIN): Likewise.
31693         [POSIX || POSIX2008] (SWTCH): Likewise.
31694         [POSIX || POSIX2008] (VDISCARD): Likewise.
31695         [POSIX || POSIX2008] (VDSUSP): Likewise.
31696         [POSIX || POSIX2008] (VLNEXT): Likewise.
31697         [POSIX || POSIX2008] (VREPRINT): Likewise.
31698         [POSIX || POSIX2008] (VSTATUS): Likewise.
31699         [POSIX || POSIX2008] (VWERASE): Likewise.
31700         (B*): Change to B[0123456789]*.
31701         * conform/data/time.h-data [POSIX || UNIX98]
31702         (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
31703         [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
31704         [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
31705         [POSIX] (tm_*): Do not allow.
31707 2014-06-07  Joseph Myers  <joseph@codesourcery.com>
31709         * Makefile (install): Don't set LANGUAGE.
31710         * Makefile.in (install): Likewise.
31711         * assert/Makefile (test-assert-ENV): Remove variable.
31712         (test-assert-perr-ENV): Likewise.
31713         * elf/Makefile (neededtest4-ENV): Likewise.
31714         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
31715         [$(cross-compiling) = no]: Don't set LANGUAGE.
31716         * io/ftwtest-sh (LANG): Remove variable.
31717         * libio/Makefile (tst-widetext-ENV): Likewise.
31718         * manual/install.texi (Running make install): Don't refer to
31719         environment settings for make install.
31720         * INSTALL: Regenerated.
31721         * nptl/tst-tls6.sh: Don't set LANG.
31722         * posix/globtest.sh (LANG): Remove variable.
31723         * string/Makefile (tester-ENV): Likewise.
31724         (inl-tester-ENV): Likewise.
31725         (noinl-tester-ENV): Likewise.
31726         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
31727         [$(cross-compiling) = no]: Don't set LANGUAGE.
31728         * timezone/Makefile (build-testdata): Use $(built-program-cmd)
31729         without explicit environment settings.
31731 2014-06-06  Roland McGrath  <roland@hack.frob.com>
31733         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
31734         * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
31735         * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
31736         * sysdeps/sh/nptl/bits/semaphore.h: ... here.
31738 2014-06-06  Chris Metcalf  <cmetcalf@tilera.com>
31740         * crypt/crypt-private.h [DOS]: Add some includes taken from the
31741         other files in the crypt directory.
31742         * crypt/crypt.c: Remove duplicate includes.
31743         * crypt/crypt-entry.c: Likewise.
31744         * crypt/crypt_util.c: Likewise.
31746 2014-06-06  Joseph Myers  <joseph@codesourcery.com>
31748         * Makeconfig (run-program-env): New variable.
31749         (run-program-prefix-before-env): Likewise.
31750         (run-program-prefix-after-env): Likewise.
31751         (run-program-prefix): Define in terms of new variables.
31752         (built-program-cmd-before-env): New variable.
31753         (built-program-cmd-after-env): Likewise.
31754         (built-program-cmd): Define in terms of new variables.
31755         (test-program-prefix-before-env): New variable.
31756         (test-program-prefix-after-env): Likewise.
31757         (test-program-prefix): Define in terms of new variables.
31758         (test-program-cmd-before-env): New variable.
31759         (test-program-cmd-after-env): Likewise.
31760         (test-program-cmd): Define in terms of new variables.
31761         * Rules (make-test-out): Use $(run-program-env).
31762         * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
31763         (help): Do not mention environment variables.  Mention
31764         --timeoutfactor option.
31765         (timeoutfactor): New variable.
31766         (blacklist_exports): Remove function.
31767         (exports): Remove variable.
31768         (command): Do not include ${exports}.
31769         * manual/install.texi (Configuring and compiling): Do not mention
31770         test wrappers preserving environment variables.  Mention that last
31771         assignment to a variable must take precedence.
31772         * INSTALL: Regenerated.
31773         * benchtests/Makefile (run-bench): Use $(run-program-env).
31774         * catgets/Makefile ($(objpfx)test1.cat): Use
31775         $(built-program-cmd-before-env), $(run-program-env) and
31776         $(built-program-cmd-after-env).
31777         ($(objpfx)test2.cat): Do not specify environment variables
31778         explicitly.
31779         ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
31780         $(run-program-env) and $(built-program-cmd-after-env).
31781         ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
31782         $(run-program-env) and $(test-program-cmd-after-env).
31783         ($(objpfx)sample.SJIS.cat): Do not specify environment variables
31784         explicitly.
31785         * catgets/test-gencat.sh: Use test_program_cmd_before_env,
31786         run_program_env and test_program_cmd_after_env arguments.
31787         * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
31788         * elf/tst-pathopt.sh: Use run_program_env argument.
31789         * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
31790         $(test-wrapper-env) and $(run-program-env).
31791         * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
31792         run_program_env arguments.
31793         * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
31794         * intl/Makefile ($(objpfx)tst-gettext.out): Use
31795         $(test-program-prefix-before-env), $(run-program-env) and
31796         $(test-program-prefix-after-env).
31797         ($(objpfx)tst-gettext2.out): Likewise.
31798         * intl/tst-gettext.sh: Use test_program_prefix_before_env,
31799         run_program_env and test_program_prefix_after_env arguments.
31800         * intl/tst-gettext2.sh: Likewise.
31801         * intl/tst-gettext4.sh: Do not set environment variables
31802         explicitly.
31803         * intl/tst-gettext6.sh: Likewise.
31804         * intl/tst-translit.sh: Likewise.
31805         * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
31806         $(test-program-prefix-before-env), $(run-program-env) and
31807         $(test-program-prefix-after-env).
31808         * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
31809         run_program_env and test_program_prefix_after_env arguments.
31810         * math/Makefile (run-regen-ulps): Use $(run-program-env).
31811         * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
31812         * nptl/tst-tls6.sh: Use run_program_env argument.  Set LANG=C
31813         explicitly with each use of ${test_wrapper_env}.
31814         * posix/Makefile ($(objpfx)wordexp-tst.out): Use
31815         $(test-program-prefix-before-env), $(run-program-env) and
31816         $(test-program-prefix-after-env).
31817         * posix/tst-getconf.sh: Do not set environment variables
31818         explicitly.
31819         * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
31820         run_program_env and test_program_prefix_after_env arguments.
31821         * stdio-common/tst-printf.sh: Do not set environment variables
31822         explicitly.
31823         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
31824         $(test-program-prefix-before-env), $(run-program-env) and
31825         $(test-program-prefix-after-env).
31826         * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
31827         run_program_env and test_program_prefix_after_env arguments.
31828         Split $test calls into $test_pre and $test.
31829         * timezone/Makefile (build-testdata): Use
31830         $(built-program-cmd-before-env), $(run-program-env) and
31831         $(built-program-cmd-after-env).
31833 2014-06-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31835         * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
31836         strlen for non SHARED builds.
31838 2014-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
31840         * nptl/allocatestack.c (check_list): Inlined function...
31841         (__reclaim_stacks): ... here.
31843 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
31845         [BZ #15698]
31846         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
31847         memory overrun.
31849 2014-06-05  Joseph Myers  <joseph@codesourcery.com>
31851         * Rules (make-test-out): Include
31852         LOCPATH=$(common-objpfx)localedata in default environment.
31853         * debug/Makefile (tst-chk1-ENV): Remove variable.
31854         (tst-chk2-ENV): Likewise.
31855         (tst-chk3-ENV): Likewise.
31856         (tst-chk4-ENV): Likewise.
31857         (tst-chk5-ENV): Likewise.
31858         (tst-chk6-ENV): Likewise.
31859         (tst-lfschk1-ENV): Likewise.
31860         (tst-lfschk2-ENV): Likewise.
31861         (tst-lfschk3-ENV): Likewise.
31862         (tst-lfschk4-ENV): Likewise.
31863         (tst-lfschk5-ENV): Likewise.
31864         (tst-lfschk6-ENV): Likewise.
31865         * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
31866         (tst-iconv7-ENV): Likewise.
31867         * intl/Makefile (LOCPATH-ENV): Likewise.
31868         (tst-codeset-ENV): Likewise.
31869         (tst-gettext3-ENV): Likewise.
31870         (tst-gettext5-ENV): Likewise.
31871         * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
31872         (tst-fopenloc-ENV): Likewise.
31873         (tst-fgetws-ENV): Remove variable.
31874         (tst-ungetwc1-ENV): Likewise.
31875         (tst-ungetwc2-ENV): Likewise.
31876         (bug-ungetwc2-ENV): Likewise.
31877         (tst-swscanf-ENV): Likewise.
31878         (bug-ftell-ENV): Likewise.
31879         (tst-fgetwc-ENV): Likewise.
31880         (tst-fseek-ENV): Likewise.
31881         (tst-ftell-partial-wide-ENV): Likewise.
31882         (tst-ftell-active-handler-ENV): Likewise.
31883         (tst-ftell-append-ENV): Likewise.
31884         * posix/Makefile (tst-fnmatch-ENV): Likewise.
31885         (tst-regexloc-ENV): Likewise.
31886         (bug-regex1-ENV): Likewise.
31887         (tst-regex-ENV): Likewise.
31888         (tst-regex2-ENV): Likewise.
31889         (bug-regex5-ENV): Likewise.
31890         (bug-regex6-ENV): Likewise.
31891         (bug-regex17-ENV): Likewise.
31892         (bug-regex18-ENV): Likewise.
31893         (bug-regex19-ENV): Likewise.
31894         (bug-regex20-ENV): Likewise.
31895         (bug-regex22-ENV): Likewise.
31896         (bug-regex23-ENV): Likewise.
31897         (bug-regex25-ENV): Likewise.
31898         (bug-regex26-ENV): Likewise.
31899         (bug-regex30-ENV): Likewise.
31900         (bug-regex32-ENV): Likewise.
31901         (bug-regex33-ENV): Likewise.
31902         (bug-regex34-ENV): Likewise.
31903         (bug-regex35-ENV): Likewise.
31904         (tst-rxspencer-ENV): Likewise.
31905         (tst-rxspencer-no-utf8-ENV): Likewise.
31906         * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
31907         (tst-sscanf-ENV): Likewise.
31908         (tst-swprintf-ENV): Likewise.
31909         (tst-swscanf-ENV): Likewise.
31910         (test-vfprintf-ENV): Likewise.
31911         (scanf13-ENV): Likewise.
31912         (bug14-ENV): Likewise.
31913         (tst-grouping-ENV): Likewise.
31914         * stdlib/Makefile (tst-strtod-ENV): Likewise.
31915         (tst-strtod3-ENV): Likewise.
31916         (tst-strtod4-ENV): Likewise.
31917         (tst-strtod5-ENV): Likewise.
31918         (testmb2-ENV): Likewise./
31919         * string/Makefile (tst-strxfrm-ENV): Likewise.
31920         (tst-strxfrm2-ENV): Likewise.
31921         (bug-strcoll1-ENV): Likewise.
31922         (test-strcasecmp-ENV): Likewise.
31923         (test-strncasecmp-ENV): Likewise.
31924         * time/Makefile (tst-strptime-ENV): Likewise.
31925         (tst-ftime_l-ENV): Likewise.
31926         * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
31927         (tst-mbrtowc-ENV): Likewise.
31928         (tst-wcrtomb-ENV): Likewise.
31929         (tst-mbrtowc2-ENV): Likewise.
31930         (tst-c16c32-1-ENV): Likewise.
31931         (tst-mbsnrtowcs-ENV): Likewise.
31933 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
31935         * manual/resource.texi (How to get information about the memory
31936         subsystem?): Fix typo.
31937         Reported by Peon de la Parra Ivan <peon@keba.com>
31939 2014-06-03  Guo Yixuan  <culu.gyx@gmail.com>
31941         [BZ #16882]
31942         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
31943         (pthread_spin_lock): Branch out of spin loop to proper location.
31944         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
31945         (pthread_spin_lock): Likewise.
31947         * nptl/tst-spin4.c: New test.
31948         * nptl/Makefile (tests): Add tst-spin4.
31950 2014-06-03  Andreas Schwab  <schwab@suse.de>
31952         [BZ #15946]
31953         * resolv/res_send.c (send_dg): Reload file descriptor after
31954         calling reopen.
31956 2014-06-03  Stefan Liebler  <stli@linux.vnet.ibm.com>
31958         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
31960 2014-06-03  Richard Henderson  <rth@redhat.com>
31962         * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
31963         * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
31964         * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
31965         SAVE_PID and RESTORE_PID blocks from pt-vfork.S.  Map 0 to INT_MIN
31966         in the SAVE_PID block.
31967         (__libc_vfork): New alias.
31968         * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
31970         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
31971         child in registers, not on the stack.  Remove RESET_PID conditionals.
31972         * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
31974 2014-06-03  Marcus Shawcroft  <marcus.shawcroft@arm.com>
31976         * sysdeps/aarch64/libm-test-ulps: Regenerate.
31978 2014-06-03  Wilco  <wdijkstr@arm.com>
31980         * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
31981         (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
31982         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
31983         Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
31984         * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
31985         Likewise.
31987 2014-06-03  Wilco  <wdijkstr@arm.com>
31989         * sysdeps/aarch64/fpu/math_private.h
31990         (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
31991         (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
31992         (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
31993         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
31994         Fix declarations.
31996 2014-06-03  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
31998         * crypt/crypt-private.h: Include ufc-crypt.h.
31999         (__b64_from_24bit): Declare extern.
32000         * crypt/crypt_util.c(__b64_from_24bit): New function.
32001         (b64t): New static const variable.
32002         * crypt/md5-crypt.c (b64_from_24bit): Remove function.
32003         (b64t): Remove variable.
32004         (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
32005         * crypt/sha256-crypt.c: Include crypt-private.h.
32006         (b64t): Remove variable.
32007         (__sha256_crypt_r): Remove b64_from_24bit and replace
32008         with __b64_from_24bit.
32009         * crypt/sha512-crypt.c: Likewise.
32011 2014-06-02  Roland McGrath  <roland@hack.frob.com>
32013         * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
32014         * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
32015         Label the code __libc_vfork rather than __vfork.
32016         [!NOT_IN_libc] (vfork): Define as weak alias.
32017         [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
32018         * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
32019         * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
32021 2014-06-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
32023         * malloc/malloc.c (malloc_info): Fix format specifier for
32024         n_mmaps.
32026 2014-06-02  Wilco  <wdijkstr@arm.com>
32028         * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
32029         FPCR write.
32031 2014-06-02  Wilco  <wdijkstr@arm.com>
32033         [BZ #17009]
32034         * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
32035         Rewrite to reduce FPCR/FPSR accesses.
32037 2014-06-01  David S. Miller  <davem@davemloft.net>
32039         * sysdeps/sparc/fpu/libm-test-ulps: Update.
32041 2014-05-31  David S. Miller  <davem@davemloft.net>
32043         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
32044         to occur in round to nearest mode when |x| >= 2.0
32046 2014-05-30  Richard Henderson  <rth@twiddle.net>
32048         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
32049         (PSEUDO_RET_NOERRNO): Remove.
32050         (ret): Don't redefine.
32051         (ret_NOERRNO): Define in terms of ret.
32052         (ret_ERRVAL): Likewise.
32054         * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
32055         use of PSEUDO_RET; perform the error check directly.
32057 2014-05-30 Marko Myllynen  <myllynen@redhat.com>
32059         * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
32060         with __int128_t.
32062 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
32064         * malloc/malloc (malloc_info): Fix formatting.
32066 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
32067             Roland McGrath  <roland@hack.frob.com>
32069         * malloc/malloc (malloc_info): Also print mmapped statistics.
32071 2014-05-30  Roland McGrath  <roland@hack.frob.com>
32073         * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
32074         * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
32076 2014-05-30  Ondřej Bílka  <neleai@seznam.cz>
32078         * malloc/malloc.c (malloc_info): Inline mi_arena.
32080 2014-05-29  Richard Henderson  <rth@twiddle.net>
32082         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
32083         Remove comma before expanding ASM_ARGS_##nr.
32084         (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
32085         Make _x0 a strict output; make _x8 a strict input; adjust expansion
32086         of ASM_ARGS_##nr.
32087         (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
32088         (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
32089         (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
32090         (ASM_ARGS_1): Add leading comma.
32092         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
32093         (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
32094         to __errno_location.
32095         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
32096         Remove the expected plt for __errno_location.
32098         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
32099         [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
32100         call to __read_tp.
32102         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
32103         Always allocate 64 bytes of stack frame.  Use ldp/stp to create
32104         it and break it down.
32105         (DOCARGS_0, DOCARGS_1): Do nothing.
32106         (DOCARGS_2): Update to store into the new stack frame.
32107         (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
32108         (UNDOCARGS_1): Update to restore from the new stack frame.
32109         (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
32110         (UNDOCARGS_5, UNDOCARGS_6): Likewise.
32112         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
32113         (SINGLE_THREAD_P): New parameter for result regno.
32114         (PSEUDO): Update to match; use cbz instead of beq.
32116         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
32117         Use ENTRY to define the _nocancel entry point.  Share the syscall
32118         and syscall error check paths with the cancel path.
32119         (PSEUDO_END): New.
32121         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
32122         whitespace; tabs before and after asm mnemonics.
32124 2014-05-29  Eric Wong  <normalperson@yhbt.net>
32126         [BZ #15132]
32127         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
32128         Call fstat64 or stat64 internally, depending on arguments passed.
32129         Replace stat buffer argument with file descriptor argument.
32130         (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
32131         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
32132         Pass fd to __internal_statvfs instead of calling fstat64.
32133         * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
32134         Pass fd to __internal_statvfs64 instead of calling fstat64.
32135         * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
32136         Pass -1 to __internal_statvfs instead of calling stat64.
32137         * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
32138         Pass -1 to __internal_statvfs64 instead of calling stat64.
32140 2014-05-28  Roland McGrath  <roland@hack.frob.com>
32142         * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
32143         that was previously under [RESET_PID].
32144         * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
32146         * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
32147         * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
32149 2014-05-27  Roland McGrath  <roland@hack.frob.com>
32151         * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
32153         * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
32154         * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
32156 2014-05-27  Ondřej Bílka  <neleai@seznam.cz>
32158         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
32160 2014-05-27  Andreas Schwab  <schwab@suse.de>
32162         * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
32163         TLS_INIT_TP macro.
32164         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
32165         * elf/rtld.c (init_tls, dl_main): Likewise.
32166         * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
32167         * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
32168         * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
32169         * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
32170         * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
32171         * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
32172         * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
32173         * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
32174         * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
32175         * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
32176         * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
32177         * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
32178         * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
32179         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
32180         * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
32181         * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
32182         * sysdeps/generic/tls.h: Update description.
32184 2014-05-27  Will Newton  <will.newton@linaro.org>
32186         [BZ #16990]
32187         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
32188         and restore r2 rather than just restoring.
32190 2014-05-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
32192         [BZ #16724]
32193         * libio/tst-ftell-append.c: New test case.
32194         * libio/Makefile (tests): Add test case.
32195         * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
32196         append mode.
32197         * libio/wfileops.c (do_ftell_wide): Likewise.
32199 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32201         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32203         * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
32204         ...
32205         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
32206         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
32207         * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
32208         * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
32209         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
32210         * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
32211         * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
32212         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
32213         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
32214         Moved ...
32215         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
32216         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
32217         Moved ...
32218         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
32219         * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
32220         * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
32221         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
32222         * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
32223         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
32224         ...
32225         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
32226         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
32227         Moved ...
32228         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
32229         here.
32230         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
32231         ...
32232         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
32233         * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
32234         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
32236         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
32237         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
32238         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
32239         * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
32241         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
32242         merge into ...
32243         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
32244         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
32245         ...
32246         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
32247         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
32248         ...
32249         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
32250         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
32251         Moved ...
32252         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
32253         here.
32254         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
32255         Moved ...
32256         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
32257         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
32258         Moved ...
32259         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
32261         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
32262         conditional [RESET_PID].
32263         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
32264         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
32265         removed.
32266         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
32267         removed.
32269         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
32270         <tcb-offsets.h>.
32271         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
32272         (__libc_vfork): New strong alias.
32273         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
32274         removed.
32275         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
32276         Removed.
32278         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
32279         <tcb-offsets.h>.
32280         (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
32281         (__libc_vfork): New strong alias.
32282         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
32283         removed.
32284         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
32285         removed.
32287 2014-05-26  Carlos O'Donell  <carlos@redhat.com>
32289         * malloc/malloc.c (mi_arena): New function.
32290         (malloc_info): Remove nested function mi_arena. Call non-nosted
32291         function mi_arena.
32293 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32295         * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
32296         by insrwi.
32297         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
32298         * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
32299         * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
32300         * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
32301         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
32302         * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
32303         * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
32305 2014-05-26  Andreas Schwab  <schwab@suse.de>
32307         [BZ #16984]
32308         * locale/programs/repertoire.c (repertoire_read): Add slash
32309         between I18NPATH element and file name.
32310         * locale/programs/locfile.c (locfile_read): Likewise.
32312 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
32314         * nptl/pthread_mutexattr_settype.c
32315         (__pthread_mutexattr_settype):
32316         Disable lock elision for PTHREAD_MUTEX_NORMAL.
32318 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
32320         * nptl/tst-mutex5 (do_test):
32321         Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
32323 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
32325         * benchtests/README: Document 'init' directive.
32326         * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
32327         BENCH_INIT.
32328         * scripts/bench.py (gen_source): Define BENCH_INIT macro.
32329         (parse_file): Recognize 'init' directive.
32331 2014-05-26  Kyle McMartin  <kyle@redhat.com>
32333         [BZ #16796]
32334         * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
32335         alignment of struct pthread.
32337 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
32339         [BZ #16878]
32340         * nscd/netgroupcache.c (addgetnetgrentX): Look for
32341         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
32342         * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
32343         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
32345 2014-05-25  Richard Henderson  <rth@twiddle.net>
32347         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
32348         (SINGLE_THREAD_P_PIC): Remove.
32349         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
32350         (SINGLE_THREAD_P_PIC): Remove.
32352         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
32353         branch to syscall error ...
32354         (PSEUDO): ... here.
32355         [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
32356         from __local_syscall_error to .Lsyscall_error.
32357         [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
32358         (SYSCALL_ERROR): Update label name.
32360         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
32361         Do not use DOARGS/UNDOARGS.
32362         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
32363         (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
32364         (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
32365         (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
32366         (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
32368         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
32369         block comment.
32371         * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
32372         define if !NOT_IN_libc.
32373         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
32374         define with non-default symbol versions.
32376 2014-05-23  Richard Henderson  <rth@twiddle.net>
32378         * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
32379         (vfork, __vfork): Define via compat_symbol.
32381         * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
32382         [!HAVE_IFUNC] (vfork_compat): Remove.
32383         [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
32385 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
32387         [BZ #16978]
32388         * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
32389         * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
32390         variable.
32392 2014-05-23  Richard Henderson  <rth@twiddle.net>
32394         * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
32395         * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
32396         * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
32397         * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
32399         * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
32400         * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
32401         * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
32402         * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
32403         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
32404         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
32405         * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
32406         * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
32407         * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
32408         * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
32409         * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
32410         * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
32411         * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
32412         * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
32413         * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
32414         * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
32415         * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
32416         * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
32417         * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
32418         * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
32419         * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
32420         * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
32421         * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
32422         * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
32423         * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
32424         * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
32425         * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
32426         * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
32427         * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
32428         * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
32429         * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
32430         * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
32431         * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
32432         * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
32433         * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
32434         * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
32435         * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
32436         * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
32437         * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
32438         * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
32439         * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
32440         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
32441         * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
32442         * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
32443         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
32444         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
32445         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
32446         * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
32447         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
32448         * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
32449         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
32450         * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
32451         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
32452         * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
32453         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
32454         * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
32456         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
32457         * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
32458         * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here.  Restore PID
32459         before exiting on error.
32460         (__libc_vfork): New strong alias.
32461         * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
32462         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
32464         * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
32465         that was previously under [RESET_PID].
32466         * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
32468         * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
32470 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
32472         [BZ #16977]
32473         * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
32474         value when x - 1 is zero.
32475         * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
32476         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
32477         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
32478         0.0L for an argument of 1.0L.
32479         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
32480         Likewise.
32481         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
32482         value when x - 1 is zero.
32483         * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
32484         * sysdeps/i386/fpu/libm-test-ulps: Update.
32485         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32487 2014-05-23  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
32489         * manual/filesys.texi (Scanning Directory Content): Fix prototype of
32490         alphasort and versionsort.
32492 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32494         * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
32495         macro.
32496         [copysignf]: Likewise.
32498 2014-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
32500         * crypt/md5-crypt.c: Fix formatting.
32502 2014-05-22  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
32504         * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
32505         (b64_from_24bit): New function.
32507 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32509         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
32510         libc_hidden_builtin_def to ifunc.
32511         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
32512         [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
32514 2014-05-21  Roland McGrath  <roland@hack.frob.com>
32516         * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
32517         * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
32519 2014-05-21  Joseph Myers  <joseph@codesourcery.com>
32521         * nscd/Depend (linuxthreads): Remove.
32522         (nptl): Add.
32523         * resolv/Depend (linuxthreads): Remove.
32524         * rt/Depend (linuxthreads): Remove.
32526         * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
32527         (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
32528         $(common-objpfx)elf/.
32529         (link-libc-before-gnulib): Likewise.
32530         (elfobjdir): Remove variable.
32531         * Makefile (install): Use $(elf-objpfx) instead of
32532         $(common-objpfx)elf/.
32533         * Makerules (link-libc-args): Use $(elf-objpfx) instead of
32534         $(elfobjdir)/.
32535         (link-libc-deps): Likewise.
32536         ($(common-objpfx)libc.so): Likewise.
32537         ($(common-objpfx)linkobj/libc.so): Likewise.
32538         [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
32539         instead of $(common-objpfx)elf/.
32540         (symbolic-link-list): Likewise.
32541         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
32542         [$(cross-compiling) = no]: Likewise.
32543         * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
32544         $(elfobjdir)/.
32545         (static-gnulib-arch): Likewise.
32546         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
32547         [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
32548         $(common-objpfx)elf/.
32550 2014-05-21  Richard Henderson  <rth@redhat.com>
32552         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
32553         (SINGLE_THREAD_P): Use the correct width load.  Fold
32554         into the ldr offset.
32556         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
32557         (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
32559 2014-05-20  Joseph Myers  <joseph@codesourcery.com>
32561         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
32562         (libgcc_s_resume): Use __attribute_used__.
32563         * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
32564         Likewise.
32566 2014-05-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32568         * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
32569         optimization when used with float constants.
32571         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32573 2014-05-20  Aurelien Jarno  <aurelien@aurel32.net>
32575         [BZ #16915]
32576         * locale/nl_langinfo_l.c: Make direct reference to every
32577         _nl_current_CATEGORY symbol.
32578         * localedata/Makefile (test-srcs): Add tst-langinfo-static.
32579         (tests-static): Add tst-langinfo-static.
32580         (tests-special): Add tst-langinfo-static.out.
32581         ($(objpfx)tst-langinfo.out): Redirect output.
32582         ($(objpfx)tst-langinfo-static.out): New.
32583         * localedata/tst-langinfo.sh: Send output to stdout.
32584         * localedata/tst-langinfo-static.c: New file.
32586         [BZ #16965]
32587         * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
32588         when the shift amount is modulo the limb size.
32590 2014-05-20  Richard Henderson  <rth@redhat.com>
32592         [BZ #16967]
32593         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
32594         Change type of sa_flags from unsigned int to int.
32596         [BZ #16966]
32597         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
32599         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
32601 2014-05-20  Will Newton  <will.newton@linaro.org>
32603         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
32604         Test the return value of the system call in the nocancel case.
32606 2014-05-20  Will Newton  <will.newton@linaro.org>
32607             Yvan Roux  <yvan.roux@linaro.org>
32609         * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
32610         #include of asm/ptrace.h.
32611         (PTRACE_GET_THREAD_AREA): Remove #undef.
32612         (PTRACE_GETHBPREGS): Likewise.
32613         (PTRACE_SETHBPREGS): Likewise.
32614         (struct user_regs_struct): New structure.
32615         (struct user_fpsimd_struct): New structure.
32616         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
32617         #include of asm/ptrace.h and second #include of sys/user.h.
32618         (PTRACE_GET_THREAD_AREA): Remove #undef.
32619         (PTRACE_GETHBPREGS): Likewise.
32620         (PTRACE_SETHBPREGS): Likewise.
32621         (ELF_NGREG): Use new struct user_regs_struct.
32622         (elf_fpregset_t): Use new struct user_fpsimd_struct.
32624 2014-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32626         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
32627         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
32629 2014-05-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
32631         [BZ #16958]
32632         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
32633         membar to avoid block loads/stores to overlap previous stores.
32635 2014-05-17  Richard Henderson  <rth@redhat.com>
32637         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
32638         Create the __##syscall_name##_nocancel entry point.
32639         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
32640         Remove; let the sysdep-cancel.h code create it.
32642 2014-05-17  David S. Miller  <davem@davemloft.net>
32644         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
32645         Protect with __USE_GNU.
32646         (TIOCSET_TEMPT): Likewise.
32647         (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
32648         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
32649         these are already provided in bits/ioctl-types.h
32651 2014-05-16  Roland McGrath  <roland@hack.frob.com>
32653         * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
32654         * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
32656         * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
32657         Use wait4 regardless of [__NR_waitpid].
32659 2014-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
32661         PR libgcc/60166
32662         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
32663         (_FP_NANSIGN_Q): Set the quiet bit.
32665 2014-05-16  Joseph Myers  <joseph@codesourcery.com>
32667         * benchtests/Makefile
32668         ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
32669         not $(common-objpfx)math/libm.so.
32670         ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
32671         $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
32672         * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
32673         $(common-objpfx)dlfcn/libdl.so.
32674         ($(objpfx)tst-audit8): Depend on $(libm), not
32675         $(common-objpfx)math/libm.so.
32676         * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
32677         not $(common-objpfx)dlfcn/libdl.so.
32678         * math/Makefile
32679         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
32680         Depend on $(libm), not $(objpfx)libm.so.  Do not condition on
32681         [$(build-shared) = yes].
32682         ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
32683         $(common-objpfx)nptl/libpthread.so.
32684         * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
32685         $(common-objpfx)math/libm.so$(libm.so-version) or
32686         $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
32687         * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
32688         $(common-objpfx)dlfcn/libdl.so.
32689         * setjmp/Makefile (link-libm): Remove variable.
32690         ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
32691         * stdio-common/Makefile (link-libm): Remove variable.
32692         ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
32693         * stdlib/Makefile (link-libm): Remove variable.
32694         ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
32695         ($(objpfx)tst-strtod-round): Likewise.
32696         ($(objpfx)tst-tininess): Likewise.
32697         ($(objpfx)tst-strtod-underflow): Likewise.
32698         ($(objpfx)tst-strtod6): Likewise.
32699         ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
32700         $(libdl), not $(common-objpfx)nptl/libpthread.so and
32701         $(common-objpfx)dlfcn/libdl.so.
32703 2014-05-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32705         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
32706         BSD terminal modes definitions.
32708 2014-05-16  Roland McGrath  <roland@hack.frob.com>
32710         * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
32711         * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
32713         * sysdeps/unix/sysv/linux/arch-fork.h: New file.
32714         * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
32715         * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
32716         Don't do #include_next.
32717         * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
32718         * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
32719         Don't do #include_next.
32720         * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
32721         * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
32722         * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
32723         * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
32725 2014-05-16  Allan McRae  <allan@archlinux.org>
32727         * po/sv.po: Update Swedish translation from translation project.
32729         * timezone/Makefile ($(objpfx)tzselect): Use correct variable
32730         in sed expression.
32732 2014-05-16  Aurelien Jarno  <aurelien@aurel32.net>
32734         [BZ #16917]
32735         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
32736         errno if the TIOCGPTN ioctl fails with an error different than
32737         EINVAL.
32738         * login/tst-ptsname.c: New file.
32739         * login/Makefile (tests): Add tst-ptsname.
32741         [BZ #16943]
32742         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
32743         and prlimit64.
32745 2014-05-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
32747         [BZ #16849]
32748         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
32749         herrno to return EAI_AGAIN.
32751 2014-05-14  Roland McGrath  <roland@hack.frob.com>
32753         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
32754         * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
32755         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
32756         * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
32757         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
32758         * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
32759         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
32760         * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
32761         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
32762         * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
32763         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
32764         * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
32765         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
32766         * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
32767         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
32768         * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
32769         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
32770         * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
32771         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
32772         * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
32773         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
32774         * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
32775         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
32776         * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
32777         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
32778         * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
32779         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
32780         * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
32781         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
32782         * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
32783         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
32784         * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
32785         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
32786         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
32787         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
32788         Moved ...
32789         * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
32790         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
32791         * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
32792         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
32793         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
32794         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
32795         * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
32796         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
32797         * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
32798         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
32799         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
32800         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
32801         * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
32802         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
32803         * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
32804         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
32805         * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
32806         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
32807         * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
32808         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
32809         * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
32810         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
32811         * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
32812         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
32813         * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
32814         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
32815         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
32816         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
32817         Moved ...
32818         * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
32819         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
32820         * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
32821         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
32822         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
32823         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
32824         * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
32825         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
32826         * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
32827         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
32828         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
32829         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
32830         * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
32831         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
32832         * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
32833         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
32834         * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
32835         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
32836         * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
32837         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
32838         Moved ...
32839         * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
32840         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
32841         * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
32843         * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
32844         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
32845         (libpthread-sysdep_routines): Add elision-related stuff here instead.
32846         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
32847         * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
32848         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
32849         * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
32850         * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
32851         * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
32852         * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
32853         * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
32854         * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
32855         * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
32856         * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
32857         * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
32858         * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
32859         * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
32860         * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
32861         * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
32862         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
32863         * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
32864         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
32865         * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
32866         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
32867         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
32868         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
32869         * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
32870         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
32871         * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
32872         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
32873         * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
32875         * sysdeps/unix/sysv/linux/mips/fork.h: New file.
32876         * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
32878         * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
32879         * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
32880         * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
32881         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
32882         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
32883         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
32884         Moved ...
32885         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
32886         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
32887         Moved ...
32888         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
32889         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
32890         Moved ...
32891         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
32892         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
32893         Moved ...
32894         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
32895         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
32896         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
32897         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
32898         Moved ...
32899         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
32900         * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
32901         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
32902         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
32903         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
32904         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
32905         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
32906         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
32907         Moved ...
32908         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
32909         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
32910         Moved ...
32911         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
32912         ... here.
32913         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
32914         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
32915         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
32916         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
32917         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
32918         Moved ...
32919         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
32920         ... here.
32921         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
32922         Moved ...
32923         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
32924         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
32925         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
32926         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
32927         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
32928         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
32929         Moved ...
32930         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
32931         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
32932         Moved ...
32933         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
32934         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
32935         Moved ...
32936         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
32937         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
32938         Moved ...
32939         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
32940         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
32941         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
32942         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
32943         Moved ...
32944         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
32945         * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
32946         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
32947         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
32948         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
32949         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
32950         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
32951         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
32952         Moved ...
32953         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
32954         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
32955         Moved ...
32956         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
32957         ... here.
32958         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
32959         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
32960         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
32961         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
32962         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
32963         Moved ...
32964         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
32965         ... here.
32966         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
32967         Moved ...
32968         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
32969         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
32970         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
32971         * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
32972         * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
32973         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
32974         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
32975         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
32976         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
32977         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
32978         Moved ...
32979         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
32980         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
32981         Moved ...
32982         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
32983         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
32984         Moved ...
32985         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
32986         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
32987         Moved ...
32988         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
32989         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
32990         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
32991         * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
32992         * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
32993         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
32994         Moved ...
32995         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
32996         * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
32997         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
32998         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
32999         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
33000         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
33001         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
33002         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
33003         Moved ...
33004         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
33005         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
33006         Moved ...
33007         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
33008         ... here.
33009         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
33010         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
33011         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
33012         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
33013         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
33014         Moved ...
33015         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
33016         ... here.
33017         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
33018         Moved ...
33019         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
33020         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
33021         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
33022         * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
33023         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
33024         * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
33025         * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
33026         * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
33027         * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
33028         * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
33029         * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
33031         * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
33032         * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
33034         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
33035         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
33037         * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
33038         * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
33039         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
33040         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
33041         * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
33042         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
33043         * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
33044         * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
33045         * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
33046         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
33047         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
33048         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
33049         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
33050         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
33051         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
33052         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
33053         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
33054         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
33055         Moved ...
33056         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
33057         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
33058         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
33059         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
33060         Moved ...
33061         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
33062         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
33063         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
33064         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
33065         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
33066         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
33067         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
33068         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
33069         Moved ...
33070         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
33071         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
33072         Moved ...
33073         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
33074         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
33075         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
33076         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
33077         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
33078         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
33079         * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
33080         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
33081         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
33082         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
33083         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
33084         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
33085         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
33086         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
33087         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
33088         * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
33089         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
33091         * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
33092         * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
33093         * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
33094         * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
33095         * sysdeps/unix/sysv/linux/i386/fork.h: New file.
33097         * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
33098         * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
33099         * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
33100         * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
33101         * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
33102         * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
33103         * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
33104         * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
33105         * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
33106         * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
33108         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
33109         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
33111         * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
33112         * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
33113         * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
33114         * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
33115         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
33116         * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
33117         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
33118         * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
33119         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
33120         * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
33121         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
33122         * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
33123         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
33124         * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
33125         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
33126         Update #include.
33127         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
33128         Likewise.
33129         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
33130         Likewise.
33131         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
33132         Likewise.
33133         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
33134         Likewise.
33135         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
33136         Likewise.
33137         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
33138         Likewise.
33139         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
33140         Likewise.
33141         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
33142         Likewise.
33143         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
33144         Likewise.
33145         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
33146         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
33147         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
33148         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
33149         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
33150         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
33151         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
33152         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
33153         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
33154         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
33155         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
33156         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
33157         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
33158         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c:  Likewise.
33159         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c:  Likewise.
33161         * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
33162         that was previously under [RESET_PID].
33163         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
33164         * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
33165         * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
33167         * sysdeps/i386/nptl/Implies: New file.
33168         * sysdeps/x86_64/nptl/Implies: New file.
33169         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
33170         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
33171         * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
33172         * sysdeps/x86/nptl/bits/semaphore.h: ... here.
33174         * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
33175         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
33176         (__libc_vfork): New strong alias.
33177         * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
33178         * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
33180         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
33181         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
33182         (__libc_vfork): New strong alias.
33183         * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
33184         * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
33186         * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
33187         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
33188         (__libc_vfork): New strong alias.
33189         * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
33190         * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
33191         * nptl/pt-vfork.c: New file.
33192         * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
33193         (libpthread: GLIBC_2.20): New version set (empty).
33195 2014-05-14  Will Newton  <will.newton@linaro.org>
33197         * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
33198         rather than #if.
33200 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
33202         [BZ #16564]
33203         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
33204         arguments with exponent 65 or above.
33205         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
33206         arguments 0x1p113L or above.
33207         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
33208         to arguments 0x1p107L or above.
33209         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
33210         positive arguments with exponent 65 or above.
33211         * math/auto-libm-test-in: Add more tests of log1p.
33212         * math/auto-libm-test-out: Regenerated.
33214         [BZ #16928]
33215         * math/s_cacos.c (__cacos): Ensure zero real part of result from
33216         non-finite arguments is +0.
33217         * math/s_cacosf.c (__cacosf): Likewise.
33218         * math/s_cacosl.c (__cacosl): Likewise.
33219         * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
33220         * sysdeps/i386/fpu/libm-test-ulps: Update.
33221         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33223         [BZ #16927]
33224         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
33225         value.
33226         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
33227         * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
33228         * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
33229         for explicit high bit of mantissa when testing for argument equal
33230         to 1.
33231         * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
33232         * sysdeps/i386/fpu/libm-test-ulps: Update.
33233         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33235         [BZ #16516]
33236         * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
33237         (__erf): Scale by 16 instead of 8 in potentially underflowing
33238         case.  Ensure exception if result actually underflows.
33239         * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
33240         (__erff): Scale by 16 instead of 8 in potentially underflowing
33241         case.  Ensure exception if result actually underflows.
33242         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
33243         (efx8): Remove variable.
33244         (__erfl): Scale by 16 instead of 8 in potentially underflowing
33245         case.  Ensure exception if result actually underflows.
33246         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
33247         (efx8): Remove variable.
33248         (__erfl): Scale by 16 instead of 8 in potentially underflowing
33249         case.  Ensure exception if result actually underflows.
33250         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
33251         (efx8): Remove variable.
33252         (__erfl): Scale by 16 instead of 8 in potentially underflowing
33253         case.  Ensure exception if result actually underflows.
33254         * math/auto-libm-test-in: Add more tests of erf.
33255         * math/auto-libm-test-out: Regenerated.
33257 2014-05-14  Andreas Schwab  <schwab@suse.de>
33259         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
33260         Remove code conditionalized on USE___THREAD.
33262         * config.h.in (HAVE_PT_CHOWN): Define as 0.
33263         * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
33264         not definedness.
33266 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
33268         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
33269         Define unconditionally.
33270         (__ASSUME_O_CLOEXEC): Likewise.
33271         (__ASSUME_SOCK_CLOEXEC): Likewise.
33272         (__ASSUME_IN_NONBLOCK): Likewise.
33273         (__ASSUME_PIPE2): Likewise.
33274         (__ASSUME_EVENTFD2): Likewise.
33275         (__ASSUME_SIGNALFD4): Likewise.
33276         (__ASSUME_DUP3): Likewise.
33277         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
33278         (__ASSUME_DUP3): Do not define.
33279         (__ASSUME_EVENTFD2): Likewise.
33280         (__ASSUME_IN_NONBLOCK): Likewise.
33281         (__ASSUME_O_CLOEXEC): Likewise.
33282         (__ASSUME_PIPE2): Likewise.
33283         (__ASSUME_SIGNALFD4): Likewise.
33284         (__ASSUME_SOCK_CLOEXEC): Likewise.
33285         (__ASSUME_UTIMES): Undefine.
33286         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
33287         (__ASSUME_UTIMES): Do not define.
33288         (__ASSUME_O_CLOEXEC): Likewise.
33289         (__ASSUME_SOCK_CLOEXEC): Likewise.
33290         (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
33291         0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
33292         0x020621].
33293         (__ASSUME_PIPE2): Likewise.
33294         (__ASSUME_EVENTFD2): Likewise.
33295         (__ASSUME_SIGNALFD4): Likewise.
33296         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
33297         * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
33298         Do not define.
33299         (__ASSUME_EVENTFD2): Likewise.
33300         (__ASSUME_SIGNALFD4): Likewise.
33301         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
33302         (__ASSUME_32BITUIDS): Likewise.
33303         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
33304         (__ASSUME_IPC64): Likewise.
33305         (__ASSUME_ST_INO_64_BIT): Likewise.
33306         (__ASSUME_GETDENTS64_SYSCALL): Likewise.
33307         [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
33308         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
33309         (__ASSUME_UTIMES): Do not define.
33310         (__ASSUME_PSELECT): Likewise.
33311         (__ASSUME_PPOLL): Likewise.
33312         (__ASSUME_O_CLOEXEC): Likewise.
33313         (__ASSUME_SOCK_CLOEXEC): Likewise.
33314         (__ASSUME_IN_NONBLOCK): Likewise.
33315         (__ASSUME_PIPE2): Likewise.
33316         (__ASSUME_EVENTFD2): Likewise.
33317         (__ASSUME_SIGNALFD4): Likewise.
33318         (__ASSUME_DUP3): Likewise.
33319         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
33320         (__ASSUME_UTIMES): Likewise.
33321         (__ASSUME_O_CLOEXEC): Likewise.
33322         (__ASSUME_SOCK_CLOEXEC): Likewise.
33323         (__ASSUME_IN_NONBLOCK): Likewise.
33324         (__ASSUME_PIPE2): Likewise.
33325         (__ASSUME_EVENTFD2): Likewise.
33326         (__ASSUME_SIGNALFD4): Likewise.
33327         (__ASSUME_DUP3): Likewise.
33328         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
33329         (__ASSUME_UTIMES): Likewise.
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         * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
33338         Likewise.
33339         (__ASSUME_UTIMES): Likewise.
33340         (__ASSUME_EVENTFD2): Likewise.
33341         (__ASSUME_SIGNALFD4): Likewise.
33342         * sysdeps/unix/sysv/linux/tile/kernel-features.h
33343         (__ASSUME_O_CLOEXEC): Likewise.
33344         (__ASSUME_SOCK_CLOEXEC): Likewise.
33345         (__ASSUME_IN_NONBLOCK): Likewise.
33346         (__ASSUME_PIPE2): Likewise.
33347         (__ASSUME_EVENTFD2): Likewise.
33348         (__ASSUME_SIGNALFD4): Likewise.
33349         (__ASSUME_DUP3): Likewise.
33350         (__ASSUME_UTIMES): Undefine.
33352         * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
33353         feclearexcept.  Remove symbol versioning code.
33354         * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv.  Remove
33355         symbol versioning code.
33356         * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv.  Remove
33357         symbol versioning code.
33358         * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
33359         feupdateenv.  Remove symbol versioning code.
33360         * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
33361         fegetexceptflag.  Remove symbol versioning code.
33362         * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
33363         fesetexceptflag.  Remove symbol versioning code.
33364         * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
33365         GLIBC_2.2 and GLIBC_2.3.3 entries.  Change GLIBC_2.1 to GLIBC_2.4.
33366         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
33367         (__posix_fadvise64_l32): Remove prototype.
33368         [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
33369         code.
33371 2014-05-13  Roland McGrath  <roland@hack.frob.com>
33373         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
33374         * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
33375         * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
33376         * sysdeps/arm/nptl/bits/semaphore.h: ... here.
33378 2014-05-13  Sami Kerola  <kerolasa@iki.fi>
33380         * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
33381         current working directory
33383 2014-05-13  Roland McGrath  <roland@hack.frob.com>
33385         * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
33386         * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
33387         * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
33388         * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
33389         * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
33390         * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
33391         * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
33392         * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
33393         * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
33394         * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
33395         * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
33396         * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
33397         * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
33398         * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
33399         * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
33400         * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
33401         * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
33402         * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
33403         * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
33404         * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
33405         * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
33406         * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
33407         * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
33408         * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
33409         * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
33410         * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
33411         * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
33412         * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
33413         * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
33414         * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
33415         * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
33416         * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
33417         * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
33418         * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
33419         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
33420         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
33421         * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
33422         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
33423         * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
33424         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
33425         * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
33426         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
33428         * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
33429         * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
33431         * sysdeps/unix/sysv/linux/arm/Makefile
33432         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
33433         Add rt-aeabi_unwind_cpp_pr1.
33434         [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
33435         Add nptl-aeabi_unwind_cpp_pr1.
33436         [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
33437         * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
33438         * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
33439         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
33440         * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
33441         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
33443         * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
33444         * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
33445         * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
33446         * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
33448         * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
33449         Deconditionalize the code that was previously under [RESET_PID].
33450         * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
33452         * sysdeps/generic/exit-thread.h: New file.
33453         * sysdeps/unix/sysv/linux/exit-thread.h: New file.
33454         * include/unistd.h (__exit_thread): Remove declaration.
33455         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
33456         * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
33457         * csu/libc-start.c: Include <exit-thread.h>.
33458         (LIBC_START_MAIN): Pass no argument to __exit_thread.
33459         * nptl/pthread_create.c: Include <exit-thread.h>.
33460         (start_thread): Call __exit_thread in place of __exit_thread_inline.
33461         * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
33462         * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
33463         * nptl/sysdeps/s390/pthreaddef.h: Likewise.
33464         * nptl/sysdeps/sh/pthreaddef.h: Likewise.
33465         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
33466         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
33467         * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
33468         * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
33469         * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
33470         * sysdeps/arm/nptl/pthreaddef.h: Likewise.
33471         * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
33472         * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
33473         * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
33474         * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
33475         * sysdeps/mips/nptl/pthreaddef.h: Likewise.
33476         * sysdeps/tile/nptl/pthreaddef.h: Likewise.
33478 2014-05-13  Andreas Schwab  <schwab@suse.de>
33480         * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
33482 2014-05-12  Joseph Myers  <joseph@codesourcery.com>
33484         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
33485         (__ASSUME_UTIMES): Do not condition on kernel version.
33486         (__ASSUME_PSELECT): Define unconditionally.
33487         (__ASSUME_PPOLL): Likewise.
33488         (__ASSUME_ATFCTS): Likewise.
33489         (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
33490         (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
33491         (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
33492         (__ASSUME_UTIMENSAT): Define unconditionally.
33493         (__ASSUME_PRIVATE_FUTEX): Likewise.
33494         (__ASSUME_FALLOCATE): Likewise.
33495         (__ASSUME_O_CLOEXEC): Likewise.
33496         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
33497         (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
33498         (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
33499         (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
33500         (__ASSUME_IN_NONBLOCK): Likewise.
33501         (__ASSUME_PIPE2): Likewise.
33502         (__ASSUME_EVENTFD2): Likewise.
33503         (__ASSUME_SIGNALFD4): Likewise.
33504         (__ASSUME_DUP3): Likewise.
33505         [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
33506         (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
33507         (__ASSUME_AT_RANDOM): Likewise.
33508         (__ASSUME_PREADV): Likewise.
33509         (__ASSUME_PWRITEV): Likewise.
33510         (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
33511         (__ASSUME_F_GETOWN_EX): Define unconditionally.
33512         (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
33513         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
33514         [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
33515         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
33516         (__ASSUME_O_CLOEXEC): Define unconditionally.
33517         (__ASSUME_PSELECT): Do not undefine conditionally.
33518         (__ASSUME_PPOLL): Likewise.
33519         (__ASSUME_ATFCTS): Likewise.
33520         (__ASSUME_SET_ROBUST_LIST): Likewise.
33521         (__ASSUME_UTIMENSAT): Likewise.
33522         (__ASSUME_FDATASYNC): Define unconditionally.
33523         * sysdeps/unix/sysv/linux/arm/kernel-features.h
33524         (__ASSUME_SIGFRAME_V2): Likewise.
33525         )__ASSUME_EVENTFD2): Likewise.
33526         (__ASSUME_SIGNALFD4): Likewise.
33527         (__ASSUME_PSELECT): Do not undefine conditionally.
33528         (__ASSUME_PPOLL): Likewise.
33529         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
33530         (__ASSUME_PSELECT): Define unconditionally.
33531         (__ASSUME_PPOLL): Likewise.
33532         (__ASSUME_O_CLOEXEC): Likewise.
33533         (__ASSUME_SOCK_CLOEXEC): Likewise.
33534         (__ASSUME_IN_NONBLOCK): Likewise.
33535         (__ASSUME_PIPE2): Likewise.
33536         (__ASSUME_EVENTFD2): Likewise.
33537         (__ASSUME_SIGNALFD4): Likewise.
33538         (__ASSUME_DUP3): Likewise.
33539         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
33540         (__ASSUME_O_CLOEXEC): Likewise.
33541         (__ASSUME_SOCK_CLOEXEC): Likewise.
33542         (__ASSUME_IN_NONBLOCK): Likewise.
33543         (__ASSUME_PIPE2): Likewise.
33544         (__ASSUME_EVENTFD2): Likewise.
33545         (__ASSUME_SIGNALFD4): Likewise.
33546         (__ASSUME_DUP3): Likewise.
33547         * sysdeps/unix/sysv/linux/mips/kernel-features.h
33548         (__ASSUME_EVENTFD2): Likewise.
33549         (__ASSUME_SIGNALFD4): Likewise.
33550         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
33552 2014-05-12  Andreas Schwab  <schwab@suse.de>
33554         [BZ #16932]
33555         * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
33556         (_nss_nis_gethostbyname4_r): Return error if item length is larger
33557         than maximum RPC packet size.
33558         * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
33559         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
33560         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
33561         (_nss_nis_getservbyport_r): Likewise.
33563 2014-05-12  Will Newton  <will.newton@linaro.org>
33565         * malloc/Makefile (tests): Add tst-mallopt.
33566         * malloc/tst-mallopt.c: New file.
33568 2014-05-09  Roland McGrath  <roland@hack.frob.com>
33570         * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
33571         [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
33573 2014-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33575         * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
33576         (tst-tlsmod6.so): Likewise.
33578 2014-05-09  Roland McGrath  <roland@hack.frob.com>
33580         * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
33582 2014-05-09  Joseph Myers  <joseph@codesourcery.com>
33584         [BZ #16064]
33585         * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
33586         and <dl-procinfo.h>.
33587         (__fegetenv): Save SSE state in envp->__eip if supported.
33588         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
33589         envp->__eip if supported.
33590         * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
33591         and <dl-procinfo.h>.
33592         (__fesetenv): Always set __eip, __cs_selector, __opcode,
33593         __data_offset and __data_selector in environment to 0.  Set SSE
33594         state if supported.
33595         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
33596         test-fenv-sse.
33597         [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
33598         -mfpmath=sse.
33599         * sysdeps/x86/fpu/test-fenv-sse.c: New file.
33601 2014-05-09  Will Newton  <will.newton@linaro.org>
33603         * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
33604         and libc_relro_required for ARM.
33605         * sysdeps/arm/preconfigure: Regenerate.
33607 2014-05-09  Dominik Vogt  <vogt@linux.vnet.ibm.com>
33608             Stefan Liebler  <stli@linux.vnet.ibm.com>
33610         * config.make.in (enable-lock-elision): New Makefile variable.
33611         * configure.ac: Likewise.
33612         * configure: Regenerate.
33613         * sysdeps/s390/configure.ac:
33614         Add check for gcc transactions support.
33615         * sysdeps/s390/configure: Regenerate.
33616         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
33617         Build elision files if enabled.
33618         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
33619         Add lock elision support for s390.
33620         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
33621         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
33622         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
33623         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
33624         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
33625         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
33626         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
33627         Likewise.
33628         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
33629         Likewise.
33630         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
33631         Likewise.
33632         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
33633         Likewise.
33634         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
33635         (__lll_timedlock_elision, __lll_lock_elision)
33636         (__lll_unlock_elision, __lll_trylock_elision)
33637         (lll_timedlock_elision, lll_lock_elision)
33638         (lll_unlock_elision, lll_trylock_elision): Add.
33639         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
33640         (pthread_mutex_t): Add lock elision support for s390.
33642 2014-05-14  Wilco  <wdijkstr@arm.com>
33644         * sysdeps/arm/fclrexcpt.c: Cleanup.
33645         * sysdeps/arm/fedisblxcpt.c: Cleanup.
33646         * sysdeps/arm/feenablxcpt.c: Cleanup.
33647         * sysdeps/arm/fegetenv.c: Cleanup.
33648         * sysdeps/arm/fegetexcept.c: Cleanup.
33649         * sysdeps/arm/fegetround.c: Cleanup.
33650         * sysdeps/arm/feholdexcpt.c: Cleanup.
33651         * sysdeps/arm/fesetenv.c: Cleanup.
33652         * sysdeps/arm/fesetround.c: Cleanup.
33653         * sysdeps/arm/feupdateenv.c: Cleanup.
33654         * sysdeps/arm/fgetexcptflg.c: Cleanup.
33655         * sysdeps/arm/fraiseexcpt.c: Cleanup.
33656         * sysdeps/arm/fsetexcptflg.c: Cleanup.
33657         * sysdeps/arm/ftestexcept.c: Cleanup.
33658         * sysdeps/arm/get-rounding-mode.h: Cleanup.
33659         * sysdeps/arm/setfpucw.c: Cleanup.
33661 2014-05-09  Will Newton  <will.newton@linaro.org>
33663         * sysdeps/arm/armv7/strcmp.S: New file.
33664         * NEWS: Mention addition of ARMv7 optimized strcmp.
33666 2014-05-08  Roland McGrath  <roland@hack.frob.com>
33668         * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
33669         look for %.ac rather than %.in.
33671         * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
33672         * sysdeps/unix/sysv/linux/configure.ac: Likewise.
33673         * sysdeps/mach/hurd/configure: Regenerated.
33674         * sysdeps/unix/sysv/linux/configure: Regenerated.
33676         * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
33678 2014-05-07  Steve Ellcey  <sellcey@mips.com>
33680         [BZ# 16922]
33681         * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
33682         (LONG_SUB): Ditto.
33683         (PTR_SUB): Ditto.
33685 2014-05-07  Andreas Schwab  <schwab@suse.de>
33687         * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
33688         when skipping over non-matching result from nscd.
33690 2014-05-07  Ondřej Bílka  <neleai@seznam.cz>
33692         [BZ #16876]
33693         * nptl/sockperf.c (client): Check socket return value.
33695         [BZ #16877]
33696         * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
33697         nscd security class.
33699 2014-05-06  Roland McGrath  <roland@hack.frob.com>
33701         * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
33702         * sysdeps/arm/unwind.h: ... here.
33704 2014-05-06  Aurelien Jarno  <aurelien@aurel32.net>
33706         [BZ# 16916]
33707         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
33708         Define.
33710 2014-05-06  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
33712         * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
33713         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
33714         multiarch strncpy for PPC64.
33715         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
33716         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
33717         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
33718         multiarch optimizations.
33719         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
33720         (__libc_ifunc_impl_list): Likewise.
33721         * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
33722         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
33723         multiarch stpncpy for PPC64.
33724         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
33725         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
33727 2014-05-06  Andreas Schwab  <schwab@suse.de>
33729         [BZ #16912]
33730         * gmon/mcount.c (_MCOUNT_DECL): Use
33731         atomic_compare_and_exchange_bool_acq instead of
33732         catomic_compare_and_exchange_bool_acq.
33734 2014-05-05  Roland McGrath  <roland@hack.frob.com>
33736         * elf/Makefile (others, install-bin): Remove pldd.
33737         (pldd-modules): Variable removed.
33738         ($(objpfx)pldd): Target removed.
33739         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
33740         (others, install-bin): Append pldd here.
33741         ($(objpfx)pldd): New target.
33743         * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
33744         to 0, so the first #if test emitted later doesn't see it undefined.
33745         (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
33746         * sysdeps/gnu/errlist.c: Regenerated.
33748 2014-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33750         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
33751         [libc_hidden_builtin_def]: Define to empty value.
33752         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
33753         [libc_hidden_builtin_def]: Likewise.
33754         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
33755         [libc_hidden_builtin_def]: Likewise.
33756         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
33757         [libc_hidden_builtin_def]: Likewise.
33758         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
33759         __redirect_memcpy and define ifunc as default hidden symbol.
33760         * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
33761         * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
33763 2014-05-04  Adam Conrad  <adconrad@0c3.net>
33765         * locale/iso-4217.def: Reintroduce XDR currency.
33767 2014-05-04  Allan McRae  <allan@archlinux.org>
33769         * po/eo.po: Update Esperanto translation from translation project.
33771 2014-05-02  Carlos O'Donell  <carlos@redhat.com>
33773         * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
33774         and FEATURE_INDEX_MAX to 1.
33775         [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
33777 2014-05-01  Steve Ellcey  <sellcey@mips.com>
33779         * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
33780         * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
33781         * iconvdata/big5.c (ONE_DIRECTION): Define.
33782         * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
33783         * iconvdata/cp1255.c (ONE_DIRECTION): Define.
33784         * iconvdata/cp1258.c (ONE_DIRECTION): Define.
33785         * iconvdata/cp932.c (ONE_DIRECTION): Define.
33786         * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
33787         * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
33788         * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
33789         * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
33790         * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
33791         * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
33792         * iconvdata/gb18030.c (ONE_DIRECTION): Define.
33793         * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
33794         * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
33795         * iconvdata/gbk.c (ONE_DIRECTION): Define.
33796         * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
33797         * iconvdata/ibm930.c (ONE_DIRECTION): Define.
33798         * iconvdata/ibm932.c (ONE_DIRECTION): Define.
33799         * iconvdata/ibm933.c (ONE_DIRECTION): Define.
33800         * iconvdata/ibm935.c (ONE_DIRECTION): Define.
33801         * iconvdata/ibm937.c (ONE_DIRECTION): Define.
33802         * iconvdata/ibm939.c (ONE_DIRECTION): Define.
33803         * iconvdata/ibm943.c (ONE_DIRECTION): Define.
33804         * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
33805         * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
33806         * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
33807         * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
33808         * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
33809         * iconvdata/iso646.c (ONE_DIRECTION): Define.
33810         * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
33811         * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
33812         * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
33813         * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
33814         * iconvdata/johab.c (ONE_DIRECTION): Define.
33815         * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
33816         * iconvdata/sjis.c (ONE_DIRECTION): Define.
33817         * iconvdata/t.61.c (ONE_DIRECTION): Define.
33818         * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
33819         * iconvdata/tscii.c (ONE_DIRECTION): Define.
33820         * iconvdata/uhc.c (ONE_DIRECTION): Define.
33821         * iconvdata/unicode.c (ONE_DIRECTION): Define.
33822         * iconvdata/utf-16.c (ONE_DIRECTION): Define.
33823         * iconvdata/utf-32.c (ONE_DIRECTION): Define.
33824         * iconvdata/utf-7.c (ONE_DIRECTION): Define.
33826 2014-05-01  Roland McGrath  <roland@hack.frob.com>
33828         * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
33829         (_IO_JUMPS_OFFSET): Define to 0.
33831         * nptl/sysdeps/pthread/bits/libc-lock.h
33832         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
33833         (__libc_lock_define_initialized_recursive): Always define using
33834         initializer.  Modern compilers treat uninitialized (implicit zero) and
33835         explicit zero initializers the same (i.e. put the datum in bss).
33837 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
33839         * nscd/nscd-client.h: Include <string.h>.
33841 2014-05-01  David S. Miller  <davem@davemloft.net>
33843         [BZ #16885]
33844         * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
33845         multiple zero bytes exist at the end of a string.
33846         Reported by Aurelien Jarno <aurelien@aurel32.net>
33848         * string/test-strcmp.c (check): Add explicit test for situations where
33849         there are multiple zero bytes after the first.
33851 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
33853         [BZ #16890]
33854         * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
33855         when compiling wprintf.
33856         * stdio-common/tstdiomisc.c (t3): New function.
33857         (main): Call it.
33859 2014-05-01  Steve Ellcey  <sellcey@mips.com>
33861         * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
33862         * iconv/gconv_simple.c (ONE_DIRECTION): Define.
33863         * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
33864         * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
33866 2014-05-01  Steve Ellcey  <sellcey@mips.com>
33868         * stdlib/longlong.h: Updated from GCC.
33870 2014-05-01  Will Newton  <will.newton@linaro.org>
33871             Bernard Ogden  <bernie.ogden@linaro.org>
33873         * NEWS: Update fixed bug list.
33875         [BZ #15119]
33876         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
33878 2014-04-30  David S. Miller  <davem@davemloft.net>
33880         * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
33881         (libc_feholdexcept_setround_sparc_ctx): New function.
33882         (libc_fesetenv_sparc_ctx): Likewise.
33883         (libc_feupdateenv_sparc_ctx): Likewise.
33884         (libc_feholdsetround_sparc_ctx): Likewise.
33885         (libc_feholdexcept_setround_ctx): Define.
33886         (libc_feholdexcept_setroundf_ctx): Likewise.
33887         (libc_feholdexcept_setroundl_ctx): Likewise.
33888         (libc_fesetenv_ctx): Likewise.
33889         (libc_fesetenvf_ctx): Likewise.
33890         (libc_fesetenvl_ctx): Likewise.
33891         (libc_feupdateenv_ctx): Likewise.
33892         (libc_feupdateenvf_ctx): Likewise.
33893         (libc_feupdateenvl_ctx): Likewise.
33894         (libc_feresetround_ctx): Likewise.
33895         (libc_feresetroundf_ctx): Likewise.
33896         (libc_feresetroundl_ctx): Likewise.
33897         (libc_feholdsetround_ctx): Likewise.
33898         (libc_feholdsetroundf_ctx): Likewise.
33899         (libc_feholdsetroundl_ctx): Likewise.
33901         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
33902         with __USE_GNU instead of XOPEN cpp guards.
33904         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
33905         0.
33907         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
33908         with XOPEN cpp guards.
33910 2014-04-30  Julian Brown  <julian@codesourcery.com>
33912         [BZ #16888]
33913         * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
33914         handling.
33916 2014-04-30  Joseph Myers  <joseph@codesourcery.com>
33918         [BZ #9894]
33919         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
33920         Change to 2.6.32.
33921         (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
33922         * sysdeps/unix/sysv/linux/configure: Regenerated.
33923         * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
33924         * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
33925         * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
33926         * sysdeps/unix/sysv/linux/tile/configure: Likewise.
33927         * README: Update reference to required Linux kernel version.
33928         * manual/install.texi (Linux): Update reference to required Linux
33929         kernel headers version.
33930         * INSTALL: Regenerated.
33932         * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
33933         header inclusion.
33934         [POSIX] (limits.h): Likewise.
33935         [POSIX] (math.h): Likewise.
33936         [POSIX] (sys/wait.h): Likewise.
33937         * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
33938         function.
33939         [POSIX] (stddef.h): Do not allow header inclusion.
33941 2014-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33943         * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
33945 2014-04-30  Yang Yingliang  <yangyingliang@huawei.com>
33947         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
33948         Return immediately after lll_futex_wake.
33950 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
33952         [BZ #16791]
33953         * nscd/nscd-client.h (datahead_init_common): Initialize entire
33954         structure.
33955         (datahead_init_pos): Call datahead_init_common early.
33956         (datahead_init_neg): Likewise.
33958         * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
33959         datahead_init_neg): New functions.
33960         * nscd/aicache.c (addhstaiX): Use them.
33961         * nscd/grpcache.c (cache_addgr): Likewise.
33962         * nscd/hstcache.c (cache_addhst): Likewise.
33963         * nscd/initgrcache.c (addinitgroupsX): Likewise.
33964         * nscd/netgroupcache.c (do_notfound): Likewise.
33965         (addgetnetgrentX): Likewise.
33966         (addinnetgrX): Likewise.
33967         * nscd/pwdcache.c (cache_addpw): Likewise.
33968         * nscd/servicescache.c (cache_addserv): Likewise.
33970 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
33971             Atsushi Onoe  <atsushi@onoe.org>
33973         [BZ #14308]
33974         [BZ #12994]
33975         [BZ #13651]
33976         * resolv/res_query.c (__libc_res_nsearch): Return if at least
33977         one response is valid.
33978         * resolv/res_send.c (send_dg): Check for validity of other
33979         response if the current response is a referral.
33981 2014-04-29  Steve Ellcey  <sellcey@mips.com>
33983         * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
33985 2014-04-29  Stefan Liebler  <stli@linux.vnet.ibm.com>
33987         [BZ #16823]
33988         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
33989         Always divide by positive zero when computing -Inf result.
33990         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
33991         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
33993 2014-04-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33995         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
33996         FPSCR if value do not change.
33997         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
33998         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
33999         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
34000         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
34001         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
34002         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
34003         function.
34005 2014-05-29  Carlos O'Donell  <carlos@systemhalted.org>
34007         * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
34008         * sysdeps/unix/sysv/linux/hppa: Move directory from
34009         ports/systeps/unix/sysv/linux/hppa.
34010         * README: Update listing for hppa-*-linux-gnu.
34012 2014-04-28  Ondřej Bílka  <neleai@seznam.cz>
34014         [BZ #16754]
34015         * manual/stdio.texi (Hook functions): Fix types of stream hook
34016         functions.
34017         [BZ #16854]
34018         * socket/sys/socket.h: Fix typo in comment.
34020 2014-04-28  Wilco  <wdijkstr@arm.com>
34022         * sysdeps/arm/fenv_private.h: New file.
34023         * sysdeps/arm/math_private.h: New file.
34024         * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
34026 2014-04-25  H.J. Lu  <hongjiu.lu@intel.com>
34028         * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
34029         with __int128_t.
34030         (La_x86_64_retval): Likewise.
34032 2014-04-24  Ian Bolton  <ian.bolton@arm.com>
34034         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
34035         fpsr if value didn't change.
34036         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
34037         to fpcr if value didn't change.
34038         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
34039         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
34040         fpsr or fpcr if value didn't change.
34041         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
34042         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
34043         fpcr if value didn't change.
34044         * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
34045         to fpsr if value didn't change.
34047 2014-02-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
34049         * nptl/tst-sem3.c: Use test-skeleton.c
34050         (main): Rename to do_test.  Use return instead of
34051         exit.
34052         * nptl/tst-sem4.c: Use test-skeleton.c
34053         (main): Rename to do_test.
34055 2014-04-22  David S. Miller  <davem@davemloft.net>
34057         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
34058         (struct sigaction): New struct member __glibc_reserved0, change
34059         type of sa_flags to int.
34061 2014-04-22  Yufeng Zhang  <yufeng.zhang@arm.com>
34063         * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
34064         (COUNT_LEADING_ZEROS_0): Define for AArch64.
34066 2014-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
34068         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
34069         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
34071 2014-04-22  Will Newton  <will.newton@linaro.org>
34072             Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
34074         * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
34075         (__longjmp): Add longjmp and longjmp_target SystemTap
34076         probes.
34077         * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
34078         (__sigsetjmp): Add setjmp SystemTap probe.
34080 2014-04-17  Carlos O'Donell  <carlos@redhat.com>
34082         * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
34083         match manual order.
34085 2014-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34087         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
34089         * sysdeps/powerpc/fpu/fenv_private.h
34090         (libc_feholdexcept_setroundl_ctx): Define to
34091         libc_feholdexcept_setround_ppc_ctx.
34092         (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
34093         (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
34094         (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
34095         (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
34097 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
34099         * sysdeps/aarch64/math-tests.h: New file.
34101 2014-04-17  Sihai Yao  <sihai.ysh@alibaba-inc.com>
34103         * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
34104         New.
34105         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
34106         Check and set bit_AVX2_Usable.
34107         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
34108         macro.
34109         (bit_AVX2): Likewise.
34110         (index_AVX2_Usable): Likewise.
34111         (CPUID_AVX2): Likewise.
34112         (HAS_AVX2): Likewise.
34114 2014-04-17  Will Newton  <will.newton@linaro.org>
34116         * manual/setjmp.texi (System V contexts): Add note that
34117         calling setcontext on a context created by a call to a
34118         signal handler is undefined.  Update text to note that
34119         setcontext from a signal handler is possible but not
34120         recommended.
34122         [BZ #16629]
34123         * stdlib/tst-setcontext.c: Include signal.h.
34124         (main): Check that the signal stack before and
34125         after swapcontext is the same.
34127         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
34128         Re-implement to restore registers in user code and avoid
34129         rt_sigreturn system call.
34131 2014-04-17  Wilco  <wdijkstr@arm.com>
34133         * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
34134         * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
34135         * math/test-fenv.c: Skip exception trap tests on targets which only
34136         support non-stop mode.
34138 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
34139             Wilco Dijkstra  <wilco.dijkstra@arm.com>
34141         * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
34142         (libc_feholdsetround_aarch64_ctx)
34143         (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
34144         (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
34145         (libc_feresetround_ctx, libc_feresetroundf_ctx)
34146         (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
34147         (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
34148         (libc_feresetround_noexl_ctx): Define.
34150 2014-04-16  Richard Henderson  <rth@redhat.com>
34152         * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
34154         * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
34155         unwind tables.
34157         * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
34158         const from the non-libc, non-ldso copy.
34160         * sysdeps/alpha/libm-test-ulps: Regenerate.
34162 2014-04-16  Ian Bolton  <ian.bolton@arm.com>
34163             Wilco Dijkstra  <wilco.dijkstra@arm.com>
34165         * sysdeps/aarch64/fpu/math_private.h: New file.
34167 2014-04-16  Marcus Shawcroft  <marcus.shawcroft@arm.com>
34169         * sysdeps/aarch64/libm-test-ulps: Regenerate.
34171 2014-04-16  Igor Zamyatin  <igor.zamyatin@intel.com>
34173         [BZ #16275]
34174         * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
34175         (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
34176         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
34177         Intel MPX bound registers before _dl_profile_fixup.
34178         * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
34179         registers after _dl_profile_fixup.  Save and restore bound
34180         registers bnd0/bnd1 when calling _dl_call_pltexit.
34181         * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
34182         (LR_BND_OFFSET): Likewise.
34183         (LRV_BND0_OFFSET): Likewise.
34184         (LRV_BND1_OFFSET): Likewise.
34186 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
34188         * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
34189         to...
34190         * sysdeps/mach/hurd/i386/tls.h: ... here.
34191         (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
34192         pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
34193         fields.
34195 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
34197         * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
34199 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
34201         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
34203 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
34205         [BZ #14770]
34206         * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
34207         * sysdeps/s390/configure: Regenerate.
34209         [BZ #16824]
34210         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
34211         Set round-to-nearest internally to reduce error accumulation.
34213 2014-04-16  Alan Modra  <amodra@gmail.com>
34215         [BZ #16740]
34216         [BZ #16619]
34217         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
34218         * math/libm-test.inc (frexp_test_data): Add tests.
34219         * NEWS: Update fixed bug list.
34221 2014-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
34223         * benchtests/Makefile: Depend on libraries in build directory.
34224         (bench-math): Separate out math tests.
34225         (bench-pthread): Separate out pthread tests.
34226         (bench): Include math and pthread tests.
34228 2014-04-14  Carlos O'Donell  <carlos@redhat.com>
34230         [BZ #16831]
34231         * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
34232         _dl_debug_initialize.
34234         * configure.ac: Remove SELinux header check.
34235         * configure: Regenerate.
34236         * nscd/selinux.c (perms): Array of const char* to permission names.
34237         (nscd_request_avc_has_perm): Call security_deny_unknown to find
34238         default policy. Call string_to_security_class and string_to_av_perm to
34239         translate strings. Enforce default policy and call avs_has_perm with
34240         results of translated strings.
34242 2014-04-13  David S. Miller  <davem@davemloft.net>
34244         * sysdeps/sparc/fpu/libm-test-ulps: Update.
34246 2014-04-12  Allan McRae  <allan@archlinux.org>
34248         [BZ #16838]
34249         * manual/string.texi (Collation Functions): Fix qsort argument
34250         order in example.
34251         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
34253 2014-04-11  Chris Metcalf  <cmetcalf@tilera.com>
34255         * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
34256         Make the test a no-op if there are no exceptions defined.
34258 2014-04-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
34260         * elf/Makefile (tests): make tst-dlopen-aout conditional on
34261         enable-hardcoded-path-in-tests
34263 2014-04-11  Will Newton  <will.newton@linaro.org>
34265         * benchtests/Makefile (extra-objs): Add json-lib.o.
34266         (bench-func): Tidy up JSON output.
34267         * benchtests/bench-skeleton.c: Include json-lib.h.
34268         (main): Use JSON library functions to do output of
34269         benchmark results.
34270         * benchtests/bench-timing-type.c (main): Output the
34271         timing type simply, leaving formatting to the user.
34272         * benchtests/json-lib.c: New file.
34273         * benchtests/json-lib.h: Likewise.
34275 2014-04-11  Torvald Riegel  <triegel@redhat.com>
34277         [BZ #15215]
34278         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
34279         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here.  Add missing
34280         memory barriers.  Add comments.
34281         * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
34282         * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
34283         * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
34284         * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
34285         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
34286         * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
34288 2014-04-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
34290         * sysdeps/s390/s390-32/configure.ac: Unify file with ...
34291         * sysdeps/s390/s390-64/configure.ac: ... this ...
34292         * sysdeps/s390/configure.ac: ... to here.
34293         * sysdeps/s390/s390-32/configure: Delete file.
34294         * sysdeps/s390/s390-64/configure: Delete file.
34295         * sysdeps/s390/configure: Regenerate.
34297 2014-04-11  Joseph Anthony Pasquale Holsten  <joseph@josephholsten.com>
34299         * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
34301 2014-04-11  Will Newton  <will.newton@linaro.org>
34303         * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
34304         to zero if it is not defined elsewhere.  (mtrim): Test
34305         the value of MALLOC_DEBUG with #if rather than #ifdef.
34307 2014-04-10 Torvald Riegel  <triegel@redhat.com>
34309         * benchtests/pthread_once-inputs: New file.
34310         * benchtests/pthread_once-source.c: New file.
34311         * benchtests/README: Update documentation.
34313 2014-04-09  Igor Zamyatin  <igor.zamyatin@intel.com>
34314             H.J. Lu  <hongjiu.lu@intel.com>
34316         [BZ #16275]
34317         * config.h.in (HAVE_MPX_SUPPORT): New #undef.
34318         * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
34319         * sysdeps/x86_64/configure: Regenerated.
34320         * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
34321         macro.
34322         (REGISTER_SAVE_RAX): Likewise.
34323         (REGISTER_SAVE_RCX): Likewise.
34324         (REGISTER_SAVE_RDX): Likewise.
34325         (REGISTER_SAVE_RSI): Likewise.
34326         (REGISTER_SAVE_RDI): Likewise.
34327         (REGISTER_SAVE_R8): Likewise.
34328         (REGISTER_SAVE_R9): Likewise.
34329         (REGISTER_SAVE_BND0): Likewise.
34330         (REGISTER_SAVE_BND1): Likewise.
34331         (REGISTER_SAVE_BND2): Likewise.
34332         (_dl_runtime_resolve): Use them.  Save and restore Intel MPX
34333         bound registers when calling _dl_fixup.
34335 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34337         * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
34338         * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
34339         of its definition.
34340         * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
34341         * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
34342         * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
34343         * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
34344         * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
34345         * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
34346         * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
34348 2014-04-09  Peter Brett  <peter@peter-b.co.uk>
34350         [BZ #15514]
34351         * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
34352         pathconf(_PC_NAME_MAX).
34354 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34356         * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
34357         Remove macro usage.
34358         (__PTHREAD_SPINS): Move definition to ...
34359         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
34360         (__PTHREAD_SPINS): ... here.
34361         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
34362         (__PTHREAD_SPIN): Likewise.
34363         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
34364         (__PTHREAD_SPIN): Likewise.
34365         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
34366         (__PTHREAD_SPIN): Likewise.
34367         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
34368         (__PTHREAD_SPIN): Likewise.
34369         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
34370         (__PTHREAD_SPIN): Likewise.
34371         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
34372         (__PTHREAD_SPIN): Likewise.
34373         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
34374         (__PTHREAD_SPIN): Likewise.
34375         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
34376         (__PTHREAD_SPIN): Likewise.
34377         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
34378         (__PTHREAD_SPIN): Likewise.
34379         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
34380         (__PTHREAD_SPIN): Likewise.
34381         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
34382         (__PTHREAD_SPIN): Likewise.
34383         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
34384         (__PTHREAD_SPIN): Likewise.
34386         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
34387         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
34388         * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
34389         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
34390         imply folder.
34391         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
34392         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
34393         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
34394         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
34395         correct imply path.
34396         * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
34397         strlen symbol for non multi-arch builds.
34398         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
34399         missing hidden_def and weak_alias.
34401 2014-04-08  Carlos O'Donell  <carlos@redhat.com>
34403         * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
34405 2014-04-07  Will Newton  <will.newton@linaro.org>
34407         * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
34408         and contents.  [!_LIBC] Remove #ifndef and contents.
34409         (basename): Use ANSI prototype.  [_LIBC] Remove #idef.
34410         * string/memccpy.c (__memccpy): Use ANSI prototype.
34411         * string/memfrob.c (memfrob): Likewise.
34412         * string/strcoll.c (STRCOLL): Likewise.
34413         * string/strlen.c (strlen): Likewise.
34414         * string/strtok.c (STRTOK): Likewise.
34415         * string/strcat.c: Remove unused #include of memcopy.h.
34416         (strcat): Use ANSI prototype.
34417         * string/strchr.c: Remove unused #include of memcopy.h.
34418         (strchr): Use ANSI prototype.
34419         * string/strcmp.c: Remove unused #include of memcopy.h.
34420         (strcmp): Use ANSI prototype.
34421         * string/strcpy.c: Remove unused #include of memcopy.h.
34422         (strcpy): Use ANSI prototype.
34424 2014-04-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34426         * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
34427         * config.make.in (config-extra-cppflags): Set it from
34428         libc_extra_cppflags.
34429         * configure.ac (libc_extra_cflags): Make it accumulate over
34430         configure fragments.
34431         (libc_extra_cppflags): New flag.
34432         * configure. Regenerate.
34433         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
34434         (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
34435         not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
34436         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
34438         [BZ #16815]
34439         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
34440         result for FE_DOWNWARD rounding mode.
34441         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
34442         Likewise.
34443         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34445 2014-04-04  Chris Metcalf  <cmetcalf@tilera.com>
34447         * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
34448         in function argument name.
34450 2014-04-03  David Svoboda  <svoboda@cert.org>
34452         [BZ #5666]
34453         * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
34454         explicitly.
34456 2014-04-03  Roland McGrath  <roland@hack.frob.com>
34458         * elf/dl-unmap-segments.h: New file.
34459         * sysdeps/generic/ldsodefs.h
34460         (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
34461         * elf/dl-close.c: Include <dl-unmap-segments.h>.
34462         * elf/dl-fptr.c: Likewise.
34463         (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
34464         * sysdeps/aarch64/tlsdesc.c: Likewise.
34465         * sysdeps/arm/tlsdesc.c: Likewise.
34466         * sysdeps/i386/tlsdesc.c: Likewise.
34467         * sysdeps/tile/dl-runtime.c: Likewise.
34468         * sysdeps/x86_64/tlsdesc.c: Likewise.
34469         * elf/dl-load.h: New file.
34470         * elf/dl-load.c: Include it.
34471         (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
34472         Macros moved to dl-load.h.
34473         (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
34474         (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
34475         Use _dl_unmap_segments in place of __munmap.
34476         Break out segment-mapping loop into ...
34477         * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
34479 2014-04-03  Will Newton  <will.newton@linaro.org>
34481         * elf/dl-lookup.c (do_lookup_x): Remove comment
34482         referring to nested function and move variable
34483         declarations down to before first use.
34485 2014-04-02  Joseph Myers  <joseph@codesourcery.com>
34487         [BZ #16799]
34488         [BZ #16800]
34489         * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
34490         with 0 numerator.
34491         * math/s_catanf.c (__catanf): Likewise.
34492         * math/s_catanh.c (__catanh): Likewise.
34493         * math/s_catanhf.c (__catanhf): Likewise.
34494         * math/s_catanhl.c (__catanhl): Likewise.
34495         * math/s_catanl.c (__catanl): Likewise.
34496         * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
34497         by positive zero when computing -Inf result.
34498         * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
34499         (catanh_test): Likewise.
34500         * sysdeps/i386/fpu/libm-test-ulps: Update.
34501         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34503         [BZ #16789]
34504         * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
34505         instead of using underflowing value in computing result.
34506         * math/s_clog10.c (__clog10): Likewise.
34507         * math/s_clog10f.c (__clog10f): Likewise.
34508         * math/s_clog10l.c (__clog10l): Likewise.
34509         * math/s_clogf.c (__clogf): Likewise.
34510         * math/s_clogl.c (__clogl): Likewise.
34511         * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
34512         (clog10_test): Likewise.
34513         * sysdeps/i386/fpu/libm-test-ulps: Update.
34514         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34516 2014-04-02  Alan Modra  <amodra@gmail.com>
34518         [BZ #16739]
34519         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
34520         output when value is near a power of two.  Use int64_t for lx and
34521         remove casts.  Use decimal rather than hex exponent constants.
34522         Don't use long double multiplication when double will suffice.
34523         * math/libm-test.inc (nextafter_test_data): Add tests.
34524         * NEWS: Add 16739 and 16786 to bug list.
34526         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
34528         * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
34530 2014-04-01  Will Newton  <will.newton@linaro.org>
34532         * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
34533         -fno-builtin.  (CFLAGS-bench-ffsll.c): Likewise.
34535 2014-04-01  Florian Weimer  <fweimer@redhat.com>
34537         [BZ #13347]
34538         * nptl/nptl-init.c (sighandler_setxid): Check system call result.
34539         * nptl/tst-setuid2.c: New file.
34540         * nptl/Makefile (xtests): Add tst-setuid2.
34542 2014-04-01  Alan Modra  <amodra@gmail.com>
34544         [BZ #16786]
34545         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
34547 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
34549         [BZ #6803]
34550         [BZ #6804]
34551         * math/w_scalb.c (__scalb): For non-SVID mode, check result and
34552         set errno as appropriate.
34553         * math/w_scalbf.c (__scalbf): Likewise.
34554         * math/w_scalbl.c (__scalbl): Likewise.
34555         * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
34556         ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
34557         * math/libm-test.inc (scalb_test_data): Add errno expectations.
34558         Add more NaN tests.
34560         [BZ #16349]
34561         * math/w_atan2.c: Include <errno.h>.
34562         (__atan2): Set errno for result underflowing to zero.
34563         * math/w_atan2f.c: Include <errno.h>.
34564         (__atan2f): Set errno for result underflowing to zero.
34565         * math/w_atan2l.c: Include <errno.h>.
34566         (__atan2l): Set errno for result underflowing to zero.
34567         * math/auto-libm-test-in: Don't allow missing errno for some atan2
34568         tests.
34569         * math/auto-libm-test-out: Regenerated.
34571 2014-03-31  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34573         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
34574         Encode instruction correctly in little endian.
34575         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
34576         Likewise.
34577         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
34578         Likewise.
34579         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
34580         Likewise.
34581         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
34582         Likewise.
34584 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
34586         [BZ #9894]
34587         * sysdeps/unix/sysv/linux/kernel-features.h
34588         [__sparc__ && !__arch64__ && !__sparc_v9__]
34589         (__ASSUME_SET_ROBUST_LIST): Do not define.
34590         [__sparc__ && !__arch64__ && !__sparc_v9__]
34591         (__ASSUME_FUTEX_LOCK_PI): Likewise.
34592         [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
34593         Likewise.
34594         * sysdeps/unix/sysv/linux/arm/kernel-features.h
34595         (__ASSUME_FUTEX_LOCK_PI): Undefine.
34596         (__ASSUME_REQUEUE_PI): Likewise.
34597         (__ASSUME_SET_ROBUST_LIST): Likewise.
34598         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
34599         [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
34600         Undefine.
34601         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
34602         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
34603         Likewise.
34604         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
34605         Likewise.
34606         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
34607         Likewise.
34608         * sysdeps/unix/sysv/linux/mips/kernel-features.h
34609         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
34610         Undefine.
34611         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
34612         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
34613         Likewise.
34615         [BZ #16648]
34616         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
34617         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
34618         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
34620 2014-03-31  Will Newton  <will.newton@linaro.org>
34622         * benchtests/Makefile (bench): Add ffs and ffsll to list
34623         of tests.
34624         * benchtests/ffs-inputs: New file.
34625         * benchtests/ffsll-inputs: Likewise.
34627 2014-03-29  Joseph Myers  <joseph@codesourcery.com>
34629         [BZ #16770]
34630         * math/e_scalb.c (__ieee754_scalb): Check second argument is not
34631         too large before casting to int.
34632         * math/e_scalbf.c (__ieee754_scalbf): Likewise.
34633         * math/e_scalbl.c (__ieee754_scalbl): Likewise.
34634         * math/libm-test.inc (scalb_test_data): Add more tests.
34636 2014-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
34638         * benchtests/Makefile (DETAILED_OPT): New make option.
34639         (bench-func): Run benchmark program with -d if DETAILED_OPT is
34640         set.
34641         * benchtests/bench-skeleton.c: Include stdbool.h.
34642         (main): Store and print timings per input.
34643         * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
34644         member to each argument value.
34645         (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
34646         (_print_arg_data): Initialize per-input timing to 0.
34648         * benchtests/Makefile (timing-type): New binary.
34649         (bench-clean): Also remove bench-timing-type.
34650         (bench): New target for timing-type.
34651         (bench-func): Print output in JSON format.
34652         * benchtests/bench-skeleton.c (main): Print output in JSON
34653         format.
34654         * benchtests/bench-timing-type.c: New file.
34655         * benchtests/bench-timing.h (TIMING_TYPE): New macro.
34656         (TIMING_PRINT_STATS): Remove.
34657         * benchtests/scripts/bench.py (_print_arg_data): Store variant
34658         name separately.
34660         * benchtests/bench-modf.c: Remove.
34661         * benchtests/modf-inputs: New inputs file.
34663 2014-03-28  Joseph Myers  <joseph@codesourcery.com>
34665         [BZ #16362]
34666         * math/s_clog10.c (M_PI_LOG10E): New macro.
34667         (__clog10): Use M_PI_LOG10E instead of M_PI when real and
34668         imaginary parts are 0.
34669         * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
34670         (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
34671         imaginary parts are 0.
34672         * math/s_clog10l.c (M_PI_LOG10El): New macro.
34673         (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
34674         imaginary parts are 0.
34675         * math/libm-test.inc (clog10_test_data): Update expected results
34676         for when real and imaginary parts are 0.
34678 2014-03-27  Paul Pluzhnikov  <ppluzhnikov@google.com>
34680         * elf/dl-load.c: Finish conversion of __builtin_expect into
34681         __glibc_{un}likely.
34683 2014-03-27  Joseph Myers  <joseph@codesourcery.com>
34685         [BZ #16348]
34686         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
34687         1+x for argument with exponent below -67.
34688         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
34689         Likewise.
34690         * math/auto-libm-test-in: Add more tests of exp.
34691         * math/auto-libm-test-out: Regenerated.
34693 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
34695         [BZ #16759]
34696         * inet/getnetgrent_r.c (get_nonempty_val): New function.
34697         (nscd_getnetgrent): Use it.
34699         [BZ #16760]
34700         * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
34701         of stpcpy.
34703 2014-03-27  Andi Kleen  <ak@linux.intel.com>
34705         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
34706         (lll_robust_lock, lll_cond_lock, lll_timedlock)
34707         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
34708         (lll_robust_unlock): Remove out of line section. Use cfi
34709         intrinsics.
34710         (LLL_STUB_UNWIND_INFO*): Remove.
34711         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
34712         (lll_robust_lock, lll_cond_lock, lll_timedlock)
34713         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
34714         (lll_robust_unlock): Remove out of line section. Use cfi
34715         intrinsics.
34716         (LLL_STUB_UNWIND_INFO*): Remove.
34718 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
34720         [BZ #16758]
34721         * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
34722         blank values.
34724 2014-03-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
34726         * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
34728 2014-03-26  Joseph Myers  <joseph@codesourcery.com>
34730         [BZ #16198]
34731         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
34732         fnstenv.
34733         * math/test-fenv-preserve.c: New file.
34734         * math/Makefile (tests): Add test-fenv-preserve.
34736 2014-03-26  Will Newton <will.newton@linaro.org>
34738         * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
34740 2014-03-25  Roland McGrath  <roland@hack.frob.com>
34742         * scripts/versionlist.awk: Partition the version sets and emit all
34743         GLIBC_* (sorted) before all others (sorted).
34745 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
34747         * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
34748         GLIBC_2.2.5 version.
34750 2014-03-25 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34752         * scripts/localplt.awk: Check for PLT generated by internal IFUNC
34753         calls.
34755         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
34756         previous change.
34758         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34760 2014-03-25  Andreas Schwab  <schwab@suse.de>
34762         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
34763         label to be used after in6ailist is initialized.
34765 2014-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34767         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
34768         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
34770 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
34772         [BZ #16357]
34773         [BZ #16599]
34774         * math/gen-auto-libm-tests.c (fp_format_desc): Add field
34775         min_plus_half.
34776         (fp_formats): Update initializers.
34777         (init_fp_formats): Initialize new field.
34778         (output_for_one_input_case): Allow underflow for results up to
34779         min_plus_half.
34780         * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
34781         * math/auto-libm-test-in: Don't mark some underflows from asin and
34782         atanh as spurious.
34783         * math/auto-libm-test-out: Regenerated.
34784         * sysdeps/i386/fpu/libm-test-ulps: Update.
34785         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34787 2014-03-25  Andreas Schwab  <schwab@suse.de>
34789         * libio/Makefile (tst-ftell-partial-wide-ENV)
34790         (tst-ftell-active-handler-ENV): Define.
34792 2014-03-25  Stefan Liebler <stli@linux.vnet.ibm.com>
34794         * NEWS: Add 16712, 16713, 16714 to fixed bug list.
34796 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
34798         * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
34800 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
34802         * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
34803         * sysdeps/x86_64/fpu/multiarch/e_exp.c
34804         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
34806 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
34808         [BZ #16634]
34809         * elf/dl-load.c (open_verify): Add mode parameter.
34810         Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
34811         (open_path): Change from boolean 'secure' to complete flag 'mode'
34812         (_dl_map_object): Adjust.
34813         * elf/Makefile (tests): Add tst-dlopen-aout.
34814         * elf/tst-dlopen-aout.c: New test.
34816 2014-03-24  Stefan Liebler <stli@linux.vnet.ibm.com>
34818         [BZ #16714]
34819         * sysdeps/unix/sysv/linux/s390/bits/stat.h
34820         (struct stat): Rename member pad0 to __glibc_reserved0.
34822         [BZ #16712]
34823         * sysdeps/s390/s390-32/bits/wordsize.h
34824         (__WORDSIZE32_SIZE_ULONG): New define.
34825         * sysdeps/s390/s390-64/bits/wordsize.h
34826         (__WORDSIZE32_SIZE_ULONG): Likewise.
34827         * sysdeps/generic/stdint.h (SIZE_MAX):
34828         Define as UL if __WORDSIZE32_SIZE_ULONG.
34830         [BZ #16713]
34831         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
34832         (__glibc_reserved0): New variable.
34833         (sa_flags): Change type to int.
34835         * posix/Makefile (before-compile): Use += before-compile instead
34836         of a :=.
34838         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
34839         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
34841 2014-03-20  Andreas Schwab  <schwab@suse.de>
34843         [BZ #16743]
34844         * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
34845         non-matching result from nscd.
34847 2014-03-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
34849         * scripts/bench.py: Moved to ...
34850         * benchtests/scripts/bench.py: ... here.
34851         * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
34853 2014-03-24  Andreas Schwab  <schwab@suse.de>
34855         [BZ #16002]
34856         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
34857         alloca_account and account alloca use for struct in6ailist.
34859 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
34861         [BZ #16284]
34862         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
34863         rounding mode to recompute results that overflow to infinity or
34864         underflow to zero.
34865         * math/auto-libm-test-in: Don't mark tests as expected to fail for
34866         bug 16284.
34867         * math/auto-libm-test-out: Regenerated.
34868         * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
34869         (ccosh_test): Likewise.
34870         (csin_test_data): Use plus_oflow.
34871         (csin_test): Use ALL_RM_TEST.
34872         (csinh_test_data): Use plus_oflow.
34873         (csinh_test): Use ALL_RM_TEST.
34874         * sysdeps/i386/fpu/libm-test-ulps: Update.
34875         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34877 2014-03-21  Joseph Myers  <joseph@codesourcery.com>
34879         * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
34880         * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
34881         * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
34883         [BZ #16731]
34884         * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
34885         when x - 1 is zero.
34886         * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
34887         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
34888         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
34889         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
34890         argument is 1.
34891         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
34892         * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
34893         zero.
34894         * math/libm-test.inc (log_test): Use ALL_RM_TEST.
34895         * sysdeps/i386/fpu/libm-test-ulps: Update.
34896         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34898 2014-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
34900         * scripts/bench.pl: Remove file.
34901         * scripts/bench.py: New benchmark script.
34902         * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
34903         * benchtests/README: Mention python dependency.
34904         * scripts/pylintrc: New file.
34905         * scripts/pylint: New file.
34907         * bits/mathdef.h: Use #ifdef instead of #if.
34908         * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
34909         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
34910         * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
34911         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
34912         * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
34913         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
34915 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34916             Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
34918         * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
34919         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
34920         and strpbrk-ppc64 objects.
34921         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
34922         (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
34923         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
34924         multiarch strpbrk for POWER7.
34925         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
34926         multiarch strpbrk for PPC64.
34927         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
34928         ifunc selector.
34929         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
34930         strpbrk for POWER7.
34932 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
34934         * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
34935         (atan_test): Likewise.
34936         (atanh_test_data): Use NO_TEST_INLINE for two tests.
34937         (atanh_test): Use ALL_RM_TEST.
34938         (atan2_test_data): Likewise.
34939         (cabs_test): Likewise.
34940         (cacosh_test): Likewise.
34941         (carg_test): Likewise.
34942         (casin_test): Likewise.
34943         (casinh_test): Likewise.
34944         (cbrt_test): Likewise.
34945         (csqrt_test): Likewise.
34946         (erf_test): Likewise.
34947         (erfc_test): Likewise.
34948         (pow10_test): Likewise.
34949         (exp2_test): Likewise.
34950         (hypot_test): Likewise.
34951         (j0_test): Likewise.
34952         (j1_test): Likewise.
34953         (lgamma_test): Likewise.
34954         (gamma_test): Likewise.
34955         (sincos_test): Likewise.
34956         (tanh_test): Likewise.
34957         (y0_test): Likewise.
34958         (y1_test): Likewise.
34959         * sysdeps/i386/fpu/libm-test-ulps: Update.
34960         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34962 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34964         * string/strcspn.c (strcspn): Using macro to redefine symbol name.
34965         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
34966         and strcspn-ppc64 objects.
34967         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
34968         (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
34969         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
34970         multiarch strcspn for POWER7.
34971         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
34972         multiarch strcspn for PPC64.
34973         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
34974         ifunc selector.
34975         * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
34976         strcspn for POWER7.
34978 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
34980         * math/gen-libm-test.pl (generate_testfile): Expect only function
34981         name as argument to AUTO_TESTS_* and pass results for all rounding
34982         modes to parse_args.
34983         (parse_auto_input): Separate inputs of automatic tests from
34984         outputs before storing in %auto_tests.
34985         * math/libm-test.inc (acos_test_data): Update call to
34986         AUTO_TESTS_f_f.
34987         (acos_test): Use ALL_RM_TEST.
34988         (acos_tonearest_test_data): Remove.
34989         (acos_test_tonearest): Likewise.
34990         (acos_towardzero_test_data): Likewise.
34991         (acos_test_towardzero): Likewise.
34992         (acos_downward_test_data): Likewise.
34993         (acos_test_downward): Likewise.
34994         (acos_upward_test_data): Likewise.
34995         (acos_test_upward): Likewise.
34996         (acosh_test_data): Update call to AUTO_TESTS_f_f.
34997         (asin_test_data): Likewise.
34998         (asin_test): Use ALL_RM_TEST.
34999         (asin_tonearest_test_data): Remove.
35000         (asin_test_tonearest): Likewise.
35001         (asin_towardzero_test_data): Likewise.
35002         (asin_test_towardzero): Likewise.
35003         (asin_downward_test_data): Likewise.
35004         (asin_test_downward): Likewise.
35005         (asin_upward_test_data): Likewise.
35006         (asin_test_upward): Likewise.
35007         (asinh_test_data): Update call to AUTO_TESTS_f_f.
35008         (atan_test_data): Likewise.
35009         (atanh_test_data): Likewise.
35010         (atan2_test_data): Update call to AUTO_TESTS_ff_f.
35011         (cabs_test_data): Update call to AUTO_TESTS_c_f.
35012         (carg_test_data): Likewise.
35013         (cbrt_test_data): Update call to AUTO_TESTS_f_f.
35014         (ccos_test_data): Update call to AUTO_TESTS_c_c.
35015         (ccosh_test_data): Likewise.
35016         (cexp_test_data): Likewise.
35017         (clog_test_data): Likewise.
35018         (clog10_test_data): Likewise.
35019         (cos_test_data): Update call to AUTO_TESTS_f_f.
35020         (cos_test): Use ALL_RM_TEST.
35021         (cos_tonearest_test_data): Remove.
35022         (cos_test_tonearest): Likewise.
35023         (cos_towardzero_test_data): Likewise.
35024         (cos_test_towardzero): Likewise.
35025         (cos_downward_test_data): Likewise.
35026         (cos_test_downward): Likewise.
35027         (cos_upward_test_data): Likewise.
35028         (cos_test_upward): Likewise.
35029         (cosh_test_data): Update call to AUTO_TESTS_f_f.
35030         (cosh_test): Use ALL_RM_TEST.
35031         (cosh_tonearest_test_data): Remove.
35032         (cosh_test_tonearest): Likewise.
35033         (cosh_towardzero_test_data): Likewise.
35034         (cosh_test_towardzero): Likewise.
35035         (cosh_downward_test_data): Likewise.
35036         (cosh_test_downward): Likewise.
35037         (cosh_upward_test_data): Likewise.
35038         (cosh_test_upward): Likewise.
35039         (cpow_test_data): Update call to AUTO_TESTS_cc_c.
35040         (csqrt_test_data): Update call to AUTO_TESTS_c_c.
35041         (ctan_test_data): Likewise.
35042         (ctan_test): Use ALL_RM_TEST.
35043         (ctan_tonearest_test_data): Remove.
35044         (ctan_test_tonearest): Likewise.
35045         (ctan_towardzero_test_data): Likewise.
35046         (ctan_test_towardzero): Likewise.
35047         (ctan_downward_test_data): Likewise.
35048         (ctan_test_downward): Likewise.
35049         (ctan_upward_test_data): Likewise.
35050         (ctan_test_upward): Likewise.
35051         (ctanh_test_data): Update call to AUTO_TESTS_c_c.
35052         (ctanh_test): Use ALL_RM_TEST.
35053         (ctanh_tonearest_test_data): Remove.
35054         (ctanh_test_tonearest): Likewise.
35055         (ctanh_towardzero_test_data): Likewise.
35056         (ctanh_test_towardzero): Likewise.
35057         (ctanh_downward_test_data): Likewise.
35058         (ctanh_test_downward): Likewise.
35059         (ctanh_upward_test_data): Likewise.
35060         (ctanh_test_upward): Likewise.
35061         (erf_test_data): Update call to AUTO_TESTS_f_f.
35062         (erfc_test_data): Likewise.
35063         (exp_test_data): Likewise.
35064         (exp_test): Use ALL_RM_TEST.
35065         (exp_tonearest_test_data): Remove.
35066         (exp_test_tonearest): Likewise.
35067         (exp_towardzero_test_data): Likewise.
35068         (exp_test_towardzero): Likewise.
35069         (exp_downward_test_data): Likewise.
35070         (exp_test_downward): Likewise.
35071         (exp_upward_test_data): Likewise.
35072         (exp_test_upward): Likewise.
35073         (exp10_test_data): Update call to AUTO_TESTS_f_f.
35074         (exp10_test): Use ALL_RM_TEST.
35075         (exp10_tonearest_test_data): Remove.
35076         (exp10_test_tonearest): Likewise.
35077         (exp10_towardzero_test_data): Likewise.
35078         (exp10_test_towardzero): Likewise.
35079         (exp10_downward_test_data): Likewise.
35080         (exp10_test_downward): Likewise.
35081         (exp10_upward_test_data): Likewise.
35082         (exp10_test_upward): Likewise.
35083         (exp2_test_data): Update call to AUTO_TESTS_f_f.
35084         (expm1_test_data): Likewise.
35085         (expm1_test): Use ALL_RM_TEST.
35086         (expm1_tonearest_test_data): Remove.
35087         (expm1_test_tonearest): Likewise.
35088         (expm1_towardzero_test_data): Likewise.
35089         (expm1_test_towardzero): Likewise.
35090         (expm1_downward_test_data): Likewise.
35091         (expm1_test_downward): Likewise.
35092         (expm1_upward_test_data): Likewise.
35093         (expm1_test_upward): Likewise.
35094         (fma_test_data): Update call to AUTO_TESTS_fff_f.
35095         (fma_test): Use ALL_RM_TEST.
35096         (fma_towardzero_test_data): Remove.
35097         (fma_test_towardzero): Likewise.
35098         (fma_downward_test_data): Likewise.
35099         (fma_test_downward): Likewise.
35100         (fma_upward_test_data): Likewise.
35101         (fma_test_upward): Likewise.
35102         (hypot_test_data): Update call to AUTO_TESTS_ff_f.
35103         (j0_test_data): Update call to AUTO_TESTS_f_f.
35104         (j1_test_data): Likewise.
35105         (jn_test_data): Update call to AUTO_TESTS_if_f.
35106         (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
35107         (log_test_data): Update call to AUTO_TESTS_f_f.
35108         (log10_test_data): Likewise.
35109         (log1p_test_data): Likewise.
35110         (log2_test_data): Likewise.
35111         (pow_test_data): Update call to AUTO_TESTS_ff_f.
35112         (pow_tonearest_test_data): Likewise.
35113         (sin_test_data): Update call to AUTO_TESTS_f_f.
35114         (sin_test): Use ALL_RM_TEST.
35115         (sin_tonearest_test_data): Remove.
35116         (sin_test_tonearest): Likewise.
35117         (sin_towardzero_test_data): Likewise.
35118         (sin_test_towardzero): Likewise.
35119         (sin_downward_test_data): Likewise.
35120         (sin_test_downward): Likewise.
35121         (sin_upward_test_data): Likewise.
35122         (sin_test_upward): Likewise.
35123         (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
35124         (sinh_test_data): Update call to AUTO_TESTS_f_f.
35125         (sinh_test): Use ALL_RM_TEST.
35126         (sinh_tonearest_test_data): Remove.
35127         (sinh_test_tonearest): Likewise.
35128         (sinh_towardzero_test_data): Likewise.
35129         (sinh_test_towardzero): Likewise.
35130         (sinh_downward_test_data): Likewise.
35131         (sinh_test_downward): Likewise.
35132         (sinh_upward_test_data): Likewise.
35133         (sinh_test_upward): Likewise.
35134         (sqrt_test_data): Update call to AUTO_TESTS_f_f.
35135         (sqrt_test): Use ALL_RM_TEST.
35136         (sqrt_tonearest_test_data): Remove.
35137         (sqrt_test_tonearest): Likewise.
35138         (sqrt_towardzero_test_data): Likewise.
35139         (sqrt_test_towardzero): Likewise.
35140         (sqrt_downward_test_data): Likewise.
35141         (sqrt_test_downward): Likewise.
35142         (sqrt_upward_test_data): Likewise.
35143         (sqrt_test_upward): Likewise.
35144         (tan_test_data): Update call to AUTO_TESTS_f_f.
35145         (tan_test): Use ALL_RM_TEST.
35146         (tan_tonearest_test_data): Remove.
35147         (tan_test_tonearest): Likewise.
35148         (tan_towardzero_test_data): Likewise.
35149         (tan_test_towardzero): Likewise.
35150         (tan_downward_test_data): Likewise.
35151         (tan_test_downward): Likewise.
35152         (tan_upward_test_data): Likewise.
35153         (tan_test_upward): Likewise.
35154         (tanh_test_data): Update call to AUTO_TESTS_f_f.
35155         (tgamma_test_data): Likewise.
35156         (y0_test_data): Likewise.
35157         (y1_test_data): Likewise.
35158         (yn_test_data): Update call to AUTO_TESTS_if_f.
35159         (main): Do not call removed functions.
35161 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
35163         * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
35164         (ldexp_test_data): Remove.
35165         (ldexp_test): Move to after scalbn_test.  Use ALL_RM_TEST with
35166         scalbn_test_data.
35167         (scalb_test): Use ALL_RM_TEST.
35169 2014-03-19  Andreas Schwab  <schwab@suse.de>
35171         * nscd/nscd.service: Also invalidate netgroup cache on reload.
35173 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
35175         [BZ #16649]
35176         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
35177         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
35178         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
35179         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
35180         (__ASSUME_PREADV): Undefine.
35181         (__ASSUME_PWRITEV): Likewise.
35183 2014-03-18  Roland McGrath  <roland@hack.frob.com>
35185         * bits/mman-linux.h: Add comment about non-Linux use.
35186         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
35187         bits/mman-linux.h resting place.
35189         * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
35190         * bits/mman-linux.h: ... here.
35192 2014-03-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35194         * conform/conformtest.pl: Add standard definition when calling C
35195         preprocessor on data files.
35196         (checknamespace): Remove unused variable.
35198 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
35200         * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
35201         minus_oflow, plus_uflow and minus_uflow in expected results.
35202         * math/libm-test.inc (scalbn_test_data): Add more tests of
35203         negative arguments.  Use plus_oflow, minus_oflow, plus_uflow and
35204         minus_uflow.
35205         (scalbn_test): Use ALL_RM_TEST.
35206         (scalbln_test_data): Add more tests of negative arguments.  Use
35207         plus_oflow, minus_oflow, plus_uflow and minus_uflow.
35208         (scalbln_test): Use ALL_RM_TEST.
35210 2014-03-18  Roland McGrath  <roland@hack.frob.com>
35212         * scripts/abilist.awk: Ignore symbols marked with .hidden.
35214 2014-03-18  Will Newton  <will.newton@linaro.org>
35216         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
35217         inaccurate comment.
35219 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
35221         * Makerules [!subdir] (check-abi): Exit with error status if a
35222         test failed.
35224 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
35226         * math/libm-test.inc (nearbyint_test_data): Include all tests used
35227         for rint.  Include results for all rounding modes.
35228         (nearbyint_test): Use ALL_RM_TEST.
35229         (rint_test_data): Include all tests used for nearbyint.
35231 2014-03-17  Will Newton  <will.newton@linaro.org>
35233         * nptl/sysdeps/pthread/pthread.h: Revert previous
35234         change.
35236         * sysdeps/generic/ldsodefs.h: Revert previous
35237         change.
35239         * libio/genops.c: Revert previous change.
35240         * libio/libioP.h: Likewise.
35241         * stdio-common/vfprintf.c: Likewise.
35243         * sysdeps/generic/math_private.h: Revert previous
35244         change.
35246         * sysdeps/generic/math_private.h: Check whether
35247         HAVE_RM_CTX is defined with #ifdef rather
35248         than #if.
35250         * argp/argp-fmtstream.h: Check whether
35251         __STRICT_ANSI__ is defined with #ifdef rather
35252         than #if.
35253         * argp/argp.h: Likewise.
35255         * libio/genops.c: Check whether
35256         _IO_JUMPS_OFFSET is defined with #ifdef rather
35257         than #if.
35258         * libio/libioP.h: Likewise.
35259         * stdio-common/vfprintf.c: Likewise.
35261         * sysdeps/generic/ldsodefs.h: Check whether
35262         HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
35263         than #if.
35265         * nptl/sysdeps/pthread/pthread.h: Check
35266         __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
35267         its value.
35269 2014-03-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
35271         * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
35272         setting O_APPEND.
35273         * libio/tst-ftell-active-handler.c (do_append_test): Add a
35274         test case.
35276         [BZ #16680]
35277         * libio/fileops.c (_IO_file_open): Seek to end of file but
35278         don't cache the offset.
35279         (get_file_offset): Remove function.
35280         (do_ftell): Use cached offset when available.
35281         * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
35282         don't cache the offset.
35283         * libio/tst-ftell-active-handler.c (do_rewind_test): New test
35284         case.
35285         (do_one_test): Call it.
35286         (do_ftell_test): Fix up expected old offset for a+ mode.
35287         * libio/wfileops.c (do_ftell_wide): Used cached offset when
35288         available.
35290         * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
35291         up test status with function return status.
35292         (do_write_test): Likewise.
35293         (do_append_test): Likewise.
35295         * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
35296         && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
35297         Remove.
35299 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
35301         * math/gen-libm-test.pl (parse_args): Handle results specified for
35302         each rounding mode separately.
35303         * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
35304         tests and results from lrint_tonearest_test_data,
35305         lrint_towardzero_test_data, lrint_downward_test_data and
35306         lrint_upward_test_data.
35307         (lrint_test): Use ALL_RM_TEST.
35308         (lrint_tonearest_test_data): Remove.
35309         (lrint_test_tonearest): Likewise.
35310         (lrint_towardzero_test_data): Likewise.
35311         (lrint_test_towardzero): Likewise.
35312         (lrint_downward_test_data): Likewise.
35313         (lrint_test_downward): Likewise.
35314         (lrint_upward_test_data): Likewise.
35315         (lrint_test_upward): Likewise.
35316         (llrint_test_data): Merge in per-rounding-mode tests and results
35317         from llrint_tonearest_test_data, llrint_towardzero_test_data,
35318         llrint_downward_test_data and llrint_upward_test_data.
35319         (llrint_test): Use ALL_RM_TEST.
35320         (llrint_tonearest_test_data): Remove.
35321         (llrint_test_tonearest): Likewise.
35322         (llrint_towardzero_test_data): Likewise.
35323         (llrint_test_towardzero): Likewise.
35324         (llrint_downward_test_data): Likewise.
35325         (llrint_test_downward): Likewise.
35326         (llrint_upward_test_data): Likewise.
35327         (llrint_test_upward): Likewise.
35328         (rint_test_data): Merge in per-rounding-mode tests and results
35329         from rint_tonearest_test_data, rint_towardzero_test_data,
35330         rint_downward_test_data and rint_upward_test_data.  Add
35331         per-rounding-mode results for tests not in those arrays.
35332         (rint_test): Use ALL_RM_TEST.
35333         (rint_tonearest_test_data): Remove.
35334         (rint_test_tonearest): Likewise.
35335         (rint_towardzero_test_data): Likewise.
35336         (rint_test_towardzero): Likewise.
35337         (rint_downward_test_data): Likewise.
35338         (rint_test_downward): Likewise.
35339         (rint_upward_test_data): Likewise.
35340         (rint_test_upward): Likewise.
35341         (main): Don't call removed functions.
35343 2014-03-14  Roland McGrath  <roland@hack.frob.com>
35345         * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
35346         "Compiled on ..." crapola.  It is anti-useful.
35348 2014-03-14  Joseph Myers  <joseph@codesourcery.com>
35350         * scripts/evaluate-test.sh: Handle fourth argument to determine
35351         whether test run should stop on failure.
35352         * Makeconfig (stop-on-test-failure): New variable.
35353         (evaluate-test): Pass fourth argument to evaluate-test.sh based on
35354         $(stop-on-test-failure).
35355         * Makefile (tests): Give a summary of results from testing and
35356         exit with failure status if they include an ERROR or FAIL.
35357         (xtests): Likewise.
35358         * manual/install.texi (Configuring and compiling): Mention
35359         stop-on-test-failure=y.
35360         * INSTALL: Regenerated.
35362 2014-03-14  Roland McGrath  <roland@hack.frob.com>
35364         * scripts/versionlist.awk: New file.
35365         * Makerules [$(build-shared) = yes]
35366         (postclean-generated): Add Versions.def, not Versions.def.v and
35367         Versions.def.v.i.
35368         ($(common-objpfx)Versions.def.v.i): Target removed.
35369         ($(common-objpfx)Versions.def): New target.
35370         ($(common-objpfx)Versions.all): Depend on that rather that
35371         $(common-objpfx)Versions.def.v.
35372         * Versions.def: File removed.
35374         * Makeconfig (+gccwarn): Add -Wundef.
35375         * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
35376         a dl-sysdep.h breaking its contract.
35377         [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
35378         * include/stackinfo.h: New file.
35379         * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
35380         * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
35381         * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
35382         * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
35383         * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
35384         * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
35385         * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
35386         * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
35387         * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
35388         * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
35389         * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
35390         * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
35391         * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
35392         * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
35393         * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
35395 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35397         [BZ #16707]
35398         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
35399         implementation.
35400         * math/libm-test.inc (round_test_data): Add more tests.
35402         [BZ #16706]
35403         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
35404         implementation.
35405         * math/libm-test.inc (nearbyint_test_data): Add more tests.
35407         [BZ #16701]
35408         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
35409         implementation.
35410         * math/libm-test.inc (ceil_test_data): Add more tests.
35412         * math/libm-test.inc (trunc_test_data): Add more tests related to
35413         BZ#16414.
35415 2014-03-14  Roland McGrath  <roland@hack.frob.com>
35417         * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
35418         with #if rather than #ifdef.
35419         * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
35421 2014-03-14  H.J. Lu  <hongjiu.lu@intel.com>
35423         * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
35424         first.  Disable AVX-512 GCC support if assembler doesn't support
35425         it.
35426         * sysdeps/x86_64/configure: Regenerated.
35428 2014-03-13  Carlos O'Donell  <carlos@redhat.com>
35430         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
35431         [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
35432         (__old_pthread_attr_setstack): Likewise.
35433         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
35434         [!_STACK_GROWS_DOWN]: Likewise.
35436 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
35438         * config.make.in (have-bash2): Delete.
35439         * configure.ac (libc_cv_have_bash2): Delete.
35440         * configure: Regenerate.
35441         * elf/Makefile (common-ldd-rewrite): Rename to ...
35442         (ldd-rewrite): ... this.  Move bash-ldd-rewrite content to end.
35443         (sh-ldd-rewrite): Delete.
35444         (bash-ldd-rewrite): Delete.
35445         (have-bash2): Delete checks.
35446         [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
35447         ldd-rewrite.
35449         * config.make.in (have-ksh): Delete.
35450         (KSH): Delete.
35451         * configure.ac (libc_cv_have_ksh): Delete.
35452         * configure: Regenerate.
35454         * elf/Makefile: Delete $(have-ksh) check.
35455         ($(objpfx)sotruss): Change KSH to BASH.
35456         * elf/sotruss.ksh: Rename to ...
35457         * elf/sotruss.sh: ... this.  Change @KSH@ to @BASH@.  Change
35458         function style to match POSIX.  Drop ksh vim mode setting.
35460         * manual/time.texi (Specifying the Time Zone with TZ): Change
35461         Tuesday to Thursday.
35463         * debug/tst-longjmp_chk2.c: Update header comment.
35464         (stackoverflow_handler): Add comment.  Call assert on pass value.
35466 2014-03-13  Igor Zamyatin  <igor.zamyatin@intel.com>
35468         [BZ #16194]
35469         * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
35470         (HAVE_AVX512_ASM_SUPPORT): Likewise.
35471         * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
35472         (La_x86_64_vector): Add zmm.
35473         * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
35474         (modules-names): Add tst-auditmod10a and tst-auditmod10b.
35475         ($(objpfx)tst-audit10): New target.
35476         ($(objpfx)tst-audit10.out): Likewise.
35477         (tst-audit10-ENV): New.
35478         (AVX512-CFLAGS): Likewise.
35479         (CFLAGS-tst-audit10.c): Likewise.
35480         (CFLAGS-tst-auditmod10a.c): Likewise.
35481         (CFLAGS-tst-auditmod10b.c): Likewise.
35482         * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
35483         HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
35484         * sysdeps/x86_64/configure: Regenerated.
35485         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
35486         AVX-512 zmm register support.
35487         (_dl_x86_64_save_sse): Likewise.
35488         (_dl_x86_64_restore_sse): Likewise.
35489         * sysdeps/x86_64/dl-trampoline.h: Updated to support different
35490         size vector registers.
35491         * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
35492         (ZMM_SIZE): Likewise.
35493         * sysdeps/x86_64/tst-audit10.c: New file.
35494         * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
35495         * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
35497 2014-03-13  Roland McGrath  <roland@hack.frob.com>
35499         * configure.ac (HAVE_EHDR_START): New check.
35500         * configure: Regenerated.
35501         * config.h.in (HAVE_EHDR_START): New #undef.
35502         * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
35503         assuming the lowest-addressed segment maps the start of the file.
35505 2014-03-13  Joseph Myers  <joseph@codesourcery.com>
35507         * INSTALL: Regenerated.
35509 2014-03-13  Will Newton  <will.newton@linaro.org>
35511         * manual/setjmp.texi (System V contexts): Improve
35512         clarity and grammar of documentation.
35514 2014-03-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
35516         [BZ #16381]
35517         * elf/Makefile (tests): Add tst-pie2.
35518         (tests-pie): Add tst-pie2.
35519         * elf/tst-pie2.c: New file.
35520         * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
35521         for ET_EXEC.
35522         * elf/rtld.c (map_doit): Load executable as lt_executable.
35523         (dl_main): Likewise.
35525 2014-03-12  Joseph Myers  <joseph@codesourcery.com>
35527         [BZ #16642]
35528         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
35529         (__ASSUME_PSELECT): Undefine.
35531 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35533         [BZ #16689]
35534         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
35535         (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
35536         static build.
35537         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
35538         selector for static builds.
35540 2014-03-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
35542         [BZ #16695]
35543         * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
35544         key in the buffer.
35546 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35548         * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
35549         IFUNC selector for static builds.
35551 2014-03-11  Joseph Myers  <joseph@codesourcery.com>
35553         * sysdeps/mips/math_private.h [__mips_hard_float]
35554         (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
35555         libc_feresetround_mips_ctx.
35556         [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
35557         [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
35558         [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
35560         [BZ #16677]
35561         * math/s_nextafter.c (__nextafter): Do not return value from
35562         overflowing computation.
35563         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
35564         * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
35565         * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
35566         Likewise.
35567         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
35568         Likewise.
35569         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
35570         * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
35572 2014-03-11  Roland McGrath  <roland@hack.frob.com>
35574         * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
35575         * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
35576         Move sfi_sp use from the load-multiple (that no longer sets sp) to
35577         the new mov targetting sp.
35579 2014-03-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35581         [BZ #16683]
35582         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
35583         Define it for static builds as well.
35584         (NO_BZERO_IMPL): Likewise.
35586 2014-03-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
35588         * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
35589         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
35590         multiarch strspn for PPC64.
35591         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
35592         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
35593         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
35594         (__libc_ifunc_impl_list): Likewise.
35595         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
35596         multiarch optimizations
35597         * string/strspn.c (strspn): Using macro to redefine symbol name.
35599 2014-03-10  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
35600             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35602         * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
35603         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
35604         multiarch strncat for PPC64.
35605         * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
35606         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
35607         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
35608         (__libc_ifunc_impl_list): Likewise.
35609         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
35610         multiarch optimizations
35612 2014-03-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
35614         [BZ #16639]
35615         * nscd/nscd.service: Make service type forking.
35617 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35619         * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
35620         sign in non default rounding modes.
35621         * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
35623 2014-03-08  Joseph Myers  <joseph@codesourcery.com>
35625         * math/libm-test.inc (ALL_RM_TEST): New macro.
35626         (ceil_test): Use ALL_RM_TEST.
35627         (cimag_test): Likewise.
35628         (conj_test): Likewise.
35629         (copysign_test): Likewise.
35630         (cproj_test): Likewise.
35631         (creal_test): Likewise.
35632         (fabs_test): Likewise.
35633         (floor_test): Likewise.
35634         (fmax_test): Likewise.
35635         (fmin_test): Likewise.
35636         (fmod_test): Likewise.
35637         (fpclassify_test): Likewise.
35638         (frexp_test): Likewise.
35639         (ilogb_test): Likewise.
35640         (isfinite_test): Likewise.
35641         (finite_test): Likewise.
35642         (isgreater_test): Likewise.
35643         (isgreaterequal_test): Likewise.
35644         (isinf_test): Likewise.
35645         (isless_test): Likewise.
35646         (islessequal_test): Likewise.
35647         (islessgreater_test): Likewise.
35648         (isnan_test): Likewise.
35649         (isnormal_test): Likewise.
35650         (issignaling_test): Likewise.
35651         (isunordered_test): Likewise.
35652         (logb_test): Likewise.
35653         (logb_downward_test_data): Remove.
35654         (logb_test_downward): Likewise.
35655         (lround_test): Use ALL_RM_TEST.
35656         (llround_test): Likewise.
35657         (modf_test): Likewise.
35658         (nexttoward_test): Likewise.
35659         (remainder_test): Likewise.
35660         (drem_test): Likewise.
35661         (remainder_tonearest_test_data): Likewise.
35662         (remainder_test_tonearest): Likewise.
35663         (drem_test_tonearest): Likewise.
35664         (remainder_towardzero_test_data): Likewise.
35665         (remainder_test_towardzero): Likewise.
35666         (drem_test_towardzero): Likewise.
35667         (remainder_downward_test_data): Likewise.
35668         (remainder_test_downward): Likewise.
35669         (drem_test_downward): Likewise.
35670         (remainder_upward_test_data): Likewise.
35671         (remainder_test_upward): Likewise.
35672         (drem_test_upward): Likewise.
35673         (remquo_test): Use ALL_RM_TEST.  Remove comment about x.
35674         (round_test): Use ALL_RM_TEST.
35675         (signbit_test): Likewise.
35676         (trunc_test): Likewise.
35677         (significand_test): Likewise.
35678         (main): Don't call removed functions.
35680 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
35682         [BZ #16674]
35683         * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
35684         || __USE_XOPEN2K8].
35685         (ILL_ILLOPN): Likewise.
35686         (ILL_ILLADR): Likewise.
35687         (ILL_ILLTRP): Likewise.
35688         (ILL_PRVOPC): Likewise.
35689         (ILL_PRVREG): Likewise.
35690         (ILL_COPROC): Likewise.
35691         (ILL_BADSTK): Likewise.
35692         (FPE_INTDIV): Likewise.
35693         (FPE_INTOVF): Likewise.
35694         (FPE_FLTDIV): Likewise.
35695         (FPE_FLTOVF): Likewise.
35696         (FPE_FLTUND): Likewise.
35697         (FPE_FLTRES): Likewise.
35698         (FPE_FLTINV): Likewise.
35699         (FPE_FLTSUB): Likewise.
35700         (SEGV_MAPERR): Likewise.
35701         (SEGV_ACCERR): Likewise.
35702         (BUS_ADRALN): Likewise.
35703         (BUS_ADRERR): Likewise.
35704         (BUS_OBJERR): Likewise.
35705         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
35706         (TRAP_TRACE): Likewise.
35707         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
35708         __USE_XOPEN2K8].
35709         (CLD_KILLED): Likewise.
35710         (CLD_DUMPED): Likewise.
35711         (CLD_TRAPPED): Likewise.
35712         (CLD_STOPPED): Likewise.
35713         (CLD_CONTINUED): Likewise.
35714         (POLL_IN): Likewise.
35715         (POLL_OUT): Likewise.
35716         (POLL_MSG): Likewise.
35717         (POLL_ERR): Likewise.
35718         (POLL_PRI): Likewise.
35719         (POLL_HUP): Likewise.
35720         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
35721         Likewise.
35722         (ILL_ILLOPN): Likewise.
35723         (ILL_ILLADR): Likewise.
35724         (ILL_ILLTRP): Likewise.
35725         (ILL_PRVOPC): Likewise.
35726         (ILL_PRVREG): Likewise.
35727         (ILL_COPROC): Likewise.
35728         (ILL_BADSTK): Likewise.
35729         (FPE_INTDIV): Likewise.
35730         (FPE_INTOVF): Likewise.
35731         (FPE_FLTDIV): Likewise.
35732         (FPE_FLTOVF): Likewise.
35733         (FPE_FLTUND): Likewise.
35734         (FPE_FLTRES): Likewise.
35735         (FPE_FLTINV): Likewise.
35736         (FPE_FLTSUB): Likewise.
35737         (SEGV_MAPERR): Likewise.
35738         (SEGV_ACCERR): Likewise.
35739         (BUS_ADRALN): Likewise.
35740         (BUS_ADRERR): Likewise.
35741         (BUS_OBJERR): Likewise.
35742         (BUS_MCEERR_AR): Likewise.
35743         (BUS_MCEERR_AO): Likewise.
35744         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
35745         (TRAP_TRACE): Likewise.
35746         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
35747         __USE_XOPEN2K8].
35748         (CLD_KILLED): Likewise.
35749         (CLD_DUMPED): Likewise.
35750         (CLD_TRAPPED): Likewise.
35751         (CLD_STOPPED): Likewise.
35752         (CLD_CONTINUED): Likewise.
35753         (POLL_IN): Likewise.
35754         (POLL_OUT): Likewise.
35755         (POLL_MSG): Likewise.
35756         (POLL_ERR): Likewise.
35757         (POLL_PRI): Likewise.
35758         (POLL_HUP): Likewise.
35759         * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
35760         (ILL_ILLOPN): Likewise.
35761         (ILL_ILLADR): Likewise.
35762         (ILL_ILLTRP): Likewise.
35763         (ILL_PRVOPC): Likewise.
35764         (ILL_PRVREG): Likewise.
35765         (ILL_COPROC): Likewise.
35766         (ILL_BADSTK): Likewise.
35767         (FPE_INTDIV): Likewise.
35768         (FPE_INTOVF): Likewise.
35769         (FPE_FLTDIV): Likewise.
35770         (FPE_FLTOVF): Likewise.
35771         (FPE_FLTUND): Likewise.
35772         (FPE_FLTRES): Likewise.
35773         (FPE_FLTINV): Likewise.
35774         (FPE_FLTSUB): Likewise.
35775         (SEGV_MAPERR): Likewise.
35776         (SEGV_ACCERR): Likewise.
35777         (BUS_ADRALN): Likewise.
35778         (BUS_ADRERR): Likewise.
35779         (BUS_OBJERR): Likewise.
35780         (BUS_MCEERR_AR): Likewise.
35781         (BUS_MCEERR_AO): Likewise.
35782         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
35783         (TRAP_TRACE): Likewise.
35784         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
35785         __USE_XOPEN2K8].
35786         (CLD_KILLED): Likewise.
35787         (CLD_DUMPED): Likewise.
35788         (CLD_TRAPPED): Likewise.
35789         (CLD_STOPPED): Likewise.
35790         (CLD_CONTINUED): Likewise.
35791         (POLL_IN): Likewise.
35792         (POLL_OUT): Likewise.
35793         (POLL_MSG): Likewise.
35794         (POLL_ERR): Likewise.
35795         (POLL_PRI): Likewise.
35796         (POLL_HUP): Likewise.
35797         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
35798         Likewise.
35799         (ILL_ILLOPN): Likewise.
35800         (ILL_ILLADR): Likewise.
35801         (ILL_ILLTRP): Likewise.
35802         (ILL_PRVOPC): Likewise.
35803         (ILL_PRVREG): Likewise.
35804         (ILL_COPROC): Likewise.
35805         (ILL_BADSTK): Likewise.
35806         (ILL_BADIADDR): Likewise.
35807         (ILL_BREAK): Likewise.
35808         (FPE_INTDIV): Likewise.
35809         (FPE_INTOVF): Likewise.
35810         (FPE_FLTDIV): Likewise.
35811         (FPE_FLTOVF): Likewise.
35812         (FPE_FLTUND): Likewise.
35813         (FPE_FLTRES): Likewise.
35814         (FPE_FLTINV): Likewise.
35815         (FPE_FLTSUB): Likewise.
35816         (FPE_DECOVF): Likewise.
35817         (FPE_DECDIV): Likewise.
35818         (FPE_DECERR): Likewise.
35819         (FPE_INVASC): Likewise.
35820         (FPE_INVDEC): Likewise.
35821         (SEGV_MAPERR): Likewise.
35822         (SEGV_ACCERR): Likewise.
35823         (SEGV_PSTKOVF): Likewise.
35824         (BUS_ADRALN): Likewise.
35825         (BUS_ADRERR): Likewise.
35826         (BUS_OBJERR): Likewise.
35827         (BUS_MCEERR_AR): Likewise.
35828         (BUS_MCEERR_AO): Likewise.
35829         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
35830         (TRAP_TRACE): Likewise.
35831         (TRAP_BRANCH): Likewise.
35832         (TRAP_HWBKPT): Likewise.
35833         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
35834         __USE_XOPEN2K8].
35835         (CLD_KILLED): Likewise.
35836         (CLD_DUMPED): Likewise.
35837         (CLD_TRAPPED): Likewise.
35838         (CLD_STOPPED): Likewise.
35839         (CLD_CONTINUED): Likewise.
35840         (POLL_IN): Likewise.
35841         (POLL_OUT): Likewise.
35842         (POLL_MSG): Likewise.
35843         (POLL_ERR): Likewise.
35844         (POLL_PRI): Likewise.
35845         (POLL_HUP): Likewise.
35846         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
35847         (ILL_ILLOPN): Likewise.
35848         (ILL_ILLADR): Likewise.
35849         (ILL_ILLTRP): Likewise.
35850         (ILL_PRVOPC): Likewise.
35851         (ILL_PRVREG): Likewise.
35852         (ILL_COPROC): Likewise.
35853         (ILL_BADSTK): Likewise.
35854         (FPE_INTDIV): Likewise.
35855         (FPE_INTOVF): Likewise.
35856         (FPE_FLTDIV): Likewise.
35857         (FPE_FLTOVF): Likewise.
35858         (FPE_FLTUND): Likewise.
35859         (FPE_FLTRES): Likewise.
35860         (FPE_FLTINV): Likewise.
35861         (FPE_FLTSUB): Likewise.
35862         (SEGV_MAPERR): Likewise.
35863         (SEGV_ACCERR): Likewise.
35864         (BUS_ADRALN): Likewise.
35865         (BUS_ADRERR): Likewise.
35866         (BUS_OBJERR): Likewise.
35867         (BUS_MCEERR_AR): Likewise.
35868         (BUS_MCEERR_AO): Likewise.
35869         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
35870         (TRAP_TRACE): Likewise.
35871         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
35872         __USE_XOPEN2K8].
35873         (CLD_KILLED): Likewise.
35874         (CLD_DUMPED): Likewise.
35875         (CLD_TRAPPED): Likewise.
35876         (CLD_STOPPED): Likewise.
35877         (CLD_CONTINUED): Likewise.
35878         (POLL_IN): Likewise.
35879         (POLL_OUT): Likewise.
35880         (POLL_MSG): Likewise.
35881         (POLL_ERR): Likewise.
35882         (POLL_PRI): Likewise.
35883         (POLL_HUP): Likewise.
35884         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
35885         (ILL_ILLOPN): Likewise.
35886         (ILL_ILLADR): Likewise.
35887         (ILL_ILLTRP): Likewise.
35888         (ILL_PRVOPC): Likewise.
35889         (ILL_PRVREG): Likewise.
35890         (ILL_COPROC): Likewise.
35891         (ILL_BADSTK): Likewise.
35892         (FPE_INTDIV): Likewise.
35893         (FPE_INTOVF): Likewise.
35894         (FPE_FLTDIV): Likewise.
35895         (FPE_FLTOVF): Likewise.
35896         (FPE_FLTUND): Likewise.
35897         (FPE_FLTRES): Likewise.
35898         (FPE_FLTINV): Likewise.
35899         (FPE_FLTSUB): Likewise.
35900         (SEGV_MAPERR): Likewise.
35901         (SEGV_ACCERR): Likewise.
35902         (BUS_ADRALN): Likewise.
35903         (BUS_ADRERR): Likewise.
35904         (BUS_OBJERR): Likewise.
35905         (BUS_MCEERR_AR): Likewise.
35906         (BUS_MCEERR_AO): Likewise.
35907         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
35908         (TRAP_TRACE): Likewise.
35909         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
35910         __USE_XOPEN2K8].
35911         (CLD_KILLED): Likewise.
35912         (CLD_DUMPED): Likewise.
35913         (CLD_TRAPPED): Likewise.
35914         (CLD_STOPPED): Likewise.
35915         (CLD_CONTINUED): Likewise.
35916         (POLL_IN): Likewise.
35917         (POLL_OUT): Likewise.
35918         (POLL_MSG): Likewise.
35919         (POLL_ERR): Likewise.
35920         (POLL_PRI): Likewise.
35921         (POLL_HUP): Likewise.
35922         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
35923         (ILL_ILLOPN): Likewise.
35924         (ILL_ILLADR): Likewise.
35925         (ILL_ILLTRP): Likewise.
35926         (ILL_PRVOPC): Likewise.
35927         (ILL_PRVREG): Likewise.
35928         (ILL_COPROC): Likewise.
35929         (ILL_BADSTK): Likewise.
35930         (FPE_INTDIV): Likewise.
35931         (FPE_INTOVF): Likewise.
35932         (FPE_FLTDIV): Likewise.
35933         (FPE_FLTOVF): Likewise.
35934         (FPE_FLTUND): Likewise.
35935         (FPE_FLTRES): Likewise.
35936         (FPE_FLTINV): Likewise.
35937         (FPE_FLTSUB): Likewise.
35938         (SEGV_MAPERR): Likewise.
35939         (SEGV_ACCERR): Likewise.
35940         (BUS_ADRALN): Likewise.
35941         (BUS_ADRERR): Likewise.
35942         (BUS_OBJERR): Likewise.
35943         (BUS_MCEERR_AR): Likewise.
35944         (BUS_MCEERR_AO): Likewise.
35945         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
35946         (TRAP_TRACE): Likewise.
35947         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
35948         __USE_XOPEN2K8].
35949         (CLD_KILLED): Likewise.
35950         (CLD_DUMPED): Likewise.
35951         (CLD_TRAPPED): Likewise.
35952         (CLD_STOPPED): Likewise.
35953         (CLD_CONTINUED): Likewise.
35954         (POLL_IN): Likewise.
35955         (POLL_OUT): Likewise.
35956         (POLL_MSG): Likewise.
35957         (POLL_ERR): Likewise.
35958         (POLL_PRI): Likewise.
35959         (POLL_HUP): Likewise.
35960         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
35961         (ILL_ILLOPN): Likewise.
35962         (ILL_ILLADR): Likewise.
35963         (ILL_ILLTRP): Likewise.
35964         (ILL_PRVOPC): Likewise.
35965         (ILL_PRVREG): Likewise.
35966         (ILL_COPROC): Likewise.
35967         (ILL_BADSTK): Likewise.
35968         (ILL_DBLFLT): Likewise.
35969         (ILL_HARDWALL): Likewise.
35970         (FPE_INTDIV): Likewise.
35971         (FPE_INTOVF): Likewise.
35972         (FPE_FLTDIV): Likewise.
35973         (FPE_FLTOVF): Likewise.
35974         (FPE_FLTUND): Likewise.
35975         (FPE_FLTRES): Likewise.
35976         (FPE_FLTINV): Likewise.
35977         (FPE_FLTSUB): Likewise.
35978         (SEGV_MAPERR): Likewise.
35979         (SEGV_ACCERR): Likewise.
35980         (BUS_ADRALN): Likewise.
35981         (BUS_ADRERR): Likewise.
35982         (BUS_OBJERR): Likewise.
35983         (BUS_MCEERR_AR): Likewise.
35984         (BUS_MCEERR_AO): Likewise.
35985         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
35986         (TRAP_TRACE): Likewise.
35987         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
35988         __USE_XOPEN2K8].
35989         (CLD_KILLED): Likewise.
35990         (CLD_DUMPED): Likewise.
35991         (CLD_TRAPPED): Likewise.
35992         (CLD_STOPPED): Likewise.
35993         (CLD_CONTINUED): Likewise.
35994         (POLL_IN): Likewise.
35995         (POLL_OUT): Likewise.
35996         (POLL_MSG): Likewise.
35997         (POLL_ERR): Likewise.
35998         (POLL_PRI): Likewise.
35999         (POLL_HUP): Likewise.
36000         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
36001         (ILL_ILLOPN): Likewise.
36002         (ILL_ILLADR): Likewise.
36003         (ILL_ILLTRP): Likewise.
36004         (ILL_PRVOPC): Likewise.
36005         (ILL_PRVREG): Likewise.
36006         (ILL_COPROC): Likewise.
36007         (ILL_BADSTK): Likewise.
36008         (FPE_INTDIV): Likewise.
36009         (FPE_INTOVF): Likewise.
36010         (FPE_FLTDIV): Likewise.
36011         (FPE_FLTOVF): Likewise.
36012         (FPE_FLTUND): Likewise.
36013         (FPE_FLTRES): Likewise.
36014         (FPE_FLTINV): Likewise.
36015         (FPE_FLTSUB): Likewise.
36016         (SEGV_MAPERR): Likewise.
36017         (SEGV_ACCERR): Likewise.
36018         (BUS_ADRALN): Likewise.
36019         (BUS_ADRERR): Likewise.
36020         (BUS_OBJERR): Likewise.
36021         (BUS_MCEERR_AR): Likewise.
36022         (BUS_MCEERR_AO): Likewise.
36023         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
36024         (TRAP_TRACE): Likewise.
36025         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
36026         __USE_XOPEN2K8].
36027         (CLD_KILLED): Likewise.
36028         (CLD_DUMPED): Likewise.
36029         (CLD_TRAPPED): Likewise.
36030         (CLD_STOPPED): Likewise.
36031         (CLD_CONTINUED): Likewise.
36032         (POLL_IN): Likewise.
36033         (POLL_OUT): Likewise.
36034         (POLL_MSG): Likewise.
36035         (POLL_ERR): Likewise.
36036         (POLL_PRI): Likewise.
36037         (POLL_HUP): Likewise.
36038         * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
36039         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
36041         [BZ #16670]
36042         * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
36043         before #include of <time.h>.
36044         [!__USE_XOPEN2K] (__need_timespec): Likewise.
36045         * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
36046         (test-xfail-UNIX98/sched.h/conform): Likewise.
36048 2014-03-07  Marcus Shawcroft  <marcus.shawcroft@arm.com>
36050         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
36051         error absence of trapping exception support.
36052         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
36054 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
36056         * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
36057         ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
36058         * timezone/Makefile (testdata): Move definition above include of
36059         Rules.
36060         (test-zones): New variable.
36061         (tests-special): Add zone files.
36062         (build-testdata): Use $(evaluate-test).
36064         * elf/Makefile (tests-special): Rename tests to end with .out.
36065         ($(objpfx)noload-mem): Likewise.
36066         ($(objpfx)tst-leaks1-mem): Likewise.
36067         ($(objpfx)tst-leaks1-static-mem.out): Likewise.
36068         * iconv/Makefile (xtests-special): Change test-iconvconfig to
36069         $(objpfx)test-iconvconfig.out.
36070         (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out.  Use
36071         set -e inside subshell and redirect output to file.
36072         * iconvdata/Makefile (generated): Rename tests to end with .out.
36073         Correct type.
36074         (tests-special): Rename tests to end with .out.
36075         ($(objpfx)mtrace-tst-loading): Likewise.
36076         * intl/Makefile (generated): Likewise.
36077         (tests-special): Likewise.
36078         ($(objpfx)mtrace-tst-gettext): Likewise.
36079         * misc/Makefile (generated): Likewise.
36080         (tests-special): Likewise.
36081         ($(objpfx)tst-error1-mem): Likewise.
36082         * nptl/Makefile (tests-special): Likewise.
36083         ($(objpfx)tst-stack3-mem): Likewise.
36084         (generated): Likewise.
36085         * posix/Makefile (generated): Likewise.
36086         (tests-special): Likewise.
36087         (xtests-special): Likewise.
36088         ($(objpfx)tst-fnmatch-mem): Likewise.
36089         ($(objpfx)bug-regex2-mem): Likewise.
36090         ($(objpfx)bug-regex14-mem): Likewise.
36091         ($(objpfx)bug-regex21-mem): Likewise.
36092         ($(objpfx)bug-regex31-mem): Likewise.
36093         ($(objpfx)tst-vfork3-mem): Likewise.
36094         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
36095         ($(objpfx)tst-pcre-mem): Likewise.
36096         ($(objpfx)tst-boost-mem): Likewise.
36097         ($(objpfx)bug-ga2-mem): Likewise.
36098         ($(objpfx)bug-glob2-mem): Likewise.
36099         * resolv/Makefile (generate): Likewise.
36100         (tests-special): Likewise.
36101         (xtests-special): Likewise.
36102         (generated): Likewise.
36103         ($(objpfx)mtrace-tst-leaks): Likewise.
36104         ($(objpfx)mtrace-tst-leaks2): Likewise.
36106         * scripts/merge-test-results.sh: New file.
36107         * Makefile (tests-special-notdir): New variable.
36108         (tests): Run merge-test-results.sh.
36109         (xtests): Likewise.
36110         * Rules (tests-special-notdir): New variable.
36111         (xtests-special-notdir): Likewise.
36112         (tests): Run merge-test-results.sh
36113         (xtests): Likewise.
36115         * Makeconfig (test-xfail-name): New variable.
36116         (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
36117         compute variable name for expected failures.
36118         * conform/Makefile (conformtest-headers-data): New variable.
36119         (conformtest-standards): Likewise.
36120         (conformtest-headers-ISO): Likewise.
36121         (conformtest-headers-ISO99): Likewise.
36122         (conformtest-headers-ISO11): Likewise.
36123         (conformtest-headers-POSIX): Likewise.
36124         (conformtest-headers-XPG3): Likewise.
36125         (conformtest-headers-XPG4): Likewise.
36126         (conformtest-headers-UNIX98): Likewise.
36127         (conformtest-headers-XOPEN2K): Likewise.
36128         (conformtest-headers-POSIX2008): Likewise.
36129         (conformtest-headers-XOPEN2K8): Likewise.
36130         (conformtest-header-list-base): Likewise.
36131         (conformtest-header-list-tests): Likewise.
36132         (conformtest-header-base): Likewise.
36133         (conformtest-header-tests): Likewise.
36134         (tests-special): Add $(conformtest-header-list-tests).  If
36135         [$(fast-check) && !$(cross-compiling)], add
36136         $(conformtest-header-tests) instead of
36137         $(objpfx)run-conformtest.out.
36138         (generated): Add $(conformtest-header-list-base).  If
36139         [$(fast-check) && !$(cross-compiling)], add
36140         $(conformtest-header-base).  Remove previous setting.
36141         ($(conformtest-header-list-tests)): New target.
36142         (test-xfail-run-conformtest): Remove variable.
36143         ($(objpfx)run-conformtest.out): Remove target.
36144         (test-xfail-ISO11/complex.h/conform): New variable.
36145         (test-xfail-ISO11/stdalign.h/conform): Likewise.
36146         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
36147         (test-xfail-XPG3/varargs.h/conform): Likewise.
36148         (test-xfail-XPG4/varargs.h/conform): Likewise.
36149         (test-xfail-UNIX98/varargs.h/conform): Likewise.
36150         (test-xfail-XPG4/ndbm.h/conform): Likewise.
36151         (test-xfail-UNIX98/ndbm.h/conform): Likewise.
36152         (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
36153         (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
36154         (test-xfail-XPG3/fcntl.h/conform): Likewise.
36155         (test-xfail-XPG3/ftw.h/conform): Likewise.
36156         (test-xfail-XPG3/grp.h/conform): Likewise.
36157         (test-xfail-XPG3/langinfo.h/conform): Likewise.
36158         (test-xfail-XPG3/limits.h/conform): Likewise.
36159         (test-xfail-XPG3/pwd.h/conform): Likewise.
36160         (test-xfail-XPG3/search.h/conform): Likewise.
36161         (test-xfail-XPG3/signal.h/conform): Likewise.
36162         (test-xfail-XPG3/stdio.h/conform): Likewise.
36163         (test-xfail-XPG3/stdlib.h/conform): Likewise.
36164         (test-xfail-XPG3/string.h/conform): Likewise.
36165         (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
36166         (test-xfail-XPG3/sys/msg.h/conform): Likewise.
36167         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
36168         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
36169         (test-xfail-XPG3/sys/stat.h/conform): Likewise.
36170         (test-xfail-XPG3/sys/types.h/conform): Likewise.
36171         (test-xfail-XPG3/sys/wait.h/conform): Likewise.
36172         (test-xfail-XPG3/termios.h/conform): Likewise.
36173         (test-xfail-XPG3/time.h/conform): Likewise.
36174         (test-xfail-XPG3/unistd.h/conform): Likewise.
36175         (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
36176         (test-xfail-XPG4/fcntl.h/conform): Likewise.
36177         (test-xfail-XPG4/langinfo.h/conform): Likewise.
36178         (test-xfail-XPG4/netdb.h/conform): Likewise.
36179         (test-xfail-XPG4/netinet/in.h/conform): Likewise.
36180         (test-xfail-XPG4/signal.h/conform): Likewise.
36181         (test-xfail-XPG4/stdio.h/conform): Likewise.
36182         (test-xfail-XPG4/stdlib.h/conform): Likewise.
36183         (test-xfail-XPG4/stropts.h/conform): Likewise.
36184         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
36185         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
36186         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
36187         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
36188         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
36189         (test-xfail-XPG4/sys/stat.h/conform): Likewise.
36190         (test-xfail-XPG4/sys/time.h/conform): Likewise.
36191         (test-xfail-XPG4/sys/types.h/conform): Likewise.
36192         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
36193         (test-xfail-XPG4/termios.h/conform): Likewise.
36194         (test-xfail-XPG4/ucontext.h/conform): Likewise.
36195         (test-xfail-XPG4/unistd.h/conform): Likewise.
36196         (test-xfail-XPG4/utmpx.h/conform): Likewise.
36197         (test-xfail-POSIX/sched.h/conform): Likewise.
36198         (test-xfail-POSIX/signal.h/conform): Likewise.
36199         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
36200         (test-xfail-POSIX/tar.h/conform): Likewise.
36201         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
36202         (test-xfail-UNIX98/fcntl.h/conform): Likewise.
36203         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
36204         (test-xfail-UNIX98/netdb.h/conform): Likewise.
36205         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
36206         (test-xfail-UNIX98/sched.h/conform): Likewise.
36207         (test-xfail-UNIX98/signal.h/conform): Likewise.
36208         (test-xfail-UNIX98/stdio.h/conform): Likewise.
36209         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
36210         (test-xfail-UNIX98/stropts.h/conform): Likewise.
36211         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
36212         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
36213         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
36214         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
36215         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
36216         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
36217         (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
36218         (test-xfail-UNIX98/ucontext.h/conform): Likewise.
36219         (test-xfail-UNIX98/unistd.h/conform): Likewise.
36220         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
36221         (test-xfail-XOPEN2K/aio.h/conform): Likewise.
36222         (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
36223         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
36224         (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
36225         (test-xfail-XOPEN2K/math.h/conform): Likewise.
36226         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
36227         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
36228         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
36229         (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
36230         (test-xfail-XOPEN2K/signal.h/conform): Likewise.
36231         (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
36232         (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
36233         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
36234         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
36235         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
36236         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
36237         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
36238         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
36239         (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
36240         (test-xfail-XOPEN2K/termios.h/conform): Likewise.
36241         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
36242         (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
36243         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
36244         (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
36245         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
36246         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
36247         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
36248         (test-xfail-POSIX2008/signal.h/conform): Likewise.
36249         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
36250         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
36251         (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
36252         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
36253         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
36254         (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
36255         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
36256         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
36257         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
36258         (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
36259         (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
36260         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
36261         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
36262         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
36263         (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
36264         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
36265         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
36266         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
36267         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
36268         (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
36269         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
36270         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
36271         (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
36272         (conformtest-cc-flags): Likewise.
36273         ($(conformtest-header-tests): New target.
36274         * conform/check-header-lists.sh: New file.
36275         * conform/run-conformtest.sh: Remove.
36277         * conform/conformtest.pl: Allow ' and \ in values given for
36278         constants.
36279         * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
36280         inclusion.
36281         [POSIX] (sys/types.h): Likewise.
36282         [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
36283         inclusion.
36284         [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
36285         inclusion.
36286         * conform/data/signal.h-data (SIGIO): Remove expectation.
36287         [XPG3] (SIGBUS): Do not expect.
36288         [POSIX || XPG3] (SIGPOLL): Likewise.
36289         [POSIX || XPG3] (SIGPROF): Likewise.
36290         [POSIX || XPG3] (SIGSYS): Likewise.
36291         [XPG3] (SIGTRAP): Likewise.
36292         [POSIX || XPG3] (SIGURG): Likewise.
36293         [POSIX || XPG3] (SIGVTALRM): Likewise.
36294         [POSIX || XPG3] (SIGXCPU): Likewise.
36295         [POSIX || XPG3] (SIGXFSZ): Likewise.
36296         [POSIX] (SA_SIGINFO): Expect.
36297         [XPG3] (siginfo_t): Do not expect type or contents.
36298         [POSIX] (si_pid): Do not expect element.
36299         [POSIX] (si_uid): Likewise.
36300         [POSIX] (si_addr): Likewise.
36301         [POSIX] (si_status): Likewise.
36302         [POSIX] (si_band): Likewise.
36303         [XPG4] (si_value): Likewise.
36304         [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
36305         [POSIX || XPG3] (ILL_ILLOPN): Likewise.
36306         [POSIX || XPG3] (ILL_ILLADR): Likewise.
36307         [POSIX || XPG3] (ILL_ILLTRP): Likewise.
36308         [POSIX || XPG3] (ILL_PRVOPC): Likewise.
36309         [POSIX || XPG3] (ILL_PRVREG): Likewise.
36310         [POSIX || XPG3] (ILL_COPROC): Likewise.
36311         [POSIX || XPG3] (ILL_BADSTK): Likewise.
36312         [POSIX || XPG3] (FPE_INTDIV): Likewise.
36313         [POSIX || XPG3] (FPE_INTOVF): Likewise.
36314         [POSIX || XPG3] (FPE_FLTDIV): Likewise.
36315         [POSIX || XPG3] (FPE_FLTOVF): Likewise.
36316         [POSIX || XPG3] (FPE_FLTUND): Likewise.
36317         [POSIX || XPG3] (FPE_FLTRES): Likewise.
36318         [POSIX || XPG3] (FPE_FLTINV): Likewise.
36319         [POSIX || XPG3] (FPE_FLTSUB): Likewise.
36320         [POSIX || XPG3] (SEGV_MAPERR): Likewise.
36321         [POSIX || XPG3] (SEGV_ACCERR): Likewise.
36322         [POSIX || XPG3] (BUS_ADRALN): Likewise.
36323         [POSIX || XPG3] (BUS_ADRERR): Likewise.
36324         [POSIX || XPG3] (BUS_OBJERR): Likewise.
36325         [POSIX || XPG3] (CLD_EXITED): Likewise.
36326         [POSIX || XPG3] (CLD_KILLED): Likewise.
36327         [POSIX || XPG3] (CLD_DUMPED): Likewise.
36328         [POSIX || XPG3] (CLD_TRAPPED): Likewise.
36329         [POSIX || XPG3] (CLD_STOPPED): Likewise.
36330         [POSIX || XPG3] (CLD_CONTINUED): Likewise.
36331         [POSIX || XPG3] (POLL_IN): Likewise.
36332         [POSIX || XPG3] (POLL_OUT): Likewise.
36333         [POSIX || XPG3] (POLL_MSG): Likewise.
36334         [POSIX || XPG3] (POLL_ERR): Likewise.
36335         [POSIX || XPG3] (POLL_PRI): Likewise.
36336         [POSIX || XPG3] (POLL_HUP): Likewise.
36337         [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
36338         [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
36339         (SIG*): Do not allow.
36340         [XPG3] (si_*): Likewise.
36341         [XPG3] (SI_*): Likewise.
36342         [XPG3 || XPG4] (sigev_*): Likewise.
36343         [XPG3 || XPG4] (SIGEV_*): Likewise.
36344         [XPG3 || XPG4] (sival_*): Likewise.
36345         [POSIX || XPG3 || XPG4] (uc_*): Likewise.
36346         [POSIX || XPG3] (BUS_*): Likewise.
36347         [POSIX || XPG3] (CLD_*): Likewise.
36348         [POSIX || XPG3] (FPE_*): Likewise.
36349         [POSIX || XPG3] (ILL_*): Likewise.
36350         [POSIX || XPG3] (POLL_*): Likewise.
36351         [POSIX || XPG3] (SEGV_*): Likewise.
36352         [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
36353         [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
36354         [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
36355         [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
36356         [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
36357         * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
36358         Specify type and value.
36359         (TVERSLEN): Likewise.
36360         (REGTYPE): Likewise.
36361         (AREGTYPE): Likewise.
36362         (LNKTYPE): Likewise.
36363         (SYMTYPE): Likewise.
36364         (CHRTYPE): Likewise.
36365         (BLKTYPE): Likewise.
36366         (DIRTYPE): Likewise.
36367         (FIFOTYPE): Likewise.
36368         (CONTTYPE): Likewise.
36369         (TSUID): Likewise.
36370         (TSGID): Likewise.
36371         (TSVTX): Likewise.
36372         (TUREAD): Likewise.
36373         (TUWRITE): Likewise.
36374         (TUEXEC): Likewise.
36375         (TGREAD): Likewise.
36376         (TGWRITE): Likewise.
36377         (TGEXEC): Likewise.
36378         (TOREAD): Likewise.
36379         (TOWRITE): Likewise.
36380         (TOEXEC): Likewise.
36381         [POSIX] (TSVTX): Expect constant.
36383 2014-03-06  Joseph Myers  <joseph@codesourcery.com>
36385         * Makefile (tests): Change dependencies to ....
36386         (tests-special): ... additions to this variable.
36387         (tests): Depend on $(tests-special).
36388         * Makerules (check-abi-list): New variable.
36389         (check-abi): Depend on $(check-abi-list).
36390         [$(subdir) = elf] (tests-special): Add
36391         $(objpfx)check-abi-libc.out.
36392         [$(build-shared) = yes && subdir] (tests-special): Add
36393         $(check-abi-list).
36394         [$(build-shared) = yes && subdir] (tests): Do not depend on
36395         check-abi.
36396         * Rules (tests): Depend on $(tests-special).
36397         (xtests): Depend on $(xtests-special).
36398         * catgets/Makefile (tests): Change dependencies to ....
36399         (tests-special): ... additions to this variable.
36400         * conform/Makefile (tests): Change dependencies to ....
36401         (tests-special): ... additions to this variable.
36402         * elf/Makefile (tests): Change dependencies to ....
36403         (tests-special): ... additions to this variable.
36404         * grp/Makefile (tests): Change dependencies to ....
36405         (tests-special): ... additions to this variable.
36406         * iconv/Makefile (xtests): Change dependencies to ....
36407         (xtests-special): ... additions to this variable.
36408         * iconvdata/Makefile (tests): Change dependencies to ....
36409         (tests-special): ... additions to this variable.
36410         * intl/Makefile (tests): Change dependencies to ....
36411         (tests-special): ... additions to this variable.  Also add
36412         $(objpfx)tst-gettext.out.
36413         * io/Makefile (tests): Change dependencies to ....
36414         (tests-special): ... additions to this variable.
36415         * libio/Makefile (tests): Change dependencies to ....
36416         (tests-special): ... additions to this variable.
36417         * malloc/Makefile (tests): Change dependencies to ....
36418         (tests-special): ... additions to this variable.
36419         * misc/Makefile (tests): Change dependencies to ....
36420         (tests-special): ... additions to this variable.
36421         * nptl/Makefile (tests): Change dependencies to ....
36422         (tests-special): ... additions to this variable.
36423         * nptl_db/Makefile (tests): Change dependencies to ....
36424         (tests-special): ... additions to this variable.
36425         * posix/Makefile (tests): Change dependencies to ....
36426         (tests-special): ... additions to this variable.
36427         (xtests): Change dependencies to ....
36428         (xtests-special): ... additions to this variable.
36429         * resolv/Makefile (tests): Change dependencies to ....
36430         (tests-special): ... additions to this variable.
36431         (xtests): Change dependencies to ....
36432         (xtests-special): ... additions to this variable.
36433         * stdio-common/Makefile (tests): Change dependencies to ....
36434         (tests-special): ... additions to this variable.
36435         (do-tst-unbputc): Remove target.
36436         (do-tst-printf): Likewise.
36437         * stdlib/Makefile (tests): Change dependencies to ....
36438         (tests-special): ... additions to this variable.
36439         * string/Makefile (tests): Change dependencies to ....
36440         (tests-special): ... additions to this variable.
36441         * sysdeps/x86/Makefile (tests): Change dependencies to ....
36442         (tests-special): ... additions to this variable.
36444         * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
36445         whole file.
36446         * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
36447         whole file.
36448         * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
36449         * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
36451         * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
36452         * conform/data/arpa/inet.h-data [XPG3]: Likewise.
36453         * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
36454         * conform/data/fmtmsg.h-data [XPG3]: Likewise.
36455         * conform/data/libgen.h-data [XPG3]: Likewise.
36456         * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
36457         * conform/data/ndbm.h-data [XPG3]: Likewise.
36458         * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
36459         * conform/data/netdb.h-data [XPG3]: Likewise.
36460         * conform/data/netinet/in.h-data [XPG3]: Likewise.
36461         * conform/data/poll.h-data [XPG3]: Likewise.
36462         * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
36463         * conform/data/strings.h-data [XPG3]: Likewise.
36464         * conform/data/stropts.h-data [XPG3]: Likewise.
36465         * conform/data/sys/mman.h-data [XPG3]: Likewise.
36466         * conform/data/sys/resource.h-data [XPG3]: Likewise.
36467         * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
36468         Likewise.
36469         * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
36470         * conform/data/sys/time.h-data [XPG3]: Likewise.
36471         * conform/data/sys/timeb.h-data [XPG3]: Likewise.
36472         * conform/data/sys/uio.h-data [XPG3]: Likewise.
36473         * conform/data/sys/un.h-data [XPG3]: Likewise.
36474         * conform/data/syslog.h-data [XPG3]: Likewise.
36475         * conform/data/ucontext.h-data [XPG3]: Likewise.
36476         * conform/data/utmpx.h-data [XPG3]: Likewise.
36477         * conform/data/varargs.h-data [UNIX98]: Enable file.
36479         * manual/Makefile (INSTALL_INFO): Remove variable setting.
36481         * math/libm-test.inc (struct test_f_f_data): Move expected results
36482         into structure for each rounding mode.
36483         (struct test_ff_f_data): Likewise.
36484         (struct test_ff_f_data_nexttoward): Likewise.
36485         (struct test_fi_f_data): Likewise.
36486         (struct test_fl_f_data): Likewise.
36487         (struct test_if_f_data): Likewise.
36488         (struct test_fff_f_data): Likewise.
36489         (struct test_c_f_data): Likewise.
36490         (struct test_f_f1_data): Likewise.
36491         (struct test_fF_f1_data): Likewise.
36492         (struct test_ffI_f1_data): Likewise.
36493         (struct test_c_c_data): Likewise.
36494         (struct test_cc_c_data): Likewise.
36495         (struct test_f_i_data): Likewise.
36496         (struct test_ff_i_data): Likewise.
36497         (struct test_f_l_data): Likewise.
36498         (struct test_f_L_data): Likewise.
36499         (struct test_fFF_11_data): Likewise.
36500         (RM_): New macro.
36501         (RM_FE_DOWNWARD): Likewise.
36502         (RM_FE_TONEAREST): Likewise.
36503         (RM_FE_TOWARDZERO): Likewise.
36504         (RM_FE_UPWARD): Likewise.
36505         (RUN_TEST_LOOP_f_f): Update references to expected results.
36506         (RUN_TEST_LOOP_2_f): Likewise.
36507         (RUN_TEST_LOOP_fff_f): Likewise.
36508         (RUN_TEST_LOOP_c_f): Likewise.
36509         (RUN_TEST_LOOP_f_f1): Likewise.
36510         (RUN_TEST_LOOP_fF_f1): Likewise.
36511         (RUN_TEST_LOOP_fI_f1): Likewise.
36512         (RUN_TEST_LOOP_ffI_f1): Likewise.
36513         (RUN_TEST_LOOP_c_c): Likewise.
36514         (RUN_TEST_LOOP_cc_c): Likewise.
36515         (RUN_TEST_LOOP_f_i): Likewise.
36516         (RUN_TEST_LOOP_f_i_tg): Likewise.
36517         (RUN_TEST_LOOP_ff_i_tg): Likewise.
36518         (RUN_TEST_LOOP_f_b): Likewise.
36519         (RUN_TEST_LOOP_f_b_tg): Likewise.
36520         (RUN_TEST_LOOP_f_l): Likewise.
36521         (RUN_TEST_LOOP_f_L): Likewise.
36522         (RUN_TEST_LOOP_fFF_11): Likewise.
36523         * math/gen-libm-test.pl (parse_args): Output four copies of
36524         expected results for each test.
36526         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
36527         (__ASSUME_UTIMES): Remove.
36528         * sysdeps/unix/sysv/linux/tile/kernel-features.h
36529         (__ASSUME_UTIMES): Likewise.
36531         * math/gen-auto-libm-tests.c: Update comment on output format.
36532         (output_for_one_input_case): Generate before-rounding and
36533         after-rounding information as conditions on output flags not
36534         floating-point format.
36535         * math/auto-libm-test-out: Regenerated.
36536         * math/gen-libm-test.pl (cond_value): New function.
36537         (or_cond_value): Use cond_value.
36538         (generate_testfile): Handle conditional exceptions.
36540 2014-03-05  Joseph Myers  <joseph@codesourcery.com>
36542         * math/libm-test.inc (max_valid_error): New variable.
36543         (init_max_error): Take new argument specifying whether function
36544         results are exactly determined.  Set max_valid_error and bound
36545         other variables for errors based on this argument.
36546         (set_max_error): Do not record results above max_valid_error.
36547         (check_float_internal): Only accept errors of up to 0.5ulps if
36548         also at most max_valid_error.
36549         (START): Take new argument EXACT and pass it to init_max_error.
36550         (acos_test): Update call to START.
36551         (acos_test_tonearest): Likewise.
36552         (acos_test_towardzero): Likewise.
36553         (acos_test_downward): Likewise.
36554         (acos_test_upward): Likewise.
36555         (acosh_test): Likewise.
36556         (asin_test): Likewise.
36557         (asin_test_tonearest): Likewise.
36558         (asin_test_towardzero): Likewise.
36559         (asin_test_downward): Likewise.
36560         (asin_test_upward): Likewise.
36561         (asinh_test): Likewise.
36562         (atan_test): Likewise.
36563         (atanh_test): Likewise.
36564         (atan2_test): Likewise.
36565         (cabs_test): Likewise.
36566         (cacos_test): Likewise.
36567         (cacosh_test): Likewise.
36568         (carg_test): Likewise.
36569         (casin_test): Likewise.
36570         (casinh_test): Likewise.
36571         (catan_test): Likewise.
36572         (catanh_test): Likewise.
36573         (cbrt_test): Likewise.
36574         (ccos_test): Likewise.
36575         (ccosh_test): Likewise.
36576         (ceil_test): Likewise.
36577         (cexp_test): Likewise.
36578         (cimag_test): Likewise.
36579         (clog_test): Likewise.
36580         (clog10_test): Likewise.
36581         (conj_test): Likewise.
36582         (copysign_test): Likewise.
36583         (cos_test): Likewise.
36584         (cos_test_tonearest): Likewise.
36585         (cos_test_towardzero): Likewise.
36586         (cos_test_downward): Likewise.
36587         (cos_test_upward): Likewise.
36588         (cosh_test): Likewise.
36589         (cosh_test_tonearest): Likewise.
36590         (cosh_test_towardzero): Likewise.
36591         (cosh_test_downward): Likewise.
36592         (cosh_test_upward): Likewise.
36593         (cpow_test): Likewise.
36594         (cproj_test): Likewise.
36595         (creal_test): Likewise.
36596         (csin_test): Likewise.
36597         (csinh_test): Likewise.
36598         (csqrt_test): Likewise.
36599         (ctan_test): Likewise.
36600         (ctan_test_tonearest): Likewise.
36601         (ctan_test_towardzero): Likewise.
36602         (ctan_test_downward): Likewise.
36603         (ctan_test_upward): Likewise.
36604         (ctanh_test): Likewise.
36605         (ctanh_test_tonearest): Likewise.
36606         (ctanh_test_towardzero): Likewise.
36607         (ctanh_test_downward): Likewise.
36608         (ctanh_test_upward): Likewise.
36609         (erf_test): Likewise.
36610         (erfc_test): Likewise.
36611         (exp_test): Likewise.
36612         (exp_test_tonearest): Likewise.
36613         (exp_test_towardzero): Likewise.
36614         (exp_test_downward): Likewise.
36615         (exp_test_upward): Likewise.
36616         (exp10_test): Likewise.
36617         (exp10_test_tonearest): Likewise.
36618         (exp10_test_towardzero): Likewise.
36619         (exp10_test_downward): Likewise.
36620         (exp10_test_upward): Likewise.
36621         (pow10_test): Likewise.
36622         (exp2_test): Likewise.
36623         (expm1_test): Likewise.
36624         (expm1_test_tonearest): Likewise.
36625         (expm1_test_towardzero): Likewise.
36626         (expm1_test_downward): Likewise.
36627         (expm1_test_upward): Likewise.
36628         (fabs_test): Likewise.
36629         (fdim_test): Likewise.
36630         (floor_test): Likewise.
36631         (fma_test): Likewise.
36632         (fma_test_towardzero): Likewise.
36633         (fma_test_downward): Likewise.
36634         (fma_test_upward): Likewise.
36635         (fmax_test): Likewise.
36636         (fmin_test): Likewise.
36637         (fmod_test): Likewise.
36638         (fpclassify_test): Likewise.
36639         (frexp_test): Likewise.
36640         (hypot_test): Likewise.
36641         (ilogb_test): Likewise.
36642         (isfinite_test): Likewise.
36643         (finite_test): Likewise.
36644         (isgreater_test): Likewise.
36645         (isgreaterequal_test): Likewise.
36646         (isinf_test): Likewise.
36647         (isless_test): Likewise.
36648         (islessequal_test): Likewise.
36649         (islessgreater_test): Likewise.
36650         (isnan_test): Likewise.
36651         (isnormal_test): Likewise.
36652         (issignaling_test): Likewise.
36653         (isunordered_test): Likewise.
36654         (j0_test): Likewise.
36655         (j1_test): Likewise.
36656         (jn_test): Likewise.
36657         (ldexp_test): Likewise.
36658         (lgamma_test): Likewise.
36659         (gamma_test): Likewise.
36660         (lrint_test): Likewise.
36661         (lrint_test_tonearest): Likewise.
36662         (lrint_test_towardzero): Likewise.
36663         (lrint_test_downward): Likewise.
36664         (lrint_test_upward): Likewise.
36665         (llrint_test): Likewise.
36666         (llrint_test_tonearest): Likewise.
36667         (llrint_test_towardzero): Likewise.
36668         (llrint_test_downward): Likewise.
36669         (llrint_test_upward): Likewise.
36670         (log_test): Likewise.
36671         (log10_test): Likewise.
36672         (log1p_test): Likewise.
36673         (log2_test): Likewise.
36674         (logb_test): Likewise.
36675         (logb_test_downward): Likewise.
36676         (lround_test): Likewise.
36677         (llround_test): Likewise.
36678         (modf_test): Likewise.
36679         (nearbyint_test): Likewise.
36680         (nextafter_test): Likewise.
36681         (nexttoward_test): Likewise.
36682         (pow_test): Likewise.
36683         (pow_test_tonearest): Likewise.
36684         (pow_test_towardzero): Likewise.
36685         (pow_test_downward): Likewise.
36686         (pow_test_upward): Likewise.
36687         (remainder_test): Likewise.
36688         (drem_test): Likewise.
36689         (remainder_test_tonearest): Likewise.
36690         (drem_test_tonearest): Likewise.
36691         (remainder_test_towardzero): Likewise.
36692         (drem_test_towardzero): Likewise.
36693         (remainder_test_downward): Likewise.
36694         (drem_test_downward): Likewise.
36695         (remainder_test_upward): Likewise.
36696         (drem_test_upward): Likewise.
36697         (remquo_test): Likewise.
36698         (rint_test): Likewise.
36699         (rint_test_tonearest): Likewise.
36700         (rint_test_towardzero): Likewise.
36701         (rint_test_downward): Likewise.
36702         (rint_test_upward): Likewise.
36703         (round_test): Likewise.
36704         (scalb_test): Likewise.
36705         (scalbn_test): Likewise.
36706         (scalbln_test): Likewise.
36707         (signbit_test): Likewise.
36708         (sin_test): Likewise.
36709         (sin_test_tonearest): Likewise.
36710         (sin_test_towardzero): Likewise.
36711         (sin_test_downward): Likewise.
36712         (sin_test_upward): Likewise.
36713         (sincos_test): Likewise.
36714         (sinh_test): Likewise.
36715         (sinh_test_tonearest): Likewise.
36716         (sinh_test_towardzero): Likewise.
36717         (sinh_test_downward): Likewise.
36718         (sinh_test_upward): Likewise.
36719         (sqrt_test): Likewise.
36720         (sqrt_test_tonearest): Likewise.
36721         (sqrt_test_towardzero): Likewise.
36722         (sqrt_test_downward): Likewise.
36723         (sqrt_test_upward): Likewise.
36724         (tan_test): Likewise.
36725         (tan_test_tonearest): Likewise.
36726         (tan_test_towardzero): Likewise.
36727         (tan_test_downward): Likewise.
36728         (tan_test_upward): Likewise.
36729         (tanh_test): Likewise.
36730         (tgamma_test): Likewise.
36731         (trunc_test): Likewise.
36732         (y0_test): Likewise.
36733         (y1_test): Likewise.
36734         (yn_test): Likewise.
36735         (significand_test): Likewise.
36737         * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
36738         individual tests in comment.
36739         (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
36740         (prev_max_error): New variable.
36741         (prev_real_max_error): Likewise.
36742         (prev_imag_max_error): Likewise.
36743         (compare_ulp_data): Don't refer to test names in comment.
36744         (find_test_ulps): Remove function.
36745         (find_function_ulps): Likewise.
36746         (find_complex_function_ulps): Likewise.
36747         (init_max_error): Take function name as argument.  Look up ulps
36748         for that function.
36749         (print_ulps): Remove function.
36750         (print_max_error): Use prev_max_error instead of calling
36751         find_function_ulps.
36752         (print_complex_max_error): Use prev_real_max_error and
36753         prev_imag_max_error instead of calling find_complex_function_ulps.
36754         (check_float_internal): Take max_ulp parameter instead of calling
36755         find_test_ulps.  Don't call print_ulps.
36756         (check_float): Update call to check_float_internal.
36757         (check_complex): Update calls to check_float_internal.
36758         (START): Pass argument to init_max_error.
36759         * math/gen-libm-test.pl (%results): Don't include "kind"
36760         information.
36761         (parse_ulps): Don't handle ulps of individual tests.
36762         (print_ulps_file): Likewise.
36763         (output_ulps): Likewise.
36764         * math/README.libm-test: Update.
36765         * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
36766         individual tests.
36767         * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
36768         * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
36769         * sysdeps/arm/libm-test-ulps: Likewise.
36770         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
36771         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
36772         * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
36773         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
36774         * sysdeps/microblaze/libm-test-ulps: Likewise.
36775         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
36776         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
36777         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
36778         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
36779         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
36780         * sysdeps/sh/libm-test-ulps: Likewise.
36781         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
36782         * sysdeps/tile/libm-test-ulps: Likewise.
36783         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36785 2014-03-04  Joseph Myers  <joseph@codesourcery.com>
36787         * math/libm-test.inc (print_complex_max_error): Check separately
36788         whether real and imaginary errors are within allowed range and
36789         pass 0 to print_complex_function_ulps instead of value within
36790         allowed range.
36792 2014-03-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
36794         * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
36795         formatting.
36796         (get_handles_fopen): Likewise.
36797         (do_write_test): Likewise.
36799         * libio/wfileops.c (do_ftell_wide): Fix up formatting.
36801         * libio/fileops.c (do_ftell): Use cached offset when
36802         available.
36803         * libio/iofwide.c (do_ftell_wide): Likewise.
36804         * libio/iofdopen.c (_IO_new_fdopen): Don't use
36805         _IO_file_attach.
36806         * libio/wfileops.c (_IO_fwide): Don't cache offset.
36808         [BZ #16532]
36809         * libio/libioP.h (get_file_offset): New function.
36810         * libio/fileops.c (get_file_offset): Likewise.
36811         (do_ftell): Likewise.
36812         (_IO_new_file_seekoff): Split out ftell logic.
36813         * libio/wfileops.c (do_ftell_wide): Likewise.
36814         (_IO_wfile_seekoff): Split out ftell logic.
36815         * libio/tst-ftell-active-handler.c: New test case.
36816         * libio/Makefile (tests): Add it.
36818 2014-03-03  Roland McGrath  <roland@hack.frob.com>
36820         * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
36821         * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
36823 2014-03-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
36825         [BZ #16639]
36826         * nscd/connections.c (nscd_init): Call do_exit.
36827         (start_threads): Call do_exit and notify_parent.
36828         (begin_drop_privileges): Call do_exit.
36829         (finish_drop_privileges): Likewise.
36830         * nscd/selinux.c (preserve_capabilities): Likewise.
36831         (install_real_capabilities): Likewise.
36832         (nscd_selinux_enabled): Likewise.
36833         (avc_create_thread): Likewise.
36834         (avc_alloc_lock): Likewise.
36835         (nscd_avc_init): Likewise.
36836         * nscd/nscd.c (parent_fd): New static variable.
36837         (main): Create a pipe between parent and child processes.
36838         Skip closing parent_fd.
36839         (monitor_child): New function.
36840         (do_exit): Likewise.
36841         (notify_parent): Likewise.
36842         * nscd/nscd.h (notify_parent): Likewise.
36843         (do_exit): Likewise.
36845 2014-03-03  Carlos O'Donell  <carlos@redhat.com>
36847         * malloc/malloc.c (__libc_calloc): Revert last change.
36849 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36851         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36853 2014-03-03  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
36855         * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
36856         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
36857         implementation.
36858         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
36859         (__libc_ifunc_impl_list): Likewise.
36860         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
36861         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
36862         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
36863         * string/strrchr.c: Define STRRCHR.
36865 2014-02-28  Ondřej Bílka  <neleai@seznam.cz>
36867         * benchtest/bench-strtok.c (simple_strtok): Delete.
36868         (strtok_string): Use as benchmark.
36869         * string/strtok (STRTOK): New macro.
36871 2014-02-28  Carlos O'Donell  <carlos@redhat.com>
36873         * manual/threads.texi: Add header and standard comments to all
36874         functions.
36876         * elf/dl-lookup.c (check_match): New function.
36877         (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
36878         (do_lookup_x): Remove nested function check_match. Use non-nested
36879         function check_match.
36881 2014-02-28  Roland McGrath  <roland@hack.frob.com>
36883         * csu/Makefile (generated, before-compile): Use += rather than =.
36884         * catgets/Makefile (generated, generated-dirs): Likewise.
36885         * debug/Makefile (generated): Likewise.
36886         * dlfcn/Makefile (generated): Likewise.
36887         * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
36888         * iconvdata/Makefile (before-compile, generated): Likewise.
36889         * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
36890         * libio/Makefile (generated): Likewise.
36891         * malloc/Makefile (generated): Likewise.
36892         * manual/Makefile (generated, generated-dirs): Likewise.
36893         * misc/Makefile (generated): Likewise.
36894         * posix/Makefile (generated): Likewise.
36895         * resolv/Makefile (generated): Likewise.
36896         * sunrpc/Makefile (generated, generated-dirs): Likewise.
36897         * timezone/Makefile (generated, generated-dirs): Likewise.
36899         * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
36901 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36903         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
36904         power8 implementation.
36905         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
36906         file: POWER8 llround ifunc implementation.
36907         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
36908         (__lllround): Add POWER8 implementation.
36909         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
36910         POWER8 llround implementation.
36912         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
36913         power8 implementation.
36914         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
36915         file: POWER8 llrint ifunc implementation.
36916         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
36917         Add POWER8 implementation.
36918         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
36919         POWER8 llrint implementation.
36921         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
36922         power8 implementation.
36923         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
36924         file: POWER8 finite ifunc implementation.
36925         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
36926         Add POWER8 implementation.
36927         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
36928         Likewise.
36929         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
36930         POWER8 finite implementation.
36931         * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
36933         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
36934         power8 implementation.
36935         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
36936         file: POWER8 isinf ifunc implementation.
36937         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
36938         POWER8 implementation.
36939         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
36940         Likewise.
36941         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
36942         isinf implementation.
36943         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
36945         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
36946         (INIT_ARCH): Add hwcap2 initialization.
36947         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
36948         power8 implementation.
36949         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
36950         file: POWER8 isnan ifunc implementation.
36951         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
36952         POWER8 implementation.
36953         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
36954         Likewise.
36955         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
36956         isnan implementation.
36957         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
36959 2014-02-27  Joey Ye  <joey.ye@arm.com>
36961         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
36962         (_FP_NANFRAC_Q): Set to zero.
36964 2014-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
36966         [BZ #16623]
36967         * math/auto-libm-test-in: New test inputs.
36968         * math/auto-libm-test-out: Regenerate.
36969         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
36970         and DA.
36971         (__cos): Likewise.
36972         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
36974 2014-02-27  Joseph Myers  <joseph@codesourcery.com>
36976         * scripts/evaluate-test.sh: Take new argument indicating whether
36977         failure is expected.
36978         * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
36979         indicating whether failure is expected.
36980         * conform/Makefile (test-xfail-run-conformtest): New variable.
36981         ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
36982         level.
36983         * posix/Makefile (test-xfail-annexc): New variable.
36984         ($(objpfx)annexc.out): Don't expect to fail at makefile level.
36986 2014-02-26  Joseph Myers  <joseph@codesourcery.com>
36988         * argp/Makefile: Include Makeconfig immediately after defining
36989         subdir.
36990         * assert/Makefile: Likewise.
36991         * benchtests/Makefile: Likewise.
36992         * catgets/Makefile: Likewise.
36993         * conform/Makefile: Likewise.
36994         * crypt/Makefile: Likewise.
36995         * csu/Makefile: Likewise.
36996         (all): Remove target.
36997         * ctype/Makefile: Include Makeconfig immediately after defining
36998         subdir.
36999         * debug/Makefile: Likewise.
37000         * dirent/Makefile: Likewise.
37001         * dlfcn/Makefile: Likewise.
37002         * gmon/Makefile: Likewise.
37003         * gnulib/Makefile: Likewise.
37004         * grp/Makefile: Likewise.
37005         * gshadow/Makefile: Likewise.
37006         * hesiod/Makefile: Likewise.
37007         * hurd/Makefile: Likewise.
37008         (all): Remove target.
37009         * iconvdata/Makefile: Include Makeconfig immediately after
37010         defining subdir.
37011         * inet/Makefile: Likewise.
37012         * intl/Makefile: Likewise.
37013         * io/Makefile: Likewise.
37014         * libio/Makefile: Likewise.
37015         (all): Remove target.
37016         * locale/Makefile: Include Makeconfig immediately after defining
37017         subdir.
37018         * login/Makefile: Likewise.
37019         * mach/Makefile: Likewise.
37020         (all): Remove target.
37021         * malloc/Makefile: Include Makeconfig immediately after defining
37022         subdir.
37023         (all): Remove target.
37024         * manual/Makefile: Include Makeconfig immediately after defining
37025         subdir.
37026         * math/Makefile: Likewise.
37027         * misc/Makefile: Likewise.
37028         * nis/Makefile: Likewise.
37029         * nss/Makefile: Likewise.
37030         * po/Makefile: Likewise.
37031         (all): Remove target.
37032         * posix/Makefile: Include Makeconfig immediately after defining
37033         subdir.
37034         * pwd/Makefile: Likewise.
37035         * resolv/Makefile: Likewise.
37036         * resource/Makefile: Likewise.
37037         * rt/Makefile: Likewise.
37038         * setjmp/Makefile: Likewise.
37039         * shadow/Makefile: Likewise.
37040         * signal/Makefile: Likewise.
37041         * socket/Makefile: Likewise.
37042         * soft-fp/Makefile: Likewise.
37043         * stdio-common/Makefile: Likewise.
37044         * stdlib/Makefile: Likewise.
37045         * streams/Makefile: Likewise.
37046         * string/Makefile: Likewise.
37047         * sunrpc/Makefile: Likewise.
37048         (all): Remove target.
37049         * sysvipc/Makefile: Include Makeconfig immediately after defining
37050         subdir.
37051         * termios/Makefile: Likewise.
37052         * time/Makefile: Likewise.
37053         * timezone/Makefile: Likewise.
37054         (all): Remove target.
37055         * wcsmbs/Makefile: Include Makeconfig immediately after defining
37056         subdir.
37057         * wctype/Makefile: Likewise.
37059 2014-02-26  Steve Ellcey  <sellcey@mips.com>
37061         * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
37062         (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
37063         (libc_feholdexcept_setround_mips): Ditto.
37064         (libc_feholdsetround): New.
37065         (libc_feholdsetroundf): New.
37066         (libc_feholdsetroundl): New.
37067         (libc_feupdateenv_test_mips): New.
37068         (libc_feupdateenv_test): New.
37069         (libc_feupdateenv_testf): New.
37070         (libc_feupdateenv_testl): New.
37071         (libc_feresetround): New.
37072         (libc_feresetroundf): New.
37073         (libc_feresetroundl): New.
37074         (libc_fetestexcept_mips): New.
37075         (libc_fetestexcept): New.
37076         (libc_fetestexceptf): New.
37077         (libc_fetestexceptl): New.
37078         (HAVE_RM_CTX): New.
37079         (libc_feholdexcept_setround_mips_ctx): New.
37080         (libc_feholdexcept_setround_ctx): New.
37081         (libc_feholdexcept_setroundf_ctx): New.
37082         (libc_feholdexcept_setroundl_ctx): New.
37083         (libc_fesetenv_mips_ctx): New.
37084         (libc_fesetenv_ctx): New.
37085         (libc_fesetenv_ctxf): New.
37086         (libc_fesetenv_ctxl): New.
37087         (libc_feupdateenv_mips_ctx): New.
37088         (libc_feupdateenv_ctx): New.
37089         (libc_feupdateenvf_ctx): New.
37090         (libc_feupdateenvl_ctx): New.
37091         (libc_feholdsetround_mips_ctx): New.
37092         (libc_feholdsetround_ctx): New.
37093         (libc_feholdsetroundf_ctx): New.
37094         (libc_feholdsetroundl_ctx): New.
37095         (libc_feresetround_mips_ctx): New.
37096         (libc_feresetround_ctx): New.
37097         (libc_feresetroundf_ctx): New.
37098         (libc_feresetroundl_ctx): New.
37100 2014-02-26  Carlos O'Donell  <carlos@redhat.com>
37102         * manual/ipc.texi (Semaphores): Use @Theglibc{}.
37104         * manual/ipc.texi: New file.
37105         * manual/Makefile (chapters): Add ipc.
37106         * manual/job.texi: Add "Inter-Process Communication" to next.
37107         * manual/process.texi: Add "Inter-Process Communication" to prev.
37109 2014-02-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37111         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37113 2014-02-26  Ondřej Bílka  <neleai@seznam.cz>
37115         * malloc/malloc.c (__libc_calloc): Simplify implementation.
37117         * manual/arith.texi: Fix spaces after sentences.
37118         * manual/charset.texi: Likewise.
37119         * manual/errno.texi: Likewise.
37120         * manual/install.texi: Likewise.
37121         * manual/llio.texi: Likewise.
37122         * manual/locale.texi: Likewise.
37123         * manual/maint.texi: Likewise.
37124         * manual/math.texi: Likewise.
37125         * manual/memory.texi: Likewise.
37126         * manual/message.texi: Likewise.
37127         * manual/probes.texi: Likewise.
37128         * manual/resource.texi: Likewise.
37129         * manual/signal.texi: Likewise.
37130         * manual/socket.texi: Likewise.
37131         * manual/stdio.texi: Likewise.
37132         * manual/string.texi: Likewise.
37133         * manual/time.texi: Likewise.
37134         * manual/users.texi: Likewise.
37136 2014-02-25  Carlos O'Donell  <carlos@redhat.com>
37138         [BZ #16632]
37139         * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
37140         _DEFAULT_SOURCE is defined.
37142 2014-02-25  Ulrich Drepper  <drepper@gmail.com>
37143             Carlos O'Donell  <carlos@redhat.com>
37145         [BZ #16613]
37146         * elf/dl-tls.c (_dl_count_modids): New function.
37147         * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
37148         * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
37149         audit library and increment generation counter.
37150         (_dl_allocate_tls_init): Add assertion to check TLS generation count.
37151         * elf/tst-audit9.c: New file.
37152         * elf/tst-auditmod9a.c: New file.
37153         * elf/tst-auditmod9b.c: New file.
37154         * elf/Makefile: Add rules to build and run tst-audit9.
37156 2014-02-25  Florian Weimer  <fweimer@redhat.com>
37158         [BZ #15347]
37159         * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
37161 2014-02-25  Will Newton  <will.newton@linaro.org>
37163         * sysdeps/arm/__longjmp.S: Include stap-probe.h.
37164         (__longjmp): Restore sp and lr before restoring callee
37165         saved registers.  Add longjmp and longjmp_target
37166         SystemTap probe point.
37167         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
37168         * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
37169         Define to zero to match jmpbuf layout.
37170         * sysdeps/arm/setjmp.S: Include stap-probe.h.
37171         (__sigsetjmp): Save sp and lr before saving callee
37172         saved registers.  Add setjmp SystemTap probe point.
37174 2014-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
37176         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
37178 2014-02-24  Andreas Schwab  <schwab@suse.de>
37180         [BZ #15804]
37181         * elf/pldd.c (wait_for_ptrace_stop): New function.
37182         (main): Call it after attaching.
37184 2014-02-22  Roland McGrath  <roland@hack.frob.com>
37186         * Makerules ($(common-objpfx)Versions.v.i): No longer depend
37187         on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
37188         Versions files is now verboten.
37189         * hurd/Versions (libc: GLIBC_2.0):
37190         Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
37191         (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
37192         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
37193         * mach/Versions: Likewise.
37195         * csu/Versions: Remove unused %include.
37196         * resolv/Versions: Likewise.
37198 2014-02-21  Joseph Myers  <joseph@codesourcery.com>
37200         * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
37201         ($(objpfx)check-local-headers.out): Likewise.
37202         ($(objpfx)begin-end-check.out): Likewise.
37203         * Makerules (check-abi-%.out): Likewise.
37204         * catgets/Makefile ($(objpfx)test1.cat): Likewise.
37205         ($(objpfx)test2.cat): Likewise.
37206         ($(objpfx)de/libc.cat): Likewise.
37207         ($(objpfx)test-gencat.out): Likewise.
37208         * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
37209         * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
37210         ($(objpfx)noload-mem): Likewise.
37211         ($(objpfx)tst-pathopt.out): Likewise.
37212         ($(objpfx)tst-rtld-load-self.out): Likewise.
37213         ($(objpfx)tst-array1-cmp.out): Likewise.
37214         ($(objpfx)tst-array1-static-cmp.out): Likewise.
37215         ($(objpfx)tst-array2-cmp.out): Likewise.
37216         ($(objpfx)tst-array3-cmp.out): Likewise.
37217         ($(objpfx)tst-array4-cmp.out): Likewise.
37218         ($(objpfx)tst-array5-cmp.out): Likewise.
37219         ($(objpfx)tst-array5-static-cmp.out): Likewise.
37220         ($(objpfx)check-textrel.out): Likewise.
37221         ($(objpfx)check-execstack.out): Likewise.
37222         ($(objpfx)check-localplt.out): Likewise.
37223         ($(objpfx)order2-cmp.out): Likewise.
37224         ($(objpfx)tst-leaks1-mem): Likewise.
37225         ($(objpfx)tst-leaks1-static-mem): Likewise.
37226         ($(objpfx)tst-initorder-cmp.out): Likewise.
37227         ($(objpfx)tst-initorder2-cmp.out): Likewise.
37228         ($(objpfx)tst-unused-dep.out): Likewise.
37229         ($(objpfx)tst-unused-dep-cmp.out): Likewise.
37230         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
37231         * iconv/Makefile (test-iconvconfig): Likewise.
37232         * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
37233         ($(objpfx)iconv-test.out): Likewise.
37234         ($(objpfx)tst-tables.out): Likewise.
37235         * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
37236         ($(objpfx)tst-gettext.out): Likewise.
37237         ($(objpfx)tst-translit.out): Likewise.
37238         ($(objpfx)tst-gettext2.out): Likewise.
37239         ($(objpfx)tst-gettext4.out): Likewise.
37240         ($(objpfx)tst-gettext6.out): Likewise.
37241         * io/Makefile ($(objpfx)ftwtest.out): Likewise.
37242         * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
37243         ($(objpfx)tst-fopenloc-cmp.out): Likewise.
37244         ($(objpfx)tst-fopenloc-mem.out): Likewise.
37245         * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
37246         * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
37247         * posix/Makefile ($(objpfx)globtest.out): Likewise.
37248         ($(objpfx)wordexp-tst.out): Likewise.
37249         ($(objpfx)annexc.out): Likewise.
37250         ($(objpfx)tst-fnmatch-mem): Likewise.
37251         ($(objpfx)bug-regex2-mem): Likewise.
37252         ($(objpfx)bug-regex14-mem): Likewise.
37253         ($(objpfx)bug-regex21-mem): Likewise.
37254         ($(objpfx)bug-regex31-mem): Likewise.
37255         ($(objpfx)tst-vfork3-mem): Likewise.
37256         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
37257         ($(objpfx)tst-pcre-mem): Likewise.
37258         ($(objpfx)tst-boost-mem): Likewise.
37259         ($(objpfx)tst-getconf.out): Likewise.
37260         ($(objpfx)bug-ga2-mem): Likewise.
37261         ($(objpfx)bug-glob2-mem): Likewise.
37262         * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
37263         ($(objpfx)mtrace-tst-leaks2): Likewise.
37264         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
37265         ($(objpfx)tst-printf.out): Likewise.
37266         ($(objpfx)tst-setvbuf1.out): Likewise.
37267         ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
37268         * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
37269         ($(objpfx)tst-fmtmsg.out): Likewise.
37270         * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
37271         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
37273         * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
37274         * bits/sigaction.h [__USE_MISC]: Likewise.
37275         * bits/waitstatus.h: Update #endif comments.
37276         * ctype/ctype.h: Likewise.
37277         * dirent/dirent.h: Likewise.
37278         [__USE_MISC]: Remove redundant conditionals.
37279         * grp/grp.h: Update #endif comments.
37280         [__USE_GNU]: Remove redundant conditionals.
37281         [__USE_MISC]: Likewise.
37282         * inet/netinet/in.h [__USE_GNU]: Likewise.
37283         * io/sys/stat.h [__USE_MISC]: Likewise.
37284         * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
37285         * libio/bits/stdio.h: Update #endif comments.
37286         [__USE_MISC]: Remove redundant conditionals.
37287         * libio/bits/stdio2.h [__USE_MISC]: Likewise.
37288         * libio/stdio.h: Update #endif comments.
37289         [__USE_MISC]: Remove redundant conditionals.
37290         * math/bits/math-finite.h [__USE_MISC]: Likewise.
37291         * math/bits/mathcalls.h [__USE_MISC]: Likewise.
37292         * math/math.h: Update #else and #endif comments.
37293         [__USE_MISC]: Remove redundant conditionals.
37294         * misc/sys/uio.h: Update #endif comments.
37295         * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
37296         * posix/glob.h [__USE_MISC]: Likewise.
37297         * posix/sys/types.h: Update #endif comments.
37298         [__USE_MISC]: Remove redundant conditionals.
37299         * posix/sys/wait.h: Update #endif comments.
37300         [__USE_MISC]: Remove redundant conditionals.
37301         * posix/unistd.h: Update #endif comments.
37302         [__USE_MISC]: Remove redundant conditionals.
37303         * pwd/pwd.h [__USE_GNU]: Likewise.
37304         [__USE_MISC]: Likewise.
37305         * resolv/netdb.h [__USE_GNU]: Likewise.
37306         * signal/signal.h: Update #endif comments.
37307         [__USE_MISC]: Remove redundant conditionals.
37308         * stdlib/stdlib.h: Update #else and #endif comments.
37309         [__USE_MISC]: Remove redundant conditionals.
37310         [__USE_GNU]: Likewise.
37311         * string/bits/string2.h [__USE_MISC]: Likewise.
37312         * string/string.h: Update #endif comments.
37313         [__USE_MISC]: Remove redundant conditionals.
37314         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
37315         Likewise.
37316         * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
37317         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
37318         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
37319         Likewise.
37320         * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
37321         Likewise.
37322         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
37323         comments.
37324         [__USE_MISC]: Remove redundant conditionals.
37325         * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
37326         * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
37327         * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
37328         * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
37329         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
37330         Likewise.
37331         * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
37332         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
37333         Likewise.
37334         * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
37335         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
37336         Likewise.
37337         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
37338         Likewise.
37339         * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
37340         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
37341         Likewise.
37342         * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
37343         Likewise.
37344         * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
37345         * sysdeps/x86/bits/string.h: Update #endif comments.
37346         * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
37347         conditionals.
37348         * time/sys/time.h: Update #endif comments.
37349         * time/time.h: Likewise.
37350         [__USE_MISC]: Remove redundant conditionals.
37352 2014-02-21  Yury Gribov  <y.gribov@samsung.com>
37354         [BZ #16600]
37355         * sysdeps/arm/libm-test-ulps: Update for VFPv4.
37357 2014-02-21  Andreas Schwab  <schwab@linux-m68k.org>
37359         * Versions.def (librt): Add GLIBC_2.17.
37361 2014-02-21  Adam Conrad  <adconrad@0c3.net>
37363         * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
37364         synonym for _SYS_AUXV_H to allow direct inclusion.
37365         * sysdeps/sparc/bits/hwcap.h: Likewise.
37366         * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
37367         _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
37368         * sysdeps/sparc/sysdep.h: Likewise.
37370 2014-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
37372         * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
37374 2014-02-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
37376         * benchtests/bench-strrchr.c: Print length instead of position.
37378 2014-02-20  Joseph Myers  <joseph@codesourcery.com>
37380         [BZ #16611]
37381         * sysdeps/unix/sysv/linux/kernel-features.h
37382         [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
37383         (__ASSUME_SENDMMSG_SOCKETCALL): Define.
37384         [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
37385         __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
37386         Likewise.
37387         [__i386__ || __powerpc__ || __sh__ || __sparc__]
37388         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
37389         [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
37390         (__ASSUME_SENDMMSG): Define instead of using previous
37391         [__LINUX_KERNEL_VERSION >= 0x020627] condition.
37392         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
37393         (__ASSUME_SENDMMSG_SYSCALL): Define.
37394         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
37395         [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
37396         Likewise.
37397         * sysdeps/unix/sysv/linux/arm/kernel-features.h
37398         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
37399         Likewise.
37400         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
37401         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
37402         Likewise.
37403         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
37404         && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
37405         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
37406         [__ASSUME_SENDMMSG]: Change conditionals to
37407         [__ASSUME_SENDMMSG_SOCKETCALL].
37408         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
37409         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
37410         Define.
37411         * sysdeps/unix/sysv/linux/mips/kernel-features.h
37412         [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
37413         Likewise.
37414         * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
37415         !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
37416         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
37417         [!__ASSUME_SENDMMSG]: Change conditional to
37418         [!__ASSUME_SENDMMSG_SOCKETCALL].
37419         * sysdeps/unix/sysv/linux/tile/kernel-features.h
37420         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
37421         Define.
37423         [BZ #16610]
37424         * sysdeps/unix/sysv/linux/kernel-features.h
37425         [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
37426         (__ASSUME_RECVMMSG_SOCKETCALL): Define.
37427         [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
37428         __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
37429         || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
37430         [__i386__ || __sparc__]
37431         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
37432         [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
37433         (__ASSUME_RECVMMSG): Define instead of using previous
37434         [__LINUX_KERNEL_VERSION >= 0x020621] condition.
37435         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
37436         (__ASSUME_RECVMMSG_SYSCALL): Define.
37437         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
37438         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
37439         Likewise.
37440         * sysdeps/unix/sysv/linux/arm/kernel-features.h
37441         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
37442         Likewise.
37443         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
37444         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
37445         Likewise.
37446         * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
37447         && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
37448         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
37449         [__ASSUME_RECVMMSG]: Change condition to
37450         [__ASSUME_RECVMMSG_SOCKETCALL].
37451         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
37452         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
37453         Define.
37454         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
37455         * sysdeps/unix/sysv/linux/mips/kernel-features.h
37456         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
37457         Likewise.
37458         * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
37459         !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
37460         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
37461         [!__ASSUME_RECVMMSG]: Change condition to
37462         [!__ASSUME_RECVMMSG_SOCKETCALL].
37463         * sysdeps/unix/sysv/linux/tile/kernel-features.h
37464         (__ASSUME_RECVMMSG_SYSCALL): Define.
37466         [BZ #16609]
37467         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
37468         __powerpc__ || __s390__ || __sh__ || __sparc__]
37469         (__ASSUME_SOCKETCALL): Define.
37470         [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
37471         (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
37472         [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
37473         || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
37474         __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
37475         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
37476         [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
37477         (__ASSUME_ACCEPT4): Define instead of using previous
37478         [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
37479         __powerpc__ || __sparc__ || __s390__)] condition.
37480         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
37481         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
37482         * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
37483         !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
37484         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
37485         [!__ASSUME_ACCEPT4]: Change condition to
37486         [!__ASSUME_ACCEPT4_SOCKETCALL].
37487         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
37488         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.  Correct
37489         condition to [__LINUX_KERNEL_VERSION >= 0x030200].
37490         * sysdeps/unix/sysv/linux/arm/kernel-features.h
37491         [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
37492         __ASSUME_ACCEPT4_SYSCALL.
37493         * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
37494         Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
37495         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
37496         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
37497         __ASSUME_ACCEPT4_SYSCALL.
37498         * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
37499         && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
37500         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
37501         [__ASSUME_ACCEPT4]: Change condition to
37502         [__ASSUME_ACCEPT4_SOCKETCALL].
37503         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
37504         (__ASSUME_SOCKETCALL): Define.
37505         [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
37506         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
37507         (__ASSUME_SOCKETCALL): Define.
37508         (__ASSUME_ACCEPT4): Remove.
37509         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
37510         Define.
37511         * sysdeps/unix/sysv/linux/mips/kernel-features.h
37512         [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
37513         Likewise.
37514         * sysdeps/unix/sysv/linux/tile/kernel-features.h
37515         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
37517         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
37518         macro.
37519         (HWCAP_ARM_LPAE): Likewise.
37520         (HWCAP_ARM_EVTSTRM): Likewise.
37521         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
37522         Add vpfd32, lpae and evtstrm.
37523         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
37524         Increase to 22.
37526 2014-02-19  Joseph Myers  <joseph@codesourcery.com>
37528         * math/auto-libm-test-in: Add tests of clog10.
37529         * math/auto-libm-test-out: Regenerated.
37530         * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
37531         * sysdeps/i386/fpu/libm-test-ulps: Update.
37532         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37534 2014-02-18  Andreas Schwab  <schwab@suse.de>
37536         [BZ #16574]
37537         * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
37538         Store non-zero if the second buffer was newly allocated.
37539         (send_dg): Likewise.
37540         (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
37541         to send_vc and send_dg.
37542         (res_nsend): Pass NULL for ansp2_malloced.
37543         * resolv/res_query.c (__libc_res_nquery): Add parameter
37544         answerp2_malloced and pass it down to __libc_res_nsend.
37545         (res_nquery): Pass additional NULL to __libc_res_nquery.
37546         (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
37547         down to __libc_res_nquery and __libc_res_nquerydomain.  Deallocate
37548         second answer buffer if answerp2_malloced was set.
37549         (res_nsearch): Pass additional NULL to __libc_res_nsearch.
37550         (__libc_res_nquerydomain): Add parameter
37551         answerp2_malloced and pass it down to __libc_res_nquery.
37552         (res_nquerydomain): Pass additional NULL to
37553         __libc_res_nquerydomain.
37554         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
37555         additional NULL to __libc_res_nsend and __libc_res_nquery.
37556         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
37557         additional NULL to __libc_res_nsearch.
37558         (_nss_dns_gethostbyname4_r): Revert last change.  Use new
37559         parameter of __libc_res_nsearch to check for separately allocated
37560         second buffer.
37561         (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
37562         __libc_res_nquery.
37563         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
37564         additional NULL to __libc_res_nquery.
37565         * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
37566         __libc_res_nsearch.
37567         (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
37568         * include/resolv.h: Update prototypes of __libc_res_nquery,
37569         __libc_res_nsearch, __libc_res_nsend.
37571 2014-02-18  Joseph Myers  <joseph@codesourcery.com>
37573         * math/auto-libm-test-in: Add tests of fma.
37574         * math/auto-libm-test-out: Regenerated.
37575         * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
37576         (fma_towardzero_test_data): Likewise.
37577         (fma_downward_test_data): Likewise.
37578         (fma_upward_test_data): Likewise.
37579         * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
37580         mpc_mode.
37581         (rounding_modes): Add values for new field.
37582         (func_calc_method): Add value mpfr_fff_f.
37583         (func_calc_desc): Add mpfr_fff_f union field.
37584         (test_function): Add field exact_args.
37585         (FUNC): Add macro argument EXACT_ARGS.
37586         (FUNC_mpfr_f_f): Update call to FUNC.
37587         (FUNC_mpfr_f_f): Likewise.
37588         (FUNC_mpfr_ff_f): Likewise.
37589         (FUNC_mpfr_if_f): Likewise.
37590         (FUNC_mpc_c_f): Likewise.
37591         (FUNC_mpc_c_c): Likewise.
37592         (test_functions): Add fma.  Update calls to FUNC.
37593         (handle_input_arg): Add argument exact_args.
37594         (add_test): Update call to handle_input_arg.
37595         (calc_generic_results): Add argument mode.  Handle mpfr_fff_f.
37596         (output_for_one_input_case): Update call to calc_generic_results.
37597         Recalculate exact zero results in each rounding mode.
37599         * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
37600         non-negative before setting low bit.
37601         * math/auto-libm-test-in: Mark one asin test possibly having
37602         spurious underflow.
37603         * math/auto-libm-test-out: Regenerated.
37604         * sysdeps/i386/fpu/libm-test-ulps: Update.
37605         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37607 2014-02-17  David Holsgrove <david.holsgrove@xilinx.com>
37609         * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
37610         * sysdeps/unix/sysv/linux/microblaze: Move directory from
37611         ports/sysdeps/unix/sysv/linux/microblaze.
37612         * README: Add missing listing for microblaze*-*-linux-gnu.
37614 2014-02-16  Ondřej Bílka  <neleai@seznam.cz>
37616         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
37617         duplicate code
37619 2014-02-16  Mike Frysinger  <vapier@gentoo.org>
37621         * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
37622         * sysdeps/unix/sysv/linux/ia64: Move directory from
37623         ports/sysdeps/unix/sysv/linux/ia64.
37624         * README: Update listing for ia64-*-linux-gnu.
37626 2014-02-14  Tomas Dohnalek  <tdohnale@redhat.com>
37627             Joseph Myers  <joseph@codesourcery.com>
37629         * Makeconfig (test-name): New variable.
37630         (evaluate-test): Likewise.
37631         * Makerules (do-test-clean): Remove .test-result files.
37632         (common-mostlyclean): Likewise.
37633         * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
37634         * scripts/evaluate-test.sh: New file.
37636 2014-02-14  Joseph Myers  <joseph@codesourcery.com>
37638         * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
37639         separate $(objpfx)tst-fopenloc-cmp.out and
37640         $(objpfx)tst-fopenloc-mem.out targets.
37641         (tests): Update dependencies.
37642         * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
37643         (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
37644         tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
37645         (tst-rxspencer-no-utf8-ARGS): New variable.
37646         (tst-rxspencer-no-utf8-ENV): Likewise.
37647         (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
37648         instead of $(objpfx)tst-rxspencer-mem.
37649         ($(objpfx)tst-rxspencer-mem): Change target to
37650         $(objpfx)tst-rxspencer-no-utf8-mem.  Depend on
37651         $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
37652         * posix/tst-rxspencer-no-utf8.c: New file.
37654         * elf/Makefile ($(objpfx)order.out): Remove rule.
37655         [$(run-built-tests) = yes] (tests): Depend on
37656         $(objpfx)order-cmp.out.
37657         ($(objpfx)order-cmp.out): New rule.
37658         [$(run-built-tests) = yes] (tests): Depend on
37659         $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
37660         $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
37661         $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
37662         $(objpfx)tst-array5-static-cmp.out.
37663         ($(objpfx)tst-array1.out): Remove rule.
37664         ($(objpfx)tst-array1-cmp.out): New rule.
37665         ($(objpfx)tst-array1-static.out): Remove rule.
37666         ($(objpfx)tst-array1-static-cmp.out): New rule.
37667         ($(objpfx)tst-array2.out): Remove rule.
37668         ($(objpfx)tst-array2-cmp.out): New rule.
37669         ($(objpfx)tst-array3.out): Remove rule.
37670         ($(objpfx)tst-array3-cmp.out): New rule.
37671         ($(objpfx)tst-array4.out): Remove rule.
37672         ($(objpfx)tst-array4-cmp.out): New rule.
37673         ($(objpfx)tst-array5.out): Remove rule.
37674         ($(objpfx)tst-array5-cmp.out): New rule.
37675         ($(objpfx)tst-array5-static.out): Remove rule.
37676         ($(objpfx)tst-array5-static-cmp.out): New rule.
37677         [$(run-built-tests) = yes] (tests): Depend on
37678         $(objpfx)order2-cmp.out.
37679         ($(objpfx)order2.out): Remove rule.
37680         ($(objpfx)order2-cmp.out): New rule.
37681         ($(objpfx)tst-initorder.out): Remove rule.
37682         [$(run-built-tests) = yes] (tests): Depend on
37683         $(objpfx)tst-initorder-cmp.out.
37684         ($(objpfx)tst-initorder-cmp.out): New rule.
37685         ($(objpfx)tst-initorder2.out): Remove rule.
37686         [$(run-built-tests) = yes] (tests): Depend on
37687         $(objpfx)tst-initorder2-cmp.out.
37688         ($(objpfx)tst-initorder2-cmp.out): New rule.
37689         [$(run-built-tests) = yes] (tests): Depend on
37690         $(objpfx)tst-unused-dep-cmp.out.
37691         ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
37692         ($(objpfx)tst-unused-dep-cmp.out): New rule.
37693         * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
37694         on $(objpfx)tst-setvbuf1-cmp.out.
37695         ($(objpfx)tst-setvbuf1.out): Do not run cmp.
37696         ($(objpfx)tst-setvbuf1-cmp.out): New rule.
37697         * string/Makefile [$(run-built-tests) = yes] (tests): Depend
37698         $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
37699         ($(objpfx)tst-svc.out): Remove rule.
37700         ($(objpfx)tst-svc-cmp.out): New rule.
37702 2014-02-13  Joseph Myers  <joseph@codesourcery.com>
37704         * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
37705         * ctype/ctype.h [__USE_MISC]: Likewise.
37706         * dirent/dirent.h [__USE_MISC]: Likewise.
37707         * grp/grp.h [__USE_MISC]: Likewise.
37708         * io/fcntl.h [__USE_MISC]: Likewise.
37709         * io/sys/stat.h [__USE_MISC]: Likewise.
37710         * libio/stdio.h [__USE_MISC]: Likewise.
37711         * posix/unistd.h [__USE_MISC]: Likewise.
37712         * pwd/pwd.h [__USE_MISC]: Likewise.
37713         * stdlib.h [__USE_MISC]: Likewise.
37714         * string/bits/string2.h [__USE_MISC]: Likewise.
37715         * string/string.h [__USE_MISC]: Likewise.
37716         * time/time.h [__USE_MISC]: Likewise.
37718 2014-02-13  Andreas Schwab  <schwab@suse.de>
37720         [BZ #16574]
37721         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
37722         second answer buffer if it was separately allocated.
37724 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
37726         * sysdeps/mips/math-tests.h: Include <features.h>.
37727         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
37728         (ROUNDING_TESTS_long_double): Do not define.
37729         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
37730         (EXCEPTION_TESTS_long_double): Likewise.
37731         * sysdeps/mips/mips64/libm-test-ulps: Update.
37733         * include/features.h (__USE_BSD): Remove macro definitions.
37734         (__USE_SVID): Likewise.
37735         (_BSD_SOURCE): Likewise.
37736         (_SVID_SOURCE): Likewise.
37737         [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
37738         from definition of _DEFAULT_SOURCE.
37739         [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
37740         [_DEFAULT_SOURCE].
37741         * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
37742         * bits/mman.h [__USE_BSD]: Likewise.
37743         * bits/termios.h [__USE_BSD]: Likewise.
37744         * bits/waitstatus.h [__USE_BSD]: Likewise.
37745         * ctype/ctype.h [__USE_SVID]: Likewise.
37746         * dirent/dirent.h [__USE_BSD]: Likewise.
37747         * grp/grp.h [__USE_SVID]: Likewise.
37748         [__USE_BSD]: Likewise.
37749         * inet/netinet/igmp.h [__USE_BSD]: Likewise.
37750         * io/fcntl.h [__USE_BSD]: Likewise.
37751         * io/ftw.h [__USE_BSD]: Likewise.
37752         * io/sys/stat.h [__USE_BSD]: Likewise.
37753         * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
37754         * libio/bits/stdio2.h [__USE_BSD]: Likewise.
37755         * libio/stdio.h [__USE_SVID]: Likewise.
37756         [__USE_BSD]: Likewise.
37757         * math/math.h [__USE_SVID]: Likewise.
37758         [__USE_BSD]: Likewise.
37759         * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
37760         * misc/bits/syslog.h [__USE_BSD]: Likewise.
37761         * misc/search.h [__USE_SVID]: Likewise.
37762         * misc/sys/mman.h [__USE_BSD]: Likewise.
37763         * misc/sys/syslog.h [__USE_BSD]: Likewise.
37764         * misc/sys/uio.h [__USE_BSD]: Likewise.
37765         * posix/bits/unistd.h [__USE_BSD]: Likewise.
37766         * posix/glob.h [__USE_BSD]: Likewise.
37767         * posix/regex.h [__USE_BSD]: Likewise.
37768         * posix/sys/types.h [__USE_BSD]: Likewise.
37769         [__USE_SVID]: Likewise.
37770         * posix/sys/utsname.h [__USE_SVID]: Likewise.
37771         * posix/sys/wait.h [__USE_BSD]: Likewise.
37772         [__USE_SVID]: Likewise.
37773         * posix/unistd.h [__USE_BSD]: Likewise.
37774         [__USE_SVID]: Likewise.
37775         * pwd/pwd.h [__USE_SVID]: Likewise.
37776         * resolv/netdb.h [__USE_BSD]: Likewise.
37777         * setjmp/setjmp.h [__USE_BSD]: Likewise.
37778         * signal/signal.h [__USE_BSD]: Likewise.
37779         [__USE_SVID]: Likewise.
37780         * socket/sys/socket.h [__USE_BSD]: Likewise.
37781         * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
37782         * stdlib/stdlib.h [__USE_BSD]: Likewise.
37783         [__USE_SVID]: Likewise.
37784         * string/bits/string2.h [__USE_BSD]: Likewise.
37785         [__USE_SVID]: Likewise.
37786         * string/bits/string3.h [__USE_BSD]: Likewise.
37787         * string/endian.h [__USE_BSD]: Likewise.
37788         * string/string.h [__USE_SVID]: Likewise.
37789         [__USE_BSD]: Likewise.
37790         * string/strings.h [__USE_BSD]: Likewise.
37791         * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
37792         * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
37793         * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
37794         * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
37795         * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
37796         * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
37797         Likewise.
37798         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
37799         Likewise.
37800         * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
37801         * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
37802         Likewise.
37803         * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
37804         * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
37805         Likewise.
37806         * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
37807         Likewise.
37808         * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
37809         * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
37810         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
37811         Likewise.
37812         * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
37813         Likewise.
37814         * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
37815         * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
37816         * termios/termios.h [__USE_BSD]: Likewise.
37817         * time/sys/time.h [__USE_BSD]: Likewise.
37818         * time/time.h [__USE_BSD]: Likewise.
37819         [__USE_SVID]: Likewise.
37821         * Makefile (subdir_targets): Remove subdir_lint.out.
37823         * stdio-common/Makefile (do-tst-unbputc): Remove target.
37824         (do-tst-printf): Likewise.
37825         (tests): Depend directly on $(objpfx)tst-unbputc.out and
37826         $(objpfx)tst-printf.out.
37828         * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
37830         * Makerules (check-abi-%): Change target to
37831         $(objpfx)check-abi-%.out.
37832         (check-abi target): Update dependencies.
37833         (check-abi-pattern variable): Redirect output of diff to $@.
37834         (check-abi variable): Likewise.
37835         * elf/Makefile (check-abi): Update dependencies.
37837         * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
37838         unused.
37839         (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
37840         value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
37841         subnormal range.
37842         (_FP_PACK_CANONICAL): Determine tininess based on rounding to
37843         normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
37844         value has largest subnormal exponent.
37845         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
37846         (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
37847         * sysdeps/aarch64/soft-fp/sfp-machine.h
37848         (_FP_TININESS_AFTER_ROUNDING): New macro.
37849         * sysdeps/alpha/soft-fp/sfp-machine.h
37850         (_FP_TININESS_AFTER_ROUNDING): Likewise.
37851         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
37852         Likewise.
37853         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
37854         (_FP_TININESS_AFTER_ROUNDING): Likewise.
37855         * sysdeps/mips/soft-fp/sfp-machine.h
37856         (_FP_TININESS_AFTER_ROUNDING): Likewise.
37857         * sysdeps/powerpc/soft-fp/sfp-machine.h
37858         (_FP_TININESS_AFTER_ROUNDING): Likewise.
37859         * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
37860         Likewise.
37861         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
37862         (_FP_TININESS_AFTER_ROUNDING): Likewise.
37863         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
37864         (_FP_TININESS_AFTER_ROUNDING): Likewise.
37865         * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
37866         Likewise.
37868 2014-02-12  Dylan Alex Simon  <dylan@dylex.net>
37870         [BZ #16545]
37871         * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
37872         model 1.
37874 2014-02-12  Richard Henderson  <rth@redhat.com>
37876         * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
37877         * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
37878         * sysdeps/unix/sysv/linux/alpha: Move directory from
37879         ports/sysdeps/unix/sysv/linux/alpha.
37880         * README: Update listing for alpha-*-linux-gnu.
37882 2014-02-11  Joseph Myers  <joseph@codesourcery.com>
37884         * include/features.h: Update comment documenting feature test
37885         macros.
37886         [_BSD_SOURCE || _SVID_SOURCE]: Give #warning.  Define
37887         _DEFAULT_SOURCE.
37888         * manual/creature.texi (_BSD_SOURCE): Remove documentation.
37889         (_SVID_SOURCE): Likewise.
37890         (_DEFAULT_SOURCE): Update description of default features.
37891         (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
37892         with _GNU_SOURCE.
37893         * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
37894         (S_ISVTX): Likewise.
37895         * manual/math.texi (Mathematical Constants): Likewise.
37896         * manual/signal.texi (Interrupted Primitives): Likewise.
37897         * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
37898         * math/test-matherr.c (_SVID_SOURCE): Do not define.
37899         * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
37900         Don't refer to _SVID_SOURCE in warning text.
37902         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37904         * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
37905         already defined.
37906         (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
37907         * sysdeps/mips/dl-lookup.c: Remove.
37908         * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
37910 2014-02-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
37912         [BZ #16447]
37913         * math/auto-libm-test-in: Add testcase for expl.
37914         * math/auto-libm-test-out: Regenerate.
37915         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
37916         calculation of unsafe.
37917         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
37919 2014-02-11  Marcus Shawcroft  <marcus.shawcroft@arm.com>
37921         * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
37922         * sysdeps/unix/sysv/linux/aarch64: Move directory from
37923         ports/sysdeps/unix/sysv/linux/aarch64.
37924         * README: Update listing for aarch64*-*-linux-gnu.
37926 2014-02-11  Will Newton  <will.newton@linaro.org>
37928         * manual/probes.texi (Mathematical Function Probes): Use
37929         "triggered" instead of "hit".
37931         * manual/probes.texi (Internal Probes): Add documentation
37932         of setjmp, longjmp and longjmp_target probes.
37934         * include/stap-probe.h: Add comment about probe argument
37935         format.
37937         * malloc/mtrace.c (attribute_hidden): Remove unused macro
37938         definition.  (tr_where, tr_freehook, tr_mallochook,
37939         tr_reallochook, tr_memalignhook): Use ANSI protoype.
37941 2014-02-11  David S. Miller  <davem@davemloft.net>
37943         * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
37944         processing int_tests.
37946 2014-02-10  Joseph Myers  <joseph@codesourcery.com>
37948         * sysdeps/mips: Move directory from ports/sysdeps/mips.
37949         * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
37950         * sysdeps/unix/sysv/linux/mips: Move directory from
37951         ports/sysdeps/unix/sysv/linux/mips.
37952         * README: Update listing for mips-*-linux-gnu and
37953         mips64-*-linux-gnu.
37955 2014-02-10  Andreas Schwab  <schwab@linux-m68k.org>
37957         * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
37958         * sysdeps/unix/sysv/linux/m68k: Move directory from
37959         ports/sysdeps/unix/sysv/linux/m68k.
37960         * README: Update listing for m68k-*-linux-gnu.
37962 2014-02-10  Chris Metcalf  <cmetcalf@tilera.com>
37964         * sysdeps/tile: Move directory from ports/sysdeps/tile.
37965         * sysdeps/unix/sysv/linux/generic: Move directory from
37966         ports/sysdeps/unix/sysv/linux/generic.
37967         * sysdeps/unix/sysv/linux/tile: Move directory from
37968         ports/sysdeps/unix/sysv/linux/tile.
37969         * README: Update listing for tile*-*-linux-gnu.
37971 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
37973         * assert/assert.c (__assert_fail_base): Use glibc_likely instead
37974         __builtin_expect.
37975         * benchtests/bench-memmem.c (simple_memmem): Likewise.
37976         * catgets/open_catalog.c (__open_catalog): Likewise.
37977         * csu/libc-start.c (LIBC_START_MAIN): Likewise.
37978         * debug/confstr_chk.c: Likewise.
37979         * debug/fread_chk.c (__fread_chk): Likewise.
37980         * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
37981         * debug/getgroups_chk.c: Likewise.
37982         * debug/mbsnrtowcs_chk.c: Likewise.
37983         * debug/mbsrtowcs_chk.c: Likewise.
37984         * debug/mbstowcs_chk.c: Likewise.
37985         * debug/memcpy_chk.c: Likewise.
37986         * debug/memmove_chk.c: Likewise.
37987         * debug/mempcpy_chk.c: Likewise.
37988         * debug/memset_chk.c: Likewise.
37989         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
37990         * debug/strcat_chk.c (__strcat_chk): Likewise.
37991         * debug/strcpy_chk.c (__strcpy_chk): Likewise.
37992         * debug/strncat_chk.c (__strncat_chk): Likewise.
37993         * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
37994         * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
37995         * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
37996         * debug/wcpncpy_chk.c: Likewise.
37997         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
37998         * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
37999         * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
38000         * debug/wcsncpy_chk.c: Likewise.
38001         * debug/wcsnrtombs_chk.c: Likewise.
38002         * debug/wcsrtombs_chk.c: Likewise.
38003         * debug/wcstombs_chk.c: Likewise.
38004         * debug/wmemcpy_chk.c: Likewise.
38005         * debug/wmemmove_chk.c: Likewise.
38006         * debug/wmempcpy_chk.c: Likewise.
38007         * debug/wmemset_chk.c: Likewise.
38008         * dirent/scandirat.c (SCANDIRAT): Likewise.
38009         * dlfcn/dladdr1.c (dladdr1): Likewise.
38010         * dlfcn/dladdr.c (dladdr): Likewise.
38011         * dlfcn/dlclose.c (dlclose_doit): Likewise.
38012         * dlfcn/dlerror.c (__dlerror): Likewise.
38013         * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
38014         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
38015         * dlfcn/dlopen.c (dlopen_doit): Likewise.
38016         * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
38017         * dlfcn/dlsym.c (dlsym_doit): Likewise.
38018         * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
38019         * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
38020         * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
38021         Likewise.
38022         * elf/dl-conflict.c: Likewise.
38023         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
38024         * elf/dl-dst.h: Likewise.
38025         * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
38026         * elf/dl-fptr.c (_dl_make_fptr): Likewise.
38027         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
38028         * elf/dl-init.c (call_init, _dl_init): Likewise.
38029         * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
38030         * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
38031         (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
38032         Likewise.
38033         * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
38034         Likewise.
38035         * elf/dl-minimal.c (__libc_memalign): Likewise.
38036         * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
38037         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
38038         * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
38039         * elf/dl-sym.c (do_sym): Likewise.
38040         * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
38041         (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
38042         * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
38043         * elf/dl-writev.h (_dl_writev): Likewise.
38044         * elf/ldconfig.c (search_dir): Likewise.
38045         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
38046         (dl_main): Likewise.
38047         * elf/setup-vdso.h (setup_vdso): Likewise.
38048         * grp/compat-initgroups.c (compat_call): Likewise.
38049         * grp/fgetgrent.c (fgetgrent): Likewise.
38050         * grp/initgroups.c (getgrouplist, initgroups): Likewise.
38051         * grp/putgrent.c (putgrent): Likewise.
38052         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
38053         Likewise.
38054         * hurd/hurdinit.c: Likewise.
38055         * iconvdata/8bit-gap.c (struct): Likewise.
38056         * iconvdata/ansi_x3.110.c : Likewise.
38057         * iconvdata/big5.c : Likewise.
38058         * iconvdata/big5hkscs.c : Likewise.
38059         * iconvdata/cp1255.c: Likewise.
38060         * iconvdata/cp1258.c : Likewise.
38061         * iconvdata/cp932.c : Likewise.
38062         * iconvdata/euc-cn.c: Likewise.
38063         * iconvdata/euc-jisx0213.c : Likewise.
38064         * iconvdata/euc-jp.c: Likewise.
38065         * iconvdata/euc-jp-ms.c : Likewise.
38066         * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
38067         * iconvdata/gb18030.c : Likewise.
38068         * iconvdata/gbbig5.c (const): Likewise.
38069         * iconvdata/gbgbk.c: Likewise.
38070         * iconvdata/gbk.c : Likewise.
38071         * iconvdata/ibm1364.c : Likewise.
38072         * iconvdata/ibm930.c : Likewise.
38073         * iconvdata/ibm932.c: Likewise.
38074         * iconvdata/ibm933.c : Likewise.
38075         * iconvdata/ibm935.c : Likewise.
38076         * iconvdata/ibm937.c : Likewise.
38077         * iconvdata/ibm939.c : Likewise.
38078         * iconvdata/ibm943.c: Likewise.
38079         * iconvdata/iso_11548-1.c: Likewise.
38080         * iconvdata/iso-2022-cn.c : Likewise.
38081         * iconvdata/iso-2022-cn-ext.c : Likewise.
38082         * iconvdata/iso-2022-jp-3.c: Likewise.
38083         * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
38084         * iconvdata/iso-2022-kr.c : Likewise.
38085         * iconvdata/iso646.c (gconv_end): Likewise.
38086         * iconvdata/iso_6937-2.c : Likewise.
38087         * iconvdata/iso_6937.c : Likewise.
38088         * iconvdata/iso8859-1.c: Likewise.
38089         * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
38090         * iconvdata/shift_jisx0213.c : Likewise.
38091         * iconvdata/sjis.c : Likewise.
38092         * iconvdata/t.61.c : Likewise.
38093         * iconvdata/tcvn5712-1.c : Likewise.
38094         * iconvdata/tscii.c: Likewise.
38095         * iconvdata/uhc.c : Likewise.
38096         * iconvdata/unicode.c (gconv_end): Likewise.
38097         * iconvdata/utf-16.c (gconv_end): Likewise.
38098         * iconvdata/utf-32.c (gconv_end): Likewise.
38099         * iconvdata/utf-7.c (base64): Likewise.
38100         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
38101         * iconv/gconv_close.c (__gconv_close): Likewise.
38102         * iconv/gconv_open.c (__gconv_open): Likewise.
38103         * iconv/gconv_simple.c (internal_ucs4_loop_single)
38104         (ucs4_internal_loop, ucs4_internal_loop_unaligned)
38105         (ucs4_internal_loop_single, internal_ucs4le_loop_single)
38106         (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
38107         (ucs4le_internal_loop_single): Likewise.
38108         * iconv/iconv.c (iconv): Likewise.
38109         * iconv/iconv_close.c: Likewise.
38110         * iconv/loop.c (SINGLE): Likewise.
38111         * iconv/skeleton.c (FUNCTION_NAME): Likewise.
38112         * include/atomic.h: Likewise.
38113         * inet/inet6_option.c (option_alloc): Likewise.
38114         * intl/bindtextdom.c (set_binding_values): Likewise.
38115         * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
38116         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
38117         * intl/localealias.c (read_alias_file): Likewise.
38118         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
38119         * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
38120         (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
38121         * libio/fmemopen.c (fmemopen): Likewise.
38122         * libio/iofgets.c (_IO_fgets): Likewise.
38123         * libio/iofgets_u.c (fgets_unlocked): Likewise.
38124         * libio/iofgetws.c (fgetws): Likewise.
38125         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
38126         * libio/iogetdelim.c (_IO_getdelim): Likewise.
38127         * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
38128         (adjust_wide_data, _IO_wfile_seekoff): Likewise.
38129         * locale/findlocale.c (_nl_find_locale): Likewise.
38130         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
38131         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
38132         Likewise.
38133         * locale/setlocale.c (setlocale): Likewise.
38134         * login/programs/pt_chown.c (main): Likewise.
38135         * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
38136         * malloc/malloc.c (_int_malloc, _int_free): Likewise.
38137         * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
38138         (mmap, mmap64, mremap, munmap): Likewise.
38139         * math/e_exp2l.c: Likewise.
38140         * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
38141         * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
38142         * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
38143         * math/s_catan.c (__catan): Likewise.
38144         * math/s_catanf.c (__catanf): Likewise.
38145         * math/s_catanh.c (__catanh): Likewise.
38146         * math/s_catanhf.c (__catanhf): Likewise.
38147         * math/s_catanhl.c (__catanhl): Likewise.
38148         * math/s_catanl.c (__catanl): Likewise.
38149         * math/s_ccosh.c (__ccosh): Likewise.
38150         * math/s_ccoshf.c (__ccoshf): Likewise.
38151         * math/s_ccoshl.c (__ccoshl): Likewise.
38152         * math/s_cexp.c (__cexp): Likewise.
38153         * math/s_cexpf.c (__cexpf): Likewise.
38154         * math/s_cexpl.c (__cexpl): Likewise.
38155         * math/s_clog10.c (__clog10): Likewise.
38156         * math/s_clog10f.c (__clog10f): Likewise.
38157         * math/s_clog10l.c (__clog10l): Likewise.
38158         * math/s_clog.c (__clog): Likewise.
38159         * math/s_clogf.c (__clogf): Likewise.
38160         * math/s_clogl.c (__clogl): Likewise.
38161         * math/s_csin.c (__csin): Likewise.
38162         * math/s_csinf.c (__csinf): Likewise.
38163         * math/s_csinh.c (__csinh): Likewise.
38164         * math/s_csinhf.c (__csinhf): Likewise.
38165         * math/s_csinhl.c (__csinhl): Likewise.
38166         * math/s_csinl.c (__csinl): Likewise.
38167         * math/s_csqrt.c (__csqrt): Likewise.
38168         * math/s_csqrtf.c (__csqrtf): Likewise.
38169         * math/s_csqrtl.c (__csqrtl): Likewise.
38170         * math/s_ctan.c (__ctan): Likewise.
38171         * math/s_ctanf.c (__ctanf): Likewise.
38172         * math/s_ctanh.c (__ctanh): Likewise.
38173         * math/s_ctanhf.c (__ctanhf): Likewise.
38174         * math/s_ctanhl.c (__ctanhl): Likewise.
38175         * math/s_ctanl.c (__ctanl): Likewise.
38176         * math/w_pow.c: Likewise.
38177         * math/w_powf.c: Likewise.
38178         * math/w_powl.c: Likewise.
38179         * math/w_scalb.c (sysv_scalb): Likewise.
38180         * math/w_scalbf.c (sysv_scalbf): Likewise.
38181         * math/w_scalbl.c (sysv_scalbl): Likewise.
38182         * misc/error.c (error_tail): Likewise.
38183         * misc/pselect.c (__pselect): Likewise.
38184         * nis/nis_callback.c (__nis_create_callback): Likewise.
38185         * nis/nis_call.c (__nisfind_server): Likewise.
38186         * nis/nis_creategroup.c (nis_creategroup): Likewise.
38187         * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
38188         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
38189         * nis/nis_getservlist.c (nis_getservlist): Likewise.
38190         * nis/nis_lookup.c (nis_lookup): Likewise.
38191         * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
38192         * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
38193         (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
38194         * nis/nis_xdr.c (xdr_endpoint): Likewise.
38195         * nis/nss_compat/compat-grp.c (getgrent_next_file)
38196         (internal_getgrnam_r, internal_getgrgid_r): Likewise.
38197         * nis/nss_compat/compat-initgroups.c (add_group)
38198         (internal_getgrent_r): Likewise.
38199         * nis/nss_compat/compat-pwd.c (getpwent_next_file)
38200         (internal_getpwnam_r, internal_getpwuid_r): Likewise.
38201         * nis/nss_compat/compat-spwd.c (getspent_next_file)
38202         (internal_getspnam_r): Likewise.
38203         * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
38204         (_nss_nis_getaliasbyname_r): Likewise.
38205         * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
38206         (_nss_nis_getntohost_r): Likewise.
38207         * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
38208         (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
38209         (_nss_nis_getgrgid_r): Likewise.
38210         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
38211         (internal_nis_gethostent_r, internal_gethostbyname2_r)
38212         (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
38213         (_nss_nis_gethostbyname4_r): Likewise.
38214         * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
38215         (initgroups_netid): Likewise.
38216         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
38217         * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
38218         (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
38219         * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
38220         (_nss_nis_getprotobynumber_r): Likewise.
38221         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
38222         (_nss_nis_getsecretkey): Likewise.
38223         * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
38224         (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
38225         (_nss_nis_getpwuid_r): Likewise.
38226         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
38227         (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
38228         * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
38229         (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
38230         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
38231         (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
38232         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
38233         Likewise.
38234         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
38235         (_nss_nisplus_getntohost_r): Likewise.
38236         * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
38237         (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
38238         * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
38239         (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
38240         Likewise.
38241         * nis/nss_nisplus/nisplus-initgroups.c
38242         (_nss_nisplus_initgroups_dyn): Likewise.
38243         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
38244         (_nss_nisplus_getnetbyaddr_r): Likewise.
38245         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
38246         (_nss_nisplus_getprotobynumber_r): Likewise.
38247         * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
38248         (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
38249         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
38250         Likewise.
38251         * nis/nss_nisplus/nisplus-service.c
38252         (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
38253         (_nss_nisplus_getservbyport_r): Likewise.
38254         * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
38255         (_nss_nisplus_getspnam_r): Likewise.
38256         * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
38257         Likewise.
38258         * nscd/aicache.c (addhstaiX): Likewise.
38259         * nscd/cache.c (cache_search, prune_cache): Likewise.
38260         * nscd/connections.c (register_traced_file, send_ro_fd)
38261         (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
38262         (main_loop_epoll): Likewise.
38263         * nscd/grpcache.c (addgrbyX): Likewise.
38264         * nscd/hstcache.c (addhstbyX): Likewise.
38265         * nscd/initgrcache.c (addinitgroupsX): Likewise.
38266         * nscd/mem.c (gc, mempool_alloc): Likewise.
38267         * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
38268         (addinnetgrX): Likewise.
38269         * nscd/nscd-client.h (__nscd_acquire_maplock)
38270         (__nscd_drop_map_ref): Likewise.
38271         * nscd/nscd_getai.c (__nscd_getai): Likewise.
38272         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
38273         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
38274         Likewise.
38275         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
38276         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
38277         * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
38278         (__nscd_get_map_ref): Likewise.
38279         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
38280         * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
38281         Likewise.
38282         * nscd/pwdcache.c (addpwbyX): Likewise.
38283         * nscd/selinux.c (preserve_capabilities): Likewise.
38284         * nscd/servicescache.c (addservbyX): Likewise.
38285         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
38286         * posix/fnmatch.c (fnmatch): Likewise.
38287         * posix/getopt.c (_getopt_internal_r): Likewise.
38288         * posix/glob.c (glob, glob_in_dir): Likewise.
38289         * posix/wordexp.c (exec_comm_child): Likewise.
38290         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
38291         (getanswer_r, gaih_getanswer_slice): Likewise.
38292         * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
38293         * resolv/res_init.c: Likewise.
38294         * resolv/res_mkquery.c (res_nmkquery): Likewise.
38295         * resolv/res_query.c (__libc_res_nquery): Likewise.
38296         * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
38297         Likewise.
38298         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
38299         * stdio-common/perror.c (perror): Likewise.
38300         * stdio-common/printf_fp.c (___printf_fp): Likewise.
38301         * stdio-common/tmpnam.c (tmpnam): Likewise.
38302         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
38303         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
38304         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
38305         Likewise.
38306         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
38307         * stdlib/putenv.c (putenv): Likewise.
38308         * stdlib/setenv.c (__add_to_environ): Likewise.
38309         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
38310         * stdlib/strtol_l.c (INTERNAL): Likewise.
38311         * string/memmem.c (memmem): Likewise.
38312         * string/strerror.c (strerror): Likewise.
38313         * string/strnlen.c (__strnlen): Likewise.
38314         * string/test-memmem.c (simple_memmem): Likewise.
38315         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
38316         * sunrpc/pm_getport.c (__get_socket): Likewise.
38317         * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
38318         * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
38319         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
38320         (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
38321         Likewise.
38322         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
38323         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
38324         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
38325         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
38326         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
38327         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
38328         Likewise.
38329         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
38330         Likewise.
38331         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
38332         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
38333         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
38334         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
38335         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
38336         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
38337         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
38338         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
38339         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
38340         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
38341         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
38342         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
38343         Likewise.
38344         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
38345         Likewise.
38346         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
38347         Likewise.
38348         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
38349         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
38350         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
38351         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
38352         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
38353         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
38354         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
38355         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
38356         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
38357         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
38358         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
38359         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
38360         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
38361         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
38362         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
38363         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
38364         Likewise.
38365         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
38366         Likewise.
38367         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
38368         Likewise.
38369         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
38370         Likewise.
38371         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
38372         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
38373         * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
38374         Likewise.
38375         * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
38376         * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
38377         * sysdeps/posix/opendir.c (__opendirat): Likewise.
38378         * sysdeps/posix/sleep.c: Likewise.
38379         * sysdeps/posix/tempname.c: Likewise.
38380         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
38381         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
38382         Likewise.
38383         * sysdeps/powerpc/powerpc32/dl-machine.h
38384         (elf_machine_runtime_setup, elf_machine_rela): Likewise.
38385         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
38386         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
38387         * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
38388         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
38389         Likewise.
38390         * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
38391         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
38392         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
38393         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
38394         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
38395         * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
38396         * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
38397         * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
38398         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
38399         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
38400         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
38401         (elf_machine_lazy_rel): Likewise.
38402         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
38403         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
38404         (elf_machine_lazy_rel): Likewise.
38405         * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
38406         * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
38407         * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
38408         * sysdeps/unix/grantpt.c (grantpt): Likewise.
38409         * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
38410         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
38411         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
38412         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
38413         Likewise.
38414         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
38415         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
38416         * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
38417         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
38418         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
38419         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
38420         * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
38421         * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
38422         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
38423         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
38424         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
38425         Likewise.
38426         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
38427         (__posix_fallocate64_l64): Likewise.
38428         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
38429         (posix_fallocate): Likewise.
38430         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
38431         Likewise.
38432         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
38433         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
38434         (getifaddrs_internal): Likewise.
38435         * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
38436         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
38437         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
38438         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
38439         * sysdeps/unix/sysv/linux/posix_fallocate64.c
38440         (__posix_fallocate64_l64): Likewise.
38441         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
38442         Likewise.
38443         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
38444         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
38445         (__get_clockfreq): Likewise.
38446         * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
38447         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
38448         * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
38449         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
38450         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
38451         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
38452         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
38453         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
38454         Likewise.
38455         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
38456         * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
38457         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
38458         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
38459         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
38460         * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
38461         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
38462         Likewise.
38463         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
38464         (posix_fallocate): Likewise.
38465         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
38466         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
38467         * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
38468         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
38469         (elf_machine_rela, elf_machine_rela_relative)
38470         (elf_machine_lazy_rel): Likewise.
38471         * time/asctime.c (asctime_internal): Likewise.
38472         * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
38473         * time/tzset.c (__tzset_parse_tz): Likewise.
38474         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
38475         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
38476         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
38477         * wcsmbs/wcsmbsload.h: Likewise.
38479         [BZ #15894]
38480         * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
38482         * malloc/arena.c (grow_heap, get_free_list, reused_arena)
38483         (arena_get2): Remove THREAD_STATS conditionals.
38484         * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
38485         (__malloc_stats, int): Likewise.
38487 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
38489         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
38490         f.f_type to RAMFS_MAGIC too.  Compare mp->mnt_type to shm too.
38492         * manual/setjmp.texi: Fix typos/grammar errors.
38494         * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
38495         Only return early when n is <= 0.  Delete unused return statement.
38497         * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
38498         (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
38499         * debug/tst-longjmp_chk3.c: New file.
38501         * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
38502         (test_main): Replace code with set_fortify_handler call.
38503         * debug/test-strcpy_chk.c: Likewise.
38504         * debug/tst-chk1.c: Likewise.
38505         * debug/tst-longjmp_chk.c: Likewise.
38506         * test-skeleton.c: Include fcntl.h & paths.h
38507         (set_fortify_handler): Define.
38509         * debug/tst-longjmp_chk.c: Add header comment and include
38510         ../test-skeleton.c.
38511         (do_test): Mark static.
38512         (TEST_FUNCTION): Define.
38514         * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
38515         (IP_PMTUDISC_INTERFACE): Likewise.
38516         (IP_MULTICAST_IF): Likewise.
38517         (IP_MULTICAST_TTL): Likewise.
38518         (IP_MULTICAST_LOOP): Likewise.
38519         (IP_ADD_MEMBERSHIP): Likewise.
38520         (IP_DROP_MEMBERSHIP): Likewise.
38521         (IP_UNBLOCK_SOURCE): Likewise.
38522         (IP_BLOCK_SOURCE): Likewise.
38523         (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
38524         (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
38525         (IP_MSFILTER): Likewise.
38526         (MCAST_JOIN_GROUP): Likewise.
38527         (MCAST_BLOCK_SOURCE): Likewise.
38528         (MCAST_UNBLOCK_SOURCE): Likewise.
38529         (MCAST_LEAVE_GROUP): Likewise.
38530         (MCAST_JOIN_SOURCE_GROUP): Likewise.
38531         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
38532         (MCAST_MSFILTER): Likewise.
38533         (IP_MULTICAST_ALL): Likewise.
38534         (IP_UNICAST_IF): Likewise.
38536         * timezone/Makefile: Delete $(have-ksh) check.
38537         ($(objpfx)tzselect): Change $(KSH) to $(BASH).
38538         * timezone/tzselect.ksh: Add +x mode bits.
38540         * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
38541         (ANON_INODE_FS_MAGIC): Likewise.
38542         (BDEVFS_MAGIC): Likewise.
38543         (BINFMTFS_MAGIC): Likewise.
38544         (BTRFS_TEST_MAGIC): Likewise.
38545         (CRAMFS_MAGIC_WEND): Likewise.
38546         (DEBUGFS_MAGIC): Likewise.
38547         (ECRYPTFS_SUPER_MAGIC): Likewise.
38548         (EXT3_SUPER_MAGIC): Likewise.
38549         (EXT4_SUPER_MAGIC): Likewise.
38550         (FUTEXFS_SUPER_MAGIC): Likewise.
38551         (HOSTFS_SUPER_MAGIC): Likewise.
38552         (HUGETLBFS_MAGIC): Likewise.
38553         (MINIX3_SUPER_MAGIC): Likewise.
38554         (MTD_INODE_FS_MAGIC): Likewise.
38555         (NILFS_SUPER_MAGIC): Likewise.
38556         (OPENPROM_SUPER_MAGIC): Likewise.
38557         (PIPEFS_MAGIC): Likewise.
38558         (PSTOREFS_MAGIC): Likewise.
38559         (QNX6_SUPER_MAGIC): Likewise.
38560         (RAMFS_MAGIC): Likewise.
38561         (REISERFS_SUPER_MAGIC_STRING): Likewise.
38562         (REISER2FS_SUPER_MAGIC_STRING): Likewise.
38563         (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
38564         (SECURITYFS_MAGIC): Likewise.
38565         (SELINUX_MAGIC): Likewise.
38566         (SMACK_MAGIC): Likewise.
38567         (SOCKFS_MAGIC): Likewise.
38568         (SQUASHFS_MAGIC): Likewise.
38569         (STACK_END_MAGIC): Likewise.
38570         (TMPFS_MAGIC): Likewise.
38571         (USBDEVICE_SUPER_MAGIC): Likewise.
38572         (V9FS_MAGIC): Likewise.
38573         (XENFS_SUPER_MAGIC): Likewise.
38574         (CRAMFS_MAGIC): Fix typo in comment.
38575         (EXT2_SUPER_MAGIC): Update comment.
38576         (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
38578 2014-02-08  Joseph Myers  <joseph@codesourcery.com>
38580         * sysdeps/arm: Move directory from ports/sysdeps/arm.
38581         * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
38582         * sysdeps/unix/sysv/linux/arm: Move directory from
38583         ports/sysdeps/unix/sysv/linux/arm.
38584         * README: Update listing for arm-*-linux-gnueabi.
38586         * README: Remove mention of am33.
38588 2014-02-07  Roland McGrath  <roland@hack.frob.com>
38590         * bits/sigset.h (__sigemptyset): Use a statement expression rather
38591         than the comma operator, to avoid "rhs of comma has no effect"
38592         compiler warnings.
38593         (__sigfillset, __sigandset, __sigorset): Likewise.
38594         * include/signal.h (__sigemptyset): Likewise.
38595         * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
38597 2014-02-07  Allan McRae  <allan@archlinux.org>
38599         * version.h (RELEASE): Set to "development".
38600         (VERSION): Set to "2.19.90"
38601         * NEWS: Add 2.20 section.
38603 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
38605         [BZ #16529]
38606         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
38608 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
38610         * manual/contrib.texi: Update entry for Carlos O'Donell,
38611         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
38613 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
38615         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
38617         * sysdeps/unix/sysv/linux/kernel-features.h
38618         [__LINUX_KERNEL_VERSION >= 0x020621]
38619         (__ASSUME_PROC_PID_TASK_COMM): Define.
38621 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
38623         [BZ #16398]
38624         * libio/wfileops.c (_IO_wfile_seekoff): Break out form
38625         conversion when destination buffer does not have enough space.
38626         * libio/tst-ftell-partial-wide.c: New test case.
38627         * libio/Makefile (tests): Add tst-ftell-partial-wide.
38629         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
38630         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
38631         Leonard and Allan McRae.
38633 2014-02-04  David S. Miller  <davem@davemloft.net>
38635         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
38636         32-bit.
38638 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38640         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
38641         New file
38642         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
38643         New file
38644         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
38645         New file.
38646         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
38647         New file.
38648         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
38649         New file.
38650         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
38651         New file.
38652         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
38653         New file.
38654         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
38655         New file.
38656         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
38657         New file.
38658         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
38659         New file.
38660         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
38661         New file.
38662         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
38663         New file.
38664         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
38665         New file.
38667 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38669         * nptl/shlib-versions: Change powerpc*le start to 2.17.
38670         * shlib-versions: Likewise.
38672 2014-02-04  Roland McGrath  <roland@hack.frob.com>
38673             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38675         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
38676         (abilist-pattern): New variable, set to %-le.abilist.
38678         * Makerules (abilist-pattern): New variable.
38679         (vpath): Use $(abilist-pattern) in place of %.abilist.
38680         (check-abi-% pattern rule): Likewise.
38681         (check-abi, update-abi): Likewise.
38683 2014-02-04  Eric Wong  <normalperson@yhbt.net>
38685         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
38687 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
38689         * manual/startup.texi: Add next, previous, and top entries for
38690         the `Program Arguments' and `Environment Variables' nodes.
38692 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
38694         * manual/macros.texi: Add comments before MTASC-safety macros.
38696         * manual/users.texi: Document MTASC-safety properties.
38698         * manual/threads.texi (pthread_key_create, pthread_key_delete)
38699         (pthread_getspecific, pthread_setspecific): Format with
38700         @deftypefun, and add @safety note.
38701         * manual/signal.texi: Move comments that analyze the above
38702         functions to their home place.
38704 2014-02-03  Allan McRae  <allan@archlinux.org>
38706         * po/sl.po: Update Slovenian translation from translation project.
38708 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
38710         * manual/time.texi (timegm): Add missing blank after @c.
38711         Reported by Joseph Myers <joseph@codesourcery.com>.
38713 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
38715         * manual/check-safety.sh: New.
38716         * manual/Makefile ($(objpfx)stamp-summary): Run it.
38718         * manual/terminal.texi: Document MTASC-safety properties.
38720         * manual/filesys.texi: Document MTASC-safety properties.
38722         * manual/errno.texi: Document MTASC-safety properties.
38724         * manual/intro.texi: Document safety identifiers and
38725         conditionals.
38727         * manual/string.texi (wcstok): Fix prototype.
38728         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
38730         * manual/time.texi: Document MTASC-safety properties.
38732         * manual/string.texi: Document MTASC-safety properties.
38734         * manual/threads.texi: Document MTASC-safety properties.
38736         * manual/stdio.texi: Document MTASC-safety properties.
38738         * manual/syslog.texi: Document MTASC-safety properties.
38740         * manual/sysinfo.texi: Document MTASC-safety properties.
38742         * manual/startup.texi: Document MTASC-safety properties.
38744         * manual/socket.texi: Document MTASC-safety properties.
38746         * manual/signal.texi: Document MTASC-safety properties.
38748 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
38750         * manual/setjmp.texi: Document MTASC-safety properties.
38752         * manual/search.texi: Document MTASC-safety properties.
38754         * manual/resource.texi: Document MTASC-safety properties.
38756         * manual/process.texi: Document MTASC-safety properties.
38758         * manual/platform.texi: Document MTASC-safety properties.
38760         * manual/pipe.texi: Document MTASC-safety properties.
38762         * manual/pattern.texi: Document MTASC-safety properties.
38764         * manual/message.texi: Document MTASC-safety properties.
38766         [BZ #12751]
38767         * manual/memory.texi: Document MTASC-safety properties.
38769         * manual/math.texi: Document MTASC-safety properties.
38771         * manual/locale.texi: Document MTASC-safety properties.
38773         * manual/llio.texi: Document MTASC-safety properties.
38775         * manual/libdl.texi: New.
38777         * manual/lang.texi: Document MTASC-safety properties.
38779         * manual/job.texi: Document MTASC-safety properties.
38781         * manual/getopt.texi: Document MTASC-safety properties.
38783         * manual/ctype.texi: Document MTASC-safety properties.
38785 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
38787         [BZ #16046]
38788         * csu/libc-tls.c (static_map): Remove variable.
38789         (__libc_setup_tls): Use main executable's link map for TLS data.
38790         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
38791         casing for LM_ID_BASE and GL(dl_nns).
38792         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
38793         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
38794         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
38795         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
38796         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
38797         member.
38798         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
38799         l_phnum members.
38801 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
38803         * manual/debug.texi: Document MTASC-safety properties.
38805 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
38807         [BZ #16510]
38808         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
38809         of __x86_64__ when disabling x87 inline functions.
38811 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
38813         * manual/charset.texi: Document MTASC-safety properties.
38815         * manual/crypt.texi: Document MTASC-safety properties.
38817         * manual/conf.texi: Document MTASC-safety properties.
38819         * manual/arith.texi: Document MTASC-safety properties.
38821         * manual/argp.texi: Document MTASC-safety properties.
38823         * manual/macros.texi: Introduce macros to document multi
38824         thread, asynchronous signal and asynchronous cancellation
38825         safety properties.
38826         * manual/intro.texi: Introduce the properties themselves.
38828 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
38830         * sysdeps/sh/sh4/Makefile: New file.
38832 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
38834         * math/gen-libm-test.pl ($srcdir): New variable.
38835         ($auto_input): Use it.
38837 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
38839         [BZ #16506]
38840         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
38841         access beyond array bounds when parsing netgroups file.
38843         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
38844         the old buffer before realloc.
38846 2014-01-27  Allan McRae  <allan@archlinux.org>
38848         * po/fr.po: Update French translation from translation project.
38850 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
38852         * sysdeps/sh/libm-test-ulps: Regenerate.
38854 2014-01-24  David S. Miller  <davem@davemloft.net>
38856         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
38858 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
38860         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
38861         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
38863 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
38865         [BZ #16474]
38866         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
38867         string pointers after reallocation.
38869 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
38871         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
38872         __SH4A__ instead of __SH_FPU_ANY__.
38874 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
38876         * sysdeps/sh/fpu_control.h: New file.
38877         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
38878         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
38879         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
38880         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
38881         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
38882         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
38883         * sysdeps/sh/sys/ucontext.h: Remove.
38884         * sysdeps/sh/sys: Remove directory.
38886 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
38888         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
38889         s390/sys/ucontext.h.
38890         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
38891         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
38893 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
38895         [BZ #15605]
38896         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
38898 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38900         [BZ#16431]
38901         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
38902         Adjust the vDSO correctly for internal calls.
38903         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
38905 2014-01-20  Allan McRae  <allan@archlinux.org>
38907         * po/ca.po: Update Catalan translation from translation project.
38909 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
38911         * sysdeps/s390/sotruss-lib.c: New file.
38913 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38915         [BZ#16430]
38916         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
38917         (__GI___gettimeofday): Alias for a different internal symbol to avoid
38918         local calls issues by not having a PLT stub required for IFUNC calls.
38919         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
38921 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
38923         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
38924         * math/test-fpucw-static.c: Likewise.
38926 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
38928         [BZ #16453]
38929         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
38931 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38933         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
38934         implementation for powerpc.
38936 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
38938         [BZ #14782]
38939         * sysdeps/posix/system.c (__libc_system): Do not enable
38940         asynchronous cancellation.
38942 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
38944         [BZ #16427]
38945         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
38946         handling only for numbers special also in the IEEE case.
38948 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
38950         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
38952 2014-01-11  Allan McRae  <allan@archlinux.org>
38954         * po/bg.po: Update Bulgarian translation from translation project.
38956         * po/de.po: Update German translation from translation project.
38958 2014-01-10  Roland McGrath  <roland@hack.frob.com>
38960         * sysdeps/generic/gcc-compat.h: New file.
38962 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
38964         * benchtests/asin-inputs: Correct slow inputs.
38965         * benchtests/acos-inputs: Likewise.
38967 2014-01-10  Allan McRae  <allan@archlinux.org>
38969         * po:sv.po: Update Swedish translation from translation project.
38971         * po/vi.po: Update Vietnamese translation from translation project.
38973         * po/eo.po: Update Esperanto translation from translation project.
38975         * po/cs.po: Update Czech translation from translation project.
38977         * po/nl.po: Update Dutch translation from translation project.
38979         * po/pl.po: Update Polish translation from translation project.
38981         * po/ru.po: Update Russian translation from translation project.
38983         * po/uk.po: Update Ukrainian translation from translation project.
38985 2014-01-08  Brooks Moses  <bmoses@google.com>
38987         * elf/dl-load.c: Fix comment typo.
38989 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
38991         * po/header.pot: Rename to...
38992         * po/pot.header: ... this.
38993         * po/Makefile: Use pot.header.
38995 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
38996             Maxim Kuvyrkov  <maxim@kugelworks.com>
38998         [BZ #16394]
38999         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
39000         SRC and DEST against LEN.
39002 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39004         [BZ #16414]
39005         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
39006         implementation.
39007         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
39009 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39011         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39013 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
39015         [BZ #16408]
39016         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
39017         for large positive arguments.
39019 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
39021         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
39023         * math/auto-libm-test-in: Mark various tests with
39024         xfail-rounding:ldbl-128ibm.
39025         * math/auto-libm-test-out: Regenerated.
39027         [BZ #16407]
39028         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
39029         Increase overflow threshold.
39031 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
39033         [BZ #14286]
39034         * stdio-common/vfprintf.c: Check for integer overflow.
39036 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
39038         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
39039         the first argument and return value of __tls_get_addr_internal.
39041 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
39043         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
39044         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
39046 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
39048         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
39049         * sysdeps/s390/rtld-global-offsets.sym: New file.
39050         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
39051         GLIBC_2.19 symbol.
39052         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
39053         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
39054         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
39055         ... this.
39056         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
39057         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
39058         ... this.
39059         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
39060         Regenerate.
39061         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
39062         Regenerate.
39063         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
39064         halfs of GPRs for high_gprs contexts.
39065         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
39066         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
39067         field.
39068         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
39069         uc_flags field.
39070         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
39071         64 bit versions:
39072         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
39073         for high GPRs (uc_high_gprs) and for future extensions
39074         (__reserved).
39075         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
39076         for future extensions (__reserved).
39077         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
39078         64 bit versions:
39079         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
39080         SC_HIGHGPRS offset definition.
39081         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
39082         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
39084         * Versions.def: Add GLIBC_2.19 for libpthread.
39085         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
39086         siglongjmp for libpthread with GLIBC_2.19 symver.
39087         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
39088         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
39089         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
39090         * sysdeps/s390/__longjmp.c: New file.
39091         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
39092         * sysdeps/s390/longjmp.c: New file.
39093         * sysdeps/s390/setjmp.S: New file.
39094         * sysdeps/s390/sigjmp.S: New file.
39095         * sysdeps/s390/v1-longjmp.c: New file.
39096         * sysdeps/s390/v1-setjmp.h: New file.
39097         * sysdeps/s390/v1-sigjmp.c: New file.
39098         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
39099         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
39100         GLIBC_2.19 version.
39101         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
39102         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
39103         versioned symbols for ____longjmp_chk.
39104         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
39105         Likewise.
39106         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
39107         Regenerate.
39108         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
39109         Regenerate.
39110         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
39111         Regenerate.
39112         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
39113         Regenerate.
39114         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
39115         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
39116         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
39117         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
39118         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
39119         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
39120         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
39121         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
39122         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
39123         * sysdeps/s390/rtld-__longjmp.c: New file.
39124         * sysdeps/s390/rtld-setjmp.S: New file.
39126 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
39128         [BZ #16400]
39129         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
39130         Return -__logl (x) for small positive arguments without evaluating
39131         a polynomial.
39133 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
39135         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
39136         Rename to ...
39137         (__ptrace_peeksiginfo_args): ... this.
39138         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
39139         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
39140         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
39142 2014-01-06  Allan McRae  <allan@archlinux.org>
39144         * inet/netinet/in.h: Fix typo in comment.
39146 2014-01-05  Andreas Jaeger  <aj@suse.de>
39148         * sysdeps/i386/fpu/libm-test-ulps: Update.
39150 2014-01-05  Allan McRae  <allan@archlinux.org>
39152         * po/libc.pot: Regenerated.
39154         * malloc/memusagestat.c: Fix gettext call formatting.
39156 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
39158         * nscd/nscd.c: Improve usage() output.
39160 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
39162         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
39163         * sysdeps/unix/sysv/linux/configure: Regenerated.
39164         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
39165         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
39167 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
39169         [BZ #16390]
39170         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
39171         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
39173 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39175         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
39176         extra tokens at end of #undef directive.
39177         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
39178         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
39179         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
39181 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
39183         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
39185         * math/auto-libm-test-in: Mark various tests with
39186         xfail-rounding:ldbl-128ibm.
39187         * math/auto-libm-test-out: Regenerated.
39189 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
39191         [BZ #16386]
39192         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
39193         numbers with subnormal high part when calculating exponent.
39195         [BZ #16385]
39196         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
39197         fabs.
39199         [BZ #16384]
39200         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
39201         M_LN2l.
39202         (__ieee754_acoshl): Use __log1pl not __log1p.
39204 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
39206         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
39207         (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
39208         (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
39209         (grow_heap, heap_trim, _int_new_arena, get_free_list)
39210         (reused_arena, arena_get2): Convert to GNU style.
39211         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
39212         (mem2mem_check, mem2chunk_check, top_check, realloc_check)
39213         (memalign_check, __malloc_set_state): Likewise.
39214         * malloc/mallocbug.c (main): Likewise.
39215         * malloc/malloc.c (__malloc_assert, malloc_init_state)
39216         (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
39217         (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
39218         (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
39219         (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
39220         (__posix_memalign, malloc_info): Likewise.
39221         * malloc/malloc.h: Likewise.
39222         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
39223         (mallochook, memalignhook, reallochook, mabort): Likewise.
39224         * malloc/mcheck.h: Likewise.
39225         * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
39226         (free, mmap, mmap64, mremap, munmap, dest): Likewise.
39227         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
39228         * malloc/morecore.c (__default_morecore): Likewise.
39229         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
39230         * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
39231         (_obstack_allocated_p, obstack_free, _obstack_memory_used)
39232         (print_and_abort): Likewise.
39233         * malloc/obstack.h: Likewise.
39234         * malloc/set-freeres.c (__libc_freeres): Likewise.
39235         * malloc/tst-mallocstate.c (main): Likewise.
39236         * malloc/tst-mtrace.c (main): Likewise.
39237         * malloc/tst-realloc.c (do_test): Likewise.
39239 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
39241         [BZ #16366]
39242         * nscd/netgroupcache.c (do_notfound): New function.
39243         (addgetnetgrentX): Use it.
39245         [BZ # 16365]
39246         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
39247         NSS_STATUS_NOTFOUND.
39249 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
39251         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
39252         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39254 2014-01-01  Allan McRae  <allan@archlinux.org>
39256         * scripts/update-copyrights: Update configure input file suffix.
39258         * NEWS: Update copyright year.
39259         * catgets/gencat.c: Likewise.
39260         * csu/version.c: Likewise.
39261         * debug/catchsegv.sh: Likewise.
39262         * debug/pcprofiledump.c: Likewise.
39263         * debug/xtrace.sh: Likewise.
39264         * elf/ldconfig.c: Likewise.
39265         * elf/ldd.bash.in: Likewise.
39266         * elf/pldd.c: Likewise.
39267         * elf/sotruss.ksh: Likewise.
39268         * elf/sprof.c: Likewise.
39269         * iconv/iconv_prog.c: Likewise.
39270         * iconv/iconvconfig.c: Likewise.
39271         * locale/programs/locale.c: Likewise.
39272         * locale/programs/localedef.c: Likewise.
39273         * login/programs/pt_chown.c: Likewise.
39274         * malloc/memusage.sh: Likewise.
39275         * malloc/memusagestat.c: Likewise.
39276         * malloc/mtrace.pl: Likewise.
39277         * manual/libc.texinfo: Likewise.
39278         * nscd/nscd.c: Likewise.
39279         * nss/getent.c: Likewise.
39280         * nss/makedb.c: Likewise.
39281         * posix/getconf.c: Likewise.
39282         * scripts/test-installation.pl: Likewise.
39284         * All files with FSF copyright notices: Update copyright dates
39285         using scripts/update-copyrights.
39286         * intl/plural.c: Regenerated.
39287         * locale/programs/charmap-kw.h: Likewise.
39288         * locale/programs/locfile-kw.h: Likewise.
39290 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
39292         * sysdeps/unix/sysv/linux/configure: Regenerated.
39293         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
39294         the linux/fanotify.h header.
39295         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
39296         HAVE_LINUX_FANOTIFY_H is defined.
39298 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
39300         * benchtests/cos-inputs: New inputs.
39301         * benchtests/sin-inputs: Likewise.
39303         * benchtests/atan-inputs: New inputs. Fix name of multiple
39304         precision fallback inputs.
39306         * benchtests/atanh-inputs: New inputs.
39307         * benchtests/tanh-inputs: Likewise.
39309         * benchtests/acosh-inputs: New inputs.
39310         * benchtests/asinh-inputs: Likewise.
39312         * benchtests/cosh-inputs: New inputs.
39313         * benchtests/sinh-inputs: Likewise.
39315         * benchtests/acos-inputs: Add more inputs.
39316         * benchtests/asin-inputs: Likewise.
39318 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
39320         [BZ #16375]
39321         * manual/arith.texi: Fix spelling.
39322         * manual/charset.texi: Likewise.
39323         * manual/errno.texi: Likewise.
39324         * manual/filesys.texi: Likewise.
39325         * manual/lang.texi: Likewise.
39326         * manual/llio.texi: Likewise.
39327         * manual/locale.texi: Likewise.
39328         * manual/message.texi: Likewise.
39329         * manual/resource.texi: Likewise.
39330         * manual/search.texi: Likewise.
39331         * manual/setjmp.texi: Likewise.
39332         * manual/stdio.texi: Likewise.
39333         * manual/string.texi: Likewise.
39334         * manual/sysinfo.texi: Likewise.
39335         * manual/time.texi: Likewise.
39337 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
39339         * po/sl.po: New file.
39341 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
39343         * .gitignore: Add core/.gdbinit/.gdb_history.
39345 2013-12-27  Allan McRae  <allan@archlinux.org>
39347         [BZ #16369]
39348         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
39349         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
39351 2013-12-24  Brooks Moses  <bmoses@google.com>
39353         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
39354         all compilers that claim C++98 compliance, not just GCC.
39355         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
39356         Likewise.
39358 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
39360         * NEWS: Restore accidentally deleted bug-fix entries.
39362 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
39363             Ondřej Bílka  <neleai@seznam.cz>
39365         [BZ #15073]
39366         * malloc/malloc.c (_int_free): Perform sanity check only if we
39367         have_lock.
39369 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
39371         [BZ #12986]
39372         * manual/stdio.texi (String Input Conversions): Clarify that character
39373         classes are not supported.
39375 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39377         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39379 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
39381         [BZ #16337]
39382         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
39383         Calculate results for small negative arguments directly rather
39384         than using reflection formula with special underflow handling.
39386         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
39387         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
39388         sysdeps/unix/bsd/bsd4.4/syscalls.list.
39389         (fchflags): Likewise.
39390         (revoke): Likewise.
39391         (setlogin): Likewise.
39392         (sigaltstack): Likewise.
39393         (wait4): Likewise.
39394         (sigblock): Remove.
39395         (sigsetmask): Likewise.
39396         (wait3): Likewise.
39397         (waitpid): Likewise.
39398         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
39399         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
39400         file.
39401         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
39402         * sysdeps/unix/bsd/Makefile: ... here.
39403         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
39404         * sysdeps/unix/bsd/Versions: ... here.
39405         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
39406         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
39407         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
39408         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
39409         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
39410         * sysdeps/unix/bsd/sigblock.c: ... here.
39411         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
39412         * sysdeps/unix/bsd/sigsetmask.c: ... here.
39413         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
39414         * sysdeps/unix/bsd/sigvec.c: ... here.
39415         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
39416         * sysdeps/unix/bsd/tcdrain.c: ... here.
39417         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
39418         * sysdeps/unix/bsd/tcgetattr.c: ... here.
39419         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
39420         * sysdeps/unix/bsd/tcsetattr.c: ... here.
39421         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
39422         * sysdeps/unix/bsd/wait.c: ... here.
39423         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
39424         * sysdeps/unix/bsd/wait3.c: ... here.
39425         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
39426         * sysdeps/unix/bsd/waitpid.c: ... here.
39428 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
39430         [BZ #16356]
39431         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
39432         round-to-nearest for [!USE_AS_EXPM1L].
39433         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
39434         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
39435         more tests of exp and exp10.  Expect some exp10 tests to miss
39436         exceptions or fail in directed rounding modes.
39437         * math/auto-libm-test-out: Regenerated.
39438         * math/libm-test.inc (exp10_tonearest_test_data): New array.
39439         (exp10_test_tonearest): New function.
39440         (exp10_towardzero_test_data): New array.
39441         (exp10_test_towardzero): New function.
39442         (exp10_downward_test_data): New array.
39443         (exp10_test_downward): New function.
39444         (exp10_upward_test_data): New array.
39445         (exp10_test_upward): New function.
39446         (main): Call the new functions.
39447         * sysdeps/i386/fpu/libm-test-ulps: Update.
39448         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39450 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
39452         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
39453         asinh, atan, atan2, atanh, cbrt, cos and cosh.
39454         * math/auto-libm-test-out: Regenerated.
39455         * math/libm-test.inc (acosh_test_data): Add more tests.
39456         (atanh_test_data): Likewise.
39457         (ceil_test_data): Likewise.
39458         (copysign_test_data): Likewise.
39459         * sysdeps/i386/fpu/libm-test-ulps: Update.
39460         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39462         * timezone/checktab.awk: Update from tzcode 2013i.
39463         * timezone/private.h: Likewise.
39464         * timezone/scheck.c: Likewise.
39465         * timezone/tzfile.h: Likewise.
39466         * timezone/tzselect.ksh: Likewise.
39467         * timezone/zdump.c: Likewise.
39468         * timezone/zic.c: Likewise.
39470         * math/auto-libm-test-in: Add tests of cpow.
39471         * math/auto-libm-test-out: Regenerated.
39472         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
39473         * math/gen-auto-libm-tests.c (func_calc_method): Add value
39474         mpc_cc_c.
39475         (func_calc_desc): Add mpc_cc_c union field.
39476         (test_functions): Add cpow.
39477         (special_fill_2pi): New function.
39478         (special_real_inputs): Add 2pi.
39479         (calc_generic_results): Handle mpc_cc_c.
39480         * sysdeps/i386/fpu/libm-test-ulps: Update.
39481         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39483         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
39484         csqrt, ctan and ctanh.
39485         * math/auto-libm-test-out: Regenerated.
39486         * math/libm-test.inc (TEST_COND_x86_64): New macro.
39487         (TEST_COND_x86): Likewise.
39488         (ccos_test_data): Use AUTO_TESTS_c_c.
39489         (ccosh_test_data): Likewise.
39490         (cexp_test_data): Likewise.
39491         (clog_test_data): Likewise.
39492         (csqrt_test_data): Likewise.
39493         (ctan_test_data): Likewise.
39494         (ctan_tonearest_test_data): Likewise.
39495         (ctan_towardzero_test_data): Likewise.
39496         (ctan_downward_test_data): Likewise.
39497         (ctan_upward_test_data): Likewise.
39498         (ctanh_test_data): Likewise.
39499         (ctanh_tonearest_test_data): Likewise.
39500         (ctanh_towardzero_test_data): Likewise.
39501         (ctanh_downward_test_data): Likewise.
39502         (ctanh_upward_test_data): Likewise.
39503         * math/gen-auto-libm-tests.c (func_calc_method): Add value
39504         mpc_c_c.
39505         (func_calc_desc): Add mpc_c_c union field.
39506         (FUNC_mpc_c_c): New macro.
39507         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
39508         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
39509         ctanh.
39510         (special_fill_min_subnorm_p120): New function.
39511         (special_real_inputs): Add min_subnorm_p120.
39512         (calc_generic_results): Handle mpc_c_c.
39513         * sysdeps/i386/fpu/libm-test-ulps: Update.
39514         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39516 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
39518         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
39519         (do_sin_slow): New functions.
39520         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
39521         (cslow2, csloww1, csloww2): Use the new functions.
39523         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
39524         Use M to change sign of result instead of X.  Assume X is
39525         positive.
39526         (csloww1): Likewise.
39527         (__sin): Adjust.
39528         (__cos): Adjust.
39530         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
39531         arguments A and DA.
39532         (__sin): Adjust.
39533         (__cos): Likewise.
39535         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
39536         (__cos): Likewise.
39537         (sloww1): Don't adjust sign of DX.
39538         (csloww1): Likewise.
39539         (sloww2): Use X directly and don't adjust sign of DX.
39540         (csloww2): Likewise.
39542 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
39544         * math/auto-libm-test-in: Add tests of cabs and carg.
39545         * math/auto-libm-test-out: Regenerated.
39546         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
39547         (carg_test_data): Likewise.
39548         * math/gen-auto-libm-tests.c (func_calc_method): Add value
39549         mpc_c_f.
39550         (func_calc_desc): Add mpc_c_f union field.
39551         (test_functions): Add cabs and carg.
39552         (calc_generic_results): Handle mpc_c_f.
39554         * sysdeps/powerpc/powerpc32/libgcc-compat.S
39555         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
39556         as a macro and a compat symbol.
39557         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
39558         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
39559         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
39560         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
39561         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
39562         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
39563         not use .hidden.
39564         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
39565         Likewise.
39566         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
39567         Likewise.
39568         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
39569         Likewise.
39570         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
39571         Likewise.
39572         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
39573         Likewise.
39574         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
39575         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
39576         from GLIBC_2.3.2.
39578 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39580         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39582 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
39584         * manual/texinfo.tex: Update to version 2013-11-26.10 with
39585         trailing whitespace removed.
39586         * scripts/config.guess: Update to version 2013-11-29.
39587         * scripts/config.sub: Update to version 2013-10-01.
39589         * math/auto-libm-test-in: Add tests of sincos.
39590         * math/auto-libm-test-out: Regenerated.
39591         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
39592         * math/gen-auto-libm-tests.c (func_calc_method): Add value
39593         mpfr_f_11.
39594         (func_calc_desc): Add mpfr_f_11 union field.
39595         (test_functions): Add sincos.
39596         (calc_generic_results): Handle mpfr_f_11.
39597         * sysdeps/i386/fpu/libm-test-ulps: Update.
39598         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39600 2013-12-19  Andreas Schwab  <schwab@suse.de>
39602         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
39603         CALL_MCOUNT.
39604         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
39605         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
39606         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
39608 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
39610         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
39611         * sysdeps/i386/fpu/libm-test-ulps: Update.
39612         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39614         [BZ #16293]
39615         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
39616         round-to-nearest mode when using frndint.
39617         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
39618         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
39619         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
39620         Likewise.
39621         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
39622         sinh test to fail.
39623         * math/auto-libm-test-out: Regenerated.
39624         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
39625         (TEST_COND_x86): Likewise.
39626         (expm1_tonearest_test_data): New array.
39627         (expm1_test_tonearest): New function.
39628         (expm1_towardzero_test_data): New array.
39629         (expm1_test_towardzero): New function.
39630         (expm1_downward_test_data): New array.
39631         (expm1_test_downward): New function.
39632         (expm1_upward_test_data): New array.
39633         (expm1_test_upward): New function.
39634         (main): Run the new test functions.
39635         * sysdeps/i386/fpu/libm-test-ulps: Update.
39636         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39638         * include/features.h: Update comment documenting feature test
39639         macros.  Mention _DEFAULT_SOURCE in comment.
39640         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
39641         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
39642         _BSD_SOURCE and _SVID_SOURCE.
39643         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
39644         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
39645         !_SVID_SOURCE]: Likewise.
39646         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
39647         (__USE_POSIX_IMPLICITLY): Define.
39648         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
39649         (_POSIX_SOURCE): Undefine and redefine.
39650         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
39651         (_POSIX_C_SOURCE): Likewise.
39652         * manual/creature.texi (_DEFAULT_SOURCE): Document.
39653         (Feature Test Macros): Update documentation of default features.
39655 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
39657         * benchtests/Makefile: Add bench-strtok.
39658         * benchtests/bench-strtok.c: New file: strtok benchtest.
39660 2013-12-19  Allan McRae  <allan@archlinux.org>
39662         * manual/install.texi: Suppress menu for plain text output.
39663         * INSTALL: Regenerated.
39665 2013-12-18  Brooks Moses  <bmoses@google.com>
39667         [BZ #15846]
39668         * misc/getauxval.c: Include errno.h.
39669         (__getauxval): Set errno to ENOENT if the requested type is not
39670         found.
39671         * misc/sys/auxv.h (getauxval): Document that it may set errno;
39672         don't declare with __attribute_const__.
39673         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
39674         * manual/startup.texi: Document that getauxval sets errno.
39676 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
39678         * math/auto-libm-test-in: Add tests of jn and yn.
39679         * math/auto-libm-test-out: Regenerated.
39680         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
39681         (yn_test_data): Likewise.
39682         * math/gen-auto-libm-tests.c (func_calc_method): Add value
39683         mpfr_if_f.
39684         (func_calc_desc): Add mpfr_if_f union field.
39685         (FUNC_mpfr_if_f): New macro.
39686         (test_functions): Add jn and yn.
39687         (calc_generic_results): Assert type of second input for
39688         mpfr_ff_f.  Handle mpfr_if_f.
39689         (output_for_one_input_case): Disable all checking for arguments
39690         fitting floating-point types in case of an integer argument.
39691         * sysdeps/i386/fpu/libm-test-ulps: Update.
39692         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39694         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
39695         Don't expect fegetround reference in libm.so.
39697 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
39699         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
39700         $(config-cflags-nofma).
39702 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
39704         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
39705         * math/auto-libm-test-out: Regenerated.
39707         [BZ #16338]
39708         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
39709         to determine exponent and adjust argument to have exponent of -1.
39710         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
39711         log2.
39712         * math/auto-libm-test-out: Regenerated.
39713         * sysdeps/i386/fpu/libm-test-ulps: Update.
39714         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39716 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
39718         * manual/probes.texi: Remove cases when per-thread arenas are
39719         disabled.
39721 2013-12-18  Andreas Schwab  <schwab@suse.de>
39723         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
39724         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
39725         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
39726         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
39727         * sysdeps/i386/i686/multiarch/Makefile: Update.
39728         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
39730 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
39732         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
39733         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
39735 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
39737         [BZ #15968]
39738         Support TZ transition times < 00:00:00.
39739         This is needed for version-3 tz-format files; it supports time
39740         stamps past 2037 for America/Godthab (the only entry in the tz
39741         database for which this change is relevant).
39742         * manual/time.texi (TZ Variable): Document transition times
39743         from -167:59:59 through -00:00:01.
39744         * time/tzset.c (tz_rule): Time of day is now signed.
39745         (__tzset_parse_tz): Parse negative time of day.
39747         Document TZ transition times >= 25:00:00.
39748         * manual/time.texi (TZ Variable): Document transition times from
39749         25:00:00 through 167:59:59.  These are already supported, and this
39750         support will help with version-3 tz-format files.
39752         * manual/time.texi (TZ Variable): Modernize North America example
39753         to reflect current (i.e., 2007-and-later) daylight saving rules.
39755         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
39757 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
39759         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
39760         * sysdeps/unix/bsd/bits/stat.h: Likewise.
39761         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
39762         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
39763         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
39764         * sysdeps/unix/bsd/bsdstat.h: Likewise.
39765         * sysdeps/unix/bsd/clock.c: Likewise.
39766         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
39767         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
39768         * sysdeps/unix/bsd/init-posix.c: Likewise.
39769         * sysdeps/unix/bsd/poll.c: Likewise.
39770         * sysdeps/unix/bsd/ptsname.c: Likewise.
39771         * sysdeps/unix/bsd/seekdir.c: Likewise.
39772         * sysdeps/unix/bsd/setegid.c: Likewise.
39773         * sysdeps/unix/bsd/seteuid.c: Likewise.
39774         * sysdeps/unix/bsd/setgid.c: Likewise.
39775         * sysdeps/unix/bsd/setrgid.c: Likewise.
39776         * sysdeps/unix/bsd/setruid.c: Likewise.
39777         * sysdeps/unix/bsd/setsid.c: Likewise.
39778         * sysdeps/unix/bsd/setuid.c: Likewise.
39779         * sysdeps/unix/bsd/sigaction.c: Likewise.
39780         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
39781         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
39782         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
39783         * sysdeps/unix/bsd/telldir.c: Likewise.
39784         * sysdeps/unix/bsd/times.c: Likewise.
39785         * sysdeps/unix/bsd/usleep.c: Likewise.
39787         * misc/Makefile (install-lib): Remove libbsd-compat.a.
39788         ($(objpfx)libbsd-compat.a): Remove rule.
39790         * include/features.h (__FAVOR_BSD): Do not define.
39791         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
39792         features conflicting with POSIX.
39793         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
39794         (_BSD_SOURCE): Remove description of not being a subset of other
39795         feature test macros.
39796         * manual/job.texi (getpgrp): Do not document BSD version.
39797         (getpgid): Do not document by reference to BSD getpgrp.
39798         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
39799         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
39800         * signal/signal.h [__FAVOR_BSD]: Likewise.
39801         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
39802         instead of making contents conditional on [__FAVOR_BSD].
39803         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
39805 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39807         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39809 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
39811         [BZ #16314]
39812         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
39813         values below 2**-450, not 2**-500.
39814         * math/auto-libm-test-in: Don't allow spurious underflow from
39815         hypot.
39816         * math/auto-libm-test-out: Regenerated.
39818         [BZ #16316]
39819         [BZ #16330]
39820         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
39821         values of ha and hb and sort them after adjusting subnormal
39822         arguments.
39823         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
39824         Likewise.
39825         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
39826         values of ea and eb and sort them after adjusting subnormal
39827         arguments.
39828         * math/auto-libm-test-in: Do not expect some hypot tests of
39829         subnormals to fail.  Add more hypot tests.
39830         * math/auto-libm-test-out: Regenerated.
39832 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
39834         [BZ #13304]
39835         * sysdeps/sh/s_fma.c: New file.
39836         * sysdeps/sh/s_fmaf.c: New file.
39837         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
39838         version.
39839         * sysdeps/sh/Implies: Add sh/soft-fp.
39841 2013-12-16  Roland McGrath  <roland@hack.frob.com>
39843         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
39844         level of indirection to members `objname', `errstring', `malloced'.
39845         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
39846         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
39847         it as the __longjmp argument (just pass 1 instead).
39848         (_dl_catch_error): Initialize C with argument pointers and address of
39849         volatile local ERRCODE rather than copying values out of C at return.
39851 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
39853         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
39854         * math/auto-libm-test-out: Regenerated.
39855         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
39856         (hypot_test_data): Likewise.
39857         (pow_test_data): Likewise.
39858         (pow_tonearest_test_data): Likewise.
39859         * math/gen-auto-libm-tests.c (func_calc_method): Add value
39860         mpfr_ff_f.
39861         (func_calc_desc): Add mpfr_ff_f union field.
39862         (FUNC_mpfr_ff_f): New macro.
39863         (test_functions): Add atan2, hypot and pow.
39864         (special_fill_min): New function.
39865         (special_fill_minus_min): Likewise.
39866         (special_fill_min_subnorm): Likewise.
39867         (special_fill_minus_min_subnorm): Likewise.
39868         (special_real_inputs): Add min, -min, min_subnorm and
39869         -min_subnorm.
39870         (calc_generic_results): Handle mpfr_ff_f.
39871         * sysdeps/i386/fpu/libm-test-ulps: Update.
39872         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39874 2013-12-16  Will Newton  <will.newton@linaro.org>
39876         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
39877         (Aligned Memory Blocks): Add documentation for aligned_alloc
39878         and suggest it as an alternative to posix_memalign.
39879         (Hooks for Malloc): Document __memalign_hook is also called
39880         for aligned_alloc.  (Summary of Malloc): Add summary for
39881         aligned alloc.  Document __memalign_hook is also called
39882         for aligned_alloc.
39884 2013-12-16  Will Newton  <will.newton@linaro.org>
39886         * manual/memory.texi (Malloc Examples): Clarify default
39887         alignment documentation.  Suggest posix_memalign rather
39888         than memalign or valloc.
39889         (Aligned Memory Blocks): Remove suggestion to use memalign
39890         or valloc.  Remove obsolete comment about BSD.
39891         Document memalign errno values and mark the function obsolete.
39892         Document posix_memalign returned error codes.  Mark valloc
39893         as obsolete.  (Hooks for Malloc): __memalign_hook is also
39894         called for posix_memalign and valloc.
39895         (Summary of Malloc): Add posix_memalign to function summary.
39896         __memalign_hook is also called for posix_memalign and valloc.
39898 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
39900         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
39901         TAYLOR_SIN.
39902         (__sin): Adjust.
39903         (__cos): Likewise.
39904         (sloww): Use mynumber union.  Expand ternary operator into
39905         if-else statements.
39906         (cslow): use mynumber union.
39908 2013-12-16  Allan McRae  <allan@archlinux.org>
39910         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
39911         * configure: Regenerated.
39913         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
39915         [BZ #14120]
39916         * configure.ac: Added --enable-maintainer-mode. Check for
39917         autoconf when enabled.
39918         * configure: Regenerated.
39920         * nscd/nscd.service: New file.
39921         * nscd/nscd.tmpfiles: New file.
39923 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
39925         [BZ #12100]
39926         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
39927         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
39928         * sysdeps/x86_64/multiarch/strstr.c: ... here.
39929         (strstr): Add __strstr_sse2_unaligned ifunc.
39930         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
39931         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
39932         (strcasestr): Remove __strcasestr_sse42 ifunc.
39933         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
39934         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
39935         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
39937 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
39939         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
39940         * sysdeps/sh/bits/fenv.h: ... here.
39941         * sysdeps/sh/sh4/fpu/bits: Remove directory.
39943 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39945         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
39947         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
39948         hypotf multiarch implementations.
39949         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
39950         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
39951         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
39952         multiarch hypot for PPC64.
39953         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
39954         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
39955         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
39956         multiarch hypotf for PPC64.
39958         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
39959         modff multiarch implementations.
39960         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
39961         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
39962         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
39963         multiarch modf for PPC64.
39964         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
39965         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
39966         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
39967         multiarch modff for PPC64.
39969         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
39970         and logl multiarch implementations.
39971         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
39972         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
39973         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
39974         multiarch logb for PPC64.
39975         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
39976         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
39977         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
39978         multiarch logb for PPC64.
39979         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
39980         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
39981         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
39982         multiarch logb for PPC64.
39984         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
39985         isinff multiarch implementation.
39986         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
39987         file.
39988         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
39989         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
39990         multiarch isinf for PPC64.
39991         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
39992         file.
39993         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
39994         multiarch isinff for PPC64.
39996         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
39997         finitef multiarch implementation.
39998         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
39999         file.
40000         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
40001         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
40002         multiarch finite for PPC64.
40003         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
40004         file.
40005         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
40006         multiarch finitef for PPC64.
40008         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
40009         lrint multiarch implementation.
40010         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
40011         file.
40012         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
40013         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
40014         multiarch llrint for PPC64.
40015         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
40016         multiarch lrint for PPC64.
40018         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
40019         copysignf multiarch implementation.
40020         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
40021         file.
40022         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
40023         file.
40024         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
40025         multiarch copysign for PPC64.
40026         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
40027         multiarch copysignf for PPC64.
40029         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
40030         multiarch implementation.
40031         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
40032         file.
40033         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
40034         file.
40035         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
40036         file.
40037         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
40038         file.
40039         multiarch llround for PPC64.
40040         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
40041         multiarch trunc for PPC64.
40042         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
40043         multiarch truncf for PPC64.
40045         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
40046         multiarch implementation.
40047         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
40048         file.
40049         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
40050         file.
40051         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
40052         file.
40053         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
40054         file.
40055         multiarch llround for PPC64.
40056         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
40057         multiarch round for PPC64.
40058         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
40059         multiarch roundf for PPC64.
40061         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
40062         multiarch implementation.
40063         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
40064         file.
40065         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
40066         file.
40067         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
40068         file.
40069         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
40070         file.
40071         multiarch llround for PPC64.
40072         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
40073         multiarch floor for PPC64.
40074         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
40075         multiarch floorf for PPC64.
40077         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
40078         multiarch implementation.
40079         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
40080         file.
40081         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
40082         file.
40083         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
40084         file.
40085         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
40086         file.
40087         multiarch llround for PPC64.
40088         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
40089         multiarch ceil for PPC64.
40090         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
40091         multiarch ceilf for PPC64.
40093         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
40094         multiarch implementation.
40095         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
40096         file.
40097         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
40098         file.
40099         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
40100         file.
40101         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
40102         multiarch llround for PPC64.
40103         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
40104         multiarch lround for PPC64.
40106         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
40107         multiarch implementation.
40108         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
40109         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
40110         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
40111         file.
40112         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
40113         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
40114         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
40115         multiarch isnan for PPC64.
40116         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
40117         multiarch isnanf for PPC64.
40119         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
40120         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
40121         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
40122         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
40123         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
40124         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
40126         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
40127         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
40128         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
40129         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
40131         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
40132         multiarch implementations.
40133         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
40134         (__libc_ifunc_impl_list): Likewise.
40135         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
40136         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
40137         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
40138         multiarch stpcpy for PPC64.
40140         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
40141         multiarch implementations.
40142         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
40143         (__libc_ifunc_impl_list): Likewise.
40144         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
40145         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
40146         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
40147         multiarch strcpy for PPC64.
40149         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
40150         redefine function name.
40151         (_wordcopy_fwd_dest_aligned): Likewise.
40152         (_wordcopy_bwd_aligned): Likewise.
40153         (_wordcopy_bwd_dest_aligned): Likewise.
40154         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
40155         multiarch implementations.
40156         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
40157         (__libc_ifunc_impl_list): Likewise.
40158         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
40159         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
40160         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
40161         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
40162         multiarch wcscpy for PPC64.
40164         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
40165         multiarch implementations.
40166         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
40167         (__libc_ifunc_impl_list): Likewise.
40168         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
40169         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
40170         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
40171         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
40172         multiarch wcscpy for PPC64.
40174         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
40175         multiarch implementations.
40176         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
40177         (__libc_ifunc_impl_list): Likewise.
40178         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
40179         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
40180         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
40181         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
40182         multiarch wcsrchr for PPC64.
40184         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
40185         multiarch implementations.
40186         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
40187         (__libc_ifunc_impl_list): Likewise.
40188         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
40189         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
40190         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
40191         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
40192         multiarch wcschr for PPC64.
40194         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
40195         multiarch implementations.
40196         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
40197         (__libc_ifunc_impl_list): Likewise.
40198         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
40199         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
40200         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
40201         multiarch strchrnul for PPC64.
40203         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
40204         implementations.
40205         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
40206         (__libc_ifunc_impl_list): Likewise.
40207         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
40208         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
40209         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
40210         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
40211         strchr for PPC64.
40213         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
40214         implementations.
40215         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
40216         (__libc_ifunc_impl_list): Likewise.
40217         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
40218         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
40219         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
40220         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
40221         strncmp for PPC64.
40223         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
40224         multiarch implementations.
40225         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
40226         (__libc_ifunc_impl_list): Likewise.
40227         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
40228         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
40229         strncasecmp for PPC64.
40230         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
40231         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
40232         multiarch strncasecmp_l for PPC64.
40234         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
40235         multiarch implementations.
40236         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
40237         (__libc_ifunc_impl_list): Likewise.
40238         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
40239         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
40240         multiarch strcasecmp for PPC64.
40241         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
40242         file.
40243         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
40244         multiarch strcasecmp_l for PPC64.
40246         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
40247         implementations.
40248         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
40249         (__libc_ifunc_impl_list): Likewise.
40250         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
40251         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
40252         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
40253         strnlen for PPC64.
40255         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
40256         implementations.
40257         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
40258         (__libc_ifunc_impl_list): Likewise.
40259         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
40260         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
40261         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
40262         strlen for PPC64.
40264         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
40265         implementations.
40266         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
40267         (__libc_ifunc_impl_list): Likewise.
40268         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
40269         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
40270         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
40271         rawmemrchr for PPC64.
40273         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
40274         implementation.
40275         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
40276         (__libc_ifunc_impl_list): Likewise.
40277         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
40278         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
40279         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
40280         memrchr for PPC64.
40282         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
40283         implementation.
40284         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
40285         (__libc_ifunc_impl_list): Likewise.
40286         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
40287         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
40288         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
40289         memchr for PPC64.
40291         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
40292         implementation.
40293         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
40294         (__libc_ifunc_impl_list): Likewise.
40295         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
40296         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
40297         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
40298         mempcpy for PPC64.
40300         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
40301         avoid cretion of __bzero symbol.
40302         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
40303         Likewise.
40304         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
40305         Likewise.
40306         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
40307         Likewise.
40308         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
40309         multiarch implementations.
40310         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
40311         (__libc_ifunc_impl_list): Likewise.
40312         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
40313         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
40314         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
40315         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
40316         bzero for PPC32.
40317         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
40318         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
40319         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
40320         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
40321         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
40322         memset for PPC64.
40323         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
40325         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
40326         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
40327         implementations.
40328         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
40329         (__libc_ifunc_impl_list): Likewise.
40330         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
40331         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
40332         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
40333         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
40334         memcmp for PPC64.
40336         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
40337         multiarch for POWER/PPC64.
40338         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
40339         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
40340         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
40341         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
40342         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
40343         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
40344         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
40345         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
40346         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
40347         memcpy for PPC64.
40349         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
40350         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
40351         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
40352         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
40353         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
40354         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
40355         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
40356         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
40357         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
40358         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
40359         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
40360         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
40361         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
40362         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
40363         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
40364         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
40365         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
40366         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
40367         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
40368         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
40369         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
40370         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
40372 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
40374         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
40376 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
40378         * benchtests/Makefile (bench): Add exp2 and log2.
40379         (LDLIBS-bench-exp2): Add -lm.
40380         (LDLIBS-bench-log2): Likewise.
40381         * benchtests/exp2-inputs: New inputs file.
40382         * benchtests/log2-inputs: New inputs file.
40383         * benchtests/log-inputs: Add new inputs.
40384         * benchtests/tan-inputs: Likewise.
40386 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
40388         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
40389         definition...
40390         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
40391         (csloww2): ... from here.
40393         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
40394         instead of structures.
40395         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
40396         (POLYNOMIAL): Likewise.
40397         (TAYLOR_SLOW): Likewise.
40398         (__sin): Likewise.
40399         (__cos): Likewise.
40400         (slow1): Likewise.
40401         (slow2): Likewise.
40402         (sloww): Likewise.
40403         (sloww1); Likewise.
40404         (sloww2): Likewise.
40405         (bsloww1): Likewise.
40406         (bsloww2): Likewise.
40407         (cslow2): Likewise.
40408         (csloww): Likewise.
40409         (csloww1): Likewise.
40410         (csloww2): Likewise.
40412 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
40414         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
40415         (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
40416         Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
40417         * malloc/hooks.c (realloc_check): Likewise.
40419         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
40420         * malloc/arena.c: Remove PER_THREAD conditional.
40421         [!PER_THREAD]: Remove code.
40422         (ptmalloc_unlock_all2): Likewise.
40423         (ptmalloc_init): Likewise.
40424         (_int_new_arena): Likewise.
40425         (arena_get2): Likewise.
40426         * malloc/hooks.c (__malloc_get_state): Likewise.
40427         (__malloc_set_state): Likewise.
40428         * malloc/malloc.c: Likewise.
40429         (struct malloc_state): Likewise.
40430         (struct malloc_par): Likewise.
40431         (__libc_realloc): Likewise.
40432         (__libc_mallopt): Likewise.
40434 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40436         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
40438 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
40440         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
40441         macro to a function.  Check for zero perturb_byte.
40442         (_int_malloc, _int_free): Remove zero perturb_byte checks.
40444         * malloc/malloc.c: (force_reg): Remove.
40445         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
40446         (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
40447         force_reg by atomic_forced_read.
40448         * malloc/arena.c (ptmalloc_init): Likewise.
40449         * malloc/hooks.c (top_check): Likewise.
40451 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40453         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40455 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
40457         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
40459 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
40461         * math/auto-libm-test-in: Add tests of lgamma.
40462         * math/auto-libm-test-out: Regenerated.
40463         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
40464         (M_LOG_2_SQRT_PIl): Likewise.
40465         (lgamma_test_data): Use AUTO_TESTS_f_f1.
40466         * math/gen-auto-libm-tests.c (func_calc_method): Add value
40467         mpfr_f_f1.
40468         (func_calc_desc): Add mpfr_f_f1 union field.
40469         (ARGS1): New macro.
40470         (ARGS2): Likewise.
40471         (ARGS3): Likewise.
40472         (ARGS4): Likewise.
40473         (RET1): Likewise.
40474         (RET2): Likewise.
40475         (CALC): Likewise.
40476         (FUNC): Likewise.
40477         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
40478         (test_functions): Add lgamma.
40479         (calc_generic_results): Handle mpfr_f_f1.
40480         * sysdeps/i386/fpu/libm-test-ulps: Update.
40481         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40483 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40485         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
40486         __mpn_add_n for PowerPC64/POWER7.
40487         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
40488         __mpn_sub_n for PowerPC64/POWER7.
40490         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
40491         __mpn_addmul_1 for PowerPC64.
40492         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
40493         __mpn_submul_1 for PowerPC64.
40494         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
40495         for PowerPC64.
40496         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
40497         for PowerPC64.
40499 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
40501         [BZ #15089]
40502         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
40504 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40506         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
40508         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
40509         add multiarch folders.
40510         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
40511         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
40512         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
40513         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
40514         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
40515         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
40516         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
40517         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
40518         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
40519         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
40520         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
40521         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
40522         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
40523         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
40524         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
40525         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
40526         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
40528         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
40529         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
40530         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
40531         New file.
40532         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
40533         New file.
40534         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
40535         multiarch __ieee754_hypot for PowerPC32.
40536         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
40537         New file.
40538         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
40539         New file.
40540         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
40541         multiarch __ieee754_hypotf for PowerPC32.
40543         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
40544         long_double_symbol only if __logbl is defined.
40545         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
40546         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
40547         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
40548         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
40549         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
40550         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
40551         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
40552         path for implementation.
40553         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
40554         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
40555         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
40556         logb, and logbl multiarch implementations for PowerPC32.
40557         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
40558         file.
40559         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
40560         file.
40561         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
40562         multiarch logb for PowerPC32.
40563         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
40564         file.
40565         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
40566         file.
40567         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
40568         multiarch logbf for PowerPC32.
40569         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
40570         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
40571         file.
40572         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
40573         multiarch logbl implementation for PowerPC32.
40575         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
40576         and modff multiarch implementations.
40577         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
40578         New file.
40579         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
40580         New file.
40581         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
40582         multiarch modf for PowerPC32.
40583         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
40584         New file.
40585         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
40586         New file.
40587         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
40588         multiarch modff for PowerPC32.
40590         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
40591         and lrintf multiarch implementations.
40592         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
40593         New file.
40594         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
40595         New file.
40596         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
40597         multiarch lrint for PowerPC32.
40598         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
40599         file: multiarch lrintf for PowerPC32.
40601         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
40602         and lroundf multiarch implementations.
40603         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
40604         New file.
40605         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
40606         New file.
40607         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
40608         New file.
40609         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
40610         multiarch lround for PowerPC32.
40611         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
40612         file: multiarch lroundf for PowerPC32.
40614         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
40615         copysign and copysignf multiarch implementations.
40616         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
40617         New file.
40618         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
40619         New file.
40620         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
40621         file: multiarch copysign for PowerPC32.
40622         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
40623         file: multiarch copysignf for PowerPC32.
40625         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
40626         and truncf multiarch implementations.
40627         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
40628         New file.
40629         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
40630         file.
40631         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
40632         multiarch trunc for PowerPC32.
40633         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
40634         New file.
40635         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
40636         New file.
40637         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
40638         multiarch truncf for PowerPC32.
40640         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
40641         and roundf multiarch implementations.
40642         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
40643         New file.
40644         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
40645         file.
40646         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
40647         multiarch round for PowerPC32.
40648         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
40649         New file.
40650         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
40651         New file.
40652         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
40653         multiarch roundf for PowerPC32.
40655         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
40656         and floorf multiarch implementations.
40657         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
40658         New file.
40659         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
40660         file.
40661         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
40662         multiarch floor for PowerPC32.
40663         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
40664         New file.
40665         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
40666         New file.
40667         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
40668         multiarch floorf for PowerPC32.
40670         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
40671         and ceilf multiarch implementations.
40672         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
40673         New file.
40674         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
40675         file.
40676         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
40677         multiarch ceil for PowerPC32.
40678         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
40679         New file.
40680         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
40681         file.
40682         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
40683         multiarch ceilf for PowerPC32.
40685         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
40686         is defined.
40687         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
40688         FINITEF is defined.
40689         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
40690         and finitef multiarch implementations.
40691         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
40692         New file.
40693         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
40694         file.
40695         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
40696         multiarch finite for PowerPC32.
40697         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
40698         New file.
40699         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
40700         file: multiarch finitef for PowerPC32.
40702         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
40703         and isinff multiarch implementations.
40704         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
40705         file.
40706         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
40707         file.
40708         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
40709         multiarch isinf for PowerPC32.
40710         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
40711         New file.
40712         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
40713         multiarch isinff for PowerPC32.
40715         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
40716         alias when __isnan is defined.
40717         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
40718         and isnanf multiarch implementations.
40719         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
40720         file.
40721         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
40722         file.
40723         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
40724         file.
40725         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
40726         file.
40727         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
40728         multiarch isnan for PowerPC32.
40729         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
40730         New file.
40731         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
40732         New file.
40733         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
40734         multiarch isnanf for PowerPC32.
40736         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
40737         and sqrtf multiarch implementations.
40738         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
40739         file.
40740         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
40741         file.
40742         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
40743         multiarch sqrt for PowerPC32.
40744         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
40745         file.
40746         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
40747         file.
40748         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
40749         multiarch sqrtf for PowerPC32.
40751         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
40752         and llroundf multiarch implementations.
40753         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
40754         New file.
40755         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
40756         New file.
40757         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
40758         New file.
40759         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
40760         file: multiarch llround for PowerPC32.
40761         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
40762         file: multiarch llroundf for PowerPC32.
40764         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
40765         multiarch PowerPC32 fpu implementations.
40766         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
40767         New file.
40768         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
40769         New file.
40770         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
40771         multiarch llrint for PowerPC32.
40772         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
40773         New file.
40774         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
40775         New file.
40776         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
40777         file.
40779         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
40781         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
40782         file.
40783         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
40784         file.
40785         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
40786         file.
40787         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
40788         multiarch wordcopy for PPC32.
40789         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
40790         wordcopy objects.
40791         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
40792         (__libc_ifunc_impl_list): Likewise.
40793         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
40794         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
40795         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
40796         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
40797         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
40798         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
40800         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
40801         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
40802         file.
40803         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
40804         file.
40805         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
40806         file.
40807         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
40808         multiarch wcscpy for PPC32.
40809         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
40810         multiarch objects.
40811         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
40812         (__libc_ifunc_impl_list): Likewise.
40813         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
40814         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
40815         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
40816         sysdeps/powerpc/power6/wcscpy.c.
40818         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
40819         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
40820         file.
40821         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
40822         file.
40823         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
40824         file.
40825         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
40826         multiarch wcsrchr for PPC32.
40827         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
40828         multiarch objects.
40829         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
40830         (__libc_ifunc_impl_list): Likewise.
40831         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
40832         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
40833         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
40834         sysdeps/powerpc/power6/wcsrchr.c.
40836         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
40837         file.
40838         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
40839         file.
40840         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
40841         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
40842         multiarch wcschr for PPc32.
40843         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
40844         multiarch objects.
40845         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
40846         (__libc_ifunc_impl_list): Likewise.
40847         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
40848         * sysdeps/powerpc/power6/wcschr.c: ... to here.
40849         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
40850         sysdeps/powerpc/power6/wcschr.c.
40852         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
40853         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
40854         file.
40855         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
40856         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
40857         file: multiarch strchr for PPC32.
40858         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
40859         multiarch objects.
40860         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
40861         (__libc_ifunc_impl_list): Likewise.
40863         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
40864         name.
40865         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
40866         file.
40867         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
40868         file.
40869         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
40870         multiarch strchrnul for PPC32.
40871         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
40872         multiarch objects.
40873         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
40874         (__libc_ifunc_impl_list): Likewise.
40876         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
40877         file.
40878         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
40879         multiarch strncasecmp for PPC32.
40880         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
40881         file.
40882         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
40883         multiarch strncasecmp_l for PPC32.
40884         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
40885         strncasecmp multiarch objects.
40886         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
40887         (__libc_ifunc_impl_list): Likewise.
40889         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
40890         file.
40891         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
40892         multiarch strncasecmp for PPC32.
40893         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
40894         New file.
40895         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
40896         multiarch strcasecmp_l for PPC32.
40897         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
40898         multiarch objects.
40899         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
40900         (__libc_ifunc_impl_list): Likewise.
40902         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
40903         file.
40904         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
40905         file.
40906         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
40907         multiarch strncmp for PPC32.
40908         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
40909         multiarch objects.
40910         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
40911         (__libc_ifunc_impl_list): Likewise.
40913         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
40914         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
40915         file.
40916         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
40917         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
40918         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
40919         multiarch objects.
40920         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
40921         (__libc_ifunc_impl_list): Likewise.
40923         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
40924         file.
40925         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
40926         file.
40927         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
40928         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
40929         multiarch objects.
40930         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
40931         (__libc_ifunc_impl_list): Likewise.
40933         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
40934         file.
40935         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
40936         file.
40937         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
40938         multiarch rawmemchr for PPC32.
40939         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
40940         multiarch objects.
40941         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
40942         (__libc_ifunc_impl_list): Likewise.
40944         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
40945         file.
40946         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
40947         file.
40948         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
40949         file: memrchr multiarch for PPC32.
40950         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
40951         multiarch objects.
40952         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
40953         (__libc_ifunc_impl_list): Likewise.
40955         * string/memchr.c (__memchr): Using macro to redefine symbol name.
40956         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
40957         file.
40958         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
40959         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
40960         multiarch memchr for PPC32.
40961         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
40962         multiarch objects.
40963         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
40964         (__libc_ifunc_impl_list): Likewise.
40966         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
40967         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
40968         file.
40969         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
40970         file.
40971         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
40972         file: multiarch mempcpy for PPC32.
40973         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
40974         multiarch objects.
40975         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
40976         (__libc_ifunc_impl_list): Likewise.
40978         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
40979         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
40980         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
40981         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
40982         multiarch bzero for PPC32.
40983         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
40984         file.
40985         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
40986         file.
40987         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
40988         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
40989         file: multiarch memset for PPC32.
40990         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
40991         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
40992         memset multiarch objects.
40993         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
40994         (__libc_ifunc_impl_list): Likewise.
40996         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
40997         file.
40998         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
40999         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
41000         memcmp for PPC32.
41001         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
41002         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
41003         multiarch objects.
41004         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
41005         (__libc_ifunc_impl_list): Likewise.
41007         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
41008         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
41009         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
41010         file.
41011         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
41012         file.
41013         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
41014         file.
41015         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
41016         multiarch memcpy for PPC32.
41017         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
41018         multiarch objects.
41019         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
41020         (__libc_ifunc_impl_list): Likewise.
41022         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
41023         support multiarch for POWER/PPC32.
41024         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
41025         Likewise.
41026         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
41027         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
41028         Implies file to make multiarch folder appers before the fpu and
41029         default folder for power4 configuration.
41031 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
41033         * scripts/bench.pl: Append volatile keyword to type.
41035 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
41037         * sysdeps/sh/sotruss-lib.c: New file.
41038         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
41040 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41042         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41044 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
41046         [BZ #6810]
41047         * math/w_tgamma.c: Include <errno.h>.
41048         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
41049         * math/w_tgammaf.c: Include <errno.h>.
41050         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
41051         * math/w_tgammal.c: Include <errno.h>.
41052         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
41053         * math/auto-libm-test-in: Do not allow missing errno on tgamma
41054         underflow.  Add more tgamma tests.
41055         * math/auto-libm-test-out: Regenerated.
41056         * sysdeps/i386/fpu/libm-test-ulps: Update.
41057         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41059         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
41060         sin, sinh, tan, tanh, tgamma, y0 and y1.
41061         * math/auto-libm-test-out: Regenerated.
41062         * math/libm-test.inc (TEST_COND_x86_64): New macro.
41063         (TEST_COND_x86): Likewise.
41064         (M_E2l): Remove macro.
41065         (M_E3l): Likewise.
41066         (M_2_SQRT_PIl): Likewise.
41067         (M_SQRT_PIl): Likewise.
41068         (M_1_DIV_El): Likewise.
41069         (log_test_data): Use AUTO_TESTS_f_f.
41070         (log10_test_data): Likewise.
41071         (log1p_test_data): Likewise.
41072         (log2_test_data): Likewise.
41073         (sin_test_data): Likewise.
41074         (sin_tonearest_test_data): Likewise.
41075         (sin_towardzero_test_data): Likewise.
41076         (sin_downward_test_data): Likewise.
41077         (sin_upward_test_data): Likewise.
41078         (sinh_test_data): Likewise.
41079         (sinh_tonearest_test_data): Likewise.
41080         (sinh_towardzero_test_data): Likewise.
41081         (sinh_downward_test_data): Likewise.
41082         (sinh_upward_test_data): Likewise.
41083         (tan_test_data): Likewise.
41084         (tan_tonearest_test_data): Likewise.
41085         (tan_towardzero_test_data): Likewise.
41086         (tan_downward_test_data): Likewise.
41087         (tan_upward_test_data): Likewise.
41088         (tanh_test_data): Likewise.
41089         (tgamma_test_data): Likewise.
41090         (y0_test_data): Likewise.
41091         (y1_test_data): Likewise.
41092         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
41093         (special_real_inputs): Add pi/4.
41094         * sysdeps/i386/fpu/libm-test-ulps: Update.
41095         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41097 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41099         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
41100         "longjmp_target" static probes.
41101         (__longjmp): Rename to __longjmp_symbol.
41102         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
41103         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
41104         on which longjmp to generate.
41105         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
41106         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
41107         probe.
41108         (__sigsetjmp): Rename to __sigsetjmp_symbol.
41109         (__sigjmp_save): Rename to __sigjmp_save_symbol.
41110         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
41111         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
41112         and __sigjmp_save_symbol based on which sigsetjmp to generated.
41113         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
41114         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
41115         __longjmp_symbol based on which __longjmp to generate.
41116         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
41117         probe.
41118         (setjmp): Rename to setjmp_symbol.
41119         (__sigsetjmp): Rename to __sigsetjmp_symbol.
41120         (_setjmp): Rename to _setjmp_symbol.
41121         (__sigsetjmp): Rename to __sigsetjmp_symbol.
41122         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
41123         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
41124         which setjmp to generate.
41125         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
41126         "longjmp_target" static probes.
41128 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
41130         * benchtests/README: Add note about output arguments.
41131         * benchtests/bench-sincos.c: Remove file.
41132         * benchtests/sincos-inputs: New file.
41133         * scripts/bench.pl: Identify output arguments and define
41134         static variables for them.
41136         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
41138         [BZ #15941]
41139         * Makefile (INSTALL): Add install-plain.texi as the primary
41140         dependency.
41141         * manual/install-plain.texi: New file.
41142         * manual/install.texi: Include node directive only for
41143         non-plaintext output.
41145 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
41147         * stdlib/longlong.h: Update from GCC.
41149         [BZ #6807]
41150         [BZ #15901]
41151         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
41152         * math/w_j0f.c (y0f): Likewise.
41153         * math/w_j0l.c (__y0l): Likewise.
41154         * math/w_j1.c (y1): Likewise.
41155         * math/w_j1f.c (y1f): Likewise.
41156         * math/w_j1l.c (__y1l): Likewise.
41157         * math/w_jn.c (yn): Likewise.
41158         * math/w_jnf.c (ynf): Likewise.
41159         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
41160         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
41161         value for Bessel function domain errors outside _SVID_ mode.
41162         Adjust sign of return value for yn (negative integer, 0).
41163         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
41164         by zero in return for negative x and set sign appropriately for
41165         negative n.
41166         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
41167         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
41168         * math/libm-test.inc (y0_test_data): Add more tests and adjust
41169         expectations in error cases.
41170         (y1_test_data): Likewise.
41171         (yn_test_data): Likewise.
41172         * sysdeps/i386/fpu/libm-test-ulps: Update.
41173         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41175 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
41177         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
41178         "64" to "64-v1".  Add "64-v2".
41179         (abi-64-options): Rename to ...
41180         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
41181         (abi-64-condition): Rename to ...
41182         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
41183         (abi-64-ld-soname): Rename to ...
41184         (abi-64-v1-ld-soname): ... this.
41185         (abi-64-v2-options): Define.
41186         (abi-64-v2-condition): Likewise.
41187         (abi-64-v2-ld-soname): Likewise.
41188         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
41189         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
41190         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
41191         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
41192         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
41194 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
41195             Alan Modra  <amodra@gmail.com>
41197         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
41198         New versions for use with the ELFv2 ABI.
41199         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
41200         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
41201         declaration.
41202         (struct La_ppc64v2_retval): Likewise.
41203         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
41204         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
41205         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
41206         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
41207         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
41208         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
41209         Do not save or restore CR.
41210         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
41211         (_dl_profile_resolve): Do no save or restore CR.  Support extended
41212         return values for ELFv2 ABI.  Fix location of FPR return registers.
41213         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
41214         updated values for _CALL_ELF == 2.
41215         (La_regs, La_retval, int_retval): Likewise.
41217 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
41219         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
41220         (FRAME_MIN_SIZE_PARM): Likewise.
41221         (FRAME_BACKCHAIN): Likewise.
41222         (FRAME_CR_SAVE): Likewise.
41223         (FRAME_LR_SAVE): Likewise.
41224         (FRAME_TOC_SAVE): Likewise.
41225         (FRAME_PARM_SAVE): Likewise.
41226         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
41227         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
41228         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
41229         (call_mcount_parm_offset): New macro.
41230         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
41231         (PROF): Use symbolic stack frame offsets.
41232         (TAIL_CALL_SYSCALL_ERROR): Likewise.
41233         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
41234         Redefine in terms of FRAME_MIN_SIZE.
41235         (_dl_runtime_resolve): Use symbolic stack frame offsets.
41236         (_dl_profile_resolve): Likewise.  Update comment.
41237         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
41238         symbols stack frame offsets.
41239         (__sigsetjmp): Likewise.
41240         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
41241         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
41242         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
41243         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
41245         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
41246         (FRAME_BACKCHAIN): Remove.
41247         (FRAME_CR_SAVE): Likewise.
41248         (FRAME_LR_SAVE): Likewise.
41249         (FRAME_COMPILER_DW): Likewise.
41250         (FRAME_LINKER_DW): Likewise.
41251         (FRAME_TOC_SAVE): Likewise.
41252         (FRAME_PARM_SAVE): Likewise.
41253         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
41254         (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
41255         (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
41256         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
41257         (CHECK_SP): Use symbolic stack frame offsets.
41258         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
41259         zone" instead of caller's parameter save area for temp storage.
41260         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
41261         Likewise.  Also, use symbolic stack frame offsets.
41262         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
41263         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
41264         our own stack frame instead of the caller's.
41265         (__socket): Use symbolic stack frame offsets.
41267 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
41268             Alan Modra  <amodra@gmail.com>
41270         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
41271         Define.
41272         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
41273         (PPC64_LOCAL_ENTRY_OFFSET): Define.
41274         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
41275         New function.
41276         (elf_machine_fixup_plt): Call it.
41277         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
41278         reloc arguments.
41279         (elf_machine_rela): Update call to elf_machine_plt_conflict.
41280         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
41281         (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
41282         r2 before calling target.
41284 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
41285             Alan Modra  <amodra@gmail.com>
41287         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
41288         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
41289         versions of macros to support ELFv2 ABI.
41290         (LOCALENTRY): New macro.
41291         (ENTRY, EALIGN): Use it.
41292         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
41293         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
41294         fall through into ENTRY entry point.
41295         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
41296         Only define if _CALL_ELF != 2.
41298         (elf_machine_matches_host): Verify ABI version matches.
41299         (RTLD_START): Use LOCALENTRY.
41300         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
41301         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
41302         (PLT_ENTRY_WORDS): New macro.
41303         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
41304         (elf_machine_runtime_setup): Support ELFv2 ABI.
41305         (elf_machine_fixup_plt): Likewise.
41306         (elf_machine_plt_conflict): Likewise.
41307         (resolve_ifunc): Likewise.
41308         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
41309         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
41310         Likewise.
41311         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
41312         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
41313         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
41314         (makecontext): Support ELFv2 ABI.
41315         * elf/elf.h (EF_PPC64_ABI): Define.
41317 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
41319         * sysdeps/powerpc/powerpc64/sysdep.h
41320         (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
41321         (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
41322         (ENTRY) [ASSEMBLER]: ... but instead here ...
41323         (EALIGN) [ASSEMBLER]: ... and here.
41324         (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
41325         (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
41326         (ENTRY_2) [!ASSEMBLER]: Use it.
41327         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
41328         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
41329         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
41330         (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
41331         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
41332         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
41333         Use PPC64_LOAD_FUNCPTR.
41335         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
41337 2013-12-04  Alan Modra  <amodra@gmail.com>
41339         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
41340         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
41341         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
41342         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
41344         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
41345         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
41346         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
41347         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
41348         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
41349         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
41351 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
41353         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
41354         (__makecontext): Fix incorrect CFI when backtracing out of
41355         context created via makecontext.
41356         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
41357         (__setcontext): Fix incorrect CFI during switch to new context.
41358         (__novec_setcontext): Likewise.
41360 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
41362         [BZ #4772]
41363         * time/strptime_l.c (__strptime_internal): Allow modifiers
41364         in strptime.
41365         * time/tst-strptime.c (day_tests): Add testcase.
41367 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
41369         * scripts/bench.pl: Skip over blank lines.
41371 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
41373         [BZ #926]
41374         * manual/time.texi (Calendar Time): Clarify what timezone functions
41375         use.
41377 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41379         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41381 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
41383         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
41384         implementation.
41385         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
41386         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
41387         * debug/memset_chk.c (__memset_chk): Likewise.
41388         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
41389         * debug/strncpy_chk.c: Likewise.
41391 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
41393         [BZ #15268]
41394         [BZ #15425]
41395         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
41396         (__ieee754_exp): For possibly underflowing results, check size of
41397         result and force underflow exception if required.
41398         * math/auto-libm-test-in: Add more tests of exp.
41399         * math/auto-libm-test-out: Regenerated.
41400         * sysdeps/i386/fpu/libm-test-ulps: Update.
41401         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41403         [BZ #16283]
41404         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
41405         * math/w_exp2f.c (__exp2f): Likewise.
41406         * math/w_exp2l.c (__exp2l): Likewise.
41407         * math/auto-libm-test-in: Do not allow missing errno on exp2
41408         underflow.
41409         * math/auto-libm-test-out: Regenerated.
41411 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
41413         [BZ #16274]
41414         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
41415         handle filename validation.
41416         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
41417         (do_open): Delete.
41419 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
41421         [BZ #6786]
41422         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
41423         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
41424         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
41425         <float.h>.
41426         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
41427         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
41428         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
41429         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
41430         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
41431         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
41432         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
41433         * math/auto-libm-test-in: Don't allow missing errno from erfc.
41434         Add more erfc tests.
41435         * math/auto-libm-test-out: Regenerated.
41436         * sysdeps/i386/fpu/libm-test-ulps: Update.
41437         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41439         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
41440         exp2, expm1, j0 and j1.
41441         * math/auto-libm-test-out: Regenerated.
41442         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
41443         (erfc_test_data): Likewise.
41444         (exp_test_data): Likewise.
41445         (exp_tonearest_test_data): Likewise.
41446         (exp_towardzero_test_data): Likewise.
41447         (exp_downward_test_data): Likewise.
41448         (exp_upward_test_data): Likewise.
41449         (exp10_test_data): Likewise.
41450         (exp2_test_data): Likewise.
41451         (expm1_test_data): Likewise.
41452         (j0_test_data): Likewise.
41453         (j1_test_data): Likewise.
41454         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
41455         (input_flag_type): Add flag_xfail_rounding.
41456         (input_flags): Add xfail-rounding.
41457         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
41458         (output_for_one_input_case): Handle flag_xfail_rounding.
41459         * sysdeps/i386/fpu/libm-test-ulps: Update.
41460         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41462 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
41464         [BZ #16289]
41465         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
41466         division by 0.
41468 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
41470         [BZ #16195]
41471         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
41472         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
41473         (STAP_PROBE0): New macro.
41474         (STAP_PROBE1): Likewise.
41475         (STAP_PROBE2): Likewise.
41476         (STAP_PROBE3): Likewise.
41477         (STAP_PROBE4): Likewise.
41479 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
41481         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
41483 2013-12-02  Steve Ellcey  <sellcey@mips.com>
41485         * benchtests/Makefile (bench): Add sqrt.
41486         (LDLIBS-bench-sqrt): New.
41487         * benchtests/sqrt-input: New.
41489 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
41491         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
41492         (GAIH_EAI): Likewise.
41493         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
41494         (gaih_inet): Likewise.
41495         (getaddrinfo): Don't use GAIH_EAI.
41497         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
41498         (struct gaih): Remove definition.
41500 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
41502         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
41503         Use HERRNOP directly.
41505 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41507         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41509 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
41511         * math/gen-auto-libm-tests.c (test_functions): Add more
41512         single-argument functions.
41513         (special_fill_pi_2): New function.
41514         (special_fill_minus_pi_2): Likewise.
41515         (special_fill_pi_6): Likewise.
41516         (special_fill_minus_pi_6): Likewise.
41517         (special_fill_pi_3): Likewise.
41518         (special_fill_2pi_3): Likewise.
41519         (special_fill_e): Likewise.
41520         (special_fill_1_e): Likewise.
41521         (special_fill_e_minus_1): Likewise.
41522         (special_real_inputs): Add more special inputs.
41523         (output_for_one_input_case): Do not require ERANGE on underflow to
41524         zero if round-to-nearest result does not underflow to zero, unless
41525         exact results required.
41526         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
41527         atan, atanh, cbrt, cos and cosh.
41528         * math/auto-libm-test-out: Regenerated.
41529         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
41530         (acos_tonearest_test_data): Likewise.
41531         (acos_towardzero_test_data): Likewise.
41532         (acos_downward_test_data): Likewise.
41533         (acos_upward_test_data): Likewise.
41534         (acosh_test_data): Likewise.
41535         (asin_test_data): Likewise.
41536         (asin_tonearest_test_data): Likewise.
41537         (asin_towardzero_test_data): Likewise.
41538         (asin_upward_test_data): Likewise.
41539         (asinh_test_data): Likewise.
41540         (atan_test_data): Likewise.
41541         (atanh_test_data): Likewise.
41542         (cbrt_test_data): Likewise.
41543         (cos_test_data): Likewise.
41544         (cos_tonearest_test_data): Likewise.
41545         (cos_towardzero_test_data): Likewise.
41546         (cos_downward_test_data): Likewise.
41547         (cos_upward_test_data): Likewise.
41548         (cosh_test_data): Likewise.
41549         (cosh_tonearest_test_data): Likewise.
41550         (cosh_towardzero_test_data): Likewise.
41551         (cosh_downward_test_data): Likewise.
41552         (cosh_upward_test_data): Likewise.
41553         * sysdeps/i386/fpu/libm-test-ulps: Update.
41554         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41556 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
41558         [BZ #6787]
41559         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
41560         * math/w_exp10f.c (__exp10f): Likewise.
41561         * math/w_exp10l.c (__exp10l): Likewise.
41562         * math/libm-test.inc (exp10_test_data): Add more tests and expect
41563         errno settings in existing tests.
41565         [BZ #14032]
41566         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
41567         precision control set to double precision.
41568         * sysdeps/i386/fpu/w_sqrt.c: New file.
41569         * math/auto-libm-test-in: Add more tests.
41570         * math/auto-libm-test-out: Update.
41572         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
41573         (sqrt_test_tonearest): New function.
41574         (sqrt_towardzero_test_data): New variable.
41575         (sqrt_test_towardzero): New function.
41576         (sqrt_downward_test_data): New variable.
41577         (sqrt_test_downward): New function.
41578         (sqrt_upward_test_data): New variable.
41579         (sqrt_test_upward): New function.
41580         (main): Call the new functions.
41582         * math/gen-auto-libm-tests.c: New file.
41583         * math/auto-libm-test-in: Likewise.
41584         * math/auto-libm-test-out: New generated file.
41585         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
41586         variables.
41587         (%beautify): Add generated representations of zero.
41588         (top level): Set $auto_input and call parse_auto_input.
41589         (beautify): Remove trailing "f" from hex float constants.
41590         (parse_args): Handle XFAIL_TEST.
41591         (convert_condition): New function.
41592         (or_value): Likewise.
41593         (or_cond_value): Likewise.
41594         (generate_testfile): Handle AUTO_TESTS_* lines.
41595         (parse_auto_input): New function.
41596         * math/libm-test.inc (XFAIL_TEST): New macro.
41597         (ERRNO_UNCHANGED): Update value.
41598         (ERRNO_EDOM): Likewise.
41599         (ERRNO_ERANGE): Likewise.
41600         (IGNORE_RESULT): Likewise.
41601         (TEST_COND_flt_32): New macro.
41602         (TEST_COND_dbl_64): Likewise.
41603         (TEST_COND_ldbl_96_intel): Likewise.
41604         (TEST_COND_ldbl_96_m68k): Likewise.
41605         (TEST_COND_ldbl_128): Likewise.
41606         (TEST_COND_ldbl_128ibm): Likewise.
41607         (TEST_COND_long32): Likewise.
41608         (TEST_COND_long64): Likewise.
41609         (TEST_COND_before_rounding): Likewise.
41610         (TEST_COND_after_rounding): Likewise.
41611         (enable_test): Handle XFAIL_TEST flag.
41612         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
41613         with finite results.
41614         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
41615         auto-libm-test-out.
41617 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
41618             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
41620         [BZ #16214]
41621         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
41622         __tls_get_addr_internal instead of __tls_get_offset in order to
41623         avoid GOT pointer dependency.  Make rtld export
41624         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
41625         __tls_get_addr since we are a __tls_get_offset platform.
41626         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
41627         GOT pointer being set up before.
41628         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
41630 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
41632         * manual/math.texi (Errors in Math Functions): Document accuracy
41633         goals.
41635         [BZ #15004]
41636         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
41637         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
41638         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
41639         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
41640         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
41641         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
41642         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
41643         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
41644         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
41645         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
41646         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
41647         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
41648         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
41649         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
41650         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41651         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
41653         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
41654         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
41655         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
41656         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
41657         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
41658         Likewise.
41659         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
41660         Likewise.
41661         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
41662         Likewise.
41663         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
41664         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
41665         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
41666         atomic-feupdateenv and flt-rounds.
41667         * sysdeps/powerpc/nofpu/Versions (libc): Add
41668         __atomic_feholdexcept, __atomic_feclearexcept,
41669         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
41670         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
41671         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
41672         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
41673         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
41674         here.
41675         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
41676         Update.
41678         * manual/arith.texi (FP Exceptions): Document that exceptions may
41679         not be raised when matherr is used.
41680         (Math Error Reporting): Document overflow in directed rounding
41681         modes.  Document that errno may not be set when finite values are
41682         returned on overflow.  Document intent to set errno on underflow
41683         only for underflow to zero.
41685         [BZ #16271]
41686         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
41687         round-to-nearest then adjust result for other rounding modes.
41688         * include/fenv.h (fegetround): Use libm_hidden_proto.
41689         * math/fegetround.c (fegetround): Use libm_hidden_def.
41690         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
41691         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
41692         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
41693         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
41694         Likewise.
41695         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
41696         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
41697         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
41698         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
41700 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
41702         [BZ #16077]
41703         * nss/Versions (libnss_files): Add
41704         _nss_files_gethostbyname3_r.
41705         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
41706         New function.
41707         (HOST_DB_LOOKUP): Remove macro.
41708         (_nss_files_gethostbyname_r): Implement function without the
41709         HOST_DB_LOOKUP macro.
41710         (_nss_files_gethostbyname2_r): Likewise.
41712 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
41714         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
41716 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
41718         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
41719         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
41720         warning.
41722 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41724         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
41725         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
41726         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
41727         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
41728         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
41729         __fe_nomask_env_priv and attribute_hidden.
41730         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
41731         (libc_feupdateenv_test_ppc): Likewise.
41732         (libc_feresetround_ppc): Likewise.
41733         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
41734         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
41735         compat_symbol macro.
41736         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
41737         (__fe_nomask_env): Likewise.
41738         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
41740 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
41742         * string/Makefile: Remove ifunc tests.
41743         * string/test-string.h: Define TEST_IFUNC.
41744         * string/test-bcopy-ifunc.c: Remove.
41745         * string/test-bzero-ifunc.c: Likewise.
41746         * string/test-memccpy-ifunc.c: Likewise.
41747         * string/test-memchr-ifunc.c: Likewise.
41748         * string/test-memcmp-ifunc.c: Likewise.
41749         * string/test-memcpy-ifunc.c: Likewise.
41750         * string/test-memmem-ifunc.c: Likewise.
41751         * string/test-memmove-ifunc.c: Likewise.
41752         * string/test-mempcpy-ifunc.c: Likewise.
41753         * string/test-memrchr-ifunc.c: Likewise.
41754         * string/test-memset-ifunc.c: Likewise.
41755         * string/test-rawmemchr-ifunc.c: Likewise.
41756         * string/test-stpcpy-ifunc.c: Likewise.
41757         * string/test-stpncpy-ifunc.c: Likewise.
41758         * string/test-strcasecmp-ifunc.c: Likewise.
41759         * string/test-strcasestr-ifunc.c: Likewise.
41760         * string/test-strcat-ifunc.c: Likewise.
41761         * string/test-strchr-ifunc.c: Likewise.
41762         * string/test-strchrnul-ifunc.c: Likewise.
41763         * string/test-strcmp-ifunc.c: Likewise.
41764         * string/test-strcpy-ifunc.c: Likewise.
41765         * string/test-strcspn-ifunc.c: Likewise.
41766         * string/test-strlen-ifunc.c: Likewise.
41767         * string/test-strncasecmp-ifunc.c: Likewise.
41768         * string/test-strncat-ifunc.c: Likewise.
41769         * string/test-strncmp-ifunc.c: Likewise.
41770         * string/test-strncpy-ifunc.c: Likewise.
41771         * string/test-strnlen-ifunc.c: Likewise.
41772         * string/test-strpbrk-ifunc.c: Likewise.
41773         * string/test-strrchr-ifunc.c: Likewise.
41774         * string/test-strspn-ifunc.c: Likewise.
41775         * string/test-strstr-ifunc.c: Likewise.
41777 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
41779         * benchtests/Makefile: Remove ifunc tests.
41780         * benchtests/bench-string.h: Define TEST_IFUNC.
41781         * benchtests/bench-bcopy-ifunc.c: Remove.
41782         * benchtests/bench-bzero-ifunc.c: Likewise.
41783         * benchtests/bench-memccpy-ifunc.c: Likewise.
41784         * benchtests/bench-memchr-ifunc.c: Likewise.
41785         * benchtests/bench-memcmp-ifunc.c: Likewise.
41786         * benchtests/bench-memcpy-ifunc.c: Likewise.
41787         * benchtests/bench-memmem-ifunc.c: Likewise.
41788         * benchtests/bench-memmove-ifunc.c: Likewise.
41789         * benchtests/bench-mempcpy-ifunc.c: Likewise.
41790         * benchtests/bench-memrchr-ifunc.c: Likewise.
41791         * benchtests/bench-memset-ifunc.c: Likewise.
41792         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
41793         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
41794         * benchtests/bench-stpcpy-ifunc.c: Likewise.
41795         * benchtests/bench-stpncpy-ifunc.c: Likewise.
41796         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
41797         * benchtests/bench-strcasestr-ifunc.c: Likewise.
41798         * benchtests/bench-strcat-ifunc.c: Likewise.
41799         * benchtests/bench-strchr-ifunc.c: Likewise.
41800         * benchtests/bench-strchrnul-ifunc.c: Likewise.
41801         * benchtests/bench-strcmp-ifunc.c: Likewise.
41802         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
41803         * benchtests/bench-strcpy-ifunc.c: Likewise.
41804         * benchtests/bench-strcspn-ifunc.c: Likewise.
41805         * benchtests/bench-strlen-ifunc.c: Likewise.
41806         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
41807         * benchtests/bench-strncat-ifunc.c: Likewise.
41808         * benchtests/bench-strncmp-ifunc.c: Likewise.
41809         * benchtests/bench-strncpy-ifunc.c: Likewise.
41810         * benchtests/bench-strnlen-ifunc.c: Likewise.
41811         * benchtests/bench-strpbrk-ifunc.c: Likewise.
41812         * benchtests/bench-strrchr-ifunc.c: Likewise.
41813         * benchtests/bench-strsep-ifunc.c: Likewise.
41814         * benchtests/bench-strspn-ifunc.c: Likewise.
41815         * benchtests/bench-strstr-ifunc.c: Likewise.
41817 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
41819         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
41821 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
41823         * resolv/netdb.h: Use __glibc_reserved instead __unused.
41824         * rt/aio.h: Likewise.
41825         * sysdeps/gnu/bits/utmp.h: Likewise.
41826         * sysdeps/gnu/bits/utmpx.h: Likewise.
41827         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
41828         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
41829         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
41830         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
41831         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
41832         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
41833         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
41834         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
41835         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
41836         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
41837         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
41838         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
41839         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
41840         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
41841         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
41842         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
41843         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
41844         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
41845         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
41846         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
41847         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
41848         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
41849         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
41850         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
41851         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
41852         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
41853         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
41854         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
41855         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
41856         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
41857         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
41858         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
41859         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
41860         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
41861         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
41862         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
41863         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
41864         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
41865         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
41866         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
41867         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
41868         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
41870 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
41872         [BZ #16245]
41873         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
41874         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
41876 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
41878         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
41879         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
41880         Likewise.
41882 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41884         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
41885         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
41886         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
41887         (__fesetround): Remove define.
41888         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
41889         rounding and exceptions handling.
41890         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
41891         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
41892         (__fe_nomask_env): Likewise.
41893         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
41894         __fegetround instead of fegetround.
41895         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
41896         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
41898 2013-11-21  Roland McGrath  <roland@hack.frob.com>
41900         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
41901         it's there.
41903         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
41905 2013-11-21  Meador Inge  <meadori@codesourcery.com>
41907         [BZ #11157]
41908         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
41909         (encrypt_r): Likewise.
41910         * malloc/obstack.h (obstack_free): Likewise.
41911         * posix/unistd.h (encrypt): Likewise.
41913 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
41915         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
41916         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
41917         DL_CALL_DT_FINI() that call the functions directly.
41918         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
41919         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
41920         * elf/dl-fini.c: Likewise.
41922 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
41924         * malloc/hooks.c (memalign_check): Add alignment rounding.
41925         * malloc/malloc.c (_mid_memalign): New function.
41926         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
41927         Implement by calling _mid_memalign.
41928         * manual/probes.texi (Memory Allocation Probes): Remove
41929         memory_valloc_retry and memory_pvalloc_retry.
41931 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
41933         * locale/programs/locarchive.c (open_archive): Add const
41934         qualifier to ARCHIVEFNAME and copy default fname to
41935         DEFAULT_FNAME.
41937         [BZ #15601]
41938         * libio/tst-widetext.input: Rename Oriya to Odia.
41939         * locale/iso-639.def: Likewise.
41941         * manual/probes.texi (Mathematical Function Probes): Add
41942         documentation for sin, cos, asin and acos probes.
41943         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
41944         (__sin32): Add slowasin probe.
41945         (__cos32): Add slowacos probe.
41946         (__mpsin): Add slowsin probe.
41947         (__mpcos): Add slowcos probe.
41949 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
41951         [BZ #15483]
41952         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
41953         thread-local __sim_exceptions_thread and global
41954         __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         (__simulate_exceptions): Use thread-local floating-point state and
41961         set global state from it as needed.
41962         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
41963         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
41964         __sim_round_mode_thread.
41965         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
41966         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
41967         and global __sim_exceptions_global.
41968         (__sim_disabled_exceptions): Change to thread-local
41969         __sim_disabled_exceptions_thread and global
41970         __sim_disabled_exceptions_global.
41971         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
41972         and global __sim_round_mode_global.
41973         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
41974         (SIM_SET_GLOBAL): Likewise.
41975         * sysdeps/powerpc/soft-fp/sfp-machine.h
41976         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
41977         __sim_round_mode_thread.
41978         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
41979         __sim_disabled_exceptions_thread.
41980         (__sim_exceptions): Change to __sim_exceptions_thread.
41981         (__sim_disabled_exceptions): Change to
41982         __sim_disabled_exceptions_thread.
41983         (__sim_round_mode): Change to __sim_round_mode_thread.
41984         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
41985         thread-local floating-point state and set global state from it as
41986         needed.
41987         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
41988         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
41989         (__sim_disabled_exceptions): Remove extern declaration.
41990         (feenableexcept): Use thread-local floating-point state and set
41991         global state from it as needed.
41992         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
41993         extern declaration.
41994         (__sim_disabled_exceptions): Likewise.
41995         (__sim_round_mode): Likewise.
41996         (__fegetenv): Use thread-local floating-point state.
41997         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
41998         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
41999         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
42000         floating-point state and set global state from it as needed.
42001         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
42002         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
42003         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
42004         Likewise.
42005         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
42006         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
42007         Likewise.
42008         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
42009         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
42010         Use __sim_round_mode_thread.
42011         * math/test-fenv-tls.c: New file.
42012         * math/Makefile (tests): Add test-fenv-tls.
42013         ($(objpfx)test-fenv-tls): Depend on
42014         $(common-objpfx)nptl/libpthread.so.
42016 2013-11-19  Andreas Schwab  <schwab@suse.de>
42018         * locale/programs/locale.c (show_info): Decode wordarray elements.
42019         * locale/categories.def (LC_MONETARY): Add element for
42020         _NL_MONETARY_CRNCYSTR.
42021         * locale/C-monetary.c (conversion_rate): New variable.
42022         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
42023         element.
42025 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
42027         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
42028         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
42030 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
42032         * elf/Makefile (tst-auxv): New test.
42033         * elf/tst-auxv.c: New
42034         * elf/rtld.c (dl_main): Adjust AT_EXECFN
42036 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
42038         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
42039         (hidden_proto): Caller changed.
42040         (hidden_tls_proto): New macro.
42041         (libc_hidden_tls_proto): Likewise.
42042         (rtld_hidden_tls_proto): Likewise.
42043         (libm_hidden_tls_proto): Likewise.
42044         (libresolv_hidden_tls_proto): Likewise.
42045         (librt_hidden_tls_proto): Likewise.
42046         (libdl_hidden_tls_proto): Likewise.
42047         (libnss_files_hidden_tls_proto): Likewise.
42048         (libnsl_hidden_tls_proto): Likewise.
42049         (libnss_nisplus_hidden_tls_proto): Likewise.
42050         (libutil_hidden_tls_proto): Likewise.
42052 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
42054         [BZ #10253]
42055         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
42056         (decompose_rpath): Defer expansion to fillin_rpath.
42057         (_dl_init_paths): Pass linkmap to fillin_rpath.
42059 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
42061         * benchtests/Makefile: Add strsep.
42062         * benchtests/bench-strsep.c: New file: strsep benchtest.
42063         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
42065 2013-11-18  Andreas Schwab  <schwab@suse.de>
42067         * locale/programs/locale.c (show_info) [case byte]: Check for
42068         '\377' instead of '\177'.
42069         * locale/C-monetary.c (not_available): Always use "\377".
42070         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
42071         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
42072         detect unavailable sign_posn locale elements.
42073         * locale/localeconv.c (__localeconv): For grouping and
42074         mon_grouping handle "\177" and "\377" like no grouping.
42075         (INT_ELEM): New macro.  Use it to set all numeric members.
42076         * locale/programs/ld-monetary.c (monetary_read)
42077         <tok_mon_grouping>: Normalize single -1 to the empty string.
42078         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
42079         Likewise.
42081 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
42083         [BZ #16055]
42084         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
42085         when we match (nil).
42086         * stdio-common/tst-sscanf.c (struct test): Add testcase.
42088 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
42090         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
42091         (NO_TEST_INLINE): Update value.
42092         (ERRNO_UNCHANGED): Likewise.
42093         (ERRNO_EDOM): Likewise.
42094         (ERRNO_ERANGE): Likewise.
42095         (IGNORE_RESULT): Likewise.
42096         (check_float_internal): Check signs of NaN results if
42097         TEST_NAN_SIGN used.
42098         (check_complex): Pass TEST_NAN_SIGN flag through to second
42099         check_float_internal call.
42100         (copysign_test_data): Add tests with quiet NaNs as second
42101         argument.  Use TEST_NAN_SIGN.
42102         (fabs_test_data): Add test of negative quiet NaN argument.  Use
42103         TEST_NAN_SIGN.
42104         (signbit_test_data): Add tests of quiet NaN argument.
42105         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
42107         * math/gen-libm-test.pl (show_exceptions): Take extra argument
42108         $ignore_result.
42109         (parse_args): Handle function results specified as IGNORE.
42110         * math/libm-test.inc (IGNORE_RESULT): New macro.
42111         (check_float_internal): Do not check numerical result if flag
42112         IGNORE_RESULT set.
42113         (check_complex): Pass through IGNORE_RESULT to second
42114         check_float_internal call.
42115         (check_int): Do not check numerical result if flag IGNORE_RESULT
42116         set.
42117         (check_long): Likewise.
42118         (check_bool): Likewise.
42119         (check_longlong): Likewise.
42120         (lrint_test_data): Add tests of infinite and NaN arguments.
42121         (lrint_tonearest_test_data): Likewise.
42122         (lrint_towardzero_test_data): Likewise.
42123         (lrint_downward_test_data): Likewise.
42124         (lrint_upward_test_data): Likewise.
42125         (llrint_test_data): Likewise.
42126         (llrint_tonearest_test_data): Likewise.
42127         (llrint_towardzero_test_data): Likewise.
42128         (llrint_downward_test_data): Likewise.
42129         (llrint_upward_test_data): Likewise.
42130         (lround_test_data): Likewise.
42131         (llround_test_data): Likewise.
42133         * math/libm-test.inc (NO_TEST_INLINE): New macro.
42134         (ERRNO_UNCHANGED): Update value.
42135         (ERRNO_EDOM): Likewise.
42136         (ERRNO_ERANGE): Likewise.
42137         (NO_TEST_INLINE_FLOAT): New macro.
42138         (NO_TEST_INLINE_DOUBLE): Likewise.
42139         (enable_test): New function.
42140         (RUN_TEST_f_f): Check enable_test before running test.
42141         (RUN_TEST_2_f): Likewise.
42142         (RUN_TEST_fff_f): Likewise.
42143         (RUN_TEST_c_f): Likewise.
42144         (RUN_TEST_f_f1): Likewise.
42145         (RUN_TEST_fF_f1): Likewise.
42146         (RUN_TEST_fI_f1): Likewise.
42147         (RUN_TEST_ffI_f1): Likewise.
42148         (RUN_TEST_c_c): Likewise.
42149         (RUN_TEST_cc_c): Likewise.
42150         (RUN_TEST_f_i): Likewise.
42151         (RUN_TEST_f_i_tg): Likewise.
42152         (RUN_TEST_ff_i_tg): Likewise.
42153         (RUN_TEST_f_b): Likewise.
42154         (RUN_TEST_f_b_tg): Likewise.
42155         (RUN_TEST_f_l): Likewise.
42156         (RUN_TEST_f_L): Likewise.
42157         (RUN_TEST_fFF_11): Likewise.
42158         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
42159         conditionals.
42160         (cosh_test_data): Likewise.
42161         (exp_test_data): Likewise.
42162         (expm1_test_data): Likewise.
42163         (hypot_test_data): Likewise.
42164         (pow_test_data): Likewise.
42165         (sinh_test_data): Likewise.
42166         (tanh_test_data): Likewise.
42167         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
42168         flags argument.
42170         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
42171         tests with quiet NaN input and output.
42172         (acosh_test_data): Likewise.
42173         (asin_test_data): Likewise.
42174         (asinh_test_data): Likewise.
42175         (atan_test_data): Likewise.
42176         (atanh_test_data): Likewise.
42177         (atan2_test_data): Likewise.
42178         (cbrt_test_data): Likewise.
42179         (cos_test_data): Likewise.
42180         (cosh_test_data): Likewise.
42181         (erf_test_data): Likewise.
42182         (erfc_test_data): Likewise.
42183         (exp_test_data): Likewise.
42184         (exp10_test_data): Likewise.
42185         (exp2_test_data): Likewise.
42186         (expm1_test_data): Likewise.
42187         (hypot_test_data): Likewise.
42188         (j0_test_data): Likewise.
42189         (j1_test_data): Likewise.
42190         (jn_test_data): Likewise.
42191         (lgamma_test_data): Likewise.
42192         (log_test_data): Likewise.
42193         (log10_test_data): Likewise.
42194         (log1p_test_data): Likewise.
42195         (log2_test_data): Likewise.
42196         (pow_test_data): Likewise.
42197         (scalb_test_data): Likewise.
42198         (sin_test_data): Likewise.
42199         (sincos_test_data): Likewise.
42200         (sinh_test_data): Likewise.
42201         (tan_test_data): Likewise.
42202         (tanh_test_data): Likewise.
42203         (tgamma_test_data): Likewise.
42204         (y0_test_data): Likewise.
42205         (y1_test_data): Likewise.
42206         (yn_test_data): Likewise.
42208         [BZ #16167]
42209         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
42210         argument being NaN and avoid computations with second argument in
42211         that case.
42212         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
42213         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
42214         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
42216 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
42218         * locale/iso-639.def: Add Chitwani Tharu (the).
42220 2013-11-14  Andreas Schwab  <schwab@suse.de>
42222         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
42223         word instead of empty string.
42225 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42227         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
42228         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
42229         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
42230         (__fe_nomask_env): Likewise.
42232 2013-11-13  Steve Ellcey  <sellcey@mips.com>
42234         * benchtests/bench-timing.h: Include time.h.
42236 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
42238         [BZ #15997]
42239         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
42240         to 3.4.0 for x32.
42241         * sysdeps/unix/sysv/linux/configure: Regenerated.
42243 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
42245         [BZ #16151]
42246         * stdlib/strtod_l.c (round_and_return): Do not consider
42247         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
42248         exponent one less than half the least subnormal exponent.
42249         * stdlib/test-strtod-round-data: Add more tests.
42250         * stdlib/tst-strtod-round.c (tests): Regenerated.
42252 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42254         [BZ #14143]
42255         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
42256         (__fe_mask_env): Likewise.
42257         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
42258         libm_hidden_proto and add function prototype.
42259         (__fe_mask_env): Add function prototype.
42260         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
42261         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
42262         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
42263         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
42264         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
42265         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
42267 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
42269         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
42270         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
42272 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
42274         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
42275         of htab_find_slot().
42277 2013-11-11  David S. Miller  <davem@davemloft.net>
42279         [BZ #16150]
42280         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
42281         symbol in the non-vis3 case in static builds.
42282         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
42283         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
42284         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
42285         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
42287 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
42289         [BZ #387]
42290         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
42291         it is empty.
42293 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42295         * benchtests/Makefile: Add bench-strtod.
42296         * benchtests/bench-strtod.c: New file: strtod benchtest
42298 2013-11-11  Andreas Schwab  <schwab@suse.de>
42300         [BZ #16153]
42301         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
42302         terminating NUL in key length.
42304 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42306         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
42307         Add artificial ODP entry for vDSO symbol for PPC64.
42308         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
42309         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
42311 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
42313         [BZ #15374]
42314         * nss/getent.c (services_keys): Recognize services starting with digit.
42316 2013-11-06  David S. Miller  <davem@davemloft.net>
42318         [BZ #15985]
42319         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
42320         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
42322 2013-11-06  Will Newton  <will.newton@linaro.org>
42324         * manual/memory.texi (Malloc Examples): Remove register
42325         keyword from examples.
42327 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
42329         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
42331 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
42333         [BZ #6981]
42334         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
42335         depending on [__GCC_IEC_559 > 0].
42336         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
42337         depending on [__GCC_IEC_559_COMPLEX > 0].
42339 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
42341         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
42342         to iso-639.def.
42344 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
42346         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
42348 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
42350         [BZ #16112]
42351         * malloc/malloc (malloc_info): Do not handle first bin as
42352         special case.
42354 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
42356         * locale/iso-639.def: Add Central Nahuatl (nhn).
42358 2013-11-01  Bruno Haible  <bruno@clisp.org>
42360         [BZ #7003]
42361         * manual/math.texi (BSD Random): Specify range upper bound as
42362         in POSIX.
42364 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
42366         * locale/iso-639.def: Add Meadow Mari (mhr).
42368 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
42370         [BZ #14752], [BZ #15763]
42371         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
42372         Validate name.
42373         * rt/tst_shm.c: Add test for escaping directory.
42375 2013-10-31  Andreas Schwab  <schwab@suse.de>
42377         [BZ #15917]
42378         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
42379         followed by 'x' as part of digit sequence.
42380         * stdio-common/tst-sscanf.c (double_tests2): New tests.
42382 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
42384         [BZ #16037]
42385         * configure.ac: allow GNU Make 4.0 and greater.
42386         * configure: Regenerated.
42388 2013-10-30  Will Newton  <will.newton@linaro.org>
42390         [BZ #16038]
42391         * malloc/hooks.c (memalign_check): Limit alignment to the
42392         maximum representable power of two.
42393         * malloc/malloc.c (__libc_memalign): Likewise.
42394         * malloc/tst-memalign.c (do_test): Add test for very
42395         large alignment values.
42396         * malloc/tst-posix_memalign.c (do_test): Likewise.
42398 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
42400         [BZ #11087]
42401         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
42402         (munmap_chunk): Likewise.
42403         (mremap_chunk): Likewise.
42405 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
42407         [BZ #15799]
42408         * stdlib/div.c (div): Remove obsolete code.
42409         * stdlib/ldiv.c (ldiv): Likewise.
42410         * stdlib/lldiv.c (lldiv): Likewise.
42412 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
42414         [BZ #16071]
42415         * nss/nss_files/files-XXX.c (get_contents_ret): New
42416         enumerator.
42417         (get_contents): New function.
42418         (internal_getent): Use it.  Expand size of LINEBUFLEN.
42420 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
42422         * configure.in: Moved to ...
42423         * configure.ac: ... here. Change reference to configure.in
42424         to configure.ac.
42425         * sysdeps/arm/preconfigure.ac: ... here.
42426         configure.in to configure.ac.
42427         * sysdeps/gnu/configure.in: Moved to ...
42428         * sysdeps/gnu/configure.ac: ... here.
42429         * sysdeps/i386/configure.in: Moved to ...
42430         * sysdeps/i386/configure.ac: ... here.
42431         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
42432         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
42433         * sysdeps/mach/configure.in: Moved to ...
42434         * sysdeps/mach/configure.ac: ... here.
42435         * sysdeps/mach/hurd/configure.in: Moved to ...
42436         * sysdeps/mach/hurd/configure.ac: ... here.
42437         * sysdeps/powerpc/configure.in: Moved to ...
42438         * sysdeps/powerpc/configure.ac: ... here.
42439         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
42440         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
42441         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
42442         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
42443         * sysdeps/s390/s390-32/configure.in: Moved to ...
42444         * sysdeps/s390/s390-32/configure.ac: ... here.
42445         * sysdeps/s390/s390-64/configure.in: Moved to ...
42446         * sysdeps/s390/s390-64/configure.ac: ... here.
42447         * sysdeps/sh/configure.in: Moved to ...
42448         * sysdeps/sh/configure.ac: ... here.
42449         * sysdeps/sparc/configure.in: Moved to ...
42450         * sysdeps/sparc/configure.ac: ... here.
42451         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
42452         * sysdeps/unix/sysv/linux/configure.ac: ... here.
42453         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
42454         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
42455         * sysdeps/x86_64/configure.in: Moved to ...
42456         * sysdeps/x86_64/configure.ac: ... here.
42457         * sysdeps/x86_64/preconfigure.in: Moved to ...
42458         * sysdeps/x86_64/preconfigure.ac: ... here.
42459         * aclocal.m4: Change reference to configure.in to configure.ac.
42460         * config.h.in: Likewise.
42461         * manual/install.texi: Likewise.
42462         * manual/maint.texi: Likewise.
42463         * Makefile: Likewise.
42464         * malloc/Makefile: Likewise.
42465         * nscd/Makefile: Likewise.
42466         * Makeconfig: Change reference to configure.in and
42467         preconfigure.in to configure.ac and preconfigure.ac
42468         respectively.
42469         * INSTALL: Regenerated.
42470         * configure: Likewise.
42471         * sysdeps/gnu/configure: Likewise.
42472         * sysdeps/i386/configure: Likewise.
42473         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
42474         * sysdeps/mach/configure: Likewise.
42475         * sysdeps/mach/hurd/configure: Likewise.
42476         * sysdeps/powerpc/configure: Likewise.
42477         * sysdeps/powerpc/powerpc32/configure: Likewise.
42478         * sysdeps/powerpc/powerpc64/configure: Likewise.
42479         * sysdeps/s390/s390-32/configure: Likewise.
42480         * sysdeps/s390/s390-64/configure: Likewise.
42481         * sysdeps/sh/configure: Likewise.
42482         * sysdeps/sparc/configure: Likewise.
42483         * sysdeps/unix/sysv/linux/configure: Likewise.
42484         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
42485         * sysdeps/x86_64/configure: Likewise.
42486         * sysdeps/x86_64/preconfigure: Likewise.
42488 2013-10-29  Andreas Schwab  <schwab@suse.de>
42490         * stdio-common/Makefile (tst-swscanf-ENV): Define.
42492 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
42494         * benchtests/pow-inputs: Add new inputs.
42496         * benchtests/exp-inputs: Add new inputs.
42498         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
42499         conditional check for return value.
42500         (__cos32): Likewise.
42502 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42504         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
42505         to provide a boost for large inputs with word alignment.
42506         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
42507         implementation based on optimized PPC64 strcpy.
42508         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
42509         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
42510         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
42511         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
42513 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
42515         [BZ #2801]
42516         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
42518 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
42520         [BZ #14876]
42521         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
42522         * time/tst-strptime.c (day_tests): Add testcase.
42524 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
42526         [BZ #14029]
42527         * manual/pattern.texi: Acknowledge that fnmatch can fail.
42529 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
42531         [BZ #16074]
42532         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
42533         MAP_FAILED on error.
42535 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
42537         [BZ #16072]
42538         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
42539         heap for large requests.
42541 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
42543         [BZ #9954]
42544         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
42545         result if the result has no associated interface.
42546         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
42547         interface for all 127.X.Y.Z addresses.
42549 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
42551         * locale/iso-639.def: Add Ligurian (lij)
42553 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
42555         [BZ #15825]
42556         * sunrpc/rpc_main.c: Document rpcgen -5.
42558 2013-10-19  Michael Stahl  <mstahl@redhat.com>
42560         * elf/rtld.c (do_preload): Print the reason why preloading failed.
42562 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
42564         [BZ #10278]
42565         * posix/glob.c: Match only directories when trailing slash is present.
42566         * posix/tst-gnuglob.c (my_opendir): Do not open files.
42567         (main): Add testcase.
42569 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
42571         [BZ #15670]
42572         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
42574 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
42576         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
42577         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
42578         AUTH_DES and cindex for FIPS 140-2.
42579         (DES Encryption): Add cindex FIPS 46-3.
42581         * locale/locarchive.h (struct locarhandle): Add fname.
42582         * locale/programs/localedef.c (main): Pass ARGV[remaining]
42583         if an optional argument was specified to --list-archive,
42584         otherwise NULL.
42585         * locale/programs/locarchive.c (show_archive_content): Take new
42586         argument fname and pass it via ah.fname to open_archive.
42587         * locale/programs/localedef.h: Update decl.
42588         (open_archive): If AH->fname is non-null, open that file
42589         rather than the default file name, and don't ignore ENOENT.
42590         (create_archive): Set AH.fname to NULL.
42591         (delete_locales_from_archive): Likewise.
42592         (add_locales_to_archive): Likewise.
42593         * locale/programs/locfile.c (write_all_categories): Likewise.
42595 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
42596             Aldy Hernandez  <aldyh@redhat.com>
42598         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
42599         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
42600         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
42601         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
42602         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
42603         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
42604         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
42605         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
42606         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
42607         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
42608         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
42609         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
42610         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
42611         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
42612         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
42613         Likewise.
42614         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
42615         Likewise.
42616         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
42617         Likewise.
42618         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
42619         Likewise.
42620         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
42621         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
42622         Likewise.
42623         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
42624         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
42625         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
42626         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
42627         Likewise.
42628         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
42629         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
42630         * sysdeps/powerpc/preconfigure: Likewise.
42631         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
42632         Likewise.
42633         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
42634         Replace contents of file by #include of <fenv_libc.h>.
42635         * sysdeps/powerpc/soft-fp/sfp-machine.h
42636         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
42637         and <sys/prctl.h>.
42638         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
42639         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
42640         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
42641         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
42642         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
42643         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
42644         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
42645         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
42646         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
42647         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
42648         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
42649         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
42650         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
42651         Allow copysignl PLT reference to be missing.
42653 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
42654             Joseph Myers  <joseph@codesourcery.com
42656         [BZ #15948]
42657         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
42658         single character.
42659         (add_to_tablewc): Assert sequence of wide characters is nonempty.
42661 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
42663         * elf/tst-tls-dlinfo.c: Don't include tls.h.
42664         * elf/tst-tls1.c: Likewise.
42665         * elf/tst-tls10.h: Likewise.
42666         * elf/tst-tls14.c: Likewise.
42667         * elf/tst-tls2.c: Likewise.
42668         * elf/tst-tls3.c: Likewise.
42669         * elf/tst-tls4.c: Likewise.
42670         * elf/tst-tls5.c: Likewise.
42671         * elf/tst-tls6.c: Likewise.
42672         * elf/tst-tls7.c: Likewise.
42673         * elf/tst-tls8.c: Likewise.
42674         * elf/tst-tls9.c: Likewise.
42675         * elf/tst-tlsmod1.c: Likewise.
42676         * elf/tst-tlsmod13.c: Likewise.
42677         * elf/tst-tlsmod13a.c: Likewise.
42678         * elf/tst-tlsmod14a.c: Likewise.
42679         * elf/tst-tlsmod16a.c: Likewise.
42680         * elf/tst-tlsmod16b.c: Likewise.
42681         * elf/tst-tlsmod2.c: Likewise.
42682         * elf/tst-tlsmod3.c: Likewise.
42683         * elf/tst-tlsmod4.c: Likewise.
42684         * elf/tst-tlsmod5.c: Likewise.
42685         * elf/tst-tlsmod6.c: Likewise.
42687 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
42689         [BZ #12486]
42690         * malloc/malloc.c: remove checks for statistics.
42692 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
42694         [BZ #15277]
42695         * inet/inet_net.c (inet_network): Detect additional invalid strings.
42696         * inet/tst-network.c: Add testcase.
42698 2013-10-17  Andreas Schwab  <schwab@suse.de>
42700         [BZ #15218]
42701         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
42702         to determine canonical name.
42704 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
42706         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
42707         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
42708         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
42709         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
42710         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
42711         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
42712         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
42713         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
42714         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
42715         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
42716         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
42717         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
42718         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
42719         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
42720         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
42721         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
42722         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
42723         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
42724         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
42725         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
42726         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
42727         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
42728         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
42729         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
42730         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
42731         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
42732         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
42733         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
42734         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
42735         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
42736         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
42737         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
42738         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
42739         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
42740         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
42741         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
42742         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
42743         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
42744         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
42745         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
42746         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
42747         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
42748         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
42749         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
42750         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
42751         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
42752         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
42753         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
42754         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
42755         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
42756         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
42757         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
42758         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
42759         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
42760         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
42761         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
42762         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
42763         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
42765 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
42767         [BZ #16041]
42768         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
42769         make result into a quiet NaN.
42771 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
42773         * soft-fp/adddf3.c: Fix horizontal whitespace.
42774         * soft-fp/addsf3.c: Likewise.
42775         * soft-fp/addtf3.c: Likewise.
42776         * soft-fp/divdf3.c: Likewise.
42777         * soft-fp/divsf3.c: Likewise.
42778         * soft-fp/divtf3.c: Likewise.
42779         * soft-fp/double.h: Likewise.
42780         * soft-fp/eqdf2.c: Likewise.
42781         * soft-fp/eqsf2.c: Likewise.
42782         * soft-fp/eqtf2.c: Likewise.
42783         * soft-fp/extenddftf2.c: Likewise.
42784         * soft-fp/extended.h: Likewise.
42785         * soft-fp/extendsfdf2.c: Likewise.
42786         * soft-fp/extendsftf2.c: Likewise.
42787         * soft-fp/extendxftf2.c: Likewise.
42788         * soft-fp/fixdfdi.c: Likewise.
42789         * soft-fp/fixdfsi.c: Likewise.
42790         * soft-fp/fixdfti.c: Likewise.
42791         * soft-fp/fixsfdi.c: Likewise.
42792         * soft-fp/fixsfsi.c: Likewise.
42793         * soft-fp/fixsfti.c: Likewise.
42794         * soft-fp/fixtfdi.c: Likewise.
42795         * soft-fp/fixtfsi.c: Likewise.
42796         * soft-fp/fixtfti.c: Likewise.
42797         * soft-fp/fixunsdfdi.c: Likewise.
42798         * soft-fp/fixunsdfsi.c: Likewise.
42799         * soft-fp/fixunsdfti.c: Likewise.
42800         * soft-fp/fixunssfdi.c: Likewise.
42801         * soft-fp/fixunssfsi.c: Likewise.
42802         * soft-fp/fixunssfti.c: Likewise.
42803         * soft-fp/fixunstfdi.c: Likewise.
42804         * soft-fp/fixunstfsi.c: Likewise.
42805         * soft-fp/fixunstfti.c: Likewise.
42806         * soft-fp/floatdidf.c: Likewise.
42807         * soft-fp/floatdisf.c: Likewise.
42808         * soft-fp/floatditf.c: Likewise.
42809         * soft-fp/floatsidf.c: Likewise.
42810         * soft-fp/floatsisf.c: Likewise.
42811         * soft-fp/floatsitf.c: Likewise.
42812         * soft-fp/floattidf.c: Likewise.
42813         * soft-fp/floattisf.c: Likewise.
42814         * soft-fp/floattitf.c: Likewise.
42815         * soft-fp/floatundidf.c: Likewise.
42816         * soft-fp/floatundisf.c: Likewise.
42817         * soft-fp/floatunditf.c: Likewise.
42818         * soft-fp/floatunsidf.c: Likewise.
42819         * soft-fp/floatunsisf.c: Likewise.
42820         * soft-fp/floatunsitf.c: Likewise.
42821         * soft-fp/floatuntidf.c: Likewise.
42822         * soft-fp/floatuntisf.c: Likewise.
42823         * soft-fp/floatuntitf.c: Likewise.
42824         * soft-fp/fmadf4.c: Likewise.
42825         * soft-fp/fmasf4.c: Likewise.
42826         * soft-fp/fmatf4.c: Likewise.
42827         * soft-fp/gedf2.c: Likewise.
42828         * soft-fp/gesf2.c: Likewise.
42829         * soft-fp/getf2.c: Likewise.
42830         * soft-fp/ledf2.c: Likewise.
42831         * soft-fp/lesf2.c: Likewise.
42832         * soft-fp/letf2.c: Likewise.
42833         * soft-fp/muldf3.c: Likewise.
42834         * soft-fp/mulsf3.c: Likewise.
42835         * soft-fp/multf3.c: Likewise.
42836         * soft-fp/negdf2.c: Likewise.
42837         * soft-fp/negsf2.c: Likewise.
42838         * soft-fp/negtf2.c: Likewise.
42839         * soft-fp/op-1.h: Likewise.
42840         * soft-fp/op-2.h: Likewise.
42841         * soft-fp/op-4.h: Likewise.
42842         * soft-fp/op-8.h: Likewise.
42843         * soft-fp/op-common.h: Likewise.
42844         * soft-fp/quad.h: Likewise.
42845         * soft-fp/single.h: Likewise.
42846         * soft-fp/soft-fp.h: Likewise.
42847         * soft-fp/sqrtdf2.c: Likewise.
42848         * soft-fp/sqrtsf2.c: Likewise.
42849         * soft-fp/sqrttf2.c: Likewise.
42850         * soft-fp/subdf3.c: Likewise.
42851         * soft-fp/subsf3.c: Likewise.
42852         * soft-fp/subtf3.c: Likewise.
42853         * soft-fp/truncdfsf2.c: Likewise.
42854         * soft-fp/trunctfdf2.c: Likewise.
42855         * soft-fp/trunctfsf2.c: Likewise.
42856         * soft-fp/trunctfxf2.c: Likewise.
42857         * soft-fp/unorddf2.c: Likewise.
42858         * soft-fp/unordsf2.c: Likewise.
42859         * soft-fp/unordtf2.c: Likewise.
42861 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
42863         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
42864         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
42866 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
42868         * elf/dl-libc.c: Clear initfini list after freeing.
42870 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
42872         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
42873         * soft-fp/addsf3.c: Likewise.
42874         * soft-fp/addtf3.c: Likewise.
42875         * soft-fp/divdf3.c: Likewise.
42876         * soft-fp/divsf3.c: Likewise.
42877         * soft-fp/divtf3.c: Likewise.
42878         * soft-fp/double.h: Likewise.
42879         * soft-fp/eqdf2.c: Likewise.
42880         * soft-fp/eqsf2.c: Likewise.
42881         * soft-fp/eqtf2.c: Likewise.
42882         * soft-fp/extenddftf2.c: Likewise.
42883         * soft-fp/extended.h: Likewise.
42884         * soft-fp/extendsfdf2.c: Likewise.
42885         * soft-fp/extendsftf2.c: Likewise.
42886         * soft-fp/extendxftf2.c: Likewise.
42887         * soft-fp/fixdfdi.c: Likewise.
42888         * soft-fp/fixdfsi.c: Likewise.
42889         * soft-fp/fixdfti.c: Likewise.
42890         * soft-fp/fixsfdi.c: Likewise.
42891         * soft-fp/fixsfsi.c: Likewise.
42892         * soft-fp/fixsfti.c: Likewise.
42893         * soft-fp/fixtfdi.c: Likewise.
42894         * soft-fp/fixtfsi.c: Likewise.
42895         * soft-fp/fixtfti.c: Likewise.
42896         * soft-fp/fixunsdfdi.c: Likewise.
42897         * soft-fp/fixunsdfsi.c: Likewise.
42898         * soft-fp/fixunsdfti.c: Likewise.
42899         * soft-fp/fixunssfdi.c: Likewise.
42900         * soft-fp/fixunssfsi.c: Likewise.
42901         * soft-fp/fixunssfti.c: Likewise.
42902         * soft-fp/fixunstfdi.c: Likewise.
42903         * soft-fp/fixunstfsi.c: Likewise.
42904         * soft-fp/fixunstfti.c: Likewise.
42905         * soft-fp/floatdidf.c: Likewise.
42906         * soft-fp/floatdisf.c: Likewise.
42907         * soft-fp/floatditf.c: Likewise.
42908         * soft-fp/floatsidf.c: Likewise.
42909         * soft-fp/floatsisf.c: Likewise.
42910         * soft-fp/floatsitf.c: Likewise.
42911         * soft-fp/floattidf.c: Likewise.
42912         * soft-fp/floattisf.c: Likewise.
42913         * soft-fp/floattitf.c: Likewise.
42914         * soft-fp/floatundidf.c: Likewise.
42915         * soft-fp/floatundisf.c: Likewise.
42916         * soft-fp/floatunsidf.c: Likewise.
42917         * soft-fp/floatunsisf.c: Likewise.
42918         * soft-fp/floatuntidf.c: Likewise.
42919         * soft-fp/floatuntisf.c: Likewise.
42920         * soft-fp/floatuntitf.c: Likewise.
42921         * soft-fp/fmadf4.c: Likewise.
42922         * soft-fp/fmasf4.c: Likewise.
42923         * soft-fp/fmatf4.c: Likewise.
42924         * soft-fp/gedf2.c: Likewise.
42925         * soft-fp/gesf2.c: Likewise.
42926         * soft-fp/getf2.c: Likewise.
42927         * soft-fp/ledf2.c: Likewise.
42928         * soft-fp/lesf2.c: Likewise.
42929         * soft-fp/letf2.c: Likewise.
42930         * soft-fp/muldf3.c: Likewise.
42931         * soft-fp/mulsf3.c: Likewise.
42932         * soft-fp/multf3.c: Likewise.
42933         * soft-fp/negdf2.c: Likewise.
42934         * soft-fp/negsf2.c: Likewise.
42935         * soft-fp/negtf2.c: Likewise.
42936         * soft-fp/op-1.h: Likewise.
42937         * soft-fp/op-2.h: Likewise.
42938         * soft-fp/op-4.h: Likewise.
42939         * soft-fp/op-8.h: Likewise.
42940         * soft-fp/op-common.h: Likewise.
42941         * soft-fp/quad.h: Likewise.
42942         * soft-fp/single.h: Likewise.
42943         * soft-fp/soft-fp.h: Likewise.
42944         * soft-fp/sqrtdf2.c: Likewise.
42945         * soft-fp/sqrtsf2.c: Likewise.
42946         * soft-fp/sqrttf2.c: Likewise.
42947         * soft-fp/subdf3.c: Likewise.
42948         * soft-fp/subsf3.c: Likewise.
42949         * soft-fp/subtf3.c: Likewise.
42950         * soft-fp/truncdfsf2.c: Likewise.
42951         * soft-fp/trunctfdf2.c: Likewise.
42952         * soft-fp/trunctfsf2.c: Likewise.
42953         * soft-fp/trunctfxf2.c: Likewise.
42954         * soft-fp/unorddf2.c: Likewise.
42955         * soft-fp/unordsf2.c: Likewise.
42956         * soft-fp/unordtf2.c: Likewise.
42958 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
42960         [BZ #15672]
42961         * misc/error.c (error_tail): Fix possible buffer overflow.
42963 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
42965         [BZ #13028]
42966         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
42967         address.
42969 2013-10-14  P. J. McDermott  <pj@pehjota.net>
42971         [BZ #832]
42972         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
42973         testing pipefail option.
42975 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
42977         * soft-fp/double.h: Indent preprocessor directives inside #if.
42978         * soft-fp/extended.h: Likewise.
42979         * soft-fp/op-2.h: Likewise.
42980         * soft-fp/op-4.h: Likewise.
42981         * soft-fp/op-common.h: Likewise.
42982         * soft-fp/quad.h: Likewise.
42983         * soft-fp/single.h: Likewise.
42984         * soft-fp/soft-fp.h: Likewise.
42986 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
42988         * iconv/iconv_prog.c: Fix typos.
42989         * stdio-common/psiginfo-data.h: Likewise.
42991 2013-10-12   Reuben Thomas <rrt@sc3d.org>
42993         [BZ #15764]
42994         * locale/setlocale.c: Fix typo.
42996 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
42998         [BZ #16036]
42999         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
43000         signaling NaN arguments.
43001         * soft-fp/unordsf2.c (__unordsf2): Likewise.
43002         * soft-fp/unordtf2.c (__unordtf2): Likewise.
43004         [BZ #14910]
43005         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
43006         unordered operands.
43007         * soft-fp/gesf2.c (__gesf2): Likewise.
43008         * soft-fp/getf2.c (__getf2): Likewise.
43009         * soft-fp/ledf2.c (__ledf2): Likewise.
43010         * soft-fp/lesf2.c (__lesf2): Likewise.
43011         * soft-fp/letf2.c (__letf2): Likewise.
43013         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
43014         * soft-fp/eqsf2.c (__eqsf2): Likewise.
43015         * soft-fp/eqtf2.c (__eqtf2): Likewise.
43016         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
43017         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
43018         * soft-fp/fixdfti.c (__fixdfti): Likewise.
43019         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
43020         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
43021         * soft-fp/fixsfti.c (__fixsfti): Likewise.
43022         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
43023         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
43024         * soft-fp/fixtfti.c (__fixtfti): Likewise.
43025         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
43026         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
43027         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
43028         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
43029         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
43030         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
43031         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
43032         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
43033         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
43034         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
43035         * soft-fp/floatdisf.c (__floatdisf): Likewise.
43036         * soft-fp/floatsisf.c (__floatsisf): Likewise.
43037         * soft-fp/floattidf.c (__floattidf): Likewise.
43038         * soft-fp/floattisf.c (__floattisf): Likewise.
43039         * soft-fp/floattitf.c (__floattitf): Likewise.
43040         * soft-fp/floatundidf.c (__floatundidf): Likewise.
43041         * soft-fp/floatundisf.c (__floatundisf): Likewise.
43042         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
43043         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
43044         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
43045         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
43046         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
43047         * soft-fp/gesf2.c (__gesf2): Likewise.
43048         * soft-fp/getf2.c (__getf2): Likewise.
43049         * soft-fp/ledf2.c (__ledf2): Likewise.
43050         * soft-fp/lesf2.c (__lesf2): Likewise.
43051         * soft-fp/letf2.c (__letf2): Likewise.
43053         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
43054         Undefine and redefine.
43055         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
43056         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
43057         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
43058         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
43059         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
43060         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
43061         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
43062         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
43063         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
43064         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
43065         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
43066         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
43067         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
43068         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
43069         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
43071         [BZ #16032]
43072         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
43073         without decrementing exponent if mantissa >= that for the
43074         denominator, not >.
43075         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
43076         denominator, not >.  Decrement exponent in < case instead of
43077         incrementing in >= case.
43078         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
43079         without decrementing exponent if mantissa >= that for the
43080         denominator, not >.
43082         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
43083         computing saturated result for unsigned overflow.
43085 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
43086             Jeff Law  <law@redhat.com>
43088         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
43089         (atan2Mp): Add systemtap probe marker.
43090         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
43091         (__ieee754_log): Add systemtap probe marker.
43092         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
43093         (atanMp): Add systemtap probe marker.
43094         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
43095         (tanMp): Add systemtap probe marker.
43096         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
43097         (__slowexp): Add systemtap probe marker.
43098         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
43099         (__slowpow): Add systemtap probe marker.
43100         * manual/probes.texi: Document probes.
43102 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
43104         [BZ #15362]
43105         * libio/fileops.c (_IO_new_file_write): Return count of bytes
43106         written.
43107         (_IO_new_file_xsputn): Don't return EOF if nothing has been
43108         written.
43109         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
43110         written to buffer but not flushed.
43111         * libio/iofwrite_u.c:  Likewise.
43112         * libio/iopadn.c:  Return bytes returned even if EOF was
43113         encountered.
43114         * libio/iowpadn.c:  Likewise.
43115         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
43116         if _IO_padn does not write the whole buffer.
43117         [!COMPILE_WPRINTF] (PAD): Likewise.
43119 2013-10-10  David S. Miller  <davem@davemloft.net>
43121         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
43122         directory block.
43124 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
43126         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
43127         instead of FSF address.
43128         * soft-fp/fixdfti.c: Likewise.
43129         * soft-fp/fixsfti.c: Likewise.
43130         * soft-fp/fixtfti.c: Likewise.
43131         * soft-fp/fixunsdfti.c: Likewise.
43132         * soft-fp/fixunssfti.c: Likewise.
43133         * soft-fp/fixunstfti.c: Likewise.
43134         * soft-fp/floattidf.c: Likewise.
43135         * soft-fp/floattisf.c: Likewise.
43136         * soft-fp/floattitf.c: Likewise.
43137         * soft-fp/floatuntidf.c: Likewise.
43138         * soft-fp/floatuntisf.c: Likewise.
43139         * soft-fp/floatuntitf.c: Likewise.
43140         * soft-fp/trunctfxf2.c: Likewise.
43142         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
43143         * soft-fp/fixdfti.c: Likewise.
43144         * soft-fp/fixsfti.c: Likewise.
43145         * soft-fp/fixtfti.c: Likewise.
43146         * soft-fp/fixunsdfti.c: Likewise.
43147         * soft-fp/fixunssfti.c: Likewise.
43148         * soft-fp/fixunstfti.c: Likewise.
43149         * soft-fp/floattidf.c: Likewise.
43150         * soft-fp/floattisf.c: Likewise.
43151         * soft-fp/floattitf.c: Likewise.
43152         * soft-fp/floatuntidf.c: Likewise.
43153         * soft-fp/floatuntisf.c: Likewise.
43154         * soft-fp/floatuntitf.c: Likewise.
43155         * soft-fp/trunctfxf2.c: Likewise.
43157 2013-10-10  David S. Miller  <davem@davemloft.net>
43159         * sysdeps/sparc/fpu/libm-test-ulps: Update.
43161 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
43163         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
43164         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
43165         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
43166         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
43167         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
43168         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
43169         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
43171         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
43172         for NaNs before doing comparisons on argument.
43173         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
43174         Likewise.
43176 2013-10-10  Will Newton  <will.newton@linaro.org>
43178         * malloc/hooks.c (memalign_check): Ensure the value of bytes
43179         passed to _int_memalign does not overflow.
43181 2013-10-10  Torvald Riegel  <triegel@redhat.com>
43183         * scripts/bench.pl: Add include-sources directive.
43184         * benchtests/README: Update documentation.
43186 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
43188         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
43189         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
43190         instead of FP_INIT_ROUNDMODE.
43191         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
43192         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
43194         [BZ #16034]
43195         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
43196         copy class of input value.
43197         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
43198         not handle exceptions.
43199         * soft-fp/negsf2.c (__negsf2): Likewise.
43200         * soft-fp/negtf2.c (__negtf2): Likewise.
43201         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
43203 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
43205         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
43206         semicolon.  From Linux kernel.
43208 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
43210         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
43212 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
43214         [BZ #156]
43215         * manual/socket.texi: Added statement about buffer
43216         for gethostbyname2_r.
43218 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
43220         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
43221         Use .p2align directive instead, throughout.
43222         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
43223         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
43224         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
43225         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
43226         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
43227         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
43228         * sysdeps/x86_64/strchr.S: Likewise.
43229         * sysdeps/x86_64/strrchr.S: Likewise.
43231 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
43233         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
43235         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
43237         * sysdeps/generic/math_private.h (__mpsin1): Remove
43238         declaration.
43239         (__mpcos1): Likewise.
43240         (__mpsin): New argument __range_reduce.
43241         (__mpcos): Likewise.
43242         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
43243         (slow): Use __mpsin and __mpcos.
43244         (slow1): Likewise.
43245         (slow2): Likewise.
43246         (sloww): Likewise.
43247         (sloww1): Likewise.
43248         (sloww2): Likewise.
43249         (bsloww): Likewise.
43250         (bsloww1): Likewise.
43251         (bsloww2): Likewise.
43252         (cslow2): Likewise.
43253         (csloww): Likewise.
43254         (csloww1): Likewise.
43255         (csloww2): Likewise.
43256         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
43257         range_reduce.  Merge in __mpsin1.
43258         (__mpcos): Likewise.
43259         (__mpsin1): Remove.
43260         (__mpcos1): Likewise.
43262 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
43264         * locale/loadlocale.c (_nl_intern_locale_data): Use
43265         LOCFILE_ALIGNED_P.
43266         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
43267         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
43268         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
43269         obstack data is appropriately aligned.
43270         (obstack_int32_grow_fast): Likewise.
43271         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
43272         * locale/programs/locfile.c (add_locale_uint32): Likewise.
43273         (add_locale_uint32_array): Likewise.
43275 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
43277         * benchtests/Makefile: Remove ARGLIST and RET variables.
43278         ($(objpfx)bench-%.c): Pass only function name to the script.
43279         * benchtests/README: Update documentation.
43280         * benchtests/acos-inputs: Add new directives.
43281         * benchtests/acosh-inputs: Likewise.
43282         * benchtests/asin-inputs: Likewise.
43283         * benchtests/asinh-inputs: Likewise.
43284         * benchtests/atan-inputs: Likewise.
43285         * benchtests/atanh-inputs: Likewise.
43286         * benchtests/cos-inputs: Likewise.
43287         * benchtests/cosh-inputs: Likewise.
43288         * benchtests/exp-inputs: Likewise.
43289         * benchtests/log-inputs: Likewise.
43290         * benchtests/pow-inputs: Likewise.
43291         * benchtests/rint-inputs: Likewise.
43292         * benchtests/sin-inputs: Likewise.
43293         * benchtests/sinh-inputs: Likewise.
43294         * benchtests/tan-inputs: Likewise.
43295         * benchtests/tanh-inputs: Likewise.
43296         * scripts/bench.pl: Add support for new directives.
43298 2013-10-07  Alan Modra  <amodra@gmail.com>
43300         * README: Fix careless merge.
43302 2013-10-05  Alan Modra  <amodra@gmail.com>
43304         * NEWS: Mention powerpc64le support and bugs fixed.
43305         * README: Both big-endian and little-endian powerpc64 supported.
43307 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
43309         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
43310         (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
43311         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
43312         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
43314 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
43316         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
43317         match prototype.
43319 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
43321         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
43322         Move -mhard-float appending from
43323         ports/sysdeps/powerpc/powerpc32/Makefile.
43324         [$(with-fp) = yes] (ASFLAGS): Likewise.
43325         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
43326         * sysdeps/powerpc/nofpu: Move directory from
43327         ports/sysdeps/powerpc/nofpu.
43328         * sysdeps/powerpc/soft-fp: Move directory from
43329         ports/sysdeps/powerpc/soft-fp.
43330         * sysdeps/powerpc/powerpc32/405: Move directory from
43331         ports/sysdeps/powerpc/powerpc32/405.
43332         * sysdeps/powerpc/powerpc32/440: Move directory from
43333         ports/sysdeps/powerpc/powerpc32/440.
43334         * sysdeps/powerpc/powerpc32/464: Move directory from
43335         ports/sysdeps/powerpc/powerpc32/464.
43336         * sysdeps/powerpc/powerpc32/476: Move directory from
43337         ports/sysdeps/powerpc/powerpc32/476.
43338         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
43339         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
43340         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
43341         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
43342         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
43343         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
43344         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
43345         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
43346         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
43347         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
43348         * README: Update for powerpc-*-linux-gnu software floating point
43349         support in libc.
43351         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
43352         case to powerpc/powerpc32*.
43353         * sysdeps/unix/sysv/linux/configure: Regenerated.
43355         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
43356         (_FPU_MASK_OM): Define as 0x04.
43357         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
43358         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
43359         0x00c10080.
43360         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
43361         0x0000003c.
43362         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
43364         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
43365         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
43366         getcontext_e500.
43367         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
43368         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
43369         setcontext_e500.
43370         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
43371         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
43372         and setcontext_e500.
43374 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
43376         * locale/iso-3166.def: Update iso-1366.def and related occurrences
43378 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
43380         * manual/threads.texi (Default Thread Attributes): Fix typo.
43382 2013-10-04  Will Newton  <will.newton@linaro.org>
43384         * malloc/Makefile: Add tst-memalign.
43385         * malloc/tst-memalign.c: New file.
43387         * malloc/tst-posix_memalign.c: Add comments.
43388         (do_test): Add comments and call free on all potentially
43389         allocated pointers. Add space after cast.
43391         * malloc/tst-pvalloc.c: Add comments.
43392         (do_test): Add comments and call free on all potentially
43393         allocated pointers. Remove duplicate check for NULL pointer.
43394         Add space after cast.
43396         * malloc/tst-valloc.c: Add comments.
43397         (do_test): Add comments and call free on all potentially
43398         allocated pointers. Remove duplicate check for NULL pointer.
43399         Add space after cast.
43401 2013-10-04  Alan Modra  <amodra@gmail.com>
43403         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
43404         Use stdint types in rather than __attribute__((mode())).
43405         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
43407 2013-10-04  Alan Modra  <amodra@gmail.com>
43409         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
43410         Correct handling of unaligned relocs for little-endian.
43411         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
43413 2013-10-04  Alan Modra  <amodra@gmail.com>
43415         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
43416         * configure: Regenerate.
43417         * nptl/shlib-versions: Powerpc*le starts at 2.18.
43418         * shlib-versions: Likewise.
43420 2013-10-04  Alan Modra  <amodra@gmail.com>
43422         * string/tester.c (test_memrchr): Increment reported test cycle.
43424 2013-10-04  Alan Modra  <amodra@gmail.com>
43426         * string/test-memcpy.c (do_one_test): When reporting errors, print
43427         string address and don't overrun end of string.
43429 2013-10-04  Alan Modra  <amodra@gmail.com>
43431         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
43432         insrdi.  Make better use of reg selection to speed exit slightly.
43433         Schedule entry path a little better.  Remove useless "are we done"
43434         checks on entry to main loop.  Handle wrapping around zero address.
43435         Correct main loop count.  Handle single left-over word from main
43436         loop inline rather than by using loop_small.  Remove extra word
43437         case in loop_small caused by wrong loop count.  Add little-endian
43438         support.
43439         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
43440         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
43441         cache hint.
43442         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
43443         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
43444         support.  Avoid rlwimi.
43445         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
43447 2013-10-04  Alan Modra  <amodra@gmail.com>
43449         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
43450         insrdi.  Formatting.
43451         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
43452         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
43453         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
43454         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
43455         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
43456         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
43458 2013-10-04  Alan Modra  <amodra@gmail.com>
43460         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
43461         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
43462         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
43463         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
43464         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
43465         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
43466         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
43467         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
43468         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
43469         use of regs.  Use power7 mtocrf.  Tidy function tails.
43471 2013-10-04  Alan Modra  <amodra@gmail.com>
43473         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
43474         Formatting.  Consistently use rXXX register defines or rN defines.
43475         Use early exit labels that avoid restoring unused non-volatile regs.
43476         Make cr field use more consistent with rWORDn compares.  Rename
43477         regs used as shift registers for unaligned loop, using rN defines
43478         for short lifetime/multiple use regs.
43479         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
43480         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
43481         addi 1,1,64 to pop stack frame.  Simplify return value code.
43482         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
43484 2013-10-04  Alan Modra  <amodra@gmail.com>
43486         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
43487         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
43488         rather than rlwimi.
43489         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
43490         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
43491         little-endian support.  Correct typos.
43492         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
43493         rather than rlwimi.
43494         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
43495         in loop and entry code to keep "and." results.
43496         (strchr): Add little-endian support.  Comment.  Move cntlzd
43497         earlier in tail.
43498         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
43500 2013-10-04  Alan Modra  <amodra@gmail.com>
43502         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
43503         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
43504         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
43505         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
43507 2013-10-04  Alan Modra  <amodra@gmail.com>
43509         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
43510         (rTMP): Define as r11.
43511         (strcmp): Add little-endian support.  Optimise tail.
43512         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
43513         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
43514         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
43515         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
43516         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
43517         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
43518         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
43520 2013-10-04  Alan Modra  <amodra@gmail.com>
43522         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
43523         little-endian support.  Remove unnecessary "are we done" tests.
43524         Handle "s" wrapping around zero and extremely large "size".
43525         Correct main loop count.  Handle single left-over word from main
43526         loop inline rather than by using small_loop.  Correct comments.
43527         Delete "zero" tail, use "end_max" instead.
43528         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
43530 2013-10-04  Alan Modra  <amodra@gmail.com>
43532         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
43533         support.  Don't branch over align.
43534         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
43535         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
43536         support.  Rearrange tmp reg use to suit.  Comment.
43537         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
43539 2013-10-04  Alan Modra  <amodra@gmail.com>
43541         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
43543 2013-10-04  Alan Modra  <amodra@gmail.com>
43545         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
43546         conditional form of branch and link when obtaining pc.
43547         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
43549 2013-10-04  Alan Modra  <amodra@gmail.com>
43551         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
43552         HIWORD/LOWORD.
43553         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
43554         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
43556 2013-10-04  Alan Modra  <amodra@gmail.com>
43558         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
43559         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
43560         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
43561         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
43562         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
43563         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
43564         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
43565         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
43566         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
43567         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
43569 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
43570             Alistair Popple <alistair@ozlabs.au.ibm.com>
43571             Alan Modra <amodra@gmail.com>
43573         [BZ #15723]
43574         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
43575         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
43576         _dl_hwcap access for little-endian.
43577         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
43578         destroy vmx regs when saving unaligned.
43579         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
43580         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
43581         destroy vmx regs when saving unaligned.
43583 2013-10-04  Alan Modra  <amodra@gmail.com>
43585         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
43586         Don't use a union to pack hi/low value.
43588 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
43590         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
43591         for little-endian.
43592         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
43593         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
43594         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
43595         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
43596         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
43598 2013-10-04  Alan Modra  <amodra@gmail.com>
43600         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
43601         constants to usual value for .cst8 section, and remove redundant
43602         high address load.
43603         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
43604         constant for 0x1p52.  Load little-endian words of double from
43605         correct stack offsets.
43607 2013-10-04  Alan Modra  <amodra@gmail.com>
43609         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
43610         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
43611         words of double from correct stack offsets.
43612         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
43613         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
43614         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
43615         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
43616         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
43617         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
43618         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
43619         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
43620         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
43621         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
43622         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
43623         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
43624         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
43625         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
43626         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
43627         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
43628         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
43630 2013-10-04  Alan Modra  <amodra@gmail.com>
43632         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
43633         64-bit int/double union.
43634         (_FPU_SETCW): Likewise.
43635         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
43636         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
43638 2013-10-04  Alan Modra  <amodra@gmail.com>
43640         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
43641         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
43643 2013-10-04  Alan Modra  <amodra@gmail.com>
43645         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
43646         use vector int constants.
43647         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
43649 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
43651         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
43652         array with long long.
43653         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
43654         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
43655         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
43656         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
43657         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
43658         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
43659         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
43660         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
43661         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
43662         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
43663         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
43664         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
43665         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
43667 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
43669         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
43670         (__signbit): Likewise.  Correct for little-endian.
43671         (__signbitl): Call __signbit.
43672         (lrint): Correct for little-endian.
43673         (lrintf): Call lrint.
43675 2013-10-04  Alan Modra  <amodra@gmail.com>
43677         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
43678         union 32-bit int array member with 64-bit int array.
43679         (t515, tm256): Double rather than long double.
43680         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
43682 2013-10-04  Alan Modra  <amodra@gmail.com>
43684         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
43685         Delete.
43686         (IEEE854_LONG_DOUBLE_BIAS): Delete.
43687         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
43688         version of math_ldbl.h.
43690 2013-10-04  Alan Modra  <amodra@gmail.com>
43692         [BZ #15734], [BZ #15735]
43693         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
43694         all uses of ieee875 long double macros and unions.  Simplify test
43695         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
43696         ldbl_extract_mantissa value for ix,iy exponents.  Properly
43697         normalize after ldbl_extract_mantissa, and don't add hidden bit
43698         already handled.  Don't treat low word of ieee854 mantissa like
43699         low word of IBM long double and mask off bit when testing for
43700         zero.
43701         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
43702         all uses of ieee875 long double macros and unions.  Simplify tests
43703         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
43704         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
43705         two1022, instead use their values.  Recognise that tests for large
43706         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
43707         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
43708         Rewrite all uses of ieee875 long double macros and unions.  Simplify
43709         test for 0.0L and nan.  Correct negation.
43710         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
43711         ieee875 long double macros and unions.  Correct output for large
43712         magnitude x.  Correct absolute value calculation.
43713         (__erfcl): Likewise.
43714         * math/libm-test.inc: Add tests for errors discovered in IBM long
43715         double versions of fmodl, remainderl, erfl and erfcl.
43717 2013-10-04  Alan Modra  <amodra@gmail.com>
43719         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
43720         all uses of ieee854 long double macros and unions.  Simplify tests
43721         for long doubles that are fully specified by the high double.
43722         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
43723         Likewise.
43724         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
43725         Remove dead code too.
43726         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
43727         (__ieee754_ynl): Likewise.
43728         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
43729         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
43730         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
43731         Remove dead code too.
43732         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
43733         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
43734         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
43735         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
43736         Simplify.
43737         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
43738         Simplify.
43739         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
43740         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
43741         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
43742         Comment on variable precision.
43743         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
43744         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
43745         Likewise.
43746         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
43747         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
43748         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
43749         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
43750         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
43752 2013-10-04  Alan Modra  <amodra@gmail.com>
43754         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
43755         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
43756         all uses of ieee854 long double macros and unions.
43757         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
43758         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
43759         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
43760         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
43761         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
43762         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
43763         Likewise.
43764         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
43765         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
43766         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
43767         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
43768         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
43769         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
43770         Simplify sign and nan test too.
43771         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
43772         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
43773         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
43774         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
43775         Likewise.
43776         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
43777         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
43778         Likewise.
43779         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
43780         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
43781         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
43782         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
43783         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
43784         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
43786 2013-10-04  Alan Modra  <amodra@gmail.com>
43788         * stdio-common/printf_size.c (__printf_size): Don't use
43789         union ieee854_long_double in fpnum union.
43790         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
43791         signbit macro to retrieve sign from long double.
43792         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
43793         retrieve sign from long double.
43794         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
43795         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
43796         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
43797         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
43798         * math/test-misc.c (main): Don't use union ieee854_long_double.
43800 2013-10-04  Alan Modra  <amodra@gmail.com>
43802         [BZ #15680]
43803         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
43804         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
43805         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
43806         calculation.  Remove unnecessary test for denormal exponent.
43807         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
43808         Correct handling of denormals.  Avoid undefined shift behaviour.
43809         Correct normalisation of low mantissa when low double is denormal.
43810         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
43811         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
43812         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
43813         Correct normalisation of low mantissa.  Test for overflow of high
43814         mantissa and normalise.
43815         (ldbl_nearbyint): Use more readable constant for two52.
43816         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
43817         (__mpn_construct_long_double): Fix test for overflow of high
43818         mantissa and correct normalisation.  Avoid undefined shift.
43820 2013-10-04  Alan Modra  <amodra@gmail.com>
43822         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
43823         (union ibm_extended_long_double): Define as an array of ieee754_double.
43824         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
43825         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
43826         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
43827         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
43828         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
43829         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
43830         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
43831         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
43832         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
43833         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
43834         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
43836 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
43838         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
43839         page size instead of calling getpagesize.
43841         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
43842         (LOCFILE_ALIGN_MASK): Likewise.
43843         (LOCFILE_ALIGN_UP): Likewise.
43844         (LOCFILE_ALIGNED_P): Likewise.
43845         * locale/programs/ld-collate.c (collate_output): Use the new
43846         macros instead of __alignof__ (int32_t).
43847         * locale/weight.h (findidx): Likewise.
43849 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
43851         [BZ #431]
43852         * manual/string.texi: Fix strncat and wcsncat.
43854 2013-10-03  Brooks Moses  <bmoses@google.com>
43856         [BZ #15915]
43857         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
43858         * Makerules: ...here, and adjust associated comments.
43860 2013-10-02  Will Newton  <will.newton@linaro.org>
43862         * malloc/Makefile: Add tst-pvalloc.
43863         * malloc/tst-pvalloc.c: New file.
43865 2013-10-02  Will Newton  <will.newton@linaro.org>
43867         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
43868         improve test coverage.
43870 2013-10-02  Will Newton  <will.newton@linaro.org>
43872         * malloc/Makefile: Add tst-posix_memalign.
43873         * malloc/tst-posix_memalign.c: New file.
43875 2013-10-01  Eric Blake  <eblake@redhat.com>
43877         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
43878         Use __THROWNL rather than __THROW on static functions.
43880 2013-09-30  Petr Machata  <pmachata@redhat.com>
43882         * elf/elf.h (R_AARCH64_ABS16): New macro.
43883         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
43884         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
43885         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
43886         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
43887         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
43888         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
43889         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
43890         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
43891         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
43892         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
43893         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
43894         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
43895         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
43896         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
43897         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
43898         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
43899         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
43900         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
43901         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
43902         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
43903         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
43904         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
43905         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
43906         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
43907         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
43908         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
43909         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
43910         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
43911         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
43912         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
43913         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
43914         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
43915         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
43916         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
43917         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
43918         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
43919         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
43920         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
43921         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
43922         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
43923         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
43924         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
43925         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
43926         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
43927         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
43928         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
43929         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
43930         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
43931         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
43932         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
43933         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
43934         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
43935         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
43936         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
43937         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
43938         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
43939         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
43940         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
43941         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
43942         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
43943         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
43944         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
43945         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
43946         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
43947         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
43948         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
43949         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
43950         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
43951         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
43952         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
43953         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
43954         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
43955         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
43956         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
43957         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
43958         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
43959         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
43960         (R_AARCH64_TLSDESC_LDR): Likewise.
43961         (R_AARCH64_TLSDESC_ADD): Likewise.
43962         (R_AARCH64_TLSDESC_CALL): Likewise.
43964 2013-09-30  Andreas Schwab  <schwab@suse.de>
43966         [BZ #15048]
43967         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
43968         the nss database lookup.
43969         * nscd/initgrcache.c (addinitgroupsX): Likewise.
43970         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
43972 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
43974         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
43976 2013-09-28  P. J. McDermott  <pj@pehjota.net>
43978         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
43979         ${Bash-specific parameter/pattern/string} parameter expansion.
43980         * sysdeps/unix/make-syscalls.sh: Likewise.
43982 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
43984         * sysdeps/sh/stackguard-macros.h: New file.
43986 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
43988         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
43989         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
43990         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
43991         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
43992         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
43993         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
43995 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43997         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
43998         Fix thread ID register.
44000 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
44002         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
44003         [POSIX || UNIX98]: Require rather than permitting all symbols from
44004         <time.h>.
44005         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
44006         element of struct sched_param.
44007         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
44008         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
44009         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
44010         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
44011         constant.
44013 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
44015         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
44016         argument calculation.
44018 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
44020         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
44021         Expect macro.
44022         [POSIX] (pthread_attr_t): Do not require type.
44023         [POSIX] (pthread_cond_t): Likewise.
44024         [POSIX] (pthread_condattr_t): Likewise.
44025         [POSIX] (pthread_key_t): Likewise.
44026         [POSIX] (pthread_mutex_t): Likewise.
44027         [POSIX] (pthread_mutexattr_t): Likewise.
44028         [POSIX] (pthread_once_t): Likewise.
44029         [POSIX] (pthread_t): Likewise.
44030         [POSIX-based standards] (pthread_atfork): Expect function.
44032 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
44033             Richard Sandiford  <richard@codesourcery.com>
44035         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
44036         (swap_endianness_p): New extern variable.
44037         (set_big_endian): New inline function.
44038         (maybe_swap_uint32): Likewise.
44039         (maybe_swap_uint32_array): Likewise.
44040         (maybe_swap_uint32_obstack): Likewise.
44041         * locale/programs/locfile.c: Include <stdbool.h>.
44042         (swap_endianness_p): New variable.
44043         (add_locale_uint32): Call maybe_swap_uint32.
44044         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
44045         (write_locale_data): Call maybe_swap_uint32_array.
44046         * locale/programs/ld-collate.c (obstack_int32_grow): Call
44047         maybe_swap_uint32.
44048         (obstack_int32_grow_fast): Likewise.
44049         (output_weightwc): Call maybe_swap_uint32_obstack.
44050         (collate_output): Likewise.
44051         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
44052         (OPT_LITTLE_ENDIAN): Likewise.
44053         (options): Add --little-endian and --big-endian options.
44054         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
44055         * locale/programs/locarchive.c: Include "locfile.h".
44056         (GET): New macro.
44057         (SET): Likewise.
44058         (INC): Likewise.
44059         (create_archive): Use the new macros to access fields of
44060         structures directly mapped from or written to locale archives.
44061         (oldlocrecentcmp): Likewise.
44062         (enlarge_archive): Likewise.
44063         (insert_name): Likewise.
44064         (add_alias): Likewise.
44065         (add_locale): Likewise.
44066         (delete_locales_from_archive): Likewise.
44067         (show_archive_content): Likewise.
44068         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
44069         locale data.
44071 2013-09-24  Roland McGrath  <roland@hack.frob.com>
44073         * manual/freemanuals.texi: Updated from (newly) canonical copy at
44074         http://www.gnu.org/doc/freemanuals.texi.
44075         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
44077 2013-09-24  Will Newton  <will.newton@linaro.org>
44079         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
44080         macro.
44082 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
44084         * locale/hashval.h (compute_hashval): Interpret bytes of key as
44085         unsigned char.
44087 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
44089         * manual/threads.texi (POSIX Threads): Fix a typo.
44091 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
44093         [BZ #14547]
44094         * string/tst-strcoll-overflow.c: New test case.
44095         * string/Makefile (xtests): Add tst-strcoll-overflow.
44096         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
44097         cache if string sizes may cause integer overflow.
44099         [BZ #14547]
44100         * string/strcoll_l.c (coll_seq): New members rule, idx,
44101         save_idx and back_us.
44102         (get_next_seq_nocache): New function.
44103         (do_compare_nocache): New function.
44104         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
44105         when malloc fails.
44107 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
44109         [BZ #15754]
44110         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
44111         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
44112         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
44114         [BZ #15754]
44115         * elf/Makefile (tests): Add tst-ptrguard1.
44116         (tests-static): Add tst-ptrguard1-static.
44117         (tst-ptrguard1-ARGS): Define.
44118         (tst-ptrguard1-static-ARGS): Define.
44119         * elf/tst-ptrguard1.c: New file.
44120         * elf/tst-ptrguard1-static.c: New file.
44121         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
44122         * sysdeps/i386/stackguard-macros.h: Likewise.
44123         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
44124         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
44125         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
44126         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
44127         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
44128         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
44130 2013-09-23  Hector Marco  <hecmargi@upv.es>
44131             Ismael Ripoll  <iripoll@disca.upv.es>
44132             Carlos O'Donell  <carlos@redhat.com>
44134         [BZ #15754]
44135         * sysdeps/generic/stackguard-macros.h: Define
44136         __pointer_chk_guard_local and POINTER_CHK_GUARD.
44137         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
44138         Define __pointer_chk_guard_local.
44139         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
44140         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
44142 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
44144         [BZ #15859]
44145         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
44147 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
44149         * include/string.h (__ffs): Declare as hidden.
44150         * string/ffs.c (__ffs): Define as hidden.
44151         * sysdeps/i386/ffs.c (__ffs): Likewise.
44152         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
44153         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
44154         * sysdeps/s390/ffs.c (__ffs): Likewise.
44155         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
44157 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
44159         * NEWS: Mention malloc probes.
44161         * malloc/arena.c (new_heap): New memory_heap_new probe.
44162         (grow_heap): New memory_heap_more probe.
44163         (shrink_heap): New memory_heap_less probe.
44164         (heap_trim): New memory_heap_free probe.
44165         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
44166         (systrim): New memory_sbrk_less probe.
44167         * manual/probes.texi: Document them.
44169         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
44170         * manual/probes.texi: Document it.
44172         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
44173         (__libc_realloc): Add memory_realloc_retry probe.
44174         (__libc_memalign): Add memory_memalign_retry probe.
44175         (__libc_valloc): Add memory_valloc_retry probe.
44176         (__libc_pvalloc): Add memory_pvalloc_retry probe.
44177         (__libc_calloc): Add memory_calloc_retry probe.
44178         * manual/probes.texi: Document them.
44180         * malloc/arena.c (get_free_list): Add probe
44181         memory_arena_reuse_free_list.
44182         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
44183         and memory_arena_reuse.
44184         (arena_get2) [!PER_THREAD]: Likewise.
44185         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
44186         memory_arena_reuse_realloc.
44187         * manual/probes.texi: Document them.
44189         * malloc/malloc.c (__libc_free): Add
44190         memory_mallopt_free_dyn_thresholds probe.
44191         (__libc_mallopt): Add multiple memory_mallopt probes.
44192         * manual/probes.texi: Document them.
44194         * malloc/malloc.c: Include stap-probe.h.
44195         (__libc_mallopt): Add memory_mallopt probe.
44196         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
44197         * manual/probes.texi: New.
44198         * manual/Makefile (chapters): Add probes.
44199         * manual/threads.texi: Set next node.
44201 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
44203         [BZ #15963, #13985]
44204         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
44205         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
44206         Add `Chinese' to `nan' entry name.
44208 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
44210         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
44211         (POLYNOMIAL): Likewise.
44212         (TAYLOR_SINCOS): Likewise.
44213         (TAYLOR_SLOW): Likewise.
44214         (__sin): Use TAYLOR_SINCOS.
44215         (__cos): Likewise.
44216         (slow): Use TAYLOR_SLOW.
44217         (sloww): Likewise.
44218         (bsloww): Likewise.
44219         (csloww): Likewise.
44221 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
44223         * stdlib/strtod_l.c: Fix buffer overrun.
44225 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
44227         * benchtests/Makefile (bench): Add sincos.
44228         * benchtests/bench-sincos.c: New file.
44230         * math/libm-test.inc (cos_test_data): New test inputs.
44231         (sin_test_data): Likewise.
44233         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
44234         macro.
44235         (__sin): Use it.
44236         (__cos): Likewise.
44237         (slow1): Likewise.
44238         (slow2): Likewise.
44239         (sloww1): Likewise.
44240         (sloww2): Likewise.
44241         (bsloww1): Likewise.
44242         (bsloww2): Likewise.
44243         (cslow2): Likewise.
44244         (csloww1): Likewise.
44245         (csloww2): Likewise.
44247         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
44248         function.
44249         (__sin): Use it.
44250         (__cos): Likewise.
44252         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
44253         gotos.
44254         (__cos): Likewise.
44256 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
44258         * config.h.in (HAVE_MIPS_NAN2008): New macro.
44259         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
44260         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
44261         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
44262         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
44263         * elf/cache.c (print_entry): Handle the new cache flags.
44265 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
44266             Aldy Hernandez  <aldyh@redhat.com>
44268         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
44269         Change condition to [_SOFT_FLOAT].
44270         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
44271         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
44272         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
44273         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
44274         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
44275         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
44276         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
44277         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
44278         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
44279         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
44280         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
44281         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
44282         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
44283         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
44284         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
44285         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
44286         declaration.
44288 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
44290         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
44291         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
44292         (__longjmp): Use LOAD_GP to load saved GPRs.
44293         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
44294         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
44295         (__sigsetjmp): Use SAVE_GP to save GPRs.
44297         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
44298         Do not append -msoft-float.
44299         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
44301 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
44303         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
44305 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
44307         [BZ #15966]
44308         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
44309         (_FPU_GETCW): Use initial "__" on variable and field names but not
44310         on macro parameter name.
44311         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
44312         parentheses around reference to macro parameter.
44314 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
44316         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
44317         prototype.
44318         (ctype_startup): Use uint32_t in cast and sizeof for
44319         ctype->charnames.
44321 2013-09-11  Jia Liu  <proljc@gmail.com>
44323         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
44324         __daddr_t_defined.
44325         [__FreeBSD__]: Likewise.
44327 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
44329         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
44330         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
44331         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
44332         (strchr): Remove __strchr_sse42 ifunc selection.
44333         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
44334         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
44336 2013-09-11  Will Newton  <will.newton@linaro.org>
44338         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
44339         parameter to RES. Remove hardcoded 1000 value.
44340         * benchtests/bench-skeleton.c (main): Pass RES parameter
44341         to TIMING_INIT and multiply result by 1000.
44343 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44345         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44347 2013-09-11  Andreas Schwab  <schwab@suse.de>
44349         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
44350         if not defined.
44351         (O_TMPFILE) [__USE_GNU]: Define.
44352         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
44353         Define.
44355 2013-09-11  Will Newton  <will.newton@linaro.org>
44357         [BZ #15857]
44358         * malloc/malloc.c (__libc_memalign): Check the value of bytes
44359         does not overflow.
44361 2013-09-11  Will Newton  <will.newton@linaro.org>
44363         [BZ #15856]
44364         * malloc/malloc.c (__libc_valloc): Check the value of bytes
44365         does not overflow.
44367 2013-09-11  Will Newton  <will.newton@linaro.org>
44369         [BZ #15855]
44370         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
44371         does not overflow.
44373 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
44375         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
44376         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
44377         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
44378         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
44379         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
44381 2013-09-10  Allan McRae  <allan@archlinux.org>
44383         [BZ #15748]
44384         * manual/arith.texi (Parsing of Floats): Clarify
44385         cross-reference.
44387         [BZ #15849]
44388         * manual/install.texi (Running make install): Mention
44389         --enable-pt-chown.
44390         * INSTALL: Regenerated.
44392 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
44394         * csu/init-first.c (_init): Remove the !SHARED condition around
44395         FPU control word initialization.
44396         * elf/dl-support.c (_dl_fpu_control): New variable.
44397         (_dl_aux_init) <AT_FPUCW>: Initialize it.
44398         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
44399         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
44400         * math/test-fpucw-static.c: New file.
44401         * math/test-fpucw-ieee.c: New file.
44402         * math/test-fpucw-ieee-static.c: New file.
44403         * math/Makefile (tests): Add `test-fpucw-ieee' and
44404         `$(tests-static)'.
44405         (tests-static): New variable.
44406         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
44407         dependency to...
44408         [($(build-shared),yes)]
44409         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
44410         ... this.
44411         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
44412         New dependency.
44414 2013-09-09  Allan McRae  <allan@archlinux.org>
44416         [BZ #15939]
44417         * manual/string.texi (Collation Functions): Fix typo in
44418         strcoll example.
44419         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
44421         [BZ #15893]
44422         * stdlib/isomac.c (get_null_defines): Fix memory leak.
44424         [BZ #15892]
44425         * libio/memstream.c (open_memstream): Fix memory leak.
44426         * libio/wmemstream.c (open_wmemstream): Likewise.
44428         [BZ #15895]
44429         * nscd/netgroupcache.c: Fix nesting of ifdefs.
44431 2013-09-09  Will Newton  <will.newton@linaro.org>
44433         * malloc/Makefile: Add tst-realloc to tests.
44434         * malloc/tst-realloc.c: New file.
44436 2013-09-09  Allan McRae  <allan@archlinux.org>
44438         [BZ #15844]
44439         * COPYING: Update from GNU website to fix FSF address.
44440         * COPYING.LIB: Likewise.
44442 2013-09-06  David S. Miller  <davem@davemloft.net>
44444         * po/zh_TW.po: Update Chinese (traditional) translation from
44445         translation project.
44447 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
44448             Joseph Myers  <joseph@codesourcery.com>
44450         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
44451         "localeinfo.h".
44452         (obstack_chunk_alloc): New macro.
44453         (obstack_chunk_free): Likewise.
44454         (record_offset): New function.
44455         (init_locale_data): Likewise.
44456         (align_locale_data): Likewise.
44457         (add_locale_empty): Likewise.
44458         (add_locale_raw_data): Likewise.
44459         (add_locale_raw_obstack): Likewise.
44460         (add_locale_string): Likewise.
44461         (add_locale_wstring): Likewise.
44462         (add_locale_uint32): Likewise.
44463         (add_locale_uint32_array): Likewise.
44464         (add_locale_char): Likewise.
44465         (start_locale_structure): Likewise.
44466         (end_locale_structure): Likewise.
44467         (start_locale_prelude): Likewise.
44468         (end_locale_prelude): Likewise.
44469         (write_locale_data): Take locale_file structure rather than an
44470         iovec.
44471         * locale/programs/locfile.h: Include "obstack.h".
44472         (struct locale_file): Change to store locale file contents instead
44473         of header.
44474         (init_locale_data): New prototype.
44475         (align_locale_data): Likewise.
44476         (add_locale_empty): Likewise.
44477         (add_locale_raw_data): Likewise.
44478         (add_locale_raw_obstack): Likewise.
44479         (add_locale_string): Likewise.
44480         (add_locale_wstring): Likewise.
44481         (add_locale_uint32): Likewise.
44482         (add_locale_uint32_array): Likewise.
44483         (add_locale_char): Likewise.
44484         (start_locale_structure): Likewise.
44485         (end_locale_structure): Likewise.
44486         (start_locale_prelude): Likewise.
44487         (end_locale_prelude): Likewise.
44488         (write_locale_data): Update prototype.
44489         * locale/programs/3level.h (struct TABLE): Remove result field.
44490         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
44491         Use new locale_file interface.
44492         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
44493         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
44494         * locale/programs/ld-address.c (address_output): Use new
44495         locale_file interface.
44496         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
44497         NO_ADD_LOCALE.
44498         (collate_finish): Don't call collseq_table_finalize.
44499         (collate_output): Use new locale_file interface.
44500         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
44501         in file.
44502         (NO_FINALIZE): Change to NO_ADD_LOCALE.
44503         (TABLE): Move defines earlier in file.
44504         (ELEMENT): Likewise.
44505         (DEFAULT): Likewise.
44506         (wctrans_table_add): Move macro and inline function earlier in
44507         file.
44508         (struct wctype_table): Move type earlier in file.
44509         (add_locale_wctype_table): New static prototype.
44510         (struct locale_ctype_t): Use logical types instead of struct iovec
44511         pointers for members.
44512         (ctype_output): Use new locale_file interface.
44513         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
44514         new locale_file interface.
44515         (allocate_arrays): Update for use of new locale_file interface.
44516         * locale/programs/ld-identification.c (identification_output): Use
44517         new locale_file interface.
44518         * locale/programs/ld-measurement.c (measurement_output): Likewise.
44519         * locale/programs/ld-messages.c (messages_output): Likewise.
44520         * locale/programs/ld-monetary.c (monetary_output): Likewise.
44521         * locale/programs/ld-name.c (name_output): Likewise.
44522         * locale/programs/ld-numeric.c (numeric_output): Likewise.
44523         * locale/programs/ld-paper.c (paper_output): Likewise.
44524         * locale/programs/ld-telephone.c (telephone_output): Likewise.
44525         * locale/programs/ld-time.c (time_output): Likewise.
44527 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44529         * benchtests/Makefile: Add memrchr benchmark.
44530         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
44531         benchmark as memrchr.
44532         * benchtests/bench-memrchr-ifunc.c: New file.
44533         * benchtests/bench-memrchr.c: New file.
44535 2013-09-06   Will Newton  <will.newton@linaro.org>
44537         * benchtests/Makefile (string-bench): Add memcpy.
44539 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
44540             Cong Wang  <amwang@redhat.com>
44542         [BZ #15850]
44543         * sysdeps/unix/sysv/linux/bits/in.h
44544         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
44545         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
44546         before __USE_KERNEL_IPV6_DEFS uses.
44547         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
44548         IPPROTO_BEETPH.
44549         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
44550         sockaddr_in6, or ipv6_mreq.
44552 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44554         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
44555         memory access for final bytes in some large inputs.
44556         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
44558 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44560         * string/test-memrchr.c: New file.
44561         * string/test-memrchr-ifunc.c: New file.
44562         * string/Makefile: Add new memrchr testcase.
44564 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
44566         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
44567         fanotify_init returns EPERM.
44569 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
44571         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
44572         errors.
44573         (top level): Treat second token from macro or constant entries for
44574         allowed headers as allowed.
44575         * include/complex.h: Condition internal declarations on
44576         [!_ISOMAC].
44577         * include/fenv.h: Condition include of <stdbool.h> and internal
44578         declarations on [!_ISOMAC].
44580 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
44582         [BZ #15923]
44583         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
44585 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
44587         * configure.in (--enable-versioning): Remove configure option.
44588         (libc_cv_asm_symver_directive): Remove configure test.
44589         (libc_cv_ld_version_script_option): Likewise.
44590         (VERSIONING): Remove variable and AC_SUBST.
44591         (DO_VERSIONING): Remove AC_DEFINE.
44592         * configure: Regenerated.
44593         * config.h.in (DO_VERSIONING): Remove macro.
44594         * Makerules [$(versioning) = yes]: Change conditionals to
44595         [$(build-shared) = yes].
44596         * config.make.in (versioning): Remove variable.
44597         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
44598         [$(build-shared) = yes].
44599         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
44600         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
44601         * elf/Makefile [$(versioning) = yes]: Change conditionals to
44602         [$(build-shared) = yes].
44603         * extra-lib.mk [$(versioning) = yes]: Likewise.
44604         * hurd/Makefile [$(versioning) = yes]: Likewise.
44605         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
44606         [SHARED].
44607         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
44608         [SHARED].
44609         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
44610         [SHARED && !NO_HIDDEN].
44611         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
44612         [SHARED].
44613         [SHARED && DO_VERSIONING]: Likewise..
44614         * libio/Makefile [$(versioning) = yes]: Change conditionals to
44615         [$(build-shared) = yes].
44616         * manual/install.texi (--disable-versioning): Remove
44617         documentation.
44618         * INSTALL: Regenerated.
44619         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
44620         to [SHARED].
44621         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
44622         [$(build-shared) = yes].
44623         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
44624         * sysdeps/i386/i686/multiarch/strstr-c.c
44625         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
44626         [SHARED && !NO_HIDDEN].
44627         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
44628         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
44629         * sysdeps/powerpc/powerpc32/dl-machine.c
44630         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
44631         * sysdeps/powerpc/powerpc32/sysdep.h
44632         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
44633         to [SHARED && PIC && !NO_HIDDEN].
44634         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
44635         conditional to [SHARED].
44637 2013-09-04   Will Newton  <will.newton@linaro.org>
44639         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
44640         * benchtests/bench-string.h: Include bench-timing.h instead
44641         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
44642         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
44643         call to HP_TIMING_DIFF_INIT.
44644         * benchtests/bench-memccpy.c: Use bench-timing.h macros
44645         instead of hp-timing.h macros.
44646         * benchtests/bench-memchr.c: Likewise.
44647         * benchtests/bench-memcmp.c: Likewise.
44648         * benchtests/bench-memcpy.c: Likewise.
44649         * benchtests/bench-memmem.c: Likewise.
44650         * benchtests/bench-memmove.c: Likewise.
44651         * benchtests/bench-memset.c: Likewise.
44652         * benchtests/bench-rawmemchr.c: Likewise.
44653         * benchtests/bench-strcasecmp.c: Likewise.
44654         * benchtests/bench-strcasestr.c: Likewise.
44655         * benchtests/bench-strcat.c: Likewise.
44656         * benchtests/bench-strchr.c: Likewise.
44657         * benchtests/bench-strcmp.c: Likewise.
44658         * benchtests/bench-strcpy.c: Likewise.
44659         * benchtests/bench-strcpy_chk.c: Likewise.
44660         * benchtests/bench-strlen.c: Likewise.
44661         * benchtests/bench-strncasecmp.c: Likewise.
44662         * benchtests/bench-strncat.c: Likewise.
44663         * benchtests/bench-strncmp.c: Likewise.
44664         * benchtests/bench-strncpy.c: Likewise.
44665         * benchtests/bench-strnlen.c: Likewise.
44666         * benchtests/bench-strpbrk.c: Likewise.
44667         * benchtests/bench-strrchr.c: Likewise.
44668         * benchtests/bench-strspn.c: Likewise.
44669         * benchtests/bench-strstr.c: Likewise.
44671 2013-09-04  Will Newton  <will.newton@linaro.org>
44673         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
44675 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
44677         [BZ #15427]
44678         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
44679         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
44680         * math/libm-test.inc (lgamma_test_data): Add more tests.
44681         * sysdeps/i386/fpu/libm-test-ulps: Update.
44682         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44684 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
44686         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
44687         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
44688         Add ifunc.
44689         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
44690         Add strcmp-sse2-unaligned
44691         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
44693 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
44695         * Versions.def (libc): Add GLIBC_2.19.
44697 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
44699         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
44700         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
44702 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
44704         [BZ #14155]
44705         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
44706         intermediate calculations in recurrence.
44707         (__ieee754_ynf): Likewise.
44708         * math/libm-test.inc (jn_test_data): Do not allow spurious
44709         underflow exception.  Add more tests.
44710         (yn_test_data): Add more tests.
44711         * sysdeps/i386/fpu/libm-test-ulps: Update.
44712         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44714 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
44716         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
44718 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
44720         * csu/init-first.c: Fix then/than typos.
44721         * locale/programs/ld-collate.c: Likewise.
44722         * locale/programs/linereader.h: Likewise.
44723         * manual/charset.texi: Likewise.
44724         * manual/filesys.texi: Likewise.
44725         * manual/stdio.texi: Likewise.
44726         * manual/string.texi: Likewise.
44727         * stdlib/fmtmsg.c: Likewise.
44728         * sysdeps/i386/stpncpy.S: Likewise.
44729         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
44730         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
44731         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
44732         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
44734 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
44736         * elf/dl-open.c: Fix typos.
44737         * iconvdata/gbbig5.c: Likewise.
44738         * iconvdata/iso-2022-jp.c: Likewise.
44739         * iconv/gconv_int.h: Likewise.
44740         * iconv/loop.c: Likewise.
44741         * nis/rpcsvc/nis.h: Likewise.
44742         * resolv/ns_name.c: Likewise.
44743         * stdio-common/vfscanf.c: Likewise.
44744         * streams/stropts.h: Likewise.
44745         * sunrpc/rpc_thread.c: Likewise.
44746         * sysdeps/i386/strpbrk.S: Likewise.
44747         * sysdeps/ieee754/k_standard.c: Likewise.
44748         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
44749         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
44750         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
44751         * sysdeps/mach/hurd/profil.c: Likewise.
44752         * sysdeps/s390/dl-procinfo.h: Likewise.
44753         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
44754         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
44755         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
44756         * sysdeps/x86_64/dl-trampoline.S: Likewise.
44757         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
44759 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
44761         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
44762         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
44764 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
44766         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
44767         aix specific files.
44768         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
44769         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
44770         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
44771         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
44772         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
44773         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
44774         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
44775         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
44777 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
44778             Roland McGrath  <roland@hack.frob.com>
44780         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
44781         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
44783 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
44785         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
44786         __executable_start symbol instead of _start.
44788 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
44790         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
44791         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
44792         Move macros to...
44793         * sysdeps/gnu/ldsodefs.h: ... this new file.
44795         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
44796         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
44797         instead of ELFOSABI_LINUX.
44799         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
44800         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
44801         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
44802         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
44803         Likewise.
44804         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
44805         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
44806         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
44807         Likewise.
44808         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
44809         (ibm_extended_long_double): Add ieee_nan member.
44810         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
44811         (do_test): New function.
44813         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
44814         TEST_TRUNC.
44815         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
44816         functions, renamed from truncdfsf_test, trunctfsf_test,
44817         trunctfdf_test.
44818         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
44819         functions.
44820         (do_test): Run all these.
44822 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
44824         * argp/argp-help.c: Fix typos.
44825         * argp/argp-parse.c: Likewise.
44826         * debug/backtracesyms.c: Likewise.
44827         * elf/elf.h: Likewise.
44828         * malloc/malloc.c: Likewise.
44829         * nis/nis_print.c: Likewise.
44830         * resolv/res_comp.c: Likewise.
44831         * stdlib/stdlib.h: Likewise.
44832         * sunrpc/clnt_tcp.c: Likewise.
44833         * sunrpc/clnt_udp.c: Likewise.
44834         * sunrpc/clnt_unix.c: Likewise.
44835         * sysdeps/unix/bsd/ptsname.c: Likewise.
44836         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
44837         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
44838         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
44839         Likewise.
44840         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
44841         Likewise.
44842         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
44843         Likewise.
44844         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
44846 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
44848         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
44849         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
44851 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
44853         [BZ #15897]
44854         * dlfcn/Makefile (tests): Add bug-dl-leaf.
44855         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
44856         ($(objpfx)bug-dl-leaf): New rule.
44857         ($(objpfx)bug-dl-leaf.so): Likewise.
44858         ($(objpfx)bug-dl-leaf.out): Likewise.
44859         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
44860         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
44861         * dlfcn/bug-dl-leaf.c: New test.
44862         * dlfcn/bug-dl-leaf-lib.c: Likewise.
44863         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
44864         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
44865         (dlclose): Likewise.
44866         (dlmopen): Likewise.
44868 2013-08-27  Roland McGrath  <roland@hack.frob.com>
44870         * include/netdb.h [!_ISOMAC]:
44871         Don't include <tls.h>.
44872         (h_errno, __libc_h_errno): Move declaration and macros out of
44873         [_LIBC_REENTRANT].
44875         * include/resolv.h [_RESOLV_H_]:
44876         Don't include <tls.h>.
44877         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
44878         * resolv/res_libc.c: Don't include <tls.h>.
44879         (_res): Use __attribute__ ((nocommon)) in place of
44880         __attribute__ ((section (".bss"))).
44882         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
44883         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
44885         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
44887         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
44888         only under [SIOCGIFCONF && SIOCGIFNETMASK].
44890         * resolv/res_mkquery.c: Include <sys/time.h>.
44892         * inet/ifreq.c: Moved to ...
44893         * sysdeps/unix/ifreq.c: ... here.
44894         * inet/ifreq.c: New file, true stub version.
44896         * socket/sa_len.c: New file.
44897         * socket/Makefile (aux): Add it.
44898         * sysdeps/unix/sysv/linux/Makefile
44899         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
44900         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
44901         and #include <socket/sa_len.c>.
44902         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
44903         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
44905         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
44906         * bits/socket.h: ... here.
44908         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
44909         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
44910         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
44912 2013-08-27  Andreas Schwab  <schwab@suse.de>
44914         [BZ #15736]
44915         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
44916         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
44917         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
44918         * string/test-strcasecmp.c (test_main): Run tests in several
44919         locales.
44920         * string/test-strncasecmp.c (test_main): Likewise.
44922         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
44923         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
44924         to __strcasecmp_nonascii and __strncasecmp_nonascii.
44925         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
44926         (__strncasecmp_ssse3) [PIC]: Likewise.
44928 2013-08-26  Roland McGrath  <roland@hack.frob.com>
44930         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
44932         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
44933         instead of explicitly declaring xdecrypt.
44934         * nis/nss_nis/nis-publickey.c: Likewise.
44936 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
44938         [BZ #15890]
44939         * nscd/aicache.c: Include res_hconf.h.
44940         (addhstaiX): Initialize res_hconf.
44942 2013-08-26  Andreas Schwab  <schwab@suse.de>
44944         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
44945         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
44947 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
44949         * nscd/aicache.c (addhstaiX): Fix indentation.
44951 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
44953         * configure.ac: Quote $build_pt_chown test.
44954         * configure: Regenerated.
44956 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
44958         [BZ #15532]
44959         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
44960         * math/s_cexpf.c (__cexpf): Likewise.
44961         * math/s_cexpl.c (__cexpl): Likewise.
44962         * math/libm-test.inc (cexp_test_data): Correct expected return
44963         value for NaN + i0.  Add another test.
44965 2013-08-22  David S. Miller  <davem@davemloft.net>
44967         * po/ca.po: Update Catalan translation from translation project.
44968         * po/uk.po: Add Ukrainian translations from translation project.
44970 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
44972         [BZ #15797]
44973         * math/s_fdim.c (__fdim): Check for infinite arguments if result
44974         is infinite, not alongside NaN test.
44975         * math/s_fdimf.c (__fdimf): Likewise.
44976         * math/s_fdiml.c (__fdiml): Likewise.
44977         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
44978         errno is unchanged.
44980 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
44982         * argp/argp-help.c: Fix typos.
44983         * crypt/speeds.c: Likewise.
44984         * csu/check_fds.c: Likewise.
44985         * elf/dl-load.c: Likewise.
44986         * elf/dl-open.c: Likewise.
44987         * elf/reldep3.c: Likewise.
44988         * elf/reldep.c: Likewise.
44989         * elf/sprof.c: Likewise.
44990         * iconv/iconv_charmap.c: Likewise.
44991         * iconv/skeleton.c: Likewise.
44992         * iconv/strtab.c: Likewise.
44993         * io/lockf64.c: Likewise.
44994         * libio/libioP.h: Likewise.
44995         * resolv/gai_notify.c: Likewise.
44996         * resolv/ns_name.c: Likewise.
44997         * resolv/ns_samedomain.c: Likewise.
44998         * resolv/res_send.c: Likewise.
44999         * stdlib/random.c: Likewise.
45000         * sunrpc/rpc/xdr.h: Likewise.
45001         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
45002         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
45003         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
45004         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
45005         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
45006         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
45007         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
45008         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
45009         * sysdeps/mach/hurd/check_fds.c: Likewise.
45010         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
45011         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
45012         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
45013         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
45014         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
45015         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
45016         * sysdeps/pthread/aio_notify.c: Likewise.
45017         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
45018         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
45019         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
45020         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
45021         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
45023 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
45025         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
45026         version if bit_Slow_SSE4_2 is set.
45027         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
45028         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
45030 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45032         [BZ #15867]
45033         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
45034         trampoline stack frame information.
45035         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
45036         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
45037         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
45038         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
45039         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
45040         * sysdeps/unix/sysv/linux/powerpc/init-first.c
45041         (_libc_vdso_platform_setup): Initialize the signal trampolines.
45042         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
45043         sa_flags value.
45044         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
45045         interrupting a syscall and set with option SA_SIGINFO.
45047 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
45049         [BZ #15531]
45050         * math/s_cproj.c (__cproj): Only return an infinity if one part of
45051         argument is infinite.
45052         * math/s_cprojf.c (__cprojf): Likewise.
45053         * math/s_cprojl.c (__cprojl): Likewise.
45054         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
45055         * math/libm-test.inc (cproj_test_data): Add more tests.
45057         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
45059         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
45060         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
45061         size.  Use __ffs to determine corresponding shift.
45063 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
45064             Roland McGrath  <roland@hack.frob.com>
45066         * Makefile (INSTALL): Remove trailing blank lines from output of
45067         makeinfo.
45069 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
45071         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
45072         Align 32 bit compat elf_greg to 8 bytes.
45074 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
45076         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
45078 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
45080         * string/strcoll_l.c (coll_seq): New structure.
45081         (get_next_seq_cached): New function.
45082         (get_next_seq): New function.
45083         (do_compare): New function.
45084         (STRCOLL): Use GNU style definition.  Simplify implementation
45085         by using get_next_seq, get_next_seq_cached and do_compare.
45087 2013-08-16  Florian Weimer  <fweimer@redhat.com>
45089         [BZ #14699]
45090         CVE-2013-4237
45091         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
45092         member.
45093         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
45094         member.
45095         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
45096         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
45097         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
45098         conditional.
45099         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
45100         GETDENTS_64BIT_ALIGNED.
45101         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
45102         * manual/filesys.texi (Reading/Closing Directory): Document
45103         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
45104         strongly.
45105         * manual/conf.texi (Limits for Files): Add portability note to
45106         NAME_MAX, PATH_MAX.
45107         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
45109 2013-08-13  Andreas Schwab  <schwab@suse.de>
45111         [BZ #15749]
45112         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
45113         of fabs.
45114         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
45115         LDBL_MAX_EXP >= 16384]: Add tests for it.
45117 2013-08-12  David S. Miller  <davem@davemloft.net>
45119         * version.h (RELEASE): Set to "development".
45120         (VERSION): Set to "2.18.90".
45121         * NEWS: Add 2.19 section.
45123 2013-08-03  David S. Miller  <davem@davemloft.net>
45125         * po/ko.po: Update Korean translation from translation project.
45127 2013-08-01  David S. Miller  <davem@davemloft.net>
45129         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
45130         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
45131         Bilka.
45133 2013-07-30  David S. Miller  <davem@davemloft.net>
45135         * po/fr.po: Update French translation from translation project.
45137 2013-07-28  David S. Miller  <davem@davemloft.net>
45139         * po/cs.po: Update Czech translation from translation project.
45141         * po/sv.po: Update Swedish translation from translation project.
45143 2013-07-27  David S. Miller  <davem@davemloft.net>
45145         * po/eo.po: Update Esperanto translation from translation project.
45147         * po/vi.po: Update Vietnamese translation from translation project.
45149         * po/de.po: Update German translation from translation project.
45151 2013-07-26  David S. Miller  <davem@davemloft.net>
45153         * po/bg.po: Update Bulgarian translation from translation project.
45155         * po/nl.po: Update Dutch translation from translation project.
45156         * po/pl.po: Update Polish translation from translation project.
45157         * po/ru.po: Update Russian translation from translation project.
45159 2013-07-24  David S. Miller  <davem@davemloft.net>
45161         * po/libc.pot: Update.
45163 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45165         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
45166         variable page size.
45167         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
45168         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
45169         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
45171 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
45173         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
45175 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
45176             Andreas Schwab  <schwab@suse.de>
45177             Roland McGrath  <roland@hack.frob.com>
45178             Joseph Myers  <joseph@codesourcery.com>
45179             Carlos O'Donell  <carlos@redhat.com>
45181         [BZ #15755]
45182         * config.h.in: Define HAVE_PT_CHOWN.
45183         * config.make.in (build-pt-chown): New variable.
45184         * configure.in (--enable-pt_chown): New configure option.
45185         * configure: Regenerate.
45186         * login/Makefile: Include Makeconfig.  Build pt_chown only if
45187         build-pt-chown is enabled.
45188         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
45189         pt_chown to fix pty ownership.
45190         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
45191         CLOSE_ALL_FDS.
45192         * manual/install.texi (Configuring and compiling): Mention
45193         --enable-pt_chown. Add @findex for grantpt.
45194         * INSTALL: Regenerate.
45196 2013-07-20  David S. Miller  <davem@davemloft.net>
45198         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
45199         difference between 32-bit and 64-bit.
45201 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
45203         [BZ #15711]
45204         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
45205         Avoid system header dependency with -ffreestanding.
45206         ($(objpfx)bits/syscall%d): Likewise.
45208 2013-07-13  David S. Miller  <davem@davemloft.net>
45210         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
45211         underflows from atanl/atan2l due to bug 15319.
45212         (casinh_test_data): Likewise.
45214 2013-07-07  David S. Miller  <davem@davemloft.net>
45216         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
45218 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
45220         * sysdeps/i386/fpu/libm-test-ulps: Update.
45221         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45223 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
45225         * configure.in (--enable-lock-elision): Fix message text.
45226         * INSTALL: Regenerate.
45227         * configure: Regenerate.
45229 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45231         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45233 2013-07-03  Andreas Jaeger  <aj@suse.de>
45235         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
45236         define.
45237         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
45238         (ptrace_peeksiginfo_args): Add.
45239         (__ptrace_peeksiginfo_flags): Add.
45240         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
45241         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
45242         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
45244 2013-07-03  Allan McRae  <allan@archlinux.org>
45246         * sysdeps/i386/fpu/libm-test-ulps: Update.
45248 2013-07-02  David S. Miller  <davem@davemloft.net>
45250         * sysdeps/sparc/fpu/libm-test-ulps: Update.
45252 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
45254         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
45256 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
45258         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
45259         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45261 2013-07-02  Andi Kleen <ak@linux.intel.com>
45263         * config.h.in (ENABLE_LOCK_ELISION): Add.
45264         * configure.in (--enable-lock-elision): Add option.
45265         * manual/install.texi: Document --enable lock elision.
45266         * configure: Regenerate
45267         * INSTALL: Regenerate.
45269 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
45271         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
45272         SSE4.2 strcasecmp for libc.a.
45273         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
45275 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
45277         [BZ #13304]
45278         * soft-fp/op-common.h (_FP_FMA): New macro.
45279         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
45280         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
45281         (_FP_MUL_MEAT_1_imm): ... here.
45282         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
45283         (_FP_MUL_MEAT_1_wide): ... here.
45284         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
45285         (_FP_MUL_MEAT_1_hard): ... here.
45286         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
45287         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
45288         (_FP_MUL_MEAT_2_wide): ... here.
45289         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
45290         (_FP_MUL_MEAT_2_wide_3mul): ... here.
45291         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
45292         (_FP_MUL_MEAT_2_gmp): ... here.
45293         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
45294         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
45295         (_FP_MUL_MEAT_4_wide): ... here.
45296         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
45297         (_FP_MUL_MEAT_4_gmp): ... here.
45298         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
45299         (_FP_WFRACBITS_DW_S): Likewise.
45300         (_FP_WFRACXBITS_DW_S): Likewise.
45301         (_FP_HIGHBIT_DW_S): Likewise.
45302         (FP_FMA_S): Likewise.
45303         (_FP_FRAC_HIGH_DW_S): Likewise.
45304         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
45305         (_FP_WFRACBITS_DW_D): Likewise.
45306         (_FP_WFRACXBITS_DW_D): Likewise.
45307         (_FP_HIGHBIT_DW_D): Likewise.
45308         (FP_FMA_D): Likewise.
45309         (_FP_FRAC_HIGH_DW_D): Likewise.
45310         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
45311         (_FP_WFRACBITS_DW_E): Likewise.
45312         (_FP_WFRACXBITS_DW_E): Likewise.
45313         (_FP_HIGHBIT_DW_E): Likewise.
45314         (FP_FMA_E): Likewise.
45315         (_FP_FRAC_HIGH_DW_E): Likewise.
45316         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
45317         (_FP_WFRACBITS_DW_Q): Likewise.
45318         (_FP_WFRACXBITS_DW_Q): Likewise.
45319         (_FP_HIGHBIT_DW_Q): Likewise.
45320         (FP_FMA_Q): Likewise.
45321         (_FP_FRAC_HIGH_DW_Q): Likewise.
45322         * soft-fp/fmasf4.c: New file.
45323         * soft-fp/fmadf4.c: Likewise.
45324         * soft-fp/fmatf4.c: Likewise.
45326 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
45328         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
45329         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
45330         Silvermont.
45331         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
45332         macro.
45333         (index_Slow_SSE4_2): Likewise.
45334         (index_Prefer_PMINUB_for_stringop): Likewise.
45335         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
45336         bit_Slow_SSE4_2 is set.
45337         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
45338         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
45340 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
45342         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
45343         rtld_global._dl_hwcap2.
45344         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
45345         POWER8.
45346         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
45347         POWER8 feature descriptions defined in _dl_hwcap2.
45348         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
45349         string handling for POWER8 feature bits.
45350         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
45351         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
45352         _dl_powerpc_cap_flags.
45353         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
45354         * sysdeps/powerpc/rtld-global-offsets.sym
45355         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
45356         _dl_hwcap2 in the rtld_global_ro structure.
45358 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
45360         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
45361         hardware capabilities in support of AT_HWCAP2.
45362         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
45363         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
45364         GLRO(dl_hwcap2).
45365         (_dl_show_auxv): Add support for calling _dl_procinfo to display
45366         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
45367         explicitly the unknown a_type display mechanism is used.
45368         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
45369         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
45370         struct member.
45371         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
45372         to macro prototype for AT_HWCAP2 support.
45373         * sysdeps/i386/dl-procinfo.h: Likewise.
45374         * sysdeps/s390/dl-procinfo.h: Likewise.
45375         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
45376         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
45377         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
45378         return -1 for unknown a_type display fallback.
45379         * sysdeps/sparc/dl-procinfo.h: Likewise.
45380         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
45381         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
45383 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
45385         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
45386         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
45388 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
45390         [BZ #12492]
45391         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
45392         mprotect making __stack_prot writable.
45394 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
45395             Joseph Myers  <joseph@codesourcery.com>
45397         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
45398         as being properly aligned.
45400 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
45402         * dlfcn/modstatic5.c: New file.
45403         * dlfcn/tststatic5.c: New file.
45404         * dlfcn/Makefile (tests): Add tststatic5.
45405         (tests-static): Likewise.
45406         (modules-names): Add modstatic5.
45407         (tststatic5-ENV): New variable.
45408         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
45410         [BZ #15022]
45411         * elf/dl-support.c (_dl_main_map): New variable.
45412         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
45413         (_dl_nns, _dl_load_adds): Set to 1.
45414         (_dl_initial_searchlist): Refer to _dl_main_map.
45415         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
45416         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
45417         call to _dl_get_origin.
45418         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
45419         around call_map.
45420         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
45421         * dlfcn/modstatic3.c: New file.
45422         * dlfcn/tststatic3.c: New file.
45423         * dlfcn/tststatic4.c: New file.
45424         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
45425         (tests-static): Likewise.
45426         (modules-names): Add modstatic3.
45427         (tststatic3-ENV, tststatic4-ENV): New variables.
45428         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
45429         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
45431 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
45433         * configure.in (CC): Require GCC version 4.4 or later.
45434         * configure: Regenerated.
45435         * manual/install.texi (Tools for Compilation): Update GCC version
45436         requirement.
45437         * INSTALL: Regenerated.
45439 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
45441         [BZ #15674]
45442         * string/test-memcmp.c (check2): New.
45443         (main): Call check2.
45445         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
45447 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
45449         [BZ #15022]
45450         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
45451         over to...
45452         (dl_open_worker) [!SHARED]: ... here.
45454 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
45456         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
45458 2013-06-25  Richard Henderson  <rth@redhat.com>
45460         * locale/programs/locarchive.c: Include <libc-internal.h>
45462 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
45464         * manual/texinfo.tex: Update to version 2013-06-21.17, with
45465         trailing whitespace removed.
45467 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
45469         [BZ #10283]
45470         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
45471         * locale/programs/locarchive.c: Include libc-mmap.h.
45472         (prepare_address_space): Take two new outputs (the mmap base and len).
45473         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
45474         values.
45475         (create_archive): Declare new mmap base and len values for
45476         prepare_address_space, and store the result in ah.
45477         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
45478         (enlarge_archive): If ah->mmap_base is not NULL, use that and
45479         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
45480         Declare new mmap base and len values for
45481         prepare_address_space, and store the result in new_ah.
45482         (open_archive): Declare new mmap base and len values for
45483         prepare_address_space, and store the result in ah.
45484         (close_archive): If ah->mmap_base is not NULL, use that and
45485         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
45486         * sysdeps/generic/libc-mmap.h: New file.
45488 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
45490         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
45491         (ALIGN_UP): Likewise.
45492         (PTR_ALIGN_DOWN): Likewise.
45493         (PTR_ALIGN_UP): Likewise.
45495 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
45497         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
45498         entry mapped to PPC_PLATFORM_POWER8.
45499         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
45500         POWER8.
45501         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
45502         (_dl_string_platform): Add case for exporting platform position for
45503         POWER8.
45504         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
45505         search path to sysdeps/powerpc/powerpc32/power8 directory.
45506         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
45507         search path to sysdeps/powerpc/powerpc64/power8 directory.
45508         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
45509         power7 directories.
45510         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
45511         power7 directories.
45513 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
45515         * INSTALL: Regenerate.
45517         * nscd/connections.c (nscd_init): Fix comment.
45519 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
45521         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
45523         [BZ #15667]
45524         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
45525         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
45527 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
45529         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
45530         DL_DST_REQ_STATIC.
45531         (DL_DST_REQ_STATIC): Remove macro.
45533 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
45535         [BZ #7006]
45536         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
45537         with a shift of 0 bits.
45539 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
45541         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
45542         $(tststatic-ENV).
45544 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
45546         [BZ #15655]
45547         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
45549 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45551         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
45552         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
45553         accepts -fno-tree-loop-distribute-patterns.
45554         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
45555         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
45556         recursive call.
45557         * string/memset.c (memset): Likewise.
45558         * string/test-memmove.c (simple_memmove): Disable loop transformation
45559         to library calls.
45560         * string/test-memset.c (simple_memset): Likewise.
45561         * benchtests/bench-memmove.c (simple_memmove): Likewise.
45562         * benchtests/bench-memset.c (simple_memset): Likewise.
45563         * configure: Regenerated.
45565 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
45567         * math/test-misc.c (main): Ignore fesetround failure when failures
45568         of subsequent rounding tests would be ignored.
45570         [BZ #15654]
45571         * math/fedisblxcpt.c (fedisableexcept): Return 0.
45572         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
45573         * math/fegetenv.c (__fegetenv): Return 0.
45574         * math/fegetexcept.c (fegetexcept): Return 0.
45575         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
45576         FE_TONEAREST.
45577         * math/feholdexcpt.c (feholdexcept): Return 0.
45578         * math/fesetenv.c (__fesetenv): Return 0.
45579         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
45580         argument FE_TONEAREST.
45581         * math/feupdateenv.c (__feupdateenv): Return 0.
45582         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
45584 2013-06-18  Roland McGrath  <roland@hack.frob.com>
45586         * elf/rtld-Rules (rtld-compile-command.S): New variable.
45587         (rtld-compile-command.s, rtld-compile-command.c): New variables.
45588         ($(objpfx)rtld-%.os rules): Use them.
45590 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45592         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
45593         fields.
45595 2013-06-17  Roland McGrath  <roland@hack.frob.com>
45597         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
45598         length of target pattern, then descending length of dependency pattern.
45599         * configure.in (AWK): Require gawk 3.1.2 or newer.
45600         * manual/install.texi (Tools for Compilation): Say that we do.
45601         * configure: Regenerated.
45603         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
45604         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
45605         * scripts/sysd-rules.awk: ... this new script.
45606         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
45607         than a glob-style pattern.
45609 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
45611         * math/test-misc.c (main): Do not treat incorrectly rounded
45612         conversions as failure unless ROUNDING_TESTS passes.
45614 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
45616         [BZ #15631]
45617         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
45618         restore exception state around main square root computation, then
45619         check for inexactness explicitly.
45621         * math/libm-test.inc (fma_test_data): Add another test.
45623 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
45625         * manual/threads.texi (Non-POSIX Extensions): New document
45626         node.  Document pthread_getattr_default_np and
45627         pthread_setattr_default_np.
45629         * Versions.def (libpthread): Add GLIBC_2.18.
45630         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
45631         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
45632         Likewise.
45633         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
45634         Likewise.
45635         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
45636         Likewise.
45637         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
45638         Likewise.
45639         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
45640         Likewise.
45641         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
45642         Likewise.
45643         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
45644         Likewise.
45645         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
45646         Likewise.
45647         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
45648         Likewise.
45650 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
45652         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
45653         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
45655 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
45656             H.J. Lu  <hjl.tools@gmail.com>
45658         [BZ #15627]
45659         * sysdeps/x86_64/rtld-memset.c: Remove file.
45660         * sysdeps/x86_64/rtld-memset.S: New file.
45662 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
45664         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
45665         (test_in_one_mode): Take arguments for whether the rounding mode
45666         is supported for each floating-point type.
45667         (do_test): Pass new arguments to test_in_one_mode using
45668         ROUNDING_TESTS.
45670 2013-06-13  Roland McGrath  <roland@hack.frob.com>
45672         * posix/tst-waitid.c (do_test): Distinguish different instances of
45673         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
45674         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
45675         before entering the kernel for waitpid.
45677 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
45679         * NEWS: Fix note on clock function precision.  Text by Roland
45680         McGrath.
45682 2013-06-13  Roland McGrath  <roland@hack.frob.com>
45684         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
45685         it into place only when and if the sanity check passes.
45687 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
45689         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
45690         output for whether conversion result is exact.  Take argument
45691         indicating whether type is IBM long double.
45692         (round_for_all): Change need_exact field to ibm_ld.
45693         * stdlib/tst-strtod-round.c (struct exactness): New type.
45694         (struct test): Change bool ld_ok field to struct exactness exact.
45695         (TEST): Update all definitions for change to field.
45696         (tests): Regenerate array contents.
45697         (test_in_one_mode): Take pointer to new field instead of old ld_ok
45698         field value.  Check for IBM long double here.
45699         (do_test): Update calls to test_in_one_mode.
45701 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
45703         [BZ #12515]
45704         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
45705         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
45707 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45709         [BZ #15605]
45710         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
45711         generated by the compiler on loop optimizations.
45712         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
45713         general definitions.
45715 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
45717         * math/bug-nextafter.c: Include <math-tests.h>.
45718         (main): Only test for exceptions if EXCEPTION_TESTS is true for
45719         the relevant type.
45720         * math/bug-nexttoward.c: Include <math-tests.h>.
45721         (main): Only test for exceptions if EXCEPTION_TESTS is true for
45722         the relevant type.
45723         * math/test-misc.c: Include <math-tests.h>.
45724         (main): Only test for exceptions if EXCEPTION_TESTS is true for
45725         the relevant type.
45727 2013-06-12  Andreas Jaeger  <aj@suse.de>
45729         * po/ia.po: Update Interlingua translation from translation
45730         project.
45732 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
45734         * include/fenv.h: Include stdbool.h.
45735         (struct rm_ctx): New structure.
45736         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
45737         Define macro.
45738         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
45739         (SET_RESTORE_ROUNDF): Likewise.
45740         (SET_RESTORE_ROUNDL): Likewise.
45741         (SET_RESTORE_ROUND_NOEX): Likewise.
45742         (SET_RESTORE_ROUND_NOEXF): Likewise.
45743         (SET_RESTORE_ROUND_NOEXL): Likewise.
45744         (SET_RESTORE_ROUND_53BIT): Likewise.
45745         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
45746         (libc_feresetround_noexf_ctx): Likewise.
45747         (libc_feresetround_noexl_ctx): Likewise.
45748         (libc_feholdsetround_53bit_ctx): Likewise.
45749         (libc_feresetround_53bit_ctx): Likewise.
45750         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
45751         (libc_feholdexcept_setround_sse_ctx): New function.
45752         (libc_fesetenv_sse_ctx): Likewise.
45753         (libc_feupdateenv_sse_ctx): Likewise.
45754         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
45755         (libc_feholdexcept_setround_387_ctx): Likewise.
45756         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
45757         (libc_feholdsetround_387_prec_ctx): Likewise.
45758         (libc_feholdsetround_387_ctx): Likewise.
45759         (libc_feholdsetround_387_53bit_ctx): Likewise.
45760         (libc_feholdsetround_sse_ctx): Likewise.
45761         (libc_feresetround_sse_ctx): Likewise.
45762         (libc_feresetround_387_ctx): Likewise.
45763         (libc_feupdateenv_387_ctx): Likewise.
45764         (libc_feholdexcept_setroundf_ctx): Define macro.
45765         (libc_fesetenvf_ctx): Likewise.
45766         (libc_feupdateenvf_ctx): Likewise.
45767         (libc_feholdsetroundf_ctx): Likewise.
45768         (libc_feresetroundf_ctx): Likewise.
45769         (libc_feholdexcept_setround_ctx): Likewise.
45770         (libc_fesetenv_ctx): Likewise.
45771         (libc_feupdateenv_ctx): Likewise.
45772         (libc_feholdsetround_ctx): Likewise.
45773         (libc_feresetround_ctx): Likewise.
45774         (libc_feholdexcept_setroundl_ctx): Likewise.
45775         (libc_feupdateenvl_ctx): Likewise.
45776         (libc_feholdsetroundl_ctx): Likewise.
45777         (libc_feresetroundl_ctx): Likewise.
45778         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
45779         (libc_feresetround_53bit_ctx): Likewise.
45781 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
45783         * locale/iso-639.def: Convert to UTF-8.
45785 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
45787         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
45788         (EXCEPTION_TESTS_double): Likewise.
45789         (EXCEPTION_TESTS_long_double): Likewise.
45790         (EXCEPTION_TESTS): Likewise.
45791         * math/libm-test.inc (test_exceptions): Only test exceptions if
45792         EXCEPTION_TESTS (FLOAT).
45794 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
45796         * benchtests/Makefile (string-bench): Add strcpy_chk and
45797         stpcpy_chk.
45798         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
45799         * benchtests/bench-stpcpy_chk.c: New file.
45800         * benchtests/bench-strcpy_chk-ifunc.c: New file.
45801         * benchtests/bench-strcpy_chk.c: New file.
45802         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
45803         code.
45804         (do_test): Likewise.
45806 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
45808         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
45809         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
45810         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
45811         with tabs where appropriate.
45812         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
45813         dl-procinfo.h.
45814         [PPC_PLATFORM_PPC440]: Likewise.
45815         [PPC_PLATFORM_PPC464]: Likewise.
45816         [PPC_PLATFORM_PPC476]: Likewise.
45817         (_dl_string_platform): Add support for detecting ppc405, ppc440,
45818         ppc464, and ppc476 platform strings merging from ports/
45819         dl-procinfo.h.
45821 2013-06-11  Andreas Schwab  <schwab@suse.de>
45823         [BZ #14991]
45824         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
45825         (from_ucs4_idx): Regenerate.
45826         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
45827         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
45828         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
45829         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
45830         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
45831         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
45832         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
45833         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
45834         from FROM_LOOP and TO_LOOP specific macros.
45835         (BODY): Handle combining characters.
45836         * iconvdata/BIG5HKSCS.irreversible: Update.
45837         * iconvdata/BIG5HKSCS.precomposed: New file.
45838         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
45839         characters.
45840         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
45842 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
45844         * include/sys/time.h: Fix indentation and add copyright header.
45846         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
45847         (do_test): Likewise.
45848         * string/test-memchr.c (do_one_test): Likewise.
45849         (do_test): Likewise.
45850         * string/test-memcmp.c (do_one_test): Likewise.
45851         (do_test): Likewise.
45852         * string/test-memcpy.c (do_one_test): Likewise.
45853         (do_test): Likewise.
45854         * string/test-memmem.c (do_one_test): Likewise.
45855         (do_test): Likewise.
45856         (do_random_tests): Likewise.
45857         * string/test-memmove.c (do_one_test): Likewise.
45858         (do_test): Likewise.
45859         * string/test-memset.c (do_one_test): Likewise.
45860         (do_test): Likewise.
45861         * string/test-rawmemchr.c (do_one_test): Likewise.
45862         (do_test): Likewise.
45863         * string/test-strcasecmp.c (do_one_test): Likewise.
45864         (do_test): Likewise.
45865         * string/test-strcasestr.c (do_one_test): Likewise.
45866         (do_test): Likewise.
45867         * string/test-strcat.c (do_one_test): Likewise.
45868         (do_test): Likewise.
45869         * string/test-strchr.c (do_one_test): Likewise.
45870         (do_test): Likewise.
45871         * string/test-strcmp.c (do_one_test): Likewise.
45872         (do_test): Likewise.
45873         * string/test-strcpy.c (do_one_test): Likewise.
45874         (do_test): Likewise.
45875         * string/test-string.h: Likewise.
45876         (test_init): Likewise.
45877         * string/test-strlen.c (do_one_test): Likewise.
45878         (do_test): Likewise.
45879         * string/test-strncasecmp.c (do_one_test): Likewise.
45880         (do_test): Likewise.
45881         * string/test-strncat.c (do_one_test): Likewise.
45882         (do_test): Likewise.
45883         * string/test-strncmp.c (do_one_test): Likewise.
45884         (do_test_limit): Likewise.
45885         (do_test): Likewise.
45886         * string/test-strncpy.c (do_one_test): Likewise.
45887         (do_test): Likewise.
45888         * string/test-strnlen.c (do_one_test): Likewise.
45889         (do_test): Likewise.
45890         * string/test-strpbrk.c (do_one_test): Likewise.
45891         (do_test): Likewise.
45892         * string/test-strrchr.c (do_one_test): Likewise.
45893         (do_test): Likewise.
45894         * string/test-strspn.c (do_one_test): Likewise.
45895         (do_test): Likewise.
45896         * string/test-strstr.c (do_one_test): Likewise.
45897         (do_test): Likewise.
45899         * benchtests/Makefile (string-bench): Add string benchmarks.
45900         * benchtests/bench-bcopy-ifunc.c: New file.
45901         * benchtests/bench-bcopy.c: New file.
45902         * benchtests/bench-bzero-ifunc.c: New file.
45903         * benchtests/bench-bzero.c: New file.
45904         * benchtests/bench-memccpy-ifunc.c: New file.
45905         * benchtests/bench-memccpy.c: New file.
45906         * benchtests/bench-memchr-ifunc.c: New file.
45907         * benchtests/bench-memchr.c: New file.
45908         * benchtests/bench-memcmp-ifunc.c: New file.
45909         * benchtests/bench-memcmp.c: New file.
45910         * benchtests/bench-memmem-ifunc.c: New file.
45911         * benchtests/bench-memmem.c: New file.
45912         * benchtests/bench-memmove-ifunc.c: New file.
45913         * benchtests/bench-memmove.c: New file.
45914         * benchtests/bench-mempcpy-ifunc.c: New file.
45915         * benchtests/bench-mempcpy.c: New file.
45916         * benchtests/bench-memset-ifunc.c: New file.
45917         * benchtests/bench-memset.c: New file.
45918         * benchtests/bench-rawmemchr-ifunc.c: New file.
45919         * benchtests/bench-rawmemchr.c: New file.
45920         * benchtests/bench-stpcpy-ifunc.c: New file.
45921         * benchtests/bench-stpcpy.c: New file.
45922         * benchtests/bench-stpncpy-ifunc.c: New file.
45923         * benchtests/bench-stpncpy.c: New file.
45924         * benchtests/bench-strcasecmp-ifunc.c: New file.
45925         * benchtests/bench-strcasecmp.c: New file.
45926         * benchtests/bench-strcasestr-ifunc.c: New file.
45927         * benchtests/bench-strcasestr.c: New file.
45928         * benchtests/bench-strcat-ifunc.c: New file.
45929         * benchtests/bench-strcat.c: New file.
45930         * benchtests/bench-strchr-ifunc.c: New file.
45931         * benchtests/bench-strchr.c: New file.
45932         * benchtests/bench-strchrnul-ifunc.c: New file.
45933         * benchtests/bench-strchrnul.c: New file.
45934         * benchtests/bench-strcmp-ifunc.c: New file.
45935         * benchtests/bench-strcmp.c: New file.
45936         * benchtests/bench-strcpy-ifunc.c: New file.
45937         * benchtests/bench-strcpy.c: New file.
45938         * benchtests/bench-strcspn-ifunc.c: New file.
45939         * benchtests/bench-strcspn.c: New file.
45940         * benchtests/bench-strlen-ifunc.c: New file.
45941         * benchtests/bench-strlen.c: New file.
45942         * benchtests/bench-strncasecmp-ifunc.c: New file.
45943         * benchtests/bench-strncasecmp.c: New file.
45944         * benchtests/bench-strncat-ifunc.c: New file.
45945         * benchtests/bench-strncat.c: New file.
45946         * benchtests/bench-strncmp-ifunc.c: New file.
45947         * benchtests/bench-strncmp.c: New file.
45948         * benchtests/bench-strncpy-ifunc.c: New file.
45949         * benchtests/bench-strncpy.c: New file.
45950         * benchtests/bench-strnlen-ifunc.c: New file.
45951         * benchtests/bench-strnlen.c: New file.
45952         * benchtests/bench-strpbrk-ifunc.c: New file.
45953         * benchtests/bench-strpbrk.c: New file.
45954         * benchtests/bench-strrchr-ifunc.c: New file.
45955         * benchtests/bench-strrchr.c: New file.
45956         * benchtests/bench-strspn-ifunc.c: New file.
45957         * benchtests/bench-strspn.c: New file.
45958         * benchtests/bench-strstr-ifunc.c: New file.
45959         * benchtests/bench-strstr.c: New file.
45961         * benchtests/Makefile: Disable parallel execution of targets.
45962         (string-bench): Add memcpy.
45963         (benchset): New variable to store a list of benchmark sets.
45964         (bench-func): Renamed from bench.
45965         (bench-set): New target.
45966         (bench): Depend on bench-func and bench-set.
45967         * benchtests/README: Add section on benchmark sets.
45968         * benchtests/bench-memcpy-ifunc.c: New file.
45969         * benchtests/bench-memcpy.c: New file.
45970         * benchtests/bench-string.h: New file.
45972 2013-06-11  Andreas Schwab  <schwab@suse.de>
45974         [BZ #15577]
45975         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
45976         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
45977         values in the triple.
45978         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
45979         terminator in the group key.
45981 2013-06-11  Andreas Jaeger  <aj@suse.de>
45983         * po/zh_TW.po: Update Chinese (traditional) translation from
45984         translation project.
45986 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
45988         * include/time.h (__clock_gettime): Add libc_hidden_proto.
45989         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
45990         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
45991         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
45992         (clock_getcpuclockid): Likewise.
45993         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
45994         Add weak_alias and libc_hidden_def.
45995         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
45996         * rt/clock_gettime.c (clock_gettime): Rename to
45997         __clock_gettime.  Add weak_alias and libc_hidden_def.
45998         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
45999         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
46000         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
46001         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
46002         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
46003         Likewise.
46004         * rt/clock_settime.c (clock_settime): Rename to
46005         __clock_settime.  Add weak_alias and libc_hidden_def.
46006         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
46008 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
46010         * mach/err_boot.sub: Remove trailing whitespace.
46011         * mach/err_ipc.sub: Likewise.
46012         * mach/err_mach.sub: Likewise.
46014         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
46015         (ROUNDING_TESTS_double): Likewise.
46016         (ROUNDING_TESTS_long_double): Likewise.
46017         (ROUNDING_TESTS): Likewise.
46018         * math/libm-test.inc: Include <math-tests.h>.
46019         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
46020         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
46021         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
46022         (IF_ROUND_INIT_FE_UPWARD): Likewise.
46024 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
46026         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
46027         of assigning.
46029 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
46031         * sysdeps/gnu/errlist.awk: Do not generate space at end of
46032         otherwise empty TRANS lines.
46033         * sysdeps/gnu/errlist.c: Regenerated.
46035         * catgets/gencat.c (error_print): Use (void) in function
46036         definition.
46037         * crypt/crypt_util.c (__init_des): Likewise.
46038         * crypt/speeds.c (Stop): Likewise.
46039         (main): Likewise.
46040         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
46041         * inet/ruserpass.c (token): Likewise.
46042         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
46043         * intl/localealias.c (extend_alias_table): Likewise.
46044         * intl/plural-exp.c (init_germanic_plural): Likewise.
46045         * libio/fcloseall.c (__fcloseall): Likewise.
46046         * libio/genops.c (_IO_flush_all): Likewise.
46047         (_IO_flush_all_linebuffered): Likewise.
46048         (_IO_cleanup): Likewise.
46049         (_IO_iter_begin): Likewise.
46050         (_IO_iter_end): Likewise.
46051         (_IO_list_lock): Likewise.
46052         (_IO_list_unlock): Likewise.
46053         (_IO_list_resetlock): Likewise.
46054         * libio/getchar.c (getchar): Likewise.
46055         * libio/getchar_u.c (getchar_unlocked): Likewise.
46056         * libio/getwchar.c (getwchar): Likewise.
46057         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
46058         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
46059         * login/getpt.c (__getpt): Likewise.
46060         * login/tst-utmp.c (main): Likewise.
46061         * malloc/hooks.c (__malloc_check_init): Likewise.
46062         * malloc/malloc.c (__malloc_stats): Likewise.
46063         * malloc/mtrace.c (tr_break): Likewise.
46064         (mtrace): Likewise.
46065         (muntrace): Likewise.
46066         * misc/fstab.c (endfsent): Likewise.
46067         * misc/getclktck.c (__getclktck): Likewise.
46068         * misc/getdtsz.c (__getdtablesize): Likewise.
46069         * misc/gethostid.c (gethostid): Likewise.
46070         * misc/getpagesize.c (__getpagesize): Likewise.
46071         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
46072         (__get_nprocs): Likewise.
46073         (__get_phys_pages): Likewise.
46074         (__get_avphys_pages): Likewise.
46075         * misc/getttyent.c (getttyent): Likewise.
46076         (setttyent): Likewise.
46077         (endttyent): Likewise.
46078         * misc/getusershell.c (getusershell): Likewise.
46079         (endusershell): Likewise.
46080         (setusershell): Likewise.
46081         (initshells): Likewise.
46082         * misc/hsearch.c (__hdestroy): Likewise.
46083         * misc/sync.c (sync): Likewise.
46084         * misc/syslog.c (closelog_internal): Likewise.
46085         (closelog): Likewise.
46086         * misc/ttyslot.c (ttyslot): Likewise.
46087         * misc/vhangup.c (vhangup): Likewise.
46088         * posix/fork.c (__fork): Likewise.
46089         * posix/getegid.c (__getegid): Likewise.
46090         * posix/geteuid.c (__geteuid): Likewise.
46091         * posix/getgid.c (__getgid): Likewise.
46092         * posix/getpid.c (__getpid): Likewise.
46093         * posix/getppid.c (__getppid): Likewise.
46094         * posix/getuid.c (__getuid): Likewise.
46095         * posix/pause.c (pause): Likewise.
46096         * posix/setpgrp.c (setpgrp): Likewise.
46097         * posix/setsid.c (__setsid): Likewise.
46098         * posix/test-vfork.c (noop): Likewise.
46099         * resolv/gethnamaddr.c (_endhtent): Likewise.
46100         (_gethtent): Likewise.
46101         (ht_endhostent): Likewise.
46102         (gethostent): Likewise.
46103         (dns_service): Likewise.
46104         * stdlib/drand48.c (drand48): Likewise.
46105         * stdlib/lrand48.c (lrand48): Likewise.
46106         * stdlib/mrand48.c (mrand48): Likewise.
46107         * stdlib/rand.c (rand): Likewise.
46108         * stdlib/random.c (__random): Likewise.
46109         * stdlib/setenv.c (clearenv): Likewise.
46110         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
46111         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
46112         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
46113         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
46114         (__get_nprocs): Likewise.
46115         (__get_phys_pages): Likewise.
46116         (__get_avphys_pages): Likewise.
46117         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
46118         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
46119         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
46120         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
46121         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
46122         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
46123         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
46124         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
46125         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
46126         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
46127         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
46128         * sysdeps/mach/hurd/sync.c (sync): Likewise.
46129         * sysdeps/posix/clock.c (clock): Likewise.
46130         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
46131         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
46132         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
46133         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
46134         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
46135         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
46136         (__get_nprocs_conf): Likewise.
46137         (__get_phys_pages): Likewise.
46138         (__get_avphys_pages): Likewise.
46139         * time/clock.c (clock): Likewise.
46140         * time/tzset.c (__tzname_max): Likewise.
46142 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
46144         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
46145         (__bswap_32): Do not use "register".
46146         * crypt/crypt.c (_ufc_doit_r): Likewise.
46147         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
46148         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
46149         * gmon/gmon.c (__monstartup): Likewise.
46150         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
46151         * hurd/hurdmalloc.c (more_memory): Likewise.
46152         (malloc): Likewise.
46153         (free): Likewise.
46154         (realloc): Likewise.
46155         (malloc_fork_prepare): Likewise.
46156         (malloc_fork_parent): Likewise.
46157         (malloc_fork_child): Likewise.
46158         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
46159         (_svcauth_des): Likewise.
46160         * inet/inet_lnaof.c (inet_lnaof): Likewise.
46161         * inet/inet_net.c (inet_network): Likewise.
46162         * inet/inet_netof.c (inet_netof): Likewise.
46163         * inet/rcmd.c (__validuser2_sa): Likewise.
46164         * io/fts.c (fts_open): Likewise.
46165         (fts_load): Likewise.
46166         (fts_close): Likewise.
46167         (fts_read): Likewise.
46168         (fts_children): Likewise.
46169         (fts_build): Likewise.
46170         (fts_stat): Likewise.
46171         (fts_sort): Likewise.
46172         (fts_alloc): Likewise.
46173         (fts_lfree): Likewise.
46174         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
46175         (_IO_file_xsgetn): Likewise.
46176         (_IO_file_xsgetn_mmap): Likewise.
46177         * libio/iofopncook.c (_IO_cookie_read): Likewise.
46178         (_IO_cookie_write): Likewise.
46179         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
46180         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
46181         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
46182         * malloc/obstack.c (_obstack_begin): Likewise.
46183         (_obstack_begin_1): Likewise.
46184         (_obstack_newchunk): Likewise.
46185         (_obstack_allocated_p): Likewise.
46186         (obstack_free): Likewise.
46187         (_obstack_memory_used): Likewise.
46188         * misc/getttyent.c (getttynam): Likewise.
46189         (getttyent): Likewise.
46190         (skip): Likewise.
46191         (value): Likewise.
46192         * misc/getusershell.c (initshells): Likewise.
46193         * misc/syslog.c (__vsyslog_chk): Likewise.
46194         * misc/ttyslot.c (ttyslot): Likewise.
46195         * nis/nis_hash.c (__nis_hash): Likewise.
46196         * posix/fnmatch_loop.c (FCT): Likewise.
46197         * posix/getconf.c (print_all): Likewise.
46198         (main): Likewise.
46199         * posix/getopt.c (exchange): Likewise.
46200         * posix/glob.c (globfree): Likewise.
46201         (prefix_array): Likewise.
46202         (__glob_pattern_type): Likewise.
46203         * resolv/arpa/nameser.h (NS_GET16): Likewise.
46204         (NS_GET32): Likewise.
46205         (NS_PUT16): Likewise.
46206         (NS_PUT32): Likewise.
46207         * resolv/gethnamaddr.c (getanswer): Likewise.
46208         (gethostbyname2): Likewise.
46209         (gethostbyaddr): Likewise.
46210         (_gethtent): Likewise.
46211         (_gethtbyname2): Likewise.
46212         (_gethtbyaddr): Likewise.
46213         * resolv/ns_print.c (dst_s_get_int16): Likewise.
46214         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
46215         * resolv/res_init.c (__res_vinit): Likewise.
46216         (net_mask): Likewise.
46217         * resolv/res_mkquery.c (outchar): Likewise.
46218         (PRINT): Likewise.
46219         * stdio-common/printf_fp.c (outchar): Likewise.
46220         (PRINT): Likewise.
46221         * stdio-common/printf_fphex.c (outchar): Likewise.
46222         (PRINT): Likewise.
46223         * stdio-common/printf_size.c (outchar): Likewise.
46224         (PRINT): Likewise.
46225         * stdio-common/test_rdwr.c (main): Likewise.
46226         * stdio-common/tfformat.c (matches): Likewise.
46227         * stdio-common/vfprintf.c (outchar): Likewise.
46228         (printf_unknown): Likewise.
46229         (buffered_vfprintf): Likewise.
46230         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
46231         * stdio-common/xbug.c (AppendToBuffer): Likewise.
46232         (ReadFile): Likewise.
46233         * stdlib/qsort.c (SWAP): Likewise.
46234         (_quicksort): Likewise.
46235         * stdlib/setenv.c (__add_to_environ): Likewise.
46236         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
46237         * stdlib/strtol_l.c (__strtol_l): Likewise.
46238         * stdlib/tst-strtod.c (main): Likewise.
46239         * stdlib/tst-strtol.c (main): Likewise.
46240         * stdlib/tst-strtoll.c (main): Likewise.
46241         * string/bits/string2.h (__strcmp_cc): Likewise.
46242         (__strcmp_cg): Likewise.
46243         (__strcspn_c1): Likewise.
46244         (__strcspn_c2): Likewise.
46245         (__strcspn_c3): Likewise.
46246         (__strspn_c1): Likewise.
46247         (__strspn_c2): Likewise.
46248         (__strspn_c3): Likewise.
46249         (__strsep_1c): Likewise.
46250         (__strsep_2c): Likewise.
46251         (__strsep_3c): Likewise.
46252         * string/memccpy.c (__memccpy): Likewise.
46253         * string/stpcpy.c (__stpcpy): Likewise.
46254         * string/strcmp.c (strcmp): Likewise.
46255         * string/strrchr.c (strrchr): Likewise.
46256         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
46257         Likewise.
46258         * sysdeps/mach/hurd/getcwd.c
46259         (_hurd_canonicalize_directory_name_internal): Likewise.
46260         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
46261         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
46262         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
46263         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
46264         Likewise, in both definitions.
46265         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
46266         definitions.
46267         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
46268         64] (__bswap_64): Likewise.
46269         * time/test_time.c (main): Likewise.
46270         * time/tzfile.c (__tzfile_read): Likewise.
46271         (__tzfile_compute): Likewise.
46272         * time/tzset.c (__tzset_parse_tz): Likewise.
46273         (tzset_internal): Likewise.
46274         (compute_change): Likewise.
46275         * wcsmbs/wcscat.c (__wcscat): Likewise.
46276         * wcsmbs/wcschr.c (wcschr): Likewise.
46277         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
46278         * wcsmbs/wcscspn.c (wcscspn): Likewise.
46279         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
46280         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
46281         * wcsmbs/wcsspn.c (wcsspn): Likewise.
46282         * wcsmbs/wcsstr.c (wcsstr): Likewise.
46283         * wcsmbs/wmemchr.c (wmemchr): Likewise.
46284         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
46285         * wcsmbs/wmemset.c (wmemset): Likewise.
46287 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
46289         * scripts/config.guess: Update to version 2013-05-16.
46290         * scripts/config.sub: Update to version 2013-04-24.
46291         * scripts/install-sh: Update to version 2011-11-20.07.
46292         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
46293         * scripts/move-if-change: Update to version 2012-01-06 07:23.
46295 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
46297         * debug/fgetws_u_chk.c: Fix leading whitespaces.
46298         * elf/sln.c: Likewise.
46299         * hurd/hurd/ioctl.h: Likewise.
46300         * hurd/hurdmalloc.c: Likewise.
46301         * hurd/xattr.c: Likewise.
46302         * include/shlib-compat.h: Likewise.
46303         * inet/ruserpass.c: Likewise.
46304         * libio/iofgets_u.c: Likewise.
46305         * libio/iofgetws_u.c: Likewise.
46306         * locale/programs/ld-identification.c: Likewise.
46307         * locale/programs/ld-time.c: Likewise.
46308         * mach/msg-destroy.c: Likewise.
46309         * nss/nss_files/files-netgrp.c: Likewise.
46310         * resolv/res_data.c: Likewise.
46311         * soft-fp/op-1.h: Likewise.
46312         * soft-fp/op-2.h: Likewise.
46313         * soft-fp/op-4.h: Likewise.
46314         * soft-fp/op-common.h: Likewise.
46315         * stdio-common/printf_fphex.c: Likewise.
46316         * stdlib/strtod_l.c: Likewise.
46317         * sunrpc/rpc/clnt.h: Likewise.
46318         * sysdeps/generic/framestate.c: Likewise.
46319         * sysdeps/i386/bsd-_setjmp.S: Likewise.
46320         * sysdeps/i386/bsd-setjmp.S: Likewise.
46321         * sysdeps/i386/__longjmp.S: Likewise.
46322         * sysdeps/i386/setjmp.S: Likewise.
46323         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
46324         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
46325         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
46326         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
46327         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
46328         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
46329         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
46330         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
46331         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
46332         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
46333         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
46334         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
46335         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
46336         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
46337         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
46338         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
46339         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
46340         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
46341         * sysdeps/ieee754/support.c: Likewise.
46342         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
46343         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
46344         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
46345         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
46346         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
46347         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
46348         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
46349         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
46350         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
46351         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
46352         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
46353         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
46354         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
46355         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
46356         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
46357         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
46358         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
46359         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
46361 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
46363         * posix/transbug.c: Remove executable mode.
46365 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
46367         * crypt/speeds.c: Remove trailing whitespace.
46368         * dlfcn/default.c: Likewise.
46369         * elf/ifuncdep2.c: Likewise.
46370         * elf/ifuncmain1.c: Likewise.
46371         * elf/ifuncmain1vis.c: Likewise.
46372         * elf/testobj.h: Likewise.
46373         * elf/tst-stackguard1.c: Likewise.
46374         * gmon/sys/gmon.h: Likewise.
46375         * hurd/hurdmsg.c: Likewise.
46376         * hurd/new-fd.c: Likewise.
46377         * hurd/ports-get.c: Likewise.
46378         * iconvdata/ibm1008_420.c: Likewise.
46379         * inet/tst-getni1.c: Likewise.
46380         * inet/tst-getni2.c: Likewise.
46381         * libio/ioungetc.c: Likewise.
46382         * libio/wfiledoalloc.c: Likewise.
46383         * manual/libm-err-tab.pl: Likewise.
46384         * math/w_dremf.c: Likewise.
46385         * misc/ftruncate.c: Likewise.
46386         * posix/bug-glob2.c: Likewise.
46387         * posix/tst-pcre.c: Likewise.
46388         * posix/wait4.c: Likewise.
46389         * resolv/README: Likewise.
46390         * resolv/res_debug.h: Likewise.
46391         * resolv/tst-inet_ntop.c: Likewise.
46392         * setjmp/bug269-setjmp.c: Likewise.
46393         * soft-fp/extended.h: Likewise.
46394         * soft-fp/op-1.h: Likewise.
46395         * soft-fp/op-2.h: Likewise.
46396         * soft-fp/op-4.h: Likewise.
46397         * soft-fp/op-8.h: Likewise.
46398         * soft-fp/testit.c: Likewise.
46399         * stdio-common/bug16.c: Likewise.
46400         * stdlib/random.c: Likewise.
46401         * sunrpc/rpcsvc/rquota.x: Likewise.
46402         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
46403         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
46404         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
46405         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
46406         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
46407         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
46408         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
46409         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
46410         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
46411         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
46412         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
46413         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
46414         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
46415         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
46416         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
46417         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
46418         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
46419         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
46420         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
46421         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
46422         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
46423         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
46424         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
46425         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
46426         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
46427         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
46428         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
46429         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
46430         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
46431         * sysdeps/ieee754/s_lib_version.c: Likewise.
46432         * sysdeps/mach/hurd/check_fds.c: Likewise.
46433         * sysdeps/mach/hurd/getsockname.c: Likewise.
46434         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
46435         * sysdeps/mach/hurd/recvfrom.c: Likewise.
46436         * sysdeps/powerpc/bits/link.h: Likewise.
46437         * sysdeps/powerpc/dl-procinfo.c: Likewise.
46438         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
46439         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
46440         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
46441         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
46442         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
46443         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
46444         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
46445         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
46446         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
46447         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
46448         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
46449         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
46450         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
46451         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
46452         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
46453         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
46454         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
46455         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
46456         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
46457         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
46458         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
46459         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
46460         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
46461         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
46462         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
46463         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
46464         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
46465         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
46466         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
46467         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
46468         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
46469         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
46470         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
46471         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
46472         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
46473         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
46474         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
46475         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
46476         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
46477         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
46478         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
46479         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
46480         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
46481         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
46482         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
46483         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
46484         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
46485         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
46486         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
46487         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
46488         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
46489         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
46490         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
46491         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
46492         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
46493         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
46494         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
46495         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
46496         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
46497         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
46498         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
46499         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
46500         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
46501         * sysdeps/powerpc/sysdep.h: Likewise.
46502         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
46503         * sysdeps/s390/s390-64/sub_n.S: Likewise.
46504         * sysdeps/sh/dl-trampoline.S: Likewise.
46505         * sysdeps/sh/memset.S: Likewise.
46506         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
46507         * sysdeps/sh/strlen.S: Likewise.
46508         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
46509         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
46510         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
46511         * sysdeps/sparc/sparc32/rem.S: Likewise.
46512         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
46513         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
46514         * sysdeps/sparc/sparc32/strchr.S: Likewise.
46515         * sysdeps/sparc/sparc32/udiv.S: Likewise.
46516         * sysdeps/sparc/sparc32/urem.S: Likewise.
46517         * sysdeps/sparc/sparc64/add_n.S: Likewise.
46518         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
46519         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
46520         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
46521         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
46522         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
46523         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
46524         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
46525         * sysdeps/unix/bsd/times.c: Likewise.
46526         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
46527         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
46528         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
46529         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
46530         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
46531         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
46532         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
46533         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
46534         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
46535         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
46536         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
46537         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
46538         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
46539         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
46540         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
46541         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
46542         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
46543         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
46544         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
46545         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
46546         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
46547         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
46548         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
46549         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
46550         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
46551         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
46552         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
46553         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
46554         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
46555         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
46556         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
46557         * sysdeps/x86_64/strcspn.S: Likewise.
46559 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
46561         * locale/C-translit.h: Revert #include <stdint.h> because this is a
46562         generated file.  Regenerate properly from gen-translit.pl.
46563         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
46564         locale/C-translit.h.
46566 2013-06-05  Andreas Schwab  <schwab@suse.de>
46568         [BZ #15100]
46569         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
46570         week as 6 instead of -1.
46571         * time/tst-strptime.c (day_tests): Add test case.
46573 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
46575         * sysdeps/generic/math_private.h
46576         (libc_feholdexcept_setround_53bit): Replace with
46577         libc_feholdsetround_53bit.
46578         (libc_feupdateenv_53bit): Replace with
46579         libc_feresetround_53bit.
46580         (SET_RESTORE_ROUND_53BIT): Adjust.
46582 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
46584         * string/test-strchrnul.c: Add copyright header.
46586         * posix/tst-getaddrinfo4.c: Increase test timeout.
46588 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
46590         [BZ #15536]
46591         * math/libm-test.inc (MAX_EXP): Remove
46592         (MIN_EXP): Define.
46593         (ulp): Use MIN_EXP - MANT_DIG.
46594         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
46596 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
46598         * po/be.po: Revert last change.
46599         * po/zh_CN.po: Likewise.
46600         * po/header.pot: Likewise.
46602 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
46604         * Makefile ($(common-objpfx)linkobj/libc.so): Define
46605         link-libc-deps to empty as target-specific variable.
46606         * Makerules (link-libc-args): New variable.
46607         (libc-for-link): Likewise.
46608         (link-libc-deps): Likewise.
46609         (lib%.so): Depend on $(link-libc-deps).  Link with
46610         $(link-libc-args).
46611         (build-module): Link with $(link-libc-args).
46612         (build-module-asneeded): Likewise.
46613         (build-module-helper-objlist): Filter out $(link-libc-deps) from
46614         list of objects.
46615         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
46616         target-specific variable.
46617         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
46618         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
46619         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
46620         libc.
46621         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
46622         libc and ld.so.
46623         ($(objpfx)libpcprofile.so): Likewise.
46624         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
46625         libc_nonshared.a.
46626         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
46627         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
46628         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
46629         $(link-libc-deps).
46630         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
46631         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
46632         * login/Makefile ($(objpfx)libutil.so): Likewise.
46633         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
46634         * math/Makefile ($(objpfx)libm.so): Likewise.
46635         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
46636         $(objpfx)libnsl.so): Define libc-for-link as target-specific
46637         variable instead of depending directly on libc.
46638         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
46639         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
46640         $(link-libc-deps).
46641         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
46642         libc.
46643         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
46644         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
46645         ($(objpfx)libanl.so): Likewise.
46646         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
46647         ld.so.
46648         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
46649         $(link-libc-deps).
46650         * sysdeps/i386/fpu/Makefile: Remove file.
46651         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
46652         ($(objpfx)libm.so): Remove dependency on ld.so.
46654 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
46656         [BZ # 15553]
46657         * nis/yp_xdr.c (XDRMAXNAME): Define.
46658         (XDRMAXRECORD): Define.
46659         (xdr_domainname): Use XDRMAXNAME.
46660         (xdr_mapname): Likewise.
46661         (xdr_peername): Likewise.
46662         (xdr_keydat): Use XDRMAXRECORD.
46663         (xdr_valdat): Likewise.
46665 2013-05-30  Jeff Law  <law@redhat.com>
46667         [BZ #14256]
46668         * manual/errno.texi (ESTALE): Update to account for more than
46669         just NFS file systems.
46670         * sysdeps/gnu/errlist.c: Regenerated.
46672 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
46674         [BZ #15465]
46675         * elf/Makefile (tests): Add tst-null-argv.
46676         (modules-names):  Add tst-null-argv-lib.
46677         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
46678         (tst-null-argv-ENV): Set environment for tst-null-argv.
46679         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
46680         (RTLD_PROGNAME): New macro.
46681         * elf/tst-null-argv.c: New test case.
46682         * elf/tst-null-argv-lib.c: Library for test case.
46683         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
46684         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
46685         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
46686         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
46687         * elf/dl-init.c (call_init): Likewise.
46688         (_dl_init): Likewise.
46689         * elf/dl-load.c (print_search_path): Likewise.
46690         (_dl_map_object): Likewise.
46691         * elf/dl-lookup.c (do_lookup_x): Likewise.
46692         (add_dependency): Likewise.
46693         (_dl_lookup_symbol_x): Likewise.
46694         (_dl_debug_bindings): Likewise.
46695         * elf/dl-open.c (_dl_show_scope): Likewise.
46696         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
46697         * elf/dl-version.c (match_symbol): Likewise.
46698         (_dl_check_map_versions): Likewise.
46699         * elf/rtld.c (dl_main): Likewise.
46700         (print_unresolved): Use RTLD_PROGNAME.
46701         (print_missing_version): Likewise.
46702         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
46703         (elf_machine_rela): Likewise.
46704         * sysdeps/powerpc/powerpc32/dl-machine.c
46705         (__process_machine_rela): Likewise.
46706         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
46707         Likewise.
46708         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
46709         Likewise.
46710         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
46711         Likewise.
46712         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
46713         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
46714         Likewise.
46715         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
46716         Likewise.
46717         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
46719 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
46721         * po/be.po: Add descriptive title.
46722         * po/zh_CN.po: Likewise.
46723         * po/header.pot: Likewise.
46725 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
46727         * locale/programs/locarchive.c (create_archive): Inlucde fname in
46728         error message.
46729         (enlarge_archive): Likewise.
46731 2013-05-28  Ben North  <ben@redfrontdoor.org>
46733         * manual/arith.texi (frexp): It is the magnitude of the return
46734         value which lies in [0.5, 1), not the return value itself.
46736 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46738         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46740 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
46742         * stdio-common/bug26.c (main): Correct fscanf template.
46744         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
46745         declare _dl_skip_args.
46747         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
46748         Don't declare.
46750         * manual/platform.texi: Add missing @end deftypefun.
46752 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
46754         [BZ #15529]
46755         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
46756         bit of mantissa of 2^16382.
46757         * math/libm-test.inc (hypot_test_data): Add more tests.
46759         * math/libm-test.inc: Add drem and pow10 to list of tested
46760         functions.
46761         (pow10_test): New function.
46762         (drem_test): Likewise.
46763         (drem_test_tonearest): Likewise.
46764         (drem_test_towardzero): Likewise.
46765         (drem_test_downward): Likewise.
46766         (drem_test_upward): Likewise.
46767         (main): Call the new functions.
46769         * math/libm-test.inc (finite_test_data): Remove.
46770         (finite_test): Run tests from isfinite_test_data.
46771         (gamma_test_data): Remove.
46772         (gamma_test): Run tests from lgamma_test_data.
46773         * sysdeps/i386/fpu/libm-test-ulps: Update.
46774         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46776 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46778         * manual/platform.texi: Add PowerPC PPR function set documentation.
46779         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
46780         implementation.
46782 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
46784         * math/libm-test.inc (MAX_EXP): Define.
46785         (ULPDIFF): Define.
46786         (ulp): New function.
46787         (check_float_internal): Use ULPDIFF.
46788         (cpow_test): Disable failing test.
46789         (check_ulp): Test ulp() implemetnation.
46790         (main): Call check_ulp before starting tests.
46792 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
46794         * math/gen-libm-test.pl (generate_testfile): Do not handle
46795         START_DATA and END_DATA.
46796         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
46797         END_DATA.
46798         (acos_tonearest_test_data): Likewise.
46799         (acos_towardzero_test_data): Likewise.
46800         (acos_downward_test_data): Likewise.
46801         (acos_upward_test_data): Likewise.
46802         (acosh_test_data): Likewise.
46803         (asin_test_data): Likewise.
46804         (asin_tonearest_test_data): Likewise.
46805         (asin_towardzero_test_data): Likewise.
46806         (asin_downward_test_data): Likewise.
46807         (asin_upward_test_data): Likewise.
46808         (asinh_test_data): Likewise.
46809         (atan_test_data): Likewise.
46810         (atanh_test_data): Likewise.
46811         (atan2_test_data): Likewise.
46812         (cabs_test_data): Likewise.
46813         (cacos_test_data): Likewise.
46814         (cacosh_test_data): Likewise.
46815         (carg_test_data): Likewise.
46816         (casin_test_data): Likewise.
46817         (casinh_test_data): Likewise.
46818         (catan_test_data): Likewise.
46819         (catanh_test_data): Likewise.
46820         (cbrt_test_data): Likewise.
46821         (ccos_test_data): Likewise.
46822         (ccosh_test_data): Likewise.
46823         (ceil_test_data): Likewise.
46824         (cexp_test_data): Likewise.
46825         (cimag_test_data): Likewise.
46826         (clog_test_data): Likewise.
46827         (clog10_test_data): Likewise.
46828         (conj_test_data): Likewise.
46829         (copysign_test_data): Likewise.
46830         (cos_test_data): Likewise.
46831         (cos_tonearest_test_data): Likewise.
46832         (cos_towardzero_test_data): Likewise.
46833         (cos_downward_test_data): Likewise.
46834         (cos_upward_test_data): Likewise.
46835         (cosh_test_data): Likewise.
46836         (cosh_tonearest_test_data): Likewise.
46837         (cosh_towardzero_test_data): Likewise.
46838         (cosh_downward_test_data): Likewise.
46839         (cosh_upward_test_data): Likewise.
46840         (cpow_test_data): Likewise.
46841         (cproj_test_data): Likewise.
46842         (creal_test_data): Likewise.
46843         (csin_test_data): Likewise.
46844         (csinh_test_data): Likewise.
46845         (csqrt_test_data): Likewise.
46846         (ctan_test_data): Likewise.
46847         (ctan_tonearest_test_data): Likewise.
46848         (ctan_towardzero_test_data): Likewise.
46849         (ctan_downward_test_data): Likewise.
46850         (ctan_upward_test_data): Likewise.
46851         (ctanh_test_data): Likewise.
46852         (ctanh_tonearest_test_data): Likewise.
46853         (ctanh_towardzero_test_data): Likewise.
46854         (ctanh_downward_test_data): Likewise.
46855         (ctanh_upward_test_data): Likewise.
46856         (erf_test_data): Likewise.
46857         (erfc_test_data): Likewise.
46858         (exp_test_data): Likewise.
46859         (exp_tonearest_test_data): Likewise.
46860         (exp_towardzero_test_data): Likewise.
46861         (exp_downward_test_data): Likewise.
46862         (exp_upward_test_data): Likewise.
46863         (exp10_test_data): Likewise.
46864         (exp2_test_data): Likewise.
46865         (expm1_test_data): Likewise.
46866         (fabs_test_data): Likewise.
46867         (fdim_test_data): Likewise.
46868         (finite_test_data): Likewise.
46869         (floor_test_data): Likewise.
46870         (fma_test_data): Likewise.
46871         (fma_towardzero_test_data): Likewise.
46872         (fma_downward_test_data): Likewise.
46873         (fma_upward_test_data): Likewise.
46874         (fmax_test_data): Likewise.
46875         (fmin_test_data): Likewise.
46876         (fmod_test_data): Likewise.
46877         (fpclassify_test_data): Likewise.
46878         (frexp_test_data): Likewise.
46879         (gamma_test_data): Likewise.
46880         (hypot_test_data): Likewise.
46881         (ilogb_test_data): Likewise.
46882         (isfinite_test_data): Likewise.
46883         (isgreater_test_data): Likewise.
46884         (isgreaterequal_test_data): Likewise.
46885         (isinf_test_data): Likewise.
46886         (isless_test_data): Likewise.
46887         (islessequal_test_data): Likewise.
46888         (islessgreater_test_data): Likewise.
46889         (isnan_test_data): Likewise.
46890         (isnormal_test_data): Likewise.
46891         (issignaling_test_data): Likewise.
46892         (isunordered_test_data): Likewise.
46893         (j0_test_data): Likewise.
46894         (j1_test_data): Likewise.
46895         (jn_test_data): Likewise.
46896         (ldexp_test_data): Likewise.
46897         (lgamma_test_data): Likewise.
46898         (lrint_test_data): Likewise.
46899         (lrint_tonearest_test_data): Likewise.
46900         (lrint_towardzero_test_data): Likewise.
46901         (lrint_downward_test_data): Likewise.
46902         (lrint_upward_test_data): Likewise.
46903         (llrint_test_data): Likewise.
46904         (llrint_tonearest_test_data): Likewise.
46905         (llrint_towardzero_test_data): Likewise.
46906         (llrint_downward_test_data): Likewise.
46907         (llrint_upward_test_data): Likewise.
46908         (log_test_data): Likewise.
46909         (log10_test_data): Likewise.
46910         (log1p_test_data): Likewise.
46911         (log2_test_data): Likewise.
46912         (logb_test_data): Likewise.
46913         (logb_downward_test_data): Likewise.
46914         (lround_test_data): Likewise.
46915         (llround_test_data): Likewise.
46916         (modf_test_data): Likewise.
46917         (nearbyint_test_data): Likewise.
46918         (nextafter_test_data): Likewise.
46919         (nexttoward_test_data): Likewise.
46920         (pow_test_data): Likewise.
46921         (pow_tonearest_test_data): Likewise.
46922         (pow_towardzero_test_data): Likewise.
46923         (pow_downward_test_data): Likewise.
46924         (pow_upward_test_data): Likewise.
46925         (remainder_test_data): Likewise.
46926         (remainder_tonearest_test_data): Likewise.
46927         (remainder_towardzero_test_data): Likewise.
46928         (remainder_downward_test_data): Likewise.
46929         (remainder_upward_test_data): Likewise.
46930         (remquo_test_data): Likewise.
46931         (rint_test_data): Likewise.
46932         (rint_tonearest_test_data): Likewise.
46933         (rint_towardzero_test_data): Likewise.
46934         (rint_downward_test_data): Likewise.
46935         (rint_upward_test_data): Likewise.
46936         (round_test_data): Likewise.
46937         (scalb_test_data): Likewise.
46938         (scalbn_test_data): Likewise.
46939         (scalbln_test_data): Likewise.
46940         (signbit_test_data): Likewise.
46941         (sin_test_data): Likewise.
46942         (sin_tonearest_test_data): Likewise.
46943         (sin_towardzero_test_data): Likewise.
46944         (sin_downward_test_data): Likewise.
46945         (sin_upward_test_data): Likewise.
46946         (sincos_test_data): Likewise.
46947         (sinh_test_data): Likewise.
46948         (sinh_tonearest_test_data): Likewise.
46949         (sinh_towardzero_test_data): Likewise.
46950         (sinh_downward_test_data): Likewise.
46951         (sinh_upward_test_data): Likewise.
46952         (sqrt_test_data): Likewise.
46953         (tan_test_data): Likewise.
46954         (tan_tonearest_test_data): Likewise.
46955         (tan_towardzero_test_data): Likewise.
46956         (tan_downward_test_data): Likewise.
46957         (tan_upward_test_data): Likewise.
46958         (tanh_test_data): Likewise.
46959         (tgamma_test_data): Likewise.
46960         (trunc_test_data): Likewise.
46961         (y0_test_data): Likewise.
46962         (y1_test_data): Likewise.
46963         (yn_test_data): Likewise.
46964         (significand_test_data): Likewise.
46966         * math/gen-libm-test.pl (@functions): Remove variable.
46967         (generate_testfile): Don't handle START and END lines.
46968         * math/libm-test.inc (START): New macro.
46969         (END): Likewise.
46970         (END_COMPLEX): Likewise.
46971         (acos_test): Use END macro without arguments.
46972         (acos_test_tonearest): Likewise.
46973         (acos_test_towardzero): Likewise.
46974         (acos_test_downward): Likewise.
46975         (acos_test_upward): Likewise.
46976         (acosh_test): Likewise.
46977         (asin_test): Likewise.
46978         (asin_test_tonearest): Likewise.
46979         (asin_test_towardzero): Likewise.
46980         (asin_test_downward): Likewise.
46981         (asin_test_upward): Likewise.
46982         (asinh_test): Likewise.
46983         (atan_test): Likewise.
46984         (atanh_test): Likewise.
46985         (atan2_test): Likewise.
46986         (cabs_test): Likewise.
46987         (cacos_test): Use END_COMPLEX macro without arguments.
46988         (cacosh_test): Likewise.
46989         (carg_test): Use END macro without arguments.
46990         (casin_test): Use END_COMPLEX macro without arguments.
46991         (casinh_test): Likewise.
46992         (catan_test): Likewise.
46993         (catanh_test): Likewise.
46994         (cbrt_test): Use END macro without arguments.
46995         (ccos_test): Use END_COMPLEX macro without arguments.
46996         (ccosh_test): Likewise.
46997         (ceil_test): Use END macro without arguments.
46998         (cexp_test): Use END_COMPLEX macro without arguments.
46999         (cimag_test): Use END macro without arguments.
47000         (clog_test): Use END_COMPLEX macro without arguments.
47001         (clog10_test): Likewise.
47002         (conj_test): Likewise.
47003         (copysign_test): Use END macro without arguments.
47004         (cos_test): Likewise.
47005         (cos_test_tonearest): Likewise.
47006         (cos_test_towardzero): Likewise.
47007         (cos_test_downward): Likewise.
47008         (cos_test_upward): Likewise.
47009         (cosh_test): Likewise.
47010         (cosh_test_tonearest): Likewise.
47011         (cosh_test_towardzero): Likewise.
47012         (cosh_test_downward): Likewise.
47013         (cosh_test_upward): Likewise.
47014         (cpow_test): Use END_COMPLEX macro without arguments.
47015         (cproj_test): Likewise.
47016         (creal_test): Use END macro without arguments.
47017         (csin_test): Use END_COMPLEX macro without arguments.
47018         (csinh_test): Likewise.
47019         (csqrt_test): Likewise.
47020         (ctan_test): Likewise.
47021         (ctan_test_tonearest): Likewise.
47022         (ctan_test_towardzero): Likewise.
47023         (ctan_test_downward): Likewise.
47024         (ctan_test_upward): Likewise.
47025         (ctanh_test): Likewise.
47026         (ctanh_test_tonearest): Likewise.
47027         (ctanh_test_towardzero): Likewise.
47028         (ctanh_test_downward): Likewise.
47029         (ctanh_test_upward): Likewise.
47030         (erf_test): Use END macro without arguments.
47031         (erfc_test): Likewise.
47032         (exp_test): Likewise.
47033         (exp_test_tonearest): Likewise.
47034         (exp_test_towardzero): Likewise.
47035         (exp_test_downward): Likewise.
47036         (exp_test_upward): Likewise.
47037         (exp10_test): Likewise.
47038         (exp2_test): Likewise.
47039         (expm1_test): Likewise.
47040         (fabs_test): Likewise.
47041         (fdim_test): Likewise.
47042         (finite_test): Likewise.
47043         (floor_test): Likewise.
47044         (fma_test): Likewise.
47045         (fma_test_towardzero): Likewise.
47046         (fma_test_downward): Likewise.
47047         (fma_test_upward): Likewise.
47048         (fmax_test): Likewise.
47049         (fmin_test): Likewise.
47050         (fmod_test): Likewise.
47051         (fpclassify_test): Likewise.
47052         (frexp_test): Likewise.
47053         (gamma_test): Likewise.
47054         (hypot_test): Likewise.
47055         (ilogb_test): Likewise.
47056         (isfinite_test): Likewise.
47057         (isgreater_test): Likewise.
47058         (isgreaterequal_test): Likewise.
47059         (isinf_test): Likewise.
47060         (isless_test): Likewise.
47061         (islessequal_test): Likewise.
47062         (islessgreater_test): Likewise.
47063         (isnan_test): Likewise.
47064         (isnormal_test): Likewise.
47065         (issignaling_test): Likewise.
47066         (isunordered_test): Likewise.
47067         (j0_test): Likewise.
47068         (j1_test): Likewise.
47069         (jn_test): Likewise.
47070         (ldexp_test): Likewise.
47071         (lgamma_test): Likewise.
47072         (lrint_test): Likewise.
47073         (lrint_test_tonearest): Likewise.
47074         (lrint_test_towardzero): Likewise.
47075         (lrint_test_downward): Likewise.
47076         (lrint_test_upward): Likewise.
47077         (llrint_test): Likewise.
47078         (llrint_test_tonearest): Likewise.
47079         (llrint_test_towardzero): Likewise.
47080         (llrint_test_downward): Likewise.
47081         (llrint_test_upward): Likewise.
47082         (log_test): Likewise.
47083         (log10_test): Likewise.
47084         (log1p_test): Likewise.
47085         (log2_test): Likewise.
47086         (logb_test): Likewise.
47087         (logb_test_downward): Likewise.
47088         (lround_test): Likewise.
47089         (llround_test): Likewise.
47090         (modf_test): Likewise.
47091         (nearbyint_test): Likewise.
47092         (nextafter_test): Likewise.
47093         (nexttoward_test): Likewise.
47094         (pow_test): Likewise.
47095         (pow_test_tonearest): Likewise.
47096         (pow_test_towardzero): Likewise.
47097         (pow_test_downward): Likewise.
47098         (pow_test_upward): Likewise.
47099         (remainder_test): Likewise.
47100         (remainder_test_tonearest): Likewise.
47101         (remainder_test_towardzero): Likewise.
47102         (remainder_test_downward): Likewise.
47103         (remainder_test_upward): Likewise.
47104         (remquo_test): Likewise.
47105         (rint_test): Likewise.
47106         (rint_test_tonearest): Likewise.
47107         (rint_test_towardzero): Likewise.
47108         (rint_test_downward): Likewise.
47109         (rint_test_upward): Likewise.
47110         (round_test): Likewise.
47111         (scalb_test): Likewise.
47112         (scalbn_test): Likewise.
47113         (scalbln_test): Likewise.
47114         (signbit_test): Likewise.
47115         (sin_test): Likewise.
47116         (sin_test_tonearest): Likewise.
47117         (sin_test_towardzero): Likewise.
47118         (sin_test_downward): Likewise.
47119         (sin_test_upward): Likewise.
47120         (sincos_test): Likewise.
47121         (sinh_test): Likewise.
47122         (sinh_test_tonearest): Likewise.
47123         (sinh_test_towardzero): Likewise.
47124         (sinh_test_downward): Likewise.
47125         (sinh_test_upward): Likewise.
47126         (sqrt_test): Likewise.
47127         (tan_test): Likewise.
47128         (tan_test_tonearest): Likewise.
47129         (tan_test_towardzero): Likewise.
47130         (tan_test_downward): Likewise.
47131         (tan_test_upward): Likewise.
47132         (tanh_test): Likewise.
47133         (tgamma_test): Likewise.
47134         (trunc_test): Likewise.
47135         (y0_test): Likewise.
47136         (y1_test): Likewise.
47137         (yn_test): Likewise.
47138         (significand_test): Likewise.
47140 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
47142         [BZ #15381]
47143         * libio/genops.c (_IO_no_init): Initialize wide struct info.
47145 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
47147         [BZ #14894]
47148         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
47149         __ppc_mdoio and __ppc_mdoom.
47150         * manual/platform.texi: Document new functions __ppc_yield,
47151         __ppc_mdoio and __ppc_mdoom.
47153 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
47155         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
47156         (main): Mention "tls" pseudo-hwcap is legacy.
47157         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
47159 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
47161         * math/gen-libm-test.pl (parse_args): Output only string of
47162         arguments as text for test name, not full call or descriptions of
47163         tests for extra outputs.
47164         (generate_testfile): Do not pass function name to parse_args.
47165         Generate this_func variable from START.
47166         * math/libm-test.inc (struct test_f_f_data): Rename test_name
47167         field to arg_str.
47168         (struct test_ff_f_data): Likewise.
47169         (test_ff_f_data_nexttoward): Likewise.
47170         (struct test_fi_f_data): Likewise.
47171         (struct test_fl_f_data): Likewise.
47172         (struct test_if_f_data): Likewise.
47173         (struct test_fff_f_data): Likewise.
47174         (struct test_c_f_data): Likewise.
47175         (struct test_f_f1_data): Likewise.  Remove field extra_name.
47176         (struct test_fF_f1_data): Likewise.
47177         (struct test_ffI_f1_data): Likewise.
47178         (struct test_c_c_data): Rename test_name field to arg_str.
47179         (struct test_cc_c_data): Likewise.
47180         (struct test_f_i_data): Likewise.
47181         (struct test_ff_i_data): Likewise.
47182         (struct test_f_l_data): Likewise.
47183         (struct test_f_L_data): Likewise.
47184         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
47185         and extra2_name.
47186         (COMMON_TEST_SETUP): New macro.
47187         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
47188         (COMMON_TEST_CLEANUP): Likewise.
47189         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
47190         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
47191         macros.
47192         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
47193         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
47194         macros.
47195         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
47196         (RUN_TEST_fff_f): Take argument string.  Call new setup and
47197         cleanup macros.
47198         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
47199         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
47200         macros.
47201         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
47202         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
47203         macros.
47204         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
47205         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
47206         cleanup macros.
47207         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
47208         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
47209         cleanup macros.
47210         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
47211         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
47212         cleanup macros.
47213         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
47214         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
47215         macros.
47216         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
47217         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
47218         macros.
47219         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
47220         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
47221         macros.
47222         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
47223         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
47224         cleanup macros.
47225         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
47226         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
47227         cleanup macros.
47228         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
47229         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
47230         macros.
47231         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
47232         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
47233         cleanup macros.
47234         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
47235         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
47236         macros.
47237         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
47238         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
47239         macros.
47240         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
47241         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
47242         cleanup macros.
47243         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
47245 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
47247         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
47248         to _sifields.sigfault.
47249         (si_addr_lsb): Define new macro.
47250         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
47251         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
47252         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
47254 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
47256         [BZ #15441]
47257         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
47258         returns -1.
47259         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
47260         null return -1.
47261         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
47262         loading the domain.
47264 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
47266         * math/gen-libm-test.pl (parse_args): Do not include expected
47267         result in test name.
47268         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
47269         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
47270         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
47271         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
47272         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
47273         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47275 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
47277         * benchtests/Makefile: Sort function entries.
47279         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
47280         tanh, asinh, acosh, atanh.
47281         * benchtests/acos-inputs: New file.
47282         * benchtests/acosh-inputs: New file.
47283         * benchtests/asin-inputs: New file.
47284         * benchtests/asinh-inputs: New file.
47285         * benchtests/atanh-inputs: New file.
47286         * benchtests/cosh-inputs: New file.
47287         * benchtests/log-inputs: New file.
47288         * benchtests/sinh-inputs: New file.
47289         * benchtests/tanh-inputs: New file.
47291 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
47293         [BZ #15339]
47294         * posix/tst-getaddrinfo4.c: New test.
47295         * posix/Makefile (tests): Add it.
47297 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
47299         [BZ #15339]
47300         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
47301         when no services were used.
47302         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
47303         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
47305 2013-05-21  Andreas Schwab  <schwab@suse.de>
47307         [BZ #15014]
47308         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
47309         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
47310         successful.
47311         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
47312         redundant variable declarations and reallocation of buffer when
47313         parsing as IPv6 address.  Always set NSS status when called from
47314         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
47315         buffer too small.  Correct computation of needed size.
47316         * nss/Makefile (tests): Add test-digits-dots.
47317         * nss/test-digits-dots.c: New test.
47319 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
47321         * benchtests/Makefile: Remove instructions for adding
47322         benchmark tests.
47323         * benchtests/README: New file to explain how to execute and
47324         enhance the benchmark tests.
47326 2013-05-21  Andreas Schwab  <schwab@suse.de>
47328         [BZ #15493]
47329         * setjmp/Makefile (tests): Add tst-sigsetjmp.
47330         * setjmp/tst-sigsetjmp.c: New test.
47332 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
47334         * sysdeps/x86_64/memset.S (memset): New implementation.
47335         (__bzero): Likewise.
47336         (__memset_tail): New function.
47338 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
47340         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
47341         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
47342         __memcpy_sse2_unaligned ifunc selection.
47343         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
47344         Add memcpy-sse2-unaligned.S.
47345         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
47346         Add: __memcpy_sse2_unaligned.
47348 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
47350         [BZ #15490]
47351         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
47352         math_force_eval before restoring floating-point envrionment.
47353         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
47354         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
47355         Likewise.
47356         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
47357         <math_private.h>.
47358         (__nearbyintl): Use math_force_eval before restoring
47359         floating-point environment.
47360         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
47362         * math/gen-libm-test.pl (special_functions): Remove.
47363         (parse_args): Don't handle TEST_extra.  Handle functions with no
47364         return value.
47365         * math/libm-test.inc (struct test_sincos_data): Replace with
47366         struct test_fFF_11_data.
47367         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
47368         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
47369         (sincos_test_data): Change element type to struct
47370         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
47371         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
47372         RUN_TEST_LOOP_sincos.
47373         * math/README.libm-test: Don't mention special handling of
47374         individual functions.
47375         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
47376         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
47377         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
47378         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
47379         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
47380         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47382         * math/gen-libm-test.pl (get_variable): Remove function.
47383         (parse_args): Don't show pointer parameters to call in test
47384         names.  Use "extra output N" in test names for extra outputs
47385         rather than naming variables.
47387 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
47389         [BZ #15488]
47390         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
47391         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
47392         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
47393         double tests.
47394         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
47395         disable.
47396         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
47397         check_long_double.
47399         * math/gen-libm-test.pl (@tests): Remove variable.
47400         ($count): Likewise.
47401         (new_test): Remove function.
47402         (show_exceptions): New function.
47403         (special_functions): Use show_exceptions instead of new_test.
47404         (parse_args): Likewise.
47405         (generate_testfile): Pass only function name in generated call to
47406         print_max_error or print_complex_max_error.
47407         (get_ulps): Do not handle complex tests specially.
47408         (output_test): Rename to ...
47409         (get_all_ulps_for_test): ... this.  Return a string rather than
47410         printing to a file.  Require ulps to be present.
47411         (output_ulps): Generate arrays rather than #defines.
47412         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
47413         (struct ulp_data): New type.
47414         (BUILD_COMPLEX_ULP): Remove macro.
47415         (compare_ulp_data): New function.
47416         (find_ulps): Likewise.
47417         (find_test_ulps): Likewise.
47418         (find_function_ulps): Likewise.
47419         (find_complex_function_ulps): Likewise.
47420         (print_max_error): Determine allowed ulps using
47421         find_function_ulps.
47422         (print_complex_max_error): Determine allowed ulps using
47423         find_complex_function_ulps.
47424         (check_float_internal): Determine max ulps using find_test_ulps.
47425         (check_float): Do not take max_ulp parameter.  Update call to
47426         check_float_internal.
47427         (check_complex): Likewise.
47428         (check_int): Do not take max_ulp parameter.
47429         (check_long): Likewise.
47430         (check_bool): Likewise.
47431         (check_longlong): Likewise.
47432         (struct test_f_f_data): Remove max_ulp field.
47433         (struct test_ff_f_data): Likewise.
47434         (struct test_ff_f_data_nexttoward): Likewise.
47435         (struct test_fi_f_data): Likewise.
47436         (struct test_fl_f_data): Likewise.
47437         (struct test_if_f_data): Likewise.
47438         (struct test_fff_f_data): Likewise.
47439         (struct test_c_f_data): Likewise.
47440         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
47441         (struct test_fF_f1_data): Likewise.
47442         (struct test_ffI_f1_data): Likewise.
47443         (struct test_c_c_data): Remove max_ulp field.
47444         (struct test_cc_c_data): Likewise.
47445         (struct test_f_i_data): Likewise.
47446         (struct test_ff_i_data): Likewise.
47447         (struct test_f_l_data): Likewise.
47448         (struct test_f_L_data): Likewise.
47449         (struct test_sincos_data): Likewise.
47450         (RUN_TEST_f_f): Do not handle ulps.
47451         (RUN_TEST_LOOP_f_f): Likewise.
47452         (RUN_TEST_2_f): Likewise.
47453         (RUN_TEST_LOOP_2_f): Likewise.
47454         (RUN_TEST_fff_f): Likewise.
47455         (RUN_TEST_LOOP_fff_f): Likewise.
47456         (RUN_TEST_c_f): Likewise.
47457         (RUN_TEST_LOOP_c_f): Likewise.
47458         (RUN_TEST_f_f1): Likewise.
47459         (RUN_TEST_LOOP_f_f1): Likewise.
47460         (RUN_TEST_fF_f1): Likewise.
47461         (RUN_TEST_LOOP_fF_f1): Likewise.
47462         (RUN_TEST_fI_f1): Likewise.
47463         (RUN_TEST_LOOP_fI_f1): Likewise.
47464         (RUN_TEST_ffI_f1): Likewise.
47465         (RUN_TEST_LOOP_ffI_f1): Likewise.
47466         (RUN_TEST_c_c): Likewise.
47467         (RUN_TEST_LOOP_c_c): Likewise.
47468         (RUN_TEST_cc_c): Likewise.
47469         (RUN_TEST_LOOP_cc_c): Likewise.
47470         (RUN_TEST_f_i): Likewise.
47471         (RUN_TEST_LOOP_f_i): Likewise.
47472         (RUN_TEST_f_i_tg): Likewise.
47473         (RUN_TEST_LOOP_f_i_tg): Likewise.
47474         (RUN_TEST_ff_i_tg): Likewise.
47475         (RUN_TEST_LOOP_ff_i_tg): Likewise.
47476         (RUN_TEST_f_b): Likewise.
47477         (RUN_TEST_LOOP_f_b): Likewise.
47478         (RUN_TEST_f_b_tg): Likewise.
47479         (RUN_TEST_LOOP_f_b_tg): Likewise.
47480         (RUN_TEST_f_l): Likewise.
47481         (RUN_TEST_LOOP_f_l): Likewise.
47482         (RUN_TEST_f_L): Likewise.
47483         (RUN_TEST_LOOP_f_L): Likewise.
47484         (RUN_TEST_sincos): Likewise.
47485         (RUN_TEST_LOOP_sincos): Likewise.
47487 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
47489         [BZ #15480]
47490         [BZ #15485]
47491         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
47492         main case of finite arguments, set rounding mode to FE_TONEAREST
47493         and discard exceptions.
47494         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
47495         exceptions.
47496         (remainder_tonearest_test_data): New variable.
47497         (remainder_test_tonearest): New function.
47498         (remainder_towardzero_test_data): New variable.
47499         (remainder_test_towardzero): New function.
47500         (remainder_downward_test_data): New variable.
47501         (remainder_test_downward): New function.
47502         (remainder_upward_test_data): New variable.
47503         (remainder_test_upward): New function.
47504         (main): Call the new test functions.
47506         * math/libm-test.inc (struct test_f_f1_data): Remove field
47507         extra_init.
47508         (struct test_fF_f1_data): Likewise.
47509         (struct test_ffI_f1_data): Likewise.
47510         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
47511         based on value of EXTRA_EXPECTED.
47512         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
47513         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
47514         EXTRA_VAR based on value of EXTRA_EXPECTED.
47515         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
47516         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
47517         EXTRA_VAR based on value of EXTRA_EXPECTED.
47518         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
47519         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
47520         EXTRA_VAR based on value of EXTRA_EXPECTED.
47521         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
47522         * math/gen-libm-test.pl (parse_args): Don't output initializers
47523         for extra output values.
47525         * math/libm-test.inc (check_int): Expect result to be exactly
47526         equal to expected value and do not handle ulps.
47527         (check_long): Likewise.
47528         (check_longlong): Likewise.
47530         * math/libm-test.inc (ceil_test_data): Test for "inexact"
47531         exceptions.
47532         (cimag_test_data): Likewise.
47533         (conj_test_data): Likewise.
47534         (copysign_test_data): Likewise.
47535         (cproj_test_data): Likewise.
47536         (creal_test_data): Likewise.
47537         (fabs_test_data): Likewise.
47538         (fdim_test_data): Likewise.
47539         (finite_test_data): Likewise.
47540         (floor_test_data): Likewise.
47541         (fmax_test_data): Likewise.
47542         (fmin_test_data): Likewise.
47543         (fmod_test_data): Likewise.
47544         (fpclassify_test_data): Likewise.
47545         (frexp_test_data): Likewise.
47546         (ilogb_test_data): Likewise.
47547         (isfinite_test_data): Likewise.
47548         (isgreater_test_data): Likewise.
47549         (isgreaterequal_test_data): Likewise.
47550         (isinf_test_data): Likewise.
47551         (isless_test_data): Likewise.
47552         (islessequal_test_data): Likewise.
47553         (islessgreater_test_data): Likewise.
47554         (isnan_test_data): Likewise.
47555         (isnormal_test_data): Likewise.
47556         (issignaling_test_data): Likewise.
47557         (isunordered_test_data): Likewise.
47558         (ldexp_test_data): Likewise.
47559         (lrint_test_data): Likewise.
47560         (lrint_test_data) [TEST_FLOAT]: Disable one test.
47561         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
47562         (lrint_tonearest_test_data): Test for "inexact" exceptions.
47563         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
47564         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
47565         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
47566         test input.
47567         (lrint_towardzero_test_data): Test for "inexact" exceptions.
47568         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
47569         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
47570         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
47571         that test input.
47572         (lrint_downward_test_data): Test for "inexact" exceptions.
47573         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
47574         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
47575         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
47576         test input.
47577         (lrint_upward_test_data): Test for "inexact" exceptions.
47578         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
47579         test input.
47580         (llrint_test_data): Test for "inexact" exceptions.
47581         (llrint_test_data) [TEST_FLOAT]: Disable one test.
47582         (llrint_tonearest_test_data): Test for "inexact" exceptions.
47583         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
47584         (llrint_towardzero_test_data): Test for "inexact" exceptions.
47585         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
47586         (llrint_downward_test_data): Test for "inexact" exceptions.
47587         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
47588         (llrint_upward_test_data): Test for "inexact" exceptions.
47589         (logb_test_data): Likewise.
47590         (logb_downward_test_data): Likewise.
47591         (nextafter_test_data): Likewise.
47592         (nexttoward_test_data): Likewise.
47593         (remainder_test_data): Likewise.
47594         (remquo_test_data): Likewise.
47595         (scalbn_test_data): Likewise.
47596         (scalbln_test_data): Likewise.
47597         (signbit_test_data): Likewise.
47598         (sqrt_test_data): Likewise.
47599         (significand_test_data): Likewise.
47601 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
47603         [BZ #15424]
47604         * benchtests/bench-modf.c (struct args): Mark arg0 as
47605         volatile.
47606         * scripts/bench.pl: Mark members of struct args as volatile.
47608 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47610         [BZ # 15497]
47611         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
47612         negative infinity on POWER6 or lower.
47613         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
47615 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
47617         [BZ #15442]
47618         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
47619         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
47620         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
47621         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
47622         (_FP_SETQNAN): New macro.
47623         (_FP_SETQNAN_SEMIRAW): Likewise.
47624         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
47625         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
47626         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
47627         (FP_EXTEND): Use _FP_FRAC_SNANP.
47628         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
47629         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
47630         into account.
47631         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
47632         New macro.
47633         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
47634         Likewise.
47636 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
47638         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
47639         with DIVIDE_BY_ZERO_EXCEPTION.
47640         (gamma_test_data): Likewise.
47641         (lgamma_test_data): Likewise.
47642         (log_test_data): Likewise.
47643         (log10_test_data): Likewise.
47644         (log2_test_data): Likewise.
47645         (tgamma_test_data): Likewise.
47647         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
47648         (acos_test_tonearest): Likewise.
47649         (acos_test_towardzero): Likewise.
47650         (acos_test_downward): Likewise.
47651         (acos_test_upward): Likewise.
47652         (acosh_test): Likewise.
47653         (asin_test): Likewise.
47654         (asin_test_tonearest): Likewise.
47655         (asin_test_towardzero): Likewise.
47656         (asin_test_downward): Likewise.
47657         (asin_test_upward): Likewise.
47658         (asinh_test): Likewise.
47659         (atan_test): Likewise.
47660         (atanh_test): Likewise.
47661         (atan2_test): Likewise.
47662         (cabs_test): Likewise.
47663         (cacos_test): Likewise.
47664         (cacosh_test): Likewise.
47665         (casin_test): Likewise.
47666         (casinh_test): Likewise.
47667         (catan_test): Likewise.
47668         (catanh_test): Likewise.
47669         (cbrt_test): Likewise.
47670         (ccos_test): Likewise.
47671         (ccosh_test): Likewise.
47672         (cexp_test): Likewise.
47673         (clog_test): Likewise.
47674         (clog10_test): Likewise.
47675         (cos_test): Likewise.
47676         (cos_test_tonearest): Likewise.
47677         (cos_test_towardzero): Likewise.
47678         (cos_test_downward): Likewise.
47679         (cos_test_upward): Likewise.
47680         (cosh_test): Likewise.
47681         (cosh_test_tonearest): Likewise.
47682         (cosh_test_towardzero): Likewise.
47683         (cosh_test_downward): Likewise.
47684         (cosh_test_upward): Likewise.
47685         (cpow_test): Likewise.
47686         (csin_test): Likewise.
47687         (csinh_test): Likewise.
47688         (csqrt_test): Likewise.
47689         (ctan_test): Likewise.
47690         (ctan_test_tonearest): Likewise.
47691         (ctan_test_towardzero): Likewise.
47692         (ctan_test_downward): Likewise.
47693         (ctan_test_upward): Likewise.
47694         (ctanh_test): Likewise.
47695         (ctanh_test_tonearest): Likewise.
47696         (ctanh_test_towardzero): Likewise.
47697         (ctanh_test_downward): Likewise.
47698         (ctanh_test_upward): Likewise.
47699         (erf_test): Likewise.
47700         (erfc_test): Likewise.
47701         (exp_test): Likewise.
47702         (exp_test_tonearest): Likewise.
47703         (exp_test_towardzero): Likewise.
47704         (exp_test_downward): Likewise.
47705         (exp_test_upward): Likewise.
47706         (exp10_test): Likewise.
47707         (exp2_test): Likewise.
47708         (expm1_test): Likewise.
47709         (fmod_test): Likewise.
47710         (gamma_test): Likewise.
47711         (hypot_test): Likewise.
47712         (j0_test): Likewise.
47713         (j1_test): Likewise.
47714         (jn_test): Likewise.
47715         (lgamma_test): Likewise.
47716         (log_test): Likewise.
47717         (log10_test): Likewise.
47718         (log1p_test): Likewise.
47719         (log2_test): Likewise.
47720         (logb_test_downward): Likewise.
47721         (pow_test): Likewise.
47722         (pow_test_tonearest): Likewise.
47723         (pow_test_towardzero): Likewise.
47724         (pow_test_downward): Likewise.
47725         (pow_test_upward): Likewise.
47726         (remainder_test): Likewise.
47727         (remquo_test): Likewise.
47728         (sin_test): Likewise.
47729         (sin_test_tonearest): Likewise.
47730         (sin_test_towardzero): Likewise.
47731         (sin_test_downward): Likewise.
47732         (sin_test_upward): Likewise.
47733         (sincos_test): Likewise.
47734         (sinh_test): Likewise.
47735         (sinh_test_tonearest): Likewise.
47736         (sinh_test_towardzero): Likewise.
47737         (sinh_test_downward): Likewise.
47738         (sinh_test_upward): Likewise.
47739         (sqrt_test): Likewise.
47740         (tan_test): Likewise.
47741         (tan_test_tonearest): Likewise.
47742         (tan_test_towardzero): Likewise.
47743         (tan_test_downward): Likewise.
47744         (tan_test_upward): Likewise.
47745         (tanh_test): Likewise.
47746         (tgamma_test): Likewise.
47747         (y0_test): Likewise.
47748         (y1_test): Likewise.
47749         (yn_test): Likewise.
47751         * math/gen-libm-test.pl (adjust_arg): Remove function.
47752         (special_function): Remove argument $in_func.  Only handle
47753         generating output for tables of tests, not inside functions.
47754         (parse_args): Likewise.
47755         (generate_testfile): Remove variable $in_func.  Update call to
47756         parse_args.
47757         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
47758         (MINUS_ZERO_INIT): Rename macro to minus_zero.
47759         (PLUS_INFTY_INIT): Rename macro to plus_infty.
47760         (MINUS_INFTY_INIT): Rename macro to minus_infty.
47761         (QNAN_VALUE_INIT): Rename macro to qnan_value.
47762         (MAX_VALUE_INIT): Rename macro to max_value.
47763         (MIN_VALUE_INIT): Rename macro to min_value.
47764         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
47765         (plus_zero): Remove variable.
47766         (minus_zero): Likewise.
47767         (plus_infty): Likewise.
47768         (minus_infty): Likewise.
47769         (qnan_value): Likewise.
47770         (max_value): Likewise.
47771         (min_value): Likewise.
47772         (min_subnorm_value): Likewise.
47774 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
47776         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
47777         uint64_t or uint32_t usage.
47778         * crypt/sha256-block.c: Likewise.
47779         * crypt/sha256-crypt.c: Likewise.
47780         * crypt/sha256.c: Likewise.
47781         * crypt/sha512-block.c: Likewise.
47782         * crypt/sha512-crypt.c: Likewise.
47783         * crypt/sha512.c: Likewise.
47784         * debug/backtrace-tst.c: Likewise.
47785         * debug/pcprofiledump.c: Likewise.
47786         * elf/cache.c: Likewise.
47787         * elf/dl-cache.c: Likewise.
47788         * elf/dl-misc.c: Likewise.
47789         * elf/dl-profile.c: Likewise.
47790         * elf/dl-support.c: Likewise.
47791         * elf/ldconfig.c: Likewise.
47792         * elf/sprof.c: Likewise.
47793         * iconv/dummy-repertoire.c: Likewise.
47794         * iconv/iconv_charmap.c: Likewise.
47795         * iconv/skeleton.c: Likewise.
47796         * iconvdata/8bit-generic.c: Likewise.
47797         * iconvdata/cp737.h: Likewise.
47798         * iconvdata/cp775.h: Likewise.
47799         * iconvdata/ibm1008.h: Likewise.
47800         * iconvdata/ibm1025.h: Likewise.
47801         * iconvdata/ibm1046.h: Likewise.
47802         * iconvdata/ibm1097.h: Likewise.
47803         * iconvdata/ibm1112.h: Likewise.
47804         * iconvdata/ibm1122.h: Likewise.
47805         * iconvdata/ibm1123.h: Likewise.
47806         * iconvdata/ibm1124.h: Likewise.
47807         * iconvdata/ibm1129.h: Likewise.
47808         * iconvdata/ibm1130.h: Likewise.
47809         * iconvdata/ibm1132.h: Likewise.
47810         * iconvdata/ibm1133.h: Likewise.
47811         * iconvdata/ibm1137.h: Likewise.
47812         * iconvdata/ibm1140.h: Likewise.
47813         * iconvdata/ibm1141.h: Likewise.
47814         * iconvdata/ibm1142.h: Likewise.
47815         * iconvdata/ibm1143.h: Likewise.
47816         * iconvdata/ibm1144.h: Likewise.
47817         * iconvdata/ibm1145.h: Likewise.
47818         * iconvdata/ibm1146.h: Likewise.
47819         * iconvdata/ibm1147.h: Likewise.
47820         * iconvdata/ibm1148.h: Likewise.
47821         * iconvdata/ibm1149.h: Likewise.
47822         * iconvdata/ibm1153.h: Likewise.
47823         * iconvdata/ibm1154.h: Likewise.
47824         * iconvdata/ibm1155.h: Likewise.
47825         * iconvdata/ibm1156.h: Likewise.
47826         * iconvdata/ibm1157.h: Likewise.
47827         * iconvdata/ibm1158.h: Likewise.
47828         * iconvdata/ibm1160.h: Likewise.
47829         * iconvdata/ibm1161.h: Likewise.
47830         * iconvdata/ibm1162.h: Likewise.
47831         * iconvdata/ibm1163.h: Likewise.
47832         * iconvdata/ibm1164.h: Likewise.
47833         * iconvdata/ibm1166.h: Likewise.
47834         * iconvdata/ibm1167.h: Likewise.
47835         * iconvdata/ibm12712.h: Likewise.
47836         * iconvdata/ibm1390.h: Likewise.
47837         * iconvdata/ibm1399.h: Likewise.
47838         * iconvdata/ibm16804.h: Likewise.
47839         * iconvdata/ibm4517.h: Likewise.
47840         * iconvdata/ibm4899.h: Likewise.
47841         * iconvdata/ibm4909.h: Likewise.
47842         * iconvdata/ibm4971.h: Likewise.
47843         * iconvdata/ibm5347.h: Likewise.
47844         * iconvdata/ibm803.h: Likewise.
47845         * iconvdata/ibm856.h: Likewise.
47846         * iconvdata/ibm901.h: Likewise.
47847         * iconvdata/ibm902.h: Likewise.
47848         * iconvdata/ibm9030.h: Likewise.
47849         * iconvdata/ibm9066.h: Likewise.
47850         * iconvdata/ibm921.h: Likewise.
47851         * iconvdata/ibm922.h: Likewise.
47852         * iconvdata/ibm9448.h: Likewise.
47853         * iconvdata/isiri-3342.h: Likewise.
47854         * iconvdata/jis0201.h: Likewise.
47855         * include/link.h: Likewise.
47856         * include/netdb.h: Likewise.
47857         * inet/check_native.c: Likewise.
47858         * inet/check_pf.c: Likewise.
47859         * inet/getipv4sourcefilter.c: Likewise.
47860         * inet/getnameinfo.c: Likewise.
47861         * inet/getsourcefilter.c: Likewise.
47862         * inet/htonl.c: Likewise.
47863         * inet/setipv4sourcefilter.c: Likewise.
47864         * inet/setsourcefilter.c: Likewise.
47865         * inet/test-inet6_opt.c: Likewise.
47866         * inet/tst-network.c: Likewise.
47867         * locale/C-collate.c: Likewise.
47868         * locale/C-ctype.c: Likewise.
47869         * locale/C-time.c: Likewise.
47870         * locale/C-translit.h: Likewise.
47871         * locale/loadarchive.c: Likewise.
47872         * locale/programs/3level.h: Likewise.
47873         * locale/programs/charmap.c: Likewise.
47874         * locale/programs/charmap.h: Likewise.
47875         * locale/programs/ld-address.c: Likewise.
47876         * locale/programs/ld-collate.c: Likewise.
47877         * locale/programs/ld-ctype.c: Likewise.
47878         * locale/programs/ld-identification.c: Likewise.
47879         * locale/programs/ld-measurement.c: Likewise.
47880         * locale/programs/ld-messages.c: Likewise.
47881         * locale/programs/ld-monetary.c: Likewise.
47882         * locale/programs/ld-name.c: Likewise.
47883         * locale/programs/ld-numeric.c: Likewise.
47884         * locale/programs/ld-paper.c: Likewise.
47885         * locale/programs/ld-telephone.c: Likewise.
47886         * locale/programs/ld-time.c: Likewise.
47887         * locale/programs/linereader.c: Likewise.
47888         * locale/programs/locale.c: Likewise.
47889         * locale/programs/locarchive.c: Likewise.
47890         * locale/programs/locfile.h: Likewise.
47891         * locale/programs/repertoire.c: Likewise.
47892         * locale/programs/simple-hash.c: Likewise.
47893         * locale/programs/simple-hash.h: Likewise.
47894         * malloc/memusage.c: Likewise.
47895         * malloc/memusagestat.c: Likewise.
47896         * nis/nis_defaults.c: Likewise.
47897         * nis/nis_hash.c: Likewise.
47898         * nis/nis_print.c: Likewise.
47899         * nis/nis_xdr.c: Likewise.
47900         * nscd/connections.c: Likewise.
47901         * nscd/hstcache.c: Likewise.
47902         * nscd/nscd_gethst_r.c: Likewise.
47903         * nscd/nscd_getserv_r.c: Likewise.
47904         * nscd/nscd_helper.c: Likewise.
47905         * nscd/servicescache.c: Likewise.
47906         * nss/makedb.c: Likewise.
47907         * nss/nss_db/db-XXX.c: Likewise.
47908         * nss/nss_db/db-initgroups.c: Likewise.
47909         * nss/nss_db/db-netgrp.c: Likewise.
47910         * nss/nss_files/files-network.c: Likewise.
47911         * nss/nss_files/files-parse.c: Likewise.
47912         * posix/bug-regex5.c: Likewise.
47913         * posix/fnmatch_loop.c: Likewise.
47914         * posix/regcomp.c: Likewise.
47915         * posix/regexec.c: Likewise.
47916         * posix/tst-rfc3484-2.c: Likewise.
47917         * posix/tst-rfc3484-3.c: Likewise.
47918         * posix/tst-rfc3484.c: Likewise.
47919         * resolv/nss_dns/dns-canon.c: Likewise.
47920         * resolv/nss_dns/dns-network.c: Likewise.
47921         * resolv/res_init.c: Likewise.
47922         * resolv/res_mkquery.c: Likewise.
47923         * resolv/tst-aton.c: Likewise.
47924         * stdlib/cxa_atexit.c: Likewise.
47925         * stdlib/cxa_finalize.c: Likewise.
47926         * stdlib/gen-fpioconst.c: Likewise.
47927         * stdlib/strtol_l.c: Likewise.
47928         * string/tst-endian.c: Likewise.
47929         * sunrpc/auth_des.c: Likewise.
47930         * sunrpc/clnt_udp.c: Likewise.
47931         * sunrpc/rtime.c: Likewise.
47932         * sunrpc/svcauth_des.c: Likewise.
47933         * sunrpc/xdr.c: Likewise.
47934         * sunrpc/xdr_intXX_t.c: Likewise.
47935         * sunrpc/xdr_rec.c: Likewise.
47936         * sysdeps/generic/ldconfig.h: Likewise.
47937         * sysdeps/generic/ldsodefs.h: Likewise.
47938         * sysdeps/generic/memusage.h: Likewise.
47939         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
47940         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
47941         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
47942         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
47943         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
47944         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
47945         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
47946         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
47947         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
47948         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
47949         * sysdeps/posix/getaddrinfo.c: Likewise.
47950         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
47951         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
47952         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
47953         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
47954         * sysdeps/powerpc/test-gettimebase.c: Likewise.
47955         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
47956         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
47957         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
47958         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
47959         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
47960         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
47961         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
47962         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
47963         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
47964         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
47965         * sysdeps/x86_64/dl-tls.h: Likewise.
47966         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
47967         * time/alt_digit.c: Likewise.
47968         * time/era.c: Likewise.
47969         * wcsmbs/tst-c16c32-1.c: Likewise.
47971 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
47973         * math/libm-test.inc (struct test_sincos_data): New type.
47974         (RUN_TEST_LOOP_sincos): New macro.
47975         (sincos_test_data): New variable.
47976         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
47978 2013-05-16  Richard Henderson  <rth@redhat.com>
47980         * math/atest-exp2.c (LIMB64): New macro.
47981         (CONSTSZ): New macro.
47982         (mp_exp1, mp_exp_m1, mp_log2): New variables.
47983         (hexdig): Move ...
47984         (print_mpn_fp): ... to function scope.
47985         (read_mpn_hex): Remove.
47986         (get_log2): Remove.
47987         (exp2_mpn): Use mp_log2.
47988         (main): Use mp_exp1.
47990 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
47992         * math/libm-test.inc: Remove comment about not testing "inexact"
47993         exceptions.
47994         (INEXACT_EXCEPTION): New macro.
47995         (NO_INEXACT_EXCEPTION): Likewise.
47996         (INVALID_EXCEPTION_OK): Update value.
47997         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
47998         (OVERFLOW_EXCEPTION_OK): Likewise.
47999         (UNDERFLOW_EXCEPTION_OK): Likewise.
48000         (IGNORE_ZERO_INF_SIGN): Likewise.
48001         (ERRNO_UNCHANGED): Likewise.
48002         (ERRNO_EDOM): Likewise.
48003         (ERRNO_ERANGE): Likewise.
48004         (test_exceptions): Handle testing "inexact" exceptions.
48005         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
48006         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
48007         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
48008         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
48009         INEXACT_EXCEPTION.
48010         (rint_towardzero_test_data): Likewise.
48011         (rint_downward_test_data): Likewise.
48012         (rint_upward_test_data): Likewise.
48014         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
48015         with OVERFLOW_EXCEPTION.
48016         (exp10_test_data): Likewise.
48017         (exp2_test_data): Likewise.
48018         (expm1_test_data): Likewise.
48019         (lgamma_test_data): Likewise.
48020         (pow_test_data): Likewise.
48021         (tgamma_test_data): Likewise.
48022         (yn_test_data): Remove duplicate test of overflow.
48024         * math/libm-test.inc (struct test_cc_c_data): New type.
48025         (RUN_TEST_LOOP_cc_c): New macro.
48026         (cpow_test_data): New variable.
48027         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
48029         * math/libm-test.inc (struct test_f_L_data): New type.
48030         (RUN_TEST_LOOP_f_L): New macro.
48031         (llrint_test_data): New variable.
48032         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
48033         (llrint_tonearest_test_data): New variable.
48034         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
48035         (llrint_towardzero_test_data): New variable.
48036         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
48037         (llrint_downward_test_data): New variable.
48038         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
48039         (llrint_upward_test_data): New variable.
48040         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
48041         (llround_test_data): New variable.
48042         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
48044 2013-05-13  Peter Collingbourne  <pcc@google.com>
48046         * math/atest-exp2.c (get_log2): Remove const attribute.
48048 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
48050         * math/libm-test.inc (struct test_f_l_data): New type.
48051         (RUN_TEST_LOOP_f_l): New macro.
48052         (lrint_test_data): New variable.
48053         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
48054         (lrint_tonearest_test_data): New variable.
48055         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
48056         (lrint_towardzero_test_data): New variable.
48057         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
48058         (lrint_downward_test_data): New variable.
48059         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
48060         (lrint_upward_test_data): New variable.
48061         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
48062         (lround_test_data): New variable.
48063         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
48065 2013-05-15  Peter Collingbourne  <pcc@google.com>
48067         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
48068         (EXTRACT_WORDS64) Use where appropriate.
48069         (INSERT_WORDS64) Likewise.
48071         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
48072         constraints with x constraints.
48073         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
48075         * malloc/obstack.c (_obstack_compat): Add initializer.
48077 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
48079         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
48080         si_trapno and add si_addr_lsb to _sifields.sigfault.
48081         (si_trapno): Remove macro.
48082         (si_addr_lsb): Define new macro.
48083         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
48085 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
48087         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
48088         instead of TEST_f_l.
48089         (llrint_test_tonearest): Likewise.
48090         (llrint_test_towardzero): Likewise.
48091         (llrint_test_downward): Likewise.
48092         (llrint_test_upward): Likewise.
48093         (llround_test): Likewise.
48095         * math/libm-test.inc (struct test_f_i_data): Add comment.
48096         (RUN_TEST_LOOP_f_b): New macro.
48097         (RUN_TEST_LOOP_f_b_tg): Likewise.
48098         (finite_test_data): New variable.
48099         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
48100         (isfinite_test_data): New variable.
48101         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
48102         (isinf_test_data): New variable.
48103         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
48104         (isnan_test_data): New variable.
48105         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
48106         (isnormal_test_data): New variable.
48107         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
48108         (issignaling_test_data): New variable.
48109         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
48110         (signbit_test_data): New variable.
48111         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
48113         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
48114         with INVALID_EXCEPTION.
48115         (acosh_test_data): Likewise.
48116         (asin_test_data): Likewise.
48117         (atanh_test_data): Likewise.
48118         (fmod_test_data): Likewise.
48119         (log_test_data): Likewise.
48120         (log10_test_data): Likewise.
48121         (log2_test_data): Likewise.
48122         (pow_test_data): Likewise.
48123         (sqrt_test_data): Likewise.
48124         (y0_test_data): Likewise.
48125         (y1_test_data): Likewise.
48126         (yn_test_data): Likewise.
48128         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
48129         function contents.
48131         * math/libm-test.inc (struct test_ff_i_data): New type.
48132         (RUN_TEST_LOOP_ff_i_tg): New macro.
48133         (isgreater_test_data): New variable.
48134         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
48135         (isgreaterequal_test_data): New variable.
48136         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
48137         (isless_test_data): New variable.
48138         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
48139         (islessequal_test_data): New variable.
48140         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
48141         (islessgreater_test_data): New variable.
48142         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
48143         (isunordered_test_data): New variable.
48144         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
48146 2013-05-14  David S. Miller  <davem@davemloft.net>
48148         * sysdeps/sparc/fpu/libm-test-ulps: Update.
48150 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
48152         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
48154         * math/libm-test.inc (struct test_fF_f1_data): Change type of
48155         extra_test to int.
48156         (struct test_f_i_data): Change type of max_ulp to int.
48158         * math/libm-test.inc (test_ffI_f1_data): New type.
48159         (RUN_TEST_LOOP_ffI_f1): New macro.
48160         (remquo_test_data): New variable.
48161         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
48163         * setjmp/tst-setjmp-fp.c: New file.
48164         * setjmp/Makefile (tests): Add tst-setjmp-fp.
48165         (link-libm): New variable.
48166         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
48168         * math/libm-test.inc (struct test_f_i_data): New type.
48169         (RUN_TEST_LOOP_f_i): New macro.
48170         (RUN_TEST_LOOP_f_i_tg): Likewise.
48171         (fpclassify_test_data): New variable.
48172         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
48173         (ilogb_test_data): New variable.
48174         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
48176         * math/libm-test.inc (scalbln_test): Correct function name in END
48177         call.
48179         * math/libm-test.inc (struct test_f_f1_data): Add comment.
48180         (RUN_TEST_LOOP_fI_f1): New macro.
48181         (frexp_test_data): New variable.
48182         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
48184         * math/libm-test.inc (struct test_fF_f1_data): New type.
48185         (RUN_TEST_LOOP_fF_f1): New macro.
48186         (modf_test_data): New variable.
48187         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
48189         * math/libm-test.inc (struct test_f_f1_data): New type.
48190         (RUN_TEST_LOOP_f_f1): New macro.
48191         (gamma_test_data): New variable.
48192         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
48193         (lgamma_test_data): New variable.
48194         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
48196 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
48198         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
48199         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
48200         (main): Comment "tls" pseudo-hwcap.
48202 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
48204         * math/libm-test.inc (struct test_fl_f_data): New type.
48205         (RUN_TEST_LOOP_fl_f): New variable.
48206         (scalbln_test_data): New variable.
48207         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
48209         * math/libm-test.inc (struct test_fi_f_data): New type.
48210         (RUN_TEST_LOOP_fi_f): New macro.
48211         (ldexp_test_data): New variable.
48212         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
48213         (scalbn_test_data): New variable.
48214         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
48216         * math/libm-test.inc (struct test_c_f_data): New type.
48217         (RUN_TEST_LOOP_c_f): New macro.
48218         (cabs_test_data): New variable.
48219         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
48220         (carg_test_data): New variable.
48221         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
48222         (cimag_test_data): New variable.
48223         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
48224         (creal_test_data): New variable.
48225         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
48227         * math/libm-test.inc (struct test_if_f_data): New type.
48228         (RUN_TEST_LOOP_if_f): New macro.
48229         (jn_test_data): New variable.
48230         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
48231         (yn_test_data): New variable.
48232         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
48234         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
48236 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48238         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
48239         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
48241 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
48243         * benchtests/Makefile (CPPFLAGS-nonlib): Add
48244         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
48245         (bench-deps): Add bench-timing.h.
48246         * benchtests-bench-skeleton.c: Include bench-timing.h.
48247         (main): Use TIMING_* macros instead of clock_gettime.
48248         * benchtests/bench-timing.h: New file.
48250         [BZ #14582]
48251         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
48252         Renamed from _LIB_VERSION.
48253         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
48255 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
48257         * math/libm-test.inc (struct test_fff_f_data): New type.
48258         (RUN_TEST_LOOP_fff_f): New macro.
48259         (fma_test_data): New variable.
48260         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
48261         (fma_towardzero_test_data): New variable.
48262         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
48263         (fma_downward_test_data): New variable.
48264         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
48265         (fma_upward_test_data): New variable.
48266         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
48268         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
48269         (struct test_c_c_data): New type.
48270         (RUN_TEST_LOOP_c_c): New macro.
48271         (cacos_test_data): New variable.
48272         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
48273         (cacosh_test_data): New variable.
48274         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
48275         (casin_test_data): New variable.
48276         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
48277         (casinh_test_data): New variable.
48278         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
48279         (catan_test_data): New variable.
48280         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
48281         (catanh_test_data): New variable.
48282         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
48283         (ccos_test_data): New variable.
48284         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
48285         (ccosh_test_data): New variable.
48286         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
48287         (cexp_test_data): New variable.
48288         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
48289         (clog_test_data): New variable.
48290         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
48291         (clog10_test_data): New variable.
48292         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
48293         (conj_test_data): New variable.
48294         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
48295         (cproj_test_data): New variable.
48296         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
48297         (csin_test_data): New variable.
48298         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
48299         (csinh_test_data): New variable.
48300         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
48301         (csqrt_test_data): New variable.
48302         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
48303         (ctan_test_data): New variable.
48304         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
48305         (ctan_tonearest_test_data): New variable.
48306         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
48307         (ctan_towardzero_test_data): New variable.
48308         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
48309         (ctan_downward_test_data): New variable.
48310         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
48311         (ctan_upward_test_data): New variable.
48312         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
48313         (ctanh_test_data): New variable.
48314         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
48315         (ctanh_tonearest_test_data): New variable.
48316         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
48317         (ctanh_towardzero_test_data): New variable.
48318         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
48319         (ctanh_downward_test_data): New variable.
48320         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
48321         (ctanh_upward_test_data): New variable.
48322         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
48323         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
48324         of BUILD_COMPLEX.
48326         * math/libm-test.inc (struct test_ff_f_data): New type.
48327         (struct test_ff_f_data_nexttoward): Likewise.
48328         (RUN_TEST_LOOP_2_f): New macro.
48329         (RUN_TEST_LOOP_ff_f): Likewise.
48330         (atan2_test_data): New variable.
48331         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
48332         (copysign_test_data): New variable.
48333         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
48334         (fdim_test_data): New variable.
48335         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
48336         (fmax_test_data): New variable.
48337         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
48338         (fmin_test_data): New variable.
48339         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
48340         (fmod_test_data): New variable.
48341         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
48342         (hypot_test_data): New variable.
48343         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
48344         (nextafter_test_data): New variable.
48345         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
48346         (nexttoward_test_data): New variable.
48347         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
48348         (pow_test_data): New variable.
48349         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
48350         (pow_tonearest_test_data): New variable.
48351         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
48352         (pow_towardzero_test_data): New variable.
48353         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
48354         (pow_downward_test_data): New variable.
48355         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
48356         (pow_upward_test_data): New variable.
48357         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
48358         (remainder_test_data): New variable.
48359         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
48360         (scalb_test_data): New variable.
48361         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
48362         * sysdeps/i386/fpu/libm-test-ulps: Update.
48364 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
48366         * math/libm-test.inc (fma_test): Use max_value instead of local
48367         variable fltmax.
48368         (nextafter_test): Likewise.
48370         * math/libm-test.inc (acos_towardzero_test_data): New variable.
48371         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
48372         (acos_downward_test_data): New variable.
48373         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
48374         (acos_upward_test_data): New variable.
48375         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
48376         (acosh_test_data): New variable.
48377         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
48378         (asin_test_data): New variable.
48379         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
48380         (asin_tonearest_test_data): New variable.
48381         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
48382         (asin_towardzero_test_data): New variable.
48383         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
48384         (asin_downward_test_data): New variable.
48385         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
48386         (asin_upward_test_data): New variable.
48387         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
48388         (asinh_test_data): New variable.
48389         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
48390         (atan_test_data): New variable.
48391         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
48392         (atanh_test_data): New variable.
48393         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
48394         (cbrt_test_data): New variable.
48395         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
48396         (ceil_test_data): New variable.
48397         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
48398         (cos_test_data): New variable.
48399         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
48400         (cos_tonearest_test_data): New variable.
48401         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
48402         (cos_towardzero_test_data): New variable.
48403         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
48404         (cos_downward_test_data): New variable.
48405         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
48406         (cos_upward_test_data): New variable.
48407         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
48408         (cosh_test_data): New variable.
48409         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
48410         (cosh_tonearest_test_data): New variable.
48411         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
48412         (cosh_towardzero_test_data): New variable.
48413         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
48414         (cosh_downward_test_data): New variable.
48415         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
48416         (cosh_upward_test_data): New variable.
48417         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
48418         (erf_test_data): New variable.
48419         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
48420         (erfc_test_data): New variable.
48421         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
48422         (exp_test_data): New variable.
48423         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
48424         (exp_tonearest_test_data): New variable.
48425         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
48426         (exp_towardzero_test_data): New variable.
48427         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
48428         (exp_downward_test_data): New variable.
48429         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
48430         (exp_upward_test_data): New variable.
48431         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
48432         (exp10_test_data): New variable.
48433         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
48434         (exp2_test_data): New variable.
48435         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
48436         (expm1_test_data): New variable.
48437         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
48438         (fabs_test_data): New variable.
48439         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
48440         (floor_test_data): New variable.
48441         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
48442         (j0_test_data): New variable.
48443         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
48444         (j1_test_data): New variable.
48445         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
48446         (log_test_data): New variable.
48447         (log_test): Run tests with RUN_TEST_LOOP_f_f.
48448         (log10_test_data): New variable.
48449         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
48450         (log1p_test_data): New variable.
48451         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
48452         (log2_test_data): New variable.
48453         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
48454         (logb_test_data): New variable.
48455         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
48456         (logb_downward_test_data): New variable.
48457         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
48458         (nearbyint_test_data): New variable.
48459         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
48460         (rint_test_data): New variable.
48461         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
48462         (rint_tonearest_test_data): New variable.
48463         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
48464         (rint_towardzero_test_data): New variable.
48465         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
48466         (rint_downward_test_data): New variable.
48467         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
48468         (rint_upward_test_data): New variable.
48469         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
48470         (round_test_data): New variable.
48471         (round_test): Run tests with RUN_TEST_LOOP_f_f.
48472         (sin_test_data): New variable.
48473         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
48474         (sin_tonearest_test_data): New variable.
48475         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
48476         (sin_towardzero_test_data): New variable.
48477         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
48478         (sin_downward_test_data): New variable.
48479         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
48480         (sin_upward_test_data): New variable.
48481         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
48482         (sinh_test_data): New variable.
48483         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
48484         (sinh_tonearest_test_data): New variable.
48485         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
48486         (sinh_towardzero_test_data): New variable.
48487         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
48488         (sinh_downward_test_data): New variable.
48489         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
48490         (sinh_upward_test_data): New variable.
48491         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
48492         (sqrt_test_data): New variable.
48493         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
48494         (tan_test_data): New variable.
48495         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
48496         (tan_tonearest_test_data): New variable.
48497         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
48498         (tan_towardzero_test_data): New variable.
48499         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
48500         (tan_downward_test_data): New variable.
48501         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
48502         (tan_upward_test_data): New variable.
48503         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
48504         (tanh_test_data): New variable.
48505         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
48506         (tgamma_test_data): New variable.
48507         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
48508         (trunc_test_data): New variable.
48509         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
48510         (y0_test_data): New variable.
48511         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
48512         (y1_test_data): New variable.
48513         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
48514         (significand_test_data): New variable.
48515         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
48517 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
48519         [BZ #12387]
48520         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
48522 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
48524         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
48526 2013-05-10  Andreas Jaeger  <aj@suse.de>
48528         [BZ #15448]
48529         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
48530         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
48532 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
48534         * math/gen-libm-test.pl (adjust_arg): New function.
48535         (special_functions): Handle generating output in both functions
48536         and arrays.
48537         (parse_args): Likewise.
48538         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
48539         $in_func argument to parse_args.
48540         * math/libm-test.inc (struct test_f_f_data): New type.
48541         (IF_ROUND_INIT_): New macro.
48542         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
48543         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
48544         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
48545         (IF_ROUND_INIT_FE_UPWARD): Likewise.
48546         (ROUND_RESTORE_): Likewise.
48547         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
48548         (ROUND_RESTORE_FE_TONEAREST): Likewise.
48549         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
48550         (ROUND_RESTORE_FE_UPWARD): Likewise.
48551         (RUN_TEST_LOOP_f_f): New macro.
48552         (acos_test_data): New variable.
48553         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
48554         (acos_tonearest_test_data): New variable.
48555         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
48557 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
48559         * benchtests/bench-skeleton.c (startup): Fix coding style.
48561 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
48563         [BZ #6809]
48564         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
48565         negative infinity argument.
48566         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
48567         negative infinity argument.
48568         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
48569         negative infinity argument.
48570         * math/libm-test.inc (tgamma_test): Expect errno to be set for
48571         domain errors.
48573 2013-05-10  Florian Weimer  <fweimer@redhat.com>
48575         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
48576         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
48577         * iconv/iconv_prog.c (main): Likewise.
48578         * locale/programs/charmap-dir.c (charmap_readdir)
48579         (fopen_uncompressed): Likewise.
48580         * locale/programs/locfile.c (siblings_uncached)
48581         (write_locale_data): Use lstat64 instead of lstat.
48582         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
48583         stat.
48585 2013-05-10  Andreas Jaeger  <aj@suse.de>
48587         [BZ #15395]
48588         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
48589         localization.
48590         Include <locale.h>.
48592 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
48594         * elf/dl-close.c (_dl_close_worker): Add comments.
48596 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
48598         [BZ #15359]
48599         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
48600         high part of pi/2.
48601         (__ieee754_rem_pio2l): Update comments.
48603         [BZ #15429]
48604         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
48605         high part of pi/2.
48606         (__ieee754_rem_pio2l): Update comments.
48608         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
48609         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
48611         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
48612         M_PI_4l.
48614         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
48615         (M_PI_34_LOG10El): Likewise.
48616         (M_PI2_LOG10El): Likewise.
48617         (M_PI4_LOG10El): Likewise.
48618         (M_PI_LOG10El): Likewise.
48620 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48622         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48624 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
48626         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
48627         (MINUS_ZERO_INIT): Likewise.
48628         (PLUS_INFTY_INIT): Likewise.
48629         (MINUS_INFTY_INIT): Likewise.
48630         (QNAN_VALUE_INIT): Likewise.
48631         (MAX_VALUE_INIT): Likewise.
48632         (MIN_VALUE_INIT): Likewise.
48633         (MIN_SUBNORM_VALUE_INIT): Likewise.
48634         (plus_zero): Initialize with PLUS_ZERO_INIT.
48635         (minus_zero): Initialize with MINUS_ZERO_INIT.
48636         (plus_infty): Initialize with PLUS_INFTY_INIT.
48637         (minus_infty): Initialize with MINUS_INFTY_INIT.
48638         (qnan_value): Initialize with QNAN_VALUE_INIT.
48639         (max_value): Initialize with MAX_VALUE_INIT.
48640         (min_value): Initialize with MIN_VALUE_INIT.
48641         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
48643         * math/libm-test.inc (RUN_TEST_if_f): New macro.
48644         (jn_test): Use TEST_if_f instead of TEST_ff_f.
48645         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
48646         (yn_test): Use TEST_if_f instead of TEST_ff_f.
48648         * math/libm-test.inc (RUN_TEST_f_f): New macro.
48649         (RUN_TEST_2_f): Likewise.
48650         (RUN_TEST_ff_f): Likewise.
48651         (RUN_TEST_fi_f): Likewise.
48652         (RUN_TEST_fl_f): Likewise.
48653         (RUN_TEST_fff_f): Likewise.
48654         (RUN_TEST_c_f): Likewise.
48655         (RUN_TEST_f_f1): Likewise.
48656         (RUN_TEST_fF_f1): Likewise.
48657         (RUN_TEST_fI_f1): Likewise.
48658         (RUN_TEST_ffI_f1): Likewise.
48659         (RUN_TEST_c_c): Likewise.
48660         (RUN_TEST_cc_c): Likewise.
48661         (RUN_TEST_f_i): Likewise.
48662         (RUN_TEST_f_i_tg): Likewise.
48663         (RUN_TEST_ff_i_tg): Likewise.
48664         (RUN_TEST_f_b): Likewise.
48665         (RUN_TEST_f_b_tg): Likewise.
48666         (RUN_TEST_f_l): Likewise.
48667         (RUN_TEST_f_L): Likewise.
48668         (RUN_TEST_sincos): Likewise.
48669         * math/gen-libm-test.pl (new_test): Take new argument to indicate
48670         whether to show exceptions.  Do not include ");\n" in return
48671         value.
48672         (special_functions): Output call to RUN_TEST_sincos instead of
48673         check_float calls.  Update calls to new_test.
48674         (parse_args): Output call to single RUN_TEST_* macro instead of
48675         check_* calls and other assignments.  Update calls to new_test.
48677         [BZ #2546]
48678         [BZ #2560]
48679         [BZ #5159]
48680         [BZ #15426]
48681         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
48682         input to result for tgamma overflow.
48683         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
48684         (gamma_coeff): New variable.
48685         (NCOEFF): New macro.
48686         (gamma_positive): New function.
48687         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
48688         underflow here.  Use gamma_positive instead of exp (lgamma) for
48689         other arguments.
48690         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
48691         (gamma_coeff): New variable.
48692         (NCOEFF): New macro.
48693         (gammaf_positive): New function.
48694         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
48695         underflow here.  Use gamma_positive instead of exp (lgamma) for
48696         other arguments.
48697         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
48698         (gamma_coeff): New variable.
48699         (NCOEFF): New macro.
48700         (gammal_positive): New function.
48701         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
48702         underflow here.  Use gamma_positive instead of exp (lgamma) for
48703         other arguments.
48704         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
48705         (gamma_coeff): New variable.
48706         (NCOEFF): New macro.
48707         (gammal_positive): New function.
48708         (__ieee754_gammal_r): Handle positive infinity, overflow and
48709         underflow here.  Handle NaN the same as positive infinity.  Remove
48710         check x < 0xffffffff for negative integers.  Use gamma_positive
48711         instead of exp (lgamma) for other arguments.
48712         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
48713         (gamma_coeff): New variable.
48714         (NCOEFF): New macro.
48715         (gammal_positive): New function.
48716         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
48717         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
48718         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
48719         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
48720         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
48721         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
48722         * sysdeps/generic/math_private.h (__gamma_productf): New
48723         prototype.
48724         (__gamma_product): Likewise.
48725         (__gamma_productl): Likewise.
48726         * math/Makefile (libm-calls): Add gamma_product.
48727         * math/libm-test.inc (tgamma_test): Add more tests.
48728         * sysdeps/i386/fpu/libm-test-ulps: Update.
48729         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48731 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
48733         * benchtests/bench-skeleton.c (main): Preheat CPU.
48735 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
48737         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
48739 2013-05-07  Roland McGrath  <roland@hack.frob.com>
48741         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
48742         and _dl_skip_args_internal.
48744 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
48746         * manual/message.texi (Message Translation): Talk about users.
48747         Message to key mapping impacts design.
48749 2013-05-06  Roland McGrath  <roland@hack.frob.com>
48751         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
48753         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
48755         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
48756         * sysdeps/wordsize-64/glob64.c: ... here.
48758         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
48759         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
48760         New macros.
48762         * debug/getlogin_r_chk.c: Moved to ...
48763         * login/getlogin_r_chk.c: ... here.
48764         * debug/Makefile (routines): Move getlogin_r_chk to ...
48765         * login/Makefile (routines): ... here.
48766         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
48767         * login/Versions (libc: GLIBC_2.4): ... here.
48769         * io/poll.c (__poll): Renamed from poll.
48770         Add libc_hidden_def.
48771         (poll): Define as weak alias.
48773         * debug/ptsname_r_chk.c: Moved to ...
48774         * login/ptsname_r_chk.c: ... here.
48775         * debug/Makefile (routines): Move ptsname_r_chk to ...
48776         * login/Makefile (routines): ... here.
48777         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
48778         * login/Versions (libc: GLIBC_2.4): ... here.
48780         * posix/getlogin.c: Moved to ...
48781         * login/getlogin.c: ... here.
48782         * posix/getlogin_r.c: Moved to ...
48783         * login/getlogin_r.c: ... here.
48784         * posix/getlogin_r.c: Moved to ...
48785         * login/getlogin_r.c: ... here.
48786         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
48787         * login/Makefile (routines): ... here.
48788         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
48789         * login/Versions (libc: GLIBC_2.0): ... here.
48791         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
48792         (setrlimit): Define as weak alias.
48794         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
48795         Call __ names for open, ftruncate, and close.
48796         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
48797         (truncate): Define as weak alias.
48799 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
48801         * math/gen-libm-test.pl (parse_args): Initialize x before each
48802         test of frexp, modf and remquo.
48804         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
48805         test signgam value.
48807 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48809         [BZ #15418]
48810         [BZ #15419]
48811         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
48812         internal tests.
48813         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
48815 2013-05-06  Roland McGrath  <roland@hack.frob.com>
48817         * elf/dl-writev.h: New file.
48818         * elf/dl-misc.c: Include it.
48819         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
48820         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
48822 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
48824         * math/libm-test.inc (noXFails): Remove variable.
48825         (noXPasses): Likewise.
48826         (BUILD_COMPLEX_INT): Remove macro.
48827         (print_screen): Remove xfail argument.
48828         (print_screen_max_error): Likewise.
48829         (update_stats): Likewise.
48830         (print_max_error): Likewise.  Update calls to other affected
48831         functions.
48832         (print_complex_max_error): Likewise.
48833         (test_single_exception): Update calls to print_screen.
48834         (test_single_errno): Likewise.
48835         (check_float_internal): Remove xfail argument.  Update calls to
48836         other affected functions.
48837         (check_float): Likewise.
48838         (check_complex): Likewise.
48839         (check_int): Likewise.
48840         (check_long): Likewise.
48841         (check_bool): Likewise.
48842         (check_longlong): Likewise.
48843         (main): Don't print noXFails and noXPasses.
48844         * math/gen-libm-test.pl (top level): Don't mention expected
48845         failure handling in comment.
48846         (new_test): Don't handle expected failures.
48847         (parse_args): Don't mention expected failure handling in comment.
48848         (generate_testfile): Don't handle expected failures.
48849         (parse_ulps): Likewise.
48850         (print_ulps_file): Likewise.
48851         (get_failure): Remove function.
48852         (output_test): Don't handle expected failures.
48853         * make/README.libm-test: Don't mention expected failure handling.
48855         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
48856         (minus_zero): Likewise.
48857         (plus_infty): Likewise.
48858         (minus_infty): Likewise.
48859         (qnan_value): Likewise.
48860         (max_value): Likewise.
48861         (min_value): Likewise.
48862         (min_subnorm_value): Likewise.
48863         (initialize): Do not initialize those variables dynamically.
48865 2013-05-03  Roland McGrath  <roland@hack.frob.com>
48867         * io/open.c (__open_2): Moved to ...
48868         * io/open_2.c: ... this new file.
48869         * io/open64.c (__open64_2): Moved to ...
48870         * io/open64_2.c: ... this new file.
48871         * io/openat.c (__openat_2): Moved to ...
48872         * io/openat_2.c: ... this new file.
48873         * io/openat64.c (__openat64_2): Moved to ...
48874         * io/openat64_2.c: ... this new file.
48875         * io/Makefile (routines): Add them.
48876         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
48877         * sysdeps/unix/sysv/linux/open_2.c: File removed.
48878         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
48879         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
48880         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
48881         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
48882         (__openat64): Add hidden_ver.
48883         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
48884         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
48886         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
48887         Separately conditionalize setting of GLRO(dl_sysinfo) so
48888         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
48889         as well, but the actual setting is only under [NEED_DL_SYSINFO].
48891 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48893         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
48894         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
48895         definition.
48896         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
48897         * sysdeps/unix/sysv/linux/powerpc/init-first.c
48898         (_libc_vdso_platform_setup): Add __vdso_time initialization.
48899         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
48900         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
48902 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
48904         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
48905         test signgam value.
48907         * math/libm-test.inc (hypot_test): Do not use
48908         IGNORE_ZERO_INF_SIGN.
48910 2013-05-03  Andreas Jaeger  <aj@suse.de>
48912         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
48913         Linux 3.9.
48914         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
48915         (PF_MAX): Adjust for VSOCK change.
48917 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48919         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48921 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
48923         [BZ #15264]
48924         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
48925         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
48926         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
48928 2013-05-02  David S. Miller  <davem@davemloft.net>
48930         * sysdeps/sparc/fpu/libm-test-ulps: Update.
48932 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
48934         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
48936 2013-05-01  Roland McGrath  <roland@hack.frob.com>
48938         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
48940 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
48942         [BZ #14952]
48943         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
48944         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
48945         Use __attribute__ ((__gnu_inline__)).
48946         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
48947         Don't use __attribute__ ((__gnu_inline__)).
48949 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
48951         [BZ #15423]
48952         * math/s_catan.c (__catan): Handle small real or imaginary part of
48953         input specially to avoid spurious underflow.
48954         * math/s_catanf.c (__catanf): Likewise.
48955         * math/s_catanh.c (__catanh): Likewise.
48956         * math/s_catanhf.c (__catanhf): Likewise.
48957         * math/s_catanhl.c (__catanhl): Likewise.
48958         * math/s_catanl.c (__catanl): Likewise.
48959         * math/libm-test.inc (catan_test): Add more tests.
48960         (catanh_test): Likewise.
48961         * sysdeps/i386/fpu/libm-test-ulps: Update.
48962         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48964 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48966         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48968 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
48970         [BZ #15416]
48971         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
48972         accurately for denominator in atan2.
48973         * math/s_catanf.c (__catanf): Likewise.
48974         * math/s_catanh.c (__catanh): Likewise.
48975         * math/s_catanhf.c (__catanhf): Likewise.
48976         * math/s_catanhl.c (__catanhl): Likewise.
48977         * math/s_catanl.c (__catanl): Likewise.
48978         * math/libm-test.inc (catan_test): Add more tests.
48979         (catanh_test): Likewise.
48980         * sysdeps/i386/fpu/libm-test-ulps: Update.
48981         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48983 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
48985         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
48987         * benchtests/Makefile (bench): Remove slow benchmarks.
48988         * benchtests/atan-inputs: Add slow benchmark inputs.
48989         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
48990         (BENCH_FUNC): Accept variant offset.
48991         (VARIANT): Define.
48992         * benchtests/bench-skeleton.c (main): Run benchmark for each
48993         variant.
48994         * benchtests/cos-inputs: Add slow benchmark inputs.
48995         * benchtests/exp-inputs: Likewise.
48996         * benchtests/pow-inputs: Likewise.
48997         * benchtests/sin-inputs: Likewise.
48998         * benchtests/slowatan-inputs: Remove.
48999         * benchtests/slowatan.c: Remove.
49000         * benchtests/slowcos-inputs: Remove.
49001         * benchtests/slowcos.c: Remove.
49002         * benchtests/slowexp-inputs: Remove.
49003         * benchtests/slowexp.c: Remove.
49004         * benchtests/slowpow-inputs: Remove.
49005         * benchtests/slowpow.c: Remove.
49006         * benchtests/slowsin-inputs: Remove.
49007         * benchtests/slowsin.c: Remove.
49008         * benchtests/slowtan-inputs: Remove.
49009         * benchtests/slowtan.c: Remove.
49010         * benchtests/tan-inputs: Add slow benchmark inputs.
49011         * scripts/bench.pl: Parse comments and directives.
49013         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
49014         in CPPFLAGS.
49015         ($(objpfx)bench-%.c): Remove *-ITER.
49016         * benchtests/bench-modf.c: Remove definition of ITER.
49017         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
49018         (main): Loop for DURATION seconds instead of fixed number of
49019         iterations.
49020         * scripts/bench.pl: Don't expect iterations in parameters.
49022 2013-04-29  Roland McGrath  <roland@hack.frob.com>
49024         * io/fchdir.c (__fchdir): Renamed from fchdir.
49025         (fchdir): Define as weak alias.
49027 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
49029         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
49030         (ERRNO_EDOM): Likewise.
49031         (ERRNO_ERANGE): Likewise.
49032         (noErrnoTests): New variable.
49033         (init_max_error): Set errno to 0.
49034         (test_single_errno): New function.
49035         (test_errno): Likewise.
49036         (check_float_internal): Call test_errno.  Set errno to 0.
49037         (check_complex): Refer to errno tests in comment.
49038         (check_int): Call test_errno.  Set errno to 0.
49039         (check_long): Likewise.
49040         (check_bool): Likewise.
49041         (check_longlong): Likewise.
49042         (cos_test): Use ERRNO_* flags for errno tests instead of
49043         check_int.
49044         (expm1_test): Likewise.
49045         (fmod_test): Likewise.
49046         (ilogb_test): Likewise.
49047         (lgamma_test): Likewise.
49048         (pow_test): Likewise.
49049         (remainder_test): Likewise.
49050         (sin_test): Likewise.
49051         (tan_test): Likewise.
49052         (yn_test): Likewise.
49053         (initialize): Set errno to 0.
49054         (main): Print number of errno tests.
49055         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
49057 2013-04-29  Andreas Jaeger  <aj@suse.de>
49059         [BZ #15084]
49060         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
49061         and RES_USEVC.
49063         [BZ #15085]
49064         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
49065         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
49066         unimplemented.
49068         [BZ #15380]
49069         * stdlib/random.c (__initstate): Return NULL if
49070         __initstate fails.
49072         [BZ #15086]
49073         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
49074         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
49075         RES_SNGLKUPREOP.
49077 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49079         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
49081 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
49083         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
49084         of individual tests.
49085         (casin_test): Likewise.
49086         (casinh_test): Likewise.
49088 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
49090         [BZ #15409]
49091         * math/s_catan.c (__catan): Handle arguments with large real or
49092         imaginary part separately without squaring.
49093         * math/s_catanf.c (__catanf): Likewise.
49094         * math/s_catanh.c (__catanh): Likewise.
49095         * math/s_catanhf.c (__catanhf): Likewise.
49096         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
49097         and redefine.
49098         (__catanhl): Handle arguments with large real or imaginary part
49099         separately without squaring.
49100         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
49101         and redefine.
49102         (__catanl): Handle arguments with large real or imaginary part
49103         separately without squaring.
49104         * math/libm-test.inc (catan_test): Add more tests.
49105         (catanh_test): Likewise.
49106         * sysdeps/i386/fpu/libm-test-ulps: Update.
49107         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49109 2013-04-27  Andreas Jaeger  <aj@suse.de>
49111         [BZ #15007]
49112         * stdlib/stdlib.h: Update guards for qecvt.
49113         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
49114         <stdlib.h>.
49116 2013-04-27  Allan McRae  <allan@archlinux.org>
49118         * sysdeps/i386/fpu/libm-test-ulps: Update.
49120 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
49122         [BZ #15406]
49123         * math/s_catan.c: Include <float.h>.
49124         (__catan): Ensure underflow exception occurs for underflowed
49125         result.
49126         * math/s_catanf.c: Include <float.h>.
49127         (__catanf): Ensure underflow exception occurs for underflowed
49128         result.
49129         * math/s_catanh.c: Include <float.h>.
49130         (__catanh): Ensure underflow exception occurs for underflowed
49131         result.
49132         * math/s_catanhf.c: Include <float.h>.
49133         (__catanhf): Ensure underflow exception occurs for underflowed
49134         result.
49135         * math/s_catanhl.c: Include <float.h>.
49136         (__catanhl): Ensure underflow exception occurs for underflowed
49137         result.
49138         * math/s_catanl.c: Include <float.h>.
49139         (__catanl): Ensure underflow exception occurs for underflowed
49140         result.
49141         * math/libm-test.inc (catan_test): Add more tests.
49142         (catanh_test): Likewise.
49144         [BZ #15405]
49145         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
49146         underflowed result.
49147         * math/s_ccoshf.c (__ccoshf): Likewise.
49148         * math/s_ccoshl.c (__ccoshl): Likewise.
49149         * math/s_csin.c (__csin): Likewise.
49150         * math/s_csinf.c (__csinf): Likewise.
49151         * math/s_csinh.c (__csinh): Likewise.
49152         * math/s_csinhf.c (__csinhf): Likewise.
49153         * math/s_csinhl.c (__csinhl): Likewise.
49154         * math/s_csinl.c (__csinl): Likewise.
49155         * math/libm-test.inc (ccos_test): Add more tests.
49156         (ccosh_test): Likewise.
49157         (csin_test): Likewise.
49158         (csinh_test): Likewise.
49160 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49162         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
49163         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
49164         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
49165         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
49166         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
49167         powerpc/power5+/fpu folders.
49168         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
49171 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
49173         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
49175 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
49177         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
49178         additions to variable.
49179         [$(config-machine) = x86_64] (modules-names): Likewise.
49180         ($(objpfx)tst-audit3): Remove dependency.
49181         ($(objpfx)tst-audit3.out): Likewise.
49182         ($(objpfx)tst-audit4): Likewise.
49183         ($(objpfx)tst-audit4.out): Likewise.
49184         ($(objpfx)tst-audit5): Likewise.
49185         ($(objpfx)tst-audit5.out): Likewise.
49186         ($(objpfx)tst-audit6): Likewise.
49187         ($(objpfx)tst-audit6.out): Likewise.
49188         ($(objpfx)tst-audit7): Likewise.
49189         ($(objpfx)tst-audit7.out): Likewise.
49190         (tst-audit3-ENV): Remove variable.
49191         (tst-audit4-ENV): Likewise.
49192         (tst-audit5-ENV): Likewise.
49193         (tst-audit6-ENV): Likewise.
49194         (tst-audit7-ENV): Likewise.
49195         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
49196         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
49197         addition to variable.
49198         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
49199         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
49200         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
49201         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
49202         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
49203         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
49204         tst-audit3, tst-audit4 and tst-audit5.
49205         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
49206         tst-audit6 and tst-audit7.
49207         [$(subdir) = elf] (modules-names): Add audit modules for those
49208         tests.
49209         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
49210         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
49211         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
49212         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
49213         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
49214         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
49215         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
49216         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
49217         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
49218         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
49219         [$(subdir) = elf] (tst-audit3-ENV): New variable.
49220         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
49221         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
49222         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
49223         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
49224         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
49225         Likewise.
49226         [$(subdir) = elf && $(config-cflags-avx) = yes]
49227         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
49228         [$(subdir) = elf && $(config-cflags-avx) = yes]
49229         (CFLAGS-tst-auditmod4a.c): Likewise.
49230         [$(subdir) = elf && $(config-cflags-avx) = yes]
49231         (CFLAGS-tst-auditmod4b.c): Likewise.
49232         [$(subdir) = elf && $(config-cflags-avx) = yes]
49233         (CFLAGS-tst-auditmod6b.c): Likewise.
49234         [$(subdir) = elf && $(config-cflags-avx) = yes]
49235         (CFLAGS-tst-auditmod6c.c): Likewise.
49236         [$(subdir) = elf && $(config-cflags-avx) = yes]
49237         (CFLAGS-tst-auditmod7b.c): Likewise.
49238         * elf/tst-audit3.c: Move to ...
49239         * sysdeps/x86_64/tst-audit3.c: ... here.
49240         * elf/tst-audit4.c: Move to ...
49241         * sysdeps/x86_64/tst-audit4.c: ... here.
49242         * elf/tst-audit5.c: Move to ...
49243         * sysdeps/x86_64/tst-audit5.c: ... here.
49244         * elf/tst-audit6.c: Move to ...
49245         * sysdeps/x86_64/tst-audit6.c: ... here.
49246         * elf/tst-audit7.c: Move to ...
49247         * sysdeps/x86_64/tst-audit7.c: ... here.
49248         * elf/tst-auditmod3a.c: Move to ...
49249         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
49250         * elf/tst-auditmod3b.c: Move to ...
49251         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
49252         * elf/tst-auditmod4a.c: Move to ...
49253         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
49254         * elf/tst-auditmod4b.c: Move to ...
49255         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
49256         * elf/tst-auditmod5a.c: Move to ...
49257         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
49258         * elf/tst-auditmod5b.c: Move to ...
49259         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
49260         * elf/tst-auditmod6a.c: Move to ...
49261         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
49262         * elf/tst-auditmod6b.c: Move to ...
49263         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
49264         * elf/tst-auditmod6c.c: Move to ...
49265         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
49266         * elf/tst-auditmod7a.c: Move to ...
49267         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
49268         * elf/tst-auditmod7b.c: Move to ...
49269         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
49271 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
49273         [BZ #15366]
49274         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
49275         define unconditionally.
49276         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
49277         define unconditionally.
49278         (INT8_C, INT16_C, etc.): Likewise.
49280 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
49282         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
49283         __ehdr_start with hidden visibility.
49285         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
49287 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
49289         * math/libm-test.inc (cos_test): Use accurate hex constants.
49290         (sincost_test): Likewise.
49292 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
49294         * math/libm-test.inc (catan_test): Add more tests.
49295         (catanh_test): Likewise.
49297         * math/s_catanf.c (__catanf): Use suffixed floating-point
49298         constants.
49299         * math/s_catanhf.c (__catanhf): Likewise.
49300         * math/s_catanhl.c (__catanhl): Likewise.
49301         * math/s_catanl.c (__catanl): Likewise.
49303         [BZ #15394]
49304         * math/s_catan.c (__catan): Calculate imaginary part of result
49305         with log1p not log unless computing log of number close to 0.
49306         * math/s_catanf.c (__catanf): Likewise.
49307         * math/s_catanl.c (__catanl): Likewise.
49308         * math/s_catanh.c (__catanh): Calculate real part of result with
49309         log1p not log unless computing log of number close to 0.
49310         * math/s_catanhf.c (__catanhf): Likewise.
49311         * math/s_catanhl.c (__catanhl): Likewise.
49312         * math/libm-test.inc (catan_test): Add more tests.
49313         (catanh_test): Likewise.
49314         * sysdeps/i386/fpu/libm-test-ulps: Update.
49315         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49317 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
49319         * benchtests/Makefile: Mention files in which fast and slow
49320         paths of math functions are implemented.
49322 2013-04-23  Roland McGrath  <roland@hack.frob.com>
49324         * sysdeps/posix/timespec_get.c: New file.
49326 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49328         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
49329         POWER.
49330         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
49331         for POWER.
49332         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
49333         powerpc/power5/fpu folders.
49334         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
49335         * benchtests/Makefile: Add modf testcase.
49336         * benchtests/bench-modf.c: New file: Benchmark test for mo
49338 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
49340         [BZ #14888]
49341         * time/Makefile (tests): Add tst-strptime-whitespace.
49342         * time/strptime_l.c (get_number): Use ISSPACE.
49343         (__strptime_internal): Likewise.
49344         * time/tst-strptime-whitespace.c: New test case.
49346 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
49348         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
49349         member.
49350         (_nss_files_init): Set it here.
49352 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
49354         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
49355         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
49356         unsigned.
49358 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
49360         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
49362 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
49364         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
49365         size just once.
49367 2013-04-21  David S. Miller  <davem@davemloft.net>
49369         * po/ru.po: Update Russion translation from translation project.
49371 2013-04-17  Adam Conrad  <adconrad@0c3.net>
49373         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
49374         and setfsgid.
49376 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
49378         * configure.in: Remove i386 configure warning. Remove i386 case.
49379         * configure: Regenerate.
49380         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
49381         Add example to error message.
49382         * sysdeps/i386/configure: Regenerate.
49384 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
49386         * benchtests/Makefile (bench): Add cos, tan, slowcos and
49387         slowtan.
49388         * benchtests/cos-inputs: New file.
49389         * benchtests/slowcos-inputs: New file.
49390         * benchtests/slowcos.c: New file.
49391         * benchtests/slowtan-inputs: New file.
49392         * benchtests/slowtan.c: New file.
49393         * benchtests/tan-inputs: New file.
49395 2013-04-16  Roland McGrath  <roland@hack.frob.com>
49397         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
49398         considered kosher.
49400 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
49402         * benchtests/Makefile: Include cppflags-iterator.mk to add
49403         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
49405         * Makefile.in (bench-clean): New target.
49406         * benchtests/Makefile (bench-clean): Likewise.
49408 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
49410         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
49412 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
49414         * stdio-common/tstdiomisc.c: Fix coding-style violation.
49416 2013-04-15  Andreas Schwab  <schwab@suse.de>
49418         * nscd/grpcache.c (cache_addgr): Properly check for short write.
49419         * nscd/initgrcache.c (addinitgroupsX): Likewise.
49420         * nscd/pwdcache.c (cache_addpw): Likewise.
49421         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
49422         more than recsize.
49424 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
49426         * benchtests/Makefile (bench): Write all output to
49427         bench-out.tmp together.
49429 2013-04-15  Andreas Schwab  <schwab@suse.de>
49431         * nscd/nscd.c (main): Don't fork again after closing files.
49433 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
49435         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
49437         * benchtests/Rules (bench-deps): Collect dependencies into a
49438         single variable.  Add Makefile to dependencies.
49439         ($(objpfx)bench-%.c): Depend on bench-deps.
49441 2013-04-12  Roland McGrath  <roland@hack.frob.com>
49442             Xavier Roche  <roche+kml2@exalead.com>
49444         [BZ #15361]
49445         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
49446         just that it's a file descriptor.
49447         * manual/llio.texi (Synchronizing AIO Operations): Update description
49448         for EBADF error from aio_fsync.
49450 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
49452         * Rules (bench): Move target definition...
49453         * benchtests/Makefile: ... here.
49455 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
49457         * math/libm-test.inc (cos_test): Fix PI/2 test.
49458         (sincos_test): Likewise.
49459         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
49460         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
49462 2013-04-11  Andreas Schwab  <schwab@suse.de>
49464         [BZ #13988]
49465         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
49466         accept exponent character only when digits were seen.
49467         * stdio-common/Makefile (tests): Add bug26.
49468         * stdio-common/bug26.c: New file.
49470         [BZ #14293]
49471         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
49472         non-freeable.
49474 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
49476         * Makeconfig (rtld-prefix): Define built linker prefix.
49477         * Rules (run-bench): Use it.
49478         * math/Makefile (run-regen-ulps): Likewise.
49480         * Rules (bench): Remove eval.
49482 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
49483             Roland McGrath  <roland@hack.frob.com>
49484             Ondrej Bilka  <neleai@seznam.cz>
49486         [BZ #15346]
49487         * time/getdate.c: Include ctype.h and alloca.h.
49488         (__getdate_r): Trim leading and trailing spaces of input.
49489         * time/tst-getdate.c (tests): Add tests with leading and
49490         trailing spaces.
49492 2013-04-08  Roland McGrath  <roland@hack.frob.com>
49494         [BZ #14280]
49495         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
49496         when computing value.
49498 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
49500         * math/README.libm-test (How can I generate "libm-test-ulps"?):
49501         Use testrun.sh to run libm tests.
49503         [BZ #15309]
49504         * elf/dl-open.c (dl_open_worker): memset all of seen array.
49506 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
49508         [BZ #15264]
49509         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
49511 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
49513         * Makefile.in (regen-ulps): New target.
49514         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
49515         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
49516         [ifneq (no,$(PERL)] (regen-ulps): New target.
49517         [ifeq (no,$(PERL)] (regen-ulps): New target.
49518         * math/libm-test.inc (ulps_file_name): Define.
49519         (output_dir): New variable.
49520         (options): Add "output-dir" option.
49521         (parse_opt): Handle 'o' case.
49522         (main): If output_dir is non-NULL use it as a prefix
49523         otherwise use "".
49524         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
49526 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
49528         [BZ #10060, #10062]
49529         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
49530         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
49531         fail configure if __sync_val_compare_and_swap is not inlined.
49532         * sysdeps/i386/configure: Regenerate.
49533         * configure.in: Build for i686 when configured for i386.
49534         * configure: Regenerate.
49535         * README: Remove i386 reference.
49537 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
49539         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
49540         * sysdeps/s390/s390-64/sysdep.h: Likewise.
49542 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
49544         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
49545         (lmsnanval): New variables.
49546         (F): Add conversion tests.
49547         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
49548         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
49550         * stdio-common/tstdiomisc.c (F): Properly collect individual
49551         tests' results.
49553         [BZ #14686, #15336]
49554         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
49555         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
49556         Instead, use input NaN values or generate a qNaN by arithmetic
49557         operation.  Also fix bugs to comply with the standard.
49558         * math/libm-test.inc (remainder_test): Add more tests.
49560         [BZ #15335, #15342]
49561         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
49562         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
49563         input NaN values or generate a qNaN by arithmetic operation.
49565         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
49566         unreachable code.
49568         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
49569         definitions.
49571 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
49573         [BZ #14478]
49574         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
49575         underflowed result.
49576         * math/s_cexpf.c (__cexpf): Likewise.
49577         * math/s_cexpl.c (__cexpl): Likewise.
49578         * math/libm-test.inc (cexp_test): Add more tests.
49580 2013-04-03  Andreas Schwab  <schwab@suse.de>
49582         [BZ #15330]
49583         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
49584         order arrays from heap if bigger than alloca cutoff.
49586 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
49588         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
49589         (SNAN_TESTS_double): Refer to GCC PR56831.
49590         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
49591         GCC PR56828.
49593 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
49595         * Rules (bench): Move bench.out after the run is complete.
49597         * Rules (bench): Echo currently running benchmark.
49599         * benchtests/Makefile (bench): Add atan and slowatan.
49600         * benchtests/atan-inputs: New file.
49601         * benchtests/slowatan-inputs: New file.
49602         * benchtests/slowatan.c: New file.
49604         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
49605         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
49606         its value.
49608         [BZ #15305]
49609         * sysdeps/unix/sysv/linux/kernel-features.h
49610         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
49611         __ASSUME_XFS_RESTRICTED_CHOWN.
49612         * sysdeps/unix/sysv/linux/pathconf.c
49613         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
49614         Save and restore errno.
49616 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
49618         [BZ #15327]
49619         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
49620         arguments using __kernel_casinh.
49621         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
49622         arguments using __kernel_casinhf.
49623         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
49624         arguments using __kernel_casinhl.
49625         * math/libm-test.inc (cacosh_test): Add more tests.
49626         * sysdeps/i386/fpu/libm-test-ulps: Update.
49627         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49629 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
49631         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
49632         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
49634         * bench/Makefile (bench): Add sin and slowsin.
49635         * benchtests/sin-inputs: New file.
49636         * benchtests/slowsin-inputs: New file.
49637         * benchtests/slowsin.c: New file.
49639         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
49640         (bench): Add slowexp and slowpow.
49641         (exp-ITER): Increase iterations.
49642         (pow-ITER): Likewise.
49643         * benchtests/exp-inputs: Change input.
49644         * benchtests/pow-inputs: Likewise.
49645         * benchtests/slowexp-inputs: New file.
49646         * benchtests/slowexp.c: New file.
49647         * benchtests/slowpow-inputs: New file.
49648         * benchtests/slowpow.c: New file.
49650 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49652         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
49653         instructions.
49654         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
49655         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
49656         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
49657         * benchtests/Makefile: Add rint benchtest.
49658         * benchtests/rint-inputs: Input for rint benchtest.
49660 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
49662         * Versions.def (libm): Add GLIBC_2.18.
49663         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
49664         hidden libm prototypes.
49665         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
49666         * math/Makefile (libm-calls): Add s_issignaling.
49667         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
49668         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
49669         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
49670         declaration.
49671         * math/math.h [__USE_GNU] (issignaling): New macro.
49672         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
49673         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
49674         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
49675         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
49676         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
49677         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
49678         * manual/arith.texi (issignaling): New section.
49679         * manual/libm-err-tab.pl (@all_functions): Update comment.
49680         * math/gen-libm-test.pl (parse_args): Apply special handling for
49681         issignaling.
49682         * math/libm-test.inc (print_float, issignaling_test): New
49683         functions.
49684         (check_float_internal): Add issignaling checks.
49685         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
49686         default definition.
49687         * sysdeps/powerpc/math-tests.h: New file.
49688         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
49689         tests.
49690         * math/test-snan.c (TEST_FUNC): Likewise.
49692 2013-03-30  David S. Miller  <davem@davemloft.net>
49694         * po/de.po: Update from translation team.
49696 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
49698         [BZ #10357]
49699         * math/k_casinh.c (__kernel_casinh): Handle arguments with
49700         imaginary part less than 1.0 and real part less than 0.5
49701         specially.
49702         * math/k_casinhf.c (__kernel_casinhf): Likewise.
49703         * math/k_casinhl.c (__kernel_casinhl): Likewise.
49704         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
49705         (cacos_test): Add more tests.
49706         (casin_test): Likewise.
49707         (casinh_test): Likewise.
49708         * sysdeps/i386/fpu/libm-test-ulps: Update.
49709         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49711 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
49713         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
49714         ONE with its value.
49716         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
49717         (__pow_mp): Replace ONE and MONE with their values.
49718         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
49719         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
49720         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
49721         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
49722         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
49723         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
49725         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
49727         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
49728         (__pow_mp): Replace ZERO and MZERO with their values.
49729         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
49730         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
49731         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
49732         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
49733         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
49734         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
49735         (__sqr): Likewise.
49737         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
49739         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
49741 2013-03-28  Roland McGrath  <roland@hack.frob.com>
49743         * include/stdlib.h [!SHARED] (__call_tls_dtors):
49744         Declare with __attribute__ ((weak)).
49745         * stdlib/exit.c (__libc_atexit) [!SHARED]:
49746         Call __call_tls_dtors only if it's not NULL.
49748 2013-03-28  Roland McGrath  <roland@hack.frob.com>
49750         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
49751         didn't do it already, then set _dl_phdr and _dl_phnum based on the
49752         magic __ehdr_start linker symbol if it's defined.
49753         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
49754         them up here if it was already done.
49756         * elf/dl-support.c (_dl_phdr): Make pointer to const.
49757         (_dl_aux_init): Use const in cast when setting it.
49758         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
49759         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
49760         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
49762         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
49763         Declare them here.
49764         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
49765         * csu/libc-tls.c: Nor here.
49766         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
49768         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
49769         (__libc_message): Never call vsyslog.
49771 2013-03-28  Alan Modra  <amodra@gmail.com>
49773         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
49774         Define as empty.
49775         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
49776         Likewise.
49778 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49780         [BZ #15214]
49781         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
49782         underflow.
49783         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
49785 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
49787         [BZ #15304]
49788         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
49789         Don't add gid passed as argument.
49791         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
49793 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
49795         [BZ #15307]
49796         * math/k_casinh.c (__kernel_casinh): Handle arguments with
49797         imaginary part between 1.0 and 1.5 and real part less than 0.5
49798         specially.
49799         * math/k_casinhf.c (__kernel_casinhf): Likewise.
49800         * math/k_casinhl.c (__kernel_casinhl): Likewise.
49801         * math/libm-test.inc (cacos_test): Add more tests.
49802         (casin_test): Likewise.
49803         (casinh_test): Likewise.
49804         * sysdeps/i386/fpu/libm-test-ulps: Update.
49805         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49807 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
49809         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
49810         constants.
49811         (norm): Likewise.
49812         (denorm): Likewise.
49813         (__dbl_mp): Likewise.
49814         (add_magnitudes): Likewise.
49815         (sub_magnitudes): Likewise.
49816         (__add): Likewise.
49817         (__sub): Likewise.
49818         (__mul): Likewise.
49819         (__sqr): Likewise.
49820         (__inv): Likewise.
49821         (__dvd): Likewise.
49823         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
49824         commented code.
49825         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
49826         (__dubcos): Likewise.
49827         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
49828         (__ieee754_acos): Likewise.
49829         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
49830         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
49831         (__exp1): Likewise.
49832         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
49833         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
49834         (log1): Likewise.
49835         (my_log2): Likewise.
49836         (checkint): Likewise.
49837         * sysdeps/ieee754/dbl-64/e_remainder.c
49838         (__ieee754_remainder): Likewise.
49839         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
49840         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
49841         (bsloww): Likewise.
49842         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
49844         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
49845         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
49846         MANTISSA_STORE_T to store computations on mantissa.  Use
49847         macros for rounding and division.
49848         (denorm): Likewise.
49849         (__dbl_mp): Likewise.
49850         (add_magnitudes): Likewise.
49851         (sub_magnitudes): Likewise.
49852         (__mul): Likewise.
49853         (__sqr): Likewise.
49854         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
49855         powers of two in terms of TWOPOW macro.
49856         (mp_no): Make type of mantissa as MANTISSA_T.
49857         [!RADIXI]: Define RADIXI.
49858         [!TWO52]: Define TWO52.
49859         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
49861 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49863         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
49864         llroundl symbol when building for PPC32.
49866 2013-03-24  Mark H Weaver  <mhw@netris.org>
49868         * manual/arith.texi (Normalization Functions): Fix prototypes for
49869         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
49871 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49873         [BZ #13889]
49874         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
49875         high value to check if expl overflow.
49876         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
49877         to check for underflow and overflow.
49878         * math/libm-test.inc: Add exp test.
49880 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
49882         [BZ #11120]
49883         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
49884         with NOT_IN_libc.
49886 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49888         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
49889         symbol.
49891 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
49893         * math/gen-libm-test.pl (parse_args, special_functions): Properly
49894         wrap blocks consisting of several statements.
49896         * sysdeps/generic/math-tests.h: New file.
49897         * sysdeps/i386/fpu/math-tests.h: Likewise.
49898         * math/test-snan.c: Include it.
49899         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
49901 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
49903         [BZ #15285]
49904         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
49905         (__ieee754_j0l): Do not improve calculations using cos of twice
49906         input for inputs above LDBL_MAX / 2.0L.
49907         (__ieee754_y0l): Likewise.
49908         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
49909         (__ieee754_j1l): Do not improve calculations using cos of twice
49910         input for inputs above LDBL_MAX / 2.0L.
49911         (__ieee754_y1l): Likewise.
49912         * math/libm-test.inc (j0_test): Add another test.
49913         (j1_test): Likewise.
49914         (y0_test): Likewise.
49915         (y1_test): Likewise.
49916         * sysdeps/i386/fpu/libm-test-ulps: Update.
49918 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
49920         * Rules ($(objpfx)bench-%.c): Include code from a C source
49921         file.
49923 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
49925         [BZ #15287]
49926         * math/k_casinh.c (__kernel_casinh): Handle arguments with
49927         imaginary part 1.0 and real part less than 0.5 specially.
49928         * math/k_casinhf.c (__kernel_casinhf): Likewise.
49929         * math/k_casinhl.c (__kernel_casinhl): Likewise.
49930         * math/libm-test.inc (cacos_test): Add more tests.
49931         (casin_test): Likewise.
49932         (casinh_test): Likewise.
49933         * sysdeps/i386/fpu/libm-test-ulps: Update.
49934         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49936 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
49938         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
49939         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
49941 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
49943         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
49944         * config.make.in (config-cflags-sse4): Remove variable.
49945         (config-cflags-avx): Likewise.
49946         (config-cflags-sse2avx): Likewise.
49947         (config-cflags-novzeroupper): Likewise.
49948         (config-asflags-i686): Likewise.
49949         (have-mfma4): Likewise.
49950         (have-as-vis3): Likewise.
49951         (MIG): Likewise.
49952         * configure.in (MIG): Do not AC_SUBST.
49953         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
49954         (libc_cv_cc_sse4): Do not AC_SUBST.
49955         (libc_cv_cc_avx): Likewise.
49956         (libc_cv_cc_sse2avx): Likewise.
49957         (libc_cv_cc_novzeroupper): Likewise.
49958         (libc_cv_cc_fma4): Likewise.
49959         (libc_cv_as_i686): Likewise.
49960         (libc_cv_sparc_as_vis3): Likewise.
49961         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
49962         LIBC_CONFIG_VAR.
49963         (config-asflags-i686): Likewise.
49964         (config-cflags-avx): Likewise.
49965         (config-cflags-sse2avx): Likewise.
49966         (have-mfma4): Likewise.
49967         (config-cflags-novzeroupper): Likewise.
49968         * sysdeps/mach/configure.in (MIG): Likewise.
49969         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
49970         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
49971         LIBC_CONFIG_VAR.
49972         (config-cflags-avx): Likewise.
49973         (config-cflags-sse2avx): Likewise.
49974         (have-mfma4): Likewise.
49975         (config-cflags-novzeroupper): Likewise.
49976         * configure: Regenerated.
49977         * sysdeps/i386/configure: Likewise.
49978         * sysdeps/mach/configure: Likewise.
49979         * sysdeps/sparc/configure: Likewise.
49980         * sysdeps/x86_64/configure: Likewise.
49982 2013-03-20  Roland McGrath  <roland@hack.frob.com>
49984         [BZ #14812]
49985         * locale/programs/localedef.c (options): Put N_ translation marker
49986         on argument names, not just descriptions.
49988 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
49990         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
49992 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
49994         [BZ #14176]
49995         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
49997 2013-03-19  Roland McGrath  <roland@hack.frob.com>
49999         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
50000         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
50001         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
50002         [!BEFORE_ABORT] (before_abort): New function.
50003         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
50004         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
50005         (writev_for_fatal): New function.
50006         (WRITEV_FOR_FATAL): New macro; call that.
50007         (backtrace_and_maps): New function.
50008         (BEFORE_ABORT): New macro; call that.
50009         (struct str_list): Type removed.
50010         (__libc_message, __libc_fatal): Functions removed.
50011         Include <sysdeps/posix/libc_fatal.c> instead.
50013 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
50015         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
50016         constants.
50017         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
50018         double constants.
50020 2013-03-19  Andreas Schwab  <schwab@suse.de>
50022         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
50023         * sysdeps/gnu/configure: Regenerate.
50025         * configure.in: Substitute libc_cv_rtlddir.
50026         * configure: Regenerate.
50027         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
50028         * Makeconfig (rtlddir, inst_rtlddir): New variables.
50029         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
50030         * elf/Makefile (install-others, CFLAGS-interp.c)
50031         (ldso_install, common-ldd-rewrite): Likewise.
50032         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
50033         $(inst_slibdir)/$(rtld-installed-name).
50034         * scripts/rellns-sh: Add -p option.
50035         * Makerules (make-shlib-link): Use rellns-sh to get relative name
50036         for source.
50038 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
50040         * manual/nptl.texi: Renamed to ...
50041         * manual/threads.texi: ... this.
50042         * manual/Makefile (chapters): Update.
50044 2013-03-18  Roland McGrath  <roland@hack.frob.com>
50046         [BZ #14812]
50047         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
50048         on argument names, not just descriptions.
50049         * malloc/memusagestat.c (options): Likewise.
50050         * nss/getent.c (options): Likewise.
50052 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
50054         [BZ #14812]
50055         * iconv/iconv_prog.c (options): Put N_ translation marker
50056         on argument names, not just descriptions.
50057         * iconv/iconvconfig.c (options): Likewise.
50059 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
50061         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
50062         implementation which is faster on all x86_64 architectures.
50063         Tested on AMD, Intel Nehalem, SNB, IVB.
50064         * sysdeps/x86_64/strnlen.S: Likewise.
50066         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
50067         Remove all multiarch strlen and strnlen versions.
50068         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
50069         Remove strlen and strnlen related parts.
50071         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
50072         Inline strlen part.
50073         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
50075         * sysdeps/x86_64/multiarch/strlen.S: Remove.
50076         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
50077         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
50078         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
50079         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
50080         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
50082 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
50084         * manual/memory.texi (Malloc Tunable Parameters):
50085         Sort parameters alphabetically. Add comments for missing entries.
50087 2013-03-17  David S. Miller  <davem@davemloft.net>
50089         * sysdeps/sparc/fpu/libm-test-ulps: Update.
50091 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
50093         [BZ #15283]
50094         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
50095         for arguments at most half maximum finite value.
50096         * math/libm-test.inc (j0_test): Add more tests.
50097         (j1_test): Likewise.
50098         (y0_test): Likewise.
50099         (y1_test): Likewise.
50100         * sysdeps/i386/fpu/libm-test-ulps: Update.
50101         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50103         [BZ #14155]
50104         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
50105         1 / x and functions P and Q for arguments above 0x1p256L.
50106         (__ieee754_y0l): Likewise.
50107         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
50108         (__ieee754_y1l): Likewise.
50109         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
50110         (j1_test): Likewise.
50111         (y0_test): Likewise.
50112         (y1_test): Likewise.
50114 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
50116         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
50117         variable.
50119 2013-03-15  Roland McGrath  <roland@hack.frob.com>
50121         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
50122         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
50123         zero since it's initialized to EXEC_PAGESIZE.
50125         * sysdeps/unix/sysv/linux/ldsodefs.h
50126         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
50127         * sysdeps/generic/ldsodefs.h: ... here.
50129 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
50131         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
50133         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
50134         math/test-snan.c.
50135         * math/test-snan.c: Renamed from
50136         sysdeps/powerpc/fpu/test-powerpc-snan.c.
50137         * math/Makefile (tests): Add test-snan.
50138         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
50139         test-powerpc-snan.
50141         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
50142         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
50143         functions.
50144         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
50145         __builtin_nan family of functions.
50146         * math/libm-test.inc (initialize): Initialize qnan_value with
50147         __builtin_nan family of functions.
50148         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
50149         Remove variables.
50150         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
50151         Remove functions.
50152         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
50153         storage class.  Initialize qNaN_var and sNaN_var with
50154         __builtin_nan and __builtin_nans families of functions,
50155         respectively.
50157         * math/libm-test.inc (acosh_test): Also test with qNaN input.
50158         (sqrt_test): Remove duplicate test with qNaN input.
50159         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
50160         (round_test, signbit_test, significand_test): Note missing +/-Inf
50161         as well as qNaN tests.
50163         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
50164         qNaN_var.  Fix a few strings, too.
50165         * math/libm-test.inc (nan_value): Rename to qnan_value.
50166         * math/gen-libm-test.pl (%beautify): Adjust to that.
50167         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
50168         * math/test-misc.c (main): Likewise.
50169         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
50170         to __qnan_bytes, and __qnan_union, respectively.
50171         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
50172         Likewise.
50173         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
50174         and lqnanval, respectively.
50175         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
50176         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
50177         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
50178         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
50180         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
50181         * math/test-misc.c (main) [__x86_64__]: Enable test for long
50182         doubles.
50184         * math/test-misc.c (main): Fix copy'n'pastos.
50185         * misc/tst-efgcvt.c (special): Likewise.
50187         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
50188         Remove declarations.
50190 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
50192         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
50193         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
50194         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
50195         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
50197 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50199         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
50200         macro to return vdso values correctly in IFUNC implementations.
50201         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
50202         Optimization by using IFUNC.
50204 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
50205             Richard Henderson  <rth@redhat.com>
50206             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
50208         * Makefile.in (bench): New target.
50209         * NEWS: Mention the benchmark framework.
50210         * Rules (bench): Likewise.
50211         (binaries-bench): Generate binaries for functions to
50212         benchmark.
50213         * benchtests/Makefile: New makefile for benchmark tests.
50214         * benchtests/bench-skeleton.c: New skeleton file for benchmark
50215         programs.
50216         * benchtests/exp-inputs: New input file for EXP function.
50217         * benchtests/pow-inputs: New input file for POW function.
50218         * scripts/bench.pl: New script to generate source files for
50219         benchmark programs.
50221 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
50223         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
50224         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
50225         computations on mantissa.  Use macros for rounding and
50226         division.
50227         (denorm): Likewise.
50228         (__dbl_mp): Likewise.
50229         (add_magnitudes): Likewise.
50230         (sub_magnitudes): Likewise.
50231         (__mul): Likewise.
50232         (__sqr): Likewise.
50233         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
50234         powers of two in terms of TWOPOW macro.
50235         (mp_no): Make type of mantissa as MANTISSA_T.
50236         [!RADIXI]: Define RADIXI.
50237         [!TWO52]: Define TWO52.
50238         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
50240         * manual/nptl.texi (cindex): Modify threads to pthreads.
50242 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
50244         * sysdeps/x86_64/preconfigure: Regenerated.
50246 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
50248         [BZ #14155]
50249         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
50250         0x1p28 and above.
50251         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
50252         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
50253         0x1p28 and above.
50254         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
50255         * math/libm-test.inc (j0_test): Do not allow one spurious
50256         underflow exception.
50257         (y1_test): Likewise.
50259 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
50261         * manual/Makefile (chapters): Add nptl.
50262         * manual/debug.texi (Debugging Support): Add link to Threads
50263         chapter.
50264         * manual/nptl.texi: New file.
50266         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
50268 2013-03-14  Petr Baudis  <pasky@ucw.cz>
50270         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
50271         for non-NULL pointer before the memory validity test. Pointed
50272         out by Holger Brunck <holger.brunck@keymile.com>.
50274 2013-03-13  Andreas Schwab  <schwab@suse.de>
50276         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
50277         instead of .os.
50279 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
50281         * timezone/zic.c: Update from tzcode 2013b.
50283 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
50285         * manual/install.texi (Configuring and compiling):
50286         Mention i686 and i586.
50287         * INSTALL: Regenerate.
50289 2013-03-12  Roland McGrath  <roland@hack.frob.com>
50291         * sysdeps/init_array/elf-init.c: New file.
50292         * csu/elf-init.c
50293         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
50294         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
50296         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
50297         __gmon_start__ as global, but as static with a .preinit_array pointer.
50298         * sysdeps/init_array/gmon-start.c: New file.  Use that.
50299         * sysdeps/init_array/crti.S: New file, empty except for comments.
50300         * sysdeps/init_array/crtn.S: Likewise.
50302 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
50304         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
50305         definining bcopy.
50306         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
50307         Remove Prefer_SSE_for_memop.
50308         * sysdeps/x86_64/multiarch/init-arch.h: Remove
50309         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
50310         HAS_PREFER_SSE_FOR_MEMOP.
50311         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
50312         memset-x86-64.
50313         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
50314         Remove bzero, memset ifunc support.
50315         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
50316         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
50317         * sysdeps/x86_64/multiarch/memset.S: Likewise.
50318         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
50320 2013-03-11  Andreas Schwab  <schwab@suse.de>
50322         [BZ #15234]
50323         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
50324         by SHLIB_COMPAT.
50325         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
50326         (GLIBC_2.16): Remove pthread_atfork.
50328 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
50330         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
50331         (ptestcases.h): Likewise.
50333 2013-03-08  Roland McGrath  <roland@hack.frob.com>
50335         * Makeconfig ($(common-objpfx)config.status): Depend on
50336         sysdeps/*/preconfigure{,.in} too.
50338 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
50340         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
50341         (__free_hook): Use void * instead of __malloc_ptr_t.
50342         (__malloc_hook): Likewise.
50343         (__realloc_hook): Likewise.
50344         (__memalign_hook): Likewise.
50345         (__after_morecore_hook): Likewise.
50346         * malloc/arena.c (save_malloc_hook): Likewise.
50347         (save_free_hook): Likewise.
50348         * malloc/hooks.c (malloc_hook_ini): Likewise.
50349         (realloc_hook_ini): Likewise.
50350         (memalign_hook_ini): Likewise.
50351         * malloc/malloc.c (malloc_hook_ini): Likewise.
50352         (realloc_hook_ini): Likewise.
50353         (memalign_hook_ini): Likewise.
50354         (__free_hook): Likewise.
50355         (__malloc_hook): Likewise.
50356         (__realloc_hook): Likewise.
50357         (__memalign_hook): Likewise.
50358         (__libc_malloc): Likewise.
50359         (__libc_free): Likewise.
50360         (__libc_realloc): Likewise.
50361         (__libc_memalign): Likewise.
50362         (__libc_valloc): Likewise.
50363         (__libc_pvalloc): Likewise.
50364         (__libc_calloc): Likewise.
50365         (__posix_memalign): Likewise.
50366         * malloc/morecore.c (__sbrk): Likewise.
50367         (__default_morecore): Likewise.
50369         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
50371         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
50372         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
50373         __malloc_ptrdiff_t.
50375         * malloc/malloc.h (__malloc_size_t): Remove macro.
50376         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
50377         __malloc_size_t.
50378         (old_memalign_hook): Likewise.
50379         (old_realloc_hook): Likewise.
50380         (struct hdr): Likewise.
50381         (flood): Likewise.
50382         (mallochook): Likewise.
50383         (memalignhook): Likewise.
50384         (reallochook): Likewise.
50385         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
50386         (tr_old_realloc_hook): Likewise.
50387         (tr_old_memalign_hook): Likewise.
50388         (tr_mallochook): Likewise.
50389         (tr_reallochook): Likewise.
50390         (tr_memalignhook): Likewise.
50392 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50394         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
50395         default_ldbl_pack and using as default implementation.
50396         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
50397         implementation.
50398         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
50399         redundant definition.
50400         (ldbl_insert_mantissa): Likewise.
50401         (ldbl_canonicalize): Likewise.
50402         (ldbl_nearbyint): Likewise.
50403         (ldbl_pack): Rename to ldbl_pack_ppc.
50404         (ldbl_unpack): Rename to ldbl_unpack_ppc.
50405         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
50406         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
50408 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
50410         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
50411         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
50412         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
50413         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
50414         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
50415         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
50416         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
50417         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
50419 2013-03-07  Andreas Jaeger  <aj@suse.de>
50421         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
50422         bits/mman-linux.h.
50424 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
50426         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
50427         Include mpa.h and declare __MPEXP.
50428         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
50429         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
50430         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
50431         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
50432         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
50433         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
50434         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
50436         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
50437         (__slowpow): Use long double EXPL and LOGL functions to
50438         compute POW.
50439         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
50440         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
50441         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
50442         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
50443         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
50444         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
50446         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
50447         intermediate variable to calculate exponent.
50448         (__sqr): Likewise.
50449         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
50450         Likewise.
50451         (__sqr): Likewise.
50453         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
50454         [!NO__SQR]: Define __sqr.
50455         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
50456         and NO__SQR.  Remove all code except __mul and __sqr.  Include
50457         sysdeps/ieee754/dbl-64/mpa.c.
50458         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
50460         [BZ #12723]
50461         * posix/Makefile (tests): Add tst-pathconf.
50462         * posix/tst-pathconf.c: New test case.
50463         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
50464         _PC_PIPE_BUF.
50465         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
50467 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
50469         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
50471 2013-03-06  Andreas Jaeger  <aj@suse.de>
50473         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
50474         definition via __MAP_ANONYMOUS.
50476         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
50477         it's not part of Linux headers.
50479         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
50480         (MAP_HUGE_MASK): Define.
50482         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
50483         Define.
50484         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
50485         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
50486         Define.
50487         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
50488         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
50489         Define.
50490         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
50491         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
50492         Define.
50493         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
50495         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
50496         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
50497         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
50498         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
50499         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
50500         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
50502         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
50503         Handle f2fs.
50505         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
50506         Handle f2fs and efivarfs.
50508         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
50509         f2fs.
50511         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
50512         (EFIVARFS_MAGIC): Add.
50513         (F2FS_LINK_MAX): Add.
50515 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
50517         * stdio-common/vfprintf.c: Replace __builtin_expect with
50518         __glibc_unlikely.
50520 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
50522         [BZ #13550]
50523         * sysdeps/generic/bp-sym.h: Remove file.
50524         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
50525         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
50526         <bp-sym.h> and <bp-asm.h>.
50527         (__longjmp): Don't use BP_SYM.
50528         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
50529         and <bp-asm.h>.
50530         (memcpy): Don't use BP_SYM.
50531         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
50532         <bp-sym.h> and <bp-asm.h>.
50533         (memcpy): Don't use BP_SYM.
50534         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
50535         <bp-asm.h>.
50536         (memcpy): Don't use BP_SYM.
50537         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
50538         <bp-asm.h>.
50539         (memset): Don't use BP_SYM.
50540         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
50541         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
50542         (__bzero): Don't use BP_SYM.
50543         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
50544         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
50545         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
50546         <bp-sym.h> and <bp-asm.h>.
50547         (memcmp): Don't use BP_SYM.  Remove comment about bounded
50548         pointers.
50549         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
50550         <bp-sym.h> and <bp-asm.h>.
50551         (memcpy): Don't use BP_SYM.
50552         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
50553         <bp-sym.h> and <bp-asm.h>.
50554         (memset): Don't use BP_SYM.
50555         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
50556         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
50557         (__bzero): Don't use BP_SYM.
50558         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
50559         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
50560         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
50561         <bp-sym.h> and <bp-asm.h>.
50562         (strncmp): Don't use BP_SYM.  Remove comment about bounded
50563         pointers.
50564         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
50565         <bp-sym.h> and <bp-asm.h>.
50566         (memcpy): Don't use BP_SYM.
50567         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
50568         <bp-sym.h> and <bp-asm.h>.
50569         (memset): Don't use BP_SYM.
50570         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
50571         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
50572         (__bzero): Don't use BP_SYM.
50573         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
50574         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
50575         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
50576         <bp-sym.h> and <bp-asm.h>.
50577         (__memchr): Don't use BP_SYM.
50578         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
50579         <bp-sym.h> and <bp-asm.h>.
50580         (memcmp): Don't use BP_SYM.  Remove comment about bounded
50581         pointers.
50582         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
50583         <bp-sym.h> and <bp-asm.h>.
50584         (memcpy): Don't use BP_SYM.
50585         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
50586         <bp-sym.h> and <bp-asm.h>.
50587         (__mempcpy): Don't use BP_SYM.
50588         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
50589         <bp-sym.h> and <bp-asm.h>.
50590         (__memrchr): Don't use BP_SYM.
50591         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
50592         <bp-sym.h> and <bp-asm.h>.
50593         (memset): Don't use BP_SYM.
50594         (__bzero): Likewise.
50595         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
50596         <bp-sym.h> and <bp-asm.h>.
50597         (__rawmemchr): Don't use BP_SYM.
50598         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
50599         <bp-sym.h> and <bp-asm.h>.
50600         (__STRCMP): Don't use BP_SYM.
50601         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
50602         <bp-sym.h> and <bp-asm.h>.
50603         (strchr): Don't use BP_SYM.
50604         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
50605         <bp-sym.h> and <bp-asm.h>.
50606         (__strchrnul): Don't use BP_SYM.
50607         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
50608         <bp-sym.h> and <bp-asm.h>.
50609         (strlen): Don't use BP_SYM.
50610         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
50611         <bp-sym.h> and <bp-asm.h>.
50612         (strncmp): Don't use BP_SYM.  Remove comment about bounded
50613         pointers.
50614         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
50615         <bp-sym.h> and <bp-asm.h>.
50616         (__strnlen): Don't use BP_SYM.
50617         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
50618         <bp-sym.h> and <bp-asm.h>.
50619         (__GI__setjmp): Don't use BP_SYM.
50620         (_setjmp): Likewise.
50621         (__sigsetjmp): Likewise.
50622         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
50623         (L(start_addresses)): Don't use BP_SYM.
50624         (_start): Likewise.
50625         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
50626         <bp-asm.h>.
50627         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
50628         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
50629         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
50630         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
50631         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
50632         <bp-asm.h>.
50633         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
50634         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
50635         about bounded pointers.
50636         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
50637         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
50638         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
50639         <bp-asm.h>.
50640         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
50641         about bounded pointers.  Remove GKM FIXME comments.
50642         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
50643         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
50644         <bp-asm.h>.
50645         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
50646         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
50647         Remove GKM FIXME comments.
50648         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
50649         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
50650         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
50651         <bp-asm.h>.
50652         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
50653         about bounded pointers.  Remove GKM FIXME comment.
50654         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
50655         and <bp-asm.h>.
50656         (strncmp): Don't use BP_SYM.  Remove comment about bounded
50657         pointers.
50658         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
50659         <bp-sym.h> and <bp-asm.h>.
50660         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
50661         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
50662         <bp-sym.h> and <bp-asm.h>.
50663         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
50664         comment.
50666 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
50668         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
50669         call free(NULL).
50671 2013-03-05  David S. Miller  <davem@davemloft.net>
50673         * po/es.po: Update from translation team.
50675 2013-03-05  Andreas Jaeger  <aj@suse.de>
50677         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
50678         <bits/mman-linux.h>.
50679         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
50680         is fine.
50681         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
50682         <bits/mman-linux.h> to end of file.
50683         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
50684         is fine.
50685         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
50686         <bits/mman-linux.h> to end of file.
50687         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
50688         is fine.
50689         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
50690         <bits/mman-linux.h> to end of file.
50692         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
50693         (MCL_CURRENT, MCL_FUTURE): Define here.
50695 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
50697         [BZ #15232]
50698         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
50699         attribute_hidden.
50700         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
50702 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
50704         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
50705         fourth parameter needed for rt_sigprocmask syscall.
50706         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
50707         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
50708         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
50709         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
50710         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
50711         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
50713 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
50715         [BZ #13550]
50716         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
50717         comment about bounded pointers.
50718         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
50719         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
50721 2013-03-04  Andreas Jaeger  <aj@suse.de>
50723         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
50724         common definitions.
50726         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
50727         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
50728         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
50729         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
50730         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
50731         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
50733 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50735         [BZ #15055]
50736         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
50737         __ieee754_sqrl instead of __sqrl.
50739 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
50741         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
50742         * sysdeps/powerpc/fpu_control.h: ... here.
50743         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
50744         * sysdeps/powerpc/bits/fenvinline.h: ... here.
50745         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
50746         * sysdeps/powerpc/bits/mathinline.h: ... here.
50748 2013-03-01  Roland McGrath  <roland@hack.frob.com>
50750         * elf/dl-hwcaps.c (_dl_important_hwcaps):
50751         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
50752         to just [NEED_DL_SYSINFO_DSO].
50753         * elf/dl-support.c: Likewise.
50754         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
50755         * elf/rtld.c (dl_main): Likewise.
50756         * elf/setup-vdso.h (setup_vdso): Likewise.
50757         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
50758         * sysdeps/unix/sysv/linux/dl-sysdep.c
50759         (_dl_discover_osversion): Likewise.
50761 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
50763         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
50764         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
50766 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
50768         * NEWS: Mention libm performance improvements and non-x86 PI
50769         futex support.
50771         * csu/libc-start.c (__pthread_initialize_minimal): Change
50772         function arguments.
50773         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
50775 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
50777         [BZ #13550]
50778         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
50779         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
50780         <bp-sym.h> and <bp-asm.h>.
50781         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
50782         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
50783         and <bp-asm.h>.
50784         (memcpy): Don't use BP_SYM.
50785         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
50786         <bp-asm.h>.
50787         (__mpn_add_n): Don't use BP_SYM.
50788         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
50789         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
50790         and <bp-asm.h>.
50791         (__mpn_addmul_1): Don't use BP_SYM.
50792         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
50793         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
50794         <bp-sym.h>.
50795         (_setjmp): Don't use BP_SYM.
50796         (__novmx_setjmp): Likewise.
50797         (__GI__setjmp): Likewise.
50798         (__vmx_setjmp): Likewise.
50799         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
50800         <bp-sym.h>.
50801         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
50802         (__bzero): Don't use BP_SYM.
50803         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
50804         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
50805         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
50806         <bp-sym.h> and <bp-asm.h>.
50807         (memcpy): Don't use BP_SYM.
50808         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
50809         <bp-sym.h> and <bp-asm.h>.
50810         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
50811         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
50812         <bp-sym.h> and <bp-asm.h>.
50813         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
50814         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
50815         <bp-asm.h>.
50816         (__mpn_lshift): Don't use BP_SYM.
50817         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
50818         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
50819         <bp-asm.h>.
50820         (memset): Don't use BP_SYM.
50821         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
50822         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
50823         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
50824         <bp-asm.h>.
50825         (__mpn_mul_1): Don't use BP_SYM.
50826         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
50827         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
50828         <bp-sym.h> and <bp-asm.h>.
50829         (memcmp): Don't use BP_SYM.
50830         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
50831         <bp-sym.h> and <bp-asm.h>.
50832         (memcpy): Don't use BP_SYM.
50833         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
50834         <bp-sym.h> and <bp-asm.h>.
50835         (memset): Don't use BP_SYM.
50836         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
50837         <bp-sym.h> and <bp-asm.h>.
50838         (strncmp): Don't use BP_SYM.
50839         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
50840         <bp-sym.h> and <bp-asm.h>.
50841         (memcpy): Don't use BP_SYM.
50842         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
50843         <bp-sym.h> and <bp-asm.h>.
50844         (memset): Don't use BP_SYM.
50845         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
50846         <bp-sym.h> and <bp-asm.h>.
50847         (__memchr): Don't use BP_SYM.
50848         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
50849         <bp-sym.h> and <bp-asm.h>.
50850         (memcmp): Don't use BP_SYM.
50851         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
50852         <bp-sym.h> and <bp-asm.h>.
50853         (memcpy): Don't use BP_SYM.
50854         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
50855         <bp-sym.h> and <bp-asm.h>.
50856         (__mempcpy): Don't use BP_SYM.
50857         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
50858         <bp-sym.h> and <bp-asm.h>.
50859         (__memrchr): Don't use BP_SYM.
50860         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
50861         <bp-sym.h> and <bp-asm.h>.
50862         (memset): Don't use BP_SYM.
50863         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
50864         <bp-sym.h> and <bp-asm.h>.
50865         (__rawmemchr): Don't use BP_SYM.
50866         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
50867         <bp-sym.h> and <bp-asm.h>.
50868         (__STRCMP): Don't use BP_SYM.
50869         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
50870         <bp-sym.h> and <bp-asm.h>.
50871         (strchr): Don't use BP_SYM.
50872         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
50873         <bp-sym.h> and <bp-asm.h>.
50874         (__strchrnul): Don't use BP_SYM.
50875         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
50876         <bp-sym.h> and <bp-asm.h>.
50877         (strlen): Don't use BP_SYM.
50878         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
50879         <bp-sym.h> and <bp-asm.h>.
50880         (strncmp): Don't use BP_SYM.
50881         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
50882         <bp-sym.h> and <bp-asm.h>.
50883         (__strnlen): Don't use BP_SYM.
50884         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
50885         <bp-asm.h>.
50886         (__mpn_rshift): Don't use BP_SYM.
50887         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
50888         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
50889         <bp-sym.h> and <bp-asm.h>.
50890         (__sigsetjmp): Don't use BP_SYM.
50891         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
50892         (L(start_addresses)): Don't use BP_SYM.
50893         (_start): Likewise.
50894         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
50895         <bp-asm.h>.
50896         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
50897         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
50898         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
50899         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
50900         <bp-asm.h>.
50901         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
50902         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
50903         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
50904         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
50905         <bp-asm.h>.
50906         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
50907         comments.
50908         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
50909         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
50910         <bp-asm.h>.
50911         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
50912         FIXME comments.
50913         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
50914         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
50915         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
50916         <bp-asm.h>.
50917         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
50918         comment.
50919         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
50920         and <bp-asm.h>.
50921         (strncmp): Don't use BP_SYM,
50922         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
50923         <bp-asm.h>.
50924         (__mpn_sub_n): Don't use BP_SYM.
50925         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
50926         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
50927         and <bp-asm.h>.
50928         (__mpn_submul_1): Don't use BP_SYM.
50929         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
50930         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
50931         <bp-sym.h> and <bp-asm.h>.
50932         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
50933         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
50934         <bp-sym.h> and <bp-asm.h>.
50935         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
50936         comment.
50938 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
50940         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
50941         Use ZK to minimize writes to Z.
50942         (sub_magnitudes): Simplify code a bit.
50943         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
50944         Use ZK to minimize writes to Z.
50945         (sub_magnitudes): Simplify code a bit.
50947 2013-02-27  Roland McGrath  <roland@hack.frob.com>
50949         * csu/gmon-start.c: Add special exception to license text.
50951 2013-02-27  Richard Henderson  <rth@redhat.com>
50953         * scripts/config.guess: Update from config.git.
50954         * scripts/config.sub: Likewise.
50956 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
50958         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
50960         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
50962         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
50964         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
50966         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
50968 2013-02-26  Roland McGrath  <roland@hack.frob.com>
50970         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
50971         [$(build-shared = yes].
50973 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
50975         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
50976         (__mul): Reduce iterations for calculating mantissa.
50978         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
50979         MPTWO.
50980         (__mpranred): Likewise.
50982         [BZ #15160]
50983         * malloc/memusagestat.c (main): Draw graphs for heap and stack
50984         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
50986 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
50988         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
50989         Define __attribute__.
50991 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
50993         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
50994         unused.
50995         * posix/regex_internal.h (__attribute): Remove.
50996         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
50997         (re_string_context_at): Likewise.
50998         (bitset_not): Use __attribute__ and mark function as possibly
50999         unused.
51000         (bitset_merge): Likewise.
51001         (bitset_mask): Likewise.
51002         (re_string_char_size_at): Likewise.
51003         (re_string_wchar_at): Likewise.
51004         (re_string_elem_size_at): Likewise.
51006 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
51008         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
51009         code.
51010         (cc32): Likewise.
51012         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
51013         (__acr): Likewise.
51014         (__cpy): Likewise.
51015         (norm): Likewise.
51016         (denorm): Likewise.
51017         (__dbl_mp): Likewise.
51018         (add_magnitudes): Likewise.
51019         (sub_magnitudes): Likewise.
51020         (__mul): Likewise.
51021         (__inv): Likewise.
51023         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
51024         style.
51026         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
51027         style.
51029         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
51030         code.
51032         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
51033         up changes with default code.
51034         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
51035         Likewise.
51037 2013-02-24  Allan McRae  <allan@archlinux.org>
51039         * manual/socket.texi (The Internet Namespace): Order menu items
51040         to match that in the file.
51042         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
51043         node listing of the info page menu.
51045 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
51047         [BZ #13550]
51048         * sysdeps/i386/bp-asm.h: Remove file.
51049         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
51050         (PARMS): Do not use macros from bp-asm.h.
51051         (S1): Likewise.
51052         (S2): Likewise.
51053         (SIZE): Likewise.
51054         (__mpn_add_n): Do not use BP_SYM
51055         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
51056         "bp-asm.h".
51057         (PARMS): Do not use macros from bp-asm.h.
51058         (S1): Likewise.
51059         (SIZE): Likewise.
51060         (__mpn_addmul_1): Do not use BP_SYM
51061         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
51062         "bp-asm.h".
51063         (PARMS): Do not use macros from bp-asm.h.
51064         (SIGMSK): Likewise.
51065         (_setjmp): Likewise.  Do not use BP_SYM.
51066         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
51067         "bp-asm.h".
51068         (PARMS): Do not use macros from bp-asm.h.
51069         (SIGMSK): Likewise.
51070         (setjmp): Likewise.  Do not use BP_SYM.
51071         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
51072         "bp-asm.h".
51073         (PARMS): Do not use macros from bp-asm.h.
51074         (__frexp): Do not use BP_SYM.
51075         (frexp): Likewise.
51076         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
51077         "bp-asm.h".
51078         (PARMS): Do not use macros from bp-asm.h.
51079         (__frexpf): Do not use BP_SYM.
51080         (frexpf): Likewise.
51081         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
51082         "bp-asm.h".
51083         (PARMS): Do not use macros from bp-asm.h.
51084         (__frexpl): Do not use BP_SYM.
51085         (frexpl): Likewise.
51086         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
51087         "bp-asm.h".
51088         (PARMS): Do not use macros from bp-asm.h.
51089         (__remquo): Do not use BP_SYM.
51090         (remquo): Likewise.
51091         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
51092         "bp-asm.h".
51093         (PARMS): Do not use macros from bp-asm.h.
51094         (__remquof): Do not use BP_SYM.
51095         (remquof): Likewise.
51096         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
51097         "bp-asm.h".
51098         (PARMS): Do not use macros from bp-asm.h.
51099         (__remquol): Do not use BP_SYM.
51100         (remquol): Likewise.
51101         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
51102         "bp-asm.h".
51103         (PARMS): Do not use macros from bp-asm.h.
51104         (DEST): Likewise.
51105         (SRC): Likewise.
51106         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
51107         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
51108         "bp-asm.h".
51109         (PARMS): Do not use macros from bp-asm.h.
51110         (strlen): Do not use BP_SYM.
51111         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
51112         "bp-asm.h".
51113         (PARMS): Do not use macros from bp-asm.h.
51114         (S1): Likewise.
51115         (S2): Likewise.
51116         (SIZE): Likewise.
51117         (__mpn_add_n): Do not use BP_SYM.
51118         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
51119         "bp-asm.h".
51120         (PARMS): Do not use macros from bp-asm.h.
51121         (S1): Likewise.
51122         (SIZE): Likewise.
51123         (__mpn_addmul_1): Do not use BP_SYM.
51124         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
51125         weak_alias.
51126         (bzero): Likewise.
51127         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
51128         "bp-asm.h".
51129         (PARMS): Do not use macros from bp-asm.h.
51130         (S): Likewise.
51131         (SIZE): Likewise.
51132         (__mpn_lshift): Do not use BP_SYM.
51133         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
51134         "bp-asm.h".
51135         (PARMS): Do not use macros from bp-asm.h.
51136         (DEST): Likewise.
51137         (SRC): Likewise.
51138         (LEN): Likewise.
51139         (memcpy): Likewise.  Do not use BP_SYM.
51140         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
51141         libc_hidden_def and weak_alias.
51142         (mempcpy): Do not use BP_SYM in weak_alias.
51143         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
51144         "bp-asm.h".
51145         (PARMS): Do not use macros from bp-asm.h.
51146         (DEST): Likewise.
51147         (LEN): Likewise.
51148         [!BZERO_P] (CHR): Likewise.
51149         (memset): Likewise.  Do not use BP_SYM.
51150         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
51151         "bp-asm.h".
51152         (PARMS): Do not use macros from bp-asm.h.
51153         (S1): Likewise.
51154         (SIZE): Likewise.
51155         (__mpn_mul_1): Do not use BP_SYM.
51156         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
51157         "bp-asm.h".
51158         (PARMS): Do not use macros from bp-asm.h.
51159         (S): Likewise.
51160         (SIZE): Likewise.
51161         (__mpn_rshift): Do not use BP_SYM.
51162         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
51163         "bp-asm.h".
51164         (PARMS): Do not use macros from bp-asm.h.
51165         (STR): Likewise.
51166         (CHR): Likewise.
51167         (strchr): Likewise.  Do not use BP_SYM.
51168         (index): Do not use BP_SYM in weak_alias.
51169         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
51170         "bp-asm.h".
51171         (PARMS): Do not use macros from bp-asm.h.
51172         (DEST): Likewise.
51173         (SRC): Likewise.
51174         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
51175         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
51176         "bp-asm.h".
51177         (PARMS): Do not use macros from bp-asm.h.
51178         (strlen): Do not use BP_SYM.
51179         * sysdeps/i386/i586/sub_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_sub_n): Do not use BP_SYM.
51186         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
51187         "bp-asm.h".
51188         (PARMS): Do not use macros from bp-asm.h.
51189         (S1): Likewise.
51190         (SIZE): Likewise.
51191         (__mpn_submul_1): Do not use BP_SYM.
51192         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
51193         "bp-asm.h".
51194         (PARMS): Do not use macros from bp-asm.h.
51195         (S1): Likewise.
51196         (S2): Likewise.
51197         (SIZE): Likewise.
51198         (__mpn_add_n): Do not use BP_SYM.
51199         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
51200         weak_alias.
51201         (bzero): Likewise.
51202         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
51203         "bp-asm.h".
51204         (PARMS): Do not use macros from bp-asm.h.
51205         (BLK2): Likewise.
51206         (LEN): Likewise.
51207         (memcmp): Do not use BP_SYM.
51208         (bcmp): Do not use BP_SYM in weak_alias.
51209         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
51210         "bp-asm.h".
51211         (PARMS): Do not use macros from bp-asm.h.
51212         (DEST): Likewise.
51213         (SRC): Likewise.
51214         (LEN): Likewise.
51215         (memcpy): Likewise.  Do not use BP_SYM.
51216         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
51217         "bp-asm.h".
51218         (PARMS): Do not use macros from bp-asm.h.
51219         (DEST): Likewise.
51220         (SRC): Likewise.
51221         (LEN): Likewise.
51222         (memmove): Likewise.  Do not use BP_SYM.
51223         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
51224         "bp-asm.h".
51225         (PARMS): Do not use macros from bp-asm.h.
51226         (DEST): Likewise.
51227         (SRC): Likewise.
51228         (LEN): Likewise.
51229         (__mempcpy): Likewise.  Do not use BP_SYM.
51230         (mempcpy): Do not use BP_SYM in weak_alias.
51231         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
51232         "bp-asm.h".
51233         (PARMS): Do not use macros from bp-asm.h.
51234         (DEST): Likewise.
51235         (LEN): Likewise.
51236         [!BZERO_P] (CHR): Likewise.
51237         (memset): Likewise.  Do not use BP_SYM.
51238         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
51239         "bp-asm.h".
51240         (PARMS): Do not use macros from bp-asm.h.
51241         (STR2): Likewise.
51242         (strcmp): Do not use BP_SYM.
51243         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
51244         "bp-asm.h".
51245         (PARMS): Do not use macros from bp-asm.h.
51246         (STR): Likewise.
51247         (DELIM): Likewise.
51248         [USE_AS_STRTOK_R] (SAVE): Likewise.
51249         (FUNCTION): Likewise.  Do not use BP_SYM.
51250         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
51251         aliases.
51252         (strtok_r): Likewise.
51253         (__GI___strtok_r): Likewise.
51254         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
51255         (PARMS): Do not use macros from bp-asm.h.
51256         (S): Likewise.
51257         (SIZE): Likewise.
51258         (__mpn_lshift): Do not use BP_SYM.
51259         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
51260         (PARMS): Do not use macros from bp-asm.h.
51261         (STR): Likewise.
51262         (CHR): Likewise.
51263         (__memchr): Do not use BP_SYM.
51264         (memchr): Do not use BP_SYM in weak_alias.
51265         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
51266         (PARMS): Do not use macros from bp-asm.h.
51267         (BLK2): Likewise.
51268         (LEN): Likewise.
51269         (memcmp): Do not use BP_SYM.
51270         (bcmp): Do not use BP_SYM in weak_alias.
51271         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
51272         (PARMS): Do not use macros from bp-asm.h.
51273         (S1): Likewise.
51274         (SIZE): Likewise.
51275         (__mpn_mul_1): Do not use BP_SYM.
51276         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
51277         "bp-asm.h".
51278         (PARMS): Do not use macros from bp-asm.h.
51279         (STR): Likewise.
51280         (CHR): Likewise.
51281         (__rawmemchr): Do not use BP_SYM.
51282         (rawmemchr): Do not use BP_SYM in weak_alias.
51283         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
51284         (PARMS): Do not use macros from bp-asm.h.
51285         (S): Likewise.
51286         (SIZE): Likewise.
51287         (__mpn_rshift): Do not use BP_SYM.
51288         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
51289         (PARMS): Do not use macros from bp-asm.h.
51290         (SIGMSK): Likewise.
51291         (__sigsetjmp): Likewise.  Do not use BP_SYM.
51292         * sysdeps/i386/start.S: Do not include "bp-sym.h".
51293         (_start): Do not use BP_SYM.
51294         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
51295         (PARMS): Do not use macros from bp-asm.h.
51296         (DEST): Likewise.
51297         (SRC): Likewise.
51298         (__stpcpy): Likewise.  Do not use BP_SYM.
51299         (stpcpy): Do not use BP_SYM in weak_alias.
51300         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
51301         "bp-asm.h".
51302         (PARMS): Do not use macros from bp-asm.h.
51303         (DEST): Likewise.
51304         (SRC): Likewise.
51305         (LEN): Likewise.
51306         (__stpncpy): Likewise.  Do not use BP_SYM.
51307         (stpncpy): Do not use BP_SYM in weak_alias.
51308         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
51309         (PARMS): Do not use macros from bp-asm.h.
51310         (STR): Likewise.
51311         (CHR): Likewise.
51312         (strchr): Likewise.  Do not use BP_SYM.
51313         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
51314         "bp-asm.h".
51315         (PARMS): Do not use macros from bp-asm.h.
51316         (STR): Likewise.
51317         (CHR): Likewise.
51318         (__strchrnul): Likewise.  Do not use BP_SYM.
51319         (strchrnul): Do not use BP_SYM in weak_alias.
51320         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
51321         "bp-asm.h".
51322         (PARMS): Do not use macros from bp-asm.h.
51323         (STOP): Likewise.
51324         (strcspn): Do not use BP_SYM.
51325         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
51326         "bp-asm.h".
51327         (PARMS): Do not use macros from bp-asm.h.
51328         (STR): Likewise.
51329         (STOP): Likewise.
51330         (strpbrk): Likewise.  Do not use BP_SYM.
51331         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
51332         "bp-asm.h".
51333         (PARMS): Do not use macros from bp-asm.h.
51334         (STR): Likewise.
51335         (CHR): Likewise.
51336         (strrchr): Likewise.  Do not use BP_SYM.
51337         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
51338         (PARMS): Do not use macros from bp-asm.h.
51339         (SKIP): Likewise.
51340         (strspn): Do not use BP_SYM.
51341         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
51342         (PARMS): Do not use macros from bp-asm.h.
51343         (STR): Likewise.
51344         (DELIM): Likewise.
51345         (SAVE): Likewise.
51346         (FUNCTION): Likewise.  Do not use BP_SYM.
51347         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
51348         aliases.
51349         (strtok_r): Likewise.
51350         (__GI___strtok_r): Likewise.
51351         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
51352         (PARMS): Do not use macros from bp-asm.h.
51353         (S1): Likewise.
51354         (S2): Likewise.
51355         (SIZE): Likewise.
51356         (__mpn_sub_n): Do not use BP_SYM.
51357         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
51358         "bp-asm.h".
51359         (PARMS): Do not use macros from bp-asm.h.
51360         (S1): Likewise.
51361         (SIZE): Likewise.
51362         (__mpn_submul_1): Do not use BP_SYM.
51363         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
51364         <bp-sym.h>.
51365         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
51366         and <bp-asm.h>.
51367         (PARMS): Do not use macros from bp-asm.h.
51368         (FLAGS): Likewise.
51369         (PTID): Likewise.
51370         (TLS): Likewise.
51371         (CTID): Likewise.
51372         (__clone): Do not use BP_SYM.
51373         (clone): Do not use BP_SYM in weak_alias.
51374         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
51375         and <bp-asm.h>.
51376         (PARMS): Do not use macros from bp-asm.h.
51377         (LEN): Likewise.
51378         (__mmap64): Do not use BP_SYM.
51379         (mmap64): Do not use BP_SYM in weak_alias.
51380         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
51381         <bp-sym.h> and <bp-asm.h>.
51382         (PARMS): Do not use macros from bp-asm.h.
51383         (__posix_fadvise64_l64): Do not use BP_SYM.
51384         * sysdeps/unix/sysv/linux/i386/semtimedop.S
51385         (PARMS): Do not use macros from bp-asm.h.
51386         (NSOPS): Likewise.
51387         (semtimedop): Do not use BP_SYM.
51388         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
51389         and <bp-asm.h>.
51391 2013-02-21  Allan McRae  <allan@archlinux.org>
51393         * manual/message.texi (Charset conversion in gettext):
51394         Move @end statement to beginning of line.
51396 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
51398         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
51399         static.
51400         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
51401         Likewise.
51403         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
51404         (denorm): Likewise.
51405         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
51406         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
51408 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
51410         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
51411         tail-call to the resolved function if pltexit isn't needed.
51413 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
51415         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
51416         or Y being zero as being unlikely.
51417         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
51418         Likewise.
51420 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
51422         * manual/nss.texi (System Databases and Name Service Switch):
51423         Remove frobnicate @pxref.
51425 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
51427         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
51428         __attribute__ ((unused)) to __attribute__ ((__unused__)).
51430 2013-02-20  Petr Machata  <pmachata@redhat.com>
51432         * elf/elf.h (R_ARM_TARGET1): New macro.
51433         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
51434         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
51435         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
51436         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
51437         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
51438         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
51439         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
51440         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
51441         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
51442         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
51443         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
51444         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
51445         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
51446         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
51447         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
51448         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
51449         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
51450         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
51451         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
51452         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
51453         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
51454         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
51455         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
51456         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
51457         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
51458         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
51459         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
51460         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
51461         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
51462         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
51463         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
51464         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
51465         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
51466         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
51467         (R_ARM_THM_GOT_BREL12): Likewise.
51468         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
51469         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
51470         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
51471         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
51472         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
51473         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
51474         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
51475         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
51476         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
51478 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
51480         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
51481         __attribute_used__ to __attribute__ ((unused)).
51483 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
51485         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
51486         powerpc mpa.c.
51487         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
51488         comment formatting.
51489         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
51491 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
51493         [BZ #13550]
51494         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
51495         Remove macro.
51496         (ENTER): Remove both macro definitions.
51497         (LEAVE): Likewise.
51498         (CHECK_BOUNDS_LOW): Likewise.
51499         (CHECK_BOUNDS_HIGH): Likewise.
51500         (CHECK_BOUNDS_BOTH): Likewise.
51501         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
51502         (RETURN_BOUNDED_POINTER): Likewise.
51503         (RETURN_NULL_BOUNDED_POINTER): Likewise.
51504         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
51505         (POP_ERRNO_LOCATION_RETURN): Likewise.
51506         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
51507         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
51508         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
51509         macros.
51510         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
51511         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
51512         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
51513         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
51514         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
51515         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
51516         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
51517         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
51518         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
51519         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
51520         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
51521         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
51522         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
51523         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
51524         removed macros.
51525         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
51526         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
51527         macros.
51528         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
51529         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
51530         * sysdeps/i386/i586/memset.S (memset): Likewise.
51531         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
51532         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
51533         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
51534         macros.
51535         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
51536         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
51537         Change uses of L(2) to L(out).
51538         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
51539         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
51540         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
51541         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
51542         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
51543         removed macros.
51544         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
51545         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
51546         macros.
51547         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
51548         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
51549         (RETURN): Do not use macro LEAVE.
51550         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
51551         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
51552         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
51553         * sysdeps/i386/i686/memset.S (memset): Likewise.
51554         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
51555         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
51556         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
51557         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
51558         Likewise.
51559         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
51560         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
51561         L(1_2) and L(1_3) into L(1).
51562         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
51563         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
51564         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
51565         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
51566         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
51567         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
51568         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
51569         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
51570         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
51571         macros.
51572         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
51573         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
51574         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
51575         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
51576         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
51577         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
51578         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
51579         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
51580         * sysdeps/i386/strcspn.S (strcspn): Likewise.
51581         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
51582         * sysdeps/i386/strrchr.S (strrchr): Likewise.
51583         * sysdeps/i386/strspn.S (strspn): Likewise.
51584         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
51585         conditional code.
51586         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
51587         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
51588         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
51589         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
51590         L(1_3) into L(1_1).
51591         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
51592         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
51593         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
51594         macros.
51595         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
51597 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
51599         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
51600         macro.
51602 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
51604         * math/atest-exp.c (exp_mpn): Remove ROUND.
51605         * math/atest-exp2.c (exp_mpn): Likewise.
51606         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
51608         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
51609         * stdlib/tst-tls-atexit-lib.c: Likewise.
51610         * stdlib/tst-tls-atexit.c: Likewise.
51612 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
51614         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
51615         and __attribute_alloc_size__.
51617 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
51619         * include/programs/xmalloc.h: Change __attribute_alloc_size to
51620         __attribute_alloc_size__.
51621         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
51622         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
51624 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
51626         * include/programs/xmalloc.h: New file.
51627         * catgets/gencat.c: Include it.
51628         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
51629         * elf/pldd.c: Likewise.
51630         * iconv/iconv_charmap.c: Likewise.
51631         * iconv/iconvconfig.c: Likewise.
51632         * iconv/strtab.c: Likewise.
51633         * locale/programs/locale.c: Likewise.
51634         * locale/programs/localedef.h: Likewise.
51635         * locale/programs/simple-hash.c: Likewise.
51636         * nscd/nscd.h: Likewise.
51637         * nss/makedb.c: Likewise.
51638         * sysdeps/generic/ldconfig.h: Likewise.
51640 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
51642         * Versions.def: Add GLIBC_2.18.
51643         * include/link.h (struct link_map): New member l_tls_dtor_count.
51644         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
51645         (__call_tls_dtors): Likewise.
51646         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
51647         __cxa_thread_atexit_impl.
51648         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
51649         Likewise.
51650         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
51651         Likewise.
51652         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
51653         Likewise.
51654         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
51655         Likewise.
51656         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
51657         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
51658         Likewise.
51659         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
51660         Likewise.
51661         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
51662         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
51663         Likewise.
51664         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
51665         (tests): Add test case tst-tls-atexit.
51666         (modules-names): Add shared library for tst-tls-atexit.
51667         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
51668         (GLIBC_PRIVATE): Add __call_tls_dtors.
51669         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
51670         for libstdc++.
51671         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
51672         * stdlib/tst-tls-atexit.c: New test case.
51673         * stdlib/tst-tls-atexit-lib.c: New test case.
51675         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
51677         * elf/Versions (ld): Add _dl_find_dso_for_object.
51678         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
51679         * elf/dl-open.c (_dl_find_dso_for_object): New function.
51680         (dl_open_worker): Use _dl_find_dso_for_object.
51681         * elf/dl-sym.c (do_sym): Likewise.
51682         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
51684 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
51686         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
51687         Syntactic changes only.
51688         (_dl_runtime_profile): Do a tail-call to the resolved function.
51690 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
51692         [BZ #13550]
51693         * sysdeps/x86_64/bp-asm.h: Remove file.
51694         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
51695         <bp-sym.h> and <bp-asm.h>.
51696         (__clone): Do not use BP_SYM.
51697         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
51698         <bp-sym.h> and <bp-asm.h>.
51699         * sysdeps/unix/x86_64/sysdep.S: Likewise.
51700         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
51701         "bp-asm.h".
51702         (_setjmp): Do not use BP_SYM.
51703         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
51704         "bp-asm.h".
51705         (setjmp): Do not use BP_SYM.
51706         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
51707         libc_hidden_def.
51708         (mempcpy): Do not use BP_SYM in weak_alias.
51709         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
51710         "bp-asm.h".
51711         (strchr): Do not use BP_SYM.
51712         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
51713         "bp-asm.h".
51714         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
51715         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
51716         (_start): Do not use BP_SYM.
51717         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
51718         "bp-asm.h".
51719         (strcat): Do not use BP_SYM.
51720         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
51721         "bp-asm.h".
51722         (STRCMP): Do not use BP_SYM.
51723         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
51724         "bp-asm.h".
51725         (STRCPY): Do not use BP_SYM.
51726         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
51727         "bp-asm.h".
51728         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
51729         "bp-asm.h".
51730         (FUNCTION): Do not use BP_SYM.
51731         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
51732         weak_alias.
51733         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
51735 2013-02-17  Andreas Jaeger  <aj@suse.de>
51737         * time/Versions: Sort entries.
51738         * string/Versions: Likewise.
51739         * resolv/Versions: Likewise.
51740         * posix/Versions: Likewise.
51741         * iconv/Versions: Likewise.
51742         * elf/Versions: Likewise.
51743         * wcsmbs/Versions: Likewise.
51745 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
51747         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
51748         loop termination condition.
51750         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
51751         variable to calculate EZ.
51752         (__sqr): Likewise.
51754         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
51755         the lower precision input.
51757 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
51759         [BZ #13550]
51760         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
51761         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
51762         (run-via-rtld-prefix): Do not handle %-bp tests.
51763         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
51764         (all-object-suffixes): Remove .ob.
51765         (bppfx): Remove variable.
51766         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
51767         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
51768         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
51769         [$(build-bounded) = yes] (libtype.ob): Likewise.
51770         * Makerules (elide-routines.ob): Remove variable.
51771         (do-tests-clean): Do not handle *-bp.out.
51772         (common-mostlyclean): Do not handle *-bp and *-bp.out.
51773         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
51774         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
51775         (tests): Do not include $(tests-bp.out).
51776         (xtests): Do not include $(xtests-bp.out).
51777         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
51778         [$(build-bounded) = yes] ($(addprefix
51779         $(objpfx),$(binaries-bounded))): Remove rule.
51780         ($(objpfx)%-bp.out): Remove rule.
51781         * config.make.in (build-bounded): Remove variable.
51782         * crypt/Makefile [$(build-bounded) = yes]
51783         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
51784         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
51785         append to variable.
51786         [$(build-bounded) = yes] (install-lib): Likewise.
51787         [$(build-bounded) = yes] (generated): Likewise.
51788         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
51789         Remove rule.
51790         * intl/Makefile [$(build-bounded) = yes]
51791         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
51792         * math/Makefile [$(build-bounded) = yes]
51793         ($(tests:%=$(objpfx)%-bp): Likewise.
51794         * misc/Makefile [$(build-bounded) = yes]
51795         ($(objpfx)tst-tsearch-bp): Likewise.
51796         * nptl/Makeconfig (bounded-thread-library): Remove variable.
51797         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
51798         Remove dependency.
51799         * string/Makefile (o-objects.ob): Remove variable.
51800         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
51801         (CFLAGS-.ob): Remove variable.
51802         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
51803         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
51804         both definitions of variable.
51805         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
51806         (ASFLAGS-.ob): Remove variable.
51808 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
51810         [BZ #13550]
51811         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
51812         Remove __BOUNDED_POINTERS__ from condition.
51813         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
51814         * string/bits/string2.h [!__NO_STRING_INLINES &&
51815         !__BOUNDED_POINTERS__]: Likewise.
51816         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
51817         Likewise.
51818         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
51819         Remove conditional code.
51820         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
51821         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
51822         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
51823         condition.
51825         [BZ #13550]
51826         * csu/libc-start.c: Do not include <bp-sym.h>.
51827         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
51828         * elf/dl-open.c: Do not include <bp-sym.h>.
51829         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
51830         * math/fegetenv.c: Do not include <bp-sym.h>.
51831         (fegetenv): Do not use BP_SYM in versioned symbols.
51832         * nptl/sysdeps/pthread/bits/libc-lockP.h
51833         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
51834         <bp-sym.h>.
51835         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
51836         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
51837         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
51838         (__pthread_mutex_destroy): Likewise.
51839         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
51840         (__pthread_mutex_lock): Likewise.
51841         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
51842         (__pthread_mutex_trylock): Likewise.
51843         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
51844         (__pthread_mutex_unlock): Likewise.
51845         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
51846         (__pthread_mutexattr_init): Likewise.
51847         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
51848         (__pthread_mutexattr_destroy): Likewise.
51849         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
51850         (__pthread_mutexattr_settype): Likewise.
51851         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
51852         (__pthread_rwlock_init): Likewise.
51853         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
51854         (__pthread_rwlock_destroy): Likewise.
51855         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
51856         (__pthread_rwlock_rdlock): Likewise.
51857         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
51858         (__pthread_rwlock_tryrdlock): Likewise.
51859         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
51860         (__pthread_rwlock_wrlock): Likewise.
51861         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
51862         (__pthread_rwlock_trywrlock): Likewise.
51863         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
51864         (__pthread_rwlock_unlock): Likewise.
51865         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
51866         (__pthread_key_create): Likewise.
51867         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
51868         (__pthread_setspecific): Likewise.
51869         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
51870         (__pthread_getspecific): Likewise.
51871         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
51872         Likewise.
51873         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
51874         (_pthread_cleanup_push_defer): Likewise.
51875         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
51876         (_pthread_cleanup_pop_restore): Likewise.
51877         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
51878         (pthread_setcancelstate): Likewise.
51879         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
51880         <bp-sym.h>.
51881         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
51882         (memchr): Do not use BP_SYM in weak_alias.
51883         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
51884         (fegetenv): Do not use BP_SYM in versioned symbols.
51885         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
51886         (fesetenv): Do not use BP_SYM in versioned symbols.
51887         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
51888         (feupdateenv): Do not use BP_SYM in versioned symbols.
51889         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
51890         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
51891         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
51892         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
51893         (open64): Do not use BP_SYM in weak_alias.
51894         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
51895         (fegetenv): Do not use BP_SYM in versioned symbols.
51896         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
51897         (fesetenv): Do not use BP_SYM in versioned symbols.
51898         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
51899         (feupdateenv): Do not use BP_SYM in versioned symbols.
51900         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
51901         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
51902         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
51903         (feraiseexcept): Do not use BP_SYM in versioned symbols.
51904         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
51905         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
51906         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
51907         <bp-sym.h>.
51908         (__libc_start_main): Do not use BP_SYM.
51910 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
51912         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
51913         redundant return line.
51914         (norm): Likewise.
51915         (denorm): Likewise.
51916         (dbl_mp): Likewise.
51917         (sub_magnitudes): Likewise.
51918         (__add): Likewise.
51919         (__sub): Likewise.
51920         (__mul): Likewise.
51921         (__inv): Likewise.
51922         (__dvd): Likewise.
51923         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
51924         (norm): Likewise.
51925         (denorm): Likewise.
51926         (dbl_mp): Likewise.
51927         (sub_magnitudes): Likewise.
51928         (__add): Likewise.
51929         (__sub): Likewise.
51930         (__mul): Likewise.
51931         (__inv): Likewise.
51932         (__dvd): Likewise.
51934         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
51935         instead of __mul.
51936         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
51937         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
51938         (cc32): Likewise.
51940         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
51941         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
51942         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
51943         of __mul for squares.
51944         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
51945         function
51946         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
51947         Likewise.
51948         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
51949         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
51951 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
51953         [BZ #13550]
51954         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
51955         code.
51956         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
51957         prototype or function definition.  Rename ubp_* variables and
51958         parameters.  Remove argv definitions conditional on
51959         [__BOUNDED_POINTERS__].
51960         * debug/backtrace.c (__backtrace): Do not use __unbounded.
51961         * elf/dl-runtime.c (_dl_fixup): Likewise.
51962         * include/set-hooks.h (RUN_HOOK): Likewise.
51963         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
51964         definition.
51965         * string/strcpy.c (strcpy): Do not use __unbounded.
51966         * sysdeps/generic/frame.h (struct layout): Likewise.
51967         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
51968         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
51969         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
51970         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
51971         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
51972         (__backtrace): Likewise.
51973         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
51974         use __ptrvalue.
51975         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
51976         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
51977         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
51978         Likewise.
51979         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
51980         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
51981         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
51982         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
51983         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
51984         Do not use __unbounded.
51985         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
51986         Rename __unboundedrlimits parameter to rlimits in prototype.
51987         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
51988         Do not use __unbounded.
51989         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
51990         not use __ptrvalue.
51991         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
51992         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
51993         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
51994         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
51995         __ptrvalue or __unbounded.
51996         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
51997         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
51998         use __unbounded.
51999         (__new_msgctl): Do not use __ptrvalue.
52000         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
52001         __unbounded.
52002         (__libc_msgrcv): Do not use __ptrvalue.
52003         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
52004         startup_info): Do not use __unbounded.
52005         (__libc_start_main): Likewise.  Rename ubp_* variables and
52006         parameters.  Remove argv definitions conditional on
52007         [__BOUNDED_POINTERS__].
52008         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
52009         __ptrvalue.
52010         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
52011         use __unbounded.
52012         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
52013         or __ptrvalue.
52014         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
52015         use __unbounded.
52016         (__new_shmctl): Do not use __ptrvalue.
52017         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
52018         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
52019         Likewise.
52020         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
52021         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
52022         (__libc_sigaction): Likewise.
52023         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
52024         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
52025         Likewise.
52026         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
52028 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
52030         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
52032         * string/mempcpy.c: Implement by calling memcpy.
52034 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
52036         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
52038         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
52039         evaluation.
52041         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
52042         values in the mantissa.
52044         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
52045         minimize writes to Z.
52046         (sub_magnitudes): Simplify code a bit.
52048 2013-02-12  Roland McGrath  <roland@hack.frob.com>
52050         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
52051         from the message.  The linker prefixes all warnings with that already.
52053 2013-02-12  Andreas Schwab  <schwab@suse.de>
52055         [BZ #15078]
52056         * posix/regexec.c (extend_buffers): Add parameter min_len.
52057         (check_matching): Pass minimum needed length.
52058         (clean_state_log_if_needed): Likewise.
52059         (get_subexp): Likewise.
52060         * posix/Makefile (tests): Add bug-regex34.
52061         (bug-regex34-ENV): Define.
52062         * posix/bug-regex34.c: New file.
52064         [BZ #11561]
52065         * posix/regcomp.c (parse_bracket_exp): When looking up collating
52066         elements compare against the byte sequence of it, not its name.
52067         * posix/Makefile (tests): Add bug-regex35.
52068         (bug-regex35-ENV): Define.
52069         * posix/bug-regex35.c: New file.
52071 2013-02-11  Tom de Vries  <tom@codesourcery.com>
52073         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
52074         comment.
52075         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
52076         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
52077         (CHECK_EOL): Add undef.
52079 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
52081         * bits/stdlib-bsearch.h: New file.
52082         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
52083         * stdlib/stdlib.h: Likewise.
52085 2013-02-11  Roland McGrath  <roland@hack.frob.com>
52087         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
52088         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
52089         declaration.
52090         * manual/search.texi (Array Search Function): Add missing const in
52091         lfind prototype.
52092         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
52093         declaration to use rlim_t.
52094         (Basic Scheduling Functions): Remove erroneous const from
52095         sched_getparam prototype.  Remove erroneous * from
52096         sched_get_priority_max and sched_get_priority_min prototypes.
52097         (Resource Usage): Fix summary @comment on vtimes to refer to
52098         sys/vtimes.h rather than vtimes.h.
52099         Add missing *s in vtimes prototype.
52100         (Limits on Resources): Fix ulimit prototype to return long int.
52101         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
52102         prototypes to use long int rather than double.
52103         (BSD Random): Fix initstate and setstate to use char *, not void *.
52104         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
52105         prototype to make second argument 'struct aiocb64 *const[]'.
52106         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
52107         (Status of AIO Operations): Remove erroneous const in aio_return and
52108         aio_return64 prototypes.
52109         (Synchronizing I/O): Fix sync prototype to return void.
52110         * manual/startup.texi (Suboptions): Remove an erroneous const in
52111         getsubopt prototype.
52112         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
52113         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
52114         use size_t rather than int.
52115         (Scanning All Users): Likewise for getpwent_r.
52116         (Setting Groups): Add missing const to setgroups prototype.
52117         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
52118         * manual/socket.texi (Host Names): Fix gethostbyaddr and
52119         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
52120         'const void *' rather than 'const char *'.
52121         (Host Address Functions): Likewise for inet_ntop.
52122         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
52123         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
52124         ssize_t for return value.
52125         (Sending Data): Likewise for send, sendto, sendmsg.
52126         (Socket Option Functions): Add a missing const in setsockopt prototype.
52127         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
52128         use wchar_t for the argument.
52129         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
52130         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
52131         take no arguments.
52132         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
52133         double/float/long double for second argument.
52134         Fix return types of significand, significandf, significandl.
52135         * manual/filesys.texi (Setting Permissions): Use mode_t for second
52136         argument in fchmod prototype.
52137         (File Owner): Use uid_t and gid_t in fchown prototype.
52138         (File Times): Add const to utimes, futimes, and lutimes prototypes.
52139         (Making Special Files): Use mode_t and dev_t in mknod prototype.
52140         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
52141         use 'const struct dirent **' as argument types to CMP function pointer
52142         argument.
52143         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
52144         (File Times): Fix summary magic @comment for struct utimbuf and utime
52145         to refer to utime.h, not time.h.
52146         * manual/string.texi (Argz Functions): Add missing const in
52147         argz_extract and argz_next prototypes.
52148         (Finding Tokens in a String): Likewise for basename.
52149         (String/Array Comparison): Fix typo in wcscasecmp prototype.
52150         (Copying and Concatenation): Fix typo in wmemmove prototype.
52151         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
52152         (Signal Stack): Remove erroneous const in sigstack prototype.
52153         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
52154         prototype.
52155         (Simple Calendar Time): Likewise for stime.
52156         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
52157         prototype.
52158         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
52159         say sys/sysctl.h instead.
52160         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
52161         and vsyslog prototypes.
52163 2013-02-11  Tom de Vries  <tom@codesourcery.com>
52165         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
52166         Remove.
52168 2013-02-11  Roland McGrath  <roland@hack.frob.com>
52170         * misc/sys/mman.h: Fix typo in mremap comment.
52172 2013-02-08  Roland McGrath  <roland@hack.frob.com>
52174         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
52175         the '\0' terminator.
52177 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
52179         [BZ #13550]
52180         * debug/segfault.c: Don't include <bp-checks.h>.
52181         * sysdeps/generic/bp-checks.h: Remove file.
52182         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
52183         (__GETDENTS): Don't use CHECK_N.
52184         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
52185         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
52186         (__getgroups): Don't use CHECK_N.
52187         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
52188         (setgroups): Don't use CHECK_N.
52189         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
52190         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
52191         (__libc_msgrcv): Don't use CHECK_N.
52192         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
52193         (__libc_msgsnd): Don't use CHECK_N.
52194         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
52195         <bp-checks.h>.
52196         (__libc_pread): Don't use CHECK_N.
52197         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
52198         include <bp-checks.h>.
52199         (__libc_pread64): Don't use CHECK_N.
52200         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
52201         include <bp-checks.h>.
52202         (__libc_pwrite): Don't use CHECK_N.
52203         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
52204         include <bp-checks.h>.
52205         (__libc_pwrite64): Don't use CHECK_N.
52206         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
52207         <bp-checks.h>.
52208         (__libc_pread): Don't use CHECK_N.
52209         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
52210         include <bp-checks.h>.
52211         (__libc_pread64): Don't use CHECK_N.
52212         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
52213         include <bp-checks.h>.
52214         (__libc_pwrite): Don't use CHECK_N.
52215         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
52216         include <bp-checks.h>.
52217         (__libc_pwrite64): Don't use CHECK_N.
52218         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
52219         (do_pread): Don't use CHECK_N.
52220         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
52221         (do_pread64): Don't use CHECK_N.
52222         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
52223         (do_pwrite): Don't use CHECK_N.
52224         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
52225         (do_pwrite64): Don't use CHECK_N.
52226         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
52227         (__libc_readv): Don't use CHECK_N.
52228         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
52229         (semop): Don't use CHECK_N.
52230         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
52231         <bp-checks.h>.
52232         (semtimedop): Don't use CHECK_N.
52233         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
52234         (__libc_pread): Don't use CHECK_N.
52235         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
52236         <bp-checks.h>.
52237         (__libc_pread64): Don't use CHECK_N.
52238         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
52239         <bp-checks.h>.
52240         (__libc_pwrite): Don't use CHECK_N.
52241         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
52242         <bp-checks.h>.
52243         (__libc_pwrite64): Don't use CHECK_N.
52244         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
52245         <bp-checks.h>.
52246         (__libc_msgrcv): Don't use CHECK_N.
52247         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
52248         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
52249         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
52250         (__libc_writev): Don't use CHECK_N.
52252 2013-02-08  Roland McGrath  <roland@hack.frob.com>
52254         * string/strcpy.c: Removed unused variable.
52256         * Makeconfig (+sysdep-includes): Define with := rather than =.
52257         Use an existing include/ subdir of each sysdeps dir before it.
52259 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
52261         * nscd/connection.c (register_traced_file): Comment function.
52262         [HAVE_INOTIFY] (union __inev): Define.
52263         [HAVE_INOTIFY] (inotify_check_files): New function.
52264         [HAVE_INOTIFY] (clear_db_cache): Likewise.
52265         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
52266         clear_db_cache.
52267         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
52269 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
52271         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
52272         loaded if not already and that a failure is permanent.
52274 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
52276         [BZ #15006]
52277         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
52278         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
52280 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
52282         [BZ #13550]
52283         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
52284         (CHECK_1_NULL_OK): Likewise.
52285         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
52286         (__fxstat): Do not use CHECK_1.
52287         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
52288         <bp-checks.h>.
52289         (___fxstat64): Do not use CHECK_1.
52290         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
52291         <bp-checks.h>.
52292         (__fxstatat): Do not use CHECK_1.
52293         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
52294         <bp-checks.h>.
52295         (__fxstatat64): Do not use CHECK_1.
52296         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
52297         <bp-checks.h>.
52298         (__fxstat): Do not use CHECK_1.
52299         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
52300         <bp-checks.h>.
52301         (__fxstatat): Do not use CHECK_1.
52302         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
52303         <bp-checks.h>.
52304         (__getresgid): Do not use CHECK_1.
52305         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
52306         <bp-checks.h>.
52307         (__getresuid): Do not use CHECK_1.
52308         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
52309         <bp-checks.h>.
52310         (__lxstat): Do not use CHECK_1.
52311         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
52312         <bp-checks.h>.
52313         (__old_msgctl): Do not use CHECK_1.
52314         (__new_msgctl): Likewise.
52315         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
52316         <bp-checks.h>.
52317         (__new_setrlimit): Do not use CHECK_1.
52318         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
52319         <bp-checks.h>.
52320         (__old_shmctl): Do not use CHECK_1.
52321         (__new_shmctl): Likewise.
52322         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
52323         <bp-checks.h>.
52324         (__xstat): Do not use CHECK_1.
52325         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
52326         (__lxstat): Do not use CHECK_1.
52327         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
52328         <bp-checks.h>.
52329         (___lxstat64): Do not use CHECK_1.
52330         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
52331         (__old_msgctl): Do not use CHECK_1.
52332         (__new_msgctl): Likewise.
52333         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
52334         <bp-checks.h>.
52335         (__gettimeofday): Do not use CHECK_1.
52336         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
52337         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
52338         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
52339         <bp-checks.h>.
52340         (__gettimeofday): Do not use CHECK_1.
52341         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
52342         (__old_shmctl): Do not use CHECK_1_NULL_OK.
52343         (__new_shmctl): Do not use CHECK_1.
52344         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
52345         <bp-checks.h>.
52346         (do_sigtimedwait): Do not use CHECK_1.
52347         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
52348         <bp-checks.h>.
52349         (do_sigwaitinfo): Do not use CHECK_1.
52350         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
52351         <bp-checks.h>.
52352         (msgctl): Do not use CHECK_1.
52353         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
52354         <bp-checks.h>.
52355         (shmctl): Do not use CHECK_1.
52356         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
52357         (ustat): Do not use CHECK_1.
52358         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
52359         <bp-checks.h>.
52360         (__fxstat): Do not use CHECK_1.
52361         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
52362         <bp-checks.h>.
52363         (__fxstatat): Do not use CHECK_1.
52364         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
52365         <bp-checks.h>.
52366         (__lxstat): Do not use CHECK_1.
52367         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
52368         <bp-checks.h>.
52369         (__xstat): Do not use CHECK_1.
52370         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
52371         (__xstat): Do not use CHECK_1.
52372         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
52373         (___xstat64): Do not use CHECK_1.
52375         [BZ #13550]
52376         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
52377         definitions.
52378         (CHECK_BOUNDS_HIGH): Likewise.
52379         * string/strcpy.c: Do not include <bp-checks.h>.
52380         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
52382 2013-02-07  Roland McGrath  <roland@hack.frob.com>
52384         * nscd/nscd-client.h (__nscd_drop_map_ref):
52385         Add __attribute__ ((unused)).
52386         * nis/nss-nisplus.h (niserr2nss): Likewise.
52388         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
52389         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
52391         * csu/libc-tls.c (init_static_tls, init_slotinfo):
52392         Remove inline keyword.
52393         * include/rounding-mode.h (round_away): Likewise.
52394         * libio/wfileops.c (adjust_wide_data): Likewise.
52395         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
52396         (__m128i_strloadu_tolower): Likewise.
52397         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
52398         (__m128i_strloadu_tolower): Likewise.
52399         * time/mktime.c (ydhms_diff): Likewise.
52400         * locale/elem-hash.h (elem_hash): Likewise.
52401         * locale/setlocale.c (setdata): Likewise.
52402         * posix/regex_internal.h (re_string_char_size_at): Likewise.
52403         (re_string_wchar_at): Likewise.
52404         (bitset_not, bitset_merge, bitset_mask): Likewise.
52405         [!(__GNUC__ > 3)] (inline): Remove macro.
52406         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
52407         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
52408         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
52409         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
52410         * string/memcmp.c (memcmp_bytes): Likewise.
52411         * locale/programs/locarchive.c (compute_hashval): Likewise.
52412         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
52413         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
52414         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
52415         * nss/getent.c (print_rpc, print_protocols): Likewise.
52416         (print_passwd, print_group, print_aliases): Likewise.
52417         * nis/nss-nisplus.h (niserr2nss): Likewise.
52418         * nscd/connections.c (restart_p): Likewise.
52419         Change return type to bool.
52421 2013-02-05  Roland McGrath  <roland@hack.frob.com>
52423         * Makeconfig (all-Depend-files): Add existing
52424         $(sorted-subdirs:=/Depend) files.
52425         (all-subdirs): Remove nss.
52426         * sysdeps/unix/inet/Subdirs: Add it here instead.
52427         * hesiod/Depend: New file.
52429         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
52430         instead of calling alloca.
52432         * io/lseek.c (__lseek): Rename to __libc_lseek.
52433         Define __lseek as an alias.
52435         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
52437 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
52439         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
52440         else clause and remove check for non-standard endianness.
52442 2013-02-04  David S. Miller  <davem@davemloft.net>
52444         * sysdeps/sparc/fpu/libm-test-ulps: Update.
52446 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
52448         [BZ #13550]
52449         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
52450         (__ubp_memchr): Remove prototype.
52451         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
52452         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
52453         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
52454         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
52455         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
52456         Remove alias.
52457         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
52458         (__ubp_memchr): Likewise.
52459         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
52460         (__ubp_memchr): Likewise.
52461         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
52462         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
52463         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
52464         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
52465         CHECK_STRING.
52466         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
52467         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
52468         (__getcwd): Do not use CHECK_STRING.
52469         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
52470         <bp-checks.h>.
52471         (__real_chown): Do not use CHECK_STRING.
52472         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
52473         <bp-checks.h>.
52474         (fchownat): Do not use CHECK_STRING.
52475         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
52476         CHECK_STRING.
52477         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
52478         <bp-checks.h>.
52479         (__lchown): Do not use CHECK_STRING.
52480         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
52481         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
52482         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
52483         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
52484         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
52485         include <bp-checks.h>.
52486         (truncate64): Do not use CHECK_STRING.
52487         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
52488         <bp-checks.h>.
52489         (__real_chown): Do not use CHECK_STRING.
52490         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
52491         <bp-checks.h>.
52492         (__lchown): Do not use CHECK_STRING.
52493         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
52494         <bp-checks.h>.
52495         (__chown): Do not use CHECK_STRING.
52496         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
52497         <bp-checks.h>.
52498         (truncate64): Do not use CHECK_STRING.
52499         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
52500         Likewise.
52501         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
52502         (__xmknod): Do not use CHECK_STRING.
52503         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
52504         <bp-checks.h>.
52505         (__xmknodat): Do not use CHECK_STRING.
52506         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
52507         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
52509 2013-02-04  Andreas Schwab  <schwab@suse.de>
52511         [BZ #14142]
52512         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
52513         * include/netdb.h: Likewise for h_errno.
52514         * elf/tst-stackguard1.c: Include <tls.h>.
52516 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
52518         * elf/link.h (struct link_map): Extend the l_addr comment.
52519         * include/link.h (struct link_map): Likewise.
52521 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
52523         [BZ #13550]
52524         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
52525         (BOUNDED_1): Remove macro.
52526         * debug/backtrace.c: Don't include <bp-checks.h>.
52527         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
52528         (__backtrace): Likewise.
52529         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
52530         <bp-checks.h>.
52531         (__backtrace): Don't use BOUNDED_1.
52532         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
52533         <bp-checks.h>.
52534         (__backtrace): Don't use BOUNDED_1.
52535         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
52536         (__backtrace): Don't use BOUNDED_1.
52537         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
52538         (shmat): Don't use BOUNDED_N.
52540 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
52542         [BZ #13550]
52543         * sysdeps/generic/bp-start.h: Remove file.
52544         * csu/libc-start.c: Don't include <bp-start.h>.
52545         (LIBC_START_MAIN): Set up __environ directly instead of using
52546         INIT_ARGV_and_ENVIRON.
52547         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
52548         <bp-start.h>.
52550         [BZ #13550]
52551         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
52552         definitions.
52553         (CHECK_FCNTL): Likewise.
52554         (CHECK_N_PAGES): Likewise.
52556         [BZ #13550]
52557         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
52558         definitions.
52559         (CHECK_SIGSET_NULL_OK): Likewise.
52560         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
52561         <bp-checks.h>.
52562         (sigpending): Don't use CHECK_SIGSET.
52563         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
52564         <bp-checks.h>.
52565         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
52566         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
52567         <bp-checks.h>.
52568         (do_sigsuspend): Don't use CHECK_SIGSET.
52569         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
52570         use CHECK_SIGSET.
52571         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
52572         (do_sigwait): Don't use CHECK_SIGSET.
52573         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
52574         use CHECK_SIGSET.
52575         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
52576         include <bp-checks.h>.
52577         (sigpending): Don't use CHECK_SIGSET.
52578         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
52579         include <bp-checks.h>.
52580         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
52581         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
52582         <bp-checks.h>.
52583         (sigpending): Don't use CHECK_SIGSET.
52584         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
52585         <bp-checks.h>.
52586         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
52588         [BZ #13550]
52589         * sysdeps/generic/bp-semctl.h: Remove file.
52590         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
52591         <bp-checks.h> and <bp-semctl.h>.
52592         (__old_semctl): Don't use CHECK_SEMCTL.
52593         (__new_semctl): Likewise.
52594         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
52595         and <bp-semctl.h>.
52596         (__old_semctl): Don't use CHECK_SEMCTL.
52597         (__new_semctl): Likewise.
52598         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
52599         <bp-checks.h> and <bp-semctl.h>.
52600         (__old_semctl): Don't use CHECK_SEMCTL.
52601         (__new_semctl): Likewise.
52602         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
52603         <bp-checks.h> and <bp-semctl.h>.
52604         (semctl): Don't use CHECK_SEMCTL.
52606         [BZ #13550]
52607         * Makerules (elide-bp-thunks): Remove variable.
52608         (elide-routines.oS): Don't use $(elide-bp-thunks).
52609         (elide-routines.os): Likewise.
52610         (elide-routines.o): Likewise.
52611         (elide-routines.op): Likewise.
52612         (elide-routines.og): Likewise.
52613         (objects): Don't use $(bp-thunks).
52614         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
52615         include.
52616         (common-generated): Do not add s-proto-bp.d.
52617         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
52618         (int): Likewise.
52619         (typ): Likewise.
52620         Do not generate makefile rules for bounded-pointer thunks.
52621         * sysdeps/generic/bp-thunks.h: Remove file.
52622         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
52623         * sysdeps/unix/s-proto-bp.S: Likewise.
52625         [BZ #15062]
52626         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
52627         parts of result separately when argument is not close to line from
52628         -i to i and one part of argument is small.
52629         * math/k_casinhf.c (__kernel_casinhf): Likewise.
52630         * math/k_casinhl.c (__kernel_casinhl): Likewise.
52631         * math/libm-test.inc (cacos_test): Add more tests.
52632         (casin_test): Likewise.
52633         (casinh_test): Likewise.
52634         * sysdeps/i386/fpu/libm-test-ulps: Update.
52635         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52637 2013-01-31  David S. Miller  <davem@davemloft.net>
52639         * po/de.po: Update from translation team.
52641 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
52643         * time/tzfile.c: Include stdint.h for SIZE_MAX.
52645 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
52647         * configure.in (_AC_PROG_CC_C89): New definition.
52648         * configure: Regenerate.
52650         * configure.in (AC_PROG_CPP): New definition.
52651         * configure: Regenerate.
52653 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
52655         * debug/tst-backtrace.h: New file.
52656         * debug/tst-backtrace2.c: Include tst-backtrace.h.
52657         (ret): Remove variable.
52658         (x): Likewise.
52659         (FAIL): Remove macro.
52660         (NO_INLINE): Likewise.
52661         (fn1): Use match function instead of strstr.
52662         * debug/tst-backtrace3.c: Include tst-backtrace.h.
52663         (ret): Remove variable.
52664         (x): Likewise.
52665         (FAIL): Remove macro.
52666         (NO_INLINE): Likewise.
52667         (fn): Use match function instead of strstr.
52668         * debug/tst-backtrace4.c: Include tst-backtrace.h.
52669         (ret): Remove variable.
52670         (x): Likewise.
52671         (FAIL): Remove macro.
52672         (NO_INLINE): Likewise.
52673         (handle_signal): Use match function instead of strstr.
52674         * debug/tst-backtrace5.c: Include tst-backtrace.h.
52675         (ret): Remove variable.
52676         (x): Likewise.
52677         (FAIL): Remove macro.
52678         (NO_INLINE): Likewise.
52679         (handle_signal): Use match function instead of strstr.
52681 2013-01-23  Roland McGrath  <roland@hack.frob.com>
52683         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
52685 2013-01-23  David S. Miller  <davem@davemloft.net>
52687         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
52688         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
52689         argument of CAS if possible.
52690         * sysdeps/sparc/sparc64/bits/atomic.h
52691         (__arch_compare_and_exchange_val_32_acq): Likewise.
52692         (__arch_compare_and_exchange_val_64_acq): Likewise.
52694 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
52696         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
52697         * sysdeps/posix/ulimit.c: ... this.
52698         Include <limits.h>.
52699         * sysdeps/unix/bsd/ulimit.c: Remove file.
52701 2013-01-23  Adam Conrad  <adconrad@0c3.net>
52703         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
52704         (LDFLAGS-tst-array5): Likewise.
52706 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
52708         [BZ #15036]
52709         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
52710         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
52711         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
52712         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
52714 2013-01-21  David S. Miller  <davem@davemloft.net>
52716         * sysdeps/sparc/backtrace.c: New file.
52717         * sysdeps/sparc/sparc32/backtrace.h: New file.
52718         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
52719         * sysdeps/sparc/sparc64/backtrace.h: New file.
52720         * sysdeps/sparc/sparc64/backtrace.c: Delete.
52721         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
52722         -funwind-tables.
52724 2013-01-21  Andreas Schwab  <schwab@suse.de>
52726         [BZ #15020]
52727         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
52728         closed its stdout.
52730 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
52732         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
52733         "mpa2.h".
52734         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
52736 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
52737             Mark Mitchell  <mark@codesourcery.com>
52738             Tom de Vries  <tom@codesourcery.com>
52739             Paul Pluzhnikov  <ppluzhnikov@google.com>
52741         * debug/tst-backtrace2.c: New file.
52742         * debug/tst-backtrace3.c: Likewise.
52743         * debug/tst-backtrace4.c: Likewise.
52744         * debug/tst-backtrace5.c: Likewise.
52745         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
52746         (CFLAGS-tst-backtrace3.c): Likewise.
52747         (CFLAGS-tst-backtrace4.c): Likewise.
52748         (CFLAGS-tst-backtrace5.c): Likewise.
52749         (LDFLAGS-tst-backtrace2): Likewise.
52750         (LDFLAGS-tst-backtrace3): Likewise.
52751         (LDFLAGS-tst-backtrace4): Likewise.
52752         (LDFLAGS-tst-backtrace5): Likewise.
52753         (tests): Add new tests tst-backtrace2, tst-backtrace3,
52754         tst-backtrace4 and tst-backtrace5.
52756 2013-01-18  Anton Blanchard  <anton@samba.org>
52757             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
52759         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
52760         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
52761         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
52762         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
52763         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
52764         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
52765         "+r" and remove output regs list as redundant.  Add explicit inline
52766         asm to specify register of return val to work around compiler codegen
52767         bug.  Remove (int) cast on return value.  Add return type parameter to
52768         use in macro so that this macro does not truncate return value for
52769         64-bit values.
52770         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
52771         pass to INTERNAL_VSYSCALL_NCS.
52772         (INLINE_VSYSCALL): Add 'long int' as return type to
52773         INTERNAL_VSYSCALL_NCS macro invocation.
52774         (INTERNAL_VSYSCALL): Add 'long int' as return type to
52775         INTERNAL_VSYSCALL_NCS macro invocation.
52776         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
52778 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
52780         [BZ #14496]
52781         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
52782         Fix application of SIMD FP exception mask.
52784         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
52785         mp_no from a power of two.
52786         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
52787         __mpexp_twomm1.  Use __pow_mp.
52789         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
52790         multiplication.
52792 2013-01-17  David S. Miller  <davem@davemloft.net>
52794         * sysdeps/sparc/fpu/libm-test-ulps: Update.
52796 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
52798         [BZ #15023]
52799         * include/complex.h: Condition contents on [!_COMPLEX_H].
52800         (__kernel_casinhf): New prototype.
52801         (__kernel_casinh): Likewise.
52802         (__kernel_casinhl): Likewise.
52803         * math/Makefile (libm_calls): Add k_casinh.
52804         * math/k_casinh.c: New file.
52805         * math/k_casinhf.c: Likewise.
52806         * math/k_casinhl.c: Likewise.
52807         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
52808         finite nonzero arguments.
52809         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
52810         finite nonzero arguments.
52811         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
52812         finite nonzero arguments.
52813         * math/s_casinh.c: Do not include <float.h>.
52814         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
52815         * math/s_casinhf.c: Do not include <float.h>.
52816         (__casinhf): Move code for finite nonzero arguments to
52817         k_casinhf.c.
52818         * math/s_casinhl.c: Do not include <float.h>.
52819         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
52820         redefine.
52821         (__casinhl): Move code for finite nonzero arguments to
52822         k_casinhl.c.
52823         * math/libm-test.inc (cacos_test): Add more tests.
52824         * sysdeps/i386/fpu/libm-test-ulps: Update.
52825         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52827 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
52829         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
52830         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
52831         [!HAVE_MREMAP]: Remove [defined linux] case.
52832         * malloc/arena.c: Do not include <malloc-sysdep.h>.
52834 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
52836         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
52838 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
52840         * elf/elf.h (R_386_SIZE32): New relocation.
52841         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
52842         R_386_SIZE32.
52843         (elf_machine_rela): Likewise.
52844         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
52845         R_X86_64_SIZE64 and R_X86_64_SIZE32.
52847 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
52849         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
52850         (FP_FAST_FMA): Do not define.
52851         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
52852         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
52853         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
52854         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
52855         !_SOFT_FLOAT]: Likewise.
52856         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
52857         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
52858         value.
52859         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
52860         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
52861         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
52862         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
52863         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
52864         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
52865         file.
52867 2013-01-16  Andreas Schwab  <schwab@suse.de>
52869         [BZ #14327]
52870         * include/stdlib.h (__mktemp): Add declaration.
52871         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
52872         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
52874 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
52876         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
52877         definitions.
52878         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
52879         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
52880         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
52881         definitions here.
52882         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
52883         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
52884         definitions.
52885         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
52886         and ONE.
52887         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
52888         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
52889         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
52890         definitions.
52891         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
52892         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
52893         definitions.
52894         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
52896         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
52898 2013-01-15  David S. Miller  <davem@davemloft.net>
52900         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
52901         trunc{,f} to libm-sysdep_routes.
52902         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
52903         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
52904         file.
52905         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
52906         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
52907         file.
52908         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
52909         file.
52910         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
52911         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
52912         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
52913         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
52914         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
52915         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
52916         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
52917         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
52919         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
52920         nearbyint{,f} to libm-sysdep_routes.
52921         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
52922         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
52923         New file.
52924         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
52925         file.
52926         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
52927         New file.
52928         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
52929         file.
52930         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
52931         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
52932         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
52933         file.
52934         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
52935         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
52936         file.
52937         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
52938         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
52939         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
52941         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
52942         libc_feholdexcept and libc_fesetenv.
52944 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
52946         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
52948 2013-01-14  David S. Miller  <davem@davemloft.net>
52950         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
52951         (SPARC_ASM_VIS2_IFUNC): Likewise.
52952         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
52953         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
52954         use of 'siam' instruction.
52955         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
52956         Likewise.
52957         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
52958         Likewise.
52959         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
52960         Likewise.
52961         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
52962         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
52963         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
52964         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
52965         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
52966         file.
52967         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
52968         file.
52969         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
52970         file.
52971         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
52972         file.
52973         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
52974         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
52975         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
52976         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
52977         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
52978         new VIS2 routines.
52979         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
52980         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
52981         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
52982         Likewise.
52983         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
52984         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
52985         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
52986         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
52987         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
52988         routines to libm-sysdep_routines.
52989         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
52991         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
52992         fdim/fdimf to libm-sysdep_routines.
52993         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
52994         file.
52995         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
52996         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
52997         file.
52998         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
52999         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
53000         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
53001         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
53002         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
53003         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
53004         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
53006 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
53008         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
53009         to optimize copies.
53011         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
53012         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
53013         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
53015         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
53016         local variable MPTWO.
53017         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
53018         Likewise.
53020 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
53022         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
53023         GLOB_NOESCAPE.
53025 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
53027         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
53029 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
53031         * manual/pattern.texi (glob_t): Document gl_flags.
53032         (glob64_t): Likewise.
53034 2013-01-11  David S. Miller  <davem@davemloft.net>
53036         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
53037         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
53038         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
53039         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
53040         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
53041         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
53042         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
53043         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
53044         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
53045         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
53046         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
53047         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
53048         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
53050         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
53051         sparc V9 rather than using V8 code.
53052         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
53053         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
53055         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
53056         Move to...
53057         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
53058         Here.
53060 2013-01-11  Roland McGrath  <roland@hack.frob.com>
53062         [BZ #14941]
53063         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
53064         not in the main loop.
53065         * configure: Regenerated.
53067 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
53069         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
53070         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
53071         to just #else.
53072         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
53073         [!__GLIBC_HAVE_LONG_LONG] case.
53074         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
53075         condition to just #else.
53076         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
53077         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
53078         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
53079         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
53080         unconditional.
53081         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
53082         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
53083         #elif condition to just #else.
53084         * sysdeps/unix/sysv/linux/sys/sysmacros.h
53085         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
53086         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
53087         #elif condition to just #else.
53089 2013-01-11  Steve Ellcey  <sellcey@mips.com>
53091         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
53092         (EF_MIPS_ARCH_64): Fix value.
53093         (EF_MIPS_ARCH_32R2): New.
53094         (EF_MIPS_ARCH_64R2): New.
53096 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
53098         * Makeconfig (+link-pie-before-libc): New.
53099         (+link-pie-after-libc): Likewise.
53100         (+link-pie-tests): Likewise.
53101         (+link-pie): Rewritten.
53102         (link-before-libc): Remove $(config-LDFLAGS).
53103         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
53104         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
53105         (config-LDFLAGS): Renamed to ...
53106         (rtld-LDFLAGS): This.
53107         (rtld-tests-LDFLAGS): New macro.
53108         (link-libc-rpath-link): Likewise.
53109         (link-libc-tests-rpath-link): Likewise.
53110         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
53111         (link-libc): Prepand $(link-libc-rpath-link).
53112         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
53113         (test-program-prefix): New macro.
53114         (test-via-rtld-prefix): Likewise.
53115         (test-program-cmd): Likewise.
53116         (host-test-program-cmd): Likewise.
53117         * Makefile ($(common-objpfx)testrun.sh): Replace
53118         $(run-program-prefix) with $(test-program-prefix).
53119         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
53120         $(rtld-LDFLAGS).
53121         ($(common-objpfx)shlib.lds): Likewise.
53122         (build-module-helper): Likewise.
53123         ($(common-objpfx)format.lds): Likewise.
53124         * Rules (binaries-pie-tests): New.
53125         (binaries-pie-notests): Likewise.
53126         (binaries-pie): Rewritten.
53127         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
53128         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
53129         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
53130         (make-test-out): Replace $(host-built-program-cmd) with
53131         $(host-test-program-cmd).
53132         * config.make.in (build-hardcoded-path-in-tests): New variable.
53133         * configure.in (--enable-hardcoded-path-in-tests): New configure
53134         option.
53135         (hardcoded_path_in_tests): New AC_SUBST.
53136         * configure: Regenerated.
53137         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
53138         $(built-program-cmd) with $(test-program-cmd).
53139         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
53140         (test_program_cmd): This.
53141         * elf/Makefile ($(objpfx)order.out): Run test with
53142         $(test-program-prefix).
53143         ($(objpfx)order2.out): Likewise.
53144         ($(objpfx)tst-initorder.out): Likewise.
53145         ($(objpfx)tst-initorder2.out): Likewise.
53146         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
53147         $(test-program-cmd).
53148         ($(objpfx)tst-array1-static.out): Likewise.
53149         ($(objpfx)tst-array2.out): Likewise.
53150         ($(objpfx)tst-array3.out): Likewise.
53151         ($(objpfx)tst-array4.out): Likewise.
53152         ($(objpfx)tst-array5.out): Likewise.
53153         ($(objpfx)tst-array5-static.out): Likewise.
53154         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
53155         $(test-program-cmd).
53156         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
53157         $(run-program-prefix) with $(test-program-prefix).
53158         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
53159         (test_program_prefix): This.
53160         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
53161         $(run-program-prefix) with $(test-program-prefix).
53162         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
53163         (test_program_prefix): This.
53164         * iconvdata/tst-tables.sh: Likewise.
53165         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
53166         $(run-program-prefix) with $(test-program-prefix).
53167         ($(objpfx)tst-translit.out): Likewise.
53168         ($(objpfx)tst-gettext2.out): Likewise.
53169         ($(objpfx)tst-gettext4.out): Likewise.
53170         ($(objpfx)tst-gettext6.out): Likewise.
53171         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
53172         (test_program_prefix): This.
53173         * intl/tst-gettext2.sh: Likewise.
53174         * intl/tst-gettext4.sh  Likewise.
53175         * intl/tst-gettext6.sh: Likewise.
53176         * intl/tst-translit.sh: Likewise.
53177         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
53178         with $(test-program-cmd).
53179         * libio/Makefile ($(objpfx)test-freopen.out): Replace
53180         $(run-program-prefix) with $(test-program-prefix).
53181         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
53182         (test_program_prefix): This.
53183         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
53184         $(run-program-prefix) with $(test-program-prefix).
53185         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
53186         (test_program_prefix): This.
53187         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
53188         * posix/Makefile ($(objpfx)globtest.out): Replace
53189         $(run-via-rtld-prefix) and $(test-wrapper) with
53190         $(test-program-prefix) and $(test-via-rtld-prefix).
53191         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
53192         $(test-program-prefix).
53193         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
53194         $(host-test-program-cmd).
53195         (tst-spawn-ARGS): Likewise.
53196         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
53197         $(test-program-prefix).
53198         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
53199         (test_via_rtld_prefix): This.
53200         (test_wrapper): Renamed to ...
53201         (test_program_prefix): This.
53202         (run_program_prefix): Replaced by test_program_prefix.
53203         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
53204         (test_program_prefix): This.
53205         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
53206         with $(host-test-program-cmd).
53207         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
53208         $(run-program-prefix) with $(test-program-prefix).
53209         ($(objpfx)tst-printf.out): Likewise.
53210         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
53211         $(test-program-cmd).
53212         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
53213         (test_program_prefix): This.
53214         * stdio-common/tst-unbputc.sh: Likewise.
53215         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
53216         $(run-program-prefix) with $(test-program-prefix).
53217         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
53218         (test_program_prefix): This.
53219         * string/Makefile ($(objpfx)tst-svc.out):  Replace
53220         $(built-program-cmd) with $(test-program-cmd).
53222 2013-01-11  Andreas Jaeger  <aj@suse.de>
53224         [BZ #15003]
53225         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
53226         value. Sync with Linux 3.7.
53228 2013-01-10  David S. Miller  <davem@davemloft.net>
53230         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
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         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
53237         never set.
53238         * configure: Regenerated.
53240 2013-01-10  David S. Miller  <davem@davemloft.net>
53242         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
53243         sparc V9 rather than using V8 code.
53244         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
53245         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
53247 2013-01-10  Roland McGrath  <roland@hack.frob.com>
53249         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
53250         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
53251         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
53252         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
53253         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
53254         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
53255         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
53256         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
53257         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
53258         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
53259         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
53260         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
53261         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
53262         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
53263         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
53264         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
53265         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
53266         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
53267         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
53268         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
53269         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
53270         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
53271         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
53272         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
53273         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
53274         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
53275         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
53277 2013-01-10  David S. Miller  <davem@davemloft.net>
53279         * sysdeps/sparc/fpu/libm-test-ulps: Update.
53281 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
53283         * posix/Makefile (tests-static): New variable.
53284         (tests): Add $(tests-static).
53285         (tst-exec-static-ARGS): New variable.
53286         (tst-spawn-static-ARGS): Likewise.
53287         * posix/tst-exec-static.c: New file.
53288         * posix/tst-spawn-static.c: Likewise.
53289         * posix/tst-exec.c: Support run directly.
53290         * posix/tst-spawn.c: Likewise.
53292 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
53294         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
53295         long.
53296         * math/bits/mathcalls.h (llrint): Likewise.
53297         (llround): Likewise.
53298         * stdlib/stdlib.h (struct drand48_data): Likewise.
53299         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
53300         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
53301         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
53302         Likewise.
53303         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
53304         Likewise.
53305         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
53306         (elf_greg_t): Likewise.
53307         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
53308         (__jmp_buf): Likewise.
53309         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
53310         definitions.
53311         (llrint): Likewise, for all definitions.
53312         (llrintl): Likewise.
53314         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
53315         Remove [__GNUC__] condition.
53316         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
53317         condition to just [__USE_ISOC99].
53318         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
53320 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
53322         [BZ #14200]
53323         * sysdeps/unix/sysv/linux/x86/bits/environments.h
53324         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
53325         defined.
53326         (_POSIX_V6_ILP32_OFF32): Likewise.
53327         (_XBS5_ILP32_OFF32): Likewise.
53328         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
53329         (__ILP32_OFFBIG_LDFLAGS): Likewise.
53331 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
53333         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
53335         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
53336         doubles __mpexp_twomm1.  Adjust usage.
53337         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
53338         Remove.
53340 2013-01-10  Andreas Schwab  <schwab@suse.de>
53342         [BZ #14964]
53343         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
53344         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
53346 2013-01-09  David S. Miller  <davem@davemloft.net>
53348         [BZ #15003]
53349         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
53350         (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
53351         (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
53352         (TCP_FASTOPEN): Define.
53353         (tcp_repair_opt): New structure.
53354         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
53355         enum values.
53356         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
53357         (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
53358         (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
53359         (tcp_cookie_transactions): New structure.
53361 2013-01-09  Anton Blanchard  <anton@samba.org>
53363         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
53364         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
53365         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
53366         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
53368 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
53370         * include/features.h (__USE_ANSI): Remove.
53372 2013-01-09  Roland McGrath  <roland@hack.frob.com>
53374         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
53376         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
53378 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
53380         * sysdeps/s390/fpu/libm-test-ulps: Update.
53382         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
53384         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
53385         (__acr): Likewise.
53386         (__cpy): Likewise.
53387         (norm): Likewise.
53388         (denorm): Likewise.
53389         (__mp_dbl): Likewise.
53390         (__dbl_mp): Likewise.
53391         (add_magnitudes): Likewise.
53392         (sub_magnitudes): Likewise.
53393         (__add): Likewise.
53394         (__sub): Likewise.
53395         (__mul): Likewise.
53396         (__inv): Likewise.
53397         (__dvd): Likewise.
53398         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
53399         (__acr): Likewise.
53400         (__cpy): Likewise.
53401         (norm): Likewise.
53402         (denorm): Likewise.
53403         (__mp_dbl): Likewise.
53404         (__dbl_mp): Likewise.
53405         (add_magnitudes): Likewise.
53406         (sub_magnitudes): Likewise.
53407         (__add): Likewise.
53408         (__sub): Likewise.
53409         (__mul): Likewise.
53410         (__inv): Likewise.
53411         (__dvd): Likewise.
53412         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
53413         (__acr): Likewise.
53414         (__cpy): Likewise.
53415         (norm): Likewise.
53416         (denorm): Likewise.
53417         (__mp_dbl): Likewise.
53418         (__dbl_mp): Likewise.
53419         (add_magnitudes): Likewise.
53420         (sub_magnitudes): Likewise.
53421         (__add): Likewise.
53422         (__sub): Likewise.
53423         (__mul): Likewise.
53424         (__inv): Likewise.
53425         (__dvd): Likewise.
53427 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
53429         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
53430         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
53431         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
53432         2 && __USE_EXTERN_INLINES]: Likewise.
53434 2013-01-08  Andreas Jaeger  <aj@suse.de>
53436         [BZ# 14985]
53437         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
53438         Remove.
53439         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
53440         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
53442 2013-01-07  Anton Blanchard  <anton@samba.org>
53444         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
53445         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
53446         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
53447         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
53448         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
53449         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
53450         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
53451         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
53452         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
53453         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
53454         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
53455         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
53456         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
53457         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
53458         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
53459         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
53460         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
53461         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
53462         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
53463         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
53464         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
53465         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
53466         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
53467         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
53468         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
53469         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
53470         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
53471         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
53472         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
53473         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
53474         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
53475         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
53476         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
53477         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
53478         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
53479         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
53480         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
53481         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
53482         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
53483         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
53484         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
53485         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
53486         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
53488 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
53490         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
53491         (__MALLOC_PMT): Likewise.
53492         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
53493         [__GNUC__], only on [_LIBC].
53494         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
53495         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
53496         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
53497         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
53498         forward declaration.
53499         (realloc_hook_ini): Likewise.
53500         (memalign_hook_ini): Likewise.
53501         (__libc_memalign): Do not use __MALLOC_PMT in variable
53502         declaration.
53503         (__libc_valloc): Likewise.
53504         (__libc_pvalloc): Likewise.
53505         (__libc_calloc): Likewise.
53506         (__posix_memalign): Likewise.
53508         [BZ #14996]
53509         * math/s_casinh.c: Include <float.h>.
53510         (__casinh): Do not do computation with squaring and square root
53511         for large arguments.
53512         * math/s_casinhf.c: Include <float.h>.
53513         (__casinhf): Do not do computation with squaring and square root
53514         for large arguments.
53515         * math/s_casinhl.c: Include <float.h>.
53516         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
53517         (__casinhl): Do not do computation with squaring and square root
53518         for large arguments.
53519         * math/libm-test.inc (casin_test): Add more tests.
53520         (casinh_test): Likewise.
53521         * sysdeps/i386/fpu/libm-test-ulps: Update.
53522         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53524 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
53526         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
53527         (__x86_64_raw_data_cache_size): Likewise.
53528         (__x86_64_data_cache_size_half): Likewise.
53529         (__x86_64_raw_data_cache_size_half): Likewise.
53530         (__x86_64_shared_cache_size): Likewise.
53531         (__x86_64_raw_shared_cache_size): Likewise.
53532         (__x86_64_shared_cache_size_half): Likewise.
53533         (__x86_64_raw_shared_cache_size_half): Likewise.
53534         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
53535         to ...
53536         (__x86_data_cache_size): This.
53537         (__x86_64_raw_data_cache_size): Renamed to ...
53538         (__x86_raw_data_cache_size): This.
53539         (__x86_64_data_cache_size_half): Renamed to ...
53540         (__x86_data_cache_size_half): This.
53541         (__x86_64_raw_data_cache_size_half): Renamed to ...
53542         (__x86_raw_data_cache_size_half): This.
53543         (__x86_64_shared_cache_size): Renamed to ...
53544         (__x86_shared_cache_size): This.
53545         (__x86_64_raw_shared_cache_size): Renamed to ...
53546         (__x86_raw_shared_cache_size): This.
53547         (__x86_64_shared_cache_size_half): Renamed to ...
53548         (__x86_shared_cache_size_half): This.
53549         (__x86_64_raw_shared_cache_size_half): Renamed to ...
53550         (__x86_raw_shared_cache_size_half): This.
53551         * sysdeps/x86_64/memcpy.S: Updated.
53552         * sysdeps/x86_64/memset.S: Likewise.
53553         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
53554         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
53555         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
53557 2013-01-04  David S. Miller  <davem@davemloft.net>
53559         * sysdeps/sparc/fpu/libm-test-ulps: Update.
53561 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
53563         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
53564         1 to avoid redefinition warning.
53565         (__USE_GNU): Don't define.
53566         (init_signaling_nan): Protoize.
53568         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
53570 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
53572         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
53573         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
53574         (__cpymn): Likewise.
53575         (norm): Remove commented code.
53576         (denorm): Likewise.
53577         (__mp_dbl): Likewise.
53578         (__inv): Likewise.
53579         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
53580         (__cpymn): Likewise.
53581         (norm): Remove commented code.
53582         (denorm): Likewise.
53583         (__mp_dbl): Likewise.
53584         (__inv): Likewise.
53586         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
53587         mp_no value for 1.0 and 2.0.
53588         (norm): Use RADIXI instead of radixi.d.
53589         (denorm): Likewise.
53590         (__mul): Use 0.0 instead of zero.d.
53591         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
53592         mp_no value for 1.0 and 2.0.
53593         (norm): Use RADIXI instead of radixi.d.
53594         (denorm): Likewise.
53595         (__mul): Use 0.0 instead of zero.d.
53597 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
53599         [BZ #14994]
53600         * math/s_casinh.c (__casinh): Reduce finite argument to first
53601         quadrant then set signs of results at the end.
53602         * math/s_casinhf.c (__casinhf): Likewise.
53603         * math/s_casinhl.c (__casinhl): Likewise.
53604         * math/libm-test.inc (casin_test): Add more tests.
53605         (casinh_test): Likewise.
53606         * sysdeps/i386/fpu/libm-test-ulps: Update.
53607         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53609 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
53611         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
53613         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
53615         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
53616         declarations.
53617         (denorm): Likewise.
53618         (__mp_dbl): Likewise.
53619         (__inv): Likewise.
53621         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
53622         and adjust the header comment.
53624         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
53625         variable name from declaration.
53627 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
53629         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
53630         Initialize COMMON_CPUID_INDEX_7 element.
53631         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
53632         (CPUID_RTM): Likewise.
53633         (HAS_RTM): Likewise.
53634         (COMMON_CPUID_INDEX_7): New enum.
53636 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
53638         [BZ #14981]
53639         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
53640         size is zero, record memory as freed.
53642 2013-01-03  Andreas Jaeger  <aj@suse.de>
53644         * po/ia.po: Add new Interlingua translation.
53646 2012-01-03  Allan McRae  <allan@archlinux.org>
53648         * locale/programs/localedef.c: Fix description of '--posix' flag.
53650 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
53652         * NEWS: Update dates in second copyright notice.
53653         * README: Update copyright dates in example.
53654         * manual/libc.texinfo: Update copyright dates.
53655         * scripts/test-installation.pl: Update copyright date in --version
53656         output.
53658         * hurd/ctty-input.c: Fix copyright notice formatting.
53659         * hurd/ctty-output.c: Likewise.
53660         * hurd/dtable.c: Likewise.
53661         * hurd/hurd-raise.c: Likewise.
53662         * hurd/hurdprio.c: Likewise.
53663         * hurd/msgportdemux.c: Likewise.
53664         * misc/sys/file.h: Likewise.
53665         * misc/sys/ioctl.h: Likewise.
53666         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
53667         * sysdeps/mach/hurd/chdir.c: Likewise.
53668         * sysdeps/mach/hurd/fchdir.c: Likewise.
53669         * sysdeps/mach/hurd/rename.c: Likewise.
53670         * sysdeps/mach/hurd/rmdir.c: Likewise.
53671         * sysdeps/mach/hurd/seekdir.c: Likewise.
53672         * sysdeps/mach/hurd/setsid.c: Likewise.
53673         * sysdeps/posix/wait3.c: Likewise.
53675         * All files with FSF copyright notices: Update copyright dates
53676         using scripts/update-copyrights.
53677         * intl/plural.c: Regenerated.
53678         * locale/programs/charmap-kw.h: Likewise.
53679         * locale/programs/locfile-kw.h: Likewise.
53681 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
53683         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
53684         four values.
53686         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
53687         calculation loop and add branch prediction.
53689         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
53690         check access beyond bounds of m1np.
53692         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
53693         MPTWO.
53694         (__inv): Remove local variable MPTWO to use the global
53695         constant.
53696         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
53697         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
53698         variable MPTWO.
53699         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
53700         MP3HALFS static const.
53702 2013-01-01  David S. Miller  <davem@davemloft.net>
53704         * po/ca.po: Update from translation team.
53706 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
53708         * scripts/update-copyrights: New file.
53709         * Makeconfig: Reformat copyright notice.
53710         * ctype/ctype.h: Likewise.
53711         * debug/swprintf_chk.c: Likewise.
53712         * elf/dl-cache.c: Likewise.
53713         * elf/dl-debug.c: Likewise.
53714         * elf/dl-object.c: Likewise.
53715         * grp/initgroups.c: Likewise.
53716         * hurd/Makefile: Likewise.
53717         * hurd/hurd/signal.h: Likewise.
53718         * hurd/hurdfault.c: Likewise.
53719         * hurd/hurdioctl.c: Likewise.
53720         * hurd/hurdlookup.c: Likewise.
53721         * hurd/intr-msg.c: Likewise.
53722         * iconv/gconv_open.c: Likewise.
53723         * libio/swprintf.c: Likewise.
53724         * locale/lc-ctype.c: Likewise.
53725         * locale/nl_langinfo.c: Likewise.
53726         * mach/Machrules: Likewise.
53727         * mach/Makefile: Likewise.
53728         * malloc/obstack.h: Likewise.
53729         * manual/Makefile: Likewise.
53730         * manual/tsort.awk: Likewise.
53731         * misc/bits/stab.def: Likewise.
53732         * nis/nis_print_group_entry.c: Likewise.
53733         * nis/nis_table.c: Likewise.
53734         * nis/nss_compat/compat-pwd.c: Likewise.
53735         * nis/nss_compat/compat-spwd.c: Likewise.
53736         * po/Makefile: Likewise.
53737         * posix/fnmatch.c: Likewise.
53738         * posix/regex.h: Likewise.
53739         * resolv/Makefile: Likewise.
53740         * resolv/nss_dns/dns-network.c: Likewise.
53741         * resolv/res_hconf.c: Likewise.
53742         * scripts/gen-sorted.awk: Likewise.
53743         * soft-fp/soft-fp.h: Likewise.
53744         * stdio-common/printf.h: Likewise.
53745         * stdlib/monetary.h: Likewise.
53746         * stdlib/random.c: Likewise.
53747         * stdlib/random_r.c: Likewise.
53748         * sysdeps/generic/Makefile: Likewise.
53749         * sysdeps/gnu/Makefile: Likewise.
53750         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
53751         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
53752         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
53753         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
53754         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
53755         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
53756         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
53757         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
53758         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
53759         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
53760         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
53761         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
53762         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
53763         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
53764         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
53765         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
53766         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
53767         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
53768         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
53769         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
53770         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
53771         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
53772         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
53773         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
53774         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
53775         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
53776         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
53777         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
53778         * sysdeps/mach/hurd/errnos.awk: Likewise.
53779         * sysdeps/mach/hurd/fork.c: Likewise.
53780         * sysdeps/mach/hurd/getcwd.c: Likewise.
53781         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
53782         * sysdeps/mach/hurd/mmap.c: Likewise.
53783         * sysdeps/mach/hurd/utimes.c: Likewise.
53784         * sysdeps/mach/hurd/xmknod.c: Likewise.
53785         * sysdeps/posix/profil.c: Likewise.
53786         * sysdeps/posix/readdir_r.c: Likewise.
53787         * sysdeps/powerpc/bits/mathdef.h: Likewise.
53788         * sysdeps/powerpc/bits/setjmp.h: Likewise.
53789         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
53790         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
53791         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
53792         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
53793         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
53794         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
53795         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
53796         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
53797         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
53798         * sysdeps/pthread/lio_listio.c: Likewise.
53799         * sysdeps/sparc/dl-procinfo.h: Likewise.
53800         * sysdeps/unix/i386/sysdep.S: Likewise.
53801         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
53802         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
53803         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
53804         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
53805         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
53806         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
53807         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
53808         * sysdeps/unix/sysv/linux/speed.c: Likewise.
53809         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
53810         * sysdeps/wordsize-32/divdi3.c: Likewise.
53811         * time/sys/time.h: Likewise.
53812         * wcsmbs/Makefile: Likewise.
53814 2013-01-01  David S. Miller  <davem@davemloft.net>
53816         * po/fr.po: Update from translation team.
53818         * catgets/gencat.c: Update copyright year.
53819         * csu/version.c: Likewise.
53820         * debug/catchsegv.sh: Likewise.
53821         * debug/pcprofiledump.c: Likewise.
53822         * debug/xtrace.sh: Likewise.
53823         * elf/ldconfig.c: Likewise.
53824         * elf/ldd.bash.in: Likewise.
53825         * elf/pldd.c: Likewise.
53826         * elf/sotruss.ksh: Likewise.
53827         * elf/sprof.c: Likewise.
53828         * iconv/iconv_prog.c: Likewise.
53829         * iconv/iconvconfig.c: Likewise.
53830         * locale/programs/locale.c: Likewise.
53831         * locale/programs/localedef.c: Likewise.
53832         * login/programs/pt_chown.c: Likewise.
53833         * malloc/memusage.sh: Likewise.
53834         * malloc/memusagestat.c: Likewise.
53835         * malloc/mtrace.pl: Likewise.
53836         * nscd/nscd.c: Likewise.
53837         * nss/getent.c: Likewise.
53838         * nss/makedb.c: Likewise.
53839         * posix/getconf.c: Likewise.
53841 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
53843         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
53844         numbers.
53846 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
53848         * math/bits/mathcalls.h (modf): Use __nonnull.
53850 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
53852         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
53853         (split): Use macro CN instead of the bare value.
53854         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
53855         could be used.
53856         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
53857         instead of the bare value.
53858         (power1): Likewise.
53860 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
53862         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
53863         __ATAN_TWOM.
53864         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
53866         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
53867         their values.
53868         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
53869         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
53870         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
53871         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
53873 2012-12-28  Andreas Jaeger  <aj@suse.de>
53875         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
53876         values are from Linux 3.7.
53878         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
53879         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
53881 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
53883         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
53884         TRUE case.
53886         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
53887         (norm): Likewise.
53888         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
53889         variables with preprocessor constants.
53890         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
53891         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
53892         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
53894 2012-12-27  Bruno Haible  <bruno@clisp.org>
53896         [BZ #14317]
53897         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
53898         only if needed.
53900 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
53902         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
53903         and use variable directly.
53904         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
53906         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
53907         MPONE.
53908         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
53909         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
53910         variable MPONE.
53911         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
53912         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
53913         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
53914         include directive.  Remove local variable MPONE.
53915         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
53916         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
53917         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
53919 2012-12-25  David S. Miller  <davem@davemloft.net>
53921         * version.h (RELEASE): Set to "development".
53922         (VERSION): Set to "2.17.90".
53923         * NEWS: Add 2.18 section.
53925 2012-12-21  David S. Miller  <davem@davemloft.net>
53927         * po/hr.po: Update from translation team.
53929 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
53931         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
53933 2012-12-19  Steve Ellcey  <sellcey@mips.com>
53935         * NEWS:  Mention new memcpy for MIPS.
53937 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
53939         * manual/contrib.texi (Contributors): Spelling correction.
53941 2012-12-15  David S. Miller  <davem@davemloft.net>
53943         * po/ru.po: Update from translation team.
53945 2012-12-13  David S. Miller  <davem@davemloft.net>
53947         * NEWS: Mention IFUNC testsuite enhancements.
53949         * po/pl.po: Update from translation team.
53950         * po/bg.po: Likewise.
53952         * manual/contrib.texi (Contributors): Update entries for Hongjiu
53953         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
53955 2012-12-11  David S. Miller  <davem@davemloft.net>
53957         * po/sv.po: Update from translation team.
53959         * po/vi.po: Update from translation team.
53961         * po/cs.po: Update from translation team.
53963         * po/de.po: Update from translation team.
53964         * po/eo.po: Likewise.
53965         * po/nl.po: Likewise.
53967 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
53969         [BZ #14246]
53970         * manual/argp.texi (Argp Helper Functions): Move node to follow
53971         Argp Parsing State.
53973         [BZ #14872]
53974         * manual/conf.texi (Limits on File System Capacity): Mention if
53975         terminating null is included in the max size.
53977 2012-12-10  Andreas Jaeger  <aj@suse.de>
53979         * po/cs.po: Update from translation team.
53981 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
53983         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
53984         void pointer and cast to uintptr_t.
53985         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
53986         path.
53987         * sysdeps/s390/s390-64/memcpy.S: Likewise.
53988         * sysdeps/s390/s390-64/memset.S: Likewise.
53990 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
53992         [BZ #14833]
53993         * menual/message.texi (Message Translation): Fix typos.
53994         (Helper programs for gettext): Likewise.
53996 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
53998         [BZ #14898]
53999         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
54000         Change to -1.
54002 2012-12-07  David S. Miller  <davem@davemloft.net>
54004         * po/libc.pot: Update.
54006 2012-12-07  Richard Henderson  <rth@redhat.com>
54008         [BZ #10114]
54009         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
54010         normal/normal case to before the switch.
54011         (_FP_DIV): Likewise.
54013 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
54014             Mike Frysinger  <vapier@gentoo.org>
54016         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
54017         check for __NR_fadvise64_64.
54019 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
54021         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
54022         0, not just to plain "0" as a statement.
54023         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
54024         with cw.
54026 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
54028         * NEWS: Use sourceware.org in Bugzilla URL.
54030 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
54032         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
54033         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
54035         * stdio-common/tst-put-error.c (do_test): Add newline to the
54036         padded test to ensure flush.
54038 2012-12-05  Jeff Law  <law@redhat.com>
54040         * sunrpc/etc.rpc (fedfs_admin): Add entry.
54042 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
54044         * README: Don't refer to ports add-on as distributed separately.
54045         Mention AArch64 in list of systems supported in the ports add-on.
54047         * LICENSES: Add more non-FSF copyright and license notices.
54049         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
54050         ((unused)).
54052         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
54054         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
54055         10000 as width of padded output.
54057 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
54059         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
54061         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
54062         variable LX with __attribute__ ((unused)).
54063         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
54064         Likewise.
54065         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
54066         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
54067         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
54068         with __attribute__ ((unused)).
54070 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
54072         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
54074 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
54076         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
54077         (CFLAGS-nldbl-acos.c): New variable.
54078         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
54079         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
54080         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
54081         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
54082         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
54083         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
54084         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
54085         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
54086         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
54087         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
54088         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
54089         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
54090         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
54091         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
54092         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
54093         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
54094         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
54095         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
54096         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
54097         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
54098         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
54099         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
54100         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
54101         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
54102         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
54103         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
54104         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
54105         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
54106         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
54107         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
54108         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
54109         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
54110         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
54111         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
54112         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
54113         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
54114         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
54115         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
54116         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
54117         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
54118         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
54119         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
54120         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
54121         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
54122         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
54123         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
54124         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
54125         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
54126         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
54127         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
54128         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
54129         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
54130         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
54131         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
54132         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
54133         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
54134         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
54135         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
54136         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
54137         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
54138         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
54139         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
54140         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
54141         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
54142         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
54143         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
54144         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
54145         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
54146         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
54147         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
54148         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
54149         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
54150         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
54151         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
54152         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
54153         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
54154         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
54155         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
54156         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
54157         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
54158         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
54159         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
54160         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
54161         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
54162         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
54163         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
54164         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
54165         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
54166         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
54167         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
54168         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
54169         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
54170         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
54171         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
54172         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
54173         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
54174         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
54176         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
54177         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
54179         [BZ #14914]
54180         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
54181         whole low double instead of just low 47 bits when splitting values
54182         into two parts.
54184 2012-12-03  Allan McRae  <allan@archlinux.org>
54186         * manual/stdio.texi (Predefined Printf Handlers): Remove
54187         @hsep and @vsep usage.
54189 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
54191         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
54192         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
54194 2012-12-03  Jeff Law  <law@redhat.com>
54196         * time/sys/time.h (settimeofday): Do not mark TV argument
54197         as __nonnull.
54199 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
54201         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
54202         when currently writing and seek to current position when not.
54203         * libio/Makefile (tests): Remove bug-fclose1.
54204         * libio/bug-fclose1.c: Delete.
54206 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
54208         * manual/arith.texi (feenableexcept): Fix typo.
54209         (fedisableexcept): Likewise.
54211 2012-11-30  Roland McGrath  <roland@hack.frob.com>
54213         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
54214         second, differently-typed declaration, rather than a cast.
54216 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
54218         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
54219         * include/rpc/svc.h: ... here.
54221 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
54223         [BZ #13013]
54224         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
54225         depending n and resplen2 to catch cases where answer
54226         equals answerp2.
54228 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
54230         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
54231         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
54233 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
54235         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
54237 2012-11-29  Roland McGrath  <roland@hack.frob.com>
54239         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
54241 2012-11-28  Jeff Law  <law@redhat.com>
54243         [BZ #13761]
54244         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
54245         dataset_temporary.  Track alloca usage into alloca_used.
54246         If dataset is large allocate and release it via malloc/free.
54248 2012-06-04  Florian Weimer  <fweimer@redhat.com>
54250         [BZ #14197]
54251         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
54253 2012-11-28  David S. Miller  <davem@davemloft.net>
54255         * sysdeps/sparc/fpu/libm-test-ulps: Update.
54257 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
54259         [BZ #14803]
54260         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
54261         of pi/2 rounded to nearest to 64 bits.
54262         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
54263         nearest to 64 bits.
54264         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
54265         bits.
54267 2012-11-28  Jeff Law <law@redhat.com>
54268             Martin Osvald <mosvald@redhat.com>
54270         [BZ #14889]
54271         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
54272         * sunrpc/svc.c: Include time.h.
54273         (__svc_accept_failed): New function.
54274         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
54275         any reason other than EINTR, call __svc_accept_failed.
54276         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
54277         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
54279 2012-11-28  Andreas Schwab  <schwab@suse.de>
54281         * scripts/abilist.awk: Also handle indirect functions in .opd
54282         section.
54284 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
54286         [BZ #13881]
54287         * sysdeps/x86/fpu/powl_helper.c: New file.
54288         * sysdeps/x86/fpu/Makefile: Likewise.
54289         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
54290         (p3): New object.
54291         (__ieee754_powl): Use __powl_helper for finite arguments except
54292         integer exponents below 8.
54293         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
54294         (p3): New object.
54295         (__ieee754_powl): Use __powl_helper for finite arguments except
54296         integer exponents below 8.
54297         * math/libm-test.inc (pow_test): Add more tests and enable some
54298         previously disabled tests.
54299         * sysdeps/i386/fpu/libm-test-ulps: Update.
54300         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54302 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
54303             Carlos O'Donell  <carlos_odonell@mentor.com>
54305         * nss/makedb.c (is_prime): Assert that input is odd and greater
54306         than 4.  Note that fact in a comment too.
54307         (next_prime): Add 4 to input.
54309 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
54311         [BZ #11741]
54312         * libio/Makefile (tests): Add test case tst-fwrite-error.
54313         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
54314         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
54315         * libio/tst-fwrite-error.c: New test case.
54317 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
54319         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
54320         before casting to void *.
54321         * include/libc-internal.h (__pointer_type): New macro.
54322         (__integer_if_pointer_type_sub): Likewise.
54323         (__integer_if_pointer_type): Likewise.
54324         (cast_to_integer): Likewise.
54325         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
54326         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
54327         before casting to atomic64_t.
54328         (atomic_exchange_acq): Likewise.
54329         (__arch_exchange_and_add_body): Likewise.
54330         (__arch_add_body): Likewise.
54331         (atomic_add_negative): Likewise.
54332         (atomic_add_zero): Likewise.
54334 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
54336         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
54337         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
54338         (add_fdes): Likewise.
54339         (linear_search_fdes): Likewise.
54340         (binary_search_unencoded_fdes): Likewise.
54342 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
54344         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
54346 2012-11-24  Adam Conrad  <adconrad@0c3.net>
54348         * configure.in: Autodetect C++ header directories.
54349         * configure: Regenerated.
54351 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
54353         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
54355 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
54357         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
54359 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
54361         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
54362         LDBL_MANT_DIG == 106]: Disable some tests.
54363         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
54364         Likewise.
54365         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
54366         Likewise.
54368         [BZ #14871]
54369         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
54370         input for small inputs.  Return +/- pi/2 for large inputs.
54371         * math/libm-test.inc (atan_test): Add more tests.
54373         * sysdeps/generic/unwind-dw2-fde-glibc.c
54374         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
54375         __attribute__ ((unused)).
54377         [BZ #14645]
54378         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
54379         x * y if x and y are nonzero and z is zero.
54381         [BZ #14811]
54382         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
54383         nonzero exponents with absolute value below 0x1p-117 to +/-
54384         0x1p-117.
54386         [BZ #14869]
54387         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
54388         up arguments below 2**-450, not just those below 2**-500.
54389         * math/libm-test.inc (hypot_test): Add another test.
54391         [BZ #14868]
54392         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
54393         Return a+b for ratio over 2**120, not 2**60.
54394         * math/libm-test.inc (hypot_test): Add another test.
54396         * math/libm-test.inc (clog_test): Use
54397         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
54398         (clog10_test): Likewise.
54400         [BZ #6778]
54401         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
54403 2012-11-22  Andreas Schwab  <schwab@suse.de>
54405         * sysdeps/i386/fpu/libm-test-ulps: Update.
54407 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
54409         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
54410         printf output with newline.
54412 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
54414         [BZ #14865]
54415         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
54416         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
54417         -z nodlopen, -z initfirst and -z execstack support.
54418         * configure: Regenerated.
54420         * elf/elf.h (DF_1_NODIRECT): New macro.
54421         (DF_1_IGNMULDEF): Likewise.
54422         (DF_1_NOKSYMS): Likewise.
54423         (DF_1_NOHDR): Likewise.
54424         (DF_1_EDITED): Likewise.
54425         (DF_1_NORELOC): Likewise.
54426         (DF_1_SYMINTPOSE): Likewise.
54427         (DF_1_GLOBAUDIT): Likewise.
54428         (DF_1_SINGLETON): Likewise.
54429         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
54430         DT_1_SUPPORTED_MASK bits.
54431         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
54433 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
54435         * sysdeps/unix/make-syscalls.sh: Document prefixes.
54437 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
54439         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
54440         macro.
54442         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
54443         (sendmmsg): Move declarations...
54444         * socket/sys/socket.h: ... here.
54445         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
54446         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
54447         include it from...
54448         * socket/recvmmsg.c: ... this new file.
54449         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
54450         (sendmmsg): Rename to __sendmmsg, create weak alias and make
54451         definition of __sendmmsg hidden.
54452         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
54453         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
54454         Move ENOSYS stub into and include it from...
54455         * socket/sendmmsg.c: ... this new file.
54456         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
54457         (sysdep_routines): Move recvmmsg and sendmmsg...
54458         * socket/Makefile (routines): ... here.
54459         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
54460         (GLIBC_PRIVATE): Add __sendmmsg.
54461         * include/sys/socket.h (__sendmmsg): Add declarations.
54462         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
54463         sendmmsg.
54465 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
54467         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
54468         variable I1 with __attribute__ ((unused)).
54469         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
54471 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
54473         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
54474         DUMMY variables with __attribute__ ((unused)).
54476         * bits/byteswap.h: Include <bits/types.h>.
54477         (__bswap_64): Use __uint64_t instead of unsigned long long int.
54479 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
54481         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
54482         string_t.  Do not manually set errno.
54483         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
54484         length with __strnlen.  Make sure to both set errno and return it on
54485         failure.
54487 2012-11-19  David S. Miller  <davem@davemloft.net>
54489         With help from Joseph Myers.
54490         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
54491         very large arguments properly.
54492         * math/libm-test.inc (atan_test): New tests.
54493         (atan2_test): New tests.
54494         * sysdeps/sparc/fpu/libm-test-ulps: Update.
54495         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
54497 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
54499         [BZ #14856]
54500         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
54501         Define to 3.
54503         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
54504         [POSIX] (EADDRNOTAVAIL): Likewise.
54505         [POSIX] (EAFNOSUPPORT): Likewise.
54506         [POSIX] (EALREADY): Likewise.
54507         [POSIX] (ECONNABORTED): Likewise.
54508         [POSIX] (ECONNREFUSED): Likewise.
54509         [POSIX] (ECONNRESET): Likewise.
54510         [POSIX] (EDESTADDRREQ): Likewise.
54511         [POSIX] (EDQUOT): Likewise.
54512         [POSIX] (EHOSTUNREACH): Likewise.
54513         [POSIX] (EIDRM): Likewise.
54514         [POSIX] (EISCONN): Likewise.
54515         [POSIX] (ELOOP): Likewise.
54516         [POSIX] (EMULTIHOP): Likewise.
54517         [POSIX] (ENETDOWN): Likewise.
54518         [POSIX] (ENETUNREACH): Likewise.
54519         [POSIX] (ENOBUFS): Likewise.
54520         [POSIX] (ENODATA): Likewise.
54521         [POSIX] (ENOLINK): Likewise.
54522         [POSIX] (ENOMSG): Likewise.
54523         [POSIX] (ENOPROTOOPT): Likewise.
54524         [POSIX] (ENOSR): Likewise.
54525         [POSIX] (ENOSTR): Likewise.
54526         [POSIX] (ENOTCONN): Likewise.
54527         [POSIX] (ENOTSOCK): Likewise.
54528         [POSIX] (EOPNOTSUPP): Likewise.
54529         [POSIX] (EOVERFLOW): Likewise.
54530         [POSIX] (EPROTO): Likewise.
54531         [POSIX] (EPROTONOSUPPORT): Likewise.
54532         [POSIX] (EPROTOTYPE): Likewise.
54533         [POSIX] (ESTALE): Likewise.
54534         [POSIX] (ETIME): Likewise.
54535         [POSIX] (ETXTBSY): Likewise.
54536         [POSIX] (EWOULDBLOCK): Likewise.
54537         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
54538         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
54539         [POSIX] (SEEK_CUR): Likewise.
54540         [POSIX] (SEEK_END): Likewise.
54541         [POSIX || UNIX98] (mode_t): Do not require.
54542         [POSIX] (off_t): Likewise.
54543         [POSIX] (pid_t): Likewise.
54544         [POSIX] (sys/stat.h): Do not allow header.
54545         [POSIX] (unistd.h): Likewise.
54546         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
54547         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
54548         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
54549         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
54550         require.
54551         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
54552         sigevent): Specify elements.
54553         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
54554         entry.
54555         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
54556         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
54558         * conform/data/cpio.h-data [POSIX]: Disable whole file.
54559         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
54560         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
54561         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
54562         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
54563         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
54564         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
54565         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
54566         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
54567         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
54568         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
54569         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
54570         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
54571         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
54572         Likewise.
54573         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
54574         Likewise.
54575         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
54576         Likewise.
54577         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
54578         Likewise.
54579         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
54580         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
54581         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
54582         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
54583         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
54584         Specify lower bound on value.
54585         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
54586         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
54587         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
54588         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
54589         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
54590         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise.
54591         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
54592         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
54593         value.
54594         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
54595         as optional.
54596         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
54597         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
54598         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
54599         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
54600         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
54601         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
54602         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
54603         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
54604         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
54605         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
54606         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
54607         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
54608         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
54609         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
54610         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
54611         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
54612         entry.
54613         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
54614         optional.
54615         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
54616         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
54617         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
54618         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
54619         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
54620         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
54621         Likewise.
54622         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
54623         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
54624         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
54625         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
54626         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
54627         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
54628         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
54629         as optional.
54630         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
54631         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
54632         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
54633         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
54634         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
54635         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
54636         specify as optional.
54637         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
54638         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
54639         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
54640         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
54641         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
54642         [XPG3] (NL_LANGMAX): Likewise.
54643         [POSIX || XPG3] (NL_MSGMAX): Likewise.
54644         [POSIX || XPG3] (NL_NMAX): Likewise.
54645         [POSIX || XPG3] (NL_SETMAX): Likewise.
54646         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
54647         [XPG3] (NZERO): Likewise.
54648         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
54649         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
54650         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
54651         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
54652         (REG_ERANGE): Expect.
54653         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
54654         optional-constant.
54655         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
54656         Use (void) in prototype.
54657         [POSIX] (*_t): Allow.
54658         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
54659         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
54660         (WRDE_BADVAL): Expect.
54662         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
54663         expect.
54664         [XPG3 || XPG4] (O_RSYNC): Likewise.
54665         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
54666         Likewise.
54667         [XPG3 || XPG4] (pthread_sigmask): Likewise.
54668         [XPG3 || XPG4] (sigqueue): Likewise.
54669         [XPG3 || XPG4] (sigtimedwait): Likewise.
54670         [XPG3 || XPG4] (sigwaitinfo): Likewise.
54671         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
54672         [XPG3 || XPG4] (vsnprintf): Likewise.
54673         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
54674         Likewise.
54675         [XPG3 || XPG4] (blksize_t): Likewise.
54676         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
54677         Likewise.
54678         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
54679         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
54680         [XPG3 || XPG4] (struct itimerspec): Likewise.
54681         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
54682         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
54683         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
54684         [XPG3 || XPG4] (clockid_t): Likewise.
54685         [XPG3 || XPG4] (timer_t): Likewise.
54686         [XPG3 || XPG4] (clock_getres): Likewise.
54687         [XPG3 || XPG4] (clock_gettime): Likewise.
54688         [XPG3 || XPG4] (clock_settime): Likewise.
54689         [XPG3 || XPG4] (nanosleep): Likewise.
54690         [XPG3 || XPG4] (timer_create): Likewise.
54691         [XPG3 || XPG4] (timer_delete): Likewise.
54692         [XPG3 || XPG4] (timer_gettime): Likewise.
54693         [XPG3 || XPG4] (timer_getoverrun): Likewise.
54694         [XPG3 || XPG4] (timer_settime): Likewise.
54695         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
54696         [XPG3 || XPG4] (getlogin_r): Likewise.
54697         [XPG3 || XPG4] (pread): Likewise.
54698         [XPG3 || XPG4] (pthread_atfork): Likewise.
54699         [XPG3 || XPG4] (pwrite): Likewise.
54701         [BZ #14835]
54702         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
54703         <bits/siginfo.h>.
54705 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
54707         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
54708         finalizing MALLSTREAM.
54710         * sysdeps/mach/hurd/syncfs.c: New file.
54712 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
54714         [BZ #14719]
54715         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
54716         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
54717         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
54718         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
54719         (_nss_dns_gethostbyname4_r): Likewise.
54720         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
54721         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
54723 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
54725         [BZ #13763]
54726         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
54728 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
54730         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
54731         * elf/cache.c (print_entry): Print ",AArch64" for
54732         FLAG_AARCH64_LIB64
54734         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
54735         * elf/cache.c (print_entry): Print ",hard-float" for
54736         FLAG_ARM_LIBHF.
54738 2012-11-18  David S. Miller  <davem@davemloft.net>
54740         With help from Joseph Myers.
54741         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
54742         cutoff to 2**-13.
54743         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
54744         cutoff to 2**-25.
54745         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
54746         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
54747         small.
54748         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
54749         * math/libm-test.inc (y0_test): New tests.
54750         (y1_test): New tests.
54751         * sysdeps/i386/fpu/libm-test-ulps: Update.
54752         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
54753         * sysdeps/sparc/fpu/libm-test-ulps: Update.
54755 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
54757         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
54758         64-bit targets.
54759         * configure: Regenerated.
54761 2012-11-17  David S. Miller  <davem@davemloft.net>
54763         [BZ #14811]
54764         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
54765         nonzero exponents with absolute value below 0x1p-128 to +/-
54766         0x1p-128.
54768 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
54770         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
54772         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
54774         * posix/getconf-speclist.c: New file.
54775         * posix/posix-envs.def: Likewise.
54776         * posix/confstr.c (START_ENV_GROUP): New macro.
54777         (END_ENV_GROUP): Likewise.
54778         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
54779         (KNOWN_PRESENT_ENV_STRING): Likewise.
54780         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
54781         (UNKNOWN_ENVIRONMENT): Likewise.
54782         (confstr): Include posix-envs.def instead of handling
54783         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
54784         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
54785         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
54786         (END_ENV_GROUP): Likewise.
54787         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
54788         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
54789         (UNKNOWN_ENVIRONMENT): Likewise.
54790         (__sysconf): Include posix-envs.def instead of handling associated
54791         cases directly here.
54792         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
54793         preprocessing getconf-speclist.c rather than running getconf or
54794         generating empty file.
54796 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
54798         * scripts/check-local-headers.sh: Ignore 'mach' headers.
54800 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
54802         [BZ #14672]
54803         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
54805 2012-11-16  David S. Miller  <davem@davemloft.net>
54807         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
54808         smaller than LDBL_EPSILON/2.0L, just return xm1.
54810 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
54812         * elf/tst-array1.c (init): Set constructor priority to 1000.
54813         (fini): Set destructor priority to 1000.
54814         * elf/tst-array2dep.c: Likewise.
54816 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
54818         [BZ #11741]
54819         * libio/fileops.c (_IO_new_file_write): Correctly return error.
54820         (_IO_new_file_xsputn): Also return EOF if none of the input
54821         data was written when overflow failed.
54822         * libio/iopadn.c (_IO_padn): Likewise.
54823         * libio/iowpadn.c (_IO_wpadn): Likewise.
54824         * stdio-common/tst-put-error.c: Add copyright notice.
54825         (do_test): Add case for printing padded string.
54826         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
54827         _IO_padn returned error.
54828         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
54829         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
54830         return EOF.
54832 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
54834         * libio/libioP.h: Add comment note that the references to C++
54835         bits are now obsolete.
54837 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
54839         * math/libm-test.inc (check_complex): Use asprintf.
54841 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
54843         * debug/pcprofiledump.c (print_version): Update copyright year.
54844         * malloc/memusagestat.c (print_version): Likewise.
54846 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
54848         [BZ #14831]
54849         * elf/Makefile (tests): Add tst-audit8.
54850         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
54851         ($(objpfx)tst-audit8.out): New target.
54852         (tst-audit8-ENV): New variable.
54853         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
54854         audit if l_reloc_result is NULL.
54855         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
54856         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
54857         * elf/tst-audit8.c: New file.
54859 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
54861         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
54862         * misc/Makefile (CFLAGS-select.c): Define.
54863         * posix/Makefile (CFLAGS-pause.c): Define.
54865 2012-11-13  David S. Miller  <davem@davemloft.net>
54867         * crypt/Makefile: Move test targets after toplevel Rules
54868         inclusion.  Grab any necessary sysdep routines when linking.
54869         * crypt/md5.c (md5_process_block): Remove define, we will always
54870         name it __md5_process_block.
54871         (md5_finish_ctx): Update md5_process_block call.
54872         (md5_stream): Likewise.
54873         (md5_process_bytes): Likewise.
54874         (md5_process_block): Rename to __md5_process_block and move to ...
54875         * crypt/md5-block.c: ... here.
54876         * crypt/sha256.c (sha256_process_block): Move to ...
54877         * crypt/sha256-block.c: ... here.
54878         * crypt/sha512.c (sha512_process_block): Move to ...
54879         * crypt/sha512-block.c: ... here.
54880         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
54881         path.
54882         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
54883         * sysdeps/sparc/sparc64/multiarch/Makefile
54884         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
54885         crypt subdir.
54886         (localedef-aux): Add md5 crypto assembler when in locale subdir.
54887         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
54888         multiarch changes.
54889         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
54890         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
54891         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
54892         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
54893         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
54894         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
54895         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
54896         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
54897         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
54898         file.
54899         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
54900         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
54901         file.
54902         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
54904 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
54906         * timezone/tzselect.ksh: Update from tzcode git revision
54907         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
54908         * timezone/zdump.c: Likewise.
54909         * timezone/zic.c: Likewise.
54910         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
54911         in TZVERSION setting, not $(PKGVERSION).
54912         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
54913         REPORT_BUGS_TO settings.
54915         [BZ #14838]
54916         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
54917         macro.
54919 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
54921         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
54922         detection to immediately after _FP_ROUND().
54923         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
54924         bits are 0.
54926 2012-11-11  David S. Miller  <davem@davemloft.net>
54928         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
54929         inttypes.h
54930         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
54931         __close rather than their public counterparts.
54933 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
54935         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
54936         file.
54937         [UNIX98] (sem_timedwait): Do not expect.
54938         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
54939         [XPG4 || UNIX98] (sockatmark): Do not expect.
54940         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
54941         (clock_getcpuclockid): Do not expect.
54942         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
54943         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
54944         Do not expect.
54945         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
54946         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
54947         [UNIX98] (vwscanf): Likewise.
54948         [UNIX98] (vswscanf): Likewise.
54950 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
54952         * timezone/version.h: Remove file.
54953         * timezone/README: Do not refer to version.h.
54954         * timezone/Makefile ($(objpfx)zic.o): New dependency on
54955         $(objpfx)version.h.
54956         ($(objpfx)zdump.o): Likewise.
54957         ($(objpfx)version.h): New target.
54959         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
54960         2012i.
54961         * timezone/README: Don't mention modification to tzselect.ksh.
54962         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
54963         work on unmodified tzselect.ksh.  Substitute version numbers in
54964         tzselect.ksh.
54966         * Makefile (format-me): Remove.
54967         (INSTALL): Adjust indentation.  Use commands directly instead of
54968         using $(format-me).
54970         * aclocal.m4 (ACX_PKGVERSION): New macro.
54971         (ACX_BUGURL): Likewise.
54972         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
54973         (PKGVERSION): New AC_DEFINE_UNQUOTED.
54974         (REPORT_BUGS_TO): Likewise.
54975         * configure: Regenerated.
54976         * config.h.in (PKGVERSION): New macro.
54977         (REPORT_BUGS_TO): Likewise.
54978         * config.make.in (PKGVERSION): New variable.
54979         (PKGVERSION_TEXI): Likewise.
54980         (REPORT_BUGS_TO): Likewise.
54981         (REPORT_BUGS_TEXI): Likewise.
54982         * Makefile (format-me): Use -I$(common-objpfx)manual.
54983         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
54984         ($(common-objpfx)manual/%): New target.
54985         (manual/%): Remove target.
54986         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
54987         (print_version): Use PKGVERSION.
54988         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
54989         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
54990         and REPORT_BUGS_TO.
54991         ($(objpfx)xtrace): Likewise.
54992         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
54993         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
54994         (print_version): Use PKGVERSION.
54995         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
54996         (do_version): Use PKGVERSION.
54997         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
54998         REPORT_BUGS_TO.
54999         (common-ldd-rewrite): Likewise.
55000         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
55001         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
55002         (print_version): Use PKGVERSION.
55003         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
55004         * elf/pldd.c (argp_program_bug_address): Remove variable.
55005         (more_help): New function.
55006         (argp): Use more_help.
55007         (print_version): Use PKGVERSION.
55008         * elf/sln.c (main): Use PKGVERSION.
55009         (usage): Use REPORT_BUGS_TO.
55010         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
55011         (top level): Use PKGVERSION.
55012         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
55013         (print_version): Use PKGVERSION.
55014         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
55015         (print_version): Use PKGVERSION.
55016         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
55017         (print_version): Use PKGVERSION.
55018         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
55019         (print_version): Use PKGVERSION.
55020         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
55021         (print_version): Use PKGVERSION.
55022         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
55023         (print_version): Use PKGVERSION.
55024         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
55025         and BUGURL.
55026         ($(objpfx)memusage): Likewise.
55027         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
55028         (do_version): Use PKGVERSION.
55029         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
55030         (print_version): Use PKGVERSION.
55031         * malloc/mtrace.pl ($PACKAGE): Remove variable.
55032         ($PKGVERSION): New variable.
55033         ($REPORT_BUGS_TO): Likewise.
55034         (usage): Use $REPORT_BUGS_TO.
55035         (top level): Use $PKGVERSION.
55036         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
55037         ($(objpfx)pkgvers.texi): New rule.
55038         ($(objpfx)stamp-pkgvers): Likewise.
55039         * manual/install.texi: Include pkgvers.texi.
55040         (--with-pkgversion): Document new configure option.
55041         (--with-bugurl): Likewise.
55042         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
55043         than necessarily for this particular distribution.  Use
55044         REPORT_BUGS_TO for where to report bugs.
55045         * INSTALL: Regenerated.
55046         * manual/libc.texinfo: Include pkgvers.texi.
55047         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
55048         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
55049         (print_version): Use PKGVERSION.
55050         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
55051         (print_version): Use PKGVERSION.
55052         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
55053         (print_version): Use PKGVERSION.
55054         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
55055         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
55056         macro.
55057         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
55058         (print_version): Use PKGVERSION.
55059         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
55060         (print_version): Use PKGVERSION.
55061         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
55062         and PKGVERSION.
55064         * timezone/checktab.awk: Update from tzcode 2012i.
55065         * timezone/ialloc.c: Likewise.
55066         * timezone/private.h: Likewise.
55067         * timezone/scheck.c: Likewise.
55068         * timezone/tzfile.h: Likewise.
55069         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
55070         (TZVERSION): Hardcode tzcode version number.
55071         * timezone/zdump.c: Update from tzcode 2012i.
55072         * timezone/zic.c: Likewise.
55073         * timezone/version.h: New file.
55074         * timezone/README: Describe version.h.  Update upstream location.
55076         [BZ #14824]
55077         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
55078         (mktemp): Enable declaration.
55079         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
55080         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
55081         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
55082         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
55083         Likewise.
55084         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
55085         Likewise.
55086         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
55087         Likewise.
55088         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
55089         Likewise.
55090         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
55091         Likewise.
55092         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
55093         Likewise.
55095         [BZ #14821]
55096         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
55097         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
55098         for copies of such integer values.
55099         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
55100         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
55102 2012-11-09  Andreas Jaeger  <aj@suse.de>
55104         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
55105         definitions and declarations that are provided by
55106         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
55108 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
55110         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
55111         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
55112         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
55113         definition.
55115 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
55117         * elf/elf.h: Update comment before AArch64 relocations.
55119 2012-11-07  David S. Miller  <davem@davemloft.net>
55121         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
55122         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
55123         (__start_context): Declare.
55124         (__makecontext_ret): Delete.
55125         (__makecontext): Hook up __start_context instead of
55126         __makecontext_ret.
55127         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
55128         (sysdep_routines): Add __start_context when in stdlib.
55130 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
55132         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
55133         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
55134         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
55135         hardcoded "nm".
55136         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
55137         (READELF): New variable.  Use it instead of hardcoded "readelf".
55139 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
55141         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
55142         * sysdeps/x86/Makefile: Here.
55143         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
55144         * sysdeps/x86/tst-xmmymm.sh: This.
55146 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
55148         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
55149         expectations.
55150         [UNIX98] (pthread_barrier_t): Do not expect.
55151         [UNIX98] (pthread_barrierattr_t): Likewise.
55152         [UNIX98] (pthread_spinlock_t): Likewise.
55153         [UNIX98] (pthread_barrier_destroy): Likewise.
55154         [UNIX98] (pthread_barrier_init): Likewise.
55155         [UNIX98] (pthread_barrier_wait): Likewise.
55156         [UNIX98] (pthread_barrierattr_destroy): Likewise.
55157         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
55158         [UNIX98] (pthread_barrierattr_init): Likewise.
55159         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
55160         [UNIX98] (pthread_getcpuclockid): Likewise.
55161         [UNIX98] (pthread_mutex_timedlock): Likewise.
55162         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
55163         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
55164         [UNIX98] (pthread_sigmask): Likewise.
55165         [UNIX98] (pthread_spin_destroy): Likewise.
55166         [UNIX98] (pthread_spin_init): Likewise.
55167         [UNIX98] (pthread_spin_lock): Likewise.
55168         [UNIX98] (pthread_spin_trylock): Likewise.
55169         [UNIX98] (pthread_spin_unlock): Likewise.
55170         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
55171         Do not expect.
55172         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
55173         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
55174         [XPG3 || XPG4] (pthread_cond_t): Likewise.
55175         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
55176         [XPG3 || XPG4] (pthread_key_t): Likewise.
55177         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
55178         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
55179         [XPG3 || XPG4] (pthread_once_t): Likewise.
55180         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
55181         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
55182         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
55183         [XPG3 || XPG4] (pthread_t): Likewise.
55185         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
55186         not expect.
55187         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
55189         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
55190         Change function return type to int.
55192         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
55193         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
55194         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
55195         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
55196         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
55197         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
55198         [!POSIX] (posix_madvise): Likewise.
55199         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
55200         && !UNIX98].
55201         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
55202         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
55203         (mode_t): Likewise.
55204         (posix_mem_offset): Likewise.
55205         (posix_typed_mem_get_info): Likewise.
55206         (posix_typed_mem_open): Likewise.
55208         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
55209         Change condition to [XOPEN2K8].
55211         * conform/conformtest.pl: Preprocess allow-header data with -x c
55212         instead of from stdin.
55213         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
55214         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
55215         [C99-based standards] (cerfc): Likewise.
55216         [C99-based standards] (cexp2): Likewise.
55217         [C99-based standards] (cexpm1): Likewise.
55218         [C99-based standards] (clog10): Likewise.
55219         [C99-based standards] (clog1p): Likewise.
55220         [C99-based standards] (clog2): Likewise.
55221         [C99-based standards] (clgamma): Likewise.
55222         [C99-based standards] (ctgamma): Likewise.
55223         [C99-based standards] (cerff): Likewise.
55224         [C99-based standards] (cerfcf): Likewise.
55225         [C99-based standards] (cexp2f): Likewise.
55226         [C99-based standards] (cexpm1f): Likewise.
55227         [C99-based standards] (clog10f): Likewise.
55228         [C99-based standards] (clog1pf): Likewise.
55229         [C99-based standards] (clog2f): Likewise.
55230         [C99-based standards] (clgammaf): Likewise.
55231         [C99-based standards] (ctgammaf): Likewise.
55232         [C99-based standards] (cerfl): Likewise.
55233         [C99-based standards] (cerfcl): Likewise.
55234         [C99-based standards] (cexp2l): Likewise.
55235         [C99-based standards] (cexpm1l): Likewise.
55236         [C99-based standards] (clog10l): Likewise.
55237         [C99-based standards] (clog1pl): Likewise.
55238         [C99-based standards] (clog2l): Likewise.
55239         [C99-based standards] (clgammal): Likewise.
55240         [C99-based standards] (ctgammal): Likewise.
55241         * conform/data/inttypes.h-data [C99-based standards]: Include
55242         stdint.h-data.  Remove all expectations for stdint.h contents.
55243         [C99-based standards] (PRI*): Do not allow.
55244         [C99-based standards] (SCN*): Likewise.
55245         [C99-based standards] (*_t): Likewise.
55246         [C99-based-standards] (PRId8): Expect macro.
55247         [C99-based-standards] (PRIi8): Likewise.
55248         [C99-based-standards] (PRIo8): Likewise.
55249         [C99-based-standards] (PRIu8): Likewise.
55250         [C99-based-standards] (PRIx8): Likewise.
55251         [C99-based-standards] (PRIX8): Likewise.
55252         [C99-based-standards] (SCNd8): Likewise.
55253         [C99-based-standards] (SCNi8): Likewise.
55254         [C99-based-standards] (SCNo8): Likewise.
55255         [C99-based-standards] (SCNu8): Likewise.
55256         [C99-based-standards] (SCNx8): Likewise.
55257         [C99-based-standards] (PRIdLEAST8): Likewise.
55258         [C99-based-standards] (PRIiLEAST8): Likewise.
55259         [C99-based-standards] (PRIoLEAST8): Likewise.
55260         [C99-based-standards] (PRIuLEAST8): Likewise.
55261         [C99-based-standards] (PRIxLEAST8): Likewise.
55262         [C99-based-standards] (PRIXLEAST8): Likewise.
55263         [C99-based-standards] (SCNdLEAST8): Likewise.
55264         [C99-based-standards] (SCNiLEAST8): Likewise.
55265         [C99-based-standards] (SCNoLEAST8): Likewise.
55266         [C99-based-standards] (SCNuLEAST8): Likewise.
55267         [C99-based-standards] (SCNxLEAST8): Likewise.
55268         [C99-based-standards] (PRIdFAST8): Likewise.
55269         [C99-based-standards] (PRIiFAST8): Likewise.
55270         [C99-based-standards] (PRIoFAST8): Likewise.
55271         [C99-based-standards] (PRIuFAST8): Likewise.
55272         [C99-based-standards] (PRIxFAST8): Likewise.
55273         [C99-based-standards] (PRIXFAST8): Likewise.
55274         [C99-based-standards] (SCNdFAST8): Likewise.
55275         [C99-based-standards] (SCNiFAST8): Likewise.
55276         [C99-based-standards] (SCNoFAST8): Likewise.
55277         [C99-based-standards] (SCNuFAST8): Likewise.
55278         [C99-based-standards] (SCNxFAST8): Likewise.
55279         [C99-based-standards] (PRId16): Likewise.
55280         [C99-based-standards] (PRIi16): Likewise.
55281         [C99-based-standards] (PRIo16): Likewise.
55282         [C99-based-standards] (PRIu16): Likewise.
55283         [C99-based-standards] (PRIx16): Likewise.
55284         [C99-based-standards] (PRIX16): Likewise.
55285         [C99-based-standards] (SCNd16): Likewise.
55286         [C99-based-standards] (SCNi16): Likewise.
55287         [C99-based-standards] (SCNo16): Likewise.
55288         [C99-based-standards] (SCNu16): Likewise.
55289         [C99-based-standards] (SCNx16): Likewise.
55290         [C99-based-standards] (PRIdLEAST16): Likewise.
55291         [C99-based-standards] (PRIiLEAST16): Likewise.
55292         [C99-based-standards] (PRIoLEAST16): Likewise.
55293         [C99-based-standards] (PRIuLEAST16): Likewise.
55294         [C99-based-standards] (PRIxLEAST16): Likewise.
55295         [C99-based-standards] (PRIXLEAST16): Likewise.
55296         [C99-based-standards] (SCNdLEAST16): Likewise.
55297         [C99-based-standards] (SCNiLEAST16): Likewise.
55298         [C99-based-standards] (SCNoLEAST16): Likewise.
55299         [C99-based-standards] (SCNuLEAST16): Likewise.
55300         [C99-based-standards] (SCNxLEAST16): Likewise.
55301         [C99-based-standards] (PRIdFAST16): Likewise.
55302         [C99-based-standards] (PRIiFAST16): Likewise.
55303         [C99-based-standards] (PRIoFAST16): Likewise.
55304         [C99-based-standards] (PRIuFAST16): Likewise.
55305         [C99-based-standards] (PRIxFAST16): Likewise.
55306         [C99-based-standards] (PRIXFAST16): Likewise.
55307         [C99-based-standards] (SCNdFAST16): Likewise.
55308         [C99-based-standards] (SCNiFAST16): Likewise.
55309         [C99-based-standards] (SCNoFAST16): Likewise.
55310         [C99-based-standards] (SCNuFAST16): Likewise.
55311         [C99-based-standards] (SCNxFAST16): Likewise.
55312         [C99-based-standards] (PRId32): Likewise.
55313         [C99-based-standards] (PRIi32): Likewise.
55314         [C99-based-standards] (PRIo32): Likewise.
55315         [C99-based-standards] (PRIu32): Likewise.
55316         [C99-based-standards] (PRIx32): Likewise.
55317         [C99-based-standards] (PRIX32): Likewise.
55318         [C99-based-standards] (SCNd32): Likewise.
55319         [C99-based-standards] (SCNi32): Likewise.
55320         [C99-based-standards] (SCNo32): Likewise.
55321         [C99-based-standards] (SCNu32): Likewise.
55322         [C99-based-standards] (SCNx32): Likewise.
55323         [C99-based-standards] (PRIdLEAST32): Likewise.
55324         [C99-based-standards] (PRIiLEAST32): Likewise.
55325         [C99-based-standards] (PRIoLEAST32): Likewise.
55326         [C99-based-standards] (PRIuLEAST32): Likewise.
55327         [C99-based-standards] (PRIxLEAST32): Likewise.
55328         [C99-based-standards] (PRIXLEAST32): Likewise.
55329         [C99-based-standards] (SCNdLEAST32): Likewise.
55330         [C99-based-standards] (SCNiLEAST32): Likewise.
55331         [C99-based-standards] (SCNoLEAST32): Likewise.
55332         [C99-based-standards] (SCNuLEAST32): Likewise.
55333         [C99-based-standards] (SCNxLEAST32): Likewise.
55334         [C99-based-standards] (PRIdFAST32): Likewise.
55335         [C99-based-standards] (PRIiFAST32): Likewise.
55336         [C99-based-standards] (PRIoFAST32): Likewise.
55337         [C99-based-standards] (PRIuFAST32): Likewise.
55338         [C99-based-standards] (PRIxFAST32): Likewise.
55339         [C99-based-standards] (PRIXFAST32): Likewise.
55340         [C99-based-standards] (SCNdFAST32): Likewise.
55341         [C99-based-standards] (SCNiFAST32): Likewise.
55342         [C99-based-standards] (SCNoFAST32): Likewise.
55343         [C99-based-standards] (SCNuFAST32): Likewise.
55344         [C99-based-standards] (SCNxFAST32): Likewise.
55345         [C99-based-standards] (PRId64): Likewise.
55346         [C99-based-standards] (PRIi64): Likewise.
55347         [C99-based-standards] (PRIo64): Likewise.
55348         [C99-based-standards] (PRIu64): Likewise.
55349         [C99-based-standards] (PRIx64): Likewise.
55350         [C99-based-standards] (PRIX64): Likewise.
55351         [C99-based-standards] (SCNd64): Likewise.
55352         [C99-based-standards] (SCNi64): Likewise.
55353         [C99-based-standards] (SCNo64): Likewise.
55354         [C99-based-standards] (SCNu64): Likewise.
55355         [C99-based-standards] (SCNx64): Likewise.
55356         [C99-based-standards] (PRIdLEAST64): Likewise.
55357         [C99-based-standards] (PRIiLEAST64): Likewise.
55358         [C99-based-standards] (PRIoLEAST64): Likewise.
55359         [C99-based-standards] (PRIuLEAST64): Likewise.
55360         [C99-based-standards] (PRIxLEAST64): Likewise.
55361         [C99-based-standards] (PRIXLEAST64): Likewise.
55362         [C99-based-standards] (SCNdLEAST64): Likewise.
55363         [C99-based-standards] (SCNiLEAST64): Likewise.
55364         [C99-based-standards] (SCNoLEAST64): Likewise.
55365         [C99-based-standards] (SCNuLEAST64): Likewise.
55366         [C99-based-standards] (SCNxLEAST64): Likewise.
55367         [C99-based-standards] (PRIdFAST64): Likewise.
55368         [C99-based-standards] (PRIiFAST64): Likewise.
55369         [C99-based-standards] (PRIoFAST64): Likewise.
55370         [C99-based-standards] (PRIuFAST64): Likewise.
55371         [C99-based-standards] (PRIxFAST64): Likewise.
55372         [C99-based-standards] (PRIXFAST64): Likewise.
55373         [C99-based-standards] (SCNdFAST64): Likewise.
55374         [C99-based-standards] (SCNiFAST64): Likewise.
55375         [C99-based-standards] (SCNoFAST64): Likewise.
55376         [C99-based-standards] (SCNuFAST64): Likewise.
55377         [C99-based-standards] (SCNxFAST64): Likewise.
55378         [C99-based-standards] (PRIdMAX): Likewise.
55379         [C99-based-standards] (PRIiMAX): Likewise.
55380         [C99-based-standards] (PRIoMAX): Likewise.
55381         [C99-based-standards] (PRIuMAX): Likewise.
55382         [C99-based-standards] (PRIxMAX): Likewise.
55383         [C99-based-standards] (PRIXMAX): Likewise.
55384         [C99-based-standards] (SCNdMAX): Likewise.
55385         [C99-based-standards] (SCNiMAX): Likewise.
55386         [C99-based-standards] (SCNoMAX): Likewise.
55387         [C99-based-standards] (SCNuMAX): Likewise.
55388         [C99-based-standards] (SCNxMAX): Likewise.
55389         [C99-based-standards] (PRIdPTR): Likewise.
55390         [C99-based-standards] (PRIiPTR): Likewise.
55391         [C99-based-standards] (PRIoPTR): Likewise.
55392         [C99-based-standards] (PRIuPTR): Likewise.
55393         [C99-based-standards] (PRIxPTR): Likewise.
55394         [C99-based-standards] (PRIXPTR): Likewise.
55395         [C99-based-standards] (SCNdPTR): Likewise.
55396         [C99-based-standards] (SCNiPTR): Likewise.
55397         [C99-based-standards] (SCNoPTR): Likewise.
55398         [C99-based-standards] (SCNuPTR): Likewise.
55399         [C99-based-standards] (SCNxPTR): Likewise.
55400         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
55401         allow.
55402         * conform/data/stdint.h-data: Update comments to clarify
55403         requirements.
55404         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
55405         type.
55406         [C99-based standards] (INT8_MAX): Likewise.
55407         [C99-based standards] (INT16_MIN): Likewise.
55408         [C99-based standards] (INT16_MAX): Likewise.
55409         [C99-based standards] (INT32_MIN): Likewise.
55410         [C99-based standards] (INT32_MAX): Likewise.
55411         [C99-based standards] (INT64_MIN): Likewise.
55412         [C99-based standards] (INT64_MAX): Likewise.
55413         [C99-based standards] (UINT8_MAX): Likewise.
55414         [C99-based standards] (UINT16_MAX): Likewise.
55415         [C99-based standards] (UINT32_MAX): Likewise.
55416         [C99-based standards] (UINT64_MAX): Likewise.
55417         [C99-based standards] (INT_LEAST8_MIN): Likewise.
55418         [C99-based standards] (INT_LEAST8_MAX): Likewise.
55419         [C99-based standards] (INT_LEAST16_MIN): Likewise.
55420         [C99-based standards] (INT_LEAST16_MAX): Likewise.
55421         [C99-based standards] (INT_LEAST32_MIN): Likewise.
55422         [C99-based standards] (INT_LEAST32_MAX): Likewise.
55423         [C99-based standards] (INT_LEAST64_MIN): Likewise.
55424         [C99-based standards] (INT_LEAST64_MAX): Likewise.
55425         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
55426         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
55427         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
55428         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
55429         [C99-based standards] (INT_FAST8_MIN): Likewise.
55430         [C99-based standards] (INT_FAST8_MAX): Likewise.
55431         [C99-based standards] (INT_FAST16_MIN): Likewise.
55432         [C99-based standards] (INT_FAST16_MAX): Likewise.
55433         [C99-based standards] (INT_FAST32_MIN): Likewise.
55434         [C99-based standards] (INT_FAST32_MAX): Likewise.
55435         [C99-based standards] (INT_FAST64_MIN): Likewise.
55436         [C99-based standards] (INT_FAST64_MAX): Likewise.
55437         [C99-based standards] (UINT_FAST8_MAX): Likewise.
55438         [C99-based standards] (UINT_FAST16_MAX): Likewise.
55439         [C99-based standards] (UINT_FAST32_MAX): Likewise.
55440         [C99-based standards] (UINT_FAST64_MAX): Likewise.
55441         [C99-based standards] (INTPTR_MIN): Likewise.
55442         [C99-based standards] (INTPTR_MAX): Likewise.
55443         [C99-based standards] (UINTPTR_MAX): Likewise.
55444         [C99-based standards] (INTMAX_MIN): Likewise.
55445         [C99-based standards] (INTMAX_MAX): Likewise.
55446         [C99-based standards] (UINTMAX_MAX): Likewise.
55447         [C99-based standards] (PTRDIFF_MIN): Likewise.
55448         [C99-based standards] (PTRDIFF_MAX): Likewise.
55449         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
55450         [C99-based standards] (SIZE_MAX): Likewise.
55451         [C99-based standards] (WCHAR_MAX): Likewise.
55452         [C99-based standards] (WINT_MAX): Likewise.
55453         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
55454         constraint on value.
55455         [C99-based standards] (WCHAR_MIN): Likewise.
55456         [C99-based standards] (WINT_MIN): Likewise.
55457         [C99-based standards] (*_t): Allow.
55458         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
55459         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
55460         Include math.h-data and complex.h-data.  Remove all expectations
55461         of math.h and complex.h contents.
55462         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
55463         at end of line.
55464         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
55465         (struct tm): Expect tag.
55466         [C99-based-standards] (wcstof): Expect function.
55467         [C99-based-standards] (wcstold): Likewise.
55468         [C99-based-standards] (wcstoll): Likewise.
55469         [C99-based-standards] (wcstoull): Likewise.
55470         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
55471         macro-int-constant.  Specify type.
55472         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
55473         constraint on value.
55474         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
55475         Specify type.
55476         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
55477         Specify value.
55478         [ISO C standards]: Do not allow headers.
55479         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
55480         wcs[abcdefghijklmnopqrstuvwxyz]*.
55481         [ISO C standards] (*_t): Do not allow.
55482         * conform/data/wctype.h-data [C99-based standards] (iswblank):
55483         Expect function.
55484         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
55485         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
55486         Specify type.
55487         [ISO C standards]: Do not allow headers.
55488         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
55489         is[abcdefghijklmnopqrstuvwxyz]*.
55490         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
55491         to[abcdefghijklmnopqrstuvwxyz]*.
55492         [ISO C standards] (*_t): Do not allow.
55493         * conform/data/stdalign.h-data: New file.
55494         * conform/data/stdbool.h-data: Likewise.
55495         * conform/data/stdnoreturn.h-data: Likewise.
55497 2012-11-07  Roland McGrath  <roland@hack.frob.com>
55499         [BZ #14815]
55500         * manual/filesys.texi (Directory Entries): Typo fix.
55501         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
55503 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
55505         * elf/elf.h (EM_AARCH64): New macro.
55506         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
55507         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
55508         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
55509         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
55510         (R_AARCH64_TLSDESC): Likewise.
55511         (NT_ARM_TLS): Likewise.
55512         (NT_ARM_HW_BREAK): Likewise.
55513         (NT_ARM_HW_WATCH): Likewise.
55515 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
55517         [BZ #14811]
55518         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
55519         (__ieee754_powl): Saturate nonzero exponents with absolute value
55520         below 0x1p-79 to +/- 0x1p-79.
55521         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
55522         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
55523         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
55524         nonzero exponents with absolute value below 0x1p-32 to +/-
55525         0x1p-32.
55526         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
55527         (__ieee754_powl): Saturate nonzero exponents with absolute value
55528         below 0x1p-79 to +/- 0x1p-79.
55529         * math/libm-test.inc (pow_test): Add more tests.
55531 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
55533         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
55534         _dl_s390_cap_flags with kernel. Increase string length.
55535         (_dl_s390_platforms): Add z196 and zEC12.
55537 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
55539         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
55540         Change XOPEN21K to XOPEN2K.
55542 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
55544         * string/memmove.c: Use memcpy when possible.
55546 2012-11-06  Andreas Jaeger  <aj@suse.de>
55548         * po/eo.po: Update from translation team.
55550 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
55552         [BZ #14793]
55553         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
55554         exponent and small x and y exponents, scale x or y up.  Increase
55555         by 2 the exponent used in scaling up.
55556         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
55557         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
55558         * math/libm-test.inc (fma_test): Add more tests.
55559         (fma_test_towardzero): Likewise.
55560         (fma_test_downward): Likewise.
55561         (fma_test_upward): Likewise.
55563 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
55565         [BZ #14805]
55566         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
55567         fenv_t *.
55569         [BZ #14801]
55570         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
55571         namespace for names of struct fields.
55572         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
55573         fenv_t fields.
55574         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
55575         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
55577 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
55579         [BZ #3665]
55580         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
55582 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
55584         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
55585         PTR_DEMANGLE.
55587         [BZ #5246]
55588         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
55589         PTR_DEMANGLE.
55591 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
55593         [BZ #14797]
55594         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
55595         definitely overflow as x * y not x * y + z.
55596         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
55597         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
55598         * math/libm-test.inc (fma_test): Add more tests.
55599         (fma_test_towardzero): Likewise.
55600         (fma_test_downward): Likewise.
55601         (fma_test_upward): Likewise.
55603 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
55605         [BZ #157]
55607         * include/stub-tag.h: Remove file.
55608         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
55609         '#include' of it.
55610         * manual/maint.texi (Porting): Don't reference it.
55611         * Makerules ($(objpfx)stubs): Likewise.
55612         * dirent/closedir.c: Don't include <stub-tag.h>.
55613         * dirent/dirfd.c: Likewise.
55614         * dirent/fdopendir.c: Likewise.
55615         * dirent/getdents.c: Likewise.
55616         * dirent/getdents64.c: Likewise.
55617         * dirent/opendir.c: Likewise.
55618         * dirent/readdir.c: Likewise.
55619         * dirent/readdir64.c: Likewise.
55620         * dirent/readdir64_r.c: Likewise.
55621         * dirent/readdir_r.c: Likewise.
55622         * dirent/rewinddir.c: Likewise.
55623         * dirent/seekdir.c: Likewise.
55624         * dirent/telldir.c: Likewise.
55625         * gmon/profil.c: Likewise.
55626         * grp/setgroups.c: Likewise.
55627         * inet/if_index.c: Likewise.
55628         * io/access.c: Likewise.
55629         * io/chdir.c: Likewise.
55630         * io/chmod.c: Likewise.
55631         * io/chown.c: Likewise.
55632         * io/close.c: Likewise.
55633         * io/dup.c: Likewise.
55634         * io/dup2.c: Likewise.
55635         * io/dup3.c: Likewise.
55636         * io/euidaccess.c: Likewise.
55637         * io/faccessat.c: Likewise.
55638         * io/fchdir.c: Likewise.
55639         * io/fchmod.c: Likewise.
55640         * io/fchmodat.c: Likewise.
55641         * io/fchown.c: Likewise.
55642         * io/fchownat.c: Likewise.
55643         * io/fcntl.c: Likewise.
55644         * io/flock.c: Likewise.
55645         * io/fstatfs.c: Likewise.
55646         * io/fstatfs64.c: Likewise.
55647         * io/fstatvfs.c: Likewise.
55648         * io/fstatvfs64.c: Likewise.
55649         * io/futimens.c: Likewise.
55650         * io/fxstat.c: Likewise.
55651         * io/fxstat64.c: Likewise.
55652         * io/fxstatat.c: Likewise.
55653         * io/fxstatat64.c: Likewise.
55654         * io/getcwd.c: Likewise.
55655         * io/isatty.c: Likewise.
55656         * io/lchmod.c: Likewise.
55657         * io/lchown.c: Likewise.
55658         * io/link.c: Likewise.
55659         * io/linkat.c: Likewise.
55660         * io/lseek.c: Likewise.
55661         * io/lseek64.c: Likewise.
55662         * io/lxstat64.c: Likewise.
55663         * io/mkdir.c: Likewise.
55664         * io/mkdirat.c: Likewise.
55665         * io/mkfifo.c: Likewise.
55666         * io/mkfifoat.c: Likewise.
55667         * io/open.c: Likewise.
55668         * io/open64.c: Likewise.
55669         * io/openat.c: Likewise.
55670         * io/openat64.c: Likewise.
55671         * io/pipe.c: Likewise.
55672         * io/pipe2.c: Likewise.
55673         * io/poll.c: Likewise.
55674         * io/posix_fadvise.c: Likewise.
55675         * io/posix_fadvise64.c: Likewise.
55676         * io/posix_fallocate.c: Likewise.
55677         * io/posix_fallocate64.c: Likewise.
55678         * io/read.c: Likewise.
55679         * io/readlink.c: Likewise.
55680         * io/readlinkat.c: Likewise.
55681         * io/rmdir.c: Likewise.
55682         * io/sendfile.c: Likewise.
55683         * io/sendfile64.c: Likewise.
55684         * io/statfs.c: Likewise.
55685         * io/statfs64.c: Likewise.
55686         * io/statvfs.c: Likewise.
55687         * io/statvfs64.c: Likewise.
55688         * io/symlink.c: Likewise.
55689         * io/symlinkat.c: Likewise.
55690         * io/ttyname.c: Likewise.
55691         * io/ttyname_r.c: Likewise.
55692         * io/umask.c: Likewise.
55693         * io/unlink.c: Likewise.
55694         * io/unlinkat.c: Likewise.
55695         * io/utime.c: Likewise.
55696         * io/utimensat.c: Likewise.
55697         * io/write.c: Likewise.
55698         * io/xmknod.c: Likewise.
55699         * io/xmknodat.c: Likewise.
55700         * io/xstat.c: Likewise.
55701         * io/xstat64.c: Likewise.
55702         * login/getpt.c: Likewise.
55703         * login/grantpt.c: Likewise.
55704         * login/unlockpt.c: Likewise.
55705         * math/e_acoshl.c: Likewise.
55706         * math/e_acosl.c: Likewise.
55707         * math/e_asinl.c: Likewise.
55708         * math/e_atan2l.c: Likewise.
55709         * math/e_atanhl.c: Likewise.
55710         * math/e_coshl.c: Likewise.
55711         * math/e_expl.c: Likewise.
55712         * math/e_fmodl.c: Likewise.
55713         * math/e_gammal_r.c: Likewise.
55714         * math/e_hypotl.c: Likewise.
55715         * math/e_j0l.c: Likewise.
55716         * math/e_j1l.c: Likewise.
55717         * math/e_jnl.c: Likewise.
55718         * math/e_lgammal_r.c: Likewise.
55719         * math/e_log10l.c: Likewise.
55720         * math/e_log2l.c: Likewise.
55721         * math/e_logl.c: Likewise.
55722         * math/e_powl.c: Likewise.
55723         * math/e_rem_pio2l.c: Likewise.
55724         * math/e_sinhl.c: Likewise.
55725         * math/e_sqrtl.c: Likewise.
55726         * math/fclrexcpt.c: Likewise.
55727         * math/fedisblxcpt.c: Likewise.
55728         * math/feenablxcpt.c: Likewise.
55729         * math/fegetenv.c: Likewise.
55730         * math/fegetexcept.c: Likewise.
55731         * math/fegetround.c: Likewise.
55732         * math/feholdexcpt.c: Likewise.
55733         * math/fesetenv.c: Likewise.
55734         * math/fesetround.c: Likewise.
55735         * math/feupdateenv.c: Likewise.
55736         * math/fgetexcptflg.c: Likewise.
55737         * math/fraiseexcpt.c: Likewise.
55738         * math/fsetexcptflg.c: Likewise.
55739         * math/ftestexcept.c: Likewise.
55740         * math/k_cosl.c: Likewise.
55741         * math/k_rem_pio2l.c: Likewise.
55742         * math/k_sinl.c: Likewise.
55743         * math/k_tanl.c: Likewise.
55744         * math/s_asinhl.c: Likewise.
55745         * math/s_atanl.c: Likewise.
55746         * math/s_cbrtl.c: Likewise.
55747         * math/s_erfl.c: Likewise.
55748         * math/s_expm1l.c: Likewise.
55749         * math/s_log1pl.c: Likewise.
55750         * math/s_tanhl.c: Likewise.
55751         * misc/acct.c: Likewise.
55752         * misc/brk.c: Likewise.
55753         * misc/chflags.c: Likewise.
55754         * misc/chroot.c: Likewise.
55755         * misc/fchflags.c: Likewise.
55756         * misc/fgetxattr.c: Likewise.
55757         * misc/flistxattr.c: Likewise.
55758         * misc/fremovexattr.c: Likewise.
55759         * misc/fsetxattr.c: Likewise.
55760         * misc/fsync.c: Likewise.
55761         * misc/ftruncate.c: Likewise.
55762         * misc/futimes.c: Likewise.
55763         * misc/futimesat.c: Likewise.
55764         * misc/getdomain.c: Likewise.
55765         * misc/getdtsz.c: Likewise.
55766         * misc/gethostid.c: Likewise.
55767         * misc/gethostname.c: Likewise.
55768         * misc/getloadavg.c: Likewise.
55769         * misc/getpagesize.c: Likewise.
55770         * misc/getsysstats.c: Likewise.
55771         * misc/getxattr.c: Likewise.
55772         * misc/gtty.c: Likewise.
55773         * misc/ioctl.c: Likewise.
55774         * misc/lgetxattr.c: Likewise.
55775         * misc/listxattr.c: Likewise.
55776         * misc/llistxattr.c: Likewise.
55777         * misc/lremovexattr.c: Likewise.
55778         * misc/lsetxattr.c: Likewise.
55779         * misc/lutimes.c: Likewise.
55780         * misc/madvise.c: Likewise.
55781         * misc/mincore.c: Likewise.
55782         * misc/mlock.c: Likewise.
55783         * misc/mlockall.c: Likewise.
55784         * misc/mmap.c: Likewise.
55785         * misc/mprotect.c: Likewise.
55786         * misc/msync.c: Likewise.
55787         * misc/munlock.c: Likewise.
55788         * misc/munlockall.c: Likewise.
55789         * misc/munmap.c: Likewise.
55790         * misc/preadv.c: Likewise.
55791         * misc/preadv64.c: Likewise.
55792         * misc/ptrace.c: Likewise.
55793         * misc/pwritev.c: Likewise.
55794         * misc/pwritev64.c: Likewise.
55795         * misc/readv.c: Likewise.
55796         * misc/reboot.c: Likewise.
55797         * misc/remap_file_pages.c: Likewise.
55798         * misc/removexattr.c: Likewise.
55799         * misc/revoke.c: Likewise.
55800         * misc/select.c: Likewise.
55801         * misc/setdomain.c: Likewise.
55802         * misc/setegid.c: Likewise.
55803         * misc/seteuid.c: Likewise.
55804         * misc/sethostid.c: Likewise.
55805         * misc/sethostname.c: Likewise.
55806         * misc/setregid.c: Likewise.
55807         * misc/setreuid.c: Likewise.
55808         * misc/setxattr.c: Likewise.
55809         * misc/sstk.c: Likewise.
55810         * misc/stty.c: Likewise.
55811         * misc/swapoff.c: Likewise.
55812         * misc/swapon.c: Likewise.
55813         * misc/sync.c: Likewise.
55814         * misc/syncfs.c: Likewise.
55815         * misc/syscall.c: Likewise.
55816         * misc/truncate.c: Likewise.
55817         * misc/ualarm.c: Likewise.
55818         * misc/usleep.c: Likewise.
55819         * misc/ustat.c: Likewise.
55820         * misc/utimes.c: Likewise.
55821         * misc/vhangup.c: Likewise.
55822         * misc/writev.c: Likewise.
55823         * posix/_exit.c: Likewise.
55824         * posix/alarm.c: Likewise.
55825         * posix/execve.c: Likewise.
55826         * posix/fexecve.c: Likewise.
55827         * posix/fork.c: Likewise.
55828         * posix/fpathconf.c: Likewise.
55829         * posix/getaddrinfo.c: Likewise.
55830         * posix/getegid.c: Likewise.
55831         * posix/geteuid.c: Likewise.
55832         * posix/getgid.c: Likewise.
55833         * posix/getgroups.c: Likewise.
55834         * posix/getlogin.c: Likewise.
55835         * posix/getlogin_r.c: Likewise.
55836         * posix/getpgid.c: Likewise.
55837         * posix/getpid.c: Likewise.
55838         * posix/getppid.c: Likewise.
55839         * posix/getresgid.c: Likewise.
55840         * posix/getresuid.c: Likewise.
55841         * posix/getsid.c: Likewise.
55842         * posix/getuid.c: Likewise.
55843         * posix/glob64.c: Likewise.
55844         * posix/nanosleep.c: Likewise.
55845         * posix/pathconf.c: Likewise.
55846         * posix/pause.c: Likewise.
55847         * posix/posix_madvise.c: Likewise.
55848         * posix/pread.c: Likewise.
55849         * posix/pread64.c: Likewise.
55850         * posix/pwrite.c: Likewise.
55851         * posix/pwrite64.c: Likewise.
55852         * posix/sched_getaffinity.c: Likewise.
55853         * posix/sched_getp.c: Likewise.
55854         * posix/sched_gets.c: Likewise.
55855         * posix/sched_primax.c: Likewise.
55856         * posix/sched_primin.c: Likewise.
55857         * posix/sched_rr_gi.c: Likewise.
55858         * posix/sched_setaffinity.c: Likewise.
55859         * posix/sched_setp.c: Likewise.
55860         * posix/sched_sets.c: Likewise.
55861         * posix/sched_yield.c: Likewise.
55862         * posix/setgid.c: Likewise.
55863         * posix/setlogin.c: Likewise.
55864         * posix/setpgid.c: Likewise.
55865         * posix/setresgid.c: Likewise.
55866         * posix/setresuid.c: Likewise.
55867         * posix/setsid.c: Likewise.
55868         * posix/setuid.c: Likewise.
55869         * posix/sleep.c: Likewise.
55870         * posix/spawni.c: Likewise.
55871         * posix/sysconf.c: Likewise.
55872         * posix/times.c: Likewise.
55873         * posix/wait.c: Likewise.
55874         * posix/wait3.c: Likewise.
55875         * posix/wait4.c: Likewise.
55876         * posix/waitpid.c: Likewise.
55877         * resolv/gai_sigqueue.c: Likewise.
55878         * resource/getpriority.c: Likewise.
55879         * resource/getrlimit.c: Likewise.
55880         * resource/getrusage.c: Likewise.
55881         * resource/nice.c: Likewise.
55882         * resource/setpriority.c: Likewise.
55883         * resource/setrlimit.c: Likewise.
55884         * resource/ulimit.c: Likewise.
55885         * rt/aio_cancel.c: Likewise.
55886         * rt/aio_fsync.c: Likewise.
55887         * rt/aio_read.c: Likewise.
55888         * rt/aio_sigqueue.c: Likewise.
55889         * rt/aio_suspend.c: Likewise.
55890         * rt/aio_write.c: Likewise.
55891         * rt/clock_getres.c: Likewise.
55892         * rt/clock_gettime.c: Likewise.
55893         * rt/clock_nanosleep.c: Likewise.
55894         * rt/clock_settime.c: Likewise.
55895         * rt/lio_listio.c: Likewise.
55896         * rt/mq_close.c: Likewise.
55897         * rt/mq_getattr.c: Likewise.
55898         * rt/mq_notify.c: Likewise.
55899         * rt/mq_open.c: Likewise.
55900         * rt/mq_receive.c: Likewise.
55901         * rt/mq_send.c: Likewise.
55902         * rt/mq_setattr.c: Likewise.
55903         * rt/mq_timedreceive.c: Likewise.
55904         * rt/mq_timedsend.c: Likewise.
55905         * rt/mq_unlink.c: Likewise.
55906         * rt/shm_open.c: Likewise.
55907         * rt/shm_unlink.c: Likewise.
55908         * rt/timer_create.c: Likewise.
55909         * rt/timer_delete.c: Likewise.
55910         * rt/timer_getoverr.c: Likewise.
55911         * rt/timer_gettime.c: Likewise.
55912         * rt/timer_settime.c: Likewise.
55913         * setjmp/__longjmp.c: Likewise.
55914         * setjmp/setjmp.c: Likewise.
55915         * signal/kill.c: Likewise.
55916         * signal/killpg.c: Likewise.
55917         * signal/raise.c: Likewise.
55918         * signal/sigaction.c: Likewise.
55919         * signal/sigaltstack.c: Likewise.
55920         * signal/sigblock.c: Likewise.
55921         * signal/sigignore.c: Likewise.
55922         * signal/sigintr.c: Likewise.
55923         * signal/signal.c: Likewise.
55924         * signal/sigpause.c: Likewise.
55925         * signal/sigpending.c: Likewise.
55926         * signal/sigqueue.c: Likewise.
55927         * signal/sigreturn.c: Likewise.
55928         * signal/sigset.c: Likewise.
55929         * signal/sigsetmask.c: Likewise.
55930         * signal/sigstack.c: Likewise.
55931         * signal/sigsuspend.c: Likewise.
55932         * signal/sigtimedwait.c: Likewise.
55933         * signal/sigvec.c: Likewise.
55934         * signal/sigwait.c: Likewise.
55935         * signal/sigwaitinfo.c: Likewise.
55936         * signal/sysv_signal.c: Likewise.
55937         * socket/accept.c: Likewise.
55938         * socket/accept4.c: Likewise.
55939         * socket/bind.c: Likewise.
55940         * socket/connect.c: Likewise.
55941         * socket/getpeername.c: Likewise.
55942         * socket/getsockname.c: Likewise.
55943         * socket/getsockopt.c: Likewise.
55944         * socket/isfdtype.c: Likewise.
55945         * socket/listen.c: Likewise.
55946         * socket/recv.c: Likewise.
55947         * socket/recvfrom.c: Likewise.
55948         * socket/recvmsg.c: Likewise.
55949         * socket/send.c: Likewise.
55950         * socket/sendmsg.c: Likewise.
55951         * socket/sendto.c: Likewise.
55952         * socket/setsockopt.c: Likewise.
55953         * socket/shutdown.c: Likewise.
55954         * socket/sockatmark.c: Likewise.
55955         * socket/socket.c: Likewise.
55956         * socket/socketpair.c: Likewise.
55957         * stdio-common/ctermid.c: Likewise.
55958         * stdio-common/cuserid.c: Likewise.
55959         * stdio-common/remove.c: Likewise.
55960         * stdio-common/rename.c: Likewise.
55961         * stdio-common/renameat.c: Likewise.
55962         * stdio-common/tempname.c: Likewise.
55963         * stdlib/getcontext.c: Likewise.
55964         * stdlib/makecontext.c: Likewise.
55965         * stdlib/setcontext.c: Likewise.
55966         * stdlib/swapcontext.c: Likewise.
55967         * stdlib/system.c: Likewise.
55968         * streams/fattach.c: Likewise.
55969         * streams/fdetach.c: Likewise.
55970         * streams/getmsg.c: Likewise.
55971         * streams/getpmsg.c: Likewise.
55972         * streams/putmsg.c: Likewise.
55973         * streams/putpmsg.c: Likewise.
55974         * sysdeps/unix/bsd/getpt.c: Likewise.
55975         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
55976         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
55977         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
55978         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
55979         Likewise.
55980         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
55981         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
55982         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
55983         * sysvipc/msgctl.c: Likewise.
55984         * sysvipc/msgget.c: Likewise.
55985         * sysvipc/msgrcv.c: Likewise.
55986         * sysvipc/msgsnd.c: Likewise.
55987         * sysvipc/semctl.c: Likewise.
55988         * sysvipc/semget.c: Likewise.
55989         * sysvipc/semop.c: Likewise.
55990         * sysvipc/semtimedop.c: Likewise.
55991         * sysvipc/shmat.c: Likewise.
55992         * sysvipc/shmctl.c: Likewise.
55993         * sysvipc/shmdt.c: Likewise.
55994         * sysvipc/shmget.c: Likewise.
55995         * termios/tcdrain.c: Likewise.
55996         * termios/tcflow.c: Likewise.
55997         * termios/tcflush.c: Likewise.
55998         * termios/tcgetattr.c: Likewise.
55999         * termios/tcgetpgrp.c: Likewise.
56000         * termios/tcsendbrk.c: Likewise.
56001         * termios/tcsetattr.c: Likewise.
56002         * termios/tcsetpgrp.c: Likewise.
56003         * time/adjtime.c: Likewise.
56004         * time/clock.c: Likewise.
56005         * time/getitimer.c: Likewise.
56006         * time/gettimeofday.c: Likewise.
56007         * time/setitimer.c: Likewise.
56008         * time/settimeofday.c: Likewise.
56009         * time/stime.c: Likewise.
56010         * time/time.c: Likewise.
56012 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
56014         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
56015         /usr/old/bin.
56017         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
56018         instead of spaces.
56019         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
56021 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
56023         [BZ #14796]
56024         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
56025         FE_TONEAREST before applying Dekker multiplication and Knuth
56026         addition.  Clear inexact exceptions and check for exact zero
56027         results afterwards.
56028         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
56029         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
56030         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
56031         * math/libm-test.inc (fma_test): Add more tests.
56032         (fma_test_towardzero): Likewise.
56033         (fma_test_downward): Likewise.
56034         (fma_test_upward): Likewise.
56035         * sysdeps/generic/math_private.h (default_libc_fesetround): New
56036         function.
56037         (libc_fesetround): New macro.
56038         (libc_fesetroundf): Likewise.
56039         (libc_fesetroundl): Likewise.
56040         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
56041         function.
56042         (libc_fesetround_387): Likewise.
56043         (libc_fesetroundf): New macro.
56044         (libc_fesetround): Likewise.
56045         (libc_fesetroundl): Likewise.
56046         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
56047         function.
56048         (libc_fesetroundf): New macro.
56049         (libc_fesetround): Likewise.
56050         (libc_fesetroundl): Likewise.
56051         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
56052         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
56053         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
56054         libm_hidden_ver.
56055         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
56056         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
56057         libm_hidden_def.
56058         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
56059         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
56060         libm_hidden_ver.
56061         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
56062         libm_hidden_def.
56064         [BZ #3439]
56065         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
56066         integer constant usable in #if and use that to give value to enum
56067         constant.
56068         (FE_DIVBYZERO): Likewise.
56069         (FE_UNDERFLOW): Likewise.
56070         (FE_OVERFLOW): Likewise.
56071         (FE_INVALID): Likewise.
56072         (FE_INVALID_SNAN): Likewise.
56073         (FE_INVALID_ISI): Likewise.
56074         (FE_INVALID_IDI): Likewise.
56075         (FE_INVALID_ZDZ): Likewise.
56076         (FE_INVALID_IMZ): Likewise.
56077         (FE_INVALID_COMPARE): Likewise.
56078         (FE_INVALID_SOFTWARE): Likewise.
56079         (FE_INVALID_SQRT): Likewise.
56080         (FE_INVALID_INTEGER_CONVERSION): Likewise.
56081         (FE_TONEAREST): Likewise.
56082         (FE_TOWARDZERO): Likewise.
56083         (FE_UPWARD): Likewise.
56084         (FE_DOWNWARD): Likewise.
56085         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
56086         (FE_DIVBYZERO): Likewise.
56087         (FE_OVERFLOW): Likewise.
56088         (FE_UNDERFLOW): Likewise.
56089         (FE_INEXACT): Likewise.
56090         (FE_TONEAREST): Likewise.
56091         (FE_DOWNWARD): Likewise.
56092         (FE_UPWARD): Likewise.
56093         (FE_TOWARDZERO): Likewise.
56094         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
56095         (FE_UNDERFLOW): Likewise.
56096         (FE_OVERFLOW): Likewise.
56097         (FE_DIVBYZERO): Likewise.
56098         (FE_INVALID): Likewise.
56099         (FE_TONEAREST): Likewise.
56100         (FE_TOWARDZERO): Likewise.
56101         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
56102         (FE_OVERFLOW): Likewise.
56103         (FE_UNDERFLOW): Likewise.
56104         (FE_DIVBYZERO): Likewise.
56105         (FE_INEXACT): Likewise.
56106         (FE_TONEAREST): Likewise.
56107         (FE_TOWARDZERO): Likewise.
56108         (FE_UPWARD): Likewise.
56109         (FE_DOWNWARD): Likewise.
56110         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
56111         (FE_DIVBYZERO): Likewise.
56112         (FE_OVERFLOW): Likewise.
56113         (FE_UNDERFLOW): Likewise.
56114         (FE_INEXACT): Likewise.
56115         (FE_TONEAREST): Likewise.
56116         (FE_DOWNWARD): Likewise.
56117         (FE_UPWARD): Likewise.
56118         (FE_TOWARDZERO): Likewise.
56120 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
56122         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
56124 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
56126         * scripts/cross-test-ssh.sh (command): Use newlines to separate
56127         commands.  Quote $PWD.
56128         (blacklist_exports): Don't use remove_newlines.  Replace "declare
56129         -x" by "export".
56130         (remove_newlines): Remove.
56132 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
56134         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
56135         * stdlib/stdlib.h (atof): Moved to ...
56136         * include/bits/stdlib-float.h: Here.  New file.
56137         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
56138         * stdlib/bits/stdlib-float.h: New file.
56139         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
56140         -mno-sse -mno-mmx.
56141         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
56142         <xmmintrin.h>.
56144 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
56146         * conform/conformtest.pl (@headers): Add fenv.h.
56147         * conform/data/fenv.h-data: New file.
56148         * include/fenv.h [_ISOMAC]: Disable all contents of file except
56149         include of <math/fenv.h>.
56151         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
56152         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
56153         && !UNIX98].  Enables tests for XOPEN2K8.
56154         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
56155         POSIX2008]: Likewise.
56157         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
56158         (struct rusage): Do not expect type or its members.
56160         [BZ #3439]
56161         * math/math.h (FP_NAN): Define macro to integer constant usable in
56162         #if and use that to give value to enum constant.
56163         (FP_INFINITE): Likewise.
56164         (FP_ZERO): Likewise.
56165         (FP_SUBNORMAL): Likewise.
56166         (FP_NORMAL): Likewise.
56168 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
56170         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
56171         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
56172         arguments.
56174 2012-11-02  Roland McGrath  <roland@hack.frob.com>
56176         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
56177         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
56178         autoconf-time if not.
56179         * configure.in: Remove AC_PREREQ.
56181 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
56183         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
56184         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
56185         of the internal implementation.
56187 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
56189         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
56190         except include of <misc/sys/syslog.h>.
56192 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
56194         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
56195         function returns with a NULL context exit with zero.
56197 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
56199         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
56201 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
56203         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
56204         (run_program_cmd): This.
56205         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
56206         (tst_langinfo): New variable.  Use it.
56208 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
56210         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
56211         floating point opcodes.
56213 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
56215         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
56216         variable.
56218         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
56220         * sysdeps/mach/hurd/powerpc: Remove directory.
56221         * sysdeps/mach/powerpc: Likewise.
56223 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
56225         * scripts/check-local-headers.sh: Ignore c++ headers.
56227 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
56229         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
56230         __libc_cleanup_region_start argument.
56232 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
56234         [BZ #14784]
56235         [BZ #14785]
56236         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
56237         x * y using scaling, not as x * y + z.
56238         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
56239         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
56240         * math/libm-test.inc (fma_test): Add more tests.
56241         (fma_test_towardzero): Likewise.
56242         (fma_test_downward): Likewise.
56243         (fma_test_upward): Likewise.
56245 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
56247         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
56249 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
56251         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
56252         New variable.
56254 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
56256         * rt/tst-shm.c (worker): Correct checking for mmap failure.
56258 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
56260         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
56261         Fix sort order.
56262         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
56263         Likewise.
56265 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
56267         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
56268         Fix the order of the list for glibc 2.17.
56269         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
56270         Likewise.
56272 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
56274         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
56276 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
56278         [BZ #14610]
56279         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
56280         for low part of x being zero before using __atanl (y).
56281         * math/libm-test.inc (atan2_test): Add another test.
56283         * manual/install.texi (Configuring and compiling): Document
56284         general use of test-wrapper and test-wrapper-env.
56285         * INSTALL: Regenerated.
56287         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
56288         (__fma): Do not extract and scale down low bits on after-rounding
56289         systems when result rounded to normal precision would have normal
56290         exponent.
56291         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
56292         (__fmal): Do not extract and scale down low bits on after-rounding
56293         systems when result rounded to normal precision would have normal
56294         exponent.
56295         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
56296         (__fmal): Do not extract and scale down low bits on after-rounding
56297         systems when result rounded to normal precision would have normal
56298         exponent.
56299         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
56300         macro.
56301         (fma_test): Add more tests.
56302         (fma_test_towardzero): Likewise.
56303         (fma_test_downward): Likewise.
56304         (fma_test_upward): Likewise.
56306 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
56308         * sysdeps/i386/tininess.h: Renamed to ...
56309         * sysdeps/x86/tininess.h: This.
56310         * sysdeps/x86_64/tininess.h: Removed.
56312 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
56314         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
56315         input.  Use $(build-program-cmd).
56316         ($(objpfx)tst-array1-static.out): Likewise.
56317         ($(objpfx)tst-array2.out): Likewise.
56318         ($(objpfx)tst-array3.out): Likewise.
56319         ($(objpfx)tst-array4.out): Likewise.
56320         ($(objpfx)tst-array5.out): Likewise.
56321         ($(objpfx)tst-array5-static.out): Likewise.
56323 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
56325         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
56326         if defined.
56328         * nss/nsswitch.h (nss_interface_function): Provide new
56329         macro for use with NSS functions.
56330         * grp/initgroups.c: Use new macro.
56331         * nss/getXXbyYY.c: Likewise.
56332         * nss/getXXbyYY_r.c: Likewise.
56333         * nss/getXXent.c: Likewise.
56334         * nss/getXXent_r.c: Likewise.
56335         * sysdeps/posix/getaddrinfo.c: Likewise.
56337 2012-10-30  Andreas Jaeger  <aj@suse.de>
56339         * po/ru.po: Update Russion translation from translation project.
56341 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
56343         [BZ #14152]
56344         [BZ #14783]
56345         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
56346         result and shift together with sticky bit instead of replicating
56347         round-to-nearest rounding.
56348         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
56349         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
56350         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
56351         missing underflow exceptions.
56352         (fma_test_towardzero): Add more tests.
56353         (fma_test_downward): Likewise.
56354         (fma_test_upward): Likewise.
56356         [BZ #14047]
56357         * sysdeps/generic/tininess.h: New file.
56358         * sysdeps/i386/tininess.h: Likewise.
56359         * sysdeps/sh/tininess.h: Likewise.
56360         * sysdeps/x86_64/tininess.h: Likewise.
56361         * stdlib/tst-strtod-underflow.c: Likewise.
56362         * stdlib/tst-tininess.c: Likewise.
56363         * stdlib/strtod_l.c: Include <tininess.h>.
56364         (round_and_return): Do not set errno for exact underflow cases.
56365         Force an underflow exception when setting errno for underflow.
56366         Determine underflow based on rounding to normal precision if
56367         TININESS_AFTER_ROUNDING.
56368         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
56369         ERANGE for exact underflow cases.
56370         * stdlib/Makefile (tests): Add tst-tininess and
56371         tst-strtod-underflow.
56372         ($(objpfx)tst-tininess): Use $(link-libm).
56373         ($(objpfx)tst-strtod-underflow): Likewise.
56375 2012-10-30  Andreas Jaeger  <aj@suse.de>
56377         [BZ#14767]
56378         * elf/Makefile (tests): Remove conditional for have-initfini-array
56379         since this is now always required and the variable does not exist
56380         anymore.
56381         (tests-static): Likewise.
56382         (modules-names): Likewise.
56384         * po/eo.po: Add Esperanto translation from translation project.
56386         * elf/tst-array1.c (fini_array): Make writeable so that it can be
56387         merged with constructor/destructor.
56388         (init_array): Likewise.
56389         * elf/tst-array2dep.c (fini_array): Likewise.
56390         (init_array): Likewise.
56392 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
56394         * manual/message.texi: Delete @cartouche tags.
56396 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
56398         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
56399         EOPNOTSUPP.
56400         * sysdeps/mach/hurd/fsync.c: Likewise.
56402         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
56403         [_POSIX_REALTIME_SIGNALS]: Change condition to
56404         [_POSIX_REALTIME_SIGNALS > 0].
56406 2012-10-27  Andreas Jaeger  <aj@suse.de>
56408         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
56409         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
56410         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
56411         [__WORDSIZE != 64]: Likewise.
56413 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
56415         *  iconvdata/tst-table.sh: Remove ${SHELL}.
56416         *  iconvdata/tst-tables.sh: Likewise.
56418 2012-10-25  David S. Miller  <davem@davemloft.net>
56420         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
56421         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
56422         of strtoull.
56424         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
56425         ifunc-impl-list.c
56426         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
56427         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
56428         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
56429         file.
56431 2012-10-25  Roland McGrath  <roland@hack.frob.com>
56433         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
56434         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
56435         __getdirentries.
56437 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
56438             Jim Blandy  <jimb@codesourcery.com>
56440         * scripts/cross-test-ssh.sh: New file.
56441         * manual/install.texi (Configuring and compiling): Document use of
56442         cross-test-ssh.sh.
56443         * INSTALL: Regenerated.
56445 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
56447         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
56448         EOPNOTSUPP.
56450 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
56452         * Makeconfig (run-program-prefix): Fix comment.
56454 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
56455             Jim Blandy  <jimb@codesourcery.com>
56457         * Makeconfig (test-wrapper): New variable,
56458         (test-wrapper-env): Likewise.
56459         [$(cross-compiling) = yes && $(test-wrapper) != ""]
56460         (run-built-tests): Define to yes.
56461         (run-program-prefix): Use $(test-wrapper).
56462         (built-program-cmd): Likewise.
56463         * Rules (make-test-out): Use $(test-wrapper-env) and
56464         $(host-built-program-cmd).
56465         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
56466         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
56467         tst-pathopt.sh.
56468         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
56469         $(test-wrapper-env) to tst-rtld-load-self.sh.
56470         ($(objpfx)order2.out): Use $(test-wrapper).
56471         ($(objpfx)tst-initorder.out): Likewise.
56472         ($(objpfx)tst-initorder2.out): Likewise.
56473         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
56474         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
56475         (test_wrapper_env): New variable.  Use it to run ld.so.
56476         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
56477         Use it to run ld.so.
56478         (test_wrapper_env): Likewise.
56479         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
56480         $(test-wrapper) to run-iconv-test.sh.
56481         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
56482         (ICONV): Use $test_wrapper.
56483         * posix/Makefile ($(objpfx)globtest.out): Pass
56484         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
56485         globtest.sh, not $(run-program-prefix).
56486         * posix/globtest.sh (run_via_rtld_prefix): New variable.
56487         (test_wrapper): Likewise.
56488         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
56489         set together with run_via_rtld_prefix.
56490         (run_program_prefix): Define in terms of test_wrapper and
56491         run_via_rtld_prefix.
56493 2012-10-24  Roland McGrath  <roland@hack.frob.com>
56495         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
56496         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
56497         Targets removed.
56499         [BZ #14743]
56500         * include/time.h: Remove librt_hidden_proto (clock_gettime).
56501         Declare __clock_getres, __clock_gettime, __clock_settime,
56502         __clock_nanosleep, and __clock_getcpuclockid.
56503         * rt/clock_gettime.c: Define __clock_gettime as an alias.
56504         Remove librt_hidden_def (clock_gettime).
56505         * sysdeps/unix/clock_gettime.c: Likewise.
56506         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
56507         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
56508         * rt/clock_getres.c: Define __clock_getres as an alias.
56509         * sysdeps/posix/clock_getres.c: Likewise.
56510         * rt/clock_settime.c: Define __clock_settime as an alias.
56511         * sysdeps/unix/clock_settime.c: Likewise.
56512         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
56513         * sysdeps/unix/clock_nanosleep.c: Likewise.
56514         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
56515         * rt/clock-compat.c: New file.
56516         * rt/Makefile (librt-routines): Add clock-compat and move
56517         $(clock-routines) to ...
56518         (routines): ... here, new variable.
56519         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
56520         Don't add get_clockfreq here.
56521         * rt/Versions (libc: GLIBC_2.17): New version set.
56522         Add clock_* symbols here.
56523         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
56524         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
56525         (GLIBC_2.17): Add clock_* symbols.
56526         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
56527         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
56528         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
56529         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
56530         Likewise.
56531         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
56532         Likewise.
56533         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
56534         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
56535         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
56536         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
56537         * NEWS: Mention the move.
56539         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
56540         Use __open, __read, __close rather than their public counterparts.
56541         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
56542         (__get_clockfreq_via_cpuinfo): Likewise.
56543         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
56544         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
56546         * config.h.in (HAVE_IFUNC): New #undef.
56547         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
56548         was successful.
56549         * configure: Regenerated.
56551 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
56553         * configure.in: Move READELF check to start of file.
56554         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
56555         libc_cv_asm_gnu_indirect_function in the process.
56556         * configure: Regenerated.
56558 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
56560         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
56561         send the output to /dev/null.
56562         (libc_cv_cc_with_libunwind): Likewise.
56563         (libc_cv_as_noexecstack): Likewise.
56564         * configure: Regenerate.
56566 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
56568         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
56570         * posix/globtest.sh (TMPDIR): Do not set.
56571         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
56572         (testout): Likewise.
56574 2012-10-24  Andreas Jaeger  <aj@suse.de>
56576         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
56577         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
56578         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
56579         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
56580         posix_fadvise64, posix_fallocate64.
56582         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
56583         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
56584         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
56585         Likewise.
56586         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
56587         Likewise.
56588         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
56590         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
56591         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
56592         <bits/fcntl-linux.h>.
56593         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
56595         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
56596         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
56597         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
56598         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
56599         [__WORDSIZE != 64]: Likewise.
56601 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
56603         * Makeconfig (run-built-tests): New variable.
56604         * Rules [$(cross-compiling) = yes]: Change condition to
56605         [$(run-built-tests) = no].
56606         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
56607         to [$(run-built-tests) = yes].
56608         * elf/Makefile [$(cross-compiling) = no]: Likewise.
56609         * grp/Makefile [$(cross-compiling) = no]: Likewise.
56610         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
56611         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
56612         * intl/Makefile [$(cross-compiling) = no]: Likewise.
56613         * io/Makefile [$(cross-compiling) = no]: Likewise.
56614         * libio/Makefile [$(cross-compiling) = no]: Likewise.
56615         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
56616         * misc/Makefile [$(cross-compiling) = no]: Likewise.
56617         * posix/Makefile [$(cross-compiling) = no]: Likewise.
56618         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
56619         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
56620         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
56621         * string/Makefile [$(cross-compiling) = no]: Likewise.
56623         * posix/Makefile ($(objpfx)globtest.out): Pass
56624         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
56625         $(rtld-installed-name).
56626         * posix/globtest.sh (elf_objpfx): Remove variable.
56627         (rtld_installed_name): Likewise.
56628         (library_path): Likewise.
56629         (run_program_prefix): New variable.  Use for running globtest
56630         binary.
56632 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
56633             Joseph Myers  <joseph@codesourcery.com>
56635         * Makeconfig (host-built-program-cmd): New variable.
56636         * elf/Makefile (tst-stackguard1-ARGS): Use
56637         $(host-built-program-cmd).
56638         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
56639         (tst-spawn-ARGS): Likewise.
56640         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
56642 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
56643             Jim Blandy  <jimb@codesourcery.com>
56645         * Makeconfig (run-via-rtld-prefix): New variable.
56646         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
56647         (built-program-cmd): Likewise.
56649 2012-10-22  Andreas Jaeger  <aj@suse.de>
56651         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
56652         __O_RSYNC if it exists, otherwise to O_SYNC.
56654 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
56655             Joseph Myers  <joseph@codesourcery.com>
56657         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
56658         /dev/null.
56659         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
56660         from /dev/null
56661         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
56662         /dev/null.
56664 2012-10-22  Andreas Jaeger  <aj@suse.de>
56666         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
56667         Define always.
56668         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
56670         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
56671         bits/fcntl-linux.h.
56673         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
56674         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
56676         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
56677         to __O_LARGEFILE.
56678         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
56679         to __O_LARGEFILE.
56681 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
56682             Joseph Myers  <joseph@codesourcery.com>
56684         * config.make.in (NM): New variable.
56686 2012-10-21  Andreas Jaeger  <aj@suse.de>
56688         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
56689         definitions and declarations that are provided by
56690         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
56692 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
56694         [BZ #14683]
56695         * elf/Makefile (tests-static): Add tst-leaks1-static.
56696         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
56697         ($(objpfx)tst-leaks1-static): New rule.
56698         ($(objpfx)tst-leaks1-static-mem): Likewise.
56699         (tst-leaks1-static-ENV): New macro.
56700         * elf/dl-open.c (dl_open_worker): Check the main application
56701         only if SHARED is defined.
56702         * elf/tst-leaks1-static.c: New file.
56704 2012-10-20  Andreas Jaeger  <aj@suse.de>
56706         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
56707         generic values for Linux.
56708         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
56709         and declarations that are provided by <bits/fcntl-linux.h> and
56710         include <bits/fcntl-linux.h>.
56711         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
56712         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
56714 2012-10-20  Roland McGrath  <roland@hack.frob.com>
56716         * io/fcntl.h: Move include of <bits/types.h> to the top and
56717         include it unconditionally.
56719 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
56721         * wcsmbs/Makefile (tests-ifunc): New variable.
56722         (tests): Add $(tests-ifunc).
56723         * wcsmbs/test-wcschr-ifunc.c: New file.
56724         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
56725         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
56726         * wcsmbs/test-wcslen-ifunc.c: Likewise.
56727         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
56728         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
56730         * string/Makefile (tests-ifunc): New variable.
56731         (tests): Add $(tests-ifunc).
56732         * string/test-memccpy.c (TEST_NAME): New macro.
56733         * string/test-memchr.c (TEST_NAME): Likewise.
56734         * string/test-memcmp.c (TEST_NAME): Likewise.
56735         * string/test-memcpy.c (TEST_NAME): Likewise.
56736         * string/test-memmem.c (TEST_NAME): Likewise.
56737         * string/test-memmove.c (TEST_NAME): Likewise.
56738         * string/test-memset.c (TEST_NAME): Likewise.
56739         * string/test-rawmemchr.c (TEST_NAME): Likewise.
56740         * string/test-stpcpy.c (TEST_NAME): Likewise.
56741         * string/test-stpncpy.c (TEST_NAME): Likewise.
56742         * string/test-strcasecmp.c (TEST_NAME): Likewise.
56743         * string/test-strcasestr.c (TEST_NAME): Likewise.
56744         * string/test-strcat.c (TEST_NAME): Likewise.
56745         * string/test-strchr.c (TEST_NAME): Likewise.
56746         * string/test-strcmp.c(TEST_NAME): Likewise.
56747         * string/test-strcpy.c (TEST_NAME): Likewise.
56748         * string/test-strcspn.c (TEST_NAME): Likewise.
56749         * string/test-strlen.c (TEST_NAME): Likewise.
56750         * string/test-strncasecmp.c (TEST_NAME): Likewise.
56751         * string/test-strncmp.c (TEST_NAME): Likewise.
56752         * string/test-strncpy.c (TEST_NAME): Likewise.
56753         * string/test-strnlen.c (TEST_NAME): Likewise.
56754         * string/test-strpbrk.c (TEST_NAME): Likewise.
56755         * string/test-strrchr.c (TEST_NAME): Likewise.
56756         * string/test-strspn.c (TEST_NAME): Likewise.
56757         * string/test-strstr.c (TEST_NAME): Likewise.
56758         * string/test-bcopy-ifunc.c: New file.
56759         * string/test-bzero-ifunc.c: Likewise.
56760         * string/test-memccpy-ifunc.c: Likewise.
56761         * string/test-memchr-ifunc.c: Likewise.
56762         * string/test-memcmp-ifunc.c: Likewise.
56763         * string/test-memcpy-ifunc.c: Likewise.
56764         * string/test-memmem-ifunc.c: Likewise.
56765         * string/test-memmove-ifunc.c: Likewise.
56766         * string/test-mempcpy-ifunc.c: Likewise.
56767         * string/test-memset-ifunc.c: Likewise.
56768         * string/test-rawmemchr-ifunc.c: Likewise.
56769         * string/test-stpcpy-ifunc.c: Likewise.
56770         * string/test-stpncpy-ifunc.c: Likewise.
56771         * string/test-strcasecmp-ifunc.c: Likewise.
56772         * string/test-strcasestr-ifunc.c: Likewise.
56773         * string/test-strcat-ifunc.c: Likewise.
56774         * string/test-strchr-ifunc.c: Likewise.
56775         * string/test-strchrnul-ifunc.c: Likewise.
56776         * string/test-strcmp-ifunc.c: Likewise.
56777         * string/test-strcpy-ifunc.c: Likewise.
56778         * string/test-strcspn-ifunc.c: Likewise.
56779         * string/test-strlen-ifunc.c: Likewise.
56780         * string/test-strncasecmp-ifunc.c: Likewise.
56781         * string/test-strncat-ifunc.c: Likewise.
56782         * string/test-strncmp-ifunc.c: Likewise.
56783         * string/test-strncpy-ifunc.c: Likewise.
56784         * string/test-strnlen-ifunc.c: Likewise.
56785         * string/test-strpbrk-ifunc.c: Likewise.
56786         * string/test-strrchr-ifunc.c: Likewise.
56787         * string/test-strspn-ifunc.c: Likewise.
56788         * string/test-strstr-ifunc.c: Likewise.
56790         * debug/Makefile (tests-ifunc): New variable.
56791         (tests): Add $(tests-ifunc).
56792         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
56793         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
56794         * debug/test-stpcpy_chk-ifunc.c: New file.
56795         * debug/test-strcpy_chk-ifunc.c: Likewise.
56797 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
56799         [BZ #13601]
56800         * elf/dl-load.c (open_verify): Retry read if the entire ELF
56801         header is not read in.
56803 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
56805         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
56806         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
56807         directly.  Pass built executable to script as
56808         $(built-program-cmd).
56809         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
56810         $testprogram without using LD_LIBRARY_PATH and $ldso.
56812         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
56813         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
56814         $(rtld-installed-name).
56815         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
56816         (rtld_installed_name): Likewise.
56817         (library_path): Likewise.
56818         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
56819         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
56820         $(run-program-prefix) to tst-tables.sh.
56821         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
56822         it to run tst-table-from and tst-table-to.
56823         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
56824         Pass it to tst-table.sh.
56825         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
56826         $(run-program-prefix) to tst-gettext.sh.
56827         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
56828         tst-translit.sh.
56829         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
56830         tst-gettext2.sh.
56831         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
56832         to run tst-gettext.
56833         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
56834         to run tst-gettext2.
56835         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
56836         to run tst-translit.
56837         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
56838         $(run-program-prefix) to tst-mtrace.sh.
56839         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
56840         to run tst-mtrace.
56841         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
56842         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
56843         $(rtld-installed-name).
56844         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
56845         (rtld_installed_name): Likewise.
56846         (run_program_prefix): New variable.  Use it to run wordexp-test.
56848         * Makeconfig (ARCH): Remove all definitions.
56849         (machine): Likewise.
56850         [ARCH]: Remove conditional code.
56851         [!objdir]: Give error.
56852         [!objdir] (objpfx): Remove.
56853         [!objdir] (common-objpfx): Likewise.
56854         [!objdir] (common-objdir): Likewise.
56855         * configure.in (config_makefile): Remove.  Hardcode Makefile in
56856         AC_CONFIG_FILES call.
56857         * configure: Regenerated.
56859         [BZ #13888]
56860         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
56861         or TMPDIR.
56862         (testout): Likewise.
56864         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
56865         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
56866         $(rtld-installed-name).
56867         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
56868         (rtld_installed_name): Likwise.
56869         (runit): Remove function.
56870         (run_getconf): New variable,  Use it for running getconf binary.
56872 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
56874         [BZ #14716]
56875         * string/test-memmem.c (check_result): New function.
56876         (do_one_test): Use it.
56877         (check1): New function.
56878         (test_main): Use it.
56880 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
56882         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
56884 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
56886         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
56887         (_G_LSEEK64): Likewise.
56888         (_G_MMAP64): Likewise.
56889         (_G_FSTAT64): Likewise.
56890         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
56891         (_G_LSEEK64): Likewise.
56892         (_G_MMAP64): Likewise.
56893         (_G_FSTAT64): Likewise.
56894         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
56895         unconditional.  Call __mmap64 directly.
56896         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
56897         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
56898         __lseek64 directly.
56899         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
56900         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
56901         __mmap64 directly.
56902         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
56903         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
56904         __lseek64 directly.
56905         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
56906         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
56907         __lseek64 directly.
56908         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
56909         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
56910         __lseek64 directly.
56911         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
56912         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
56913         __fxstat64 directly.
56914         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
56915         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
56916         unconditional.
56917         (freopen64) [!_G_OPEN64]: Remove conditional code.
56918         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
56919         unconditional.
56920         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
56921         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
56922         unconditional.
56923         (ftello64) [!_G_LSEEK64]: Remove conditional code.
56924         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
56925         unconditional.
56926         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
56927         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
56928         unconditional.
56929         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
56930         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
56931         unconditional.
56932         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
56933         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
56934         unconditional.
56935         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
56936         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
56937         unconditional.
56938         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
56940 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
56942         [BZ #12140]
56943         * manual/memory.texi (Malloc Tunable Parameters): Add note
56944         about free list pointers overwriting some perturb bytes.
56945         Wording suggested by Roland McGrath.
56947 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
56949         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
56950         (lgamma_test): Likewise.
56951         (tgamma_test): Likewise.
56953 2012-10-16  Florian Weimer  <fweimer@redhat.com>
56955         [BZ #14700]
56956         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
56957         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
56959 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
56961         * NEWS: Mention BZ #14716.
56962         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
56963         when removing AVAILABLE1_USES_J macro.
56965 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
56967         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
56968         (__bswap_64): __uint64_t for unsigned 64-bit int.
56970 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
56972         * include/string.h (memmem): Declare libc hidden alias.
56973         * string/memmem.c (memmem): Define libc hidden alias.
56974         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
56975         __read, __close instead of open, read, close.
56977 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
56979         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
56980         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
56981         global and hidden.
56982         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
56983         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
56984         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
56985         Likewise.
56986         (__rawmemchr_sse2): Likewise.
56987         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
56988         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
56989         (__strchr_sse2): Likewise.
56990         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
56991         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
56992         (__strcasecmp_sse2): Likewise.
56993         (__strncasecmp_sse2): Likewise.
56994         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
56995         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
56996         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
56997         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
56998         (__strrchr_sse2): Likewise.
56999         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
57000         ifunc-impl-list.c.
57001         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
57002         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
57003         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
57004         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
57005         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
57006         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
57007         * sysdeps/x86_64/multiarch/memset.S: Likewise.
57008         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
57009         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
57010         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
57011         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
57012         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
57013         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
57014         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
57015         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
57016         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
57017         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
57018         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
57019         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
57020         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
57021         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
57022         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
57023         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
57024         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
57025         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
57026         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
57027         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
57028         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
57029         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
57030         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
57032         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
57033         global and hidden.
57034         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
57035         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
57036         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
57037         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
57038         Likewise.
57039         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
57040         Likewise.
57041         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
57042         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
57043         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
57044         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
57045         ifunc-impl-list.c.
57046         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
57047         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
57048         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
57049         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
57050         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
57051         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
57052         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
57053         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
57054         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
57055         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
57056         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
57057         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
57058         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
57059         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
57060         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
57061         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
57062         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
57063         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
57064         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
57065         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
57066         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
57067         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
57068         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
57069         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
57070         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
57071         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
57072         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
57073         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
57074         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
57075         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
57076         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
57077         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
57078         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
57079         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
57080         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
57081         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
57082         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
57083         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
57084         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
57085         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
57086         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
57088         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
57089         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
57090         * include/ifunc-impl-list.h: New file.
57091         * misc/ifunc-impl-list.c: Likewise.
57092         * misc/Makefile (routines): Add ifunc-impl-list.
57093         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
57094         * string/test-string.h: Include <ifunc-impl-list.h>.
57095         (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
57096         TEST_NAME]: New variables.
57097         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
57098         are defined.
57099         (test_init): Call __libc_ifunc_impl_list to initialize
57100         func_list if TEST_IFUNC and TEST_NAME are defined.
57102         * string/Makefile (strop-tests): Add bcopy and bzero.
57103         * string/test-bcopy.c: New file.
57104         * string/test-bzero.c: Likewise.
57105         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
57106         defined.
57107         * string/test-memset.c: Support bzero test if TEST_BZERO is
57108         defined.
57109         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
57110         __libc_memmove.
57111         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
57112         __libc_memset.
57113         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
57114         of memset.
57116 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
57118         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
57119         * configure: Regenerated.
57121         * Makeconfig (+link-static-before-libc): Don't include
57122         $(link-static-libc).
57124         * libio/libio.h (_IO_pos_t): Remove.
57126 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
57128         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
57129         McGrath.
57131 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
57133         * crypt/crypt-entry.c: Include fips-private.h.
57134         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
57135         * crypt/md5c-test.c (main): Tolerate disabled MD5.
57136         * sysdeps/unix/sysv/linux/fips-private.h: New file.
57137         * sysdeps/generic/fips-private.h: New file, dummy fallback.
57139 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
57141         * crypt/crypt-private.h: Include stdbool.h.
57142         (_ufc_setup_salt_r): Return bool.
57143         * crypt/crypt-entry.c: Include errno.h.
57144         (__crypt_r): Return NULL with EINVAL for bad salt.
57145         * crypt/crypt_util.c (bad_for_salt): New.
57146         (_ufc_setup_salt_r): Check that salt is long enough and within
57147         the specified alphabet.
57148         * crypt/badsalttest.c: New file.
57149         * crypt/Makefile (tests): Add it.
57150         ($(objpfx)badsalttest): New.
57152 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
57154         * NEWS: Add entry for BZ #14602.
57156 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
57158         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
57159         type-generic.
57160         * math/libm-test.inc: Update comment listing what functions and
57161         macros are tested.
57162         (isgreater_test): New function.
57163         (isgreaterequal_test): Likewise.
57164         (isless_test): Likewise.
57165         (islessequal_test): Likewise.
57166         (islessgreater_test): Likewise.
57167         (isunordered_test): Likewise.
57168         (main): Call the new functions.
57170 2012-10-09  Roland McGrath  <roland@hack.frob.com>
57172         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
57173         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
57174         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
57175         * sysdeps/i386/configure: Regenerated.
57176         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
57177         * sysdeps/mach/configure: Regenerated.
57178         * sysdeps/mach/hurd/configure: Regenerated.
57179         * sysdeps/powerpc/configure: Regenerated.
57180         * sysdeps/powerpc/powerpc32/configure: Regenerated.
57181         * sysdeps/powerpc/powerpc64/configure: Regenerated.
57182         * sysdeps/s390/s390-32/configure: Regenerated.
57183         * sysdeps/s390/s390-64/configure: Regenerated.
57184         * sysdeps/sh/configure: Regenerated.
57185         * sysdeps/sparc/configure: Regenerated.
57186         * sysdeps/unix/sysv/linux/configure: Regenerated.
57187         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
57188         * sysdeps/x86_64/configure: Regenerated.
57190         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
57191         defined.  Don't check if MAP is NULL.
57193 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
57195         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
57196         (_G_stat64): Likewise.
57197         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
57198         (_G_stat64): Likewise.
57199         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
57200         instead of struct _G_stat64.
57201         * libio/fileops.c (mmap_remap_check): Likewise.
57202         (decide_maybe_mmap): Likewise.
57203         (_IO_new_file_seekoff): Likewise.
57204         (_IO_file_stat): Likewise.
57205         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
57206         _G_off64_t.
57207         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
57208         instead of struct _G_stat64.
57209         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
57211 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
57213         [BZ #14602]
57214         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
57215         Replace with ...
57216         (CHECK_EOL): New macro.
57217         (two_way_short_needle): Check beginning of haystack for EOL.  Use
57218         CHECK_EOL.
57219         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
57220         Replace with CHECK_EOL.
57221         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
57222         Replace with CHECK_EOL.
57224 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
57226         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
57227         type-generic.
57228         * math/libm-test.inc: Update comment listing what functions and
57229         macros are tested.
57230         (finite_test): New function.
57231         (isinf_test): Likewise.
57232         (isnan_test): Likewise.
57233         (fpclassify_test): Test subnormal input.
57234         (isfinite_test): Likewise.
57235         (isnormal_test): Likewise.
57236         (main): Call the new functions.
57238 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
57240         [BZ #14660]
57241         * Makerules (%.dynsym): Force C locale when running
57242         $(OBJDUMP) --dynamic-syms.
57244 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
57246         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
57247         <stdint.h>.
57249 2012-10-06  David S. Miller  <davem@davemloft.net>
57251         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
57252         upper 32-bits of the length value in %o2 since we use branch-on-register
57253         tests which consider the entire 64-bit register.
57255 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
57257         * string/test-strstr.c (check2): Add a test for page boundary.
57259 2012-10-05  David S. Miller  <davem@davemloft.net>
57261         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
57262         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
57263         file.
57264         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
57265         sysdep_routines.
57266         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
57267         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
57268         and bzero when HWCAP_SPARC_CRYPTO is present.
57270 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
57272         [BZ #14602]
57273         * string/test-strstr.c (check2): New function.
57274         (test_main): Call check2.
57276         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
57277         and bug-strchr1.
57278         * string/bug-strcasestr1.c (do_test): Moved to ...
57279         * string/test-strcasestr.c (check1): Here.  New function.
57280         (do_one_test): Break out result checking code into ...
57281         (check_result): This.  New function.
57282         (do_one_test): Call check_result.
57283         (test_main): Call check1.
57284         * string/bug-strchr1.c (do_test): Moved to ...
57285         * string/test-strchr.c (check1): Here.  New function.
57286         (do_one_test): Break out result checking code into ...
57287         (check_result): This.  New function.
57288         (do_one_test): Call check_result.
57289         (test_main): Call check1.
57290         * string/bug-strstr1.c (main): Moved to ...
57291         * string/test-strstr.c (check1): Here.  New function.
57292         (do_one_test): Break out result checking code into ...
57293         (check_result): This.  New function.
57294         (do_one_test): Call check_result.
57295         (test_main): Call check1.
57296         * string/bug-strcasestr1.c: Removed.
57297         * string/bug-strchr1.c: Likewise.
57298         * string/bug-strstr1.c: Likewise.
57300         * elf/Makefile (dl-routines): Add hwcaps.
57301         * elf/dl-support.c (_dl_important_hwcaps): Removed.
57302         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
57303         (_dl_important_hwcaps): Moved to ...
57304         * elf/dl-hwcaps.c: Here.  New file.
57305         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
57307         [BZ #14557]
57308         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
57309         if IS_IN_rtld isn't defined.
57311         * elf/dl-support.c (_dl_sysinfo_map): New.
57312         Include "get-dynamic-info.h" and "setup-vdso.h".
57313         (_dl_non_dynamic_init): Call setup_vdso.
57314         * elf/dynamic-link.h: Don't include <assert.h>.
57315         (elf_get_dynamic_info): Moved to ...
57316         * elf/get-dynamic-info.h: Here.  New file.
57317         * elf/dynamic-link.h: Include "get-dynamic-info.h".
57318         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
57319         * elf/setup-vdso.h: Here.  New file.
57320         * elf/rtld.c: Include "setup-vdso.h".
57321         (dl_main): Call setup_vdso.
57323 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
57325         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
57326         creal in comment listing functions tested.  List finite, isinf,
57327         isnan, isless, islessequal, isgreater, isgreaterequal,
57328         islessgreater, isunordered, lgamma_r and pow10 as functions and
57329         macros not tested.  Mention which functions not tested are aliases
57330         for other functions.  Fix typo.  Note that signs of NaNs are not
57331         tested.
57333         * scripts/config.guess: Update from config.git.
57334         * scripts/config.sub: Likewise.
57336 2012-10-04  Roland McGrath  <roland@hack.frob.com>
57338         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
57339         * misc/madvise.c (madvise): Renamed to __madvise.
57340         Make madvise a weak alias.
57341         * include/sys/mman.h: Declare __madvise.
57342         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
57343         * sysdeps/unix/syscalls.list
57344         (madvise): Make __madvise the strong name, and madvise a weak alias.
57345         * sysdeps/unix/sysv/linux/syscalls.list
57346         (madvise, mmap): Remove redundant entries.
57347         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
57348         * malloc/malloc.c (mtrim): Likewise.
57349         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
57351 2012-10-03  Roland McGrath  <roland@hack.frob.com>
57353         * sysdeps/mach/hurd/dl-cache.c: File removed.
57354         * config.h.in (USE_LDCONFIG): New #undef.
57355         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
57356         * configure: Regenerated.
57357         * elf/Makefile (dl-routines): Add dl-cache only under
57358         [$(use-ldconfig) = yes].
57359         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
57360         cache on [USE_LDCONFIG].
57361         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
57362         [USE_LDCONFIG].
57363         * elf/rtld.c (dl_main): Likewise.
57365 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
57367         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
57368         _SC_LEVEL4_CACHE_LINESIZE.
57370 2012-10-03  Roland McGrath  <roland@hack.frob.com>
57372         * sysdeps/unix/bsd/confstr.h: File removed.
57374 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
57376         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
57377         sys/sdt-config.h.
57379 2012-10-02  Roland McGrath  <roland@hack.frob.com>
57381         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
57382         Make 'mapoff' field ElfW(Off) rather than off_t.
57384 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
57386         * nscd/Makefile: Remove nscd-cflags and all its users.
57387         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
57388         (CFLAGS-nonlib): Add compiler flags for nscd modules.
57390         [BZ #10631]
57391         * malloc.c (malloc_printerr): Clarify error message.
57393 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
57395         [BZ #14648]
57396         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
57397         Set bit_FMA_Usable if FMA is supported.
57398         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
57399         macro.
57400         (bit_FMA4_Usable): Updated.
57401         (index_FMA_Usable): New macro.
57402         (CPUID_FMA): Likewise.
57403         (HAS_FMA): Defined with bit_FMA_Usable.
57405 2012-10-01  Roland McGrath  <roland@hack.frob.com>
57407         * bits/types.h (__swblk_t): Type removed.
57408         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
57409         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
57410         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
57411         (__SWBLK_T_TYPE): Likewise.
57412         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
57413         (__SWBLK_T_TYPE): Likewise.
57414         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
57415         (__SWBLK_T_TYPE): Likewise.
57416         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
57417         (__SWBLK_T_TYPE): Likewise.
57419 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
57420             Honza Horak <hhorak@redhat.com>
57422         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
57423         (xdr_mapname): Use YPMAXMAP as maxsize.
57424         (xdr_peername): Use YPMAXPEER as maxsize.
57425         (xdr_keydat): Use YPAXRECORD as maxsize.
57426         (xdr_valdat): Use YPMAXRECORD as maxsize.
57428 2012-10-01  Roland McGrath  <roland@hack.frob.com>
57430         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
57432         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
57433         * csu/init-first.c: ... here.
57434         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
57435         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
57436         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
57437         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
57438         * sysdeps/i386/init-first.c: File removed.
57439         * sysdeps/sh/init-first.c: File removed.
57441 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
57443         [BZ #14645]
57444         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
57445         if x * y might underflow to zero and z is zero.
57446         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
57447         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
57448         * math/libm-test.inc (min_subnorm_value): New variable.
57449         (fma_test): Add more tests.
57450         (fma_test_towardzero): Likewise.
57451         (fma_test_downward): Likewise.
57452         (fma_test_upward): Likewise.
57453         (initialize): Set min_subnorm_value.
57455 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
57457         [BZ #14638]
57458         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
57459         0 + 0.
57460         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
57461         mode for addition resulting in exact zero.
57462         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
57463         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
57464         exact 0 + 0.
57465         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
57466         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
57467         * math/libm-test.inc (fma_test): Add more tests.
57468         (fma_test_towardzero): New function.
57469         (fma_test_downward): Likewise.
57470         (fma_test_upward): Likewise.
57471         (main): Call the new functions.
57473 2012-09-28  David S. Miller  <davem@davemloft.net>
57475         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
57477 2012-09-28  Roland McGrath  <roland@hack.frob.com>
57479         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
57480         instead of SIGALRM.
57482         * sysdeps/gnu/_G_config.h: Moved to ...
57483         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
57484         * sysdeps/mach/hurd/_G_config.h: Moved to ...
57485         * sysdeps/generic/_G_config.h: ... here.
57487         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
57489         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
57491         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
57492         Conditionalize target on [libnss_test1.so-version].
57494         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
57496         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
57497         (elfobjdir): Move out of conditionals.
57499         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
57500         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
57501         (__nss_lookup_function): Conditionalize label remove_from_tree on
57502         [!DO_STATIC_NSS || SHARED], matching its only use.
57504 2012-09-28  David S. Miller  <davem@davemloft.net>
57506         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
57507         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
57508         file.
57509         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
57510         sysdep_routines.
57511         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
57512         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
57513         when HWCAP_SPARC_CRYPTO is present.
57515 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
57517         * io/tst-mknodat.c: Create a FIFO instead of a socket.
57519 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
57521         [BZ #6530]
57522         * stdio-common/vfprintf.c (process_string_arg): Revert
57523         2000-07-22 change.
57525 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
57527         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
57528         for testcase.
57529         * stdio-common/tst-sprintf.c: Include <locale.h>
57530         (main): Test sprintf's handling of incomplete multibyte
57531         characters.
57533 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
57535         * elf/dl-runtime.c (VERSYMIDX): Removed.
57536         * elf/dl-version.c (VERSYMIDX): Likewise.
57537         * elf/do-rel.h (VERSYMIDX): Likewise.
57538         (VALIDX): Likewise.
57539         * elf/dynamic-link.h (VERSYMIDX): Likewise.
57540         * elf/rtld.c (VALIDX): Likewise.
57541         (ADDRIDX): Likewise.
57542         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
57543         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
57544         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
57545         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
57546         (VALIDX): Likewise.
57547         (ADDRIDX): Likewise.
57549 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
57551         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
57553 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
57555         [BZ #11438]
57556         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
57557         to global scope.
57558         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
57559         addresses are in the same scope as 192.0.2/24.
57560         * posix/gai.conf: Document new scope table defaults.
57562 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
57564         [BZ #5298]
57565         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
57566         for ftell.  Compute offsets from write pointers instead.
57567         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
57569 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
57571         [BZ #14543]
57572         * libio/Makefile (tests): New test case tst-fseek.
57573         * libio/tst-fseek.c: New test case to verify that fseek/ftell
57574         combination works in wide mode.
57575         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
57576         state when the external buffer state changes.
57578 2012-09-27  David S. Miller  <davem@davemloft.net>
57580         [BZ #14376]
57581         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
57582         pass reloc->r_addend in as the 'high' argument to
57583         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
57585         * sysdeps/sparc/fpu/libm-test-ulps: Update.
57587 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
57589         * rt/tst-aio2.c: Include <pthread.h>.
57590         * rt/tst-aio3.c: Likewise.
57592 2012-09-27  Steve Ellcey  <sellcey@mips.com>
57594         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
57596 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
57598         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
57599         contents on [SHARED].
57601 2012-09-26  Marek Polacek  <polacek@redhat.com>
57603         [BZ #14530]
57604         [BZ #13741]
57605         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
57606         for C++ and GCC <4.3 as well as for non GCC compilers.
57608 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
57610         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
57612 2012-09-25  Roland McGrath  <roland@hack.frob.com>
57614         * Makefile.in (all, install): Declare with .PHONY.
57615         Reported by Michael Hope <michael.hope@linaro.org>.
57617 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
57619         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
57620         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
57621         system header.
57622         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
57623         Likewise.
57624         (sydep_routines): Add the new and the internal functions.
57625         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
57626         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
57627         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
57628         (GLIBC_2.17): Add the new function.
57629         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
57630         (GLIBC_2.17): Likewise.
57631         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
57632         (GLIBC_2.17): Likewise.
57633         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
57634         (GLIBC_2.17): Likewise.
57635         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
57637 2012-09-25  Alan Modra  <amodra@gmail.com>
57639         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
57640         Add release barrier before setting once_control to say
57641         initialisation is done.  Add hints on lwarx.  Use macro in
57642         place of isync.
57643         (clear_once_control): Add release barrier.
57645 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
57647         [BZ #13629]
57648         * math/s_clog.c (__clog): Handle more values close to |z| = 1
57649         specially.
57650         * math/s_clog10.c (__clog10): Likewise.
57651         * math/s_clog10f.c (__clog10f): Likewise.
57652         * math/s_clog10l.c (__clog10l): Likewise.
57653         * math/s_clogf.c (__clogf): Likewise.
57654         * math/s_clogl.c (__clogl): Likewise.
57655         * math/Makefile (libm-calls): Add x2y2m1.
57656         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
57657         (__x2y2m1): Likewise.
57658         (__x2y2m1l): Likewise.
57659         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
57660         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
57661         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
57662         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
57663         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
57664         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
57665         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
57666         * sysdeps/i386/fpu/libm-test-ulps: Update.
57667         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57669         [BZ #14621]
57670         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
57671         int as type of variable DEPTH.
57672         (glob): Use size_t instead of int as type of variables NEWCOUNT
57673         and OLD_PATHC.
57675 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
57677         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
57678         Add s_sincosf-sse2.
57679         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
57680         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
57681         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
57682         macros for using routine as __sincosf_ia32.
57683         Use macro for function declaration and weak_alias.
57684         * sysdeps/i386/fpu/libm-test-ulps: Update.
57686         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
57687         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
57689         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
57690         subnormal argument.
57691         * math/s_cexpf.c (__cexpf): Likewise.
57692         * math/s_csinf.c (__csinf): Likewise.
57693         * math/s_csinhf.c (__csinhf): Likewise.
57694         * math/s_ctanf.c (__ctanf): Likewise.
57695         * math/s_ctanhf.c (__ctanhf): Likewise.
57696         * math/s_ccosh.c (__ccoshf): Likewise.
57697         * math/s_cexp.c (__cexpl): Likewise.
57698         * math/s_csin.c (__csin): Likewise.
57699         * math/s_csinh.c (__csinh): Likewise.
57700         * math/s_ctan.c (__ctan): Likewise.
57701         * math/s_ctanh.c (ctanh): Likewise.
57702         * math/s_ccoshl.c (__ccoshl): Likewise.
57703         * math/s_cexpl.c (__cexpl): Likewise.
57704         * math/s_csinl.c (__csinl): Likewise.
57705         * math/s_csinhl.c (__csinhl): Likewise.
57706         * math/s_ctanl.c (__ctanl): Likewise.
57707         * math/s_ctanhl.c (__ctanhl): Likewise.
57709 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
57711         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
57712         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
57713         (_IO_off_t): Define to __off_t, not _G_off_t.
57714         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
57715         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
57716         (_IO_wint_t): Define to wint_t, not _G_wint_t.
57717         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
57718         type of __dummy and __dummy2 fields.
57719         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
57720         (_G_ssize_t): Likewise.
57721         (_G_off_t): Likewise.
57722         (_G_pid_t): Likewise.
57723         (_G_uid_t): Likewise.
57724         (_G_wchar_t): Likewise.
57725         (_G_wint_t): Likewise.
57726         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
57727         (_G_ssize_t): Likewise.
57728         (_G_off_t): Likewise.
57729         (_G_pid_t): Likewise.
57730         (_G_uid_t): Likewise.
57731         (_G_wchar_t): Likewise.
57732         (_G_wint_t): Likewise.
57733         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
57734         (_G_ssize_t): Likewise.
57735         (_G_off_t): Likewise.
57736         (_G_pid_t): Likewise.
57737         (_G_uid_t): Likewise.
57738         (_G_wchar_t): Likewise.
57739         (_G_wint_t): Likewise.
57741 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
57743         * malloc/arena.c: Include malloc-sysdep.h.
57744         (shrink_heap): Use check_may_shrink_heap to decide if madvise
57745         is sufficient to shrink the heap or an unmap is needed.
57746         * sysdeps/generic/malloc-sysdep.h: New file.  Define
57747         new function check_may_shrink_heap.
57748         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
57749         new function check_may_shrink_heap.
57751 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
57753         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
57754         comments.
57756 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
57758         * catgets/test-gencat.sh: Add "set -e".
57759         * elf/tst-pathopt.sh: Likewise.
57760         * grp/tst_fgetgrent.sh: Likewise.
57761         * iconvdata/run-iconv-test.sh: Likewise.
57762         * intl/tst-gettext.sh: Likewise.
57763         * intl/tst-gettext2.sh: Likewise.
57764         * intl/tst-gettext4.sh: Likewise.
57765         * intl/tst-gettext6.sh: Likewise.
57766         * intl/tst-translit.sh: Likewise.
57767         * io/ftwtest-sh: Likewise.
57768         * libio/test-freopen.sh: Likewise.
57769         * malloc/tst-mtrace.sh: Likewise.
57770         * posix/globtest.sh: Likewise.
57771         * posix/tst-getconf.sh: Likewise.
57772         * posix/wordexp-tst.sh: Likewise.
57773         * stdio-common/tst-printf.sh: Likewise.
57774         * stdio-common/tst-unbputc.sh: Likewise.
57775         * stdlib/tst-fmtmsg.sh: Likewise.
57776         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
57777         * catgets/Makefile: Do not specify -e option when running
57778         testsuite shell scripts.
57779         * elf/Makefile: Likewise.
57780         * grp/Makefile: Likewise.
57781         * iconvdata/Makefile: Likewise.
57782         * intl/Makefile: Likewise.
57783         * io/Makefile: Likewise.
57784         * libio/Makefile: Likewise.
57785         * malloc/Makefile: Likewise.
57786         * posix/Makefile: Likewise.
57787         * stdio-common/Makefile: Likewise.
57788         * stdlib/Makefile: Likewise.
57789         * sysdeps/x86_64/Makefile: Likewise.
57791         * io/ftwtest-sh: Add copyright header.
57792         * posix/globtest.sh: Likewise.
57793         * posix/tst-getconf.sh: Likewise.
57794         * posix/wordexp-tst.sh: Likewise.
57795         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
57797 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
57799         [BZ #13679]
57800         * Makeconfig (+link): Defined as $(+link-static) if
57801         $(build-shared) isn't yes.
57802         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
57803         isn't yes.
57804         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
57806         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
57808         [BZ #14562]
57809         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
57810         new chunk size with MALLOC_ALIGN_MASK.
57812 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
57814         [BZ #5044]
57815         * stdio-common/printf_fphex.c: Include <stdbool.h> and
57816         <rounding-mode.h>.
57817         (__printf_fphex): Determine rounding using get_rounding_mode and
57818         round_away.
57819         * stdio-common/tst-printf-round.c (struct hex_test): New
57820         structure.
57821         (hex_tests): New variable.
57822         (test_hex_in_one_mode): New function.
57823         (do_test): Also run tests for hex float output.
57825 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
57827         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
57828         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
57829         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
57830         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
57831         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
57832         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
57833         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
57834         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
57836 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
57838         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
57839         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
57840         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
57841         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
57843 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
57845         [BZ #14579]
57846         * elf/rtld.c (dl_main): Limit the check for self loading to normal
57847         mode only.
57848         * elf/tst-rtld-load-self.sh: New test.
57849         * elf/Makefile: Run it.
57851 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
57853         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
57854         (tst-writev-ENV): Remove.
57855         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
57857 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
57859         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
57861 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
57863         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
57864         unconditional.
57865         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
57866         Likewise.
57867         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
57868         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
57869         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
57870         Likewise.
57872 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
57874         [BZ #14587]
57875         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
57876         * config.make.in (have-cpp-asm-debuginfo): Removed.
57877         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
57878         * configure: Regenerated.
57880 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
57882         [BZ #5044]
57883         * stdio-common/printf_fp.c: Include <stdbool.h> and
57884         <rounding-mode.h>.
57885         (___printf_fp): Determine rounding using get_rounding_mode and
57886         round_away.
57887         * stdio-common/tst-printf-round.c: New file.
57888         * stdio-common/Makefile (tests): Add tst-printf-round.
57889         (link-libm): New variable.
57890         ($(objpfx)tst-printf-round): Depend in $(link-libm).
57892 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
57894         [BZ #14576]
57895         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
57896         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
57897         Likewise.
57898         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
57899         Likewise.
57901 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
57903         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
57904         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
57905         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
57906         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
57908 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
57910         [BZ #14518]
57911         * include/rounding-mode.h: New file.
57912         * sysdeps/generic/get-rounding-mode.h: Likewise.
57913         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
57914         * stdlib/strtod_l.c: Include <rounding-mode.h>.
57915         (MAX_VALUE): New macro.
57916         (MIN_VALUE): Likewise.
57917         (overflow_value): New function.
57918         (underflow_value): Likewise.
57919         (round_and_return): Use overflow_value and underflow_value to
57920         determine return values in overflow and underflow cases.  Use
57921         round_away to determine rounding depending on rounding mode.
57922         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
57923         determine return values in overflow and underflow cases.
57924         * stdlib/tst-strtod-round.c: Include <fenv.h>.
57925         (struct test_results): New structure.
57926         (struct test): Use struct test_results to store expected results
57927         for all rounding modes.
57928         (TEST): Include expected results for all rounding modes.
57929         (test_in_one_mode): New function.
57930         (do_test): Use test_in_one_mode to compute and check results.
57931         Check results for all rounding modes.
57932         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
57933         $(link-libm).
57935 2012-12-09  Allan McRae  <allan@archlinux.org>
57937         * sysdeps/i386/fpu/libm-test-ulps: Update
57939 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
57941         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
57942         (_G_int32_t): Likewise.
57943         (_G_uint16_t): Likewise.
57944         (_G_uint32_t): Likewise.
57945         (_G_HAVE_BOOL): Likewise.
57946         (_G_HAVE_ATEXIT): Likewise.
57947         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
57948         (_G_HAVE_IO_FILE_OPEN): Likewise.
57949         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
57950         (_G_int32_t): Likewise.
57951         (_G_uint16_t): Likewise.
57952         (_G_uint32_t): Likewise.
57953         (_G_HAVE_BOOL): Likewise.
57954         (_G_HAVE_ATEXIT): Likewise.
57955         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
57956         (_G_HAVE_IO_FILE_OPEN): Likewise.
57957         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
57958         (_G_int32_t): Likewise.
57959         (_G_uint16_t): Likewise.
57960         (_G_uint32_t): Likewise.
57961         (_G_HAVE_BOOL): Likewise.
57962         (_G_HAVE_ATEXIT): Likewise.
57963         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
57964         (_G_HAVE_IO_FILE_OPEN): Likewise.
57966 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
57968         * csu/libc-tls.c: Update copyright years.
57970 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
57972         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
57973         [!_G_USING_THUNKS]: Remove conditional code.
57974         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
57975         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
57977         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
57978         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
57979         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
57980         (_G_VTABLE_LABEL_PREFIX): Likewise.
57981         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
57982         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
57983         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
57984         (_G_VTABLE_LABEL_PREFIX): Likewise.
57985         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
57986         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
57987         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
57988         (_G_VTABLE_LABEL_PREFIX): Likewise.
57989         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
57991 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
57993         * libio/Makefile: Include ../Makeconfig before tests.
57994         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
57995         only if $(build-shared) is yes.
57997         * iconv/gconv_db.c: Update copyright years.
57999 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
58001         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
58002         unwind info if defined PIC. Fix special cases description.
58003         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
58005         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
58006         DP_HI_MASK entry.
58007         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
58009 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
58011         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
58013         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
58014         is NULL.
58016         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
58017         (LDLIBS-tst-chk4): This.
58018         (LDFLAGS-tst-chk5): Renamed to ...
58019         (LDLIBS-tst-chk5): This.
58020         (LDFLAGS-tst-chk6): Renamed to ...
58021         (LDLIBS-tst-chk6): This.
58022         (LDFLAGS-tst-lfschk4): Renamed to ...
58023         (LDLIBS-tst-lfschk4): This.
58024         (LDFLAGS-tst-lfschk5): Renamed to ...
58025         (LDLIBS-tst-lfschk5): This.
58026         (LDFLAGS-tst-lfschk6): Renamed to ...
58027         (LDLIBS-tst-lfschk6): This.
58029         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
58030         on $(common-objpfx)soversions.mk.
58032 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
58034         [BZ #10014]
58035         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
58036         example host name.
58038 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
58040         * malloc/arena.c (arena_get_retry): New function that gets
58041         another arena for the caller to try its request on.
58042         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
58043         current arena cannot fulfill the request.
58044         (__libc_memalign): Likewise.
58045         (__libc_memalign): Likewise.
58046         (__libc_pvalloc): Likewise.
58047         (__libc_calloc): Likewise.
58049 2012-09-05  John Tobey  <john.tobey@gmail.com>
58051         [BZ #13542]
58052         * manual/arith.texi (Operations on Complex): Fix description
58053         of carg branch cut.
58055 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
58057         [BZ #10014]
58058         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
58059         host name.
58061         [BZ #10038]
58062         * manual/memory.texi (Memory): Make order of menu items match
58063         order of sections.
58065 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
58067         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
58068         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
58069         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
58071 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
58073         * csu/libc-tls.c (static_dtv): Renamed to ...
58074         (_dl_static_dtv): This.  Make it global.
58075         (_dl_initial_dtv): Removed.
58076         (__libc_setup_tls): Updated.
58077         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
58078         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
58079         DL_INITIAL_DTV.
58081 2012-09-06  Petr Machata  <pmachata@redhat.com>
58083         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
58084         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
58085         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
58086         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
58088 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
58090         [BZ #14545]
58091         * csu/libc-tls.c (_dl_initial_dtv): New variable.
58092         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
58093         freeing dtv[-1].
58095 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
58097         [BZ #14544]
58098         * Makeconfig (link-static-before-libc): Replace $(+prector)
58099         with $(+prectorT).
58100         (link-static-after-libc): Replace $(+postctor) with
58101         $(+postctorT).
58102         (link-bounded): Replace $(+prector)/$(+postctor) with
58103         $(+prectorT)/$(+postctorT).
58104         (+prectorT): New macro.
58105         (+postctorT): Likewise.
58107 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
58109         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
58110         (round_str): Handle values above the maximum for IBM long double
58111         as inexact.
58112         * stdlib/tst-strtod-round.c (tests): Regenerated.
58114 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
58116         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
58117         assembler flag.
58118         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
58119         zarch_nohighgprs around the zarch optimized routines.
58120         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
58121         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
58122         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
58123         for zarch.
58125 2012-09-05  David S. Miller  <davem@davemloft.net>
58127         * sysdeps/sparc/fpu/libm-test-ulps: Update.
58129         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
58130         (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
58131         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
58132         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
58133         entries.
58135 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
58137         * malloc/arena.c: Fold copyright years.
58138         * malloc/mcheck.c, malloc/memusage.c: Likewise.
58140 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
58142         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
58144 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
58146         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
58148 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
58150         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
58151         change internal state upon failure.
58153 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
58155         * malloc/mcheck.c (mcheck_check_all): Fix typo.
58156         * malloc/memusage.c (mmap): Likewise.
58157         (mmap64, mremap): Likewise.  Adjust name in comment.
58159 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
58161         * libio/fileops.c: Fix typos in comments.
58162         * libio/oldfileops.c: Likewise.
58163         * libio/wfileops.c: Likewise.
58165 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
58167         [BZ #1349]
58168         * malloc/Makefile (tests): Add tst-malloc-usable test case.
58169         (tst-malloc-usable-ENV): Set environment for test case.
58170         * malloc/hooks.c (malloc_check_get_size): New function to get
58171         requested size.
58172         * malloc/malloc.c (musable): Use malloc_check_get_size.
58173         * malloc/tst-malloc-usable.c: New test case.
58175 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
58177         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
58179 2012-09-05  Allan McRae  <allan@archlinux.org>
58181         [BZ #13966]
58182         * configure.in (CXX_SYSINCLUDES): Use compiler output to
58183         determine header location.
58184         * configure: Regenerated.
58186 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
58188         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
58189         float format.
58190         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
58191         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
58192         format.
58193         (test): Regenerate.
58195 2012-09-04  David S. Miller  <davem@davemloft.net>
58197         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
58198         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
58199         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
58201 2012-09-04  Florian Weimer  <fweimer@redhat.com>
58203         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
58204         failures.
58206         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
58208 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
58210         [BZ #9914]
58211         * libio/iogetdelim.c: Include <limits.h>.
58212         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
58213         + len + 1 would overflow.
58215 2012-09-03  Andreas Jaeger  <aj@suse.de>
58217         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
58218         * sysdeps/i386/fpu/libm-test-ulps: Update.
58220 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
58222         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
58223         Add s_sinf-sse2, s_conf-sse2.
58225         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
58226         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
58227         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
58228         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
58230         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
58231         for using routine as __sinf_ia32.
58232         Use macro for function declaration and weak_alias.
58233         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
58234         for using routine as __cosf_ia32.
58235         Use macro for function declaration and weak_alias.
58237         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
58238         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
58240         * sysdeps/x86_64/fpu/s_sinf.S: New file.
58241         * sysdeps/x86_64/fpu/s_cosf.S: New file.
58242         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
58244         * math/libm-test.inc (cos_test): Add more test cases.
58245         (sin_test): Likewise.
58246         (sincos_test): Likewise.
58248 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
58250         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
58251         (IFUNC_RESOLVE): Make pointers to the specialized implementations
58252         hidden.
58253         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
58255 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
58257         [BZ #14538]
58258         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
58259         first element of the GOT.
58260         (elf_machine_load_address): Return the difference between
58261         the runtime address of _DYNAMIC and elf_machine_dynamic ().
58263 2012-09-01  Allan McRae  <allan@archlinux.org>
58265         [BZ #13412]
58266         * configure.in (AWK): Require gawk version 3.0 or later.
58267         * configure: Regenerated.
58269 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
58271         * sysdeps/unix/sysv/linux/kernel-features.h
58272         (__ASSUME_POSIX_CPU_TIMERS): Remove.
58273         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
58274         [__NR_clock_getres]: Make code unconditional.
58275         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
58276         (clock_getcpuclockid): Remove code left unreachable by removal of
58277         conditionals.
58278         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
58279         code unconditional.
58280         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
58281         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
58282         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
58283         Make code unconditional.
58284         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
58285         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
58286         * sysdeps/unix/sysv/linux/clock_settime.c
58287         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
58288         conditional code.
58289         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
58290         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
58292 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
58294         [BZ #14476]
58295         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
58296         scripts/test-installation.pl.
58298         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
58299         and $ld_so_version if it is set.
58301 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
58303         [BZ #14516]
58304         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
58305         failure if reading from procfs failed.
58306         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
58308 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
58310         * sysdeps/unix/sysv/linux/kernel-features.h
58311         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
58312         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
58313         Remove conditional code.
58314         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
58315         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
58316         Remove conditional code.
58317         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
58318         * sysdeps/unix/sysv/linux/i386/fxstat.c
58319         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
58320         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
58321         * sysdeps/unix/sysv/linux/i386/fxstatat.c
58322         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
58323         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
58324         * sysdeps/unix/sysv/linux/i386/lxstat.c
58325         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
58326         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
58327         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
58328         Remove conditional code.
58329         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
58330         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
58331         Remove conditional code.
58332         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
58333         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
58334         <kernel-features.h>.
58335         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
58336         Remove.
58337         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
58338         Remove conditional code.
58339         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
58340         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
58341         Remove conditional.
58343 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
58345         [BZ #5400]
58346         * NEWS: Add fixed bug number.
58348 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
58350         [BZ #14519]
58351         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
58352         underflowing exponent in case of negative sign.
58353         * stdlib/tst-strtod-round-data: Add more tests.
58354         * stdlib/tst-strtod-round.c (tests): Regenerated.
58356         [BZ #3479]
58357         * stdlib/strtod_l.c (NDIG): Remove.
58358         (HEXNDIG): Likewise.
58359         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
58360         smallest representable value.
58361         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
58362         lie within an exact representation of 1/2 ulp of the result.
58363         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
58364         unconditionally.
58365         (TENS_P9_IDX): Define unconditionally.
58366         (TENS_P9_SIZE): Likewise.
58367         (TENS_P10_IDX): Likewise.
58368         (TENS_P10_SIZE): Likewise.
58369         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
58370         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
58371         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
58372         entries for 10^2^13 and 10^2^14.
58373         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
58374         (TENS_P13_IDX): Define.
58375         (TENS_P13_SIZE): Likewise.
58376         (TENS_P14_IDX): Likewise.
58377         (TENS_P14_SIZE): Likewise.
58378         (_fpioconst_pow10): Change array size to
58379         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
58380         unconditional.
58381         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
58382         1024]: Add entries for 10^2^13 and 10^2^14.
58383         [LAST_POW10 > _LAST_POW10]: Remove #error.
58384         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
58385         (_fpioconst_pow10): Change array size to
58386         FPIOCONST_POW10_ARRAY_SIZE.
58387         * stdlib/gen-fpioconst.c: New file.
58388         * stdlib/gen-tst-strtod-round.c: Likewise.
58389         * stdlib/tst-strtod-round-data: Likewise.
58390         * stdlib/tst-strtod-round.c: Likewise.
58391         * stdlib/Makefile (tests): Add tst-strtod-round.
58393         [BZ #14459]
58394         * stdlib/strtod_l.c: Include <stdint.h>.
58395         (NDEBUG): Do not define.
58396         (round_and_return): Change EXPONENT parameter to type intmax_t.
58397         Rearrange calculations to avoid internal overflow possibilities.
58398         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
58399         Rearrange calculations to avoid internal overflow possibilities.
58400         Assert that number fits inside MPNSIZE limbs.
58401         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
58402         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
58403         calculations and add assertions to avoid internal overflow
58404         possibilities.  Add casts to avoid signed/unsigned operations.
58405         * stdlib/tst-strtod-overflow.c: New file.
58406         * stdlib/Makefile (tests): Add tst-strtod-overflow.
58408 2012-08-25  Marek Polacek  <polacek@redhat.com>
58410         * time/time.h: Fix some typos in comments.
58412 2012-08-23  Roland McGrath  <roland@hack.frob.com>
58414         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
58415         * posix/tst-rfc3484-2.c: Likewise.
58416         * posix/tst-rfc3484-3.c: Likewise.
58418 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
58420         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
58421         (EF_ARM_ABI_FLOAT_HARD): Likewise.
58423 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
58425         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
58426         #include of fxstatat64.c.
58428 2012-08-22  Roland McGrath  <roland@hack.frob.com>
58430         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
58431         * shadow/getspent_r.c: Likewise.
58432         * shadow/getspnam.c: Likewise.
58433         * shadow/getspnam_r.c: Likewise.
58434         * gshadow/getsgent.c: Likewise.
58435         * gshadow/getsgent_r.c: Likewise.
58436         * gshadow/getsgnam.c: Likewise.
58437         * gshadow/getsgnam_r.c: Likewise.
58438         * inet/getnetbyad.c: Likewise.
58439         * inet/getnetbyad_r.c: Likewise.
58440         * inet/getnetbynm.c: Likewise.
58441         * inet/getnetbynm_r.c: Likewise.
58442         * inet/getnetent.c: Likewise.
58443         * inet/getnetent_r.c: Likewise.
58444         * inet/getproto.c: Likewise.
58445         * inet/getproto_r.c: Likewise.
58446         * inet/getprtent.c: Likewise.
58447         * inet/getprtent_r.c: Likewise.
58448         * inet/getprtname.c: Likewise.
58449         * inet/getprtname_r.c: Likewise.
58450         * inet/getrpcbyname.c: Likewise.
58451         * inet/getrpcbyname_r.c: Likewise.
58452         * inet/getrpcbynumber.c: Likewise.
58453         * inet/getrpcbynumber_r.c: Likewise.
58454         * inet/getrpcent.c: Likewise.
58455         * inet/getrpcent_r.c: Likewise.
58456         * inet/getaliasent.c: Likewise.
58457         * inet/getaliasent_r.c: Likewise.
58458         * inet/getaliasname.c: Likewise.
58459         * inet/getaliasname_r.c: Likewise.
58460         * nscd/getgrgid_r.c: Likewise.
58461         * nscd/getgrnam_r.c: Likewise.
58462         * nscd/gethstbyad_r.c: Likewise.
58463         * nscd/gethstbynm3_r.c: Likewise.
58464         * nscd/getpwnam_r.c: Likewise.
58465         * nscd/getpwuid_r.c: Likewise.
58466         * nscd/getsrvbynm_r.c: Likewise.
58467         * nscd/getsrvbypt_r.c: Likewise.
58468         * nscd/gai.c: Likewise.
58470         * configure.in (build_nscd): New substituted variable, set
58471         by --disable-build-nscd and defaults to $use_nscd.
58472         * configure: Regenerated.
58473         * config.make.in (build-nscd): New substituted variable.
58474         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
58475         Change conditional to require [$(build-nscd) = yes] as well.
58476         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
58478         [BZ# 13696]
58479         * configure.in (use_nscd): New substituted variable, set by
58480         --disable-nscd.  If enabled, define USE_NSCD.
58481         * configure: Regenerated.
58482         * config.h.in: Add USE_NSCD.
58483         * config.make.in (use-nscd): New substituted variable.
58484         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
58485         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
58486         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
58487         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
58488         (CFLAGS-getgrnam_r.c): Likewise.
58489         (CFLAGS-initgroups.c): Likewise.
58490         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
58491         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
58492         Variables removed.
58493         * inet/getnetgrent_r.c
58494         (nscd_setnetgrent): New function, broken out of ...
58495         (setnetgrent): ... here.  Call it.
58496         (innetgr): Conditionalize nscd bits on [USE_NSCD].
58497         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
58498         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
58499         * nscd/Makefile (routines, aux): Move definitions after include of
58500         Makeconfig.  Conditionalize on [$(use-nscd) != no].
58501         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
58502         Conditionalize on [USE_NSCD].
58503         (is_nscd, nscd_init_cb): Likewise.
58504         (nss_load_library): Conditionalize init callback on [USE_NSCD].
58505         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
58506         * nss/nss_db/db-init.c: Likewise.
58507         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
58508         [USE_NSCD].
58509         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
58510         (make_request): Use it.
58511         (cache_valid_p): New function.
58512         (__check_pf): Use it.
58513         * NEWS: Add item for --disable-nscd.
58515 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
58517         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
58518         to support sed >= 4.2.1-20-ga9bf076.
58519         * configure: Regenerated.
58521 2012-08-22  Roland McGrath  <roland@hack.frob.com>
58523         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
58524         Conditionalize whole body on [IREL].
58526 2012-08-22  Jeff Law <law@redhat.com>
58528         [BZ #14505]
58529         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
58530         if the family is PF_UNSPEC.
58532 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
58534         * Makerules (lib-version): Rename from V.
58535         (install-lib-nosubdir): Change V to lib-version.
58537 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
58539         [BZ #14252]
58540         * powerpc32/power6/wcschr.c: New file.
58541         * powerpc32/power6/wcscpy.c: New file.
58542         * powerpc32/power6/wcsrchr.c: New file.
58543         * powerpc64/power6/wcschr.c: New file.
58544         * powerpc64/power6/wcscpy.c: New file.
58545         * powerpc64/power6/wcsrchr.c: New file.
58547 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
58549         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
58550         (two_way_short_needle): Use it.
58551         * string/strstr.c (AVAILABLE1_USES_J): Define.
58552         * string/strcasestr.c: Likewise.
58554         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
58555         array references.
58556         * string/strcasestr.c (TOLOWER): Make side-effect safe.
58558         [BZ #11607]
58559         * NEWS: Add an entry.
58560         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
58561         define their defaults.
58562         (two_way_short_needle): Detect end-of-string on-the-fly.
58563         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
58564         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
58565         * string/bug-strcasestr1.c: New test.
58566         * string/Makefile: Run it.
58568 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
58570         [BZ #11607]
58571         * string/str-two-way.h (two_way_short_needle): Optimize matching of
58572         the first character.
58574 2012-08-21  Roland McGrath  <roland@hack.frob.com>
58576         * csu/elf-init.c (__libc_csu_irel): Function removed.
58577         * csu/libc-start.c (apply_irel): New function.
58578         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
58580 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
58582         * sysdeps/unix/sysv/linux/kernel-features.h
58583         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
58584         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
58585         <kernel-features.h>.
58586         [__NR_fadvise64_64]: Make code unconditional.
58587         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
58588         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
58589         !__NR_fadvise64_64)]: Likewise.
58590         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
58591         !__NR_fadvise64_64))]: Likewise.
58592         [__NR_fadvise64]: Make code unconditional.
58593         [!__NR_fadvise64]: Remove conditional code.
58594         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
58595         <kernel-features.h>.
58596         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
58597         unconditional.
58598         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
58599         conditional code.
58600         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
58601         not include <kernel-features.h>.
58602         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
58603         unconditional.
58604         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
58605         conditional code.
58606         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
58607         include <kernel-features.h>.
58608         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
58609         unconditional.
58610         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
58611         conditional code.
58613 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
58615         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
58616         slight instruction rearrangements per scrollpipe analysis.
58617         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
58619 2012-08-20  Roland McGrath  <roland@hack.frob.com>
58621         * manual/syslog.texi (syslog; vsyslog, closelog):
58622         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
58623         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
58625         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
58626         DSOCAPS to match condition on defining it.
58628 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
58630         * sysdeps/unix/sysv/linux/kernel-features.h
58631         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
58632         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
58633         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
58634         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
58635         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
58636         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
58637         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
58638         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
58639         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
58640         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
58642         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
58643         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
58645         * sysdeps/unix/sysv/linux/kernel-features.h
58646         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
58647         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
58648         unconditional.
58649         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
58650         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
58651         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
58652         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
58653         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
58654         Make code unconditional.
58655         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
58656         (__mmap64) [!__NR_mmap2]: Likewise.
58657         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
58658         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
58659         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
58660         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
58661         [__NR_mmap2]: Make code unconditional.
58662         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
58663         (__mmap64) [!__NR_mmap2]: Likewise.
58665 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
58667         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
58669 2012-08-18  Andreas Jaeger  <aj@suse.de>
58671         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
58673 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
58675         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
58676         * include/unistd.h (__have_sock_cloexec): Likewise.
58677         (__have_pipe2): Likewise.
58678         (__have_dup3): Likewise.
58680 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
58682         [BZ #9685]
58683         * include/unistd.h (__have_pipe2): Change define into an extern int.
58684         (__have_dup3): Likewise.
58685         * socket/have_sock_cloexec.c: Include fcntl.h.
58686         (__have_pipe2): New variable.
58687         (__have_dup3): Likewise.
58689 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
58691         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
58693 2012-08-17  Marek Polacek  <polacek@redhat.com>
58695         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
58696         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
58698 2012-08-17  Roland McGrath  <roland@hack.frob.com>
58700         * configure.in: Add AC_SUBST for sysheaders.
58701         * configure: Regenerated.
58702         * config.make.in (sysheaders): New substituted variable.
58704         * sysdeps/unix/mkfifo.c: Moved ...
58705         * sysdeps/posix/mkfifo.c: ... here.
58706         * sysdeps/unix/mkfifoat.c: Moved ...
58707         * sysdeps/posix/mkfifoat.c: ... here.
58709         * sysdeps/unix/utime.c: Moved ...
58710         * sysdeps/posix/utime.c: ... here.
58712         * sysdeps/unix/time.c: Moved ...
58713         * sysdeps/posix/time.c: ... here.
58714         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
58715         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
58717         * sysdeps/unix/nice.c: Moved ...
58718         * sysdeps/posix/nice.c: ... here.
58720         * sysdeps/unix/alarm.c: Moved ...
58721         * sysdeps/posix/alarm.c: ... here.
58723         * intl/Makefile ($(codeset_mo)): Depend on the input file.
58725 2012-08-17  Jeff Law <law@redhat.com>
58727         * intl/Makefile (codeset_mo): New variable.
58728         ($(codeset_mo)): New target.
58729         (tst-codeset.out): Depend on that.  Remove explicit rule.
58730         (tst-gettext3.out, tst-gettext5.out): Likewise.
58731         (LOCPATH-ENV, tst-codeset-ENV): New variables.
58732         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
58733         * intl/tst-codeset.sh: Remove.
58734         * intl/tst-gettext3.sh: Likewise.
58735         * intl/tst-gettext5.sh: Likewise.
58737 2012-08-17  Roland McGrath  <roland@hack.frob.com>
58739         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
58740         * sysdeps/unix/syscalls.list: ... here.
58742         * sysdeps/posix/getaddrinfo.c
58743         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
58744         (gaiconf_init, gaiconf_reload): Use them.
58745         [!_STATBUF_ST_NSEC]
58746         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
58747         Define using time_t rather than struct timespec.
58749         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
58750         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
58751         Macros removed.
58752         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
58753         [!NO_THREADS].
58754         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
58755         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
58756         Likewise.
58758         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
58759         __libc_cleanup_push argument.
58761         * bits/param.h: New file.
58762         * misc/sys/param.h: New file.
58763         * include/sys/param.h: New file.
58764         * misc/Makefile (headers): Add bits/param.h.
58765         * sysdeps/generic/sys/param.h: File removed.
58766         * sysdeps/unix/sysv/linux/bits/param.h: New file.
58767         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
58768         * sysdeps/mach/hurd/bits/param.h: New file.
58769         * sysdeps/mach/hurd/sys/param.h: File removed.
58771         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
58772         last change.
58774         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
58775         [_IO_MTSAFE_IO].
58776         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
58777         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
58778         New macros.
58780         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
58781         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
58782         rather than -D_IO_MTSAFE_IO conditionally.
58783         * stdio-common/Makefile (CPPFLAGS): Likewise.
58784         * wcsmbs/Makefile (CPPFLAGS): Likewise.
58785         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
58786         Use $(libio-mtsafe).
58787         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
58788         of -D_IO_MTSAFE_IO.
58789         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
58790         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
58791         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
58792         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
58793         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
58794         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
58795         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
58796         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
58797         (CFLAGS-fread_u_chk.c): Likewise.
58798         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
58799         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
58800         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
58801         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
58802         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
58803         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
58804         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
58805         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
58806         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
58808         * libio/Makefile: Test [$(libc-reentrant) = yes]
58809         instead of [$(filter %REENTRANT, $(defines)) nonempty].
58811         * Makeconfig
58812         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
58813         * sysdeps/pthread/configure: File removed.
58814         * sysdeps/pthread/Makeconfig: New file.
58815         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
58816         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
58818 2012-08-16  Gary Benson  <gbenson@redhat.com>
58820         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
58821         unmapping the first object in a namespace.
58823 2012-08-16  Roland McGrath  <roland@hack.frob.com>
58825         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
58826         (__internal_setnetgrent): ... this.  Add internal_function to
58827         definition.  Add libc_hidden_def.
58828         (setnetgrent): Update caller.
58829         (internal_endnetgrent): Renamed to ...
58830         (__internal_endnetgrent): ... this.  Add internal_function to
58831         definition.  Add libc_hidden_def.
58832         (endnetgrent): Update caller.
58833         (internal_getnetgrent_r): Renamed to ...
58834         (__internal_getnetgrent_r): ... this.  Add internal_function to
58835         definition.  Add libc_hidden_def.
58836         (__getnetgrent_r): Update caller.
58837         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
58839 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
58841         * stdlib/longlong.h: Update from GCC.
58843 2012-08-16  Roland McGrath  <roland@hack.frob.com>
58845         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
58846         on _QL, which is set by umul_ppmm but never used.
58847         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
58848         variables, which are set by GMP macros but never used.
58849         * stdio-common/_itowa.c (_itowa): Likewise.
58850         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
58851         * stdlib/mod_1.c (mpn_mod_1): Likewise.
58853 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
58855         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
58856         struct La_sh_regs is not constant.
58857         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
58858         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
58859         and struct La_sparc64_regs are not constant.
58861 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
58863         * sysdeps/unix/sysv/linux/kernel-features.h
58864         (__ASSUME_POSIX_TIMERS): Remove.
58865         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
58866         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
58867         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
58868         Make code unconditional.
58869         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
58870         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
58871         Make code unconditional.
58872         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
58873         * sysdeps/unix/sysv/linux/clock_nanosleep.c
58874         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
58875         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
58876         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
58877         Make code unconditional.
58878         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
58879         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
58880         (__libc_missing_posix_timers): Remove.
58882 2012-08-15  Roland McGrath  <roland@hack.frob.com>
58884         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
58885         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
58887         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
58889         * elf/dl-sym.c: Include <stdlib.h>.
58891         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
58892         constants, which avoids warnings in 32-bit builds.
58894         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
58895         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
58897         * misc/lseek.c: File moved to ...
58898         * io/lseek.c: ... here.
58900         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
58902         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
58903         shifting LEN more than 31 bits at once.
58905 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
58907         [BZ #14195]
58908         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
58909         segmentation fault for a case of two empty input strings.
58910         * string/test-strncasecmp.c (check1): Renamed to...
58911         (bz12205): ...this.
58912         (bz14195): Add new testcase for two empty input strings and N > 0.
58913         (test_main): Call new testcase, adapt for renamed function.
58915 2012-08-15  Andreas Jaeger  <aj@suse.de>
58917         [BZ #14090]
58918         * crypt/md5test2.c: New test, based on test supplied by Serge
58919         Belyshev <belyshev@depni.sinp.msu.ru>.
58920         * crypt/Makefile (xtests): Add md5test-giant..
58921         * crypt/Makefile ($(objpfx)md5test-giant): Add.
58923 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
58925         [BZ #14090]
58926         * crypt/md5.c (md5_process_block): Don't assume the buffer
58927         length is less than 2**32.
58928         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
58929         length is less than 2**64.
58931 2012-08-15  Roland McGrath  <roland@hack.frob.com>
58933         * string/str-two-way.h: Include <sys/param.h>.
58934         (MAX): Macro removed.
58936         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
58937         Move #define and #undef of memmove to just before and after
58938         including <string.h>.
58940         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
58941         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
58942         and after including <string.h>.  Move declarations of
58943         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
58944         to before #include "string/memmove.c".
58946         * include/dirent.h: Declare __getdirentries.
58948         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
58949         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
58951 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
58953         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
58954         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
58955         * sysdeps/i386/configure: Regenerated.
58956         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
58957         STABS_CURRENT_FILE, and STABS_FUN.
58958         (END): Remove call to STABS_FUN_END.
58959         (STABS_CURRENT_FILE1): Delete.
58960         (STABS_CURRENT_FILE): Likewise.
58961         (STABS_FUN): Likewise.
58962         (STABS_FUN_END): Likewise.
58963         (STABS_FUN2): Likewise.
58964         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
58965         * sysdeps/x86_64/configure: Regenerated.
58967 2012-08-14  Roland McGrath  <roland@hack.frob.com>
58969         * elf/dl-open.c: Include <atomic.h>.
58970         * elf/dl-lookup.c: Likewise.
58972 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
58974         * sysdeps/unix/sysv/linux/kernel-features.h
58975         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
58976         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
58977         unconditionally.
58978         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
58979         unconditionally.
58980         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
58981         condition on __ASSUME_CLONE_THREAD_FLAGS.
58983 2012-08-14  Andreas Jaeger  <aj@suse.de>
58985         * sysdeps/i386/fpu/libm-test-ulps: Update.
58987 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
58989         * include/atomic.h (atomic_exchange_and_add): Split into ...
58990         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
58991         New atomic macros.
58993 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
58995         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
58997 2012-08-13  Jeff Law <law@redhat.com>
58999         * manual/stdio.texi (snprintf): Clarify handling of the trailing
59000         null byte in the output string.
59002 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
59004         * sysdeps/unix/sysv/linux/kernel-features.h
59005         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
59006         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
59007         (__ASSUME_ARG_MAX_STACK_BASED): Define.
59008         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
59009         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
59010         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
59011         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
59013 2012-08-09  Jeff Law <law@redhat.com>
59015         [BZ #13939]
59016         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
59017         When avoid_arena is set, don't retry in the that arena.  Pick the
59018         next one, whatever it might be.
59019         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
59020         (arena_lock): Pass in new parameter to arena_get2.
59021         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
59022         arena_get2.
59023         (__libc_malloc): Unify retrying after main arena failure with
59024         __libc_memalign version.
59025         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
59027 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
59029         [BZ #14166]
59030         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
59031         to __redirect_strstr.
59032         (__strstr_sse42): Use typeof __redirect_strstr.
59033         (__strstr_ia32): Likewise.
59034         (__libc_strstr): New prototype.
59035         (strstr): Renamed to ...
59036         (__libc_strstr): This.
59037         (strstr): New strong alias of __libc_strstr.
59038         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
59039         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
59040         __redirect_time.
59041         Include <time.h>.
59042         (__libc_time): New prototype.
59043         (time_ifunc): Replace time with __libc_time.
59044         (time): New strong alias and hidden definition of __libc_time.
59045         (__GI_time): Remove strong alias.
59046         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
59047         Include <stddef.h>.
59048         (memmove): Redefined to __redirect_memmove.
59049         (__memmove_sse2): Use typeof __redirect_memmove.
59050         (__memmove_ssse3): Likewise.
59051         (__memmove_ssse3_back): Likewise.
59052         (__libc_memmove): New prototype.
59053         (memmove): Renamed to ...
59054         (__libc_memmove): This.
59055         (memmove): New strong alias of __libc_memmove.
59057 2012-08-08  Mark Salter  <msalter@redhat.com>
59059         * elf/elf.h
59060         (R_MN10300_TLS_GD): Define.
59061         (R_MN10300_TLS_LD): Likewise.
59062         (R_MN10300_TLS_LDO): Likewise.
59063         (R_MN10300_TLS_GOTIE): Likewise.
59064         (R_MN10300_TLS_IE): Likewise.
59065         (R_MN10300_TLS_LE): Likewise.
59066         (R_MN10300_TLS_DTPMOD): Likewise.
59067         (R_MN10300_TLS_DTPOFF): Likewise.
59068         (R_MN10300_TLS_TPOFF): Likewise.
59069         (R_MN10300_SYM_DIFF): Likewise.
59070         (R_MN10300_ALIGN): Likewise.
59071         (R_MN10300_NUM): Update.
59073 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
59075         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
59076         Remove.
59078 2012-08-08  Roland McGrath  <roland@hack.frob.com>
59080         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
59082         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
59083         sysdeps/unix -> sysdeps/posix move.
59084         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
59086 2012-08-07      Allan McRae     <allan@archlinux.org>
59088         [BZ #14303]
59089         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
59090         (SUNOS_CPP): Likewise.
59091         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
59092         not found.
59093         (open_input): Call CPP using execvp.
59095 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
59097         * sysdeps/unix/sysv/linux/kernel-features.h
59098         (__ASSUME_PROT_GROWSUPDOWN): Remove.
59099         (__ASSUME_NO_CLONE_DETACHED): Likewise.
59100         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
59101         (__ASSUME_WAITID_SYSCALL): Likewise.
59102         * sysdeps/unix/sysv/linux/dl-execstack.c
59103         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
59104         code unconditional.
59105         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
59106         conditional code.
59107         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
59108         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
59109         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
59110         code.
59111         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
59112         unconditional.
59113         [__ASSUME_WAITID_SYSCALL]: Likewise.
59114         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
59116 2012-08-07  Roland McGrath  <roland@hack.frob.com>
59118         * sysdeps/unix/closedir.c: Renamed to ...
59119         * sysdeps/posix/closedir.c: ... here.
59120         * sysdeps/unix/dirfd.c: Renamed to ...
59121         * sysdeps/posix/dirfd.c: ... here.
59122         * sysdeps/unix/dirstream.h: Renamed to ...
59123         * sysdeps/posix/dirstream.h: ... here.
59124         * sysdeps/unix/fdopendir.c: Renamed to ...
59125         * sysdeps/posix/fdopendir.c: ... here.
59126         * sysdeps/unix/opendir.c: Renamed to ...
59127         * sysdeps/posix/opendir.c: ... here.
59128         * sysdeps/unix/readdir.c: Renamed to ...
59129         * sysdeps/posix/readdir.c: ... here.
59130         * sysdeps/unix/readdir_r.c: Renamed to ...
59131         * sysdeps/posix/readdir_r.c: ... here.
59132         * sysdeps/unix/rewinddir.c: Renamed to ...
59133         * sysdeps/posix/rewinddir.c: ... here.
59134         * sysdeps/unix/seekdir.c: Renamed to ...
59135         * sysdeps/posix/seekdir.c: ... here.
59136         * sysdeps/unix/telldir.c: Renamed to ...
59137         * sysdeps/posix/telldir.c: ... here.
59138         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
59139         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
59140         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
59141         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
59143         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
59144         * bits/fcntl.h: ... here.
59146         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
59147         not 0.
59148         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
59149         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
59150         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
59151         (struct flock): Move l_start, l_len to the beginning.
59152         Use __pid_t for l_pid.
59153         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
59154         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
59155         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
59156         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
59157         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
59158         [__USE_LARGEFILE64] (struct flock64): New type.
59159         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
59161         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
59162         * bits/dirent.h: ... here.
59164         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
59165         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
59167 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
59169         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
59170         Change from 2.6.0 to 2.6.16.
59171         * sysdeps/unix/sysv/linux/configure: Regenerated.
59172         * sysdeps/unix/sysv/linux/kernel-features.h
59173         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
59174         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
59175         version.
59176         (__ASSUME_UTIMES): Likewise.
59177         (__ASSUME_CLONE_STOPPED): Remove.
59178         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
59179         architectures, not kernel version.
59180         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
59181         (__ASSUME_NO_CLONE_DETACHED): Likewise.
59182         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
59183         (__ASSUME_WAITID_SYSCALL): Likewise.
59184         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
59185         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
59186         * README: State 2.6.16 as minimum Linux kernel version.  Do not
59187         refer to older versions.
59189 2012-08-06  Roland McGrath  <roland@hack.frob.com>
59191         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
59192         Define alphasort64 as an alias.
59193         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
59194         Define versionsort64 as an alias.
59195         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
59196         Define scandir64 as an alias.
59197         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
59198         Define scandirat64 as an alias.
59199         * dirent/alphasort64.c (alphasort64):
59200         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
59201         * dirent/versionsort64.c: Likewise.
59202         * dirent/scandir64.c: Likewise.
59203         * dirent/scandirat64.c: Likewise.
59204         * sysdeps/wordsize-64/alphasort.c: File removed.
59205         * sysdeps/wordsize-64/alphasort64.c: File removed.
59206         * sysdeps/wordsize-64/scandir.c: File removed.
59207         * sysdeps/wordsize-64/scandir64.c: File removed.
59208         * sysdeps/wordsize-64/scandirat.c: File removed.
59209         * sysdeps/wordsize-64/scandirat64.c: File removed.
59210         * sysdeps/wordsize-64/versionsort.c: File removed.
59211         * sysdeps/wordsize-64/versionsort64.c: File removed.
59212         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
59213         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
59214         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
59215         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
59216         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
59217         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
59218         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
59219         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
59221         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
59222         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
59223         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
59224         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
59225         [defined __arch64__ || defined __sparcv9]
59226         (__INO_T_MATCHES_INO64_T): New macro.
59227         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
59228         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
59229         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
59230         * sysdeps/unix/sysv/linux/bits/dirent.h
59231         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
59232         (_DIRENT_MATCHES_DIRENT64): New macro.
59234         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
59235         Define lockf64 as an alias.
59236         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
59237         Define fseeko64 as an alias.
59238         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
59239         Define ftello64 as an alias.
59240         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
59241         Define _IO_fgetpos64 and fgetpos64 as aliases.
59242         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
59243         Define _IO_fsetpos64 and fsetpos64 as aliases.
59244         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
59245         Conditionalize body on this.
59246         * libio/fseeko64.c: Likewise.
59247         * libio/ftello64.c: Likewise.
59248         * libio/iofgetpos64.c: Likewise.
59249         * libio/iofsetpos64.c: Likewise.
59250         * sysdeps/wordsize-64/lockf.c: File removed.
59251         * sysdeps/wordsize-64/lockf64.c: File removed.
59252         * sysdeps/wordsize-64/fseeko.c: File removed.
59253         * sysdeps/wordsize-64/fseeko64.c: File removed.
59254         * sysdeps/wordsize-64/ftello.c: File removed.
59255         * sysdeps/wordsize-64/ftello64.c: File removed.
59256         * sysdeps/wordsize-64/iofgetpos.c: File removed.
59257         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
59258         * sysdeps/wordsize-64/iofsetpos.c: File removed.
59259         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
59260         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
59261         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
59262         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
59263         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
59264         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
59265         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
59266         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
59267         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
59268         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
59269         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
59271         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
59272         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
59273         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
59274         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
59275         [defined __arch64__ || defined __sparcv9]
59276         (__OFF_T_MATCHES_OFF64_T): New macro.
59277         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
59278         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
59279         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
59280         (__OFF_T_MATCHES_OFF64_T): New macro.
59282 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
59284         * stdlib/secure-getenv.c (__secure_getenv): Replace
59285         GLIBC_2_16 with GLIBC_2_17.
59287 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
59289         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
59290         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
59292 2012-08-03  David S. Miller  <davem@davemloft.net>
59294         * sysdeps/sparc/fpu/libm-test-ulps: Update.
59296 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
59298         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
59299         Remove.
59300         (__ASSUME_CORRECT_SI_PID): Likewise.
59301         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
59302         (__ASSUME_TMPFS_NAME): Likewise.
59303         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
59304         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
59305         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
59306         (HAVE_AUX_SECURE): Make definition unconditional.
59307         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
59308         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
59310 2012-08-03  Roland McGrath  <roland@hack.frob.com>
59312         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
59313         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
59314         * sysdeps/mach/hurd/eloop-threshold.h: New file.
59315         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
59316         __eloop_threshold instead of SYMLOOP_MAX.
59318         * sysdeps/generic/eloop-threshold.h: New file.
59319         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
59320         of MAXSYMLINKS.
59321         * elf/chroot_canon.c (chroot_canon): Likewise.
59323 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
59325         [BZ #13717]
59326         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
59327         Change to 2.6.0 everywhere.
59328         * sysdeps/unix/sysv/linux/configure: Regenerated.
59329         * sysdeps/unix/sysv/linux/kernel-features.h
59330         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
59331         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
59332         kernel versions.
59333         (__ASSUME_POSIX_TIMERS): Define unconditionally.
59334         (__ASSUME_FUTEX_REQUEUE): Remove.
59335         (__ASSUME_STATFS64): Define unconditionally.
59336         (__ASSUME_AT_SECURE): Likewise.
59337         (__ASSUME_CORRECT_SI_PID): Likewise.
59338         (__ASSUME_TGKILL): Define without depending on kernel version for
59339         i386.
59340         (__ASSUME_UTIMES): Likewise.
59341         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
59342         kernel version.
59343         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
59344         (__ASSUME_TMPFS_NAME): Likewise.
59345         * README: Update reference to Linux kernel versions.
59347 2012-08-02  Marek Polacek  <polacek@redhat.com>
59349         [BZ# 14150]
59350         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
59351         libc_cv_asm_type_prefix with %.
59352         * configure: Regenerated.
59353         * include/libc-symbols.h: Remove comment about
59354         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
59355         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
59356         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
59357         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
59358         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
59359         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
59360         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
59361         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
59362         * elf/tst-unique2mod1.c: Likewise.
59363         * elf/tst-unique1mod2.c: Likewise.
59364         * elf/tst-unique1mod1.c: Likewise.
59365         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
59366         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
59367         Replace ASM_TYPE_DIRECTIVE with .type.
59368         * sysdeps/s390/s390-64/sysdep.h: Likewise.
59369         * sysdeps/i386/sysdep.h: Likewise.
59370         * sysdeps/x86_64/sysdep.h: Likewise.
59371         * sysdeps/sh/sysdep.h: Likewise.
59372         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
59373         Do not define ASM_TYPE_DIRECTIVE.
59374         * sysdeps/powerpc/sysdep.h: Likewise.
59375         * sysdeps/powerpc/powerpc32/sysdep.h:
59376         Replace ASM_TYPE_DIRECTIVE with .type.
59377         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
59378         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
59379         * sysdeps/i386/fpu/e_powf.S: Likewise.
59380         * sysdeps/i386/fpu/e_expl.S: Likewise.
59381         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
59382         * sysdeps/i386/fpu/e_acosh.S: Likewise.
59383         * sysdeps/i386/fpu/e_pow.S: Likewise.
59384         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
59385         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
59386         * sysdeps/i386/fpu/s_expm1.S: Likewise.
59387         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
59388         * sysdeps/i386/fpu/e_log2.S: Likewise.
59389         * sysdeps/i386/fpu/e_log2l.S: Likewise.
59390         * sysdeps/i386/fpu/e_scalb.S: Likewise.
59391         * sysdeps/i386/fpu/e_powl.S: Likewise.
59392         * sysdeps/i386/fpu/e_log10f.S: Likewise.
59393         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
59394         * sysdeps/i386/fpu/e_logl.S: Likewise.
59395         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
59396         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
59397         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
59398         * sysdeps/i386/fpu/e_log2f.S: Likewise.
59399         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
59400         * sysdeps/i386/fpu/e_log.S: Likewise.
59401         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
59402         * sysdeps/i386/fpu/e_logf.S: Likewise.
59403         * sysdeps/i386/fpu/e_log10l.S: Likewise.
59404         * sysdeps/i386/fpu/e_atanh.S: Likewise.
59405         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
59406         * sysdeps/i386/fpu/e_log10.S: Likewise.
59407         * sysdeps/i386/fpu/s_frexp.S: Likewise.
59408         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
59409         * sysdeps/i386/fpu/s_asinh.S: Likewise.
59410         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
59411         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
59412         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
59413         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
59414         * sysdeps/i386/i686/strtok.S: Likewise.
59415         * sysdeps/i386/i386-mcount.S: Likewise.
59416         * sysdeps/i386/strtok.S: Likewise.
59417         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
59418         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
59419         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
59420         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
59421         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
59422         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
59423         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
59424         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
59425         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
59426         * sysdeps/x86_64/_mcount.S: Likewise.
59427         * sysdeps/x86_64/strtok.S: Likewise.
59428         * sysdeps/sh/_mcount.S: Likewise.
59430 2012-08-01  Roland McGrath  <roland@hack.frob.com>
59432         * libio/iofopen.c: Include <fcntl.h>.
59433         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
59434         (_IO_fopen64, fopen64): Define as aliases.
59435         * libio/iofopen64.c: Include <fcntl.h>.
59436         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
59437         Conditionalize body on this.
59438         * sysdeps/wordsize-64/iofopen.c: File removed.
59439         * sysdeps/wordsize-64/iofopen64.c: File removed.
59441 2012-08-01  Marek Polacek  <polacek@redhat.com>
59443         * libc/Makeconfig: Use elf in place of binfmt-subdir.
59444         Use dlfcn directly instead of a variable.
59445         (binfmt-subdir): Do not define.
59446         (dlfcn): Likewise.
59448 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
59450         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
59451         Remove all definitions.
59452         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
59453         <kernel-features.h>.
59454         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
59455         (miss_F_GETOWN_EX): Remove all definitions.
59456         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
59457         macro definition.
59458         [!__ASSUME_FCNTL64]: Remove conditional code.
59459         [__ASSUME_FCNTL64]: Make code unconditional.
59460         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
59461         <kernel-features.h>.
59462         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
59463         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
59464         (lockf64) [__NR_fcntl64]: Make code unconditional.
59465         (lockf64) [__ASSUME_FCNTL64]: Likewise.
59467         * sysdeps/unix/sysv/linux/kernel-features.h
59468         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
59469         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
59470         Make code unconditional.
59471         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
59472         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
59473         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
59474         [__NR_vfork]: Make code unconditional.
59475         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
59476         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
59477         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
59478         [__NR_vfork]: Make code unconditional.
59479         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
59480         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
59482 2012-08-01  Roland McGrath  <roland@hack.frob.com>
59484         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
59485         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
59487         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
59488         Define mkstemp64 as an alias.
59489         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
59490         Define mkstemps64 as an alias.
59491         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
59492         Define mkostemp64 as an alias.
59493         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
59494         Define mkostemps64 as an alias.
59495         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
59496         Conditionalize body on this.
59497         * misc/mkostemp64.c: Likewise.
59498         * misc/mkostemps64.c: Likewise.
59499         * misc/mkstemps64.c: Likewise.
59500         * sysdeps/wordsize-64/mkstemp64.c: File removed.
59501         * sysdeps/wordsize-64/mkostemp64.c: File removed.
59502         * sysdeps/wordsize-64/mkostemp.c: File removed.
59503         * sysdeps/wordsize-64/mkstemp.c: File removed.
59504         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
59505         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
59506         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
59507         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
59509         [BZ #14138]
59510         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
59511         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
59512         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
59513         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
59515         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
59516         compat_symbol macros from <shlib-compat.h> rather than the underlying
59517         default_symbol_version and symbol_version macros, so that DEFAULT
59518         lines in shlib-versions are respected.
59519         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
59521 2012-08-01  Florian Weimer  <fweimer@redhat.com>
59523         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
59524         Declare with warn_unused_result.
59525         (setgid, setregid, setegid, setresgid): Likewise.
59526         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
59527         Likewise.
59528         * WUR-REPORT: Remove set*id functions.
59530 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
59532         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
59534 2012-07-31  Roland McGrath  <roland@hack.frob.com>
59536         [BZ #10191]
59537         * include/sys/socket.h (__libc_accept, __libc_accept4):
59538         Add attribute_hidden.
59539         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
59541         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
59542         use of PTR_MANGLE.
59543         * inet/getnetgrent_r.c (setup): Likewise.
59545         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
59547 2012-07-31  David S. Miller  <davem@davemloft.net>
59549         * sysdeps/sparc/fpu/libm-test-ulps: Update.
59551 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
59553         [BZ #13629]
59554         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
59555         value between 1.0 and 2.0 and smaller part has absolute value less
59556         than 1.0.
59557         * math/s_clog10.c (__clog10): Likewise.
59558         * math/s_clog10f.c (__clog10f): Likewise.
59559         * math/s_clog10l.c (__clog10l): Likewise.
59560         * math/s_clogf.c (__clogf): Likewise.
59561         * math/s_clogl.c (__clogl): Likewise.
59562         * math/libm-test.inc (clog_test): Add more tests.
59563         (clog10_test): Likewise.
59564         * sysdeps/i386/fpu/libm-test-ulps: Update.
59565         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
59567 2012-07-31  Florian Weimer  <fweimer@redhat.com>
59569         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
59570         Exit with zero in case no suitable GID is found, and write a
59571         message to standard error.
59573 2012-07-30  Roland McGrath  <roland@hack.frob.com>
59575         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
59576         rather than to 1.
59577         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
59578         (MAXPATHLEN): Removed.
59579         (NOGROUP, NODEV): New macros.
59580         (setbit, clrbit, isset, isclr): New macros.
59581         (howmany, roundup, powerof2): New macros.
59582         (DEV_BSIZE): New macro.
59584         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
59585         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
59587         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
59588         definition on [!__NO_LONG_DOUBLE_MATH].
59590         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
59591         PTR_MANGLE and PTR_DEMANGLE.
59593         * socket/accept4.c (accept4): Rename to __libc_accept4.
59594         Define accept4 as a weak alias.
59596         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
59597         on [_DIRENT_HAVE_D_TYPE].
59598         * io/ftw.c (ftw_dir): Likewise.
59600         * io/xmknod.c (__xmknod): Don't check PATH for being null.
59602         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
59604         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
59605         Use the BSD numbers rather than the arbitrary ones we had.
59606         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
59607         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
59608         (SIGXCPU, SIGXFSZ): New macros.
59609         (_NSIG): Now 32.
59611         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
59612         initializer on [_LIBC_REENTRANT].
59614         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
59615         definitions inside [_POSIX_MAPPED_FILES].
59617         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
59619         * dirent/opendir.c: Include <fcntl.h>.
59621         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
59622         (__libc_getspecific): Likewise.
59623         (__libc_key_create): Likewise.
59625         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
59626         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
59627         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
59628         (tmpfile64): Define as alias.
59629         * sysdeps/wordsize-64/tmpfile.c: File removed.
59630         * sysdeps/wordsize-64/tmpfile64.c: File removed.
59631         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
59632         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
59634         * stdio-common/vfscanf.c: Include <stdbool.h>.
59635         * nss/makedb.c: Likewise.
59636         * stdio-common/_i18n_number.h: Likewise.
59637         * argp/argp-help.c: Likewise.
59638         * posix/wordexp.c: Likewise.
59639         * sysdeps/posix/spawni.c: Likewise.
59640         * nss/nss_files/files-initgroups.c: Likewise.
59641         * stdio-common/reg-modifier.c: Include <stdlib.h>.
59642         * nss/nss_files/files-initgroups.c: Likewise.
59643         * nss/nss_db/db-netgrp.c: Likewise.
59644         * nss/nss_db/db-initgroups.c: Likewise.
59645         * io/fchmodat.c: Include <sys/stat.h>.
59647         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
59648         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
59650         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
59651         [HAVE_MMAP].
59653         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
59654         Add multiple inclusion protection.
59656 2012-07-27  David S. Miller  <davem@davemloft.net>
59658         * sysdeps/sparc/fpu/libm-test-ulps: Update.
59660 2012-07-27  Gary Benson  <gbenson@redhat.com>
59662         [BZ #14298]
59663         * elf/rtld.c: Include <stap-probe.h>.
59664         (dl_main): Added static probes "init_start" and "init_complete".
59665         * elf/dl-load.c: Include <stap-probe.h>.
59666         (lose): Take new parameter "nsid".
59667         Added static probe "map_failed".
59668         (_dl_map_object_from_fd): Pass namespace id to lose.
59669         Added static probe "map_start".
59670         (open_verify): Pass namespace id to lose.
59671         * elf/dl-open.c: Include <stap-probe.h>.
59672         (dl_open_worker) Added static probes "map_complete", "reloc_start"
59673         and "reloc_complete".
59674         * elf/dl-close.c: Include <stap-probe.h>.
59675         (_dl_close_worker): Added static probes "unmap_start" and
59676         "unmap_complete".
59677         * elf/rtld-debugger-interface.txt: New file documenting the above.
59679 2012-07-26  Roland McGrath  <roland@hack.frob.com>
59681         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
59682         rather than a string variable.
59683         * sunrpc/rpc_main.c (h_output): Likewise.
59684         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
59686 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
59688         * inet/check_native.c: New file.
59690 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
59692         [BZ #13629]
59693         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
59694         if larger part has absolute value 1.0.
59695         * math/s_clog10.c (__clog10): Likewise.
59696         * math/s_clog10f.c (__clog10f): Likewise.
59697         * math/s_clog10l.c (__clog10l): Likewise.
59698         * math/s_clogf.c (__clogf): Likewise.
59699         * math/s_clogl.c (__clogl): Likewise.
59700         * math/libm-test.inc (clog_test): Add more tests.
59701         (clog10_test): Likewise.
59702         * sysdeps/i386/fpu/libm-test-ulps: Update.
59703         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
59705         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
59706         (pltexit): Likewise.
59707         (La_regs): Likewise.
59708         (La_retval): Likewise.
59709         (int_retval): Likewise.
59710         Update #error for removed macros to refer only to definitions in
59711         tst-audit.h.
59712         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
59713         macro.
59714         (pltexit): Likewise.
59715         (La_regs): Likewise.
59716         (La_retval): Likewise.
59717         (int_retval): Likewise.
59718         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
59719         macro.
59720         (pltexit): Likewise.
59721         (La_regs): Likewise.
59722         (La_retval): Likewise.
59723         (int_retval): Likewise.
59724         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
59725         macro.
59726         (pltexit): Likewise.
59727         (La_regs): Likewise.
59728         (La_retval): Likewise.
59729         (int_retval): Likewise.
59730         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
59731         macro.
59732         (pltexit): Likewise.
59733         (La_regs): Likewise.
59734         (La_retval): Likewise.
59735         (int_retval): Likewise.
59736         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
59737         macro.
59738         (pltexit): Likewise.
59739         (La_regs): Likewise.
59740         (La_retval): Likewise.
59741         (int_retval): Likewise.
59742         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
59743         macro.
59744         (pltexit): Likewise.
59745         (La_regs): Likewise.
59746         (La_retval): Likewise.
59747         (int_retval): Likewise.
59748         * sysdeps/generic/tst-audit.h: Update comment to refer only to
59749         macro definitions in tst-audit.h.
59750         * sysdeps/i386/tst-audit.h: New file.
59751         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
59752         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
59753         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
59754         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
59755         * sysdeps/sh/tst-audit.h: Likewise.
59756         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
59757         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
59758         * sysdeps/x86_64/tst-audit.h: Likewise.
59760 2012-07-26  Andreas Jaeger  <aj@suse.de>
59762         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
59763         ptrace.
59765         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
59766         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
59767         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
59768         PTRACE_O_MASK.
59769         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
59770         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
59771         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
59773         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
59774         value.
59776         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
59777         _sigsys.
59778         (si_call_addr, si_syscall, si_arch): Define new macro.
59779         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
59780         _sigsys.
59781         (si_call_addr, si_syscall, si_arch): Define new marcro.
59782         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
59783         _sigsys.
59784         (si_call_addr, si_syscall, si_arch): Define new macro.
59785         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
59786         _sigsys.
59787         (si_call_addr, si_syscall, si_arch): Define new macro.
59789 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
59791         [BZ #13717]
59792         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
59793         Change to 2.4.21 where previously 2.4.1.
59794         * sysdeps/unix/sysv/linux/configure: Regenerated.
59795         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
59796         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
59797         Linux kernel version.
59798         (__ASSUME_STD_AUXV): Remove.
59799         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
59800         kernel version.
59801         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
59802         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
59803         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
59804         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
59805         (__ASSUME_NETLINK_SUPPORT): Likewise.
59806         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
59807         (__no_netlink_support): Remove conditional definition.
59808         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
59809         Remove.
59810         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
59811         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
59812         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
59813         (if_nameindex_ioctl): Remove.
59814         (if_nameindex_netlink): Do not handle __no_netlink_support.
59815         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
59816         code.
59817         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
59818         Remove conditional code.
59819         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
59820         code.
59821         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
59822         unconditional.
59823         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
59824         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
59825         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
59826         Remove.
59827         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
59828         [!__ASSUME_STD_AUXV]: Remove conditional code.
59829         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
59830         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
59831         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
59832         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
59833         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
59834         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
59835         code.
59836         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
59837         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
59838         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
59839         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
59840         conditional code.
59841         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
59842         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
59843         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
59844         code.
59845         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
59846         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
59847         conditional code.
59848         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
59849         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
59850         code unconditional.
59851         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
59852         conditional code.
59853         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
59854         unconditional.
59855         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
59856         conditional code.
59857         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
59858         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
59859         unconditional.
59860         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
59861         conditional code.
59862         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
59863         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
59864         code unconditional.
59865         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
59866         conditional code.
59867         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
59868         unconditional.
59869         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
59870         conditional code.
59871         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
59872         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
59873         code unconditional.
59874         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
59875         conditional code.
59876         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
59877         unconditional.
59878         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
59879         conditional code.
59881 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
59883         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
59884         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
59885         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
59886         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
59887         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
59888         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
59889         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
59890         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
59891         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
59892         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
59893         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
59894         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
59895         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
59896         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
59897         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
59898         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
59899         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
59900         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
59901         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
59902         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
59903         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
59904         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
59905         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
59907 2012-07-25  Florian Weimer  <fweimer@redhat.com>
59909         * Versions.def: Add GLIBC_2.17.
59910         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
59911         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
59912         Introduce __libc_secure_getenv.
59913         * stdlib/Versions (2.17): Add secure_getenv
59914         (GLIBC_PRIVATE): Add __libc_secure_getenv.
59915         * stdlib/secure-getenv.c: Rename __secure_getenv to
59916         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
59917         symbol __secure_getenv for GLIBC_2.0.
59918         * stdlib/tst-secure-getenv.c: New.
59919         * stdlib/Makefile (tests): Add testcase.
59920         * manual/startup.texi (Environment Access): Document
59921         secure_getenv.
59922         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
59923         __libc_secure_getenv.
59924         * inet/ruserpass.c (ruserpass): Likewise.
59925         * malloc/mtrace.c (mtrace): Likewise.
59926         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
59927         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
59928         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
59929         * sysdeps/posix/tempname.c: Likewise.  Evaluate
59930         HAVE_SECURE_GETENV.
59931         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
59932         __secure_getenv to __libc_secure_getenv.
59933         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
59934         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
59935         Likewise.
59936         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
59937         Likewise.
59938         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
59939         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
59940         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
59941         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
59942         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
59943         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
59944         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
59946 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
59948         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
59949         (struct La_i86_retval): Likewise.
59950         (struct La_x86_64_regs): Likewise.
59951         (struct La_x86_64_retval): Likewise.
59952         (struct La_x32_regs): Likewise.
59953         (struct La_x32_retval): Likewise.
59954         (struct La_ppc32_regs): Likewise.
59955         (struct La_ppc32_retval): Likewise.
59956         (struct La_ppc64_regs): Likewise.
59957         (struct La_ppc64_retval): Likewise.
59958         (struct La_sh_regs): Likewise.
59959         (struct La_sh_retval): Likewise.
59960         (struct La_s390_32_regs): Likewise.
59961         (struct La_s390_32_retval): Likewise.
59962         (struct La_s390_64_regs): Likewise.
59963         (struct La_s390_64_retval): Likewise.
59964         (struct La_sparc32_regs): Likewise.
59965         (struct La_sparc32_retval): Likewise.
59966         (struct La_sparc64_regs): Likewise.
59967         (struct La_sparc64_retval): Likewise.
59968         (struct audit_ifaces): Remove architecture-specific pltenter and
59969         pltexit members.
59970         * sysdeps/i386/ldsodefs.h: New file.
59971         * sysdeps/powerpc/ldsodefs.h: Likewise.
59972         * sysdeps/s390/ldsodefs.h: Likewise.
59973         * sysdeps/sh/ldsodefs.h: Likewise.
59974         * sysdeps/sparc/ldsodefs.h: Likewise.
59975         * sysdeps/x86_64/ldsodefs.h: Likewise.
59977 2012-07-25  Marek Polacek  <polacek@redhat.com>
59979         [BZ #6808]
59980         * math/libm-test.inc (yn_test): Add another test.
59981         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
59982         to ERANGE when the result is +-Inf.
59983         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
59984         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
59985         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
59986         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
59988 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
59990         * conform/data/time.h-data (NULL): Use macro-constant.  Require
59991         equal to 0.
59992         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
59993         clock_t.
59994         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
59996 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
59998         * configure.in <sysdeps resolving>: Correct printing
59999         Implies_before.
60000         * configure: Regenerate.
60002 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
60004         * math/w_ilogb.c: Include <limits.h>.
60005         * math/w_ilogbl.c: Likewise.
60007 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
60009         * manual/lang.texi (__va_copy): Document primarily as ISO C99
60010         va_copy.  Document allowing for unavailable va_copy only as
60011         pre-C99 compatibility.
60012         * manual/string.texi (Copying and Concatenation): Use va_copy
60013         instead of __va_copy in concat example.
60015 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
60017         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
60018         (__sendto): Use create_address_port.  Initialize APORT and deallocate
60019         it if not null.
60021         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
60022         with O_NOLINK passed to __file_name_lookup.
60024         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
60025         with O_NOLINK passed to __file_name_lookup.
60027         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
60028         negative N or less than NGIDS.
60030         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
60031         type to string_t.  Set ERANGE as errno and return it if NAME is not big
60032         enough.  Use memcpy instead of strncpy.
60034 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
60036         * elf/Makefile (check-data): Remove.
60037         (localplt.data): New vpath directive.
60038         ($(objpfx)check-localplt.out): Use localplt.data from vpath
60039         instead of $(check-data).
60040         * scripts/data/localplt-generic.data: Move to ...
60041         * sysdeps/generic/localplt.data: ... here.
60042         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
60043         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
60044         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
60045         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
60046         ... here.
60047         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
60048         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
60049         ... here.
60050         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
60051         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
60052         ... here.
60053         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
60054         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
60055         ... here.
60056         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
60057         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
60058         ... here.
60059         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
60060         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
60061         ... here.
60063 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
60065         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
60066         PPC32 and PPC64 files.
60067         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
60068         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
60070 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
60072         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
60073         __makecontext_ret to ...
60074         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
60075         ... here and call exit if uc_link is NULL.  New file.
60076         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
60077         __makecontext_ret.S.
60078         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
60079         __makecontext_ret to ...
60080         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
60081         ... here and call exit if uc_link is NULL.  New file.
60082         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
60083         __makecontext_ret.S.
60085 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
60087         * elf/elf.h (R_390_IRELATIVE): New definition.
60088         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
60089         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
60090         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
60091         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
60092         (elf_machine_lazy_rel): Likewise.
60093         * sysdeps/s390/dl-irel.h: New file.
60094         * sysdeps/s390/s390-64/memcpy.S: New asm code.
60095         * sysdeps/s390/s390-64/memset.S: New asm code.
60096         * sysdeps/s390/s390-64/memcmp.S: New asm code.
60097         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
60098         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
60099         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
60100         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
60101         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
60102         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
60103         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
60104         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
60105         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
60106         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
60107         * sysdeps/s390/s390-32/memcpy.S: New asm code.
60108         * sysdeps/s390/s390-32/memset.S: New asm code.
60109         * sysdeps/s390/s390-32/memcmp.S: New asm code.
60111 2012-07-17  Marek Polacek  <polacek@redhat.com>
60113         [BZ #14349]
60114         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
60115         * sysdeps/s390/s390-64/configure.in: Likewise.
60116         * sysdeps/sparc/configure.in: Likewise.
60117         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
60118         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
60119         * sysdeps/i386/configure.in: Likewise.
60120         * sysdeps/x86_64/configure.in: Likewise.
60121         * sysdeps/sh/configure.in: Likewise.
60122         * sysdeps/s390/s390-32/configure: Regenerated.
60123         * sysdeps/s390/s390-64/configure: Likewise.
60124         * sysdeps/x86_64/configure: Likewise.
60125         * sysdeps/sh/configure: Likewise.
60126         * sysdeps/powerpc/powerpc64/configure: Likewise.
60127         * sysdeps/powerpc/powerpc32/configure: Likewise.
60128         * sysdeps/sparc/configure: Likwise.
60129         * sysdeps/i386/configure: Likewise.
60131         * elf/dl-open.c: Comment fixes.
60133 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
60135         * Makefile [CXX] (check-data): Remove.
60136         [CXX] (c++-types.data): New vpath directive.
60137         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
60138         vpath.  Do not allow for C++ type data being missing.
60139         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
60140         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
60141         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
60142         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
60143         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
60144         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
60145         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
60146         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
60147         ... here.
60148         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
60149         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
60150         ... here.
60151         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
60152         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
60153         ... here.
60154         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
60155         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
60156         ... here.
60157         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
60158         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
60159         ... here.
60160         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
60161         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
60162         ... here.
60163         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
60164         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
60165         ... here.
60166         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
60167         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
60169         * elf/tls-macros.h (TLS_LE): Move architecture-specific
60170         definitions to architecture-specific files.
60171         (TLS_IE): Likewise.
60172         (TLS_LD): Likewise.
60173         (TLS_GD): Likewise.
60174         * sysdeps/i386/tls-macros.h: New file.
60175         * sysdeps/powerpc/tls-macros.h: Likewise.
60176         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
60177         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
60178         * sysdeps/sh/tls-macros.h: Likewise.
60179         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
60180         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
60181         * sysdeps/x86_64/tls-macros.h: Likewise.
60183 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
60185         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
60186         zero value for regular exit case.
60188         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
60189         (__start_context): Preserve zero value for regular exit case.
60191 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
60192             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
60194         * manual/setjmp.texi (setcontext): Clarify normal process
60195         termination when uc_link is the null pointer.
60196         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
60197         exit call.
60199 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
60201         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
60202         preprocessor.  Test for each exception mask separately.
60204 2012-07-16  Andreas Jaeger  <aj@suse.de>
60206         * po/ru.po: Update from translation team.
60208 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
60210         * conform/data/string.h-data (NULL): Use macro-constant.  Require
60211         equal to 0.
60212         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
60213         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
60214         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
60215         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
60216         [ISO || ISO99 || ISO11] (*_t): Do not allow.
60218 2012-07-13  Andreas Jaeger  <aj@suse.de>
60220         * po/fr.po: Update from translation team.
60222 2012-07-12  Marek Polacek  <polacek@redhat.com>
60224         [BZ #14173]
60225         * math/libm-test.inc (yn_test): Add test for BZ #14173.
60226         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
60227         loop condition.
60229 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
60231         [BZ #13717]
60232         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
60233         Change to 2.4.1 where previously 2.4.0.
60234         * sysdeps/unix/sysv/linux/configure: Regenerated.
60235         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
60236         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
60237         version.
60238         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
60239         (__ASSUME_AT_CLKTCK): Remove.
60240         (__ASSUME_AT_PAGESIZE): Likewise.
60241         (__ASSUME_AT_XID): Likewise.
60242         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
60243         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
60244         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
60245         unconditionally.
60246         (HAVE_AUX_PAGESIZE): Likewise.
60247         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
60248         [__ASSUME_AT_CLKTCK]: Make code unconditional.
60249         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
60251 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
60253         [BZ #14307]
60254         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
60255         the temporary buffer used to invoke __gethostbyname2_r,
60256         __gethostbyaddr_r and gethostbyname4_r to make room for struct
60257         host_data / struct gaih_addrtuple.
60258         * resolv/nss_dns/dns-host.c (global scope): Move definition of
60259         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
60260         header file nss/nsswitch.h.
60261         * nss/nsswitch.h (global scope): Add definition of implementation
60262         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
60263         resolv/nss_dns/dns-host.c).
60265 2012-07-11  Andreas Jaeger  <aj@suse.de>
60267         * po/fr.po: Update from translation team.
60269         * po/sv.po: Update from translation team
60270         * po/fr.po: Another update from translation team.
60272 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
60274         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
60275         for subnormals or multiply small sinh result by itself.
60276         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
60277         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
60279 2012-07-11  David S. Miller  <davem@davemloft.net>
60281         * sysdeps/sparc/fpu/libm-test-ulps: Update.
60283 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
60285         [BZ #14347]
60286         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
60287         (INTERNAL_MARK): Shift it here.
60289 2012-07-10  Marek Polacek  <polacek@redhat.com>
60291         [BZ #14151]
60292         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
60293         libc_cv_asm_global_directive with .globl.
60294         * configure: Regenerated.
60295         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
60296         with .globl.
60297         * sysdeps/i386/configure: Regenerated.
60298         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
60299         with .globl.
60300         * sysdeps/x86_64/configure: Regenerated.
60301         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
60302         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
60303         * elf/tst-unique2mod2.c: Likewise.
60304         * elf/tst-unique2mod1.c: Likewise.
60305         * elf/tst-unique1mod2.c: Likewise.
60306         * elf/tst-unique1mod1.c: Likewise.
60307         * sysdeps/s390/s390-32/sysdep.h: Likewise.
60308         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
60309         * sysdeps/s390/s390-64/sysdep.h: Likewise.
60310         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
60311         * sysdeps/mach/sysdep.h: Likewise.
60312         * sysdeps/i386/sysdep.h: Likewise.
60313         * sysdeps/i386/i386-mcount.S: Likewise.
60314         * sysdeps/x86_64/_mcount.S: Likewise.
60315         * sysdeps/x86_64/sysdep.h: Likewise.
60316         * sysdeps/sh/_mcount.S: Likewise.
60317         * sysdeps/sh/sysdep.h: Likewise.
60318         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
60319         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
60320         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
60321         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
60322         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
60323         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
60324         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
60325         * locale/localeinfo.h: Likewise.
60326         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
60327         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
60329 2012-07-09  Roland McGrath  <roland@hack.frob.com>
60331         [BZ #14336]
60332         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
60333         system".
60334         * manual/message.texi (The Uniforum approach): Likewise.
60335         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
60336         (glibc iconv Implementation): Likewise.
60338 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
60340         [BZ #14337]
60341         * math/s_clog.c (__clog): Avoid scaling a value down where that
60342         could result in underflow.
60343         * math/s_clog10.c (__clog10): Likewise.
60344         * math/s_clog10f.c (__clog10f): Likewise.
60345         * math/s_clog10l.c (__clog10l): Likewise.
60346         * math/s_clogf.c (__clogf): Likewise.
60347         * math/s_clogl.c (__clogl): Likewise.
60348         * math/libm-test.inc (clog_test): Add more tests.
60349         (clog10_test): Likewise.
60350         * sysdeps/i386/fpu/libm-test-ulps: Update.
60351         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60353 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
60355         [BZ #14283]
60356         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
60357         by 7 not 8 to examine high bit of fractional part.
60359         [BZ #14042]
60360         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
60361         for call to __mcount_internal.
60362         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
60363         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
60364         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
60366 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
60368         [BZ #14154]
60369         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
60370         approximation for values within 0x1p-13f of an odd multiple of
60371         pi/4.
60372         * math/libm-test.inc (tan_test): Do not allow spurious underflow
60373         exception.  Add more tests.
60374         * sysdeps/i386/fpu/libm-test-ulps: Update.
60376         [BZ #6778]
60377         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
60378         inputs and return -1 for them.  Do not check for +Inf in case not
60379         reachable for +Inf.
60380         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
60381         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
60382         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
60383         and return -1 for them.  Do not check for +Inf in case not
60384         reachable for +Inf.
60385         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
60386         define.
60387         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
60388         and return -1 for them.  Do not check for +Inf in case not
60389         reachable for +Inf.
60390         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
60391         spurious underflow.
60392         * sysdeps/i386/fpu/libm-test-ulps: Update.
60393         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60395 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
60397         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
60399 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
60401         [BZ #14157]
60402         [BZ #14331]
60403         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
60404         could result in spurious underflow.  Scale down values above
60405         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
60406         * math/s_csqrtf.c (__csqrtf): Likewise.
60407         * math/s_csqrtl.c (__csqrtl): Likewise.
60408         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
60409         spurious underflow.
60410         * sysdeps/i386/fpu/libm-test-ulps: Update.
60411         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60413 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
60415         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
60416         xopen-msg.sed.
60417         * catgets/xopen-msg.awk: New file.
60418         * catgets/xopen-msg.sed: Removed.
60420         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
60421         po2text.sed.
60422         * intl/po2test.awk: New file.
60423         * intl/po2test.sed: Removed.
60425 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
60427         [BZ #14328]
60428         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
60429         or multiply small sinh result by itself.
60430         * math/s_ctanf.c (__ctanf): Likewise.
60431         * math/s_ctanh.c (__ctanh): Likewise.
60432         * math/s_ctanhf.c (__ctanhf): Likewise.
60433         * math/s_ctanhl.c (__ctanhl): Likewise.
60434         * math/s_ctanl.c (__ctanl): Likewise.
60435         * math/libm-test.inc (ctan_test_tonearest): New function.
60436         (ctan_test_towardzero): Likewise.
60437         (ctan_test_downward): Likewise.
60438         (ctan_test_upward): Likewise.
60439         (ctanh_test_tonearest): Likewise.
60440         (ctanh_test_towardzero): Likewise.
60441         (ctanh_test_downward): Likewise.
60442         (ctanh_test_upward): Likewise.
60443         (main): Call these new functions.
60444         * sysdeps/i386/fpu/libm-test-ulps: Update.
60445         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60447 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
60449         * .gitignore: Delete /ports entry.
60451 2012-07-03  Andreas Jaeger  <aj@suse.de>
60453         * po/bg.po: Update from translation team.
60454         * po/cs.po: Likewise.
60455         * po/de.po: Likewise.
60456         * po/hr.po: Likewise.
60457         * po/nl.pl: Likewise.
60458         * po/pl.po: Likewise.
60459         * po/vi.po: Likewise.
60461 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
60463         * Makeconfig [!+link] (+link-before-libc): New variable.
60464         [!+link] (+link-after-libc): Likewise.
60465         [!+link] (+link-tests): Likewise.
60466         [!+link] (+link): Define in terms of $(+link-before-libc) and
60467         $(+link-after-libc).
60468         [!+link-static] (+link-static-before-libc): New variable.
60469         [!+link-static] (+link-static-after-libc): Likewise.
60470         [!+link-static] (+link-static-tests): Likewise.
60471         [!+link-static] (+link-static): Define in terms of
60472         $(+link-static-before-libc) and $(+link-static-after-libc).
60473         [build-shared] (link-libc-before-gnulib): New variable.
60474         [build-shared] (link-libc-tests): Likewise.
60475         [build-shared] (link-libc): Define in terms of
60476         $(link-libc-before-gnulib).
60477         [!build-shared] (link-libc-tests): New variable.
60478         (link-libc-static-tests): New variable.
60479         [!gnulib] (gnulib-arch): New variable.
60480         [!gnulib] (gnulib-tests): Likewise.
60481         [!gnulib] (static-gnulib-arch): Likewise.
60482         [!gnulib] (static-gnulib-tests): Likewise.
60483         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
60484         Define with "=" instead of ":=".
60485         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
60486         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
60487         * Rules (binaries-all-notests): New variable.
60488         (binaries-all-tests): Likewise.
60489         (binaries-static-notests): Likewise.
60490         (binaries-static-tests): Likewise.
60491         (binaries-all): Define using $(binaries-all-notests) and
60492         $(binaries-all-tests).
60493         (binaries-static): Define using $(binaries-static-notests) and
60494         $(binaries-static-tests).
60495         (binaries-shared-tests): New variable.
60496         (binaries-shared-notests): Likewise.
60497         (binaries-shared): Remove variable.
60498         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
60499         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
60500         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
60501         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
60502         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
60503         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
60504         * elf/Makefile (sln-modules): New variable.
60505         (extra-objs): Add $(sln-modules:=.o).
60506         (ldconfig-modules): Add static-stubs.
60507         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
60508         * elf/static-stubs.c: New file.
60510         [BZ #14283]
60511         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
60512         by 7 not 8 to examine high bit of fractional part.  Use volatile
60513         variables when splitting into final array of floats if
60514         __FLT_EVAL_METHOD__ != 0.
60515         * math/libm-test.inc (cos_test): Add another test.
60516         (sin_test): Likewise.
60517         * sysdeps/i386/fpu/libm-test-ulps: Update.
60519         [BZ #14273]
60520         * math/libm-test.inc (cosh_test): Add more tests.
60522         * version.h (RELEASE): Set to "development".
60523         (VERSION): Set to "2.16.90".
60525 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
60527         * NEWS: Update copyright. Remove last-updated date.
60528         Mention math library bug fixes and timezone data changes.
60529         * README: Mention GNU/Hurd, x32, and HPPA support status.
60531 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
60533         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
60535 2012-06-27  Andreas Jaeger  <aj@suse.de>
60537         * manual/contrib.texi (Contributors): Add Samuel Thibault.
60539 2012-06-25  Andreas Jaeger  <aj@suse.de>
60541         * sysdeps/s390/fpu/libm-test-ulps: Update.
60543 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
60544             Thomas Schwinge  <thomas@codesourcery.com>
60546         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
60547         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
60548         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
60549         fanotify_mark.
60551 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
60553         * sysdeps/mach/start.c: Remove file.
60554         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
60555         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
60556         * sysdeps/sh/init-first.c: Likewise.
60558         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
60559         registers for frame unwinding purposes, add CFI directives.
60560         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
60561         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise.
60562         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
60563         Likewise.
60565         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
60566         __fortify_fail returning.
60567         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
60569         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
60570         sysdeps/sh/____longjmp_chk.S.
60571         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
60572         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
60573         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
60574         (gen-as-const-headers): Append sigaltstack-offsets.sym.
60576         * sysdeps/sh/abort-instr.h: New file.
60577         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
60578         process in case exit returns.
60580         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
60581         initialize the GOT register before use.
60583         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
60584         calculation of ARGC > 4.
60586         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
60587         meaningful names to some local labels.
60589 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
60590             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
60592         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
60593         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
60594         (__arch_compare_and_exchange_val_16_acq): Likewise.
60595         (__arch_compare_and_exchange_val_32_acq): Likewise.
60596         (atomic_exchange_and_add): Fix gUSA sequence.
60597         (atomic_add): Likewise.
60598         (atomic_add_negative): Likewise.
60599         (atomic_add_zero): Likewise.
60600         (atomic_bit_test_set): Likewise.
60602 2012-06-22  Andreas Schwab  <schwab@redhat.com>
60604         [BZ #13579]
60605         * include/link.h (struct link_map): Add l_free_initfini.
60606         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
60607         l_initfini.
60608         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
60609         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
60610         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
60611         set.
60613 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
60615         * configure.in: Use AC_LANG_SOURCE.
60616         * configure: Regenerate.
60618 2012-06-22  Roland McGrath  <roland@hack.frob.com>
60620         * configure.in (libc_cv_localstatedir): New substituted variable.
60621         * configure: Regenerated.
60622         * config.make.in (localstatedir): New variable, substituted from
60623         libc_cv_localstatedir.
60624         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
60625         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
60626         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
60627         * sysdeps/gnu/configure: Regenerated.
60629 2012-06-21  Jeff Law  <law@redhat.com>
60631         [BZ #14277]
60632         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
60633         free.  Simplify list management for _LIBC case.
60635 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
60637         [BZ #14273]
60638         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
60639         Clear sign bit of 64-bit integer value before comparing against
60640         overflow value.
60642         * sysdeps/mach/configure: Regenerated.
60644 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
60646         [BZ #14278]
60647         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
60649 2012-06-21  Jeff Law  <law@redhat.com>
60651         [BZ #13882]
60652         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
60653         uint16_t for elements in the "seen" array to avoid char overflows.
60654         * elf/dl-fini.c (_dl_sort_fini): Likewise.
60655         * elf/dl-open.c (dl_open_worker): Likewise.
60657 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
60659         * scripts/list-sources.sh: Scan PORTS for translations.
60660         * po/libc.pot: Regenerated.
60662 2012-06-21  Andreas Jaeger  <aj@suse.de>
60664         [BZ #12194]
60665         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
60666         warning.
60667         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
60668         * bits/byteswap-16.h (__bswap_16): Likewise.
60669         * bits/byteswap.h (__bswap_constant_16): Likewise.
60671 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
60673         [BZ #14117]
60674         * sysdeps/i386/fpu_control.h: Removed.
60675         * sysdeps/x86_64/fpu_control.h: Moved to ...
60676         * sysdeps/x86/fpu_control.h: Here.
60678         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
60679         (_FPU_SETCW): Likewise.
60681 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
60683         [BZ #14117]
60684         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
60685         * sysdeps/x86/fpu/bits/mathinline.h: This.
60686         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
60688         [BZ #14050]
60689         [BZ #14117]
60690         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
60691         functions if __x86_64__ is defined.
60693 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
60695         * string/endian.h: Add !__ASSEMBLER__ condition for including
60696         conversion interfaces.
60698 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
60700         [BZ #14241]
60701         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
60702         of ABS(x) in calculating zero to negative powers other than odd
60703         integers.
60704         * math/libm-test.inc (pow_test): Add more tests.
60706 2012-06-15  Andreas Jaeger  <aj@suse.de>
60708         * manual/contrib.texi (Contributors): Update entry of Liubov
60709         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
60710         Machado Filho.
60712 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
60714         * string/string.h: Add __wur to GNU version of strerror_r.
60716 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
60718         [BZ #14229]
60719         * string/Makefile (tests): Add tst-strtok_r.
60720         * string/tst-strtok_r.c: New file.
60721         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
60722         RAX_LP/RDX_LP on SAVE_PTR.
60724 2012-06-14  Roland McGrath  <roland@hack.frob.com>
60726         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
60728 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
60730         * libm_test.inc (csqrt_test): Allow more spurious underflow
60731         exceptions.
60732         (j0_test): Likewise.
60733         (j1_test): Likewise.
60734         (y0_test): Likewise.
60735         (y1_test): Likewise.
60737 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
60739         * po/Makefile (libc.pot): Use UTF-8 charset.
60741 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
60743         [BZ #14210]
60744         Suppress sign-conversion warning from FD_SET.
60745         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
60746         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
60747         not unsigned long int.
60748         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
60750 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
60752         [BZ #14050]
60753         [BZ #14117]
60754         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
60755         __extern_always_inline instead of __extern_inline.
60756         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
60757         (__signbit): Likewise.
60758         (__signbitl): Support C++ namespace.
60759         (lrintf): New inline function.
60760         (lrint): Likewise.
60761         (llrintf): Likewise.
60762         (llrint): Likewise.
60763         (fmaxf): Likewise.
60764         (fmax): Likewise.
60765         (fminf): Likewise.
60766         (fmin): Likewise.
60767         (rint): Likewise.
60768         (rintf): Likewise.
60769         (ceil): Likewise.
60770         (ceilf): Likewise.
60771         (floor): Likewise.
60772         (floorf): Likewise.
60773         (nearbyint): Likewise.
60774         (nearbyintf): Likewise.
60776 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
60778         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
60779         non-default versions.
60781 2012-06-11  Roland McGrath  <roland@hack.frob.com>
60783         [BZ #14218]
60784         * manual/argp.texi (Argp): Reword argp_parse description slightly.
60786 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
60788         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
60789         (FE_UPWARD, FE_DOWNWARD): Don't define.
60790         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
60791         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
60793         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
60794         reading it.
60795         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
60796         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
60798 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
60800         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
60801         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
60802         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
60803         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
60805 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
60807         [BZ #14117]
60808         * sysdeps/i386/fpu/bits/fenv.h: Removed.
60809         * sysdeps/i386/fpu/Implies: New file.
60810         * sysdeps/x86_64/fpu/Implies: Likewise.
60811         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
60812         * sysdeps/x86/fpu/bits/fenv.h: This.
60814         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
60815         __SSE_MATH__.
60817 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
60819         [BZ #14134]
60820         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
60821         character 0xffff that matches the last element of the
60822         conversion table.
60824 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
60826         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
60827         fmodl commit.
60829 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
60831         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
60832         values higher than 25.6283.
60834 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
60836         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
60837         subnormal exponent extraction and add some __builtin_expect.
60838         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
60839         Fix for subnormal mantissa calculation.
60841 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
60843         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
60844         cpu2 is -1 and errno is not ENOSYS.
60846 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
60848         [BZ #14117]
60849         * sysdeps/i386/i486/bits/string.h: Renamed to ...
60850         * sysdeps/x86/bits/string.h: This.
60851         * sysdeps/x86_64/bits/string.h: Removed.
60853         * sysdeps/i386/i486/bits/string.h: Define inline functions only
60854         if not compiling for x86-64, but compiling for >= i486.
60856         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
60857         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
60859         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
60860         New macro from Linux kernel 3.4.0.
60861         (FP_XSTATE_MAGIC2): Likewise.
60862         (FP_XSTATE_MAGIC2_SIZE): Likewise.
60863         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
60864         (struct _fpx_sw_bytes): New struct.
60865         (struct _xsave_hdr): Likewise.
60866         (struct _ymmh_state): Likewise.
60867         (struct _xstate): Likewise.
60869         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
60870         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
60871         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
60872         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
60873         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
60874         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
60876         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
60877         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
60878         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
60879         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
60880         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
60881         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
60883 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
60885         [BZ #13743]
60886         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
60887         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
60888         (sysdep_headers): Include sys/platform/ppc.h.
60889         * sysdeps/powerpc/test-gettimebase.c: Test for
60890         __ppc_get_timebase() to catch future ISA opcode/insn changes.
60891         * manual/Makefile (appendices): Include platform.texi.
60892         * manual/contrib.texi (Contributors): Update @node pointers.
60893         * manual/maint.texi (Maintenance): Likewise.
60894         (Platform): New node.
60895         * manual/platform.texi: New file.  Document the new features.
60897 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
60898             Jakub Jelinek  <jakub@redhat.com>
60900         [BZ #14188]
60901         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
60902         where __builtin_expect is unavailable.
60904 2012-06-03  David S. Miller  <davem@davemloft.net>
60906         * stdlib/longlong.h: Updated from GCC.
60908 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
60910         [BZ #14042]
60911         * sysdeps/powerpc/powerpc32/mcount.c: New file.
60912         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
60913         __mcount_internal.
60914         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
60915         (GLIBC_2.16): Likewise.
60917 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
60919         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
60921 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
60923         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
60924         (default-abi): New variable.
60925         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
60926         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
60927         variable.
60928         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
60929         Likewise.
60930         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
60931         Likewise.
60932         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
60933         Likewise.
60935         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
60936         definition.  Document in comment.
60938 2012-06-01  David S. Miller  <davem@davemloft.net>
60940         * stdlib/longlong.h: Updated from GCC.
60942 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
60944         [BZ #14117]
60945         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
60946         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
60947         sys/debugreg.h sys/io.h here.
60948         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
60949         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
60950         sys/io.h.
60951         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
60952         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
60953         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
60954         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
60955         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
60956         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
60958         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
60959         Define only if __x86_64__ is defined.
60961 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
60963         [BZ #14048]
60964         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
60965         Use int64_t for variable i.
60966         * math/libm-test.inc (fmod_test): Add more tests.
60968         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
60969         z computation is not scheduled after fetestexcept.
60970         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
60971         Use math_force_eval instead of asm to ensure calculation scheduled
60972         before exception test.
60973         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
60974         Ensure a1 + u.d computation is not scheduled after fetestexcept.
60976 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
60978         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
60979         computation is not scheduled after fetestexcept.
60981 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
60983         [BZ #14117]
60984         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
60985         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
60987 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
60989         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
60990         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
60992 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
60994         [BZ #14117]
60995         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
60996         <bits/wordsize.h>.
60997         (__WCHAR_MIN): Support __WORDSIZE == 64.
60998         (__WCHAR_MAX): Likewise.
61000         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
61001         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
61003         [BZ #14183]
61004         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
61005         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
61007         [BZ #14117]
61008         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
61009         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
61011         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
61012         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
61014         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
61015         Defined to 1 if __x86_64__ isn't defined.
61016         (_STAT_VER_LINUX_OLD): New.
61017         (st_atime): Remove duplicate.
61018         (st_mtime): Likewise.
61019         (st_ctime): Likewise.
61021 2012-05-31  David S. Miller  <davem@davemloft.net>
61023         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
61024         entries.
61026 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
61028         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
61029         gen-libm-test.pl.
61031         [BZ #14132]
61032         * elf/dl-reloc.c: Include <_itoa.h>.
61033         (_dl_reloc_bad_type): Remove use of INTUSE.
61034         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
61035         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
61036         * stdio-common/psiginfo.c (psiginfo): Likewise.
61037         * stdio-common/psignal.c (psignal): Likewise.
61038         * string/strsignal.c (strsignal): Likewise.
61039         * include/signal.h (_sys_siglist): Declare hidden proto.
61040         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
61041         INTVARDEF with libc_hidden_data_def.
61042         * stdio-common/itoa-udigits.c: Likewise.
61043         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
61044         (_itoa_lower_digits_internal): Remove declaration.
61045         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
61046         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
61047         (_sys_sigabbrev_internal): Remove aliases.
61048         (_sys_siglist): Define hidden alias.
61050 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
61052         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
61053         bits/sysctl.h.
61055 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
61057         [BZ #14117]
61058         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
61059         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
61061         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
61062         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
61063         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
61064         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
61065         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
61066         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
61068         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
61069         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
61070         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
61072         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
61073         with __addr.
61074         (insw): Likewise.
61075         (insl): Likewise.
61076         (outsb): Likewise.
61077         (outsw): Likewise.
61078         (outsl): Likewise.
61080         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
61081         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
61082         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
61084         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
61085         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
61086         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
61087         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
61088         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
61089         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
61091         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
61092         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
61094         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
61095         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
61097         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
61098         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
61099         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
61101         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
61102         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
61103         to ...
61104         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
61106         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
61107         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
61108         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
61110         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
61111         for x86-64.
61112         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
61114 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
61116         * math/math.h (M_El): Use two more decimal places.
61117         (M_LOG2El): Likewise.
61118         (M_LOG10El): Likewise.
61119         (M_LN2l): Likewise.
61120         (M_LN10l): Likewise.
61121         (M_PIl): Likewise.
61122         (M_PI_2l): Likewise.
61123         (M_PI_4l): Likewise.
61124         (M_1_PIl): Likewise.
61125         (M_2_PIl): Likewise.
61126         (M_2_SQRTPIl): Likewise.
61127         (M_SQRT2l): Likewise.
61128         (M_SQRT1_2l): Likewise.
61130 2012-05-31  David S. Miller  <davem@davemloft.net>
61132         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
61133         values between float registers.
61134         * sysdeps/sparc/sparc64/memset.S: Likewise.
61135         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
61137 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
61139         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
61140         -D_FORTIFY_SOURCE=1.
61141         (CPPFLAGS-tst-longjmp_chk.c): Define.
61142         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
61143         (CPPFLAGS-tst-longjmp_chk2.c): Define.
61144         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
61145         CFLAGS-tst-wchar-h.c.
61147 2012-05-31  Marek Polacek  <polacek@redhat.com>
61149         [BZ #14132]
61150         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
61151         __endmntent_internal): Remove declaration.
61152         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
61153         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
61154         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
61156 2012-05-30  David S. Miller  <davem@davemloft.net>
61158         * sysdeps/sparc/sparc32/soft-fp/q_util.c
61159         (___Q_simulate_exceptions): Use real FP ops rather than writing
61160         into the %fsr.
61161         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
61162         Likewise.
61164 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
61166         [BZ #14117]
61167         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
61168         * sysdeps/x86/bits/xtitypes.h: This.
61170         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
61171         * sysdeps/x86/bits/wordsize.h: This.
61173         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
61174         * sysdeps/x86/bits/huge_vall.h: This.
61176         * sysdeps/i386/bits/select.h: Removed.
61177         * sysdeps/x86_64/bits/select.h: Renamed to ...
61178         * sysdeps/x86/bits/select.h: This.
61180         * sysdeps/i386/bits/setjmp.h: Removed.
61181         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
61182         * sysdeps/x86/bits/setjmp.h: This.
61184         * sysdeps/i386/bits/mathdef.h: Removed.
61185         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
61186         * sysdeps/x86/bits/mathdef.h: This.
61188 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
61190         [BZ #14132]
61191         * include/sys/socket.h (__connect_internal)
61192         (__libc_sa_len_internal): Remove declaration.
61193         (__connect, __libc_sa_len): Declare hidden_proto.
61194         (SA_LEN): Remove use of INTUSE.
61195         * socket/connect.c: Add libc_hidden_def.
61196         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
61197         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
61198         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
61199         alias.
61200         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
61201         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
61202         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
61203         of adding _internal alias.
61205 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
61207         [BZ #14117]
61208         * sysdeps/i386/bits/link.h: Removed.
61209         * sysdeps/i386/bits/linkmap.h: Likewise.
61210         * sysdeps/x86_64/bits/link.h: Renamed to ...
61211         * sysdeps/x86/bits/link.h: This.
61212         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
61213         * sysdeps/x86/bits/linkmap.h: This.
61215         * sysdeps/i386/bits/endian.h: Removed.
61216         * sysdeps/x86_64/bits/endian.h: Renamed to ...
61217         * sysdeps/x86/bits/endian.h: This.
61219         * sysdeps/i386/bits/byteswap.h: Removed.
61220         * sysdeps/i386/bits/byteswap-16.h: Likewise.
61221         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
61222         * sysdeps/x86/bits/byteswap.h: This.
61223         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
61224         * sysdeps/x86/bits/byteswap-16.h: This.
61225         * sysdeps/i386/Implies: Add x86.
61226         * sysdeps/x86_64/Implies: Likewise.
61228 2012-05-30  David S. Miller  <davem@davemloft.net>
61230         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
61231         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
61232         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
61233         (FP_TRAPPING_EXCEPTIONS): Define.
61234         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
61235         (FP_TRAPPING_EXCEPTIONS): Define.
61236         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
61237         subnormals only when inexact has been signalled or underflow
61238         exceptions are enabled.
61239         (_FP_PACK_CANONICAL): Likewise.
61241 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
61243         [BZ #14183]
61244         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
61245         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
61247 2012-05-30  Richard Henderson  <rth@twiddle.net>
61249         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
61250         with #ifndef NOT_IN_libc.
61252         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
61253         marked to avoid plt entry.
61255 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
61257         [BZ #14112]
61258         * Makeconfig (default-abi): New macro.
61259         (abi-includes): Likewise.
61260         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
61261         $(abi-$(default-abi)-lib-soname) for soname if defined.
61262         ($(common-objpfx)gnu/lib-names.stmp): Generate from
61263         abi-variants.
61264         * Makefile (installed-stubs): Likewise.
61265         * include/stubs-biarch.h: Removed.
61266         * scripts/lib-names.awk: Only handle one library at a time.
61267         * scripts/soversions.awk: Remove WORDSIZE support.
61268         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
61269         entries.
61270         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
61271         Removed.
61272         (syscall-list-default-condition): Likewise.
61273         (syscall-list-default-condition): Likewise.
61274         (syscall-list-includes): Likewise.
61275         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
61276         syscall-list-* with abi-*.  Handle undefined abi-variants.
61277         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
61278         * sysdeps/unix/sysv/linux/i386/Implies: New file.
61279         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
61280         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
61281         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
61282         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
61283         Removed.
61284         (syscall-list-32-options): Likewise.
61285         (syscall-list-32-condition): Likewise.
61286         (syscall-list-64-options): Likewise.
61287         (syscall-list-64-condition): Likewise.
61288         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
61289         macro.
61290         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
61291         Renamed to ...
61292         (abi-*): This.
61293         (abi-64-ld-soname): New macro.
61294         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
61295         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
61296         Renamed to ...
61297         (abi-*): This.
61298         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
61299         * sysdeps/x86_64/x32/shlib-versions: Likewise.
61301 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
61303         * sysdeps/unix/sysv/linux/kernel-features.h
61304         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
61305         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
61306         include <kernel-features.h>.
61307         [!__NR_ftruncate64]: Remove conditional code.
61308         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
61309         [__NR_ftruncate64]: Make code unconditional.
61310         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
61311         * sysdeps/unix/sysv/linux/truncate64.c: Do not
61312         include <kernel-features.h>.
61313         [!__NR_ftruncate64]: Remove conditional code.
61314         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
61315         [__NR_ftruncate64]: Make code unconditional.
61316         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
61317         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
61318         include <kernel-features.h>.
61319         [!__NR_ftruncate64]: Remove conditional code.
61320         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
61321         [__NR_ftruncate64]: Make code unconditional.
61322         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
61323         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
61324         include <kernel-features.h>.
61325         [!__NR_ftruncate64]: Remove conditional code.
61326         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
61327         [__NR_ftruncate64]: Make code unconditional.
61328         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
61330         * configure.in (libc_cv_fpie): Weaken to a compile test using
61331         LIBC_TRY_CC_OPTION.
61332         * configure: Regenerated.
61334 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
61336         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
61337         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
61338         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
61339         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
61340         Refreshed.
61341         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
61342         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
61343         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
61344         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
61345         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
61346         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
61347         Refreshed.
61349 2012-05-27  David S. Miller  <davem@davemloft.net>
61351         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
61352         (___Q_zero): New.
61353         (__Q_simulate_exceptions): Return void.  Change to simulate
61354         exceptions by writing into the %fsr.
61355         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
61356         (__Qp_handle_exceptions): Likewise.
61357         (numbers): Delete.
61358         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
61359         __Qp_handle_exceptions.
61360         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
61361         __Qp_handle_exceptions.
61362         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
61363         as unused and give dummy FP_RND_NEAREST initializer.
61364         (FP_INHIBIT_RESULTS): Define.
61365         (___Q_simulate_exceptions): Update declaration.
61366         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
61367         formatting.
61368         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
61369         as unused and give dummy FP_RND_NEAREST initializer.
61370         (__Qp_handle_exceptions): Update declaration.
61371         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
61372         formatting.
61374 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
61376         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
61377         the temporary FPU control word.
61378         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
61379         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
61380         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
61381         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
61382         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
61383         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
61384         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
61385         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
61386         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
61387         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
61388         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
61390 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
61392         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
61393         fields.
61395 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
61397         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
61398         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
61399         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
61400         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
61401         Likewise.
61402         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
61403         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
61404         Likewise.
61406 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
61408         * po/h.po: Update from translation team.
61410 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
61412         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
61414         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
61415         handling of denormals.
61416         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
61417         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
61418         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
61419         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
61420         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
61421         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
61422         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
61423         Likewise.
61425 2012-05-26  Marek Polacek  <polacek@redhat.com>
61427         [BZ #14152]
61428         * math/libm-test.inc (fma_test): Don't always expect underflow
61429         exception.
61431 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
61433         [BZ #12416]
61434         * elf/tst-execstack.c: Include stackinfo.h.
61435         (do_test): Adjust test case to ensure that pthread_getattr_np
61436         behaviour remains the same after marking stack executable.
61438 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
61440         * sysdeps/unix/sysv/linux/kernel-features.h
61441         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
61442         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
61443         kernel-features.h.
61444         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
61445         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
61446         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
61447         kernel-features.h.
61448         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
61449         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
61451 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
61453         * configure.in: Define the default includes to being none.
61454         * configure: Regenerated.
61456 2012-05-25  Roland McGrath  <roland@hack.frob.com>
61458         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
61459         * sysdeps/x86_64/setjmp.S: Likewise.
61460         * sysdeps/i386/bsd-setjmp.S: Likewise.
61461         * sysdeps/i386/bsd-_setjmp.S: Likewise.
61462         * sysdeps/i386/setjmp.S: Likewise.
61463         * sysdeps/i386/__longjmp.S: Likewise.
61464         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
61465         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
61467         * include/stap-probe.h: New file.
61468         * configure.in: Handle --enable-systemtap.
61469         * configure: Regenerated.
61470         * config.h.in (USE_STAP_PROBE): New #undef.
61471         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
61472         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
61473         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
61475 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
61477         [BZ #13717]
61478         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
61479         to 2.4.0 where earlier.
61480         * sysdeps/unix/sysv/linux/configure: Regenerated.
61481         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
61482         <kernel-features.h>.
61483         [__ASSUME_32BITUIDS]: Make code unconditional.
61484         [!__ASSUME_32BITUIDS]: Remove conditional code.
61485         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
61486         <kernel-features.h>.
61487         [__ASSUME_32BITUIDS]: Make code unconditional.
61488         [!__ASSUME_32BITUIDS]: Remove conditional code.
61489         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
61490         [__ASSUME_32BITUIDS]: Make code unconditional.
61491         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
61492         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
61493         <kernel-features.h>.
61494         [__ASSUME_32BITUIDS]: Make code unconditional.
61495         [!__ASSUME_32BITUIDS]: Remove conditional code.
61496         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
61497         <kernel-features.h>.
61498         [__ASSUME_32BITUIDS]: Make code unconditional.
61499         [!__ASSUME_32BITUIDS]: Remove conditional code.
61500         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
61501         <kernel-features.h>.
61502         [__ASSUME_32BITUIDS]: Make code unconditional.
61503         [!__ASSUME_32BITUIDS]: Remove conditional code.
61504         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
61505         <kernel-features.h>.
61506         [__ASSUME_32BITUIDS]: Make code unconditional.
61507         [!__ASSUME_32BITUIDS]: Remove conditional code.
61508         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
61509         <kernel-features.h>.
61510         [__ASSUME_32BITUIDS]: Make code unconditional.
61511         [!__ASSUME_32BITUIDS]: Remove conditional code.
61512         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
61513         <kernel-features.h>.
61514         [__ASSUME_32BITUIDS]: Make code unconditional.
61515         [!__ASSUME_32BITUIDS]: Remove conditional code.
61516         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
61517         <kernel-features.h>.
61518         [__ASSUME_32BITUIDS]: Make code unconditional.
61519         [!__ASSUME_32BITUIDS]: Remove conditional code.
61520         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
61521         <kernel-features.h>.
61522         [__ASSUME_32BITUIDS]: Make code unconditional.
61523         [!__ASSUME_32BITUIDS]: Remove conditional code.
61524         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
61525         <kernel-features.h>.
61526         [__ASSUME_32BITUIDS]: Make code unconditional.
61527         [!__ASSUME_32BITUIDS]: Remove conditional code.
61528         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
61529         <kernel-features.h>.
61530         [__ASSUME_32BITUIDS]: Make code unconditional.
61531         [!__ASSUME_32BITUIDS]: Remove conditional code.
61532         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
61533         <kernel-features.h>.
61534         [__NR_setresgid] (__setresgid): Do not declare.
61535         [__ASSUME_32BITUIDS]: Make code unconditional.
61536         [!__ASSUME_32BITUIDS]: Remove conditional code.
61537         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
61538         <kernel-features.h>.
61539         [__NR_setresuid] (__setresuid): Do not declare.
61540         [__ASSUME_32BITUIDS]: Make code unconditional.
61541         [!__ASSUME_32BITUIDS]: Remove conditional code.
61542         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
61543         <kernel-features.h>.
61544         [__ASSUME_32BITUIDS]: Make code unconditional.
61545         [!__ASSUME_32BITUIDS]: Remove conditional code.
61546         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
61547         <kernel-features.h>.
61548         [__ASSUME_32BITUIDS]: Make code unconditional.
61549         [!__ASSUME_32BITUIDS]: Remove conditional code.
61550         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
61551         <kernel-features.h>.
61552         [__ASSUME_32BITUIDS]: Make code unconditional.
61553         [!__ASSUME_32BITUIDS]: Remove conditional code.
61554         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
61555         <kernel-features.h>.
61556         [__ASSUME_32BITUIDS]: Make code unconditional.
61557         [!__ASSUME_32BITUIDS]: Remove conditional code.
61558         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
61559         <kernel-features.h>.
61560         [__ASSUME_32BITUIDS]: Make code unconditional.
61561         [!__ASSUME_32BITUIDS]: Remove conditional code.
61562         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
61563         <kernel-features.h>.
61564         [__ASSUME_32BITUIDS]: Make code unconditional.
61565         [!__ASSUME_32BITUIDS]: Remove conditional code.
61566         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
61567         <kernel-features.h>.
61568         [__ASSUME_32BITUIDS]: Make code unconditional.
61569         [!__ASSUME_32BITUIDS]: Remove conditional code.
61570         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
61571         <kernel-features.h>.
61572         [__ASSUME_32BITUIDS]: Make code unconditional.
61573         [!__ASSUME_32BITUIDS]: Remove conditional code.
61574         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
61575         <kernel-features.h>.
61576         [__ASSUME_32BITUIDS]: Make code unconditional.
61577         [!__ASSUME_32BITUIDS]: Remove conditional code.
61578         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
61579         <kernel-features.h>.
61580         [__ASSUME_32BITUIDS]: Make code unconditional.
61581         [!__ASSUME_32BITUIDS]: Remove conditional code.
61582         * sysdeps/unix/sysv/linux/kernel-features.h
61583         (__ASSUME_SETRESUID_SYSCALL): Remove.
61584         (__ASSUME_SETRESGID_SYSCALL): Likewise.
61585         (__ASSUME_32BITUIDS): Likewise.
61586         (__ASSUME_LDT_WORKS): Likewise.
61587         (__ASSUME_O_DIRECTORY): Likewise.
61588         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
61589         architecture but not kernel version.
61590         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
61591         (__ASSUME_MMAP2_SYSCALL): Likewise.
61592         (__ASSUME_STAT64_SYSCALL): Likewise.
61593         (__ASSUME_IPC64): Likewise.
61594         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
61595         <kernel-features.h>.
61596         [__ASSUME_32BITUIDS]: Make code unconditional.
61597         [!__ASSUME_32BITUIDS]: Remove conditional code.
61598         * sysdeps/unix/sysv/linux/opendir.c: Do not include
61599         <kernel-features.h>.
61600         [__ASSUME_O_DIRECTORY]: Make code unconditional.
61601         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
61602         132096]: Remove conditional code.
61603         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
61604         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
61605         <kernel-features.h>.
61606         [__ASSUME_32BITUIDS]: Make code unconditional.
61607         [!__ASSUME_32BITUIDS]: Remove conditional code.
61608         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
61609         <kernel-features.h>.
61610         [__ASSUME_32BITUIDS]: Make code unconditional.
61611         [!__ASSUME_32BITUIDS]: Remove conditional code.
61612         * sysdeps/unix/sysv/linux/setegid.c: Do not include
61613         <kernel-features.h>.
61614         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
61615         unconditional.
61616         (__setresgid): Do not declare.
61617         [__ASSUME_32BITUIDS]: Make code unconditional.
61618         [!__ASSUME_32BITUIDS]: Remove conditional code.
61619         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
61620         <kernel-features.h>.
61621         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
61622         unconditional.
61623         (__setresuid): Do not declare.
61624         [__ASSUME_32BITUIDS]: Make code unconditional.
61625         [!__ASSUME_32BITUIDS]: Remove conditional code.
61626         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
61627         <kernel-features.h>.
61628         [__ASSUME_32BITUIDS]: Make code unconditional.
61629         [!__ASSUME_32BITUIDS]: Remove conditional code.
61630         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
61631         <kernel-features.h>.
61632         [__ASSUME_32BITUIDS]: Make code unconditional.
61633         [!__ASSUME_32BITUIDS]: Remove conditional code.
61635 2012-05-25  Richard Henderson  <rth@twiddle.net>
61637         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
61638         dl_hwcap to ifunc resolver.
61639         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
61640         elf_ifunc_invoke.
61641         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
61642         dl_hwcap to ifunc resolver.
61643         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
61645 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
61647         [BZ #14153]
61648         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
61649         for |x| <= 2**-26, not 2**-57.
61650         * math/libm-test.inc (acos_test): Do not allow spurious underflow
61651         exception.
61653 2012-05-24  Jeff Law  <law@redhat.com>
61655         * stdio-common/Makefile (tests): Add bug25.
61656         * stdio-common/bug25.c: New test.
61658 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
61660         [BZ #13576]
61661         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
61662         multiple of MALLOC_ALIGNMENT in size.
61663         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
61665 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
61667         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
61668         Require >= 256.
61669         (FILENAME_MAX): Use macro-int-constant.
61670         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
61671         (_IOFBF): Use macro-int-constant.
61672         (_IOLBF): Likewise.
61673         (_IONBF): Likewise.
61674         (SEEK_CUR): Likewise.
61675         (SEEK_END): Likewise.
61676         (SEEK_SET): Likewise.
61677         (TMP_MAX): Likewise.
61678         (EOF): Use macro-int-constant.  Require < 0.
61679         (NULL): Use macro-constant.  Require == 0.
61680         (stdin): Require type to be FILE *.
61681         (stdout): Likewise.
61682         (stderr): Likewise.
61683         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
61684         macro-int-constant.
61685         (EXIT_SUCCESS): Likewise.
61686         (NULL): Use macro-constant.  Require == 0.
61687         (RAND_MAX): Use macro-int-constant.
61688         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
61689         [C99-based standards] (strtof): Require function.
61690         [C99-based standards] (strtold): Likewise.
61691         [C99-based standards] (strtoll): Likewise.
61692         [C99-based standards] (strtoull): Likewise.
61693         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
61694         [ISO || ISO99 || ISO11] (limits.h): Likewise.
61695         [ISO || ISO99 || ISO11] (math.h): Likewise.
61696         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
61697         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
61698         [ISO || ISO99 || ISO11] (*_t): Do not allow.
61700 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
61702         [BZ #14132]
61703         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
61704         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
61705         * intl/dgettext.c (DCGETTEXT): Likewise.
61706         * intl/gettext.c (DCGETTEXT): Likewise.
61707         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
61708         * posix/regex_internal.h (gettext): Likewise.
61709         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
61710         Remove declaration.
61711         * include/argz.h (__argz_count_internal)
61712         (__argz_stringify_internal): Remove declaration.
61713         (__argz_count, __argz_stringify): Declare hidden proto.
61714         * intl/dcgettext.c: Remove use of INTDEF.
61715         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
61716         * string/argz-stringify.c: Likewise.
61717         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
61718         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
61719         Declare hidden proto.
61720         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
61721         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
61722         Declare hidden proto.
61723         * include/stdio.h (__asprintf_internal): Don't declare.
61724         (__asprintf): Don't define as macro.  Declare hidden proto.
61725         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
61726         (__fsetlocking): Declare hidden proto.
61727         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
61728         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
61729         hidden proto.
61730         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
61731         (_IO_setlinebuf): Remove use of INTUSE.
61732         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
61733         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
61734         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
61735         Remove declaration.
61736         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
61737         (_IO_do_flush): Remove use of INTUSE.
61738         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
61739         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
61740         (_IO_adjust_column, _IO_least_wmarker)
61741         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
61742         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
61743         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
61744         (_IO_default_doallocate, _IO_wdefault_doallocate)
61745         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
61746         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
61747         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
61748         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
61749         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
61750         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
61751         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
61752         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
61753         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
61754         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
61755         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
61756         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
61757         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
61758         proto.
61759         (_IO_flush_all_internal, _IO_adjust_column_internal)
61760         (_IO_default_uflow_internal, _IO_default_finish_internal)
61761         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
61762         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
61763         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
61764         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
61765         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
61766         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
61767         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
61768         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
61769         (_IO_file_close_internal, _IO_file_close_it_internal)
61770         (_IO_file_underflow_internal, _IO_file_overflow_internal)
61771         (_IO_file_init_internal, _IO_file_attach_internal)
61772         (_IO_file_fopen_internal, _IO_file_read_internal)
61773         (_IO_file_sync_internal, _IO_file_seek_internal)
61774         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
61775         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
61776         (_IO_str_underflow_internal, _IO_str_overflow_internal)
61777         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
61778         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
61779         (_IO_list_all_internal, _IO_link_in_internal)
61780         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
61781         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
61782         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
61783         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
61784         (_IO_do_write_internal, _IO_padn_internal)
61785         (_IO_getline_info_internal, _IO_getline_internal)
61786         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
61787         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
61788         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
61789         (_IO_vfscanf_internal, _IO_vfprintf_internal)
61790         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
61791         (_IO_init_internal, _IO_un_link_internal): Don't declare.
61792         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
61793         with libc_hidden_ver, remove use of INTUSE.
61794         * libio/genops.c: Likewise.
61795         * libio/freopen.c: Likewise.
61796         * libio/freopen64.c: Likewise.
61797         * libio/iofclose.c: Likewise.
61798         * libio/iofdopen.c: Likewise.
61799         * libio/iofflush.c: Likewise.
61800         * libio/iofflush_u.c: Likewise.
61801         * libio/iofgets.c: Likewise.
61802         * libio/iofgets_u.c: Likewise.
61803         * libio/iofopen.c: Likewise.
61804         * libio/iofopncook.c: Likewise.
61805         * libio/iofread.c: Likewise.
61806         * libio/iofread_u.c: Likewise.
61807         * libio/ioftell.c: Likewise.
61808         * libio/iofwrite.c: Likewise.
61809         * libio/iogetline.c: Likewise.
61810         * libio/iogets.c: Likewise.
61811         * libio/iogetwline.c: Likewise.
61812         * libio/iopadn.c: Likewise.
61813         * libio/iopopen.c: Likewise.
61814         * libio/ioseekoff.c: Likewise.
61815         * libio/ioseekpos.c: Likewise.
61816         * libio/iosetbuffer.c: Likewise.
61817         * libio/iosetvbuf.c: Likewise.
61818         * libio/ioungetc.c: Likewise.
61819         * libio/ioungetwc.c: Likewise.
61820         * libio/iovdprintf.c: Likewise.
61821         * libio/iovsprintf.c: Likewise.
61822         * libio/iovsscanf.c: Likewise.
61823         * libio/memstream.c: Likewise.
61824         * libio/obprintf.c: Likewise.
61825         * libio/oldfileops.c: Likewise.
61826         * libio/oldiofclose.c: Likewise.
61827         * libio/oldiofdopen.c: Likewise.
61828         * libio/oldiofopen.c: Likewise.
61829         * libio/oldiopopen.c: Likewise.
61830         * libio/oldstdfiles.c: Likewise.
61831         * libio/putc.c: Likewise.
61832         * libio/setbuf.c: Likewise.
61833         * libio/setlinebuf.c: Likewise.
61834         * libio/stdfiles.c: Likewise.
61835         * libio/strops.c: Likewise.
61836         * libio/vasprintf.c: Likewise.
61837         * libio/vscanf.c: Likewise.
61838         * libio/vsnprintf.c: Likewise.
61839         * libio/vswprintf.c: Likewise.
61840         * libio/wfiledoalloc.c: Likewise.
61841         * libio/wfileops.c: Likewise.
61842         * libio/wgenops.c: Likewise.
61843         * libio/wmemstream.c: Likewise.
61844         * libio/wstrops.c: Likewise.
61845         * libio/__fpurge.c: Likewise.
61846         * libio/__fsetlocking.c: Likewise.
61847         * assert/assert.c: Likewise.
61848         * debug/fgets_chk.c: Likewise.
61849         * debug/fgets_u_chk.c: Likewise.
61850         * debug/fread_chk.c: Likewise.
61851         * debug/fread_u_chk.c: Likewise.
61852         * debug/gets_chk.c: Likewise.
61853         * debug/obprintf_chk.c: Likewise.
61854         * debug/vasprintf_chk.c: Likewise.
61855         * debug/vdprintf_chk.c: Likewise.
61856         * debug/vsnprintf_chk.c: Likewise.
61857         * debug/vsprintf_chk.c: Likewise.
61858         * malloc/mtrace.c: Likewise.
61859         * misc/error.c: Likewise.
61860         * misc/syslog.c: Likewise.
61861         * stdio-common/asprintf.c: Likewise.
61862         * stdio-common/fxprintf.c: Likewise.
61863         * stdio-common/getw.c: Likewise.
61864         * stdio-common/isoc99_fscanf.c: Likewise.
61865         * stdio-common/isoc99_scanf.c: Likewise.
61866         * stdio-common/isoc99_vfscanf.c: Likewise.
61867         * stdio-common/isoc99_vscanf.c: Likewise.
61868         * stdio-common/isoc99_vsscanf.c: Likewise.
61869         * stdio-common/printf-prs.c: Likewise.
61870         * stdio-common/printf_fp.c: Likewise.
61871         * stdio-common/printf_fphex.c: Likewise.
61872         * stdio-common/printf_size.c: Likewise.
61873         * stdio-common/putw.c: Likewise.
61874         * stdio-common/scanf.c: Likewise.
61875         * stdio-common/sprintf.c: Likewise.
61876         * stdio-common/tmpfile.c: Likewise.
61877         * stdio-common/vfprintf.c: Likewise.
61878         * stdio-common/vfscanf.c: Likewise.
61879         * stdlib/strfmon_l.c: Likewise.
61880         * sunrpc/openchild.c: Likewise.
61881         * sunrpc/xdr_stdio.c: Likewise.
61882         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
61883         * sysdeps/mach/hurd/tmpfile.c: Likewise.
61885 2012-05-24  Roland McGrath  <roland@hack.frob.com>
61887         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
61889         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
61890         in the third column, to generate for the shared library an IFUNC
61891         that uses _dl_vdso_vsym.
61892         * Makerules (COMPILE.c, compile-stdin.c): New variables.
61893         * Makeconfig (object-suffixes-noshared): New variable.
61895         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
61896         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
61897         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
61898         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
61900         [BZ #14132]
61901         * include/sys/time.h (__gettimeofday): Remove macro.
61902         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
61903         * time/gettimeofday.c (__gettimeofday): Remove #undef.
61904         Remove INTDEF.
61905         (__gettimeofday): Add libc_hidden_def.
61906         (gettimeofday): Add libc_hidden_weak.
61907         * sysdeps/mach/gettimeofday.c: Likewise.
61908         * sysdeps/posix/gettimeofday.c: Likewise.
61909         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
61910         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
61911         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
61912         (__gettimeofday_internal): Remove strong_alias.
61913         (__gettimeofday): Add libc_hidden_def.
61914         (gettimeofday): Add libc_hidden_weak.
61915         * sysdeps/unix/syscalls.list (gettimeofday):
61916         Remove __gettimeofday_internal alias.
61918 2012-05-24  Daniel Jacobowitz  <drow@false.org>
61919             H.J. Lu  <hongjiu.lu@intel.com>
61921         [BZ #12495]
61922         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
61923         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
61924         (largebin_index_32_big): New.
61925         (largebin_index): Use it for 16-byte alignment.
61926         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
61927         correction with front_misalign.
61929 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
61931         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
61932         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
61933         Likewise.
61934         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
61935         Likewise.
61936         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
61937         Likewise.
61938         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
61939         Likewise.
61940         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
61941         Likewise.
61942         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
61943         Likewise.
61944         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
61945         Likewise.
61946         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
61947         Likewise.
61948         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
61949         Likewise.
61950         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
61951         Likewise.
61952         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
61953         Likewise.
61954         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
61955         Likewise.
61957         * scripts/data/c++-types-x32-linux-gnu.data: New file.
61958         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
61960 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
61962         [BZ #10846]
61963         [BZ #14036]
61964         * math/libm-test.inc (exp_test): Add test from bug 14036.
61965         (pow_test): Add test from bug 10846.
61967         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
61968         and other flags.
61969         (special_function): Do not include flags in test name.
61970         (parse_args): Likewise.
61971         * sysdeps/i386/fpu/libm-test-ulps: Update.
61972         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
61973         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
61974         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
61975         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61977         * math/gen-libm-test.pl (%beautify): Add entries for underflow
61978         exceptions.
61979         * math/libm-test.inc ("Philosophy"): Update comment about
61980         exception testing.
61981         (UNDERFLOW_EXCEPTION): New macro.
61982         (UNDERFLOW_EXCEPTION_OK): Likewise.
61983         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
61984         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
61985         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
61986         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
61987         (INVALID_EXCEPTION_OK): Update value.
61988         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
61989         (OVERFLOW_EXCEPTION_OK): Likewise.
61990         (IGNORE_ZERO_INF_SIGN): Likewise.
61991         (test_exceptions): Handle underflow exceptions.
61992         (acos_test): Update for underflow exception expectations.
61993         (cexp_test): Likewise.
61994         (clog_test): Likewise.
61995         (clog10_test): Likewise.
61996         (csqrt_test): Likewise.
61997         (ctan_test): Likewise.
61998         (ctanh_test): Likewise.
61999         (exp_test): Likewise.
62000         (exp10_test): Likewise.
62001         (exp2_test): Likewise.
62002         (expm1_test): Likewise.
62003         (fma_test): Likewise.
62004         (j0_test): Likewise.
62005         (jn_test): Likewise.
62006         (nexttoward_test): Likewise.
62007         (pow_test): Likewise.
62008         (scalbn_test): Likewise.
62009         (scalbln_test): Likewise.
62010         (tan_test): Likewise.
62011         (y1_test): Likewise.
62012         * sysdeps/i386/fpu/libm-test-ulps: Update.
62013         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62015 2012-05-23  David S. Miller  <davem@davemloft.net>
62017         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
62018         (__libc_sigaction): Remove unused local variables.
62020 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
62022         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
62024 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
62026         mktime: avoid signed integer overflow
62027         * time/mktime.c (__mktime_internal): Do not mishandle the case
62028         where diff == INT_MIN.
62030         mktime: simplify computation of average
62031         * time/mktime.c (ranged_convert): Use new time_t_avg function
62032         instead of rolling our own (probably-slower) code.
62034         mktime: do not assume signed right shift propagates sign bit
62035         * time/mktime.c (isdst_differ): New static function.
62036         (__mktime_internal): No need to normalize tm_isdst now.
62037         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
62038         tm_isdst values.
62040         mktime: merge another wrapv change from gnulib
62041         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
62042         from some compilers.
62044         mktime: remove incorrect attempt at unusual arithmetics
62045         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
62046         The code didn't really work on such machines anyway.
62047         (TYPE_MINIMUM): Assume two's complement.
62048         (twos_complement_arithmetic): Verify that long_int and time_t
62049         are two's complement (or unsigned, in the latter case).
62051         mktime: check signed shifts on long_int and time_t, too
62052         * time/mktime.c (SHR): Check that shifts work as desired
62053         on the types long_int and time_t too, as SHR is used on
62054         such types.
62056         mktime: do not assume 'long' is wide enough
62057         * time/mktime.c (verify): Move decl up.
62058         (long_int): New type.
62059         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
62060         to remove assumption in the code that 'long' is wide enough to
62061         store year values.  This assumption is not true on x32 and on
62062         some non-glibc platforms.
62064         mktime: merge wrapv change from gnulib
62065         * time/mktime.c (WRAPV): New macro.
62066         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
62067         (guess_time_tm, __mktime_internal): Do not assume that signed
62068         integer overflow wraps around; modern compilers generate code
62069         where this assumption is no longer valid.
62071 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
62073         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
62074         Replace "jmp L(pseudo_end)" with "ret".
62075         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
62076         Likewise.
62078 2012-05-23  Andreas Jaeger  <aj@suse.de>
62080         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
62081         * sysdeps/unix/sysv/linux/poll.c: Remove file.
62083 2012-05-23  Andreas Jaeger  <aj@suse.de>
62084             Maximilian Attems  <max@stro.at>
62086         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
62087         New macros.
62089 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
62091         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
62092         code so that pseudo_end is just ret and the stack pointer is
62093         correct also for static library in error case.
62095 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
62097         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
62098         move to syscalls.list.
62099         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
62100         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
62101         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
62102         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
62104         * manual/install.texi (Running make install): Do not mention Linux
62105         kernel version for which pt_chown is not needed.
62106         (Linux): Do not mention problems with nscd with 2.0 kernels.
62107         * INSTALL: Regenerated.
62109 2012-05-23  Andreas Jaeger  <aj@suse.de>
62111         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
62112         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
62113         macro.
62114         * sysdeps/unix/sysv/linux/s390/bits/mman.h
62115         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
62116         * sysdeps/unix/sysv/linux/sh/bits/mman.h
62117         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
62118         * sysdeps/unix/sysv/linux/i386/bits/mman.h
62119         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
62120         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
62121         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
62122         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
62123         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
62124         * sysdeps/unix/sysv/linux/bits/in.h
62125         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
62127 2012-05-22  Roland McGrath  <roland@hack.frob.com>
62129         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
62130         (PREPARE_VERSION): Just use assert instead, it will be elided
62131         under [NDEBUG] anyway.
62133 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
62135         * sysdeps/unix/sysv/linux/Makefile: Include
62136         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
62137         (sysdep_routines): Remove sysctl.
62138         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
62139         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
62140         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
62141         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
62142         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
62144 2012-05-22  Andreas Jaeger  <aj@suse.de>
62146         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
62147         that pseudo_end is just ret and the stack pointer is correct also
62148         for static library in error case.
62150 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
62152         [BZ #14122]
62153         * nss/nsswitch.c (defconfig_entries): New variable.
62154         (__nss_database_lookup): Don't leak defconfig entries.
62155         (nss_parse_service_list): Don't leak on error paths.
62156         (free_database_entries): New function.
62157         (free_defconfig): New function.
62158         (free_mem): Move common code to free_database_entries.
62160 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
62162         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
62163         Add arch_prctl.
62164         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
62166         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
62167         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
62168         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
62169         New macro.
62170         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
62171         (INTERNAL_SYSCALL_TYPES): Likewise.
62172         (LOAD_ARGS_TYPES_[1-6]): Likewise.
62173         (LOAD_REGS_TYPES_[1-6]): Likewise.
62174         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
62175         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
62177 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
62179         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
62180         copysignl for GLIBC_2_0.
62181         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
62182         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
62183         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
62184         logbl for GLIBC_2_0.
62185         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
62186         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
62188 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
62190         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
62191         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
62193         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
62194         Use "neg %eax".
62196         * time/mktime.c: Update copyright years.
62198 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
62200         mktime: merge comment-quoting-style change from gnulib
62201         * time/mktime.c: Quote 'like this' in comments.
62202         The GNU coding standards suggest that we no longer quote `like this',
62203         as "`" and "'" are typically rendered asymmetrically nowadays.
62204         The typical gnulib style is to quote 'like this' when quoting
62205         code, and "like this" when quoting English.
62207         * time/mktime.c (compile-command): Add "-I.".
62209         mktime: merge mktime-internal.h change from gnulib
62210         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
62212         mktime: merge time_r change from gnulib
62213         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
62215         mktime: merge DEBUG change from gnulib
62216         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
62217         case system <time.h> has a #define.
62219         mktime: merge <sys/types.h> change from gnulib
62220         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
62221         since <time.t> is now guaranteed to define time_t.
62223         mktime: merge HAVE_CONFIG_H change from gnulib
62224         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
62226 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
62228         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
62229         Use "neg %eax".
62231         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
62232         __rlim_t cast.
62233         (struct rusage): Use anonymous union to pad each field to
62234         __syscall_slong_t.
62236 2012-05-21  David S. Miller  <davem@davemloft.net>
62238         * Makefules (o-iterator): Remove .s cases.
62239         (compile-command.s): Delete.
62240         (COMPILE.s): Delete.
62241         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
62243 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
62245         * configure.in (libc_cv_predef_stack_protector): Only consider
62246         "foobar" and "__stack_chk_fail" lines in libc_undefs.
62247         * configure: Regenerated.
62249 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
62251         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
62252         New macro.  Use R*LP on int and pointer.
62253         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
62254         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
62255         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
62256         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
62258         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
62259         [__WORDSIZE_TIME64_COMPAT32] instead of
62260         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
62261         (struct utmp): Likewise.
62262         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
62263         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
62264         Renamed to ...
62265         (__WORDSIZE_TIME64_COMPAT32): This.
62266         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
62267         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
62268         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
62269         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
62270         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
62271         (__WORDSIZE_TIME64_COMPAT32): New macro.
62273 2012-05-21  Andreas Jaeger  <aj@suse.de>
62275         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
62276         only if [SHARED]. Add prototype for __wcschr_ia32.
62278 2012-05-21  Roland McGrath  <roland@hack.frob.com>
62280         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
62281         of %rbp unmolested in the jmp_buf while mangling the low bits.
62282         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
62283         unmolested high bits of %rbp while demangling the low bits.
62284         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
62286 2012-05-21  Andreas Jaeger  <aj@suse.de>
62288         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
62289         * sunrpc/svc_simple.c: Use it for registerrpc.
62290         * sunrpc/xcrypt.c: Use it for passwd2des.
62292         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
62294 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
62296         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
62297         Don't define if [__SYSCALL_WORDSIZE != 32].
62298         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
62299         New macro.
62301 2012-05-21  Bruno Haible  <bruno@clisp.org>
62302             Andreas Jaeger  <aj@suse.de>
62304         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
62305         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
62306         inptr and inend for must_buffer_ch.
62307         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
62308         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
62309         * stdio-common/Makefile (tests): Remove bug15.
62310         (bug15-ENV): Remove macro.
62311         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
62312         anymore.
62314 2012-05-19  Andreas Jaeger  <aj@suse.de>
62315             Roland McGrath  <roland@hack.frob.com>
62317         * manual/contrib.texi: Completely rewritten. It contains now an
62318         alphabetical list of contributors and their contributions.
62320 2012-05-21  Richard Henderson  <rth@twiddle.net>
62322         * misc/getauxval.c (__getauxval): Use unsigned long int.
62323         * misc/sys/auxv.h: Include <sys/cdefs.h>.
62324         (getauxval): Use unsigned long int.
62326 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
62328         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
62330 2012-05-21  Roland McGrath  <roland@hack.frob.com>
62332         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
62333         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
62334         __alignof__ (long double).
62336 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
62338         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
62340 2012-05-20  Richard Henderson  <rth@twiddle.net>
62342         * misc/getauxval.c: New file.
62343         * misc/sys/auxv.h: New file.
62344         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
62345         (routines): Add getauxval.
62346         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
62347         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
62348         * elf/dl-sysdep.c (_dl_auxv): Remove.
62349         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
62350         * elf/dl-support.c (_dl_auxv): New variable.
62351         (_dl_aux_init): Initialize it.
62352         * manual/startup.texi (Auxiliary Vector): New node.
62353         * sysdeps/generic/bits/hwcap.h: New file.
62354         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
62355         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
62356         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
62357         * sysdeps/sparc/sysdep.h: ... here.  Include it.
62358         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
62359         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
62360         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
62361         Update.
62362         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
62363         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
62364         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
62365         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
62366         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
62367         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
62368         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
62369         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
62371 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
62373         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
62375 2012-05-19  David S. Miller  <davem@davemloft.net>
62377         * sysdeps/sparc/fpu/libm-test-ulps: Update.
62379 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
62381         [BZ #14123]
62382         * math/s_ccosh.c: Include <float.h>
62383         (__ccosh): Avoid internal overflow calculating sinh and cosh
62384         values before multiplying by sin and cos values.
62385         * math/s_ccoshf.c: Likewise.
62386         * math/s_ccoshl.c: Likewise.
62387         * math/s_csin.c: Likewise.
62388         * math/s_csinf.c: Likewise.
62389         * math/s_csinl.c: Likewise.
62390         * math/s_csinh.c: Likewise.
62391         * math/s_csinhf.c: Likewise.
62392         * math/s_csinhl.c: Likewise.
62393         * math/libm-test.inc (ccos_test): Add more tests.
62394         (ccosh_test): Likewise.
62395         (csin_test): Likewise.
62396         (csinh_test): Likewise.
62397         * sysdeps/i386/fpu/libm-test-ulps: Update.
62398         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62400 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
62402         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
62403         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
62405         * sysdeps/x86_64/x32/_itoa.h: Add comment.
62407 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
62409         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
62410         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
62411         * sysdeps/powerpc/soft-fp/Versions: Likewise.
62412         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
62413         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
62414         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
62415         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
62416         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
62417         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
62418         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
62419         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
62420         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
62421         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
62422         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
62423         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
62424         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
62425         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
62426         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
62427         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
62428         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
62429         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
62430         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
62431         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
62432         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
62433         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
62434         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
62435         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
62436         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
62437         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
62438         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
62439         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
62441 2012-05-18  Andreas Jaeger  <aj@suse.de>
62443         * csu/.gitignore: Delete.
62445 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
62447         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
62448         (timex): Use __syscall_slong_t.
62450 2012-05-18  Andreas Jaeger  <aj@suse.de>
62451             Carlos O'Donell  <carlos_odonell@mentor.com>
62453         * manual/install.texi (Configuring and compiling): Update
62454         description about files modified in the source directory.
62455         * INSTALL: Regenerated.
62457 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
62459         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
62460         value.  Use "or" to set return value to -1.
62461         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
62462         negate return value.
62464 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
62466         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
62467         (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
62468         failure if the compiler has Graphite support disabled.
62469         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
62470         Likewise.
62471         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
62472         (CFLAGS-memmove.c): Likewise.
62473         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
62474         Likewise.
62476 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
62478         * sysdeps/x86_64/x32/_itoa.h: New file.
62480         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
62481         getdents system call only if kernel and user dirents have the
62482         same d_ino and d_off.
62484         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
62485         LLONG_MAX != LONG_MAX.
62486         (_itoa_word): Use _ITOA_WORD_TYPE on value.
62487         (_fitoa_word): Likewise.
62489         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
62490         years.
62491         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
62492         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
62493         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
62495         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
62496         include <bits/wordsize.h>.  Check __x86_64__ instead of
62497         __WORDSIZE.
62498         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
62499         if __x86_64__ is defined.  Use anonymous union on fpstate.
62501         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
62502         anonymous union.
62504 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
62506         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
62507         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
62508         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
62509         Refer to _rtld_local_ro instead of _rtld_global_ro.
62510         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
62511         Likewise.
62512         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
62513         Likewise.
62514         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
62515         Likewise.
62516         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
62517         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
62518         of _rtld_global, and rtld_progname instead of _dl_argv[0].
62520         [BZ #10882]
62521         * sysdeps/powerpc/powerpc32/dl-machine.c
62522         (__elf_machine_runtime_setup) [PROF]: Don't reference
62523         _dl_prof_resolve.
62525 2012-05-18  Andreas Jaeger  <aj@suse.de>
62527         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
62528         function only available for GCCs before 3.4 since GCC 3.4
62529         introduced a builtin.
62530         (lrint): Likewise.
62531         (llrintf): Likewise.
62532         (llrint): Likewise.
62533         (fmaxf): Likewise.
62534         (fmax): Likewise.
62535         (fminf): Likewise.
62536         (fmin): Likewise.
62537         (rint): Likewise.
62538         (rintf): Likewise.
62539         (nearbyint): Likewise.
62540         (nearbyintf): Likewise.
62541         (ceil): Likewise.
62542         (ceilf): Likewise.
62543         (floor): Likewise.
62544         (floorf): Likewise.
62546 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
62548         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
62549         on both fields and cast pointer to __syscall_ulong_t.
62551         * bits/types.h (__fsword_t): New type.
62552         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
62553         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
62554         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
62555         (__FSWORD_T_TYPE): Likewise.
62556         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
62557         (__FSWORD_T_TYPE): Likewise.
62558         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
62559         (__FSWORD_T_TYPE): Likewise.
62560         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
62561         (__FSWORD_T_TYPE): Likewise.
62562         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
62563         __SWORD_TYPE with __fsword_t.
62564         (statfs64): Likewise.
62566 2012-05-17  David S. Miller  <davem@davemloft.net>
62568         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
62570 2012-05-17  Andreas Jaeger  <aj@suse.de>
62572         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
62573         warning.
62575 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
62577         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
62579 2012-05-17  Andreas Jaeger  <aj@suse.de>
62581         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
62582         when it is used.
62584 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
62586         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
62588 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
62590         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
62591         * sysdeps/x86_64/tst-mallocalign1.c: New file.
62593 2012-05-17  Andreas Jaeger  <aj@suse.de>
62594             Carlos O'Donell  <carlos_odonell@mentor.com>
62596         [BZ #14059]
62597         * sysdeps/x86_64/multiarch/init-arch.h
62598         (bit_YMM_Usable): Rename to...
62599         (bit_AVX_Usable): ... this.
62600         (bit_FMA4_Usable): New macro.
62601         (bit_XMM_state): New macro.
62602         (bit_YMM_state): New macro.
62603         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
62604         [__ASSEMBLER__] (index_AVX_Usable): ... this.
62605         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
62606         (CPUID_OSXSAVE): New macro.
62607         (CPUID_AVX): New macro.
62608         (CPUID_FMA4): New macro.
62609         (index_YMM_Usable): Rename to...
62610         (index_AVX_Usable): ... this.
62611         (HAS_AVX): Use HAS_ARCH_FEATURE.
62612         (HAS_FMA4): Likewise.
62613         (HAS_YMM_USABLE): Remove.
62614         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
62615         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
62616         are present.
62617         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
62618         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
62619         * sysdeps/x86_64/multiarch/Makefile: Likewise.
62620         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
62621         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
62623 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
62625         * math/libm-test.c: Support platforms without multiple rounding modes.
62626         * math/bug-nextafter.c: Support platforms without FP exceptions.
62627         * math/bug-nexttoward.c: Likewise.
62628         * math/test-fenv.c: Likewise.
62629         * math/test-misc.c: Likewise.
62630         * stdlib/bug-getcontext.c: Likewise.
62632 2012-05-17  Andreas Jaeger  <aj@suse.de>
62634         * manual/examples/search.c (critter_cmp): Change signature to
62635         avoid warnings.
62636         * manual/string.texi (Collation Functions): Likewise.
62638 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
62640         * bits/types.h: Fold copyright years.
62641         * bits/typesizes.h: Likewise.
62642         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
62643         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
62644         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
62645         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
62646         * time/time.h: Likewise.
62648 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
62650         [BZ #208]
62651         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
62652         in instead of returning them.  Return void.
62653         (__libc_mallinfo): Accumulate over all arenas.
62654         (__malloc_stats): Adjust for change in int_mallinfo interface.
62656 2012-05-16  Roland McGrath  <roland@hack.frob.com>
62658         [BZ #10375]
62659         * configure.in (NM): Add AC_CHECK_TOOL for it.
62660         (libc_extra_cflags): New substituted variable.
62661         Check for -fstack-protector being used implicitly.
62662         * configure: Regenerated.
62663         * config.make.in (config-extra-cflags): New variable,
62664         gets @libc_extra_cflags@.
62665         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
62667         [BZ #10375]
62668         * configure.in: Check for _FORTIFY_SOURCE being predefined.
62669         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
62670         * configure: Regenerated.
62671         * config.make.in (CPPUNDEFS): New substituted variable.
62672         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
62673         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
62674         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
62676 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
62678         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
62679         (mq_attr): Use __syscall_slong_t.
62681 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
62683         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
62684         Check __x86_64__ instead of __WORDSIZE.
62685         (_STAT_VER_LINUX): Likewise.
62686         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
62687         __syscall_ulong_t and __syscall_slong_t.
62688         (stat64): Likewise.
62690 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
62692         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
62694 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
62696         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
62698 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
62700         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
62701         __syscall_ulong_t.
62703         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
62704         include <bits/wordsize.h>.  Check __x86_64__ instead of
62705         __WORDSIZE.
62706         (greg_t): Use "__extension__ long long int" if __x86_64__ is
62707         defined.
62708         (mcontext_t): Replace "unsigned long" with "unsigned long long".
62710         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
62711         include <bits/wordsize.h>.  Check __x86_64__ instead of
62712         __WORDSIZE.
62713         (user_regs_struct): Use "__extension__ unsigned long long"
62714         instead of "unsigned long" if __x86_64__ is defined.
62715         (user): Likewise.  Pad after pointer field if __ILP32__ is
62716         defined.
62718 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
62720         * configure.in (makeinfo): Require version 4.5 or later.  Allow
62721         versions 5 to 9.
62722         * configure: Regenerated.
62723         * manual/install.texi (texinfo): Increase version requirement to
62724         4.5 or later.
62725         * INSTALL: Regenerated.
62727         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
62729 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
62731         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
62733         * sysdeps/x86_64/x32/ffs.c: New file.
62735         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
62736         __syscall_ulong_t.
62737         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
62738         defined.  Use __syscall_ulong_t.
62739         (shminfo): Use __syscall_ulong_t.
62740         (shm_info): Likewise.
62742         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
62743         __syscall_ulong_t.
62745         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
62746         <bits/wordsize.h>.
62747         (msgqnum_t): Use __syscall_ulong_t.
62748         (msglen_t): Likewise.
62749         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
62750         __syscall_ulong_t.
62752         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
62753         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
62755         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
62757         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
62758         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
62760         * sysvipc/sys/msg.h (msgbuf): Replace long int with
62761         __syscall_slong_t.
62763         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
62764         include <bits/wordsize.h>.  Check __x86_64__ instead of
62765         __WORDSIZE.
62767         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
62768         "unsigned long long int" if __x86_64__ is defined.
62769         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
62771         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
62772         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
62773         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
62775         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
62776         <stdint.h>.
62777         (GET_PC): Cast to uintptr_t first.
62778         (GET_FRAME): Likewise.
62779         (GET_STACK): Likewise.
62781         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
62782         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
62783         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
62784         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
62785         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
62786         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
62787         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
62788         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
62789         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
62790         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
62791         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
62792         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
62793         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
62794         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
62795         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
62796         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
62797         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
62798         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
62799         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
62800         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
62801         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
62802         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
62803         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
62804         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
62805         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
62806         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
62807         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
62808         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
62809         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
62811 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
62813         * Makerules (+depfiles): Also collect depfiles from .oS in
62814         $(extra-objs).
62815         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
62816         .oS, $(libnldbl-routines)).
62818         * Makerules (native-compile-mkdep-flags): Define.
62819         * sunrpc/Makefile (extra-objs): Add $(addprefix
62820         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
62821         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
62822         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
62823         calling $(make-target-directory).
62825 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
62827         * bits/types.h (__snseconds_t): Removed.
62828         * time/time.h (struct timespec): Replace __snseconds_t with
62829         __syscall_slong_t.
62830         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
62831         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
62832         Likewise.
62833         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
62834         (__SNSECONDS_T_TYPE): Likewise.
62835         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
62836         (__SNSECONDS_T_TYPE): Likewise.
62837         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
62838         (__SNSECONDS_T_TYPE): Likewise.
62840 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
62842         * sysdeps/mach/hurd/bits/typesizes.h
62843         (__SYSCALL_SLONG_TYPE): New macro.
62844         (__SYSCALL_ULONG_TYPE): Likewise.
62846 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
62848         * bits/types.h (__syscall_slong_t): New type.
62849         (__syscall_ulong_t): Likewise.
62851         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
62852         (__SYSCALL_ULONG_TYPE): Likewise.
62853         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
62854         (__SYSCALL_SLONG_TYPE): Likewise.
62855         (__SYSCALL_ULONG_TYPE): Likewise.
62856         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
62857         (__SYSCALL_SLONG_TYPE): Likewise.
62858         (__SYSCALL_ULONG_TYPE): Likewise.
62859         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
62860         (__SYSCALL_SLONG_TYPE): Likewise.
62861         (__SYSCALL_ULONG_TYPE): Likewise.
62863 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
62865         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
62866         Add sigaltstack-offsets.sym.
62867         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
62868         <sigaltstack-offsets.h>.
62869         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
62870         longjmp_msg pointer.
62871         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
62872         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
62873         signal stack.
62874         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
62876 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
62878         * elf/stackguard-macros.h: Remove file.
62879         * sysdeps/generic/stackguard-macros.h: New file.
62880         * sysdeps/i386/stackguard-macros.h: Likewise.
62881         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
62882         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
62883         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
62884         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
62885         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
62886         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
62887         * sysdeps/x86_64/stackguard-macros.h: Likewise.
62888         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
62889         <elf/stackguard-macros.h>.
62891         [BZ #14109]
62892         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
62893         __aligned__ in attribute.
62894         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
62895         (gregset_t): Likewise.
62897 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
62899         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
62900         * sysdeps/x86_64/64/Implies-after: Here.  New file.
62901         * sysdeps/x86_64/x32/Implies-after: New file.
62903 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
62905         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
62906         and access return value for _dl_profile_fixup.  Use R10_LP to
62907         load frame size.
62909 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
62911         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
62913 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
62915         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
62916         * sysdeps/x86_64/x32/sysdep.h: New file.
62918 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
62920         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
62921         * sysdeps/x86_64/setjmp.S: Likewise.
62923 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
62925         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
62926         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
62927         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
62928         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
62929         remove unused global constant.
62931 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
62933         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
62934         include of <not-cancel.h>.
62936 2012-05-15  Roland McGrath  <roland@hack.frob.com>
62938         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
62940 2012-05-15  Jeff Law  <law@redhat.com>
62941             Andreas Jaeger  <aj@suse.de>
62943         [BZ #13594]
62944         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
62945         out from...
62946         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
62947         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
62948         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
62949         code changing __hst_map_handle.map.
62951 2012-05-15  Roland McGrath  <roland@hack.frob.com>
62953         * configure.in (sysnames): Look for Implies-before and Implies-after
62954         files.
62955         * configure: Regenerated.
62957 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
62959         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
62960         8-byte data alignment with LP_SIZE alignment.
62962 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
62964         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
62965         into R10_LP.
62967 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
62969         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
62971 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
62973         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
62974         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
62975         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
62976         Likewise.
62977         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
62979 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
62981         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
62982         (stackinfo_sub_sp): Likewise.
62984 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
62986         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
62987         RAX_LP.
62989 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
62991         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
62992         into R*_LP.
62994 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
62996         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
62997         sizes into R*_LP.
62999 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
63001         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
63003 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
63005         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
63006         into R11_LP and load __x86_64_shared_cache_size_half into
63007         R8_LP.
63009 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
63011         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
63012         R8_LP.
63014 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
63016         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
63017         logb for POWER7.
63018         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
63019         logbf for POWER7.
63020         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
63021         logbl for POWER7.
63022         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
63023         powerpc32/power7/fpu/s_logb.c via #include.
63024         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
63025         powerpc32/power7/fpu/s_logbf.c via #include.
63026         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
63027         powerpc32/power7/fpu/s_logbl.c via #include.
63029 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
63031         * README.libm: Remove file.
63033 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
63035         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
63036         count for x32.  Use R*_LP and omit operand-size suffix.
63038 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
63040         * shlib-versions: Move x86_64-.*-linux.* entries to ...
63041         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
63042         * sysdeps/x86_64/x32/shlib-versions: New file.
63044 2012-05-14  Roland McGrath  <roland@hack.frob.com>
63046         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
63047         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
63048         Use _dl_fatal_printf instead.
63050 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
63052         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
63053         set if not set by the user.  Do not allow for being unset.
63054         * sysdeps/unix/sysv/linux/configure: Regenerated.
63056 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
63058         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
63059         the `q' suffix from lea and replace .quad with ASM_ADDR.
63061 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
63063         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
63064         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
63065         instead of $17.
63066         (PTR_DEMANGLE): Likewise.
63068 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
63070         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
63071         (LP_OP): Likewise.
63072         (ASM_ADDR): Likewise.
63073         (RAX_LP): Likewise.
63074         (RBP_LP): Likewise.
63075         (RBX_LP): Likewise.
63076         (RCX_LP): Likewise.
63077         (RDI_LP): Likewise.
63078         (RSI_LP): Likewise.
63079         (RSP_LP): Likewise.
63080         (R8_LP): Likewise.
63081         (R9_LP): Likewise.
63082         (R10_LP): Likewise.
63083         (R10_LP): Likewise.
63084         (R11_LP): Likewise.
63085         (R12_LP): Likewise.
63086         (R13_LP): Likewise.
63087         (R14_LP): Likewise.
63088         (R15_LP): Likewise.
63090 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
63092         * sysdeps/x86_64/x32/dl-machine.h: New file.
63094 2012-05-14  Andreas Jaeger  <aj@suse.de>
63096         * manual/Makefile (subdir): Remove export of subdir.
63097         (all): Remove target.
63098         (.PHONY): Remove all from list.
63099         (mkinstalldirs): Remove.
63100         (.PHONY): Remove installdirs from list.
63101         ($(inst_infodir)/libc.info): Use make-target-directory.
63102         (installdirs): Remove.
63103         (subdir_%): Remove.
63104         (glibc-targets): Remove.
63105         (lib): Remove.
63106         (stubs): Remove.
63107         ($(objpfx)stubs ../po/manual.pot): Remove.
63108         ($(objpfx)stamp%): Remove.
63109         (make-target-directory): Remove.
63110         (subdir_install): Remove.
63111         (routines): Remove.
63112         (aux): Remove.
63113         (sources): Remove.
63114         (objects): Remove.
63115         (headers): Remove.
63117         [BZ #13750]
63118         * manual/.gitignore: Remove, it's not needed anymore.
63119         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
63120         all files in it.
63121         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
63122         directory.
63123         (texis): Renamed to $(objpfx)texis.
63124         (texis-path): New, contains path to generated files.
63125         (chapters.%): Use texis-path for complete path, add extra argument
63126         libc-texinfo.sh.
63127         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
63128         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
63129         (summary,texi, stamp-summary): Use complete path of
63130         files. Generate files in build dir.
63131         (dir-add.texi): Build in build dir.
63132         (libm-err.texi,stamp-libm-err): Likewise.
63133         (version.texi, stamp-version): Likewise.
63134         (.%c.texi): Likewise.
63135         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
63136         (mostlyclean): Remove target.
63137         (realclean): Remove target.
63138         (generated): Add new variable with contents from mostlyclean and
63139         realclean, remove entries duplicated in common-mostlyclean, add
63140         stamp-libm-err and stamp-version.
63141         (generated-dirs): Add libc directory.
63142         ($(inst_infodir)/libc.info): Install files from build dir.
63144         * manual/install.texi (Configuring and compiling): Adjust since
63145         the info files are not part of the tar ball anymore.
63147 2012-05-14  Andreas Jaeger  <aj@suse.de>
63149         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
63150         variable.
63152 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
63154         [BZ #13717]
63155         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
63156         to 2.2.0 where earlier.
63157         * sysdeps/unix/sysv/linux/configure: Regenerated.
63158         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
63159         Remove conditional code.
63160         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
63161         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
63162         Remove conditional code.
63163         [!__NR_lchown]: Likewise.
63164         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
63165         [__NR_lchown]: Likewise.
63166         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
63167         comment referencing __ASSUME_LCHOWN_SYSCALL.
63168         * sysdeps/unix/sysv/linux/i386/sigaction.c
63169         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
63170         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
63171         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
63172         Remove conditional code.
63173         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
63174         (__protocol_available): Remove #if 0 code.
63175         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
63176         conditional code.
63177         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
63178         * sysdeps/unix/sysv/linux/kernel-features.h
63179         (__ASSUME_GETCWD_SYSCALL): Don't define.
63180         (__ASSUME_REALTIME_SIGNALS): Likewise.
63181         (__ASSUME_PREAD_SYSCALL): Likewise.
63182         (__ASSUME_PWRITE_SYSCALL): Likewise.
63183         (__ASSUME_POLL_SYSCALL): Likewise.
63184         (__ASSUME_LCHOWN_SYSCALL): Likewise.
63185         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
63186         non-SPARC.
63187         (__ASSUME_SIOCGIFNAME): Don't define.
63188         (__ASSUME_MSG_NOSIGNAL): Likewise.
63189         (__ASSUME_SENDFILE): Define unconditionally.
63190         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
63191         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
63192         conditional code.
63193         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
63194         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
63195         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
63196         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
63197         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
63198         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
63199         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
63200         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
63201         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
63202         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
63203         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
63204         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
63205         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
63206         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
63207         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
63208         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
63209         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
63210         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
63211         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
63212         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
63213         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
63214         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
63215         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
63216         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
63217         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
63218         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
63219         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
63220         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
63221         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
63222         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
63223         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
63224         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
63225         Remove conditional code.
63226         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
63227         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
63228         Remove conditional code.
63229         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
63230         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
63231         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
63232         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
63233         Remove conditional code.
63234         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
63235         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
63236         Remove conditional code.
63237         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
63238         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
63239         Remove conditional code.
63240         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
63241         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
63242         Remove conditional code.
63243         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
63244         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
63245         Remove conditional code.
63246         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
63247         * sysdeps/unix/sysv/linux/sh/pwrite64.c
63248         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
63249         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
63250         * sysdeps/unix/sysv/linux/sigaction.c
63251         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
63252         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
63253         * sysdeps/unix/sysv/linux/sigpending.c
63254         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
63255         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
63256         * sysdeps/unix/sysv/linux/sigprocmask.c
63257         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
63258         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
63259         * sysdeps/unix/sysv/linux/sigsuspend.c
63260         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
63261         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
63262         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
63263         (__libc_missing_rt_sigs): Remove.
63264         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
63265         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
63266         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
63267         Remove conditional code.
63268         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
63269         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
63270         return 1.
63271         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
63272         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
63273         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
63274         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
63276 2012-05-14  Andreas Jaeger  <aj@suse.de>
63278         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
63279         it's not used in glibc.
63280         (__coshm1): Likewise.
63281         (__acosh1p): Likewise.
63282         (__sgn): Likewise.
63284         * manual/string.texi (Copying and Concatenation): Add missing
63285         variable in concat example.
63286         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
63288 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
63290         [BZ #14103]
63291         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
63292         __builtin_clzl with __builtin_clzll.
63294 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
63296         [BZ #14104]
63297         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
63298         libc_freeres_ptr.
63300 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
63302         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
63303         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
63304         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
63305         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
63307 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
63309         * NEWS: Update ia64 info.
63311 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
63313         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
63314         used as bcopy.
63316 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
63318         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
63319         * sysdeps/unix/syscalls.list (dup3): Likewise.
63320         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
63321         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
63323 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
63325         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
63326         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
63328 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
63330         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
63331         thread pointer.
63332         (TLS_IE): Use mov/add instead of movq/addq to load thread
63333         pointer.
63334         (TLS_GD_PREFIX): New.
63335         (TLS_GD): Use it.
63337 2012-05-11  David S. Miller  <davem@davemloft.net>
63339         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
63340         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
63341         (_FPU_SETCW): Likewise.
63343 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
63345         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
63346         is 32-byte aligned.
63348 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
63350         [BZ #11837]
63351         * iconvdata/gb18030.c: Update tables.
63352         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
63353         characters specially.
63354         (BODY for TO_LOOP): Add encoding of missing ranges.
63356 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
63358         [BZ #13673]
63359         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
63360         * sysdeps/mach/hurd/dup3.c: Likewise.
63361         * sysdeps/mach/hurd/readlinkat.c: Likewise.
63362         * sysdeps/powerpc/memmove.c:: Likewise.
63364 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
63366         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
63367         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
63369 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
63371         * elf/elf.h (R_X86_64_RELATIVE64): New.
63372         (R_X86_64_NUM): Updated.
63373         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
63374         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
63375         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
63376         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
63377         tst-quad1pie tst-quad2pie
63378         (modules-names): Add tst-quadmod1 tst-quadmod2.
63379         ($(objpfx)tst-quad1): New dependency.
63380         ($(objpfx)tst-quad2): Likewise.
63381         ($(objpfx)tst-quad1pie): Likewise.
63382         ($(objpfx)tst-quad2pie): Likewise.
63383         * sysdeps/x86_64/tst-quad1.c: New file.
63384         * sysdeps/x86_64/tst-quad1pie.c: New file.
63385         * sysdeps/x86_64/tst-quad2.c: Likewise.
63386         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
63387         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
63388         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
63389         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
63390         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
63392 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
63394         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
63395         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
63396         * streams/stropts.h (t_scalar_t): Define type.
63398         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
63399         (_PATH_PRESERVE): Set to "/var/lib".
63400         (_PATH_RWHODIR): Set to "/var/spool/rwho".
63402         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
63403         instead of int.
63405         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
63406         if __dir_mkfile succeeded.
63408         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
63409         checking for _hurd_dtablesize.  Unlock it right after having
63410         finished _hurd_dtable allocation.
63412 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
63414         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
63415         * sysdeps/mach/hurd/configure: Regenerated.
63416         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
63417         special-casing to...
63418         * sysdeps/gnu/configure.in: ... this new file.
63419         * sysdeps/unix/sysv/linux/configure: Regenerated.
63420         * sysdeps/gnu/configure: New generated file.
63422         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
63423         for Linux: use nsec instead of usec, as well as:
63424         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
63425         members of type struct timespec.
63426         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
63427         New macros.
63428         (struct stat64): Likewise.
63429         (_STATBUF_ST_NSEC): New macro.
63430         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
63432         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
63433         __strtoul_internal rather than strtoul.
63435 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
63437         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
63438         and reject them.
63440 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
63442         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
63443         which preserves existing values.
63444         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
63446 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
63448         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
63449         TIMEOUT values.  Return EINVAL for NFDS values either negative or
63450         greater than FD_SETSIZE.
63452 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
63454         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
63455         allocated, call __vm_protect to finish enabling the existing space, and
63456         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
63457         allocate the remainder.
63459 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
63461         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
63462         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
63464 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
63466         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
63467         sysdeps/mach/hurd/readlink.c.
63469         * posix/tst-sysconf.c (posix_options): Only use
63470         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
63471         _POSIX_SYNCHRONIZED_IO when they are defined
63472         * sysdeps/mach/hurd/bits/posix_opt.h:
63473         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
63474         (_XOPEN_REALTIME): Undefine macro.
63475         (_XOPEN_REALTIME_THREADS): Undefine macro.
63476         (_XOPEN_SHM): Undefine macro.
63477         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
63478         macro to -1.
63479         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
63480         macro to -1.
63481         (_POSIX_ASYNC_IO): Undefine macro.
63482         (_POSIX_PRIORITIZED_IO): Undefine macro.
63483         (_POSIX_SPIN_LOCKS): Define macro to -1.
63485         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
63486         SA_NODEFER, SA_RESETHAND.
63487         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
63488         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
63489         F_DUPFD_CLOEXEC.
63491 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
63493         * elf/Makefile (pldd-modules): Define unconditionally.
63495 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
63497         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
63499 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
63501         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
63502         Return ENOENT when name is empty.
63503         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
63505 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
63507         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
63509         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
63511 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
63513         Fix mlock in all cases except non-readable pages.
63514         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
63515         instead of VM_PROT_ALL as parameter to __vm_wire function.
63517         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
63518         (__mkdir): When path is `/', just fail with EEXIST.
63519         * sysdeps/mach/hurd/mkdirat.c: Likewise.
63521 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
63523         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
63524         <sys/uio.h> (for writev).
63525         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
63526         and <sys/param.h> (for MIN).
63528 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
63530         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
63531         REQUESTED_TIME.  Properly set the remaining time and return EINTR
63532         if interrupted.
63534 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
63536         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
63537         Depend on against $(link-rpcuserlibs).
63539 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
63541         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
63542         (__libc_stack_end): Do not use attribute_relro.
63543         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
63544         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
63545         to libthread-provided value.
63546         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
63547         attribute_relro.
63549 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
63551         [BZ #3748]
63552         * bits/libc-lock.h (__libc_once_get): New macro.
63553         * sysdeps/mach/bits/libc-lock.h: Likewise.
63554         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
63555         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
63556         instead of using implementation details.
63558         * libio/fileops.c: Unconditionally include <kernel-features.h>.
63559         * libio/freopen.c: Likewise.
63560         * libio/freopen64.c: Likewise.
63561         * misc/syslog.c: Likewise.
63562         * nscd/connections.c: Likewise.
63563         * nscd/netgroupcache.c: Likewise.
63564         * sysdeps/posix/getcwd.c: Likewise.
63566 2012-05-10  Roland McGrath  <roland@hack.frob.com>
63568         * math/w_ilogbf.c: Add #include <limits.h>.
63570 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
63572         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
63573         path instead of returning without unlocking.
63575         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
63576         immediate-write ioctls.
63577         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
63579 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
63581         * sysdeps/mach/hurd/i386/init-first.c (init): Use
63582         __builtin_frame_address instead of making assumptions about the
63583         location of the return address relative to DATA.  Force early load of
63584         the return address.
63585         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
63586         __builtin_frame_address.
63588         dup3 for GNU Hurd.
63589         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
63590         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
63591         implement dup3 and do some further code clean-ups.
63592         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
63593         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
63595 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
63597         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
63599         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
63600         HURD_CRITICAL_END around holding _hurd_dtable_lock.
63601         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
63602         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
63603         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
63604         d->port.lock.
63606         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
63607         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
63608         when handler == SIG_ERR, not when handler != SIG_ERR.
63610 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
63612         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
63613         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
63614         definitions.
63616         accept4 for GNU Hurd.
63617         * include/sys/socket.h (__libc_accept4): New prototype.
63618         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
63619         to implement __libc_accept4.
63620         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
63621         __libc_accept4.
63622         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
63624         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
63625         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
63626         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
63627         signal-defines.sym.
63629 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
63631         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
63633 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
63635         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
63636         assertion on O_CLOEXEC flag.
63637         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
63638         * hurd/intern-fd.c: Likewise.
63639         * hurd/port2fd.c: Likewise.
63641 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
63643         [BZ #3906]
63644         * bits/in.h (IPV6_PKTINFO): Define new macro.
63645         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
63647 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
63649         [BZ #13954]
63650         [BZ #13955]
63651         [BZ #13956]
63652         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
63653         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
63654         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
63655         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
63656         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
63657         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
63658         * math/libm-test.inc (logb_test) : Additional logb tests.
63660 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
63661             Andreas Jaeger  <aj@suse.de>
63663         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
63664         * configure: Regenerated.
63665         * config.h.in (LINK_OBSOLETE_RPC): New macro.
63666         * config.make.in (link-obsolete-rpc): New substituted variable.
63667         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
63668         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
63669         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
63670         (shared-only-routines): Don't set it under [link-obsolete-rpc],
63671         so that libc.a contains the symbols.
63672         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
63673         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
63674         * sunrpc/auth_none.c: Likewise.
63675         * sunrpc/auth_unix.c: Likewise.
63676         * sunrpc/authdes_prot.c: Likewise.
63677         * sunrpc/authuxprot.c: Likewise.
63678         * sunrpc/clnt_gen.c: Likewise.
63679         * sunrpc/clnt_perr.c: Likewise.
63680         * sunrpc/clnt_raw.c: Likewise.
63681         * sunrpc/clnt_simp.c: Likewise.
63682         * sunrpc/clnt_tcp.c: Likewise.
63683         * sunrpc/clnt_udp.c: Likewise.
63684         * sunrpc/clnt_unix.c: Likewise.
63685         * sunrpc/des_crypt.c: Likewise.
63686         * sunrpc/des_soft.c: Likewise.
63687         * sunrpc/get_myaddr.c: Likewise.
63688         * sunrpc/key_call.c: Likewise.
63689         * sunrpc/key_prot.c: Likewise.
63690         * sunrpc/netname.c: Likewise.
63691         * sunrpc/pm_getmaps.c: Likewise.
63692         * sunrpc/pm_getport.c: Likewise.
63693         * sunrpc/pmap_clnt.c: Likewise.
63694         * sunrpc/pmap_prot.c: Likewise.
63695         * sunrpc/pmap_prot2.c: Likewise.
63696         * sunrpc/pmap_rmt.c: Likewise.
63697         * sunrpc/publickey.c: Likewise.
63698         * sunrpc/rpc_cmsg.c: Likewise.
63699         * sunrpc/rpc_common.c: Likewise.
63700         * sunrpc/rpc_dtable.c: Likewise.
63701         * sunrpc/rpc_prot.c: Likewise.
63702         * sunrpc/rpc_thread.c: Likewise.
63703         * sunrpc/rtime.c: Likewise.
63704         * sunrpc/svc.c: Likewise.
63705         * sunrpc/svc_auth.c: Likewise.
63706         * sunrpc/svc_raw.c: Likewise.
63707         * sunrpc/svc_run.c: Likewise.
63708         * sunrpc/svc_tcp.c: Likewise.
63709         * sunrpc/svc_udp.c: Likewise.
63710         * sunrpc/svc_unix.c: Likewise.
63711         * sunrpc/svcauth_des.c: Likewise.
63712         * sunrpc/xcrypt.c: Likewise.
63713         * sunrpc/xdr.c: Likewise.
63714         * sunrpc/xdr_array.c: Likewise.
63715         * sunrpc/xdr_float.c: Likewise.
63716         * sunrpc/xdr_intXX_t.c: Likewise.
63717         * sunrpc/xdr_mem.c: Likewise.
63718         * sunrpc/xdr_rec.c: Likewise.
63719         * sunrpc/xdr_ref.c: Likewise.
63720         * sunrpc/xdr_sizeof.c: Likewise.
63721         * sunrpc/xdr_stdio.c: Likewise.
63723 2012-05-10  Roland McGrath  <roland@hack.frob.com>
63725         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
63726         change.  Update copyright years.
63728 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
63730         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
63732 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
63733             Joseph Myers  <joseph@codesourcery.com>
63734             Paul Pluzhnikov  <ppluzhnikov@google.com>
63736         [BZ #14012]
63737         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
63738         requiring rpcgen.
63739         [cross-compiling] (extra-libs): Likewise.
63740         [cross-compiling] (extra-libs-others): Likewise.
63741         [cross-compiling] (librpcsvc-routines): Likewise.
63742         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
63743         [cross-compiling] (omit-deps): Likewise.
63744         (sunrpc-CPPFLAGS): New variable.
63745         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
63746         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
63747         (cross-rpcgen-objs): New variable.
63748         (extra-objs): Append $(cross-rpcgen-objs).
63749         ($(cross-rpcgen-objs)): New rule.
63750         ($(objpfx)cross-rpcgen): Likewise.
63751         (rpcgen-cmd): Define to use $(built-program-file).  Expand
63752         comment.
63753         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
63754         ($(objpfx)x%.stmp): Likewise.
63755         * sunrpc/proto.h [IS_IN_build] (_): Define.
63756         [IS_IN_build] (_libc_intl_domainname): Likewise.
63758 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
63760         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
63761         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
63762         and R_X86_64_TPOFF64.
63764 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
63766         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
63767         sysdeps/unix/sysv/syscalls.list.
63768         (stime): Likewise.
63769         (utime): Likewise.
63770         * sysdeps/unix/sysv/syscalls.list: Remove file.
63772 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
63774         [BZ #3440]
63775         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
63776         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
63777         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
63778         (__LC_IDENTIFICATION): Make these macros useful in #if
63779         expressions, as required by C99.
63781 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
63783         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
63784         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
63785         after this.
63787 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
63789         * stdlib/longlong.h: Updated from GCC.
63791 2012-05-09  Andreas Jaeger  <aj@suse.de>
63793         * nscd/nscd.c (run_modes): Make named enum, reorder so that
63794         default is first entry.
63795         (run_mode): Set type.
63796         (main): Remove informal message about syslog.
63797         (options): Fix typo.
63799         [BZ #14053]
63800         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
63801         to asm.
63802         (lrint): Likewise.
63803         (llrintf): Likewise.
63804         (llrint): Likewise.
63805         (rint): Likewise.
63806         (rintf): Likewise.
63807         (nearbyint): Likewise.
63808         (nearbyintf): Likewise.
63810 2012-05-09  Andreas Jaeger  <aj@suse.de>
63811             Pedro Alves  <palves@redhat.com>
63813         * nscd/nscd.c (run_mode): Use enum.
63814         (main): Cleanup coding style issue.
63816 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
63817             Andreas Jaeger  <aj@suse.de>
63819         * nscd/nscd.c (go_background): Replaced with...
63820         (run_mode): ... this.
63821         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
63822         (options): Add -F --foreground.
63823         (main): Implement it.
63824         (parse_opt): Parse it.
63826 2012-05-09  Andreas Jaeger  <aj@suse.de>
63828         [BZ #14083]
63829         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
63830         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
63831         -Wconversion warning.
63832         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
63833         Likewise.
63835 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
63837         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
63838         == 0.
63839         (LC_ALL): Use macro-int-constant.
63840         (LC_COLLATE): Likewise.
63841         (LC_CTYPE): Likewise.
63842         (LC_MESSAGES): Likewise.
63843         (LC_MONETARY): Likewise.
63844         (LC_NUMERIC): Likewise.
63845         (LC_TIME): Likewise.
63846         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
63847         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
63848         [ISO || ISO99 || ISO11] (*_t): Do not allow.
63849         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
63850         Specify type.
63851         [C99-based standards] (float_t): Expect type.
63852         [C99-based standards] (double_t): Expect type.
63853         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
63854         type.
63855         [C99-based standards] (HUGE_VALL): Likewise.
63856         [C99-based standards] (INFINITY): Likewise.
63857         [C99-based standards] (NAN): Likewise.
63858         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
63859         [C99-based standards] (FP_NAN): Likewise.
63860         [C99-based standards] (FP_NORMAL): Likewise.
63861         [C99-based standards] (FP_SUBNORMAL): Likewise.
63862         [C99-based standards] (FP_ZERO): Likewise.
63863         [C99-based standards] (FP_FAST_FMA): Use
63864         optional-macro-int-constant.  Specify type.  Require == 1.
63865         [C99-based standards] (FP_FAST_FMAF): Likewise.
63866         [C99-based standards] (FP_FAST_FMAL): Likewise.
63867         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
63868         [C99-based standards] (FP_ILOGBNAN): Likewise.
63869         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
63870         Specify type.
63871         [C99-based standards] (MATH_ERREXCEPT): Likewise.
63872         [C99-based standards] (math_errhandling): Specify type.
63873         [ISO99 || ISO11] (signgam): Do not allow.
63874         [non-C99-based standards] (copysignf): Do not allow.
63875         [non-C99-based standards] (exp2f): Likewise.
63876         [non-C99-based standards] (log2f): Likewise.
63877         [non-C99-based standards] (modff): Allow.
63878         [non-C99-based standards] (erff): Do not allow.
63879         [non-C99-based standards] (erfcf): Likewise.
63880         [non-C99-based standards] (gammaf): Likewise.
63881         [non-C99-based standards] (hypotf): Likewise.
63882         [non-C99-based standards] (j0f): Likewise.
63883         [non-C99-based standards] (j1f): Likewise.
63884         [non-C99-based standards] (jnf): Likewise.
63885         [non-C99-based standards] (lgammaf): Likewise.
63886         [non-C99-based standards] (tgammaf): Likewise.
63887         [non-C99-based standards] (y0f): Likewise.
63888         [non-C99-based standards] (y1f): Likewise.
63889         [non-C99-based standards] (ynf): Likewise.
63890         [non-C99-based standards] (isnanf): Likewise.
63891         [non-C99-based standards] (acoshf): Likewise.
63892         [non-C99-based standards] (asinhf): Likewise.
63893         [non-C99-based standards] (atanhf): Likewise.
63894         [non-C99-based standards] (cbrtf): Likewise.
63895         [non-C99-based standards] (expm1f): Likewise.
63896         [non-C99-based standards] (ilogbf): Likewise.
63897         [non-C99-based standards] (log1pf): Likewise.
63898         [non-C99-based standards] (logbf): Likewise.
63899         [non-C99-based standards] (nextafterf): Likewise.
63900         [non-C99-based standards] (remainderf): Likewise.
63901         [non-C99-based standards] (rintf): Likewise.
63902         [non-C99-based standards] (scalbf): Likewise.
63903         [non-C99-based standards] (copysignl): Likewise.
63904         [non-C99-based standards] (exp2l): Likewise.
63905         [non-C99-based standards] (log2l): Likewise.
63906         [non-C99-based standards] (modfl): Allow.
63907         [non-C99-based standards] (erfl): Do not allow.
63908         [non-C99-based standards] (erfcl): Likewise.
63909         [non-C99-based standards] (gammal): Likewise.
63910         [non-C99-based standards] (hypotl): Likewise.
63911         [non-C99-based standards] (j0l): Likewise.
63912         [non-C99-based standards] (j1l): Likewise.
63913         [non-C99-based standards] (jnl): Likewise.
63914         [non-C99-based standards] (lgammal): Likewise.
63915         [non-C99-based standards] (tgammal): Likewise.
63916         [non-C99-based standards] (y0l): Likewise.
63917         [non-C99-based standards] (y1l): Likewise.
63918         [non-C99-based standards] (ynl): Likewise.
63919         [non-C99-based standards] (isnanl): Likewise.
63920         [non-C99-based standards] (acoshl): Likewise.
63921         [non-C99-based standards] (asinhl): Likewise.
63922         [non-C99-based standards] (atanhl): Likewise.
63923         [non-C99-based standards] (cbrtl): Likewise.
63924         [non-C99-based standards] (expm1l): Likewise.
63925         [non-C99-based standards] (ilogbl): Likewise.
63926         [non-C99-based standards] (log1pl): Likewise.
63927         [non-C99-based standards] (logbl): Likewise.
63928         [non-C99-based standards] (nextafterl): Likewise.
63929         [non-C99-based standards] (remainderl): Likewise.
63930         [non-C99-based standards] (rintl): Likewise.
63931         [non-C99-based standards] (scalbl): Likewise.
63932         [ISO || ISO99 || ISO11] (*_t): Do not allow.
63933         [non-C99-based standards] (FP_*): Do not allow.
63934         [C99-based standards] (FP_*): Change to
63935         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
63936         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
63937         allow.
63938         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
63939         (SIG_ERR): Likewise.
63940         [X/Open-based standards] (SIG_HOLD): Likewise.
63941         (SIG_IGN): Likewise.
63942         (SIGABRT): Use macro-int-constant.  Specify type.  Require
63943         positive value.
63944         (SIGFPE): Likewise.
63945         (SIGILL): Likewise.
63946         (SIGINT): Likewise.
63947         (SIGSEGV): Likewise.
63948         (SIGTER): Likewise.
63949         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
63950         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
63951         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
63952         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
63953         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
63954         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
63955         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
63956         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
63957         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
63958         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
63959         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
63960         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
63961         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
63962         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
63963         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
63964         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
63965         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
63966         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
63967         [X/Open-based standards] (SIGTRAP): Likewise.
63968         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
63969         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
63970         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
63971         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
63972         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
63973         allow.
63975 2012-05-08  Ian Wienand  <ianw@vmware.com>
63977         [BZ #14080]
63978         * time/tzset.c (__tzset_parse_tz): Update default rules for
63979         daylight time changes in the Energy Policy Act of 2005.
63981 2012-05-09  Andreas Jaeger  <aj@suse.de>
63983         [BZ #13983]
63984         * elf/ldconfig.c (parse_conf): Change string to make clear that
63985         ldconfig only issued a warning if ld.so.conf does not exist.
63987 2012-05-08  David S. Miller  <davem@davemloft.net>
63989         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
63990         movxtod instead of popping the value on the stack.
63992         * sysdeps/sparc/fpu/libm-test-ulps: Update.
63994 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
63996         * config.h.in: Add HAVE_ARM_PCS_VFP.
63998 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
64000         [BZ #13979]
64001         * include/features.h: Warn if user requests __FORTIFY_SOURCE
64002         checking but the checks are disabled for any reason.
64004 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
64006         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
64007         and ELF64_R_TYPE with ELFW(R_TYPE).
64009 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
64011         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
64012         (ulimit): Likewise.
64014         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
64015         (settimeofday): Likewise.
64017 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
64019         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
64020         a struct th_u2 inside the union, and move tu_block/tu_code into
64021         a new th_u3 union of tu_block/tu_code inside of that.  Move
64022         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
64023         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
64024         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
64025         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
64026         (th_stuff): Change to th_u1.tu_stuff.
64027         (th_data): Define.
64028         (th_msg): Change to th_u1.th_u2.tu_data.
64030 2012-05-07  David S. Miller  <davem@davemloft.net>
64032         * sysdeps/sparc/fpu/libm-test-ulps: Update.
64034         [BZ #14074]
64035         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
64036         (SETUP_PIC_REG): Use it.
64037         (SETUP_PIC_REG_LEAF): Use it.
64039 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
64041         [BZ #13885]
64042         [BZ #13923]
64043         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
64044         USE_AS_EXPM1L.
64045         (EXPL_FINITE): Likewise.
64046         (FLDLOG): Likewise.
64047         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
64048         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
64049         e_expl.S.
64050         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
64051         USE_AS_EXPM1L.
64052         (EXPL_FINITE): Likewise.
64053         (FLDLOG): Likewise.
64054         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
64055         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
64056         e_expl.S.
64057         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
64058         test of -max_value argument for long double.
64059         * sysdeps/i386/fpu/libm-test-ulps: Update.
64060         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64062 2012-05-06  David S. Miller  <davem@davemloft.net>
64064         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
64065         quad soft-float symbols whose references which are compiler
64066         generated.
64067         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
64069 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
64071         [BZ #13884]
64072         [BZ #13914]
64073         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
64074         USE_AS_EXP10L.
64075         (EXPL_FINITE): Likewise.
64076         (FLDLOG): Likewise.
64077         (c0): Likewise.
64078         (c1): Likewise.
64079         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
64080         Adjust comments for base varying.
64081         (__expl_finite): Change alias to EXPL_FINITE.
64082         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
64083         e_expl.S.
64084         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
64085         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
64086         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
64087         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
64088         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
64089         USE_AS_EXP10L.
64090         (EXPL_FINITE): Likewise.
64091         (FLDLOG): Likewise.
64092         (c0): Likewise.
64093         (c1): Likewise.
64094         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
64095         Adjust comments for base varying.
64096         (__expl_finite): Change alias to EXPL_FINITE.
64097         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
64098         tests for bugs.
64099         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
64101         [BZ #14064]
64102         * math/libm-test.inc (check_float_internal): Correct ulp
64103         calculation for subnormal expected results.
64105 2012-05-06  Andreas Jaeger  <aj@suse.de>
64107         * Makeconfig (+math-flags): New, set to -frounding-math.
64108         (+cflags): Add +math-flags so that all of glibc gets compiled with
64109         it.
64111         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
64113 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
64115         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
64116         Disable one test.
64118         [BZ #13787]
64119         [BZ #13922]
64120         [BZ #14036]
64121         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
64122         (__ieee754_expl): Allow for and saturate large arguments.
64123         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
64124         (u_threshold): Likewise.
64125         (__exp): Call __ieee754_exp before checking for overflow and
64126         underflow.
64127         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
64128         (u_threshold): Likewise.
64129         (__expf): Call __ieee754_expf before checking for overflow and
64130         underflow.
64131         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
64132         (u_threshold): Likewise.
64133         (__expl): Call __ieee754_expl before checking for overflow and
64134         underflow.
64135         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
64136         (__ieee754_expl): Allow for and saturate large arguments.
64137         * math/libm-test.inc (exp_test): Add another test.  Do not allow
64138         missing overflow exception on overflow.
64139         (expm1_test): Do not allow missing overflow exception on overflow.
64141         * sysdeps/i386/fpu/e_expl.c: Move to ...
64142         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
64143         rather than using inline asm.
64144         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
64145         * sysdeps/x86_64/fpu/e_expl.S: Copy from
64146         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
64148         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
64149         (nice): Likewise.
64150         (poll): Likewise.
64151         (signal): Likewise.
64152         (time): Likewise.
64153         (times): Likewise.
64155 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
64157         * sysdeps/unix/syscalls.list (adjtime): Add entry from
64158         sysdeps/unix/common/syscalls.list.
64159         (fchmod): Likewise.
64160         (fchown): Likewise.
64161         (ftruncate): Likewise.
64162         (getrusage): Likewise.
64163         (gettimeofday): Likewise.
64164         (setpgid): Likewise.
64165         (setregid): Likewise.
64166         (setreuid): Likewise.
64167         (sigaction): Likewise.
64168         (truncate): Likewise.
64169         (vhangup): Likewise.
64170         * sysdeps/unix/common/syscalls.list: Remove file.
64171         * sysdeps/unix/bsd/Implies: Don't include unix/common.
64172         * sysdeps/unix/sysv/linux/Implies: Likewise.
64174 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
64176         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
64177         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
64178         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
64179         Moved to ...
64180         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
64181         Here.
64182         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
64183         to ...
64184         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
64185         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
64186         to ...
64187         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
64188         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
64189         to ...
64190         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
64191         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
64192         to ...
64193         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
64194         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
64195         to ...
64196         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
64197         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
64198         to ...
64199         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
64200         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
64201         to ...
64202         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
64203         Here.
64204         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
64205         to ...
64206         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
64207         Here.
64208         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
64209         to ...
64210         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
64211         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
64212         Moved to ...
64213         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
64214         Here.
64215         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
64216         to ...
64217         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
64219 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
64221         * sysdeps/unix/common/bits/dirent.h: Remove file.
64222         * sysdeps/unix/common/bits/fcntl.h: Likewise.
64224         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
64225         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
64226         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
64227         * sysdeps/unix/bsd/isatty.c: Likewise.
64228         * sysdeps/unix/bsd/tcdrain.c: Likewise.
64229         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
64230         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
64232 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
64234         [BZ #13563]
64235         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
64236         long double comparison inaccuracies.
64237         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
64238         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
64240 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
64242         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
64243         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
64245 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
64247         [BZ #14049]
64248         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
64249         nonzero digits before rounding a hex value.
64250         * stdlib/tst-strtod.c (tests): Add another test.
64252 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
64254         * sysdeps/s390/fpu/libm-test-ulps: Update.
64256 2012-05-03  Andreas Jaeger  <aj@suse.de>
64258         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
64259         does not get optimized out.
64260         (malloc_opt_barrier): New.
64262 2012-05-03  Andreas Jaeger  <aj@suse.de>
64263             Roland McGrath  <roland@hack.frob.com>
64265         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
64266         intermediate file deletion.
64267         (generated): Add .symlist files.
64269 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
64271         [BZ #13775]
64272         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
64273         Redirect under this condition.
64274         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
64275         [__USE_GNU] (__dprintf_chk): Not under this condition.
64276         [__USE_GNU] (__vdprintf_chk): Likewise.
64277         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
64278         under this condition.
64279         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
64280         [__USE_XOPEN2K8] (dprintf): Define under this condition.
64281         [__USE_XOPEN2K8] (vdprintf): Likewise.
64282         [__USE_GNU] (__dprintf_chk): Not under this condition.
64283         [__USE_GNU] (__vdprintf_chk): Likewise.
64284         [__USE_GNU] (dprintf): Likewise.
64285         [__USE_GNU] (vdprintf): Likewise.
64287 2012-05-03  Roland McGrath  <roland@hack.frob.com>
64289         * elf/Makefile (common-generated): Set this instead of generated for
64290         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
64291         $(all-built-dso)-derived lists.
64293 2012-05-03  Andreas Jaeger  <aj@suse.de>
64295         * sysdeps/i386/fpu/libm-test-ulps: Update.
64297         * FAQ: Removed.
64298         * FAQ.in: Likewise.
64299         * scripts/gen-FAQ.pl: Likewise.
64300         * manual/install.texi (Installation): Point to online location of
64301         FAQ.
64302         * Makefile (files-for-dist): Remove FAQ.
64303         (FAQ): Remove.
64305 2012-05-02  Allan McRae  <allan@archlinux.org>
64307         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
64308         (LDFLAGS-reldepmod5.so): Likewise.
64309         (LDFLAGS-reldep6mod1.so): Likewise.
64310         (LDFLAGS-reldep6mod4.so): Likewise.
64311         (LDFLAGS-reldep8mod3.so): Likewise.
64312         (LDFLAGS-unload4mod1.so): Likewise.
64313         (LDFLAGS-unload4mod2.so): Likewise.
64314         (LDFLAGS-tst-initorder): Likewise.
64315         (LDFLAGS-tst-initordera2.so): Likewise.
64316         (LDFLAGS-tst-initordera3.so): Likewise.
64317         (LDFLAGS-tst-initordera4.so): Likewise.
64318         (LDFLAGS-tst-initorderb2.so): Likewise.
64319         (LDFLAGS-noload): Likewise.
64320         (LDFLAGS-next): Likewise.
64321         (LDFLAGS-order2mod1.so): Likewise.
64322         (LDFLAGS-order2mod2.so): Likewise.
64323         (LDFLAGS-tst-initorder2): Likewise.
64324         (LDFLAGS-tst-initorder2a.so): Likewise.
64325         (LDFLAGS-tst-initorder2b.so): Likewise.
64326         (LDFLAGS-tst-initorder2c.so): Likewise.
64327         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
64329 2012-05-02  David S. Miller  <davem@davemloft.net>
64331         * sysdeps/sparc/fpu/libm-test-ulps: Update.
64333 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
64335         [BZ #14055]
64336         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
64338 2012-05-02  Andreas Jaeger  <aj@suse.de>
64340         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
64341         since we manipulate rounding mode.
64342         (CPPFLAGS-test-idouble.c): Likewise.
64343         (CPPFLAGS-test-ifloat.c): Likewise.
64344         (CFLAGS-test-ldouble.c): Likewise.
64345         (CFLAGS-test-double.c): Likewise.
64346         (CFLAGS-test-float.c): Likewise.
64347         (CFLAGS-test-misc.c): Likewise.
64348         (CFLAGS-test-test-fenv.c): Likewise.
64350 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
64352         [BZ #2550]
64353         [BZ #2570]
64354         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
64355         comparisons to determine direction to adjust input.
64357 2012-05-01  Roland McGrath  <roland@hack.frob.com>
64359         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
64360         output to the target.
64362         * scripts/localplt.awk: New file.
64363         * elf/Makefile ($(objpfx)check-localplt): Target removed.
64364         (check-localplt-CFLAGS): Variable removed.
64365         ($(all-built-dso:=.jmprel)): New static pattern rule.
64366         (generated): Add those targets.
64367         (localplt-built-dso): New variable.
64368         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
64370         * elf/check-localplt.c: File removed.
64372         * scripts/check-execstack.awk: New file.
64373         * elf/Makefile ($(objpfx)check-execstack): Target removed.
64374         (check-execstack-CFLAGS): Variable removed.
64375         ($(objpfx)check-execstack.h): Target removed.
64376         ($(objpfx)execstack-default): New target.
64377         (generated): Add that instead of check-execstack.h.
64378         ($(all-built-dso:=.phdr)): New static pattern rule.
64379         (generated): Add those targets.
64380         * elf/check-execstack.c: File removed.
64382         * scripts/check-textrel.awk: New file.
64383         * elf/Makefile ($(objpfx)check-textrel): Target removed.
64384         (check-textrel-CFLAGS): Variable removed.
64385         (all-built-dso): Use := to define.o
64386         ($(all-built-dso:=.dyn)): New static pattern rule.
64387         (generated): Add those targets.
64388         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
64389         * config.make.in (READELF): New substituted variable.
64390         * elf/check-textrel.c: File removed.
64392 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
64394         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
64395         allow.
64396         * conform/data/ctype.h-data [C99-based standards] (isblank):
64397         Expect function.
64398         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
64399         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
64400         [ISO || ISO99 || ISO11] (*_t): Do not allow.
64401         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
64402         Specify type.  Require positive value.
64403         (EILSEQ): Likewise.
64404         (ERANGE): Likewise.
64405         [ISO || POSIX] (EILSEQ): Do not expect.
64406         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
64407         Specify type.  Require positive value.
64408         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
64409         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
64410         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
64411         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
64412         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
64413         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
64414         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
64415         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
64416         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
64417         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
64418         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
64419         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
64420         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
64421         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
64422         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
64423         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
64424         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
64425         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
64426         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
64427         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
64428         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
64429         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
64430         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
64431         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
64432         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
64433         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
64434         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
64435         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
64436         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
64437         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
64438         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
64439         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
64440         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
64441         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
64442         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
64443         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
64444         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
64445         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
64446         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
64447         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
64448         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
64449         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
64450         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
64451         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
64452         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
64453         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
64454         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
64455         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
64456         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
64457         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
64458         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
64459         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
64460         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
64461         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
64462         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
64463         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
64464         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
64465         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
64466         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
64467         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
64468         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
64469         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
64470         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
64471         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
64472         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
64473         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
64474         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
64475         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
64476         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
64477         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
64478         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
64479         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
64480         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
64481         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
64482         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
64483         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
64484         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
64485         Require >= 2.
64486         (FLT_ROUNDS): Expect as macro, not constant.
64487         (FLT_MANT_DIG): Use macro-int-constant.
64488         (DBL_MANT_DIG): Likewise.
64489         (LDBL_MANT_DIG): Likewise.
64490         (FLT_DIG): Likewise.
64491         (DBL_DIG): Likewise.
64492         (LDBL_DIG): Likewise.
64493         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
64494         (DBL_MIN_EXP): Likewise.
64495         (LDBL_MIN_EXP): Likewise.
64496         (FLT_MAX_EXP): Use macro-int-constant.
64497         (DBL_MAX_EXP): Likewise.
64498         (LDBL_MAX_EXP): Likewise.
64499         (FLT_MAX_10_EXP): Likewise.
64500         (DBL_MAX_10_EXP): Likewise.
64501         (LDBL_MAX_10_EXP): Likewise.
64502         (FLT_MAX): Use macro-constant.
64503         (DBL_MAX): Likewise.
64504         (LDBL_MAX): Likewise.
64505         (FLT_EPSILON): Use macro-constant.  Give upper bound.
64506         (DBL_EPSILON): Likewise.
64507         (LDBL_EPSILON): Likewise.
64508         (FLT_MIN): Likewise.
64509         (DBL_MIN): Likewise.
64510         (LDBL_MIN): Likewise.
64511         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
64512         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
64513         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
64514         [ISO11] (FLT_HAS_SUBNORM): Likewise.
64515         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
64516         [ISO11] (DBL_DECIMAL_DIG): Likewise.
64517         [ISO11] (FLT_DECIMAL_DIG): Likewise.
64518         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
64519         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
64520         [ISO11] (FLT_TRUE_MIN): Likewise.
64521         [ISO11] (LDBL_TRUE_MIN): Likewise.
64522         [ISO || ISO99 || ISO11] (*_t): Do not allow.
64523         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
64524         (SCHAR_MIN): Use macro-int-constant.  Specify type.
64525         (SCHAR_MAX): Likewise.
64526         (UCHAR_MAX): Likewise.
64527         (CHAR_MIN): Likewise.
64528         (CHAR_MAX): Likewise.
64529         (MB_LEN_MAX): Use macro-int-constant.
64530         (SHRT_MIN): Use macro-int-constant.  Specify type.
64531         (SHRT_MAX): Likewise.
64532         (USHRT_MAX): Likewise.
64533         (INT_MAX): Likewise.
64534         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
64535         bound negative.
64536         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
64537         bound with "U".
64538         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
64539         bound with "L".
64540         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
64541         bound negative.  Suffix upper bound with "L".
64542         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
64543         bound with "UL".
64544         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
64545         Specify type.
64546         [C99-based standards] (LLONG_MAX): Likewise.
64547         [C99-based standards] (ULLONG_MAX): Likewise.
64548         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
64549         == 0.
64550         [ISO11] (max_align_t): Require type.
64551         [ISO || ISO99 || ISO11] (*_t): Do not allow.
64553         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
64554         from $CFLAGS, without defining away __attribute__ calls.
64555         (checknamespace): Use $CFLAGS_namespace.
64557         * conform/conformtest.pl (@keywords): Only include C99 keywords
64558         for standards based on C99 or C11.
64560         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
64561         Disable tests.
64562         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
64563         UNIX98]: Likewise.
64565         * conform/conformtest.pl: Handle "macro-int-constant" and test for
64566         usability of symbols in #if.
64568         * conform/conformtest.pl: If macro or constant types start
64569         "promoted:", expect the symbol to be of the following type
64570         promoted by the integer promotions.
64572         * conform/conformtest.pl: Parse all "constant" and "macro" lines
64573         in one place.  Also handle "macro-constant".
64575         * conform/conformtest.pl: Only accept expected macro values with
64576         "==".  Parse all "macro" lines in one place.
64577         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
64579         * conform/conformtest.pl: Handle braced types on "constant" lines
64580         instead of handling "typed-constant".
64581         * conform/data/signal.h-data: Use "constant" instead of
64582         "typed-constant".
64584         * conform/conformtest.pl: Handle "optional-" at start of lines in
64585         one place rather than duplicating several cases.  Handle each
64586         format of "macro" line with initial "optional-".
64588         * conform/conformtest.pl: Only accept expected constant or
64589         optional-constant values with "==".  Parse all "constant" lines in
64590         one place.  Parse all "optional-constant" lines in one place.
64591         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
64592         * conform/data/fmtmsg.h-data: Likewise.
64593         * conform/data/netinet/in.h-data: Likewise.
64594         * conform/data/tar.h-data: Likewise.
64595         * conform/data/limits.h-data: Use "==" form on "constant" and
64596         "optional-constant" lines.
64598         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
64599         Use -std=c99 for XOPEN2K.
64600         (@knownproblems): Remove.
64601         (newtoken): Don't check %isknown.
64603         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
64604         Do not expect macro.
64605         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
64606         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
64607         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
64608         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
64609         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
64610         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
64611         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
64612         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
64613         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
64614         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
64615         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
64616         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
64617         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
64618         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
64619         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
64620         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
64621         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
64622         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
64623         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
64624         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
64625         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
64626         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
64627         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
64628         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
64629         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
64630         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
64631         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
64632         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
64633         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
64634         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
64635         [XPG3] (acosh): Likewise.
64636         [XPG3] (asinh): Likewise.
64637         [XPG3] (atanh): Likewise.
64638         [XPG3] (cbrt): Likewise.
64639         [XPG3] (expm1): Likewise.
64640         [XPG3] (ilogb): Likewise.
64641         [XPG3] (log1p): Likewise.
64642         [XPG3] (logb): Likewise.
64643         [XPG3] (nextafter): Likewise.
64644         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
64645         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
64646         [XPG3] (remainder): Likewise.
64647         [XPG3] (rint): Likewise.
64648         [XPG3 || XPG4 || UNIX98] (round): Likewise.
64649         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
64650         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
64651         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
64652         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
64653         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
64654         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
64655         [UNIX98 || XOPEN2K] (scalb): Expect.
64656         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
64657         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
64658         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
64659         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
64660         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
64661         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
64662         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
64663         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
64664         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
64665         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
64666         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
64667         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
64668         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
64669         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
64670         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
64671         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
64672         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
64673         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
64674         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
64675         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
64676         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
64677         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
64678         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
64679         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
64680         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
64681         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
64682         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
64683         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
64684         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
64685         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
64686         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
64687         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
64688         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
64689         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
64690         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
64691         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
64692         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
64693         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
64694         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
64695         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
64696         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
64697         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
64698         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
64699         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
64700         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
64701         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
64702         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
64703         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
64704         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
64705         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
64706         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
64707         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
64708         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
64709         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
64710         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
64711         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
64712         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
64713         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
64714         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
64715         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
64716         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
64717         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
64718         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
64719         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
64720         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
64721         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
64722         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
64723         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
64724         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
64725         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
64726         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
64727         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
64728         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
64729         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
64730         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
64731         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
64732         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
64733         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
64734         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
64735         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
64736         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
64737         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
64738         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
64739         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
64740         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
64741         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
64742         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
64743         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
64744         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
64745         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
64746         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
64747         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
64748         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
64749         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
64750         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
64751         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
64752         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
64753         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
64754         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
64755         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
64756         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
64757         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
64758         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
64759         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
64760         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
64761         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
64762         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
64763         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
64764         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
64765         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
64766         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
64767         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
64768         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
64769         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
64770         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
64771         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
64772         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
64773         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
64774         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
64775         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
64776         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
64777         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
64778         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
64779         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
64780         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
64781         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
64782         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
64783         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
64784         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
64785         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
64786         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
64787         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
64788         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
64789         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
64790         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
64791         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
64792         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
64794         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
64795         _XOPEN_SOURCE_EXTENDED for XPG4.
64797         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
64799         * Makeconfig (localtime): Remove variable.
64800         (inst_localtime-file): Likewise.
64802 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
64804         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
64805         Update.
64806         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
64807         Update.
64808         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
64809         Update.
64810         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
64811         Update.
64812         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
64813         Update.
64814         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
64815         Update.
64816         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
64817         Update.
64818         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
64819         Update.
64820         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
64821         Update.
64823 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
64825         [BZ #2550]
64826         [BZ #2570]
64827         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
64828         comparisons to determine direction to adjust input.
64829         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
64830         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
64831         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
64832         Likewise.
64833         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
64834         Likewise.
64835         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
64836         Likewise.
64837         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
64838         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
64839         Likewise.
64840         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
64841         Likewise.
64842         * math/libm-test.inc (nexttoward_test): Add more tests.
64844 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
64846         [BZ #14040]
64847         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
64848         in version GLIBC_2.1, not GLIBC_2.0.
64849         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
64850         Likewise.
64852 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
64854         [BZ #13942]
64855         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
64856         (1 - x) * (1 + x).
64857         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
64858         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
64859         * math/libm-test.inc (acos_test): Add more tests.
64860         (asin_test): Likewise.
64861         * sysdeps/i386/fpu/libm-test-ulps: Update.
64862         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64864         [BZ #14034]
64865         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
64866         of square root.
64867         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
64868         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
64869         * math/libm-test.inc (acos_test_tonearest): New function.
64870         (acos_test_towardzero): Likewise.
64871         (acos_test_downward): Likewise.
64872         (acos_test_upward): Likewise.
64873         (asin_test_tonearest): Likewise.
64874         (asin_test_towardzero): Likewise.
64875         (asin_test_downward): Likewise.
64876         (asin_test_upward): Likewise.
64877         (main): Call the new functions.
64878         * sysdeps/i386/fpu/libm-test-ulps: Update.
64879         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
64881         [BZ #13884]
64882         [BZ #13924]
64883         * math/e_exp10.c: Include <float.h>.
64884         (__ieee754_exp10): Handle underflow here rather than multiplying
64885         large negative argument by M_LN10.
64886         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
64887         of __ieee754_expf.
64888         * math/e_exp10l.c: Include <float.h>.
64889         (__ieee754_exp10l): Handle underflow here rather than multiplying
64890         large negative argument by M_LN10l.
64891         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
64892         spurious overflow exception on underflow.
64894 2012-04-29  Marek Polacek  <polacek@redhat.com>
64896         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
64897         (__fortify_function): New macro.
64898         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
64899         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
64900         __extern_always_inline.
64901         * libio/bits/stdio2.h: Likewise.
64902         * libio/bits/stdio.h: Likewise.
64903         * string/string.h: Likewise.
64904         * string/bits/string3.h: Likewise.
64905         * include/stdio.h: Likewise.
64906         * stdlib/bits/stdlib.h: Likewise.
64907         * stdlib/stdlib.h: Likewise.
64908         * rt/bits/mqueue2.h: Likewise.
64909         * rt/mqueue.h: Likewise.
64910         * posix/bits/unistd.h: Likewise.
64911         * posix/unistd.h: Likewise.
64912         * io/bits/poll2.h: Likewise.
64913         * io/bits/fcntl2.h: Likewise.
64914         * io/fcntl.h: Likewise.
64915         * io/sys/poll.h: Likewise.
64916         * misc/bits/syslog.h: Likewise.
64917         * misc/bits/syslog-ldbl.h: Likewise.
64918         * misc/sys/syslog.h: Likewise.
64919         * socket/bits/socket2.h: Likewise.
64920         * socket/sys/socket.h: Likewise.
64921         * debug/tst-chk1.c: Likewise.
64922         * wcsmbs/bits/wchar2.h: Likewise.
64923         * wcsmbs/bits/wchar-ldbl.h: Likewise.
64924         * wcsmbs/wchar.h: Likewise.
64926 2012-04-29  Andreas Jaeger  <aj@suse.de>
64928         * Makerules (tests): Remove enable-check-abi protection.
64929         (check-abi-warn): Remove.
64930         (check-abi-%): Remove check-abi-warn usage.
64932         * configure.in: Remove check-abi configure option.
64933         * configure: Regenerated.
64934         * config.make.in (enable-check-abi): Remove.
64936 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
64938         [BZ #14033]
64939         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
64940         double functions to double *_finite functions.
64942         [BZ #13941]
64943         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
64944         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
64945         LDBL_MIN_EXP.
64946         * stdio-common/Makefile (tests): Add tst-sprintf3.
64947         * stdio-common/tst-sprintf3.c: New file.
64949         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
64950         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
64952 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
64954         * conform/conformtest.pl: Remove duplicate typed-constant
64955         handling.
64957 2012-04-28  David S. Miller  <davem@davemloft.net>
64959         * Makerules (%.abilist): Add vpath on sysdep_dirs.
64960         (check-abi-%): Remove AWK script prerequisite and explicit
64961         abilist directory.
64962         (check-abi): Rewrite to just diff the symlist with the abilist.
64963         (config-tls, config-abi-config): Delete, no longer used.
64964         (update-abi-%): Remove AWK script and explicit abilist directory.
64965         (update-abi): Rewrite to simply compare and conditionally copy the
64966         symlist and the sysdep abilist file.  Remove update-abi-config
64967         checks.
64968         * abilist/ld.abilist: Remove.
64969         * abilist/libBrokenLocale.abilist: Remove.
64970         * abilist/libanl.abilist: Remove.
64971         * abilist/libcrypt.abilist: Remove.
64972         * abilist/libdl.abilist: Remove.
64973         * abilist/librt.abilist: Remove.
64974         * abilist/libthread_db.abilist: Remove.
64975         * abilist/libutil.abilist: Remove.
64976         * scripts/extract-abilist.awk: Remove.
64977         * scripts/merge-abilist.awk: Remove.
64978         * sysdeps/generic/libcidn.abilist: New file.
64979         * sysdeps/generic/libnss_compat.abilist: New file.
64980         * sysdeps/generic/libnss_db.abilist: New file.
64981         * sysdeps/generic/libnss_dns.abilist: New file.
64982         * sysdeps/generic/libnss_files.abilist: New file.
64983         * sysdeps/generic/libnss_hesiod.abilist: New file.
64984         * sysdeps/generic/libnss_nis.abilist: New file.
64985         * sysdeps/generic/libnss_nisplus.abilist: New file.
64986         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
64987         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
64988         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
64989         file.
64990         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
64991         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
64992         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
64993         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
64994         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
64995         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
64996         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
64997         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
64998         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
64999         file.
65000         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
65001         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
65002         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
65003         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
65004         file.
65005         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
65006         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
65007         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
65008         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
65009         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
65010         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
65011         file.
65012         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
65013         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
65014         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
65015         file.
65016         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
65017         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
65018         New file.
65019         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
65020         New file.
65021         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
65022         New file.
65023         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
65024         New file.
65025         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
65026         New file.
65027         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
65028         New file.
65029         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
65030         New file.
65031         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
65032         New file.
65033         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
65034         New file.
65035         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
65036         New file.
65037         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
65038         New file.
65039         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
65040         New file.
65041         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
65042         New file.
65043         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
65044         file.
65045         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
65046         New file.
65047         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
65048         New file.
65049         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
65050         file.
65051         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
65052         New file.
65053         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
65054         New file.
65055         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
65056         file.
65057         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
65058         New file.
65059         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
65060         New file.
65061         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
65062         New file.
65063         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
65064         New file.
65065         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
65066         New file.
65067         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
65068         New file.
65069         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
65070         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
65071         file.
65072         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
65073         New file.
65074         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
65075         file.
65076         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
65077         file.
65078         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
65079         file.
65080         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
65081         file.
65082         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
65083         file.
65084         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
65085         New file.
65086         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
65087         file.
65088         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
65089         file.
65090         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
65091         New file.
65092         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
65093         file.
65094         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
65095         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
65096         file.
65097         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
65098         New file.
65099         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
65100         file.
65101         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
65102         file.
65103         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
65104         file.
65105         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
65106         file.
65107         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
65108         file.
65109         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
65110         New file.
65111         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
65112         file.
65113         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
65114         file.
65115         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
65116         New file.
65117         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
65118         file.
65119         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
65120         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
65121         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
65122         file.
65123         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
65124         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
65125         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
65126         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
65127         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
65128         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
65129         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
65130         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
65131         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
65132         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
65133         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
65134         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
65135         file.
65136         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
65137         New file.
65138         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
65139         file.
65140         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
65141         file.
65142         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
65143         file.
65144         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
65145         file.
65146         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
65147         file.
65148         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
65149         New file.
65150         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
65151         New file.
65152         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
65153         file.
65154         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
65155         New file.
65156         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
65157         file.
65158         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
65159         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
65160         file.
65161         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
65162         New file.
65163         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
65164         file.
65165         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
65166         file.
65167         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
65168         file.
65169         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
65170         file.
65171         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
65172         file.
65173         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
65174         New file.
65175         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
65176         New file.
65177         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
65178         file.
65179         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
65180         New file.
65181         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
65182         file.
65184 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
65186         * conform/conformtest.pl: Fix typo in handling typed-constant from
65187         allow-header.
65189 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
65191         * README: Cut down references to pre-2.6 Linux kernels and
65192         Linuxthreads.  Update lists of configurations in libc and ports
65193         and sort alphabetically.  Say "or newer" with Linux kernel version
65194         requirements.
65196         * config.h.in [IS_IN_build]: Allow compiling without optimization.
65198 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
65200         [BZ #887]
65201         * math/libm-test.inc (logb_test_downward): New test to expose
65202         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
65203         rounding mode.
65205 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
65207         [BZ #14027]
65208         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
65209         to be done.
65210         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
65211         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
65213 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
65215         * sysdeps/unix/i386/brk.S: Remove file.
65216         * sysdeps/unix/i386/dl-brk.S: Likewise.
65217         * sysdeps/unix/i386/pipe.S: Likewise.
65218         * sysdeps/unix/i386/sigreturn.S: Likewise.
65219         * sysdeps/unix/i386/syscall.S: Likewise.
65220         * sysdeps/unix/i386/vfork.S: Likewise.
65221         * sysdeps/unix/i386/wait.S: Likewise.
65223         * sysdeps/unix/common/tcsendbrk.c: Move to ...
65224         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
65226         * configure.in (arm*-none*): Do not allow without
65227         --enable-hacker-mode.
65228         (netbsd*): Remove case setting base_os.
65229         (386bsd*): Likewise.
65230         (freebsd*): Likewise.
65231         (bsdi*): Likewise.
65232         (osf*): Likewise.
65233         (sunos*): Likewise.
65234         (ultrix*): Likewise.
65235         (newsos*): Likewise.
65236         (dynix*): Likewise.
65237         (*bsd*): Likewise.
65238         (sysv*): Likewise.
65239         (isc*): Likewise.
65240         (esix*): Likewise.
65241         (sco*): Likewise.
65242         (minix*): Likewise.
65243         (irix4*): Likewise.
65244         (irix6*): Likewise.
65245         (solaris[2-9]*): Likewise.
65246         (none): Likewise.
65247         * configure: Regenerated.
65249 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
65251         [BZ #11521]
65252         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
65253         overflow or cancellation in calculating denominator.
65254         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
65255         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
65256         down expression to avoid unexpected rounding in newer GCCs.
65257         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
65259 2012-04-26  David S. Miller  <davem@davemloft.net>
65261         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
65262         long-double compat symbols.
65263         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
65264         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
65265         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
65266         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
65267         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
65268         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
65269         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
65270         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
65271         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
65272         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
65273         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
65274         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
65275         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
65277 2012-04-25  David S. Miller  <davem@davemloft.net>
65279         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
65280         HWCAP_* values only after the memory barriers have been defined.
65281         (atomic_full_barrier): Define.
65282         (atomic_read_barrier): Define.
65283         (atomic_write_barrier): Define.
65285 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
65287         * shlib-versions: Add libgcc_s version information.
65288         * sysdeps/generic/libgcc_s.h: Remove.
65289         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
65290         libgcc_s.h.
65291         * sysdeps/gnu/unwind-resume.c: Likewise.
65292         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
65294 2012-04-25  David S. Miller  <davem@davemloft.net>
65296         * sysdeps/unix/sparc/brk.S: Delete.
65297         * sysdeps/unix/sparc/dl-brk.S: Delete.
65298         * sysdeps/unix/sparc/pipe.S: Delete.
65299         * sysdeps/unix/sparc/sysdep.S: Delete.
65300         * sysdeps/unix/sparc/sysdep.h: Delete.
65301         * sysdeps/unix/sparc/vfork.S: Delete.
65302         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
65303         (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
65304         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
65305         (ret_ERRVAL, r0, r1, MOVE): Define.
65306         (JUMPTARGET): Remove.
65307         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
65308         sysdeps/unix/sparc/sysdep.h
65309         (ENTRY, END): Remove.
65310         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
65312 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
65314         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
65315         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
65316         -DIS_IN_build.
65318         * timezone/README: Update upstream location and email address for
65319         tzcode and tzdata.
65320         * timezone/zdump.c: Update from tzcode 2012b.
65321         * timezone/zic.c: Likewise.
65323         * configure.in (libc_cv_as_needed): Remove test.
65324         * configure: Regenerated.
65325         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
65326         conditional definition.
65327         [$(have-as-needed) != yes] (no-as-needed): Likewise.
65328         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
65329         * config.make.in (have-as-needed): Remove variable.
65331 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
65332             Paul Pluzhnikov  <ppluzhnikov@google.com>
65334         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
65335         strings correctly.
65337 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
65339         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
65340         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
65341         * sysdeps/sh/strlen.S: Likewise.
65343 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
65345         * sysdeps/unix/fork.S: Remove file.
65346         * sysdeps/unix/i386/fork.S: Likewise.
65347         * sysdeps/unix/sparc/fork.S: Likewise.
65349         * sysdeps/unix/system.c: Remove file.
65350         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
65352         * sysdeps/unix/getegid.S: Remove file.
65353         * sysdeps/unix/geteuid.S: Likewise.
65355 2012-04-24  Roland McGrath  <roland@hack.frob.com>
65357         * scripts/check-localplt.awk: New file.
65358         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
65359         of diff.
65360         * scripts/data/localplt-generic.data: Add a comment.
65362         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
65363         NODE when __dir_mkfile failed.
65364         * sysdeps/mach/hurd/symlinkat.c: Likewise.
65365         Reported by Ludovic Courtès <ludo@gnu.org>.
65367 2012-04-24  Andreas Jaeger  <aj@suse.de>
65369         * Makerules (common-clean): Also remove gen-as-const-headers
65370         files.
65372 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
65374         * Makerules (native-compile): Do not change working directory for
65375         build.  Use $(OUTPUT_OPTION) in command.
65376         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
65378 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
65380         [BZ #13886]
65381         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
65382         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
65383         * math/libm-test.inc (floor_test): Add more tests.
65384         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
65386 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
65388         * sysdeps/unix/getdents.c: Remove file.
65389         * sysdeps/unix/sysv/getdents.c: Likewise.
65390         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
65392         * sysdeps/unix/syscalls.list (madvise): Add syscall from
65393         sysdeps/unix/mman/syscalls.list.
65394         (mmap): Likewise.
65395         (mprotect): Likewise.
65396         (msync): Likewise.
65397         (munmap): Likewise.
65398         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
65399         * sysdeps/unix/mman/syscalls.list: Remove.
65400         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
65402         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
65403         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
65404         * configure: Regenerated.
65405         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
65406         $(libgcc_s_suffix).
65407         * config.make.in (libgcc_s_suffix): Remove variable.
65409 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
65411         * sysdeps/unix/sysv/gethostname.c: Move to ...
65412         * sysdeps/posix/gethostname.c: ... here.
65414         * sysdeps/unix/execve.S: Remove file.
65416         * sysdeps/unix/_exit.S: Remove file.
65418 2012-04-23  Andreas Jaeger  <aj@suse.de>
65420         [BZ #13739]
65421         * manual/Makefile: Remove make dist support, there's no
65422         need for a stand-alone documentation tar ball.
65423         (TEXI2DVI): Define always, it's not in Makeconfig.
65424         (dist): Removed.
65425         (tar-it): Removed.
65426         (edition): Removed.
65427         (glibc-doc-$(edition).tar): Removed
65428         (%.Z): Removed.
65429         (%.gz): Removed.
65430         (%.uu): Removed.
65431         (ETAGS): Remove, it's in Makeconfig.
65432         (move-if-change): Remove, it's in Makeconfig.
65434 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
65436         [BZ #13970]
65437         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
65438         (strtod, strtof, strtold, strtol, strtoul, strtoq)
65439         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
65440         (strtod_l, strtof_l, strtold_l): Remove __wur.
65441         It is not necessarily an error to ignore strtol's return value.
65442         One can reliably look at the stored endptr to decide whether
65443         the number had valid syntax.
65445 2012-04-21  Andreas Jaeger  <aj@suse.de>
65447         [BZ #13739]
65448         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
65450 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
65452         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
65453         * sysdeps/unix/sysv/Versions: Remove file.
65455 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
65457         [BZ #13927]
65458         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
65460 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
65462         [BZ #7064]
65463         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
65464         version from __vm86.
65466 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
65468         * sysdeps/unix/common/lxstat.c: Remove file.
65469         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
65471         * sysdeps/unix/sysv/Makefile: Remove file.
65473         * sysdeps/unix/sysv/direct.h: Remove file.
65475         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
65476         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
65477         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
65478         * sysdeps/unix/sysv/bits/signum.h: Likewise.
65479         * sysdeps/unix/sysv/bits/stat.h: Likewise.
65480         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
65481         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
65483         * sysdeps/unix/sysv/setrlimit.c: Remove file.
65485         * sysdeps/unix/xmknod.c: Remove file.
65486         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
65488         * sysdeps/unix/sysv/settimeofday.c: Remove file.
65490         * sysdeps/unix/sysv/i386/time.S: Remove file.
65492         * sysdeps/unix/fxstat.c: Remove file.
65493         * sysdeps/unix/xstat.c: Likewise.
65494         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
65496         * sysdeps/unix/sysv/sigaction.c: Remove file.
65498         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
65499         (sysdep_headers): Remove variable.
65500         [termio.h not in sysdep_headers] (generated): Likewise.
65501         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
65502         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
65503         * sysdeps/unix/sysv/tcdrain.c: Likewise.
65504         * sysdeps/unix/sysv/tcflow.c: Likewise.
65505         * sysdeps/unix/sysv/tcflush.c: Likewise.
65506         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
65507         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
65508         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
65509         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
65510         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
65512         * sysdeps/unix/siglist.c: Remove file.
65514         * sysdeps/unix/getppid.S: Remove file.
65516         * sysdeps/unix/mkdir.c: Remove file.
65517         * sysdeps/unix/rmdir.c: Likewise.
65519 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
65521         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
65522         ERR_MAX value.
65523         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
65524         errlist-compat value.
65526 2012-04-18  David S. Miller  <davem@davemloft.net>
65528         * sysdeps/generic/memcopy.h (reg_char): Delete.
65529         * debug/strcat_chk.c: Use char, not reg_char.
65530         * debug/strcpy_chk.c: Likewise.
65531         * debug/strncat_chk.c: Likewise.
65532         * debug/strncpy_chk.c: Likewise.
65533         * string/memchr.c: Likewise.
65534         * string/memrchr.c: Likewise.
65535         * string/rawmemchr.c: Likewise.
65536         * string/strcat.c: Likewise.
65537         * string/strchr.c: Likewise.
65538         * string/strchrnul.c: Likewise.
65539         * string/strcmp.c: Likewise.
65540         * string/strcpy.c: Likewise.
65541         * string/strncat.c: Likewise.
65542         * string/strncmp.c: Likewise.
65543         * string/strncpy.c: Likewise.
65545 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
65547         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
65548         __builtin_memcopy is called when src and dest ranges are known to not
65549         overlap.
65551 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
65553         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
65554         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
65555         fwd_align_merge macro call.
65556         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
65557         bwd_align_merge macro call.
65558         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
65560 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
65562         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
65563         bwd_align_merge macros.
65564         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
65565         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
65566         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
65568 2012-04-18  David S. Miller  <davem@davemloft.net>
65570         * sysdeps/sparc/sparc64/memcopy.h: Delete.
65572 2012-04-18  Andreas Jaeger  <aj@suse.de>
65574         [BZ# 6794]
65575         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
65576         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
65577         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
65579         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
65580         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
65581         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
65583         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
65584         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
65585         Adjust for changed ldbl-128 files.
65587         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
65588         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
65589         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
65591 2012-04-17  David S. Miller  <davem@davemloft.net>
65593         * sysdeps/sparc/sparc32/memcopy.h: Delete.
65595 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
65597         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
65598         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
65599         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
65600         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
65601         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
65602         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
65604 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
65606         [BZ #6794]
65607         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
65608         * math/libm-test.inc: Add ilogb errno and exception tests.
65609         * math/w_ilogb.c: New file: ilogb wrapper.
65610         * math/w_ilogbf.c: New file: ilogbf wrapper.
65611         * math/w_ilogbl.c: New file: ilogbl wrapper.
65612         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
65613         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
65614         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
65615         exception being thrown with 0.0 as argument.
65616         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
65617         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
65618         exception being thrown with 0.0 as argument.
65619         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
65620         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
65621         exception being thrown with 0.0 as argument.
65622         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
65623         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
65624         exception being thrown with 0.0 as argument.
65625         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
65626         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
65627         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
65628         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
65629         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
65630         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
65631         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
65632         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
65633         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
65635 2012-04-17  Petr Baudis  <pasky@ucw.cz>
65637         * include/sys/uio.h: Change __vector to __iovec to avoid clash
65638         with altivec.
65640 2012-04-16  Marek Polacek  <polacek@redhat.com>
65642         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
65644 2012-04-16  Marek Polacek  <polacek@redhat.com>
65646         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
65647         operands of fdivp instruction.
65649 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
65651         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
65652         * elf/tst-auditmod3b.c: Likewise.
65653         * elf/tst-auditmod4b.c: Likewise.
65654         * elf/tst-auditmod5b.c: Likewise.
65655         * elf/tst-auditmod6b.c: Likewise.
65656         * elf/tst-auditmod6c.c: Likewise.
65657         * elf/tst-auditmod7b.c: Likewise.
65658         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
65659         * sysdeps/x86_64/preconfigure.in: Likewise.
65660         * sysdeps/x86_64/preconfigure: Regenerated.
65662 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
65664         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
65665         __ILP32__.
65667 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
65669         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
65670         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
65672 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
65674         [BZ #13973]
65675         * locale/iso-639.def: Fix gl language name. Spotted by
65676         Yaron Shahrabani.
65678 2012-04-12  Roland McGrath  <roland@hack.frob.com>
65680         [BZ #2074]
65681         * libio/libio.h (__io_write_fn): Update comment.
65683 2012-04-12  Petr Baudis  <pasky@ucw.cz>
65685         [BZ #2074]
65686         * stdio.texi (Hook Functions): The user provided writer function
65687         is not allowed to return -1.
65689 2012-04-11  David S. Miller  <davem@davemloft.net>
65691         * sysdeps/sparc/fpu/libm-test-ulps: Update.
65693 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
65695         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
65696         Add a leading slash to rtkaio.
65698 2012-04-11  Jim Meyering  <meyering@redhat.com>
65700         [BZ #11959]
65701         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
65702         It is not necessarily an error to ignore fwrite's return
65703         value.  One can reliably use ferror to test for errors after
65704         the fact.
65706 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
65708         * bits/types.h (__snseconds_t): New type.
65709         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
65711         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
65712         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
65713         (__SNSECONDS_T_TYPE): Likewise.
65714         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
65715         (__SNSECONDS_T_TYPE): Likewise.
65716         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
65717         (__SNSECONDS_T_TYPE): Likewise.
65719 2012-04-10  Andreas Jaeger  <aj@suse.de>
65721         [BZ #2636]
65722         * manual/time.texi (Processor Time): Return type of times is
65723         elapsed real time since an arbitrary point in the past.
65724         (CPU Time): Move CLK_TCK from here...
65725         (Processor Time): ...to here.  Correct description.
65726         * manual/conf.texi (Constants for Sysconf): Correct description of
65727         _SC_CLK_TCK.
65729 2012-04-10  David S. Miller  <davem@davemloft.net>
65731         [BZ #13967]
65732         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
65733         where the is a gap between DT_REL(A) and DT_JMPREL.
65735 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
65737         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
65738         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
65739         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
65741 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
65743         * elf/dl-support.c (_dl_inhibit_cache): New variable.
65744         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
65745         (dl_main): Handle --inhibit-cache.
65746         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
65747         _dl_inhibit_cache.
65748         * elf/dl-load.c (_dl_map_object): Use it.
65749         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
65751 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
65753         [BZ #13872]
65754         * sysdeps/i386/fpu/e_powl.S (p78): New object.
65755         (__ieee754_powl): Saturate large exponents rather than testing for
65756         overflow of y*log2(x).
65757         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
65758         * math/libm-test.inc (pow_test): Do not permit spurious overflow
65759         exceptions.
65761         [BZ #11521]
65762         * math/s_ctan.c: Include <float.h>.
65763         (__ctan): Avoid internal overflow or cancellation in calculating
65764         denominator.
65765         * math/s_ctanf.c: Likewise.
65766         * math/s_ctanl.c: Likewise.
65767         * math/s_ctanh.c: Likewise.
65768         * math/s_ctanhf.c: Likewise.
65769         * math/s_ctanhl.c: Likewise.
65770         * math/libm-test.inc (ctan_test): Add more tests.
65771         (ctanh_test): Likewise.
65772         * sysdeps/i386/fpu/libm-test-ulps: Update.
65773         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
65775 2012-04-09  Andreas Jaeger  <aj@suse.de>
65777         [BZ #6894]
65778         * manual/filesys.texi (Directory Entries): Mention that d_namlen
65779         is an optional BSD extension.
65781         [BZ #10254]
65782         * manual/stdio.texi (Opening Streams): Document additional fopen
65783         parameters.
65785 2012-04-09  Roland McGrath  <roland@hack.frob.com>
65787         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
65788         %eax without telling the compiler.
65790 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
65792         [BZ # 13963]
65793         * manual/install.texi: Use sourceware.org.
65795 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
65797         [BZ #13873]
65798         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
65799         (__ieee754_pow): Generate overflow and underflow using huge*huge
65800         and tiny*tiny rather than just returning constant infinity or zero
65801         for large exponents.
65802         * math/libm-test.inc (pow_test): Require overflow exceptions for
65803         applicable cases of large exponents.
65805         [BZ #706]
65806         * sysdeps/i386/fpu/e_pow.S (p10): New object.
65807         (__ieee754_pow): Use iterative multiplication algorithm only for
65808         integer exponents with absolute value below 1024.  Check for odd
65809         integer exponents when using algorithm for real exponents.
65810         * math/libm-test.inc (pow_test): Add more tests.
65811         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
65813 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
65815         [BZ #13705]
65816         * math/libm-test.inc (exp_test): Do not allow overflow exception
65817         on underflow test.
65819 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
65821         [BZ #13705]
65822         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
65823         instead of __kernel_standard_f.
65825 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
65827         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
65828         * sysdeps/x86_64/memset_chk.S: Likewise.
65830 2012-04-08  Andreas Jaeger  <aj@suse.de>
65832         [BZ #10153]
65833         * manual/startup.texi (Environment Access): Describe return value
65834         for putenv and setenv.
65836         [BZ #6895]
65837         * manual/filesys.texi (Directory Entries): Add description for
65838         DT_LNK.
65840         [BZ #6890]
65841         * manual/filesys.texi (Directory Entries): Clarify that it's file
65842         system not operating system in the description of DT_UNKNOWN.
65844         [BZ #6578]
65845         * manual/syslog.texi (closelog): Fix reference, it's openlog.
65847 2012-04-08  Stephen Compall  <s11@member.fsf.org>
65849         [BZ #6649]
65850         * manual/llio.texi (Opening and Closing Files): Add cross
65851         reference to explain mode argument.
65853 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
65855         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
65856         * sysdeps/x86_64/memset_chk.S: Likewise.
65858 2012-04-07  David S. Miller  <davem@davemloft.net>
65860         * elf/elf.h (R_SPARC_WDISP10): Define.
65861         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
65862         R_SPARC_SIZE32.
65863         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
65864         R_SPARC_SIZE64 and R_SPARC_H34.
65866 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
65868         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
65869         conditions and remove no longer applicable assertion.
65871 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
65873         * bits/byteswap.h: Include <features.h>.
65874         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
65875         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
65877 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
65879         * bits/byteswap.h (__bswap_16): Removed.
65880         Include <bits/byteswap-16.h> to get __bswap_16.
65881         * sysdeps/i386/bits/byteswap.h: Likewise.
65882         * sysdeps/s390/bits/byteswap.h: Likewise.
65883         * sysdeps/x86_64/bits/byteswap.h: Likewise.
65884         * bits/byteswap-16.h: New file.
65885         * sysdeps/i386/bits/byteswap-16.h: Likewise.
65886         * sysdeps/s390/bits/byteswap-16.h: Likewise.
65887         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
65888         * string/Makefile (headers): Add bits/byteswap-16.h.
65890 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
65892         [BZ #13895]
65893         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
65894         extra indirection.
65895         * nss/Makefile (tests-static, tests): Add tst-nss-static.
65896         * nss/tst-nss-static.c: New.
65898 2012-04-06  Robert Millan  <rmh@gnu.org>
65900         [BZ #6486]
65901         * manual/llio.texi (File Position Primitive): lseek
65902         refers to WHENCE when it really means OFFSET.
65904 2012-04-06  Andreas Jaeger  <aj@suse.de>
65906         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
65907         strncmp declarations.
65909         * abilist/libc.abilist: Add __poll and __ppoll.
65911 2012-04-05  David S. Miller  <davem@davemloft.net>
65913         * scripts/check-local-headers.sh: Accept a host triplet in the
65914         path matched by the exclude regexp.
65916         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
65917         definition.
65918         * sysdeps/powerpc/powerpc32/dl-machine.h
65919         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
65920         * sysdeps/s390/s390-32/dl-machine.h
65921         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
65922         * sysdeps/sparc/sparc32/dl-machine.h
65923         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
65924         * sysdeps/sparc/sparc64/dl-machine.h
65925         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
65927         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
65928         lazy binding.
65929         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
65930         undefined symbol errors.
65932         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
65933         DT_NEEDED entries.
65935 2012-04-05  Michael Matz  <matz@suse.de>
65937         [BZ #13592]
65938         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
65940 2012-04-05  Andreas Jaeger  <aj@suse.de>
65942         [BZ #13908]
65943         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
65944         comment.
65946 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
65948         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
65949         which ROUND is no valid rounding mode.
65951 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
65953         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
65954         read again.
65955         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
65957 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
65959         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
65960         an exception using FPU order intentionally.
65962 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
65964         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
65965         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
65966         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
65967         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
65969 2012-04-05  Simon Josefsson  <simon@josefsson.org>
65971         [BZ #12340]
65972         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
65973         EINVAL when BUFLEN is too smal.
65975 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
65977         [BZ #13553]
65978         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
65979         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
65981 2012-04-03  Andreas Jaeger  <aj@suse.de>
65983         [BZ #13938]
65984         * manual/setjmp.texi (System V contexts): Fix sentence.
65986         [BZ #13926]
65987         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
65988         New macro for this case.
65989         [!__GNUC__] (__bswap_64): New inline function for this case.
65990         * sysdeps/x86_64/bits/byteswap.h: Likewise.
65991         * bits/byteswap.h: Likewise.
65992         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
65993         ull, guard with __GLIBC_HAVE_LONG_LONG.
65995         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
65996         __GLIBC_HAVE_LONG_LONG.
65998         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
65999         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
66001 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
66003         [BZ #13691]
66004         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
66005         inptr and inend, rather than using last_ch.
66007 2012-04-02  David S. Miller  <davem@davemloft.net>
66009         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
66010         * stdio-common/printf-parse.h (read_int): Change return type to
66011         'int', return -1 on INT_MAX overflow.
66012         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
66013         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
66014         overflows INT_MAX.  Check for overflow of in-format-string precision
66015         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
66016         SIZE_MAX not INT_MAX for integer overflow test.
66017         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
66018         skip the construct in the format string but do not record anything.
66019         * stdio-common/bug22.c: Adjust to test both width/prevision
66020         INT_MAX overflow as well as total length INT_MAX overflow.  Check
66021         explicitly for proper errno values.
66023 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
66025         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
66026         CHAR_MAX.
66027         * string/test-strcmp.c [! WIDE]: Likewise.
66028         * time/tst-mktime2.c: Likewise for INT_MAX.
66029         * string/test-string.h: #include <sys/param.h> for MIN.
66031         * csu/init-first.c (__libc_init_first): Call __ctype_init.
66032         * sysdeps/i386/init-first.c (init): Likewise.
66033         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
66034         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
66035         * sysdeps/sh/init-first.c (init): Likewise.
66037 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
66039         * po/ru.po: Update from translation team.
66040         * po/vi.po: Likewise.
66042 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
66044         * resolv/nss_dns/dns-host.c: Merge copyright years.
66046 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
66048         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
66049         Optimize memcpy with prefetch if
66050         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
66051         src, dst pointers have unequal 16 byte alignments.
66053 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
66055         [BZ #13928]
66056         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
66057         from a CNAME entry and return the minimum ttl for the query.
66058         (gaih_getanswer_slice): Likewise.
66060 2012-03-30  Jeff Law  <law@redhat.com>
66062         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
66063         due to long keys.
66064         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
66065         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
66067         * resolv/nss_dns/dns-host.c: Update copyright year.
66069 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
66071         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
66072         requests to save a system call.  Fix check that all bytes are sent.
66074         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
66075         comments for sendmmsg.
66077 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
66079         [BZ #13691]
66080         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
66081         with only 1 character between 0x0041 and 0x01b0.
66082         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
66083         * wcsmbs/tst-mbsnrtowcs.c: New file.
66085 2012-03-29  David S. Miller  <davem@davemloft.net>
66087         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
66088         small copies by hand.
66090 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
66092         [BZ #13761]
66093         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
66094         (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
66095         group memberships.
66097 2012-03-28  David S. Miller  <davem@davemloft.net>
66099         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
66100         that branches into memcpy.
66101         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
66102         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
66103         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
66104         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
66105         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
66106         bits.
66107         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
66108         implementation too.
66109         * sysdeps/sparc/mempcpy.S: New file.
66111         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
66112         the IFUNC routine in the libc case.
66113         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
66115         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
66116         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
66117         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
66118         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
66119         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
66120         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
66121         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
66122         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
66124         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
66125         loop to 256 bytes instead of 64 bytes and fix test signedness.
66127         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
66128         * sysdeps/sparc/sparc32/Makefile: rather than here...
66129         * sysdeps/sparc/sparc64/Makefile: and here.
66131 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
66133         * malloc/mallocbug.c: Avoid warnings about unused variables.
66135 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
66137         [BZ #13760]
66138         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
66139         in the right place. Discard and retry query if response is
66140         larger than input buffer size.
66142 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
66144         [BZ #369]
66145         [BZ #2678]
66146         [BZ #3866]
66147         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
66148         x for large integer exponent.
66149         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
66150         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
66151         sign of result as needed afterwards.
66152         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
66153         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
66154         result for underflowing pow the same as for overflow.
66155         (__kernel_standard_l): Handle powl overflow and underflow here
66156         rather than calling __kernel_standard.
66157         * math/libm-test.inc (pow_test): Add more tests.
66159         [BZ #3868]
66160         [BZ #13879]
66161         [BZ #13910]
66162         [BZ #13911]
66163         [BZ #13912]
66164         [BZ #13913]
66165         [BZ #13915]
66166         [BZ #13916]
66167         [BZ #13917]
66168         [BZ #13918]
66169         [BZ #13919]
66170         [BZ #13920]
66171         [BZ #13921]
66172         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
66173         * sysdeps/ieee754/k_standard.c: Include <float.h>.
66174         (__kernel_standard_l): New function.
66175         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
66176         __kernel_standard.
66177         * math/w_acosl.c (__acosl): Likewise.
66178         * math/w_asinl.c (__asinl): Likewise.
66179         * math/w_atan2l.c (__atan2l): Likewise.
66180         * math/w_atanhl.c (__atanhl): Likewise.
66181         * math/w_coshl.c (__coshl): Likewise.
66182         * math/w_exp10l.c (__exp10l): Likewise.
66183         * math/w_exp2l.c (__exp2l): Likewise.
66184         * math/w_fmodl.c (__fmodl): Likewise.
66185         * math/w_hypotl.c (__hypotl): Likewise.
66186         * math/w_j0l.c (__j0l, __y0l): Likewise.
66187         * math/w_j1l.c (__j1l, __y1l): Likewise.
66188         * math/w_jnl.c (__jnl, __ynl): Likewise.
66189         * math/w_lgammal.c (__lgammal): Likewise.
66190         * math/w_log10l.c (__log10l): Likewise.
66191         * math/w_log2l.c (__log2l): Likewise.
66192         * math/w_logl.c (__logl): Likewise.
66193         * math/w_powl.c (__powl): Likewise.
66194         * math/w_remainderl.c (__remainderl): Likewise.
66195         * math/w_scalbl.c (sysv_scalbl): Likewise.
66196         * math/w_sinhl.c (__sinhl): Likewise.
66197         * math/w_sqrtl.c (__sqrtl): Likewise.
66198         * math/w_tgammal.c (__tgammal): Likewise.
66199         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
66200         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
66201         * math/libm-test.inc (acos_test): Add more tests.
66202         (acosh_test): Likewise.
66203         (asin_test): Likewise.
66204         (atanh_test): Likewise.
66205         (exp_test): Likewise.
66206         (exp10_test): Likewise.
66207         (exp2_test): Likewise.
66208         (expm1_test): Likewise.
66209         (lgamma_test): Likewise.
66210         (log_test): Likewise.
66211         (log10_test): Likewise.
66212         (log1p_test): Likewise.
66213         (log2_test): Likewise.
66214         (pow_test): Do not allow some spurious overflow exceptions.
66215         (sqrt_test): Add more tests.
66216         (tgamma_test): Likewise.
66217         (y0_test): Likewise.
66218         (y1_test): Likewise.
66219         (yn_test): Likewise.
66221 2012-03-27  Anton Blanchard  <anton@samba.org>
66223         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
66224         MAP_HUGETLB.
66225         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
66226         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
66227         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
66229 2012-03-27  David S. Miller  <davem@davemloft.net>
66231         * conform/Makefile: Run run-conformtest.sh using $(BASH).
66233         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
66234         have-as-vis3 check.
66236 2012-03-27  Andreas Jaeger  <aj@suse.de>
66238         * sysdeps/x86_64/elf/configure.in: Moved to ...
66239         * sysdeps/x86_64/configure.in: ... here.
66240         * sysdeps/x86_64/elf/start.S: Moved to ...
66241         * sysdeps/x86_64/start.S: ... here.
66242         * sysdeps/x86_64/elf/configure: Delete.
66244         * sysdeps/x86_64/configure.in: Merge contents from
66245         sysdeps/i386/configure.in (without i686 check).
66247         * sysdeps/i386/elf/Versions: Merge into ...
66248         * sysdeps/i386/Versions: ... this.
66249         * sysdeps/i386/elf/Versions: Delete file.
66250         * sysdeps/i386/elf/start.S: Moved to ...
66251         * sysdeps/i386/start.S: ...here.
66252         * sysdeps/i386/elf/configure.in: Merge into...
66253         * sysdeps/i386/configure.in: ...here.
66254         * sysdeps/i386/elf/configure.in: Delete file.
66255         * sysdeps/i386/elf/configure: Delete file.
66257         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
66258         * debug/backtracesyms.c: ... here.
66259         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
66260         * debug/backtracesymsfd.c: ... here.
66261         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
66262         * sysdeps/generic/ifunc-sel.h: ... here.
66264         * sysdeps/unix/i386/start.c: Delete file.
66265         * sysdeps/unix/sparc/start.c: Delete file.
66266         * sysdeps/unix/start.c: Delete file.
66268         * sysdeps/sh/elf/configure.in: Moved to ...
66269         * sysdeps/sh/configure.in: ... here.
66270         * sysdeps/sh/elf/start.S: Moved to ...
66271         * sysdeps/sh/start.S: ... here.
66272         * sysdeps/sh/elf/configure: Delete file.
66274         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
66275         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
66276         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
66277         * sysdeps/powerpc/powerpc64/entry.h: ... here.
66278         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
66279         * sysdeps/powerpc/powerpc64/start.S: here.
66280         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
66281         * sysdeps/powerpc/powerpc64/Makefile: ... this.
66282         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
66283         * sysdeps/powerpc/powerpc64/configure.in: ... this.
66284         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
66286         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
66287         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
66288         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
66289         * sysdeps/powerpc/powerpc32/start.S: ... here.
66290         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
66291         * sysdeps/powerpc/powerpc32/configure.in: ... this.
66292         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
66294         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
66295         * sysdeps/powerpc/ifunc-sel.h: ... here.
66296         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
66297         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
66299         * sysdeps/sparc/elf/configure.in: Moved to ...
66300         * sysdeps/sparc/configure.in: ... here.
66301         * sysdeps/sparc/elf/configure: Delete file.
66302         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
66303         * sysdeps/sparc/sparc32/start.S: ... here.
66304         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
66305         * sysdeps/sparc/sparc64/start.S: ... here.
66306         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
66307         * sysdeps/sparc/sparc32/Makefile: ... this.
66308         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
66309         * sysdeps/sparc/sparc64/Makefile: ... this.
66311         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
66312         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
66313         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
66314         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
66315         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
66316         * sysdeps/s390/s390-32/setjmp.S: ... here.
66317         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
66318         * sysdeps/s390/s390-32/configure.in: ... here.
66319         * sysdeps/s390/s390-32/elf/configure: Delete file.
66320         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
66321         * sysdeps/s390/s390-32/start.S: ... here.
66323         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
66324         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
66325         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
66326         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
66327         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
66328         * sysdeps/s390/s390-64/setjmp.S: ... here.
66329         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
66330         * sysdeps/s390/s390-64/configure.in: ... here
66331         * sysdeps/s390/s390-64/elf/configure: Delete file.
66332         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
66333         * sysdeps/s390/s390-64/start.S: ... here.
66334         * sysdeps/s390/s390-64/elf/configure: Delete.
66336         * configure.in: Remove support for elf directories in sysdeps.
66338         * configure: Regenerated.
66339         * sysdeps/i386/configure: Regenerated.
66340         * sysdeps/powerpc/powerpc32/configure: Regenerated.
66341         * sysdeps/powerpc/powerpc64/configure: Regenerated.
66342         * sysdeps/s390/s390-32/configure: Regenerated.
66343         * sysdeps/s390/s390-64/configure: Regenerated.
66344         * sysdeps/sh/configure: Regenerated.
66345         * sysdeps/sparc/configure: Regenerated.
66346         * sysdeps/x86_64/configure: Regenerated.
66348 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
66350         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
66352         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
66353         denormal result into account.
66355 2012-03-25  Roland McGrath  <roland@hack.frob.com>
66357         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
66358         Reported by Allan McRae <allan@archlinux.org>.
66360 2012-03-23  Jeff Law  <law@redhat.com>
66362         * nss/getnssent.c (__nss_getent): Fix typo.
66364 2012-03-23  David S. Miller  <davem@davemloft.net>
66366         * sysdeps/sparc/fpu/libm-test-ulps: Update.
66368 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
66370         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
66371         to pad to uint64_t for each field.
66372         (dl_tls_index): Replace unsigned long with uint64_t.
66374 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
66375         Paul Pluzhnikov  <ppluzhnikov@google.com>
66377         [BZ #6528]
66378         * grp/Makefile (otherlibs): Don't set it.
66379         * inet/Makefile (otherlibs): Likewise.
66380         * login/Makefile (otherlibs): Likewise.
66381         * nscd/Makefile (otherlibs): Likewise.
66382         * posix/Makefile (otherlibs): Likewise.
66383         * pwd/Makefile (otherlibs): Likewise.
66384         * rt/Makefile (otherlibs): Likewise.
66385         * sunrpc/Makefile (otherlibs): Likewise.
66386         * nss/Makefile (otherlibs): Likewise.
66387         Add libnss_files to routines and static-only-routines.
66388         ($(objpfx)getent): Remove rule.
66389         * resolv/Makefile: Add libnss_dns and libresolv to routines and
66390         static-only-routines.
66392 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
66394         [BZ #13892]
66395         * math/s_cexp.c: Include <float.h>.
66396         (__cexp): Handle exp result overflowing not necessarily
66397         overflowing both real and imaginary parts of result.
66398         * math/s_cexpf.c: Likewise.
66399         * math/s_cexpl.c: Likewise.
66400         * math/libm-test.inc (cexp_test): Add more tests.
66401         * sysdeps/i386/fpu/libm-test-ulps: Update.
66402         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66404 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
66406         * include/link.h (ELFW): New macro.
66407         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
66408         Replace ELF64_R_TYPE with ELFW(R_TYPE).
66410 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
66412         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
66413         with uint64_t.
66415 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
66417         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
66418         declaration.
66419         (struct La_x32_retval): Likewise.
66421 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
66423         * sysdeps/x86_64/preconfigure.in: New file.
66424         * sysdeps/x86_64/preconfigure: New generated file.
66426 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
66428         [BZ #13824]
66429         * math/e_exp2l.c: Include <float.h>.
66430         (__ieee754_exp2l): Handle overflow and underflow cases
66431         separately.  Only pass fractional part of argument to
66432         __ieee754_expl.
66433         * math/libm-test.inc (exp2_test): Add more tests.
66435         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
66436         negating x to take absolute value.
66437         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
66438         Likewise.
66439         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
66440         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
66441         Likewise.
66442         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
66443         computing low part if x was negated.
66444         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
66446 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
66448         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
66449         la_x32_gnu_pltexit.
66450         (pltexit): Cast int_retval to ptrdiff_t.
66451         * elf/tst-auditmod3b.c: Likewise.
66452         * elf/tst-auditmod4b.c: Likewise.
66453         * elf/tst-auditmod5b.c: Likewise.
66454         * elf/tst-auditmod6b.c: Likewise.
66455         * elf/tst-auditmod6c.c: Likewise.
66456         * elf/tst-auditmod7b.c: Likewise.
66458         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
66459         and x32_gnu_pltexit.
66461         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
66462         __ELF_NATIVE_CLASS.
66463         (La_x32_regs): New macro.
66464         (La_x32_retval): Likewise.
66465         (la_x32_gnu_pltenter): New function prototype.
66466         (la_x32_gnu_pltexit): Likewise.
66468 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
66470         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
66471         exponent.
66473         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
66475         * configure.in (libc_cv_cc_nofma): Check for option to disable
66476         generation of FMA instructions.
66477         * configure: Regenerate.
66478         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
66479         * sysdeps/ieee754/dbl-64/Makefile: New file.
66480         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
66481         Remove brandred-fma4.
66482         (CFLAGS-brandred-fma4.c): Remove.
66483         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
66484         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
66485         define.
66486         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
66487         define.
66489 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
66491         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
66492         LLONG_MAX != LONG_MAX.
66493         (_itoa_word): Use _ITOA_WORD_TYPE on value.
66494         (_fitoa_word): Likewise.
66495         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
66496         LLONG_MAX != LONG_MAX.
66497         * stdio-common/_itowa.h: Include <_itoa.h>.
66498         (_itowa_word): Use _ITOA_WORD_TYPE on value.
66499         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
66500         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
66501         only if not defined.
66502         (_ITOA_WORD_TYPE): Likewise.
66503         (_itoa_word): Use _ITOA_WORD_TYPE on value.
66504         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
66506 2012-03-21  David S. Miller  <davem@davemloft.net>
66508         * sysdeps/sparc/fpu/libm-test-ulps: Update.
66510 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
66512         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
66513         of x86_64 when setting libc_cv_slibdir, libdir and
66514         libc_cv_localedir.
66515         * sysdeps/unix/sysv/linux/configure: Regenerated.
66517 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
66519         * manual/lang.texi (Old Varargs): Remove section.
66520         (How Variadic): Update menu.
66521         (va_start): Do not mention varargs.h.
66523 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
66524             Joseph Myers  <joseph@codesourcery.com>
66526         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
66527         link test.
66528         * configure: Regenerated.
66530 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
66532         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
66533         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
66534         conformtest.pl
66536 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
66538         * NOTES: Remove.
66539         * Makefile (files-for-dist): Remove NOTES.
66540         (NOTES): Remove rule.
66541         * README: Don't refer to NOTES.
66542         * manual/creature.texi: Don't include macros.texi.
66543         * manual/intro.texi (creature.texi): Remove comment referring to
66544         NOTES.
66546         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
66547         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
66548         * configure: Regenerated.
66549         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
66550         LIBC_TRY_CC_OPTION.
66551         (libc_cv_as_i686): Likewise.
66552         (libc_cv_cc_avx): Likewise.
66553         (libc_cv_cc_sse2avx): Likewise.
66554         (libc_cv_cc_fma4): Likewise.
66555         (libc_cv_cc_novzeroupper): Likewise.
66556         * sysdeps/i386/configure: Regenerated.
66558         [BZ #13883]
66559         * sysdeps/i386/fpu/s_cexp.S: Remove.
66560         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
66561         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
66562         * math/libm-test.inc (cexp_test): Add more tests.
66563         * sysdeps/i386/fpu/libm-test-ulps: Update.
66564         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66566 2012-03-21  Allan McRae  <allan@archlinux.org>
66568         * timezone/Makefile: Do not install iso3166.tab and zone.tab
66570 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
66572         [BZ #13871]
66573         * math/w_exp2.c: Do not include <float.h>.
66574         (o_threshold, u_threshold): Remove.
66575         (__exp2): Calculate result before checking finiteness and calling
66576         __kernel_standard.
66577         * math/w_exp2f.c: Likewise.
66578         * math/w_exp2l.c: Likewise.
66579         * math/libm-test.inc (exp2_test): Require overflow exception for
66580         1e6 input.
66582         [BZ #3866]
66583         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
66584         range of signed 64-bit integers before using fistpll.  Remove
66585         checks for whether integers fit in mantissa bits.
66586         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
66587         the range of signed 32-bit integers before using fistpl.  Remove
66588         checks for whether integers fit in mantissa bits.
66589         * sysdeps/i386/fpu/e_powl.S (p64): New object.
66590         (__ieee754_powl): Test for y outside the range of signed 64-bit
66591         integers before using fistpll.  Reduce 64-bit values to 63-bit
66592         ones as needed.
66593         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
66594         divide-by-zero is raised for zero to large negative powers.
66595         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
66596         (__ieee754_powl): Test for y outside the range of signed 64-bit
66597         integers before using fistpll.  Reduce 64-bit values to 63-bit
66598         ones as needed.
66599         * math/libm-test.inc (pow_test): Add more tests.
66601 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
66603         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
66604         <stdio-common/_itoa.h>.
66605         * debug/segfault.c: Likewise.
66606         * elf/dl-cache.c: Likewise.
66607         * elf/dl-minimal.c: Likewise.
66608         * elf/dl-misc.c: Likewise.
66609         * elf/dl-sysdep.c: Likewise.
66610         * elf/dl-version.c: Likewise.
66611         * elf/rtld.c: Likewise.
66612         * hurd/hurdsock.c: Likewise.
66613         * hurd/lookup-retry.c: Likewise.
66614         * malloc/malloc.c: Likewise.
66615         * malloc/mtrace.c: Likewise.
66616         * nscd/nscd_getgr_r.c: Likewise.
66617         * nscd/nscd_getpw_r.c: Likewise.
66618         * nscd/nscd_getserv_r.c: Likewise.
66619         * posix/getopt_init.c: Likewise.
66620         * posix/wordexp.c: Likewise.
66621         * stdio-common/_itoa.c: Likewise.
66622         * stdio-common/printf_fphex.c: Likewise.
66623         * stdio-common/vfprintf.c: Likewise.
66624         * string/_strerror.c: Likewise.
66625         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
66626         * sysdeps/i386/i686/hp-timing.h: Likewise.
66627         * sysdeps/mach/_strerror.c: Likewise.
66628         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
66629         * sysdeps/mach/hurd/sethostid.c: Likewise.
66630         * sysdeps/mach/hurd/xmknodat.c: Likewise.
66631         * sysdeps/mach/xpg-strerror.c: Likewise.
66632         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
66633         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
66634         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
66635         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
66636         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
66637         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
66638         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
66639         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
66640         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
66641         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
66642         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
66643         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
66644         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
66645         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
66646         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
66647         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
66648         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
66649         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
66650         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
66651         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
66652         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
66654         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
66656         * stdio-common/_itoa.h: Moved to ...
66657         * sysdeps/generic/_itoa.h: Here.
66659         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
66661         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
66662         instead of "_itoa.h" and "_itowa.h".
66663         * stdio-common/vfprintf.: Likewise.
66665 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
66667         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
66668         <bits/wordsize.h>.
66669         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
66670         (__signbit): Likwise.
66671         (llrintf): Likwise.
66672         (llrint): Likwise.
66674 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
66676         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
66677         __WORDSIZE != 64.
66679 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
66681         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
66682         OVERFLOW_EXCEPTION_OK.
66683         * math/libm-test.inc ("Philosophy"): Update comment about
66684         exception testing.
66685         (OVERFLOW_EXCEPTION): Define.
66686         (OVERFLOW_EXCEPTION_OK): Likewise.
66687         (INVALID_EXCEPTION_OK): Renumber.
66688         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
66689         (IGNORE_ZERO_INF_SIGN): Likewise.
66690         (test_exceptions): Handle FE_OVERFLOW.
66691         (exp10_test): Expect overflow exceptions.
66692         (exp2_test): Likewise.
66693         (expm1_test): Likewise.
66694         (nextafter_test): Likewise.
66695         (pow_test): Likewise.
66696         (scalbn_test): Likewise.
66697         (scalbln_test): Likewise.
66699 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
66701         * sysdeps/x86_64/bits/atomic.h
66702         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
66703         64bit integer.
66704         (atomic_exchange_acq): Likewise.
66705         (__arch_exchange_and_add_body): Likewise.
66706         (__arch_add_body): Likewise.
66707         (atomic_add_negative): Likewise.
66708         (atomic_add_zero): Likewise.
66710 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
66712         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
66713         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
66715 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
66717         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
66718         Check __x86_64__ instead of __WORDSIZE.
66720 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
66722         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
66724 2012-03-19  David S. Miller  <davem@davemloft.net>
66726         * sysdeps/sparc/fpu/libm-test-ulps: Update.
66728         * sysdeps/sparc/fpu/fenv_private.h: New file.
66729         * sysdeps/sparc/fpu/math_private.h: Use it.
66730         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
66731         Remove.
66732         (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
66733         (libc_feholdexcept_setroundl): Remove.
66734         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
66735         Remove.
66736         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
66737         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
66739 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
66741         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
66742         int64_t instead of long int.
66743         (INSERT_WORDS64): Likwise.
66745 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
66747         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
66748         _Unwind_GetCFA return to _Unwind_Ptr first.
66750 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
66752         [BZ #13629]
66753         * math/s_clog.c: Include <float.h>.
66754         (__clog): Scale large or subnormal inputs.
66755         * math/s_clogf.c: Likewise.
66756         * math/s_clogl.c: Likewise.
66757         * math/s_clog10.c: Include <float.h>.
66758         (M_LOG10_2): Define.
66759         (__clog10): Scale large or subnormal inputs.
66760         * math/s_clog10f.c: Likewise.
66761         * math/s_clog10l.c: Likewise.
66762         * math/libm-test.inc (clog_test): Add more tests.
66763         (clog10_test): Likewise.
66764         * sysdeps/i386/fpu/libm-test-ulps: Update.
66765         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66767         [BZ #11451]
66768         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
66769         x and y.
66770         * math/libm-test.inc (atan2_test): Add another test.
66772         * Makerules (common-objdir-compile): Remove.
66773         * sysdeps/unix/Makefile (config-generated): Do not add
66774         $(unix-generated) to variable.
66775         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
66776         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
66777         Remove rule.
66778         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
66779         Likewise.
66780         [generic bits/local_lim.h] (before-compile): Do not append to
66781         variable.
66782         [generic bits/local_lim.h] (common-generated): Likewise.
66783         [generic sys/param.h] (before-compile): Do not append to variable.
66784         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
66785         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
66786         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
66787         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
66788         include.
66789         [generic sys/param.h] (sys/param.h-includes): Remove variable.
66790         [generic sys/param.h] (sys/param.h-includes): Remove rule.
66791         [generic sys/param.h] ($(addprefix
66792         $(common-objpfx),$(sys/param.h-includes))): Likewise.
66793         [generic sys/param.h] (common-generated): Do not append to
66794         variable.
66795         [generic sys/param.h] (sysdep_headers): Likewise.
66796         [generic bits/errno.h] (before-compile): Do not append to
66797         variable.
66798         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
66799         rule.
66800         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
66801         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
66802         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
66803         [generic bits/errno.h] (common-generated): Do not append to
66804         variable.
66805         [generic bits/ioctls.h] (before-compile): Do not append to
66806         variable.
66807         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
66808         rule.
66809         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
66810         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
66811         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
66812         rule.
66813         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
66814         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
66815         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
66816         [generic bits/ioctls.h] (common-generated): Do not append to
66817         variable.
66818         [generic sys/syscall.h] (syscall.h): Remove variable.
66819         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
66820         rule.
66821         [generic sys/syscall.h] (before-compile): Do not append to
66822         variable.
66823         [generic sys/syscall.h] (common-generated): Likewise.
66824         * sysdeps/unix/errnos-tmpl.c: Remove file.
66825         * sysdeps/unix/errnos.awk: Likewise.
66826         * sysdeps/unix/ioctls-tmpl.c: Likewise.
66827         * sysdeps/unix/ioctls.awk: Likewise.
66828         * sysdeps/unix/mk-local_lim.c: Likewise.
66829         * sysdeps/unix/snarf-ioctls: Likewise.
66831 2012-03-19  Richard Henderson  <rth@twiddle.net>
66833         * sysdeps/i386/fpu/fenv_private.h: New file.
66834         * sysdeps/i386/fpu/math_private.h: Use it.
66835         (math_opt_barrier, math_force_eval): Remove.
66836         (libc_feholdexcept_setround_53bit): Remove.
66837         (libc_feupdateenv_53bit): Remove.
66838         * sysdeps/x86_64/fpu/math_private.h: Likewise.
66839         (math_opt_barrier, math_force_eval): Remove.
66840         (libc_feholdexcept): Remove.
66841         (libc_feholdexcept_setround): Remove.
66842         (libc_fetestexcept, libc_fesetenv): Remove.
66843         (libc_feupdateenv_test): Remove.
66844         (libc_feupdateenv, libc_feholdsetround): Remove.
66845         (libc_feresetround): Remove.
66847         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
66848         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
66850         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
66851         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
66852         (libc_feupdateenv_testl): New.
66853         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
66854         (libc_feupdateenv_testf): New.
66855         (libc_feupdateenv): Use libc_feupdateenv_test.
66856         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
66857         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
66859         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
66860         (libc_feholdsetroundf, libc_feholdsetroundl): New.
66861         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
66862         (libc_feresetround_noex): New.
66863         (libc_feresetround_noexf): New.
66864         (libc_feresetround_noexl): New.
66865         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
66866         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
66867         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
66868         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
66869         SET_RESTORE_ROUND.
66870         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
66871         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
66872         (__cos): Likewise.
66873         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
66874         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
66875         SET_RESTORE_ROUND_NOEX.
66876         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
66877         SET_RESTORE_ROUND_NOEXF.
66878         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
66879         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
66880         (libc_feholdsetroundf): New.
66881         (libc_feresetround, libc_feresetroundf): New.
66883         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
66884         (libc_feholdexcept_setround_53bit): Convert from macro to function.
66885         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
66887         * sysdeps/generic/math_private.h: Include <fenv.h>.
66888         (default_libc_feholdexcept): New.
66889         (default_libc_feholdexcept_setround): New.
66890         (default_libc_fesetenv, default_libc_feupdateenv): New.
66891         (libc_feholdexcept): Only define if undefined.
66892         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
66893         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
66894         (libc_feholdexcept_setroundl): Likewise.
66895         (libc_feholdexcept_setround_53bit): Likewise.
66896         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
66897         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
66898         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
66899         (libc_feupdateenv_53bit): Likewise.
66900         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
66901         (libc_feholdexcept): Convert from macro to inline function.
66902         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
66903         (libc_fesetenv, libc_feupdateenv): Likewise.
66905         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
66906         not previously defined.
66907         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
66908         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
66909         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
66910         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
66911         * sysdeps/ieee754/flt-32/math_private.h: New file.
66912         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
66913         math_private.h below SET_FLOAT_WORD.
66914         (__isnan, __isinf_ns, __finite): Remove.
66915         (__isnanf, __isinf_nsf, __finitef): Remove.
66917 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
66919         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
66921 2012-03-17  David S. Miller  <davem@davemloft.net>
66923         [BZ #6471]
66924         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
66925         for 2.16.
66927 2012-03-16  David S. Miller  <davem@davemloft.net>
66929         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
66930         warnings.
66932         [BZ #6471]
66933         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
66934         properly.
66935         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
66936         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
66937         sysdep_routines when subdir is sysvipc.
66938         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
66939         __getshmlba helper.
66941         * sysdeps/sparc/fpu/libm-test/ulps: Update.
66943 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
66945         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
66946         [__LP64__].
66948 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
66950         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
66951         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
66952         (__lround): Renamed to ...
66953         (__llround): This.  Replace long int with long long int.
66954         Define lround functions as aliases of llround functions.
66955         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
66957 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
66959         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
66960         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
66961         adresses to uintptr_t.  Replace "long int" and "unsigned long
66962         int" with "greg_t" on va_arg.
66964 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
66966         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
66967         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
66969         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
66970         Move e_machine check before EI_CLASS check.  Handle x32
66971         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
66972         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
66973         SKIP_EM_IA_64 and include
66974         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
66976         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
66977         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
66978         (add_system_dir): New macro.
66980         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
66981         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
66983 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
66985         [BZ #2551]
66986         [BZ #2552]
66987         [BZ #2553]
66988         [BZ #2554]
66989         [BZ #2562]
66990         [BZ #2563]
66991         [BZ #2565]
66992         [BZ #2566]
66993         [BZ #2576]
66994         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
66995         (y0): Likewise.
66996         * math/w_j0f.c (j0f): Likewise.
66997         (y0f): Likewise.
66998         * math/w_j0l.c (__j0l): Likewise.
66999         (__y0l): Likewise.
67000         * math/w_j1.c (j1): Likewise.
67001         (y1): Likewise.
67002         * math/w_j1f.c (j1f): Likewise.
67003         (y1f): Likewise.
67004         * math/w_j1l.c (__j1l): Likewise.
67005         (__y1l): Likewise.
67006         * math/w_jn.c (jn): Likewise.
67007         (yn): Likewise.
67008         * math/w_jnf.c (jnf): Likewise.
67009         (ynf): Likewise.
67010         * math/w_jnl.c (__jnl): Likewise.
67011         (__ynl): Likewise.
67012         * math/libm-test.inc (j0_test): Add more tests.
67013         (j1_test): Likewise.
67014         (jn_test): Likewise.  Add trailing semicolon to existing test.
67015         (y0_test): Likewise.
67016         (y1_test): Likewise.
67017         * sysdeps/i386/fpu/libm-test-ulps: Update.
67018         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
67020         [BZ #13851]
67021         [BZ #13854]
67022         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
67023         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
67024         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
67025         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
67026         (__tanl): Set errno for infinite argument.
67027         * sysdeps/i386/fpu/mptan.c: Remove.
67028         * sysdeps/i386/fpu/s_tan.S: Likewise.
67029         * sysdeps/i386/fpu/s_tanl.S: Likewise.
67030         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
67031         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
67032         * math/libm-test.inc (tan_test): Add more tests and enable more
67033         tests for double and long double.
67034         * sysdeps/i386/fpu/libm-test-ulps: Update.
67035         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
67037 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
67039         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
67040         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
67042 2012-03-16  Roland McGrath  <roland@hack.frob.com>
67044         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
67045         * configure.in: Use it for both main tree and add-ons.
67046         * configure: Regenerated.
67048 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
67050         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
67052 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
67054         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
67055         in comment.
67057         [BZ #13851]
67058         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
67059         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
67060         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
67061         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
67062         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
67063         infinite argument.
67064         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
67065         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
67066         != 0 for prec == 2.
67067         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
67068         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
67069         * sysdeps/i386/fpu/s_cosl.S: Likewise.
67070         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
67071         * sysdeps/i386/fpu/s_sinl.S: Likewise.
67072         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
67073         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
67074         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
67075         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
67076         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
67077         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
67078         * math/libm-test.inc (cos_test): Add more tests and enable more
67079         tests for long double.
67080         (sin_test): Likewise.
67081         (sincos_test): Likewise.
67082         * sysdeps/i386/fpu/libm-test-ulps: Update.
67083         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
67085 2012-03-16  David S. Miller  <davem@davemloft.net>
67087         * sysdeps/sparc/fpu/math_private.h: New file.
67089 2012-03-15  David S. Miller  <davem@davemloft.net>
67091         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
67092         file.
67093         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
67094         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
67095         file.
67096         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
67097         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
67098         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
67099         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
67100         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
67101         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
67102         sysdep routines.
67103         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
67105         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
67106         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
67108         * sysdeps/sparc/sparc-ifunc.h: New file.
67109         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
67110         sparc-ifunc.h
67111         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
67112         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
67113         Likewise.
67114         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
67115         Likewise.
67116         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
67117         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
67118         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
67119         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
67120         Likewise.
67121         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
67122         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
67123         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
67124         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
67125         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
67126         Likewise.
67127         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
67128         Likewise.
67129         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
67130         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
67131         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
67132         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
67133         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
67134         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
67135         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
67136         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
67137         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
67138         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
67139         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
67140         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
67141         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
67142         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
67143         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
67144         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
67145         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
67146         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
67147         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
67148         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
67149         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
67150         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
67151         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
67152         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
67154 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
67156         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
67157         scaling.
67158         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
67160 2012-03-15  Andreas Jaeger  <aj@suse.de>
67162         [BZ #13852]
67163         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
67164         ieee754/flt-32 implementation for sin, cos and sincos.
67165         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
67166         * sysdeps/i386/fpu/s_cosf.S: Likewise.
67167         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
67168         * sysdeps/i386/fpu/s_sinf.S: Likewise.
67169         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
67170         ieee754/flt-32 implementation for tan.
67172         * math/libm-test.inc (cos_test): Enable some large input tests for
67173         float as well
67174         (sin_test): Likewise.
67175         (sincos_test): Likewise.
67176         (tan_test): Add tests for large input.
67178         * sysdeps/i386/fpu/libm-test-ulps: Update.
67180 2012-03-15  Andreas Jaeger  <aj@suse.de>
67182         [BZ #13658]
67183         * math/libm-test.inc (cos_test): Add more test cases.
67184         (sin_test): Likewise.
67185         (sincos_test): Likewise.
67187 2012-03-15  Andreas Jaeger  <aj@suse.de>
67189         [BZ #13837]
67190         * math/libm-test.inc (cos_test): Add a test case for large input
67191         value.
67192         (sin_test): Likewise.
67193         (sincos_test): Likewise.
67195 2012-03-15  Andreas Jaeger  <aj@suse.de>
67196             Joseph Myers  <joseph@codesourcery.com>
67198         [BZ #13658]
67199         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
67200         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
67201         * sysdeps/i386/fpu/branred.c: Likewise.
67202         * sysdeps/i386/fpu/dosincos.c: Likewise.
67203         * sysdeps/i386/fpu/mpa.c: Likewise.
67204         * sysdeps/i386/fpu/s_cos.S: Likewise.
67205         * sysdeps/i386/fpu/s_sin.S: Likewise.
67206         * sysdeps/i386/fpu/s_sincos.S: Likewise.
67207         * sysdeps/i386/fpu/sincos32.c: Likewise.
67209         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
67210         Define.
67211         (libc_feupdateenv_53bit): Define.
67212         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
67213         Define.
67214         (libc_feupdateenv_53bit): Define.
67216         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
67217         53 bit (without extend i386 double precision).
67219         * math/libm-test.inc (sincos_test): Add tests for large input.
67220         (sin): Likewise.
67221         (cos): Likewise.
67223         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
67225 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
67227         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
67229 2012-03-15  David S. Miller  <davem@davemloft.net>
67231         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
67232         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
67233         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
67234         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
67235         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
67236         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
67237         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
67238         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
67239         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
67240         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
67241         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
67242         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
67243         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
67244         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
67245         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
67246         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
67247         file.
67248         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
67249         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
67250         file.
67251         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
67252         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
67253         file.
67254         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
67255         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
67256         file.
67257         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
67258         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
67259         fmin/fmax sysdep routines.
67260         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
67262 2012-03-14  David S. Miller  <davem@davemloft.net>
67264         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
67265         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
67266         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
67267         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
67268         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
67269         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
67270         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
67271         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
67272         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
67273         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
67274         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
67275         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
67276         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
67277         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
67278         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
67279         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
67280         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
67281         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
67282         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
67283         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
67284         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
67285         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
67286         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
67287         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
67288         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
67289         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
67290         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
67291         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
67292         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
67293         routines.
67294         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
67295         file.
67296         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
67297         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
67298         file.
67299         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
67300         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
67301         file.
67302         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
67303         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
67304         file.
67305         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
67306         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
67307         file.
67308         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
67309         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
67310         file.
67311         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
67312         file.
67313         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
67314         file.
67315         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
67316         file.
67317         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
67318         New file.
67319         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
67320         file.
67321         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
67322         file.
67323         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
67324         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
67325         file.
67326         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
67327         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
67328         file.
67329         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
67330         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
67331         file.
67332         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
67333         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
67334         VIS3 routines.
67336         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
67337         New file.
67339         * sysdeps/sparc/fpu/libm-test-ulps: Update.
67341         * sysdeps/sparc/configure.in: New file.
67342         * sysdeps/sparc/configure: Generate.
67343         * configure.in (libc_cv_sparc_as_vis3): Substitute.
67344         * configure: Regenerate.
67345         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
67346         * config.make.in (have-as-vis3): New.
67347         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
67348         available use -Av9d instead of -Av9a.
67349         * sysdeps/sparc/sparc64/Makefile: Likewise.
67350         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
67351         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
67352         New file.
67353         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
67354         file.
67355         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
67356         New file.
67357         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
67358         file.
67359         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
67360         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
67361         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
67362         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
67363         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
67365         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
67366         fzeros/fnegs to load 0x80000000 into a float register instead of
67367         using the stack.
67368         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
67370 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
67372         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
67373         bits/syscall.h.
67374         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
67375         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
67376         ($(inst_includedir)/bits/syscall.h): Remove rule.
67377         ($(objpfx)bits/syscall.d): Include instead of
67378         $(objpfx)syscall-list.d.
67379         (generated): Change syscall-list.h and syscall-list.d to
67380         bits/syscall.h and bits/syscall.d.
67382 2012-03-14  Roland McGrath  <roland@hack.frob.com>
67384         [BZ #13846]
67385         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
67387 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
67389         [BZ #13841]
67390         * math/s_csqrt.c: Include <float.h>.
67391         (__csqrt): Scale large or subnormal inputs.
67392         * math/s_csqrtf.c: Likewise.
67393         * math/s_csqrtl.c: Likewise.
67394         * math/libm-test.inc (csqrt_test): Add more tests.
67395         * sysdeps/i386/fpu/libm-test-ulps: Update.
67396         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
67398         [BZ #13840]
67399         * math/libm-test.inc (hypot_test): Add more tests.
67401 2012-03-13  David S. Miller  <davem@davemloft.net>
67403         [BZ #13840]
67404         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
67405         double-precision for the calculation instead of scaling.
67407 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
67409         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
67410         manipulate bits before adding and subtracting TWO52[sx].
67411         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
67412         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
67413         Likewise.
67414         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
67416 2012-03-13  David S. Miller  <davem@davemloft.net>
67418         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
67419         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
67420         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
67421         rtld-global-offsets.h
67422         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
67424         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
67425         large parameters.
67427         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
67429         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
67430         'err' in the ifdef scope in which it is actually used.
67432         * nss/nss_db/db-init.c: Include string.h
67434 2012-03-12  David S. Miller  <davem@davemloft.net>
67436         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
67437         masking out of the most significant byte of random value used.
67438         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
67439         Fix coding style in previous change.
67441         * sysdeps/unix/sysv/linux/kernel-features.h
67442         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
67443         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
67444         expression.
67445         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
67446         later.
67448 2012-03-11  David S. Miller  <davem@davemloft.net>
67450         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
67451         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
67452         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
67453         for 'resultvar' otherwise things get truncated on 64-bit.
67455         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
67456         Fix masking out of the most significant byte of random value used.
67458         * sysdeps/sparc/fpu/libm-test-ulps: Update.
67460 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
67462         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
67464 2012-03-09  David S. Miller  <davem@davemloft.net>
67466         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
67467         variables with appropriate CPP guards.
67468         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
67469         from the frame pointer, not the stack pointer.  Correct layout
67470         comments.  Fix test on resulting framesize and the management of
67471         the outregs buffer for pltexit.  Preserve floating point return
67472         values across _dl_call_pltexit call.
67473         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
67474         framesize and the management of the outregs buffer for pltexit.
67475         Preserve floating point return values across _dl_call_pltexit
67476         call.
67477         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
67478         (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
67479         (la_sparc64_gnu_pltexit): New functions.
67480         (print_exit): Fix format string for return register value.
67482 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
67484         * sunrpc/Makefile (others): Add rpcgen.
67485         ($(objpfx)rpcgen): Remove special build rule and dependency on
67486         libc.
67487         * sunrpc/rpcgen.c: New file.
67489 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
67491         [BZ #13673]
67492         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
67493         * stdio-common/bug-vfprintf-nargs.c: Likewise.
67494         * sysdeps/i386/crti.S: Likewise.
67495         * sysdeps/i386/crtn.S: Likewise.
67496         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
67497         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
67498         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
67499         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
67500         * sysdeps/sh/crti.S: Likewise.
67501         * sysdeps/sh/crtn.S: Likewise.
67502         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
67504         [BZ #13673]
67505         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
67506         with URL.
67507         * locale/programs/locfile-kw.gperf: Likewise.
67508         * locale/programs/charmap-kw.h: Regenerated.
67509         * locale/programs/locfile-kw.h: Likewise.
67511         [BZ #13673]
67512         * intl/plural.y: Replace FSF snail mail address with URL.
67513         * intl/plural.c: Regenerated.
67515 2012-03-09  Richard Henderson  <rth@twiddle.net>
67517         * include/math_private.h: Remove file.
67518         * math/math_private.h: Move file ...
67519         * sysdeps/generic/math_private.h: ... here.
67521         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
67522         * sysdeps/powerpc/fpu/math_private.h: Likewise.
67523         * sysdeps/x86_64/fpu/math_private.h: Likewise.
67525         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
67526         and <math_private.h>.
67527         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
67528         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
67529         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
67530         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
67531         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
67532         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
67533         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
67534         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
67535         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
67536         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
67537         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
67538         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
67539         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
67540         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
67541         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
67542         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
67543         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
67544         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
67545         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
67546         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
67547         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
67548         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
67549         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
67550         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
67551         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
67552         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
67553         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
67554         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
67555         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
67556         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
67557         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
67558         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
67559         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
67560         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
67561         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
67562         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
67563         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
67564         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
67565         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
67566         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
67567         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
67568         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
67569         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
67570         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
67571         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
67572         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
67573         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
67574         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
67575         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
67576         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
67577         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
67578         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
67579         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
67580         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
67581         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
67582         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
67583         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
67584         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
67585         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
67586         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
67587         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
67588         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
67589         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
67590         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
67591         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
67592         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
67593         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
67594         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
67595         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
67596         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
67597         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
67598         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
67599         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
67600         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
67601         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
67602         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
67603         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
67604         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
67605         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
67606         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
67607         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
67608         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
67609         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
67610         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
67611         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
67612         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
67613         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
67614         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
67615         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
67616         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
67617         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
67618         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
67619         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
67620         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
67621         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
67622         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
67623         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
67624         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
67625         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
67626         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
67627         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
67628         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
67629         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
67630         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
67631         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
67632         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
67633         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
67634         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
67635         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
67636         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
67637         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
67638         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
67639         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
67640         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
67641         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
67642         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
67643         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
67644         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
67645         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
67646         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
67647         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
67648         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
67649         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
67650         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
67651         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
67652         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
67653         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
67654         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
67655         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
67656         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
67657         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
67658         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
67659         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
67660         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
67661         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
67662         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
67663         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
67664         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
67665         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
67666         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
67667         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
67668         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
67669         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
67670         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
67671         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
67672         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
67673         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
67674         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
67675         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
67676         * sysdeps/ieee754/k_standard.c: Likewise.
67677         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
67678         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
67679         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
67680         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
67681         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
67682         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
67683         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
67684         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
67685         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
67686         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
67687         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
67688         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
67689         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
67690         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
67691         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
67692         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
67693         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
67694         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
67695         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
67696         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
67697         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
67698         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
67699         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
67700         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
67701         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
67702         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
67703         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
67704         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
67705         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
67706         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
67707         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
67708         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
67709         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
67710         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
67711         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
67712         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
67713         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
67714         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
67715         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
67716         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
67717         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
67718         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
67719         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
67720         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
67721         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
67722         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
67723         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
67724         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
67725         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
67726         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
67727         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
67728         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
67729         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
67730         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
67731         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
67732         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
67733         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
67734         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
67735         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
67736         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
67737         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
67738         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
67739         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
67740         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
67741         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
67742         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
67743         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
67744         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
67745         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
67746         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
67747         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
67748         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
67749         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
67750         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
67751         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
67752         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
67753         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
67754         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
67755         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
67756         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
67757         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
67758         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
67759         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
67760         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
67761         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
67762         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
67763         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
67764         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
67765         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
67766         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
67767         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
67768         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
67769         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
67770         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
67771         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
67772         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
67773         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
67774         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
67775         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
67776         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
67777         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
67778         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
67779         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
67780         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
67781         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
67782         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
67783         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
67784         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
67785         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
67786         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
67787         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
67788         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
67789         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
67790         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
67791         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
67792         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
67793         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
67794         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
67795         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
67796         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
67797         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
67798         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
67799         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
67800         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
67801         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
67802         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
67803         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
67804         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
67805         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
67806         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
67807         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
67808         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
67809         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
67810         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
67811         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
67812         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
67813         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
67814         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
67815         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
67816         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
67817         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
67818         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
67819         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
67820         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
67821         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
67822         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
67823         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
67824         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
67825         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
67826         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
67827         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
67828         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
67829         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
67830         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
67831         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
67832         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
67833         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
67834         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
67835         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
67836         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
67837         * sysdeps/ieee754/s_lib_version.c: Likewise.
67838         * sysdeps/ieee754/s_matherr.c: Likewise.
67839         * sysdeps/ieee754/s_signgam.c: Likewise.
67840         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
67841         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
67842         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
67843         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
67844         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
67845         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
67846         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
67847         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
67848         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
67849         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
67850         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
67851         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
67852         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
67853         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
67854         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
67855         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
67856         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
67857         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
67858         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
67859         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
67860         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
67862 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
67864         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
67865         * sunrpc/rpc_main.c: Likewise.
67866         * sunrpc/rpc_svcout.c: Likewise.
67868 2012-03-09  David S. Miller  <davem@davemloft.net>
67870         * include/math_private.h: New file.
67872 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
67874         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
67875         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
67876         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
67877         from <bits/socket_type.h>.
67878         (enum __socket_type): Don't define here.
67879         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
67880         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
67881         bits/socket_type.h.
67883         [BZ #13566]
67884         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
67885         checking __USE_GNU.
67887         * Makerules ($(inst_includedir)/%.h): New rule.
67888         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
67889         (install-others): Remove variable setting.
67890         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
67892 2012-03-08  Richard Henderson  <rth@twiddle.net>
67894         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
67895         from macro to inline function; merge with the
67896         !__LIBC_INTERNAL_MATH_INLINES version.
67897         (__ieee754_sqrtf): Likewise.
67899         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
67900         to inline function.
67901         (__rintf, __floor, __floorf): Likewise.
67903         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
67904         macro to inline function.
67905         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
67907         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
67908         not <math/math_private.h>.
67910 2012-03-08  David S. Miller  <davem@davemloft.net>
67912         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
67913         copyright year.
67914         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
67916 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
67918         * resolv/gai_misc.c (handle_requests): Fix struct timespec
67919         normalization.
67920         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
67921         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
67923 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
67925         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
67926         be defined individually, they must be defined as a block.  Define
67927         S for printing a string instead of hidint the different by using a
67928         macro for adding the 'l'.
67929         * stdio-common/tst-fphex-wide.c: Adjust.
67931 2012-03-07  Marek Polacek  <polacek@redhat.com>
67933         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
67935 2012-03-08  Marek Polacek  <polacek@redhat.com>
67937         [BZ #13806]
67938         * stdio-common/Makefile (tests): Add tst-fphex-wide.
67939         * stdio-common/tst-fphex.c: Define a few macros to make the
67940         test reusable.  Use them.
67941         * stdio-common/tst-fphex-wide.c: New file.
67943 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
67945         [BZ #6911]
67946         * manual/macros.texi (gnusystems): New macro.
67947         (nongnusystems): Likewise.
67948         (gnulinuxhurdsystems): Likewise.
67949         (gnuhurdsystems): Likewise..
67950         (gnulinuxsystems): Likewise.
67951         * manual/charset.texi: Use new macros or @theglibc{} to refer to
67952         variants of the GNU system, not "GNU system".
67953         * manual/conf.texi: Likewise.
67954         * manual/errno.texi: Likewise.  Update example of errno macro
67955         expansion.
67956         * manual/filesys.texi: Likewise.
67957         (getumask): Document as specific to GNU/Hurd.
67958         * manual/install.texi: Likewise.  Reword some references to
67959         GNU/Linux.
67960         * manual/intro.texi: Likewise.
67961         * manual/io.texi: Likewise.
67962         (File Name Portability): Detail which constraints are inapplicable
67963         to all GNU systems and which are only inapplicable to GNU/Hurd.
67964         * manual/job.texi: Likewise.
67965         * manual/llio.texi: Likewise.
67966         (O_NOCTTY): Document as present on GNU/Linux.
67967         * manual/maint.texi: Likewise.
67968         * manual/memory.texi: Likewise.
67969         * manual/pattern.texi: Likewise.
67970         * manual/pipe.texi: Likewise.
67971         * manual/process.texi: Likewise.
67972         * manual/resource.texi: Likewise.
67973         (RUSAGE_CHILDREN): Remove statement about specifying a particular
67974         child on GNU/Hurd.
67975         * manual/setjmp.texi: Likewise.
67976         * manual/signal.texi: Likewise.
67977         * manual/startup.texi: Likewise.
67978         * manual/stdio.texi: Likewise.
67979         * manual/terminal.texi: Likewise.
67980         (ONLCR): Document as POSIX.
67981         (OXTABS): Document availability on GNU/Linux as XTABS.
67982         (ONOEOT): Document availability separately from other bits.
67983         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
67984         * manual/time.texi: Likewise.
67985         * manual/users.texi: Likewise.
67986         * INSTALL: Regenerated.
67987         * sysdeps/gnu/errlist.c: Regenerated.
67989         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
67990         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
67991         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
67992         puts.
67993         * configure: Regenerated.
67995 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
67997         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
67998         default includes instead of AC_HEADER_CHECK.
67999         * sysdeps/i386/configure: Regenerated.
68001         [BZ #10716]
68002         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
68003         * math/s_cacoshf.c (__cacoshf): Likewise.
68004         * math/s_cacoshl.c (__cacoshl): Likewise.
68005         * math/s_casinh.c (__casinh): Set signs of result from argument.
68006         * math/s_casinhf.c (__casinhf): Likewise.
68007         * math/s_casinhl.c (__casinhl): Likewise.
68008         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
68009         (casinh_test): Add more tests.
68010         * sysdeps/i386/fpu/libm-test-ulps: Update.
68011         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68013 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
68015         * po/zh_TW.po: Update from translation team.
68017         * login/Makefile (distribute): Remove variable.
68018         * catgets/Makefile: Likewise.
68019         * mach/Makefile: Likewise.
68020         * malloc/Makefile: Likewise.
68021         * misc/Makefile: Likewise.
68022         * iconv/Makefile: Likewise.
68023         * nscd/Makefile: Likewise.
68024         * hurd/Makefile: Likewise.
68025         * manual/Makefile: Likewise.
68026         * locale/Makefile: Likewise.
68027         * intl/Makefile: Likewise.
68028         * conform/Makefile: Likewise.
68029         * nss/Makefile: Likewise.
68030         * time/Makefile: Likewise.
68031         * soft-fp/Makefile: Likewise.
68032         * dirent/Makefile: Likewise.
68033         * gmon/Makefile: Likewise.
68034         * po/Makefile: Likewise.
68035         * rt/Makefile: Likewise.
68036         * socket/Makefile: Likewise.
68037         * math/Makefile: Likewise.
68038         * signal/Makefile: Likewise.
68039         * debug/Makefile: Likewise.
68040         * elf/Makefile: Likewise.
68041         * timezone/Makefile: Likewise.
68042         * stdlib/Makefile: Likewise.
68043         * iconvdata/Makefile: Likewise.
68044         * sunrpc/Makefile: Likewise.
68045         * io/Makefile: Likewise.
68046         * argp/Makefile: Likewise.
68047         * inet/Makefile: Likewise.
68048         * hesiod/Makefile: Likewise.
68049         * grp/Makefile: Likewise.
68050         * csu/Makefile: Likewise.
68051         * wctype/Makefile: Likewise.
68052         * crypt/Makefile: Likewise.
68053         * libio/Makefile: Likewise.
68054         * string/Makefile: Likewise.
68055         * nis/Makefile: Likewise.
68056         * resolv/Makefile: Likewise.
68057         * stdio-common/Makefile: Likewise.
68058         * wcsmbs/Makefile: Likewise.
68059         * dlfcn/Makefile: Likewise.
68060         * posix/Makefile: Likewise.
68062         [BZ #6959]
68063         * timezone/Makefile: Don't install timezone files, just the programs
68064         and scripts.
68066 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
68068         * nss/databases.def: Add missing gshadow entry.
68070         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
68072 2012-03-06  Marek Polacek  <polacek@redhat.com>
68074         [BZ #13726]
68075         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
68076         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
68077         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
68078         * stdio-common/tst-long-dbl-fphex.c: New file.
68080 2012-03-06  David S. Miller  <davem@davemloft.net>
68082         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
68083         (set_obp_int): New function.
68084         (get_obp_int): New function.
68085         (__get_clockfreq_via_dev_openprom): Likewise.
68086         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
68087         Avoid unused variable warnings on 'val' and use builtin_expect.
68088         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
68089         __builtin_expect.
68090         (INLINE_CLONE_SYSCALL): Likewise.
68092 2012-03-05  David S. Miller  <davem@davemloft.net>
68094         * sysdeps/sparc/fpu/libm-test-ulps: Update.
68096 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
68098         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
68100         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
68101         only for |x| >= 40.
68102         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
68104 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
68106         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
68107         Replace gettimeofday with __vdso_gettimeofday.
68109         * sysdeps/unix/sysv/linux/x86_64/init-first.c
68110         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
68111         __vdso_clock_gettime and __vdso_getcpu.
68113         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
68114         time with __vdso_time.
68116 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
68118         * manual/lang.texi (size_t): Note types to which size_t may be
68119         equivalent with the GNU C Library, but do not describe when
68120         differences between them are significant.
68122 2012-03-05  Andreas Jaeger  <aj@suse.de>
68124         * sysdeps/i386/fpu/libm-test-ulps: Update.
68126 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
68128         [BZ #3976]
68129         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
68130         (__ieee754_pow): Save and restore rounding mode and use
68131         round-to-nearest for main computations.
68132         * math/libm-test.inc (pow_test_tonearest): New function.
68133         (pow_test_towardzero): Likewise.
68134         (pow_test_downward): Likewise.
68135         (pow_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         [BZ #3976]
68141         * math/libm-test.inc (cosh_test_tonearest): New function.
68142         (cosh_test_towardzero): Likewise.
68143         (cosh_test_downward): Likewise.
68144         (cosh_test_upward): Likewise.
68145         (sinh_test_tonearest): Likewise.
68146         (sinh_test_towardzero): Likewise.
68147         (sinh_test_downward): Likewise.
68148         (sinh_test_upward): Likewise.
68149         (main): Call the new functions.
68150         * sysdeps/i386/fpu/libm-test-ulps: Update.
68151         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68153 2012-03-05  Tom de Vries  <tom@codesourcery.com>
68155         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
68156         default stack guard is set in last bytes.
68157         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
68159 2012-03-05  Kees Cook  <keescook@chromium.org>
68161         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
68163         [BZ #13656]
68164         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
68165         possibly allocate from heap instead of stack.
68166         * stdio-common/bug-vfprintf-nargs.c: New file.
68167         * stdio-common/Makefile (tests): Add nargs overflow test.
68169 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
68171         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
68173 2012-03-03  Marek Polacek  <polacek@redhat.com>
68175         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
68176         * math/math_private.h: Likewise.
68177         * stdlib/tst-strtod.c: Likewise.
68178         * sysdeps/i386/i486/bits/atomic.h: Likewise.
68179         * sysdeps/x86_64/bits/atomic.h: Likewise.
68181 2012-03-02  David S. Miller  <davem@davemloft.net>
68183         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
68184         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
68185         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
68186         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
68187         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
68188         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
68189         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
68190         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
68192 2012-03-02  Roland McGrath  <roland@hack.frob.com>
68194         [BZ #13792]
68195         * manual/examples/README: New file, says the example source files
68196         can be used under GPL>=2.
68197         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
68198         line containing just "*/".
68199         * manual/examples/add.c: Add copyright header (GPL>=2).
68200         * manual/examples/argp-ex1.c: Likewise.
68201         * manual/examples/argp-ex2.c: Likewise.
68202         * manual/examples/argp-ex3.c: Likewise.
68203         * manual/examples/argp-ex4.c: Likewise.
68204         * manual/examples/atexit.c: Likewise.
68205         * manual/examples/db.c: Likewise.
68206         * manual/examples/dir.c: Likewise.
68207         * manual/examples/dir2.c: Likewise.
68208         * manual/examples/execinfo.c: Likewise.
68209         * manual/examples/filecli.c: Likewise.
68210         * manual/examples/filesrv.c: Likewise.
68211         * manual/examples/fmtmsgexpl.c: Likewise.
68212         * manual/examples/genpass.c: Likewise.
68213         * manual/examples/inetcli.c: Likewise.
68214         * manual/examples/inetsrv.c: Likewise.
68215         * manual/examples/isockad.c: Likewise.
68216         * manual/examples/longopt.c: Likewise.
68217         * manual/examples/memopen.c: Likewise.
68218         * manual/examples/memstrm.c: Likewise.
68219         * manual/examples/mkfsock.c: Likewise.
68220         * manual/examples/mkisock.c: Likewise.
68221         * manual/examples/mygetpass.c: Likewise.
68222         * manual/examples/pipe.c: Likewise.
68223         * manual/examples/popen.c: Likewise.
68224         * manual/examples/rprintf.c: Likewise.
68225         * manual/examples/search.c: Likewise.
68226         * manual/examples/select.c: Likewise.
68227         * manual/examples/setjmp.c: Likewise.
68228         * manual/examples/sigh1.c: Likewise.
68229         * manual/examples/sigusr.c: Likewise.
68230         * manual/examples/stpcpy.c: Likewise.
68231         * manual/examples/strdupa.c: Likewise.
68232         * manual/examples/strftim.c: Likewise.
68233         * manual/examples/strncat.c: Likewise.
68234         * manual/examples/subopt.c: Likewise.
68235         * manual/examples/swapcontext.c: Likewise.
68236         * manual/examples/termios.c: Likewise.
68237         * manual/examples/testopt.c: Likewise.
68238         * manual/examples/testpass.c: Likewise.
68239         * manual/examples/timeval_subtract.c: Likewise.
68241         [BZ #13792]
68242         * manual/time.texi (Elapsed Time): Move timeval_subtract example
68243         function to ...
68244         * manual/timeval_subtract.c.texi: ... here, new file.
68246 2012-03-02  David S. Miller  <davem@davemloft.net>
68248         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
68250 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
68252         [BZ #3976]
68253         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
68254         (__sin): Save and restore rounding mode and use round-to-nearest
68255         for all computations.
68256         (__cos): Save and restore rounding mode and use round-to-nearest
68257         for all computations.
68258         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
68259         <fenv.h>.
68260         (tan): Save and restore rounding mode and use round-to-nearest for
68261         all computations.
68262         * math/libm-test.inc (cos_test_tonearest): New function.
68263         (cos_test_towardzero): Likewise.
68264         (cos_test_downward): Likewise.
68265         (cos_test_upward): Likewise.
68266         (sin_test_tonearest): Likewise.
68267         (sin_test_towardzero): Likewise.
68268         (sin_test_downward): Likewise.
68269         (sin_test_upward): Likewise.
68270         (tan_test_tonearest): Likewise.
68271         (tan_test_towardzero): Likewise.
68272         (tan_test_downward): Likewise.
68273         (tan_test_upward): Likewise.
68274         (main): Call the new functions.
68275         * sysdeps/i386/fpu/libm-test-ulps: Update.
68276         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68278         [BZ #10135]
68279         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
68280         small n, then large n, before computing and testing k+n.
68281         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
68282         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
68283         Likewise.
68284         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
68285         Likewise.
68286         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
68287         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
68288         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
68289         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
68290         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
68291         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
68292         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
68293         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
68294         * math/libm-test.inc (scalbn_test): Add more tests.
68295         (scalbln_test): Likewise.
68297         * manual/filesys.texi (mode_t): Describe constraints on size and
68298         signedness, not exact equivalence to a particular type.
68299         (ino_t): Likewise.
68300         (ino64_t): Likewise.
68301         (dev_t): Likewise.
68302         (nlink_t): Likewise.
68303         (blkcnt_t): Likewise.
68304         (blkcnt64_t): Likewise.
68305         * manual/llio.texi (off_t): Likewise.
68307         [BZ #3976]
68308         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
68309         (__ieee754_exp): Save and restore rounding mode and use
68310         round-to-nearest for all computations.
68311         * math/libm-test.inc (exp_test_tonearest): New function.
68312         (exp_test_towardzero): Likewise.
68313         (exp_test_downward): Likewise.
68314         (exp_test_upward): Likewise.
68315         (main): Call the new functions.
68316         * sysdeps/i386/fpu/libm-test-ulps: Update.
68317         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68319 2012-03-01  Chris Demetriou  <cgd@google.com>
68321         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
68322         have predictable order.
68324 2012-03-01  David S. Miller  <davem@davemloft.net>
68326         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
68328         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
68329         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
68330         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
68331         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
68333         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
68334         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
68335         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
68336         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
68337         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
68338         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
68339         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
68340         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
68341         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
68343         * sysdeps/sparc/fpu/libm-test-ulps: Update.
68345         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
68346         * sysdeps/sparc/fpu/libm-test-ulps: to here.
68347         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
68349         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
68350         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
68351         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
68352         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
68353         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
68354         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
68355         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
68356         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
68357         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
68358         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
68359         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
68360         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
68361         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
68362         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
68363         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
68364         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
68365         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
68366         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
68367         * sysdeps/sparc/elf/configure: Regenerated.
68369 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
68371         * configure.in (AS, LD): Require binutils 2.20 or later.
68372         * configure: Regenerated.
68373         * manual/install.texi (Tools for Compilation): Give binutils 2.20
68374         as required minimum version.
68375         * INSTALL: Regenerated.
68377         [BZ #2541]
68378         [BZ #4108]
68379         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
68380         before squaring exponent.
68381         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
68382         bottom long double and 27 bits of top long double before squaring
68383         exponent.
68384         * math/libm-test.inc (erfc_test): Add more tests.
68385         * sysdeps/i386/fpu/libm-test-ulps: Update.
68386         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
68387         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68389 2012-03-01  Kai Tietz  <ktietz@redhat.com>
68391         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
68392         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
68393         containing bit-fields.
68394         * soft-fp/extended.h (_FP_UNION_E): Likewise.
68395         * soft-fp/single.h (_FP_UNION_S): Likewise.
68396         * soft-fp/double.h (_FP_UNION_D): Likewise.
68398 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
68400         [BZ #13786]
68401         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
68402         not include ../strcmp.S.
68403         [USE_AS_STRNCASECMP_L]: Likewise.
68404         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
68405         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
68406         * sysdeps/i386/i686/multiarch/strncase_l-c.c
68407         (__strncasecmp_l_ia32): Define as alias to
68408         __strncasecmp_l_nonascii.
68410         [BZ #5794]
68411         * math/libm-test.inc (expm1_test): Add test for bug 5794.
68412         * sysdeps/i386/fpu/libm-test-ulps: Update.
68413         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68415         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
68416         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68418 2012-02-29  Jeff Law  <law@redhat.com>
68420         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
68421         out of bounds read.
68423 2012-02-29  Marek Polacek  <polacek@redhat.com>
68425         [BZ #13706]
68426         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
68427         * elf/Makefile: Add rules to run tst-unused-dep.out.
68429 2012-02-28  David S. Miller  <davem@davemloft.net>
68431         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
68432         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
68433         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
68434         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
68435         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
68436         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
68438 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
68440         * math/libm-test.inc (llround_test): Move one test from
68441         lround_test.  Use TEST_f_L in moved test.
68442         (lround_test): Move misplaced test to llround_test.  Add testcase
68443         from bug 2561.
68445 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
68447         * sysdeps/x86_64/fpu/e_expf.S: New file.
68448         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
68450 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
68452         [BZ #13637]
68453         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
68454         of remain_len that may cause incomplete multi-byte character and
68455         false match.
68456         * posix/bug-regex33.c: New file.
68457         * posix/Makefile (tests): Add bug-regex33.
68459 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
68461         * manual/macros.texi: New file.
68462         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
68463         * manual/libc.texinfo: Include macros.texi.
68464         * manual/creatute.texi: Likewise.
68465         * manual/install.texi: Likewise.
68466         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
68467         @glibcadj{} in references to the GNU C Library.
68468         * manual/charset.texi: Likewise.
68469         * manual/conf.texi: Likewise.
68470         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
68471         when not using those macros.
68472         * manual/creature.texi: Likewise.
68473         * manual/crypt.texi: Likewise.
68474         * manual/errno.texi: Likewise.
68475         * manual/filesys.texi: Likewise.
68476         * manual/header.texi: Likewise.
68477         * manual/install.texi: Likewise.
68478         * manual/intro.texi: Likewise.
68479         * manual/io.texi: Likewise.
68480         * manual/job.texi: Likewise.
68481         * manual/lang.texi: Likewise.
68482         * manual/libc.texiinfo: Likewise.
68483         * manual/llio.texi: Likewise.
68484         * manual/locale.texi: Likewise.
68485         * manual/maint.texi: Likewise.
68486         * manual/math.texi: Likewise.
68487         * manual/memory.texi: Likewise.
68488         * manual/message.texi: Likewise.
68489         * manual/nss.texi: Likewise.
68490         * manual/pattern.texi: Likewise.
68491         * manual/process.texi: Likewise.
68492         * manual/resource.texi: Likewise.
68493         * manual/search.texi: Likewise.
68494         * manual/setjmp.texi: Likewise.
68495         * manual/signal.texi: Likewise.
68496         * manual/socket.texi: Likewise.
68497         * manual/startup.texi: Likewise.
68498         * manual/stdio.texi: Likewise.
68499         * manual/string.texi: Likewise.
68500         * manual/sysinfo.texi: Likewise.
68501         * manual/syslog.texi: Likewise.
68502         * manual/terminal.texi: Likewise.
68503         * manual/time.texi: Likewise.
68504         * manual/users.texi: Likewise.
68505         * INSTALL: Regenerated.
68506         * NOTES: Regenerated.
68507         * sysdeps/gnu/errlist.c: Regenerated.
68509 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
68511         * include/dirent.h: Include <dirstream.h> before
68512         <dirent/dirent.h>.
68514 2012-02-28  David S. Miller  <davem@davemloft.net>
68516         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
68517         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
68518         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
68519         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
68521 2012-02-27  David S. Miller  <davem@davemloft.net>
68523         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
68524         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
68525         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
68526         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
68528         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
68529         frame pointer instead of stack pointer relative arg slot.
68530         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
68531         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
68532         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
68534 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
68536         [BZ #3992]
68537         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
68539 2012-02-27  David S. Miller  <davem@davemloft.net>
68541         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
68542         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
68543         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
68544         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
68545         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
68546         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
68547         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
68548         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
68550 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
68552         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
68553         later.  Allow versions 5-9.
68554         * configure: Regenerated.
68555         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
68556         required minimum version and 4.6 as recommended version.  Do not
68557         mention bugs in GCC 2.7 and 2.8.
68558         * INSTALL: Regenerated.
68560 2012-02-27  David S. Miller  <davem@davemloft.net>
68562         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
68563         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
68564         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
68565         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
68566         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
68567         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
68568         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
68569         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
68571         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
68572         manipulate bits before adding and subtracting TWO112[sx].
68573         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
68575 2012-02-27  Roland McGrath  <roland@hack.frob.com>
68577         [BZ #13775]
68578         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
68579         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
68580         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
68581         being in POSIX, because they are in 1003.1-2008.
68583         * rt/tst-aio.c: Include <fcntl.h>.
68584         * rt/tst-aio7.c: Likewise.
68585         * rt/tst-aio64.c: Likewise.
68587         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
68589 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
68591         * manual/install.texi (--with-headers): Describe headers as
68592         interface headers, not private headers.
68593         (Specific advice for GNU/Linux systems): Describe use of headers
68594         from "make headers_install", not private headers from older
68595         kernels.
68596         * INSTALL: Regenerated.
68597         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
68598         Change to 2.6.19.
68599         * sysdeps/unix/sysv/linux/configure: Regenerated.
68601         * manual/llio.texi (fclean): Remove documentation.
68603         * manual/Makefile (libc-texi-generated): New variable.  Include
68604         version.texi.
68605         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
68606         $(libc-texi-generated), not duplicated list of files.
68607         (version.texi, stamp-version): New rules.
68608         (realclean): Remove $(libc-texi-generated), not individual files
68609         from that list.  Do not remove dir-add.texinfo.
68610         * manual/libc.texinfo: Comment out uses of edition numbers and
68611         references to printed manual.  Remove last-updated dates.
68612         (EDITION): Comment out.
68613         (ISBN): Likewise.
68614         (VERSION, UPDATED): Remove.
68615         (version.texi): Include.
68617 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
68619         * sysdeps/posix/spawni.c: Include <signal.h>.
68620         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
68621         * sysdeps/pthread/aio_fsync.c: Likewise.
68623 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
68625         * conform/Makefile (tests): Run only when not cross-compiling and
68626         when fast-check is not defined.
68628         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
68629         * conform/data/limits.h-data: Fixes for POSIX2008.
68630         * conform/run-conformtest.sh: Run all tests.
68631         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
68632         headers.
68633         * include/bits/dlfcn.h: Likewise.
68634         * include/langinfo.h: Likewise.
68635         * include/monetary.h: Likewise.
68636         * include/sys/poll.h: Likewise.
68638         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
68639         for __USE_GNU.
68640         * posix/spawn.h: Define __need_sigset_t.
68641         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
68642         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
68643         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
68644         to get sigevent_t only.
68645         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
68646         only for __USE_GNU.
68647         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
68648         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
68649         process_vm_writev only for __USE_GNU.
68650         * termios/termios.h: Declare tcgetsid also for POSIX2008.
68652         * conform/Makefile: For now ignore errors from run-conformtest.
68653         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
68654         POSIX to avoid namespace pollution.  Don't prepend headers.
68655         * conform/data/aio.h-data: Fixes for POSIX testing.
68656         * conform/data/fcntl.h-data: Likewise.
68657         * conform/data/glob.h-data: Likewise.
68658         * conform/data/grp.h-data: Likewise.
68659         * conform/data/pthread.h-data: Likewise.
68660         * conform/data/pwd.h-data: Likewise.
68661         * conform/data/signal.h-data: Likewise.
68662         * conform/data/spawn.h-data: Likewise.
68663         * conform/data/stdio.h-data: Likewise.
68664         * conform/data/stdlib.h-data: Likewise.
68665         * conform/data/stropts.h-data: Likewise.
68666         * conform/data/sys/mman.h-data: Likewise.
68667         * conform/data/sys/stat.h-data: Likewise.
68668         * conform/data/sys/types.h-data: Likewise.
68669         * conform/data/sys/wait.h-data: Likewise.
68670         * conform/data/time.h-data: Likewise.
68671         * conform/data/unistd.h-data: Likewise.
68672         * conform/data/utime.h-data: Likewise.
68674         * io/sys/stat.h: fchmod was always in POSIX.
68675         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
68676         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
68677         * rt/aio.h: Define __need_timespec before including <time.h>.
68678         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
68679         struct.  Add forward declaration of pthread_attr_t and use it in
68680         sigevent.
68681         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
68682         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
68683         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
68684         always remove CLK_TCK definition.
68686 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
68688         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
68690 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
68692         * conform/run-conformtest.sh: New file.
68693         * conform/Makefile: Run run-conformtest for tests.
68694         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
68695         support.
68697         * conform/data/uchar.h-data: New file.
68698         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
68699         * conform/data/arpa/inet.h-data: Likewise.
68700         * conform/data/assert.h-data: Likewise.
68701         * conform/data/complex.h-data: Likewise.
68702         * conform/data/cpio.h-data: Likewise.
68703         * conform/data/ctype.h-data: Likewise.
68704         * conform/data/dirent.h-data: Likewise.
68705         * conform/data/dlfcn.h-data: Likewise.
68706         * conform/data/errno.h-data: Likewise.
68707         * conform/data/fcntl.h-data: Likewise.
68708         * conform/data/float.h-data: Likewise.
68709         * conform/data/fmtmsg.h-data: Likewise.
68710         * conform/data/fnmatch.h-data: Likewise.
68711         * conform/data/ftw.h-data: Likewise.
68712         * conform/data/glob.h-data: Likewise.
68713         * conform/data/grp.h-data: Likewise.
68714         * conform/data/iconv.h-data: Likewise.
68715         * conform/data/inttypes.h-data: Likewise.
68716         * conform/data/langinfo.h-data: Likewise.
68717         * conform/data/libgen.h-data: Likewise.
68718         * conform/data/limits.h-data: Likewise.
68719         * conform/data/locale.h-data: Likewise.
68720         * conform/data/math.h-data: Likewise.
68721         * conform/data/monetary.h-data: Likewise.
68722         * conform/data/mqueue.h-data: Likewise.
68723         * conform/data/ndbm.h-data: Likewise.
68724         * conform/data/net/if.h-data: Likewise.
68725         * conform/data/netdb.h-data: Likewise.
68726         * conform/data/netinet/in.h-data: Likewise.
68727         * conform/data/nl_types.h-data: Likewise.
68728         * conform/data/poll.h-data: Likewise.
68729         * conform/data/pthread.h-data: Likewise.
68730         * conform/data/pwd.h-data: Likewise.
68731         * conform/data/regex.h-data: Likewise.
68732         * conform/data/sched.h-data: Likewise.
68733         * conform/data/search.h-data: Likewise.
68734         * conform/data/semaphore.h-data: Likewise.
68735         * conform/data/setjmp.h-data: Likewise.
68736         * conform/data/signal.h-data: Likewise.
68737         * conform/data/spawn.h-data: Likewise.
68738         * conform/data/stdarg.h-data: Likewise.
68739         * conform/data/stdio.h-data: Likewise.
68740         * conform/data/stdlib.h-data: Likewise.
68741         * conform/data/string.h-data: Likewise.
68742         * conform/data/strings.h-data: Likewise.
68743         * conform/data/stropts.h-data: Likewise.
68744         * conform/data/sys/ipc.h-data: Likewise.
68745         * conform/data/sys/mman.h-data: Likewise.
68746         * conform/data/sys/msg.h-data: Likewise.
68747         * conform/data/sys/resource.h-data: Likewise.
68748         * conform/data/sys/select.h-data: Likewise.
68749         * conform/data/sys/sem.h-data: Likewise.
68750         * conform/data/sys/shm.h-data: Likewise.
68751         * conform/data/sys/socket.h-data: Likewise.
68752         * conform/data/sys/stat.h-data: Likewise.
68753         * conform/data/sys/statvfs.h-data: Likewise.
68754         * conform/data/sys/time.h-data: Likewise.
68755         * conform/data/sys/timeb.h-data: Likewise.
68756         * conform/data/sys/times.h-data: Likewise.
68757         * conform/data/sys/types.h-data: Likewise.
68758         * conform/data/sys/uio.h-data: Likewise.
68759         * conform/data/sys/un.h-data: Likewise.
68760         * conform/data/sys/utsname.h-data: Likewise.
68761         * conform/data/sys/wait.h-data: Likewise.
68762         * conform/data/syslog.h-data: Likewise.
68763         * conform/data/tar.h-data: Likewise.
68764         * conform/data/termios.h-data: Likewise.
68765         * conform/data/utime.h-data: Likewise.
68766         * conform/data/utmpx.h-data: Likewise.
68767         * conform/data/varargs.h-data: Likewise.
68768         * conform/data/wchar.h-data: Likewise.
68769         * conform/data/wctype.h-data: Likewise.
68770         * conform/data/wordexp.h-data: Likewise.
68772         * include/stropts.h: New file.
68773         * include/uchar.h: New file.
68774         * include/aio.h: Changes to allow conformtest.pl to use the headers.
68775         * include/assert.h: Likewise.
68776         * include/ctype.h: Likewise.
68777         * include/dirent.h: Likewise.
68778         * include/dlfcn.h: Likewise.
68779         * include/fcntl.h: Likewise.
68780         * include/fnmatch.h: Likewise.
68781         * include/glob.h: Likewise.
68782         * include/grp.h: Likewise.
68783         * include/libio.h: Likewise.
68784         * include/locale.h: Likewise.
68785         * include/math.h: Likewise.
68786         * include/net/if.h: Likewise.
68787         * include/netdb.h: Likewise.
68788         * include/netinet/in.h: Likewise.
68789         * include/pthread.h: Likewise.
68790         * include/pwd.h: Likewise.
68791         * include/regex.h: Likewise.
68792         * include/sched.h: Likewise.
68793         * include/search.h: Likewise.
68794         * include/setjmp.h: Likewise.
68795         * include/signal.h: Likewise.
68796         * include/stdio.h: Likewise.
68797         * include/stdlib.h: Likewise.
68798         * include/string.h: Likewise.
68799         * include/sys/cdefs.h: Likewise.
68800         * include/sys/mman.h: Likewise.
68801         * include/sys/msg.h: Likewise.
68802         * include/sys/resource.h: Likewise.
68803         * include/sys/select.h: Likewise.
68804         * include/sys/socket.h: Likewise.
68805         * include/sys/stat.h: Likewise.
68806         * include/sys/statvfs.h: Likewise.
68807         * include/sys/time.h: Likewise.
68808         * include/sys/times.h: Likewise.
68809         * include/sys/uio.h: Likewise.
68810         * include/sys/utsname.h: Likewise.
68811         * include/sys/wait.h: Likewise.
68812         * include/termios.h: Likewise.
68813         * include/time.h: Likewise.
68814         * include/ulimit.h: Likewise.
68815         * include/unistd.h: Likewise.
68816         * include/utime.h: Likewise.
68817         * include/wchar.h: Likewise.
68818         * include/wctype.h: Likewise.
68819         * include/wordexp.h: Likewise.
68821         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
68823         * time/time.h: TIME_UTC must be a macro.
68824         Make timespec_get available for ISO C11 only as well.
68826 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
68828         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
68829         Reported by Peng Haitao <penght@cn.fujitsu.com>.
68831 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
68833         * configure.in: Use -o not -a in test for unsupported multi-arch.
68835 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
68837         * manual/texinfo.tex: Update to version 2012-01-19.16.
68839 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
68841         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
68843 2012-02-24  Roland McGrath  <roland@hack.frob.com>
68845         [BZ #13738]
68846         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
68847         * manual/fdl-1.3.texi: New file.
68848         * manual/fdl-1.1.texi: File removed.
68850         [BZ #13738]
68851         * manual/libc.texinfo (FDL_VERSION): New @set.
68852         Use it for mention of FDL in cover text.
68853         (Documentation License): Use it in @include file name.
68855 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
68856             Roland McGrath  <roland@hack.frob.com>
68858         [BZ #5461]
68859         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
68860         (not LONG_LONG_MAX and LONG_LONG_MIN.
68861         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
68862         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
68863         name.
68864         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
68866 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
68868         [BZ #2547]
68869         [BZ #11365]
68870         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
68871         manipulate bits before adding and subtracting TWO23[sx].
68872         * math/libm-test.inc (nearbyint_test): Add more tests.
68874 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
68876         [BZ #2548]
68877         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
68878         bits before adding and subtracting TWO23[sx].
68879         * math/libm-test.inc (rint_test): Add more tests.
68880         (rint_test_tonearest): Likewise.
68881         (rint_test_towardzero): Likewise.
68882         (rint_test_downward): Likewise.
68883         (rint_test_upward: Likewise.
68885 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
68887         [BZ #10110]
68888         * include/stdc-predef.h: New file.  Extracted from features.h.
68889         * include/features.h: Include stdc-predef.h.
68890         * Makefile (headers): Add stdc-predef.h.
68891         * CONFORMANCE (Compiler limitations): Update.
68893 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
68895         * manual/libc.texinfo (VERSION, UPDATED): Revert.
68897 2012-02-21  David S. Miller  <davem@davemloft.net>
68899         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
68900         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
68902 2012-02-20  David S. Miller  <davem@davemloft.net>
68904         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
68905         using a normal save/restore sequence, rather than allocating a
68906         dummy stack frame just to store a frame pointer and restore.
68907         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
68909 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
68911         * manual/install.texi: Fix stray word in line-wrapped comment.
68913 2012-02-20  David S. Miller  <davem@davemloft.net>
68915         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
68916         both binutils and gcc support GOTDATA.
68918         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
68919         "rd %pc" in the PIC register setup sequences.
68921         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
68922         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
68923         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
68924         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
68925         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
68926         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
68927         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
68928         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
68929         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
68930         (SYSCALL_ERROR_HANDLER): Likewise.
68931         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
68932         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
68933         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
68934         (SYSCALL_ERROR_HANDLER): Likewise.
68936         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
68937         (HAVE_GCC_GOTDATA): New.
68938         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
68939         relocation support in both binutils and gcc.
68940         * sysdeps/sparc/elf/configure: Regenerate.
68942         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
68943         * sysdeps/sparc/sparc32/elf/configure: Delete.
68944         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
68945         * sysdeps/sparc/sparc64/elf/configure: Delete.
68946         * sysdeps/sparc/elf/configure.in: New file.
68947         * sysdeps/sparc/elf/configure: Generate.
68949         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
68950         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
68951         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
68952         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
68953         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
68955 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
68957         * manual/install.texi: Do not mention specific glibc version
68958         numbers.
68959         * manual/libc.texinfo (VERSION, UPDATED): Update.
68960         (@copying): Use @copyright{} and range of years.
68962 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
68964         [BZ #13695]
68965         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
68966         [crti.S not in sysdirs] (generated): Do not append.
68967         [crti.S not in sysdirs] (omit-deps): Likewise.
68968         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
68969         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
68970         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
68971         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
68972         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
68973         Likewise.
68974         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
68975         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
68976         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
68977         * csu/defs.awk: Remove file.
68978         * sysdeps/generic/initfini.c: Likewise.
68979         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
68980         variable.
68981         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
68982         Likewise.
68984 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
68986         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
68987         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
68988         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
68989         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
68990         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
68991         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
68992         <bits/epoll.h>.
68993         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
68994         (__EPOLL_PACKED): Define to empty if not defined by
68995         <bits/epoll.h>.
68996         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
68997         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
68998         bits/epoll.h.
69000 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
69002         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
69003         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
69004         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
69005         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
69006         <bits/timerfd.h>.
69007         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
69008         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
69009         bits/timerfd.h.
69011 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
69013         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
69014         in C locale.
69015         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
69016         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
69017         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
69018         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
69020 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
69022         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
69023         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
69025 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
69027         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
69028         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
69029         defined.
69030         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
69031         Likewise.
69032         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
69033         entry for 2.16.
69035 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
69037         * math/w_acos.c: Use non-signaling floating-point comparisons.
69038         * math/w_acosf.c: Likewise.
69039         * math/w_acosh.c: Likewise.
69040         * math/w_acoshf.c: Likewise.
69041         * math/w_acoshl.c: Likewise.
69042         * math/w_acosl.c: Likewise.
69043         * math/w_asin.c: Likewise.
69044         * math/w_asinf.c: Likewise.
69045         * math/w_asinl.c: Likewise.
69046         * math/w_atanh.c: Likewise.
69047         * math/w_atanhf.c: Likewise.
69048         * math/w_atanhl.c: Likewise.
69049         * math/w_exp2.c: Likewise.
69050         * math/w_exp2f.c: Likewise.
69051         * math/w_exp2l.c: Likewise.
69052         * math/w_j0.c: Likewise.
69053         * math/w_j0f.c: Likewise.
69054         * math/w_j0l.c: Likewise.
69055         * math/w_j1.c: Likewise.
69056         * math/w_j1f.c: Likewise.
69057         * math/w_j1l.c: Likewise.
69058         * math/w_jn.c: Likewise.
69059         * math/w_jnf.c: Likewise.
69060         * math/w_log.c: Likewise.
69061         * math/w_log10.c: Likewise.
69062         * math/w_log10f.c: Likewise.
69063         * math/w_log10l.c: Likewise.
69064         * math/w_log2.c: Likewise.
69065         * math/w_log2f.c: Likewise.
69066         * math/w_log2l.c: Likewise.
69067         * math/w_logf.c: Likewise.
69068         * math/w_logl.c: Likewise.
69069         * math/w_sqrt.c: Likewise.
69070         * math/w_sqrtf.c: Likewise.
69071         * math/w_sqrtl.c: Likewise.
69072         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
69073         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
69074         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
69075         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
69076         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
69078 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
69080         [BZ #9739]
69081         * manual/string.texi (strnlen): Use correct parameter name in
69082         equivalent expression.
69084 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
69086         [BZ #11174]
69087         * manual/users.texi (seteuid): Consistently use neweuid for
69088         argument name.
69090 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
69092         [BZ #13704]
69093         * manual/nss.texi (Services in the NSS configuration): Correct
69094         list of services in example configuration file.
69096 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
69098         [BZ #11322]
69099         * manual/arith.texi: Remove statements about negative zero
69100         behaving identically to zero.
69102 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
69104         [BZ #5993]
69105         * manual/install.texi: Do not document upgrading from libc5.
69107 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
69109         [BZ #4596]
69110         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
69112 2012-02-18  David S. Miller  <davem@davemloft.net>
69114         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
69115         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
69116         %o7 across the call.
69117         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
69118         instead.
69119         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
69120         SETUP_PIC_REG_LEAF.
69121         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
69122         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
69123         * sysdeps/sparc/crtn.S: Likewise.
69125 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
69127         * aout/Makefile: Remove.
69129 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
69131         [BZ #13058]
69132         * manual/examples/argp-ex1.c (main): Format definition in GNU
69133         style.
69134         * manual/examples/argp-ex2.c (main): Likewise.
69135         * manual/examples/argp-ex3.c (main): Likewise.
69136         * manual/examples/argp-ex4.c (main): Likewise.
69137         * manual/examples/longopt.c (main): Use new-style prototype
69138         definition.
69139         * manual/examples/strncat.c (main): Specify return type and use
69140         (void) for arguments.
69141         * manual/examples/subopt.c (main): Use char **argv argument.
69143 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
69145         [BZ #5077]
69146         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
69147         rounding modes.
69149 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
69151         [BZ #6907]
69152         * manual/string.texi (strchr): Change when strchrnul is
69153         recommended.
69155 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
69157         [BZ #174]
69158         * manual/locale.texi (setlocale): Document LOCPATH.
69160 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
69162         [BZ #10210]
69163         * manual/process.texi (execle): Move @dots{} before last argument.
69165 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
69167         [BZ #12047]
69168         * manual/charset.texi (Generic Charset Conversion): Fix typo
69169         (LC_TYPE -> LC_CTYPE).
69171 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
69173         [BZ #5805]
69174         * manual/arith.texi (scalbn): Use @var{} on parameter names.
69175         (scalbnf): Likewise.
69176         (scalbnl): Likewise.
69177         (scalbln): Likewise.
69178         (scalblnf): Likewise.
69179         (scalblnl): Likewise.
69180         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
69181         (vwarnx): Likewise.
69182         (verr): Likewise.
69183         (verrx): Likewise.
69184         * manual/filesys.texi (telldir): Use braces around return type.
69185         * manual/llio.texi (mmap): Add space after comma.
69186         (mmap64): Likewise.
69187         * manual/math.texi (jn): Use @var{} on parameter names.
69188         (jnf): Likewise.
69189         (jnl): Likewise.
69190         (yn): Likewise.
69191         (ynf): Likewise.
69192         (ynl): Likewise.
69193         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
69194         line.
69195         * manual/resource.texi (ulimit): Use @dots{} instead of literal
69196         "...".
69197         (sched_get_priority_min): Remove semicolon on @deftypefun line.
69198         (sched_get_priority_max): Likewise.
69199         * manual/signal.texi (sigvec): Add space after comma.
69200         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
69201         names.
69202         (if_indextoname): Likewise.
69203         (if_freenameindex): Likewise.
69204         (sendto): Use ',' instead of '.' in prototype.
69205         * manual/startup.texi (syscall): Use @dots{} instead of literal
69206         "...".
69207         * manual/stdio.texi (__fpending): Separate initial words of
69208         paragraph from @deftypefun line.
69209         * manual/syslog.texi (syslog): Use @dots{} instead of literal
69210         "...".
69211         (vsyslog): Use @var{} on parameter names.
69212         * manual/terminal.texi (stty): Use @var{} on parameter names.
69213         * manual/users.texi (getutmp): Use @var{} on parameter names.
69214         (getutmpx): Likewise.
69216 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
69218         [BZ #6884]
69219         * manual/stdio.texi (fopen): Fix typos in description of
69220         ",ccs=STRING".
69222 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
69224         [BZ #4026]
69225         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
69226         get clock_id definition.
69228 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
69230         [BZ #4822]
69231         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
69232         (madvise): Cast every argument to void on its own.
69234 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
69236         [BZ #9902]
69237         * manual/startup.texi (Exit Status): Fix typo.
69239 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
69241         [BZ #10140]
69242         * manual/examples/argp-ex1.c: Include <stdlib.h>.
69243         * manual/examples/argp-ex2.c: Likewise.
69244         * manual/examples/argp-ex3.c: Likewise.
69246 2012-02-16  Richard Henderson  <rth@redhat.com>
69248         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
69249         * sysdeps/s390/s390-32/initfini.c: Remove.
69250         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
69251         * sysdeps/s390/s390-64/initfini.c: Remove.
69253 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
69255         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
69256         compiler output for sysdeps/generic/initfini.c.
69257         * sysdeps/sh/elf/initfini.c: Remove file.
69259 2012-02-16  David S. Miller  <davem@davemloft.net>
69261         [BZ #11494]
69262         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
69264         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
69265         * sysdeps/sparc/crti.S: New file.
69266         * sysdeps/sparc/crtn.S: New file.
69267         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
69268         * sysdeps/sparc/sparc64/Makefile: Likewise.
69270 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
69272         [BZ #3335]
69273         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
69275 2012-02-15  Roland McGrath  <roland@hack.frob.com>
69277         [BZ #4822]
69278         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
69280         * mach/devstream.c (cookie_io_functions_t): Macro removed.
69281         (write, read, close): Likewise.
69282         Patch by Aurelien Jarno <aurelien@aurel32.net>.
69284 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
69286         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
69287         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
69288         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
69289         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
69290         <bits/signalfd.h>.
69291         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
69292         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
69293         bits/signalfd.h.
69295 2012-02-14  Marek Polacek  <polacek@redhat.com>
69297         * sysdeps/x86_64/crti.S: New file.
69298         * sysdeps/x86_64/crtn.S: New file.
69299         * sysdeps/x86_64/elf/initfini.c: Remove file.
69301 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
69303         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
69304         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
69305         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
69306         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
69307         <bits/inotify.h>.
69308         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
69309         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
69310         bits/inotify.h.
69312 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
69314         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
69315         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
69316         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
69317         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
69318         <bits/eventfd.h>.
69319         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
69320         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
69321         bits/eventfd.h.
69323 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
69325         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
69326         __feraiseexcept instead of feraiseexcept.
69328         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
69329         nanosleep invocations.
69330         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
69331         strings, and add error checking for a nanosleep invocations.
69333 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
69335         Replace FSF snail mail address with URLs, as per GNU coding standards.
69336         Most of the snail mail addresses were wrong anyway, and omitting
69337         them makes the source code easier to maintain.  Almost all of the
69338         changes are to license notices and to locale LC_IDENTIFICATION
69339         addresses, except for this one:
69340         * manual/libc.texinfo: In "Published by", give the FSF's URL,
69341         not its snail mail address.
69343 2012-02-09  Richard Henderson  <rth@twiddle.net>
69345         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
69346         of kernel-features.h.
69348         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
69350 2012-02-08  Marek Polacek  <polacek@redhat.com>
69352         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
69353         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
69354         * sysdeps/gnu/_G_config.h: Likewise.
69355         * sysdeps/generic/_G_config.h: Likewise.
69357 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
69359         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
69360         tests.
69361         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
69363         * sysdeps/powerpc/powerpc32/crti.S: New file.
69364         * sysdeps/powerpc/powerpc32/crtn.S: New file.
69365         * sysdeps/powerpc/powerpc64/crti.S: New file.
69366         * sysdeps/powerpc/powerpc64/crtn.S: New file.
69368         * Makeconfig (have-initfini): Don't set.
69369         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
69370         * configure.in (nopic_initfini): Don't substitute.
69371         * config.h.in (HAVE_INITFINI): Don't #undef.
69372         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
69373         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
69375 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
69377         Support crti.S and crtn.S provided directly by architectures.
69378         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
69379         [crti.S in sysdirs] (omit-deps): Likewise.
69380         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
69381         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
69382         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
69383         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
69384         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
69385         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
69386         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
69387         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
69388         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
69389         compiler output for sysdeps/generic/initfini.c.
69390         * sysdeps/i386/elf/Makefile: Remove file.
69391         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
69393 2012-02-07  Marek Polacek  <polacek@redhat.com>
69395         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
69396         * sysdeps/gnu/_G_config.h: Likewise.
69397         * sysdeps/mach/hurd/_G_config.h: Likewise.
69399 2012-02-07  Marek Polacek  <polacek@redhat.com>
69401         * math/Makefile (tests): Add tst-CMPLX2.
69402         * math/tst-CMPLX2.c: New file.
69404 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
69406         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
69408         * math/libm-test.inc (jn_test): Add missing L suffix.
69410 2012-02-06  Marek Polacek  <polacek@redhat.com>
69412         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
69413         * sysdeps/i386/fpu/e_powf.S: Likewise.
69414         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
69415         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
69416         * sysdeps/i386/fpu/e_acosh.S: Likewise.
69417         * sysdeps/i386/fpu/e_pow.S: Likewise.
69418         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
69419         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
69420         * sysdeps/i386/fpu/s_expm1.S: Likewise.
69421         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
69422         * sysdeps/i386/fpu/e_log2.S: Likewise.
69423         * sysdeps/i386/fpu/e_log2l.S: Likewise.
69424         * sysdeps/i386/fpu/e_scalb.S: Likewise.
69425         * sysdeps/i386/fpu/e_powl.S: Likewise.
69426         * sysdeps/i386/fpu/s_log1p.S: Likewise.
69427         * sysdeps/i386/fpu/e_log10f.S: Likewise.
69428         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
69429         * sysdeps/i386/fpu/e_logl.S: Likewise.
69430         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
69431         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
69432         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
69433         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
69434         * sysdeps/i386/fpu/e_log2f.S: Likewise.
69435         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
69436         * sysdeps/i386/fpu/e_log.S: Likewise.
69437         * sysdeps/i386/fpu/s_cexp.S: Likewise.
69438         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
69439         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
69440         * sysdeps/i386/fpu/e_logf.S: Likewise.
69441         * sysdeps/i386/fpu/e_log10l.S: Likewise.
69442         * sysdeps/i386/fpu/e_atanh.S: Likewise.
69443         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
69444         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
69445         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
69446         * sysdeps/i386/fpu/e_log10.S: Likewise.
69447         * sysdeps/i386/fpu/s_frexp.S: Likewise.
69448         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
69449         * sysdeps/i386/fpu/s_asinh.S: Likewise.
69450         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
69451         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
69452         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
69453         * sysdeps/i386/asm-syntax.h: Likewise.
69454         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
69455         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
69456         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
69457         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
69458         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
69459         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
69460         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
69461         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
69462         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
69463         * sysdeps/powerpc/sysdep.h: Likewise.
69464         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
69465         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
69467 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
69469         [BZ #411]
69470         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
69472 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
69474         * sysdeps/i386/sysdep.h: Include <features.h>.
69475         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
69476         version.
69478 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
69480         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
69481         Define.
69482         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
69483         LOAD_PIC_REG_STR.
69485 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
69487         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
69488         (SETUP_PIC_REG): Use GET_PC_THUNK.
69489         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
69490         macro.
69492 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
69494         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
69495         for non-PIC compilation.
69496         (SETUP_PIC_REG): Add .p2align directive.
69497         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
69498         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
69499         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
69500         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
69501         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
69502         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
69503         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
69504         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
69505         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
69506         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
69507         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
69508         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
69509         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
69510         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
69511         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
69512         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
69513         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
69514         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
69515         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
69516         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
69517         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
69518         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
69519         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
69520         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
69521         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
69522         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
69523         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
69524         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
69525         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
69526         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
69527         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
69528         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
69529         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
69530         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
69531         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
69532         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
69533         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
69534         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
69535         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
69536         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
69537         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
69539 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
69541         * math/tst-CMPLX.c: Include <stdio.h>.
69543 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
69545         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
69546         float.
69547         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
69548         * sysdeps/sparc/bits/mathdef.h: Likewise.
69550 2012-01-31  Marek Polacek  <polacek@redhat.com>
69552         * libio/libio.h: Don't define _PARAMS.
69553         * locale/programs/config.h: Don't define PARAMS.
69554         * stdlib/strtol_l.c: Likewise.
69555         (__strtol_l): Remove PARAMS from the prototype.
69557 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
69559         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
69560         names.  Just use the correct names.  Remove unnecessary wrapper
69561         functions.
69562         * malloc/arena.c: Likewise.
69563         * malloc/hooks.c: Likewise.
69565         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
69566         ARENA_TEST says not to.  Simplify test for creation of a new arena.
69567         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
69569 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
69571         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
69572         into tail calls.
69573         (update_get_addr): New function.
69574         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
69575         GET_ADDR_MODULE parameter.
69577 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
69579         * crypt/cert.c: Remove __STDC__ conditionals.
69580         * crypt/crypt-entry.c: Likewise.
69581         * crypt/crypt_util.c: Likewise.
69582         * libio/filedoalloc.c: Likewise.
69583         * libio/fileops.c: Likewise.
69584         * libio/genops.c: Likewise.
69585         * libio/iofclose.c: Likewise.
69586         * libio/iofdopen.c: Likewise.
69587         * libio/iofopen.c: Likewise.
69588         * libio/iofopen64.c: Likewise.
69589         * libio/iogetdelim.c: Likewise.
69590         * libio/iopopen.c: Likewise.
69591         * libio/obprintf.c: Likewise.
69592         * libio/oldfileops.c: Likewise.
69593         * libio/oldiofclose.c: Likewise.
69594         * libio/oldiofdopen.c: Likewise.
69595         * libio/oldiofopen.c: Likewise.
69596         * libio/oldiopopen.c: Likewise.
69597         * libio/wfiledoalloc.c: Likewise.
69598         * libio/wgenops.c: Likewise.
69599         * locale/programs/xmalloc.c: Likewise.
69600         * misc/syslog.c: Likewise.
69601         * stdio-common/xbug.c: Likewise.
69602         * string/memchr.c: Likewise.
69603         * string/memcmp.c: Likewise.
69604         * string/memrchr.c: Likewise.
69605         * string/rawmemchr.c: Likewise.
69606         * sysdeps/posix/getcwd.c: Likewise.
69607         * time/strftime_l.c: Likewise.
69609 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
69611         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
69612         * config.make.in (config-cflags-sse2avx): Define.
69613         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
69614         Fix typo.
69616 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
69618         * scripts/config.guess: Update from upstream config git repository.
69619         * scripts/config.sub: Likewise.
69621 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
69623         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
69624         (EM_NUM): Update.
69625         (R_TILEPRO_*, R_TILEGX_*): New macros.
69627         * scripts/firstversions.awk: Fix bug in version range handling.
69629         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
69631         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
69633         * include/sys/epoll.h: New file.
69634         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
69635         libc_hidden_def.
69637 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
69639         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
69640         Avoid unnecessary __WORDSIZE == 64 test.
69641         (fmaxf): Use VEX format if possible.
69642         (fmax): Likewise.
69643         (fminf): Likewise.
69644         (fmin): Likewise.
69646         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
69647         * math/math_private.h: Remove libc_fegetround* and
69648         libc_fesetround*.
69649         * sysdeps/i386/configure.in: Check for -msse2avx.
69650         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
69651         also if SSE2AVX is defined.
69652         Remove libc_fegetround* and libc_fesetround*.
69653         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
69654         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
69655         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
69656         of HAS_YMM_USABLE.
69657         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
69658         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
69659         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
69660         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
69661         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
69663         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
69665 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
69667         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
69668         size is not set.
69669         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
69671 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
69673         [BZ #13618]
69674         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
69675         relocation.
69676         * Makeconfig (libm): Define.
69677         * elf/Makefile: Add rules to build and run tst-relsort1.
69678         * elf/tst-relsort1.c: New file.
69679         * elf/tst-relsort1mod1.c: New file.
69680         * elf/tst-relsort1mod2.c: New file.
69682 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
69684         * math/s_ldexp.c: Remove __STDC__ conditionals.
69685         * math/s_ldexpf.c: Likewise.
69686         * math/s_ldexpl.c: Likewise.
69687         * math/s_nextafter.c: Likewise.
69688         * math/s_nexttowardf.c: Likewise.
69689         * math/s_significand.c: Likewise.
69690         * math/s_significandf.c: Likewise.
69691         * math/s_significandl.c: Likewise.
69692         * math/w_jnl.c: Likewise.
69693         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
69694         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
69695         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
69696         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
69697         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
69698         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
69699         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
69700         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
69701         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
69702         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
69703         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
69704         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
69705         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
69706         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
69707         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
69708         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
69709         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
69710         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
69711         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
69712         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
69713         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
69714         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
69715         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
69716         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
69717         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
69718         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
69719         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
69720         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
69721         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
69722         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
69723         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
69724         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
69725         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
69726         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
69727         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
69728         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
69729         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
69730         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
69731         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
69732         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
69733         * sysdeps/ieee754/k_standard.c: Likewise.
69734         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
69735         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
69736         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
69737         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
69738         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
69739         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
69740         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
69741         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
69742         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
69743         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
69744         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
69745         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
69746         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
69747         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
69748         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
69749         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
69750         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
69751         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
69752         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
69753         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
69754         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
69755         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
69756         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
69757         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
69758         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
69759         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
69760         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
69761         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
69762         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
69763         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
69764         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
69765         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
69766         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
69767         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
69768         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
69769         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
69770         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
69771         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
69772         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
69773         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
69774         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
69775         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
69776         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
69777         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
69778         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
69779         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
69780         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
69781         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
69782         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
69783         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
69784         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
69785         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
69786         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
69787         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
69788         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
69789         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
69790         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
69791         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
69792         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
69793         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
69794         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
69795         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
69796         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
69797         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
69798         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
69799         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
69800         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
69801         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
69802         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
69803         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
69804         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
69805         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
69806         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
69807         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
69808         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
69809         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
69810         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
69811         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
69812         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
69813         * sysdeps/ieee754/s_matherr.c: Likewise.
69814         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
69815         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
69816         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
69817         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
69819 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
69821         * crypt/md5.h: Remove __STDC__ conditionals.
69822         * libio/libioP.h: Likewise.
69823         * locale/programs/config.h: Likewise.
69824         * sysdeps/generic/sysdep.h: Likewise.
69825         * sysdeps/i386/asm-syntax.h: Likewise.
69826         * sysdeps/s390/asm-syntax.h: Likewise.
69827         * sysdeps/unix/sysdep.h: Likewise.
69828         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
69829         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
69831 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
69833         * libio/libio.h: Remove __STDC__ conditionals.
69834         * malloc/obstack.h: Likewise.
69835         * math/complex.h: Likewise.
69836         * math/math.h: Likewise.
69837         * sysdeps/generic/_G_config.h: Likewise.
69838         * sysdeps/gnu/_G_config.h: Likewise.
69839         * sysdeps/mach/hurd/_G_config.h: Likewise.
69840         * sysdeps/powerpc/bits/mathdef.h: Likewise.
69841         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
69842         * sysdeps/sparc/bits/mathdef.h: Likewise.
69844 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
69846         [BZ #13583]
69847         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
69848         Clean up HAS_* macros.
69849         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
69850         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
69851         possible.
69852         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
69853         HAS_AVX.
69854         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
69855         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
69856         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
69857         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
69858         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
69860 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
69862         * elf/tst-unique3.cc (gets): Remove declaration.
69863         * elf/tst-unique3lib.cc (gets): Likewise.
69864         * elf/tst-unique3lib2.cc (gets): Likewise.
69865         * elf/tst-unique4.cc (gets): Likewise.
69867 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
69869         * include/stdio.h: Add C++ protection.  Add gets declarations and
69870         definitions.
69871         * debug/tst-chk1.c: Don't declare gets here.
69872         * stdio-common/tst-gets.c: Likewise.
69874 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
69876         * posix/glob: Remove directory.
69878 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
69880         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
69882 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
69884         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
69885         of the non-standard EPFNOSUPPORT.
69887 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
69889         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
69890         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
69891         ANYWHERE set to 1 only on KERN_NO_SPACE error.
69893 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
69895         * wcsmbs/uchar.h: Test __STDC_VERSION__.
69897 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
69899         * nscd/aicache.c (addhstaiX): Do not cache negative results of
69900         transient errors.
69901         * nscd/grpcache.c (cache_addgr): Likewise.
69902         * nscd/hstcache.c (cache_addhst): Likewise.
69903         * nscd/initgrcache.c (addinitgroupsX): Likewise.
69904         * nscd/pwdcache.c (cache_addpw): Likewise.
69905         * nscd/servicescache.c (cache_addserv): Likewise.
69907 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
69909         * malloc/malloc.c: Various cleanups.
69910         * malloc/hooks.c: Likewise.
69912         * stdlib/Makefile (tests): Add bug-fmtmsg1.
69913         * stdlib/bug-fmtmsg1.c: New file.
69915         * stdlib/fmtmsg.c (init): Add missing unlock.
69916         Patch by Peng Haitao <penght@cn.fujitsu.com>.
69918 2012-01-12  Marek Polacek  <polacek@redhat.com>
69920         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
69921         and _GNU_SOURCE.
69923 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
69925         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
69926         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
69927         macro to ensure uniqueness of label name.
69928         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
69929         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
69931 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
69933         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
69935         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
69936         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
69937         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
69938         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
69940 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
69942         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
69944         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
69945         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
69946         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
69948         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
69950         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
69951         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
69952         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
69953         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
69955         * math/bits/math-finite.h: Add ldexp support.
69957 2012-01-10  Marek Polacek  <polacek@redhat.com>
69959         * locale/programs/localedef.h (show_archive_content): Add noreturn
69960         attribute.
69962 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
69964         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
69966 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
69968         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
69970         * io/Makefile (headers): Add bits/poll2.h.
69972 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
69974         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
69975         typo #include statement.
69977 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
69979         * include/sys/cdefs.h: Define __attribute_alloc_size.
69980         * catgets/gencat.c: Add alloc_size attribute and apply consistently
69981         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
69982         * elf/pldd.c: Likewise.
69983         * iconv/iconv_charmap.c: Likewise.
69984         * iconv/iconvconfig.c: Likewise.
69985         * iconv/strtab.c: Likewise.
69986         * locale/programs/locale.c: Likewise.
69987         * locale/programs/localedef.h: Likewise.
69988         * locale/programs/simple-hash.c: Likewise.
69989         * nscd/nscd.h: Likewise.
69990         * nss/makedb.c: Likewise.
69991         * sysdeps/generic/ldconfig.h: Likewise.
69992         * locale/programs/localedef.c: Remove xmalloc prototype.
69993         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
69995 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
69997         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
69998         appropriate.
70000 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
70002         * math/Makefile (tests): Add tst-CMPLX.
70003         * math/tst-CMPLX.c: New file.
70005         * math/complex.h (CMPLXL): Fix typo.
70007         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
70008         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
70009         GLIBC_2.16.
70010         * debug/tst-chk1.c: Add poll and ppoll tests.
70011         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
70012         * include/sys/poll.h: Add hidden proto for ppoll.
70013         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
70014         * sysdeps/mach/hurd/ppoll.c: Likewise.
70015         * io/ppoll.c: Likewise.
70016         * debug/poll_chk.c: New file.
70017         * debug/ppoll_chk.c: New file.
70018         * include/bits/poll2.h: New file.
70019         * io/bits/poll2.h: New file.
70021         [BZ #1350]
70022         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
70024         * configure.in: static is always set to yes.  Remove.
70025         * config.make.in: Don't set build-static.
70026         * Makeconfig: Remove use of build-static.
70027         * dlfcn/Makefile: Likewise.
70028         * elf/Makefile: Likewise.
70029         * math/Makefile: Likewise.
70030         * misc/Makefile: Likewise.
70031         * nptl/Makefile: Likewise.
70032         * sysdeps/mach/hurd/Makefile: Likewise.
70034         * configure.in: PWD_P is not used anymore.
70035         * config.make.in: Remove PWD_P entry.
70037         * configure.in: Remove last remnants of RANLIB.
70038         No need to check for signed size_t anymore.
70039         Don't set libc_commonpagesize and libc_relro_required here for Alpha
70040         and IA-64.
70041         Remove __builtin_expect test because we require at least gcc 3.4.
70042         * aclocal.m4: Likewise.
70044         * wcsmbs/mbrtoc16.c: Implement using towc function.
70045         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
70046         * wcsmbs/wcsmbsload.c: Likewise.
70047         * iconv/gconv_simple.c: Likewise.
70048         * iconv/gconv_int.h: Likewise.
70049         * iconv/gconv_builtin.h: Likewise.
70050         * iconv/iconv_prog.c: Remove CHAR16 handling.
70052         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
70054         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
70056         * configure.in: Remove --with-elf and --enable-bounded options.
70057         Dont set base_machine for ia64.  More non-ELF conditions removed.
70058         Remove testing and setting of leading underscore information.
70059         * config.make.in (build-bounded): Set to no.
70060         * config.h.in: Remove NO_UNDERSCORES entry.
70061         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
70062         them.
70063         * csu/start.c: Remove !NO_UNDERSCORE code.
70064         * locale/localeinfo.h: Likewise.
70065         * sysdeps/generic/machine-gmon.h: Likewise.
70066         * sysdeps/generic/sysdep.h: Likewise.
70067         * sysdeps/i386/sysdep.h: Likewise.
70068         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
70069         * sysdeps/mach/sysdep.h: Likewise.
70070         * sysdeps/s390/s390-32/sysdep.h: Likewise.
70071         * sysdeps/s390/s390-64/sysdep.h: Likewise.
70072         * sysdeps/sh/sysdep.h: Likewise.
70073         * sysdeps/sparc/sparc32/alloca.S: Likewise.
70074         * sysdeps/unix/i386/sysdep.S: Likewise.
70075         * sysdeps/unix/sparc/start.c: Likewise.
70076         * sysdeps/unix/sparc/sysdep.S: Likewise.
70077         * sysdeps/unix/sparc/sysdep.h: Likewise.
70078         * sysdeps/unix/start.c: Likewise.
70079         * sysdeps/unix/x86_64/sysdep.S: Likewise.
70080         * sysdeps/x86_64/sysdep.h: Likewise.
70082 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
70084         [BZ #13553]
70085         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
70086         for non-gcc.
70087         * argp/argp-fmtstream.h: Use const instead __const.
70088         * argp/argp.h: Likewise.
70089         * assert/assert.h: Likewise.
70090         * bits/fenv.h: Likewise.
70091         * bits/sched.h: Likewise.
70092         * bits/sigset.h: Likewise.
70093         * bits/sigthread.h: Likewise.
70094         * catgets/nl_types.h: Likewise.
70095         * conform/data/pthread.h-data: Likewise.
70096         * crypt/crypt-private.h: Likewise.
70097         * crypt/crypt.h: Likewise.
70098         * crypt/crypt_util.c: Likewise.
70099         * ctype/ctype.h: Likewise.
70100         * debug/execinfo.h: Likewise.
70101         * debug/mbsnrtowcs_chk.c: Likewise.
70102         * debug/mbsrtowcs_chk.c: Likewise.
70103         * debug/wcsnrtombs_chk.c: Likewise.
70104         * debug/wcsrtombs_chk.c: Likewise.
70105         * debug/wcstombs_chk.c: Likewise.
70106         * dirent/dirent.h: Likewise.
70107         * dlfcn/dlfcn.h: Likewise.
70108         * elf/neededtest4.c: Likewise.
70109         * grp/grp.h: Likewise.
70110         * gshadow/gshadow.h: Likewise.
70111         * iconv/gconv.h: Likewise.
70112         * iconv/gconv_int.h: Likewise.
70113         * iconv/gconv_simple.c: Likewise.
70114         * iconv/iconv.h: Likewise.
70115         * iconv/loop.c: Likewise.
70116         * iconv/skeleton.c: Likewise.
70117         * include/aio.h: Likewise.
70118         * include/aliases.h: Likewise.
70119         * include/argz.h: Likewise.
70120         * include/arpa/inet.h: Likewise.
70121         * include/assert.h: Likewise.
70122         * include/dirent.h: Likewise.
70123         * include/dlfcn.h: Likewise.
70124         * include/execinfo.h: Likewise.
70125         * include/fcntl.h: Likewise.
70126         * include/fenv.h: Likewise.
70127         * include/glob.h: Likewise.
70128         * include/grp.h: Likewise.
70129         * include/libintl.h: Likewise.
70130         * include/mntent.h: Likewise.
70131         * include/netdb.h: Likewise.
70132         * include/pwd.h: Likewise.
70133         * include/rpc/netdb.h: Likewise.
70134         * include/sched.h: Likewise.
70135         * include/search.h: Likewise.
70136         * include/shadow.h: Likewise.
70137         * include/signal.h: Likewise.
70138         * include/stdio.h: Likewise.
70139         * include/stdlib.h: Likewise.
70140         * include/string.h: Likewise.
70141         * include/sys/socket.h: Likewise.
70142         * include/sys/stat.h: Likewise.
70143         * include/sys/statfs.h: Likewise.
70144         * include/sys/statvfs.h: Likewise.
70145         * include/sys/syslog.h: Likewise.
70146         * include/sys/time.h: Likewise.
70147         * include/sys/uio.h: Likewise.
70148         * include/time.h: Likewise.
70149         * include/unistd.h: Likewise.
70150         * include/utmp.h: Likewise.
70151         * include/wchar.h: Likewise.
70152         * include/wctype.h: Likewise.
70153         * inet/aliases.h: Likewise.
70154         * inet/arpa/inet.h: Likewise.
70155         * inet/netinet/ether.h: Likewise.
70156         * inet/netinet/in.h: Likewise.
70157         * intl/libintl.h: Likewise.
70158         * io/bits/fcntl2.h: Likewise.
70159         * io/fcntl.h: Likewise.
70160         * io/ftw.h: Likewise.
70161         * io/sys/poll.h: Likewise.
70162         * io/sys/stat.h: Likewise.
70163         * io/sys/statfs.h: Likewise.
70164         * io/sys/statvfs.h: Likewise.
70165         * io/utime.h: Likewise.
70166         * libio/bits/stdio.h: Likewise.
70167         * libio/bits/stdio2.h: Likewise.
70168         * libio/libio.h: Likewise.
70169         * libio/libioP.h: Likewise.
70170         * libio/stdio.h: Likewise.
70171         * locale/lc-ctype.c: Likewise.
70172         * locale/locale.h: Likewise.
70173         * login/utmp.h: Likewise.
70174         * malloc/arena.c: Likewise.
70175         * malloc/malloc.c: Likewise.
70176         * malloc/malloc.h: Likewise.
70177         * malloc/mcheck.c: Likewise.
70178         * malloc/mtrace.c: Likewise.
70179         * math/bits/mathcalls.h: Likewise.
70180         * math/fenv.h: Likewise.
70181         * math/math_private.h: Likewise.
70182         * misc/bits/error.h: Likewise.
70183         * misc/bits/syslog.h: Likewise.
70184         * misc/err.h: Likewise.
70185         * misc/error.h: Likewise.
70186         * misc/fstab.h: Likewise.
70187         * misc/mntent.h: Likewise.
70188         * misc/regexp.h: Likewise.
70189         * misc/search.h: Likewise.
70190         * misc/sgtty.h: Likewise.
70191         * misc/sys/mman.h: Likewise.
70192         * misc/sys/syslog.h: Likewise.
70193         * misc/sys/uio.h: Likewise.
70194         * misc/sys/xattr.h: Likewise.
70195         * misc/ttyent.h: Likewise.
70196         * nis/rpcsvc/ypclnt.h: Likewise.
70197         * nss/nss.h: Likewise.
70198         * posix/bits/unistd.h: Likewise.
70199         * posix/fnmatch.h: Likewise.
70200         * posix/glob.h: Likewise.
70201         * posix/sched.h: Likewise.
70202         * posix/spawn.h: Likewise.
70203         * posix/sys/wait.h: Likewise.
70204         * posix/unistd.h: Likewise.
70205         * posix/wordexp.h: Likewise.
70206         * pwd/pwd.h: Likewise.
70207         * resolv/netdb.h: Likewise.
70208         * resource/sys/resource.h: Likewise.
70209         * rt/aio.h: Likewise.
70210         * rt/bits/mqueue2.h: Likewise.
70211         * rt/mqueue.h: Likewise.
70212         * shadow/shadow.h: Likewise.
70213         * signal/signal.h: Likewise.
70214         * socket/send.c: Likewise.
70215         * socket/sendto.c: Likewise.
70216         * socket/sys/socket.h: Likewise.
70217         * stdio-common/printf.h: Likewise.
70218         * stdlib/bits/stdlib.h: Likewise.
70219         * stdlib/fmtmsg.h: Likewise.
70220         * stdlib/monetary.h: Likewise.
70221         * stdlib/stdlib.h: Likewise.
70222         * stdlib/ucontext.h: Likewise.
70223         * streams/stropts.h: Likewise.
70224         * string/argz.h: Likewise.
70225         * string/bits/string2.h: Likewise.
70226         * string/string.h: Likewise.
70227         * string/strings.h: Likewise.
70228         * sunrpc/rpc/auth.h: Likewise.
70229         * sunrpc/rpc/auth_des.h: Likewise.
70230         * sunrpc/rpc/clnt.h: Likewise.
70231         * sunrpc/rpc/netdb.h: Likewise.
70232         * sunrpc/rpc/pmap_clnt.h: Likewise.
70233         * sunrpc/rpc/xdr.h: Likewise.
70234         * sysdeps/generic/inttypes.h: Likewise.
70235         * sysdeps/generic/net/if.h: Likewise.
70236         * sysdeps/generic/sys/swap.h: Likewise.
70237         * sysdeps/gnu/net/if.h: Likewise.
70238         * sysdeps/gnu/utmpx.h: Likewise.
70239         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
70240         * sysdeps/i386/i486/bits/string.h: Likewise.
70241         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
70242         * sysdeps/s390/bits/string.h: Likewise.
70243         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
70244         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
70245         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
70246         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
70247         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
70248         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
70249         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
70250         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
70251         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
70252         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
70253         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
70254         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
70255         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
70256         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
70257         * sysdeps/unix/sysv/linux/readv.c: Likewise.
70258         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
70259         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
70260         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
70261         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
70262         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
70263         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
70264         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
70265         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
70266         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
70267         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
70268         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
70269         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
70270         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
70271         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
70272         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
70273         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
70274         * sysvipc/sys/ipc.h: Likewise.
70275         * sysvipc/sys/msg.h: Likewise.
70276         * sysvipc/sys/sem.h: Likewise.
70277         * sysvipc/sys/shm.h: Likewise.
70278         * termios/termios.h: Likewise.
70279         * time/sys/time.h: Likewise.
70280         * time/time.h: Likewise.
70281         * wcsmbs/bits/wchar2.h: Likewise.
70282         * wcsmbs/uchar.h: Likewise.
70283         * wcsmbs/wchar.h: Likewise.
70284         * wctype/wctype.h: Likewise.
70286         [BZ #13551]
70287         * Makeconfig: Remove all but ELF support including AIX support.
70288         * Makerules: Likewise.
70289         * config.h.in: Likewise.
70290         * config.make.in: Likewise.
70291         * configure: Likewise.
70292         * configure.in: Likewise.
70293         * csu/Makefile: Likewise.
70294         * csu/version.c: Likewise.
70295         * debug/Makefile: Likewise.
70296         * dlfcn/Makefile: Likewise.
70297         * elf/Makefile: Likewise.
70298         * extra-lib.mk: Likewise.
70299         * iconv/Makefile: Likewise.
70300         * include/libc-symbols.h: Likewise.
70301         * include/shlib-compat.h: Likewise.
70302         * resolv/Makefile: Likewise.
70303         * resolv/res_libc.c: Likewise.
70304         * rt/Makefile: Likewise.
70305         * sysdeps/i386/asm-syntax.h: Likewise.
70306         * sysdeps/i386/sysdep.h: Likewise.
70307         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
70308         * sysdeps/mach/sysdep.h: Likewise.
70309         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
70310         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
70311         * sysdeps/s390/asm-syntax.h: Likewise.
70312         * sysdeps/s390/s390-32/sysdep.h: Likewise.
70313         * sysdeps/s390/s390-64/sysdep.h: Likewise.
70314         * sysdeps/sh/sysdep.h: Likewise.
70315         * sysdeps/unix/sparc/sysdep.h: Likewise.
70316         * sysdeps/wordsize-32/divdi3.c: Likewise.
70317         * sysdeps/x86_64/sysdep.h: Likewise.
70319         * argp/Versions: Remove _argp_unlock_xxx.
70321         [BZ #13559]
70322         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
70323         * abilist/libBrokenLocale.abilist: Likewise.
70324         * abilist/libanl.abilist: Likewise.
70325         * abilist/libc.abilist: Likewise.
70326         * abilist/libcrypt.abilist: Likewise.
70327         * abilist/libdl.abilist: Likewise.
70328         * abilist/libm.abilist: Likewise.
70329         * abilist/libnsl.abilist: Likewise.
70330         * abilist/libpthread.abilist: Likewise.
70331         * abilist/libresolv.abilist: Likewise.
70332         * abilist/librt.abilist: Likewise.
70333         * abilist/libthread_db.abilist: Likewise.
70334         * abilist/libutil.abilist: Likewise.
70335         * abilist/libnss_db.abilist: New file.
70337         * scripts/abilist.awk: Add support for indirect functions.
70339         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
70341         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
70343         * shlib-versions: Remove entries for ports architectures.
70345         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
70346         files in ports.
70347         * elf/stackguard-macros.h: Remove support for IA-64.
70348         * elf/tst-auditmod1.c: Likewise.
70349         * sysdeps/generic/ldsodefs.h: Likewise.
70351         * sysdeps/unix/sysv/linux/configure.in: Ports should define
70352         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
70353         configure files.
70355         [BZ #13552]
70356         * configure.in: Remove --enable-omitfp support.
70357         * FAQ.in: Adjust.
70358         * config.make.in: Likewise.
70359         * Makeconfig: Likewise.
70360         * manual/install.texi: Likewise.
70362         In case anyone cares, the IA-64 architecture could move to ports.
70363         * sysdeps/ia64/*: Removed.
70364         * sysdeps/unix/sysv/linux/ia64/*: Removed.
70365         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
70367         [BZ #13555]
70368         * configure.in: Remove entries for unsupported architectures.
70370         [BZ #13533]
70371         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
70372         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
70373         routines.
70374         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
70375         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
70376         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
70377         fall back to using wcrtomb.
70378         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
70379         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
70380         renaming.
70381         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
70382         * wcsmbs/tst-c16c32-1.c: New file.
70384         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
70385         local variable.
70387         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
70389         * elf/tst-unique3.cc: Add explicit declaration of gets.
70390         * elf/tst-unique3lib.cc: Likewise.
70391         * elf/tst-unique3lib2.cc: Likewise.
70392         * elf/tst-unique4.cc: Likewise.
70394         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
70396 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
70398         [BZ #13566]
70399         * assert/assert.h (static_assert): Don't define for C++.
70400         * libio/stdio.h (gets): Do declare for C++ <= C++11.
70401         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
70403 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
70405         * iconv/loop.c (single loop): Fix assertion in storing of
70406         remaining bytes.
70408         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
70410 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
70412         * posix/getconf.c: Update copyright year.
70413         * nss/getent.c: Likewise.
70414         * nss/makedb.c: Likewise.
70415         * iconv/iconvconfig.c: Likewise.
70416         * iconv/iconv_prog.c: Likewise.
70417         * elf/ldconfig.c: Likewise.
70418         * elf/pldd.c: Likewise.
70419         * elf/sotruss.ksh: Likewise.
70420         * catgets/gencat.c: Likewise.
70421         * csu/version.c: Likewise.
70422         * elf/ldd.bash.in: Likewise.
70423         * elf/sprof.c (print_version): Likewise.
70424         * locale/programs/locale.c: Likewise.
70425         * locale/programs/localedef.c: Likewise.
70426         * login/programs/pt_chown.c: Likewise.
70427         * nscd/nscd.c (print_version): Likewise.
70428         * debug/xtrace.sh: Likewise.
70429         * malloc/memusage.sh: Likewise.
70430         * malloc/mtrace.pl: Likewise.
70431         * debug/catchsegv.sh: Likewise.
70433 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
70435         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
70436         pure attribute.
70438 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
70440         [BZ #13533]
70441         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
70442         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
70443         transformations.
70444         * iconv/gconv_int.h: Likewise.
70445         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
70446         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
70447         from libc for GLIBC_2.16.
70448         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
70449         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
70450         * wcsmbs/uchar.h: Really define mbstate_t.
70451         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
70452         * wcsmbs/c16rtomb.c: New file.
70453         * wcsmbs/mbrtoc16.c: New file.
70454         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
70455         for C/POSIX locale.
70456         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
70457         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
70459         * wcsmbs/wchar.h: Add missing __restrict.
70461 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
70463         [BZ #13532]
70464         * time/Makefile (routines): Add timespec_get.
70465         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
70466         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
70467         timespec for ISO C11.
70468         * time/timespec_get.c: New file.
70469         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
70470         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
70472         [BZ #13531]
70473         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
70474         * stdlib/stdlib.h: Declare aligned_alloc.
70475         * Versions.def: Add GLIBC_2.16 for libc.
70476         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
70478         [BZ 13527]
70479         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
70480         ISO C11.
70482         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
70483         code.
70485         [BZ #13528]
70486         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
70488         [BZ #13529]
70489         * assert/assert.h (static_assert): Define.
70491         * version.h: Update for 2.16 development version.
70493         [BZ #13526]
70494         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
70495         _ISOC11_SOURCE.
70497         * version.h (RELEASE): Bump for 2.15 release.
70498         * include/features.h (__GLIBC_MINOR__): Bump to 15.
70500         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
70501         Patch by Marek Polacek <mpolacek@redhat.com>.
70503         * bits/byteswap.h: Protect long long constants with __extension__.
70504         * sysdeps/i386/bits/byteswap.h: Likewise.
70505         * sysdeps/ia64/bits/byteswap.h: Likewise.
70506         * sysdeps/s390/bits/byteswap.h: Likewise.
70507         * sysdeps/x86_64/bits/byteswap.h: Likewise.
70509 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
70511         [BZ #13540]
70512         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
70513         destination buffer.
70514         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
70516 2011-12-23  Marek Polacek  <polacek@redhat.com>
70518         * elf/dl-addr.c (determine_info): Add inline keyword.
70519         * elf/tst-auditmod4b.c (check_avx): Likewise.
70520         * elf/tst-auditmod6b.c (check_avx): Likewise.
70521         * elf/tst-auditmod6c.c (check_avx): Likewise.
70522         * elf/tst-auditmod7b.c (check_avx): Likewise.
70524 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
70526         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
70527         !__SSE_MATH__.
70529 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
70531         [BZ #13540]
70532         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
70533         processing for last bytes.
70535 2011-08-06  Bruno Haible  <bruno@clisp.org>
70537         [BZ #13061]
70538         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
70539         U+0385, not to U+1FEE.
70541         [BZ #13062]
70542         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
70543         entry for U+00A5 U+0301.
70545 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
70547         [BZ #13166]
70548         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
70549         buffer for the output is too small.
70551         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
70552         optimization.
70554         [BZ #13185]
70555         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
70556         SSE flags if possible.
70558 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
70560         [BZ #13540]
70561         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
70562         processing for last bytes.
70564 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
70566         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
70567         (syscall-list-default-options, syscall-list-default-condition)
70568         (syscall-list-includes): Define.
70569         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
70570         list of ABIs and options and #if conditions for each ABI.  Do not
70571         handle common syscalls between ABIs specially.
70572         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
70573         Remove.
70574         (syscall-list-variants, syscall-list-32bit-options)
70575         (syscall-list-32bit-condition, syscall-list-64bit-options)
70576         (syscall-list-64bit-condition): Define.
70577         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
70578         (syscall-list-variants, syscall-list-32bit-options)
70579         (syscall-list-32bit-condition, syscall-list-64bit-options)
70580         (syscall-list-64bit-condition): Define.
70581         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
70582         Remove.
70583         (syscall-list-variants, syscall-list-32bit-options)
70584         (syscall-list-32bit-condition, syscall-list-64bit-options)
70585         (syscall-list-64bit-condition): Define.
70586         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
70587         Remove.
70588         (syscall-list-variants, syscall-list-32bit-options)
70589         (syscall-list-32bit-condition, syscall-list-64bit-options)
70590         (syscall-list-64bit-condition): Define.
70592 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
70594         * locale/iso-639.def: Add brx entry.
70596         [BZ #13328]
70597         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
70598         Proposed by Mariusz_Cukr <marcukr@op.pl>.
70600         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
70601         __feraiseexcept_renamed.
70603 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
70605         [BZ #13538]
70606         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
70607         EPOLLET with unsigned values.
70608         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
70609         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
70611         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
70612         to large cancellation.
70613         * math/s_cacoshf.c: Likewise.
70614         * math/s_cacoshl.c: Likewise.
70616 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
70618         [BZ #13305]
70619         [BZ #12786]
70620         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
70621         * math/s_cacoshf.c: Likewise.
70622         * math/s_cacoshl.c: Likewise.
70624 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
70626         [BZ #13439]
70627         * iconv/gconv.h: Define __GCONV_SWAP.
70628         * iconvdata/unicode.c: The swap bit must be stored in __flags.
70629         * iconvdata/utf-16.c: Likewise.
70630         * iconvdata/utf-32.c: Likewise.
70632 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
70634         [BZ #13524]
70635         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
70636         numerator after shifting it by one limb.
70638 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
70640         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
70641         under [__USE_EXTERN_INLINES].
70643 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
70645         [BZ #13446]
70646         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
70648 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
70650         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
70651         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
70652         optimized code.
70653         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
70654         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
70655         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
70656         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
70657         for strncasecmp/strncasecmp_l compilation.
70658         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
70659         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
70661 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
70663         [BZ #13484]
70664         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
70665         of __asm__.
70667 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
70669         [BZ #13506]
70670         * time/tzfile.c (__tzfile_read): Check values from file header.
70672 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
70674         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
70675         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
70676         * powerpc/powerpc32/dl-start.S: Likewise.
70677         * powerpc/powerpc32/elf/start.S: Likewise.
70678         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
70679         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
70680         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
70681         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
70682         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
70683         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
70684         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
70685         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
70686         * powerpc/powerpc32/fpu/s_round.S: Likewise.
70687         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
70688         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
70689         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
70690         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
70691         * powerpc/powerpc32/memset.S: Likewise.
70692         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
70693         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
70694         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
70695         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
70696         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
70697         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
70698         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
70699         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
70700         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
70701         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
70702         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
70703         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
70704         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
70706 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
70708         * math/libm-test.inc: Added more nearbyint tests.
70709         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
70710         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
70711         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
70712         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
70714 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
70716         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
70717         FD_CLOEXEC.
70719 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
70721         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
70722         Add wcscpy-ssse3 wcscpy-c.
70723         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
70724         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
70725         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
70726         * sysdeps/x86_64/wcschr.S: New file.
70727         * sysdeps/x86_64/wcsrchr.S: New file.
70728         * string/test-strcmp.c: Remove checking of wcscmp function for
70729         wrong alignments.
70730         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
70731         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
70732         wcsrchr-sse2 wcsrchr-c.
70733         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
70734         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
70735         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
70736         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
70737         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
70738         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
70739         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
70740         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
70741         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
70742         * wcsmbc/wcschr.c (WCSCHR): New macro.
70744 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
70746         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
70747         * wcsmbs/test-wcsrchr.c: New file.
70748         * string/test-strrchr.c: Add wcsrchr support.
70749         (WIDE): New macro.
70750         * wcsmbs/test-wcscpy.c: New file.
70751         * string/test-strcpy.c: Add wcscpy support.
70752         (WIDE): New macro.
70754 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
70756         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
70757         the inner loop.
70759 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
70761         [BZ #13472]
70762         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
70764 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
70766         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
70767         Minor optimizations.
70769         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
70770         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
70771         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
70773 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
70775         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
70776         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
70777         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
70778         for gcc to avoid warnings.
70779         * inet/Makefile (tests): Add tst-checks.
70780         * inet/tst-checks.c: New file.
70782         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
70783         warning.
70785         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
70786         __wmemcmp_sse2.
70788         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
70789         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
70791         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
70793 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
70795         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
70796         problem.
70798         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
70800 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
70802         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
70803         conditional on GCC version.
70804         (__arch_compare_and_exchange_val_8_acq)
70805         (__arch_compare_and_exchange_val_16_acq)
70806         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
70807         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
70808         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
70810 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
70812         * sysdeps/sh/backtrace.c: New file.
70814 2011-12-02  Andreas Schwab  <schwab@redhat.com>
70816         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
70817         parenthesis.
70819 2011-12-01  Andreas Schwab  <schwab@redhat.com>
70821         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
70822         falling back to utime.
70824 2011-11-30  Andreas Schwab  <schwab@redhat.com>
70826         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
70827         expectations for float.
70829 2011-11-29  Andreas Schwab  <schwab@redhat.com>
70831         * locale/weight.h (findidx): Add parameter len.
70832         * locale/weightwc.h (findidx): Likewise.
70833         * posix/fnmatch_loop.c (FCT): Adjust caller.
70834         * posix/regcomp.c (build_equiv_class): Likewise.
70835         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
70836         * posix/regexec.c (check_node_accept_bytes): Likewise.
70837         * string/strcoll_l.c (STRCOLL): Likewise.
70838         * string/strxfrm_l.c (STRXFRM): Likewise.
70840 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
70842         * Makefile.in: Remove CVSOPT handling.
70843         * configure.in: Remove use of AC_REVISION.
70844         * iconvdata/Makefile (distribute): No need to filter out CVS.
70845         * scripts/list-sources.sh: Remove CVS, subversion and monotone
70846         handling.
70848 2011-11-16  Andreas Schwab  <schwab@redhat.com>
70850         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
70851         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
70852         [USE_AS_STRNCASECMP_L]: Likewise.
70853         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
70854         NO_TLS_DIRECT_SEG_REFS.
70855         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
70856         Fix argument offsets for non-PIC.
70857         [USE_AS_STRNCASECMP_L]: Likewise.
70858         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
70859         NO_TLS_DIRECT_SEG_REFS.
70861 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
70863         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
70864         O_CLOEXEC.
70865         * locale/loadlocale.c (_nl_load_locale): Likewise.
70867 2011-11-15  Andreas Schwab  <schwab@redhat.com>
70869         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
70870         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
70871         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
70872         (SYSCALL_GETTIME): Set errno on error.
70874         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
70875         count references to noai6ai_cached.
70877 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
70879         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
70881         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
70882         FD_CLOEXEC for /proc/self/maps.
70884         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
70885         FD_CLOEXEC for /proc/meminfo.
70887         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
70888         gai.conf.
70890         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
70891         FD_CLOEXEC for given file.
70893         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
70895         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
70896         FD_CLOEXEC for /etc/hosts.
70897         (_gethtent): Likewise.
70899         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
70901         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
70902         cancellation and set FD_CLOEXEC for /etc/netgroup.
70904         * nss/nss_files/files-key.c (search): Don't allow cancellation when
70905         reading /etc/publickey.
70907         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
70908         allow cancellation when reading /etc/group.
70910         * nss/nss_files/files-alias.c (internal_setent): Don't allow
70911         cancellation.
70912         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
70914         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
70915         when using data file.
70917         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
70919         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
70920         (write_nis_obj): Use "c" and "e" in fopen.
70922         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
70924         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
70926         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
70928         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
70930         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
70931         locale.alias.
70933         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
70935         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
70937         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
70939         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
70940         file parsing and set FD_CLOEXEC.
70942 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
70944         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
70946 2011-11-14  Andreas Schwab  <schwab@redhat.com>
70948         * malloc/arena.c (arena_get2): Don't call reused_arena when
70949         _int_new_arena failed.
70951 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
70953         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
70954         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
70955         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
70956         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
70957         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
70958         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
70959         to compile strcasecmp and strncasecmp.
70960         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
70961         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
70963         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
70965 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
70967         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
70968         locale-defines.sym to gen-as-const-headers.
70969         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
70970         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
70971         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
70972         to compile strcasecmp and strncasecmp.
70973         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
70974         strcasecmp_l and strncasecmp_l.
70975         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
70976         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
70977         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
70978         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
70979         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
70980         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
70981         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
70982         * sysdeps/i386/i686/multiarch/strncase.S: New file.
70983         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
70984         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
70985         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
70987 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
70989         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
70990         result of SYSDEP_GETTIME_CPU to retval.
70991         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
70992         parameter list to macro.  Remove trailing semicolon.  Adjust users.
70994         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
70995         variable.
70997         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
70998         mantissa words.
70999         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
71001         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
71002         from unused variable.
71004         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
71005         DWARF definitions.
71006         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
71007         for assembling.
71009         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
71010         over namespaces.
71012         * sunrpc/rpc_prot.c (rejected): Fix case value.
71014         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
71015         unsigned long long int to avoid warnings in shift.
71017         * posix/regex_internal.c (re_string_reconstruct): Actually use result
71018         of use of trans.
71019         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
71020         variable tmp.
71022         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
71023         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
71024         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
71026         * nis/nis_table.c (nis_list): Use variable of correct type for
71027         result of __follow_path call.
71029 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
71031         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
71032         of math functions ceil, trunc, floor, round, and sqrt, when
71033         avaliable on the platform.
71034         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
71035         name clash.
71036         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
71037         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
71038         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
71040 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
71042         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
71043         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
71045 2011-11-11  Roland McGrath  <roland@hack.frob.com>
71047         * include/unistd.h: Fix __readlink return type.
71048         Reported by Chris Metcalf <cmetcalf@tilera.com>.
71050 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
71052         * stdlib/ucontext.h: Undo last change for makecontext.
71054 2011-11-11  Andreas Schwab  <schwab@redhat.com>
71056         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
71058         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
71059         * setjmp/setjmp.h: Mark functions as non-leaf.
71060         * setjmp/bits/setjmp2.h: Likewise.
71061         * stdlib/ucontext.h: Likewise.
71063 2011-11-10  Andreas Schwab  <schwab@redhat.com>
71065         * malloc/arena.c (_int_new_arena): Don't increment narenas.
71066         (reused_arena): Don't check arena limit.
71067         (arena_get2): Atomically check arena limit.
71069 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
71071         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
71072         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
71074         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
71075         instructions.
71077 2011-11-07  Andreas Schwab  <schwab@redhat.com>
71079         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
71080         handler when locking.
71082         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
71083         Fix size of allocated buffer.
71085 2011-11-04  Andreas Schwab  <schwab@redhat.com>
71087         [BZ #10103]
71088         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
71089         declarations for long double functions.
71090         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
71092         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
71094 2011-11-03  Andreas Schwab  <schwab@redhat.com>
71096         * nscd/nscd.c (main): Don't start AVC thread until credentials are
71097         installed.
71099         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
71100         is disabled.
71102 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
71104         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
71106 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
71108         * include/alloca.h (stackinfo_alloca_round): Define.
71109         (extend_alloca): Use it.
71110         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
71111         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
71112         here.
71114         * scripts/check-local-headers.sh: Ignore libaudit.h.
71116         * nscd/Makefile (extra-objs): Make recursively expanded.
71118 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
71120         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
71121         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
71123         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
71124         * posix/tst-rfc3484-2.c: Likewise.
71125         * posix/tst-rfc3484-3.c: Likewise.
71127         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
71128         process_vm_writev.
71129         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
71130         process_vm_writev.
71131         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
71132         process_vm_writev from libc using GLIBC_2.15 version.
71134         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
71136 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
71138         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
71139         stack usage.
71141 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
71143         [BZ #13367]
71144         * nss/getent.c (initgroups_keys): Show error message in case no group
71145         names are given.
71147         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
71148         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
71149         __bump_nl_timestamp.
71150         * nscd/connections (nscd_init): When host database is served open
71151         netlink socket and request notification about configuration changes.
71152         (main_loop_poll): Track netlink file descriptor and bump timestamp
71153         in case data becomes available.
71154         (main_loop_epoll): Likewise.
71155         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
71156         (database_pers_head): Add extra_data fileds.
71157         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
71158         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
71159         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
71160         Adjust caller.
71161         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
71162         in6ai data, call __free_in6ai.
71163         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
71164         Add -DHAVE_NETLINK.
71165         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
71166         interface information.  Reuse previous data if netlink timestamp
71167         is not changed.
71168         (__bump_nl_timestamp): New function.
71169         (__free_in6ai): New function.
71171 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
71173         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
71174         close_not_cancel_no_status here.
71175         (__check_pf): Reorganize code a bit to not call close twice if OOM.
71177 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
71179         [BZ #13276]
71180         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
71181         return value.
71183         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
71184         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
71185         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
71187 2011-07-03  Andreas Jaeger  <aj@suse.de>
71189         [BZ #10709]
71190         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
71191         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
71192         * math/libm-test.inc (sin_test): Add test case.
71194 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
71196         [BZ #13337]
71197         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
71198         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
71200         * elf/chroot_canon.c (chroot_canon): Cleanups.
71202         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
71204         [BZ #13335]
71205         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
71206         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
71208         * string/test-strchr.c: Make usable for strchrnul testing.
71209         * string/test-strchrnul.c: New file.
71210         * string/Makefile (strop-tests): Add strchrnul.
71212         * po/it.po: Update from translation team.
71213         * po/es.po: Likewise.
71215 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
71217         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
71218         the three constants needed as parameters.  Drop the others.
71219         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
71220         __m128i_strloadu_tolower.
71221         Create and initialize variable zero and use it in all the places
71222         where _mm_setzero_si128 was used.
71224         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
71225         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
71226         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
71227         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
71228         anymore.
71229         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
71230         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
71231         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
71232         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
71233         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
71234         __mpranred, __mptan.
71235         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
71236         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
71237         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
71238         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
71239         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
71240         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
71241         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
71242         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
71243         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
71245 2011-10-28  Andreas Schwab  <schwab@redhat.com>
71247         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
71248         redefine if SHARED.
71249         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
71251         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
71252         wide char related routines to wcsmbs subdir.
71254 2011-10-27  Andreas Schwab  <schwab@redhat.com>
71256         [BZ #13344]
71257         * misc/sys/cdefs.h (__THROWNL): Define.
71258         * posix/unistd.h: Use __THREADNL instead of __THREAD
71259         for memory synchronization functions.
71261 2011-10-26  Roland McGrath  <roland@hack.frob.com>
71263         [BZ #13349]
71264         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
71265         doesn't exist.
71266         * manual/stdio.texi (Obstack Streams): Node removed.
71268 2011-10-26  Andreas Schwab  <schwab@redhat.com>
71270         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
71271         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
71272         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
71274         * math/math_private.h (math_force_eval): Allow non-addressable
71275         arguments.
71276         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
71278 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
71280         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
71281         file is not needed.
71283         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
71284         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
71285         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
71286         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
71287         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
71288         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
71289         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
71290         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
71291         Add AVX variants.
71292         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
71293         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
71294         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
71295         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
71296         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
71297         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
71298         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
71299         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
71300         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
71301         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
71302         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
71303         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
71304         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
71305         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
71306         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
71307         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
71308         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
71309         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
71310         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
71312         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
71313         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
71315         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
71316         place.  Use VEX encoding when compiling for AVX.
71318 2011-10-25  Andreas Schwab  <schwab@redhat.com>
71320         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
71321         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
71323         * string/test-strchr.c (do_test): Don't generate NUL bytes.
71325 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
71327         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
71328         useless if() expression.
71329         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
71330         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
71331         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
71332         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
71333         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
71334         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
71335         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
71336         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
71337         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
71338         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
71339         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
71340         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
71341         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
71342         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
71343         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
71344         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
71345         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
71346         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
71347         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
71349         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
71351 2011-10-25  Andreas Schwab  <schwab@redhat.com>
71353         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
71354         condition.
71355         * elf/dl-fini.c (_dl_sort_fini): Likewise.
71357 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
71359         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
71360         .text section.  Avoid duplicate constants.
71361         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
71362         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
71363         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
71364         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
71365         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
71366         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
71367         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
71368         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
71369         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
71370         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
71371         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
71372         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
71373         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
71374         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
71375         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
71376         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
71377         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
71378         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
71379         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
71380         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
71381         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
71382         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
71383         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
71384         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
71385         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
71386         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
71387         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
71388         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
71389         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
71390         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
71391         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
71392         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
71393         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
71394         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
71395         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
71396         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
71397         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
71398         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
71399         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
71400         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
71401         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
71402         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
71403         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
71404         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
71405         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
71407 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
71409         * sysdeps/x86_64/dla.h: Move to ...
71410         * sysdeps/x86_64/fpu/dla.h: ...here.
71411         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
71412         situations.  Use __builtin_fma only for gcc 4.6 and up.
71414         * config.make.in: Add have-mfma4 entry.
71415         * configure.in: Substitute libc_cv_cc_fma4.
71416         * math/Makefile (dbl-only-routines): Add sincostab.
71417         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
71418         Use __sincostab not sincos.
71419         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
71420         name is a macro.
71421         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
71422         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
71423         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
71424         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
71425         using __copysign.
71426         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
71427         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
71428         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
71429         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
71430         and __inv.
71431         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
71432         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
71433         __copysign.
71434         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
71435         define aliases when function name is a macro.
71436         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
71437         sysdeps/ieee754/dbl-64/sincos.tbl.
71438         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
71439         fma4-enabled routines.
71440         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
71441         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
71442         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
71443         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
71444         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
71445         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
71446         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
71447         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
71448         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
71449         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
71450         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
71451         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
71452         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
71453         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
71454         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
71455         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
71456         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
71457         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
71458         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
71459         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
71460         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
71461         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
71462         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
71463         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
71464         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
71465         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
71466         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
71467         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
71468         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
71469         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
71471         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
71472         rename.
71473         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
71474         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
71475         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
71476         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
71477         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
71478         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
71479         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
71480         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
71482 2011-10-24  Andreas Schwab  <schwab@redhat.com>
71484         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
71486 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
71488         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
71490         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
71491         prediction.
71492         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
71494         * string/strnlen.c: Don't define STRNLEN, reverse logic.
71495         Remove unused variable magic_bits.
71496         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
71498         * string/strnlen.c: Define and use STRNLEN macro.
71499         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
71500         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
71501         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
71502         * wcsmbs/wcslen.c: Define and use WCSLEN.
71503         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
71504         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
71505         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
71506         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
71507         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
71508         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
71509         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
71511 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
71513         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
71514         strnlen-sse2-no-bsf.
71515         Rename strlen-no-bsf to strlen-sse2-no-bsf.
71516         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
71517         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
71518         Add strnlen support.
71519         (USE_AS_STRNLEN): New macro.
71520         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
71521         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
71522         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
71523         * sysdeps/x86_64/wcslen.S: New file.
71525 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
71527         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
71528         XMM-moves are used for copying on small sizes.
71530 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
71532         * wcsmbs/Makefile (strop-tests): Add wcschr.
71533         * wcsmbs/test-wcschr.c: New file.
71534         * string/test-strchr.c: Update.
71535         Add wcschr support.
71536         (WIDE): New macro.
71538 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
71540         * wcsmbs/Makefile (strop-tests): Add wcslen.
71541         * wcsmbs/test-wcslen.c: New file.
71542         * string/test-strlen.c: Update.
71543         Add wcslen support.
71544         (WIDE): New macro.
71546 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
71548         * po/it.po: Update from translation team.
71550 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
71552         * sysdeps/x86_64/wcscmp.S: Update.
71553         Fix wrong comparison semantics.
71554         wcscmp shall use signed comparison not unsigned.
71555         Don't use substraction to avoid overflow bug.
71556         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
71557         * wcsmbc/wcscmp.c: Likewise.
71558         * string/test-strcmp.c: Likewise.
71559         Add new tests to check cases with negative values.
71561 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
71563         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
71564         * sysdeps/x86_64/dla.h: ...here.  New file.
71565         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
71566         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
71567         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
71568         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
71569         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
71570         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
71571         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
71572         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
71573         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
71575 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
71577         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
71578         __ynl_finite aliases.
71580 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
71582         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
71584         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
71585         define DLA_FMA.
71586         [DLA_FMA] (EMULV): Use DLA_FMA.
71587         [DLA_FMA] (MUL12): Use EMULV.
71588         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
71589         that are not needed.
71590         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
71591         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
71592         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
71593         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
71594         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
71595         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
71596         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
71598 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
71600         * math/s_nan.c: Undef __nan.
71601         * math/s_nanf.c: Undef __nanf.
71602         * math/s_nanl.c: Undef __nanl.
71603         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
71604         "math_private.h".
71606 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
71608         * math/s_catan.c: Add branch predictions.
71609         * math/s_catanf.c: Likewise.
71610         * math/s_catanh.c: Likewise.
71611         * math/s_catanhf.c: Likewise.
71612         * math/s_catanhl.c: Likewise.
71613         * math/s_catanl.c: Likewise.
71614         * math/s_cexp.c: Likewise.
71615         * math/s_cexpf.c: Likewise.
71616         * math/s_cexpl.c: Likewise.
71617         * math/s_clog.c: Likewise.
71618         * math/s_clog10.c: Likewise.
71619         * math/s_clog10f.c: Likewise.
71620         * math/s_clog10l.c: Likewise.
71621         * math/s_clogf.c: Likewise.
71622         * math/s_clogl.c: Likewise.
71623         * math/s_csqrt.c: Likewise.
71624         * math/s_csqrtf.c: Likewise.
71625         * math/s_csqrtl.c: Likewise.
71626         * math/s_ctanf.c: Likewise.
71627         * math/s_ctanh.c: Likewise.
71628         * math/s_ctanhf.c: Likewise.
71629         * math/s_ctanhl.c: Likewise.
71630         * math/s_ctanl.c: Likewise.
71632         * math/math_private.h: Define __nan, __nanf, __nanl.
71633         * math/s_cacosh.c: Include <math_private.h>.
71634         * math/s_cacoshl.c: Likewise.
71635         * math/s_casinh.c: Likewise.
71636         * math/s_casinhf.c: Likewise.
71637         * math/s_casinhl.c: Likewise.
71638         * math/s_ccos.c: Rely entire on ccosh.
71639         * math/s_ccosf.c: Rely entire on ccoshf.
71640         * math/s_ccosl.c: Rely entirely on ccoshl.
71641         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
71642         Remove tests for FE_INVALID.
71643         * math/s_ccoshf.c: Likewise.
71644         * math/s_ccoshl.c: Likewise.
71645         * math/s_csin.c: Likewise.
71646         * math/s_csinf.c: Likewise.
71647         * math/s_csinh.c Likewise.
71648         * math/s_csinhf.c: Likewise.
71649         * math/s_csinhl.c: Likewise.
71650         * math/s_csinl.c: Likewise.
71651         * math/s_ctan.c: Likewise.
71652         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
71653         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
71654         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
71656 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
71658         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
71659         compilation problems.
71661         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
71662         __builtin_expect.
71664 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
71666         * sysdeps/i386/configure.in: Test for -mfma4 option.
71667         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
71668         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
71669         COMMON_CPUID_INDEX_80000001.
71670         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
71671         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
71672         use it if FMA3 is not supported.
71673         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
71675         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
71676         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
71678 2011-10-20  Andreas Schwab  <schwab@redhat.com>
71680         [BZ #12892]
71681         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
71682         it would create a cycle with a link time dependency.
71684 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
71686         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
71687         instruction.
71688         * string/Makefile (strop-tests): Add rawmemchr.
71689         * string/test-rawmemchr.c: New file.
71691         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
71692         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
71693         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
71694         when compiling str{,n}casecmp and when AVX is available.  Hook up
71695         new optimized code in initializers.
71697 2011-10-19  Andreas Schwab  <schwab@redhat.com>
71699         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
71700         __feraiseexcept instead of feraiseexcept.
71702 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
71704         * math/math_private.h: Define defaults for libc_fetestexcept and
71705         libc_feupdateenv.
71706         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
71707         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
71708         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
71709         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
71710         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
71711         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
71712         libc_fetestexcept and libc_feupdateenv.
71714         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
71715         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
71716         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
71717         * sysdeps/x86_64/fpu/math_private.h: Define special version of
71718         libc_feholdexcept_setround.
71720         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
71721         Add s_nearbyint-c and s_nearbyintf-c.
71722         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
71723         nearbyintf inlines.
71724         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
71725         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
71726         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
71727         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
71729         * math/math_private.h: Define defaults for libc_fegetround,
71730         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
71731         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
71732         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
71733         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
71734         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
71735         standard functions.
71736         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
71737         Remove comments and hacks for old compiler versions.
71738         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
71739         libc_fegetround, libc_fesetround, libc_feholdexcept, and
71740         libc_feholdexceptl.
71742 2011-10-18  Andreas Schwab  <schwab@redhat.com>
71744         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
71745         (__feraiseexcept_renamed): Add __NTH.
71746         (feraiseexcept): Add __NTH.  Rename local variables to fix
71747         namespace violations.
71749 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
71751         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
71753         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
71755         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
71756         recently added interfaces.
71757         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
71759         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
71760         about macro parameter expansion.
71762         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
71763         __NO_MATH_INLINES is defined.  Cleanups.
71765         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
71766         and __floorf is target has SSE4.1.
71767         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
71768         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
71769         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
71770         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
71772         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
71773         name.
71774         (floorf): Likewise.
71776         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
71778 2011-10-17  Andreas Schwab  <schwab@redhat.com>
71780         * misc/sys/cdefs.h: Fix last change.
71782         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
71783         database lookup.
71785 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
71787         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
71789         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
71790         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
71791         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
71792         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
71793         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
71794         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
71795         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
71796         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
71797         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
71798         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
71799         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
71800         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
71801         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
71802         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
71803         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
71804         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
71805         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
71806         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
71807         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
71808         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
71809         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
71810         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
71812         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
71813         ceil, ceilf, floor, floorf.
71815         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
71816         Perform IRELATIVE relocations last.
71818         * elf/do-rel.h: Add another parameter nrelative, replacing the
71819         local variable with the same name.  Change name of the function
71820         to end in Rel or Rela (uppercase).
71821         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
71822         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
71823         elf_dynamic_do_##reloc function.
71825 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
71827         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
71828         is sufficient, at least on modern CPUs.
71830         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
71832         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
71833         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
71835         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
71836         __expl_finite.
71837         * math/bits/math-finite.h: Add entries for exp.
71838         * math/e_expl.c: Add __*_finite alias.
71839         * sysdeps/i386/fpu/e_exp.S: Likewise.
71840         * sysdeps/i386/fpu/e_expf.S: Likewise.
71841         * sysdeps/i386/fpu/e_expl.c: Likewise.
71842         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
71843         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
71844         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
71845         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
71846         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
71847         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
71848         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
71850         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
71851         is sufficient, at least on modern CPUs.
71853         * ctype/ctype-info.c (__ctype_init): Define.
71854         * include/ctype.h (__ctype_init): Declare.
71855         (__ctype_b_loc): The variable is always initialized.
71856         (__ctype_toupper_loc): Likewise.
71857         (__ctype_tolower_loc): Likewise.
71858         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
71859         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
71861 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
71863         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
71865         * configure.in: Also look in $cxxmachine/include for C++ system
71866         headers.
71868 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
71870         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
71871         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
71872         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
71873         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
71874         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
71875         (USE_AS_WMEMCMP): New macro.
71876         Fixing indents.
71877         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
71878         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
71879         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
71880         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
71881         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
71882         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
71883         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
71884         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
71885         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
71886         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
71887         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
71888         (USE_AS_WMEMCMP): New macro.
71889         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
71890         * sysdeps/string/test-memcmp.c: Update.
71891         Fix simple_wmemcmp.
71892         Add new tests.
71893         * wcsmbs/wmemcmp.c: Update.
71894         (WMEMCMP): New macro.
71895         Fix overflow bug.
71897 2011-10-12  Andreas Jaeger  <aj@suse.de>
71899         [BZ #13268]
71900         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
71902 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
71904         * libio/iofwide.c (do_length): Avoid warning.
71906         * ctype/ctype.h (__isctype_f): Add missing __THROW.
71908 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
71910         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
71912         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
71913         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
71914         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
71915         * sysdeps/i386/i686/fpu/e_log.S: New file.
71916         * sysdeps/i386/i686/fpu/e_logf.S: New file.
71917         * sysdeps/i386/i686/fpu/e_logl.S: New file.
71919         * ctype/ctype.h: Add support for inlined isXXX functions when
71920         compiling C++ code.
71922 2011-10-14  Andreas Schwab  <schwab@redhat.com>
71924         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
71926         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
71928 2011-10-13  Roland McGrath  <roland@hack.frob.com>
71930         [BZ #13291]
71931         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
71933 2011-10-13  Andreas Schwab  <schwab@redhat.com>
71935         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
71936         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
71937         feraiseexcept.
71939         * sysdeps/x86_64/memrchr.S: Check for zero size.
71941         * string/stratcliff.c: Add memrchr tests.
71943 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
71945         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
71946         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
71947         rawmemchr-sse2 rawmemchr-sse2-bsf.
71948         * sysdeps/i386/i686/multiarch/memchr.S: New file.
71949         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
71950         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
71951         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
71952         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
71953         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
71954         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
71955         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
71956         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
71957         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
71958         * string/memrchr.c (MEMRCHR): New macro.
71960 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
71962         Add integration with gcc's -ffinite-math-only and optimize wrapper
71963         functions in libm.
71964         * Versions.def: Define GLIBC_2.15 version for libm.
71965         * math/Makefile (headers): Add bits/math-finite.h.
71966         * math/bits/math-finite.h: New file.
71967         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
71968         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
71969         * math/e_acoshl.c: Add __*_finite alias.
71970         * math/e_acosl.c: Likewise.
71971         * math/e_asinl.c: Likewise.
71972         * math/e_atan2l.c: Likewise.
71973         * math/e_atanhl.c: Likewise.
71974         * math/e_coshl.c: Likewise.
71975         * math/e_exp10.c: Likewise.
71976         * math/e_exp10f.c: Likewise.
71977         * math/e_exp10l.c: Likewise.
71978         * math/e_exp2l.c: Likewise.
71979         * math/e_fmodl.c: Likewise.
71980         * math/e_gammal_r.c: Likewise.
71981         * math/e_hypotl.c: Likewise.
71982         * math/e_j0l.c: Likewise.
71983         * math/e_j1l.c: Likewise.
71984         * math/e_jnl.c: Likewise.
71985         * math/e_lgammal_r.c: Likewise.
71986         * math/e_log10l.c: Likewise.
71987         * math/e_log2l.c: Likewise.
71988         * math/e_logl.c: Likewise.
71989         * math/e_powl.c: Likewise.
71990         * math/e_sinhl.c: Likewise.
71991         * math/e_sqrtl.c: Likewise.
71992         * math/e_scalb.c: Completely rewritten and optimized.
71993         * math/e_scalbf.c: Likewise.
71994         * math/e_scalbl.c: Likewise.
71995         * math/w_acos.c: Likewise.
71996         * math/w_acosf.c: Likewise.
71997         * math/w_acosl.c: Likewise.
71998         * math/w_acosh.c: Likewise.
71999         * math/w_acoshf.c: Likewise.
72000         * math/w_acoshl.c: Likewise.
72001         * math/w_asin.c: Likewise.
72002         * math/w_asinf.c: Likewise.
72003         * math/w_asinl.c: Likewise.
72004         * math/w_atan2.c: Likewise.
72005         * math/w_atan2f.c: Likewise.
72006         * math/w_atan2l.c: Likewise.
72007         * math/w_atanh.c: Likewise.
72008         * math/w_atanhf.c: Likewise.
72009         * math/w_atanhl.c: Likewise.
72010         * math/w_exp10.c: Likewise.
72011         * math/w_exp10f.c: Likewise.
72012         * math/w_exp10l.c: Likewise.
72013         * math/w_fmod.c: Likewise.
72014         * math/w_fmodf.c: Likewise.
72015         * math/w_fmodl.c: Likewise.
72016         * math/w_j0.c: Likewise.
72017         * math/w_j0f.c: Likewise.
72018         * math/w_j0l.c: Likewise.
72019         * math/w_j1.c: Likewise.
72020         * math/w_j1f.c: Likewise.
72021         * math/w_j1l.c: Likewise.
72022         * math/w_jn.c: Likewise.
72023         * math/w_jnf.c: Likewise.
72024         * math/w_log.c: Likewise.
72025         * math/w_logf.c: Likewise.
72026         * math/w_logl.c: Likewise.
72027         * math/w_log10.c: Likewise.
72028         * math/w_log10f.c: Likewise.
72029         * math/w_log10l.c: Likewise.
72030         * math/w_log2.c: Likewise.
72031         * math/w_log2f.c: Likewise.
72032         * math/w_log2l.c: Likewise.
72033         * math/w_pow.c: Likewise.
72034         * math/w_powf.c: Likewise.
72035         * math/w_powl.c: Likewise.
72036         * math/w_remainder.c: Likewise.
72037         * math/w_remainderf.c: Likewise.
72038         * math/w_remainderl.c: Likewise.
72039         * math/w_scalb.c: Likewise.
72040         * math/w_scalbf.c: Likewise.
72041         * math/w_scalbl.c: Likewise.
72042         * math/w_sqrt.c: Likewise.
72043         * math/w_sqrtf.c: Likewise.
72044         * math/w_sqrtl.c: Likewise.
72045         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
72046         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
72047         used.
72048         * math/math_private.h: Declare __kernel_standard_f.
72049         * math/w_cosh.c: Remove cruft and optimize a bit.
72050         * math/w_coshf.c: Likewise.
72051         * math/w_coshl.c: Likewise.
72052         * math/w_exp2.c: Likewise.
72053         * math/w_exp2f.c: Likewise.
72054         * math/w_exp2l.c: Likewise.
72055         * math/w_hypot.c: Likewise.
72056         * math/w_hypotf.c: Likewise.
72057         * math/w_hypotl.c: Likewise.
72058         * math/w_lgamma.c: Likewise.
72059         * math/w_lgamma_r.c: Likewise.
72060         * math/w_lgammaf.c: Likewise.
72061         * math/w_lgammaf_r.c: Likewise.
72062         * math/w_lgammal.c: Likewise.
72063         * math/w_lgammal_r.c: Likewise.
72064         * math/w_sinh.c: Likewise.
72065         * math/w_sinhf.c: Likewise.
72066         * math/w_sinhl.c: Likewise.
72067         * math/w_tgamma.c: Likewise.
72068         * math/w_tgammaf.c: Likewise.
72069         * math/w_tgammal.c: Likewise.
72070         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
72071         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
72072         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
72073         Minor optimizations.  Pretty printing.  Remove cruft.
72074         * sysdeps/i386/fpu/e_acosf.S: Likewise.
72075         * sysdeps/i386/fpu/e_acosh.S: Likewise.
72076         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
72077         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
72078         * sysdeps/i386/fpu/e_acosl.c: Likewise.
72079         * sysdeps/i386/fpu/e_asin.S: Likewise.
72080         * sysdeps/i386/fpu/e_asinf.S: Likewise.
72081         * sysdeps/i386/fpu/e_atan2.S: Likewise.
72082         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
72083         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
72084         * sysdeps/i386/fpu/e_atanh.S: Likewise.
72085         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
72086         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
72087         * sysdeps/i386/fpu/e_exp10.S: Likewise.
72088         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
72089         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
72090         * sysdeps/i386/fpu/e_exp2.S: Likewise.
72091         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
72092         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
72093         * sysdeps/i386/fpu/e_fmod.S: Likewise.
72094         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
72095         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
72096         * sysdeps/i386/fpu/e_hypot.S: Likewise.
72097         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
72098         * sysdeps/i386/fpu/e_log.S: Likewise.
72099         * sysdeps/i386/fpu/e_log10.S: Likewise.
72100         * sysdeps/i386/fpu/e_log10f.S: Likewise.
72101         * sysdeps/i386/fpu/e_log10l.S: Likewise.
72102         * sysdeps/i386/fpu/e_log2.S: Likewise.
72103         * sysdeps/i386/fpu/e_log2f.S: Likewise.
72104         * sysdeps/i386/fpu/e_log2l.S: Likewise.
72105         * sysdeps/i386/fpu/e_logf.S: Likewise.
72106         * sysdeps/i386/fpu/e_logl.S: Likewise.
72107         * sysdeps/i386/fpu/e_pow.S: Likewise.
72108         * sysdeps/i386/fpu/e_powf.S: Likewise.
72109         * sysdeps/i386/fpu/e_powl.S: Likewise.
72110         * sysdeps/i386/fpu/e_remainder.S: Likewise.
72111         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
72112         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
72113         * sysdeps/i386/fpu/e_scalb.S: Likewise.
72114         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
72115         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
72116         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
72117         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
72118         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
72119         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
72120         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
72121         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
72122         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
72123         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
72124         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
72125         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
72126         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
72127         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
72128         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
72129         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
72130         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
72131         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
72132         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
72133         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
72134         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
72135         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
72136         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
72137         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
72138         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
72139         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
72140         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
72141         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
72142         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
72143         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
72144         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
72145         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
72146         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
72147         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
72148         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
72149         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
72150         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
72151         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
72152         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
72153         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
72154         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
72155         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
72156         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
72157         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
72158         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
72159         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
72160         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
72161         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
72162         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
72163         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
72164         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
72165         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
72166         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
72167         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
72168         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
72169         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
72170         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
72171         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
72172         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
72173         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
72174         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
72175         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
72176         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
72177         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
72178         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
72179         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
72180         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
72181         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
72182         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
72183         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
72184         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
72185         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
72186         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
72187         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
72188         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
72189         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
72190         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
72191         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
72192         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
72193         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
72194         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
72195         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
72196         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
72197         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
72198         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
72199         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
72200         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
72201         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
72202         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
72203         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
72204         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
72205         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
72206         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
72207         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
72208         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
72209         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
72210         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
72211         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
72212         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
72213         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
72214         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
72215         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
72216         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
72217         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
72218         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
72219         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
72220         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
72221         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
72222         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
72223         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
72224         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
72225         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
72226         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
72227         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
72228         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
72229         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
72230         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
72231         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
72232         (__isnanf): Likewise.
72233         (__isinf_ns): Likewise.
72234         (__isinf_nsf): Likewise.
72235         (__finite): Likewise.
72236         (__finitef): Likewise.
72237         (__ieee754_sqrt): Define as macro.
72238         (__ieee754_sqrtf): Define as macro.
72239         (__ieee754_sqrtl): Define as macro.
72240         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
72241         inlined copy.
72242         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
72243         __FINITE_MATH_ONLY__ consistent.
72244         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
72246 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
72248         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
72249         of rawmemchr.
72251         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
72253 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
72255         * po/ja.po: Update from translation team.
72257 2011-10-08  Roland McGrath  <roland@hack.frob.com>
72259         * locale/programs/locarchive.c (prepare_address_space): New function.
72260         (create_archive, enlarge_archive, open_archive): Use it.
72262         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
72263         inside [SHARED], where it is used.
72265         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
72267         * nss/getent.c (netgroup_keys): Remove unused variable.
72268         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
72270 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
72272         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
72273         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
72274         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
72275         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
72276         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
72277         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
72278         * math/Makefile (libm-calls): Add s_isinf_ns.
72279         * math/divtc3.c: Use __isinf_nsl instead of isinf.
72280         * math/multc3.c: Likewise.
72281         * math/s_casin.c: Likewise.
72282         * math/s_casinf.c: Likewise.
72283         * math/s_casinl.c: Likewise.
72284         * math/s_ccos.c: Likewise.
72285         * math/s_ccosf.c: Likewise.
72286         * math/s_ccosl.c: Likewise.
72287         * math/s_ctan.c: Likewise.
72288         * math/s_ctanf.c: Likewise.
72289         * math/s_ctanh.c: Likewise.
72290         * math/s_ctanhf.c: Likewise.
72291         * math/s_ctanhl.c: Likewise.
72292         * math/s_ctanl.c: Likewise.
72293         * math/w_fmod.c: Likewise.
72294         * math/w_fmodf.c: Likewise.
72295         * math/w_fmodl.c: Likewise.
72296         * math/w_remainder.c: Likewise.
72297         * math/w_remainderf.c: Likewise.
72298         * math/w_remainderl.c: Likewise.
72299         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
72300         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
72301         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
72302         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
72303         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
72304         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
72305         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
72306         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
72308         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
72309         of the number.
72310         * stdio-common/printf_fphex.c: Likewise.
72311         * stdio-common/printf_size.c: Likewise.
72313         * math/e_exp10.c: Include math_private.h using <...> not "...".
72314         * math/e_exp10f.c: Likewise.
72315         * math/e_exp10l.c: Likewise.
72316         * math/e_exp2l.c: Likewise.
72317         * math/e_j0l.c: Likewise.
72318         * math/e_j1l.c: Likewise.
72319         * math/e_jnl.c: Likewise.
72320         * math/e_lgammal_r.c: Likewise.
72321         * math/e_rem_pio2l.c: Likewise.
72322         * math/e_scalb.c: Likewise.
72323         * math/e_scalbf.c: Likewise.
72324         * math/e_scalbl.c: Likewise.
72325         * math/k_cosl.c: Likewise.
72326         * math/k_sinl.c: Likewise.
72327         * math/k_tanl.c: Likewise.
72328         * math/s_cacoshf.c: Likewise.
72329         * math/s_catan.c: Likewise.
72330         * math/s_catanf.c: Likewise.
72331         * math/s_catanh.c: Likewise.
72332         * math/s_catanhf.c: Likewise.
72333         * math/s_catanhl.c: Likewise.
72334         * math/s_catanl.c: Likewise.
72335         * math/s_ccosh.c: Likewise.
72336         * math/s_ccoshf.c: Likewise.
72337         * math/s_ccoshl.c: Likewise.
72338         * math/s_cexp.c: Likewise.
72339         * math/s_cexpf.c: Likewise.
72340         * math/s_cexpl.c: Likewise.
72341         * math/s_clog.c: Likewise.
72342         * math/s_clog10.c: Likewise.
72343         * math/s_clog10f.c: Likewise.
72344         * math/s_clog10l.c: Likewise.
72345         * math/s_clogf.c: Likewise.
72346         * math/s_clogl.c: Likewise.
72347         * math/s_csin.c: Likewise.
72348         * math/s_csinf.c: Likewise.
72349         * math/s_csinh.c: Likewise.
72350         * math/s_csinhf.c: Likewise.
72351         * math/s_csinhl.c: Likewise.
72352         * math/s_csinl.c: Likewise.
72353         * math/s_csqrt.c: Likewise.
72354         * math/s_csqrtf.c: Likewise.
72355         * math/s_csqrtl.c: Likewise.
72356         * math/s_ctan.c: Likewise.
72357         * math/s_ctanf.c: Likewise.
72358         * math/s_ctanh.c: Likewise.
72359         * math/s_ctanhf.c: Likewise.
72360         * math/s_ctanhl.c: Likewise.
72361         * math/s_ctanl.c: Likewise.
72362         * math/s_ldexp.c: Likewise.
72363         * math/s_ldexpf.c: Likewise.
72364         * math/s_ldexpl.c: Likewise.
72365         * math/s_significand.c: Likewise.
72366         * math/s_significandf.c: Likewise.
72367         * math/s_significandl.c: Likewise.
72368         * math/w_acos.c: Likewise.
72369         * math/w_acosf.c: Likewise.
72370         * math/w_acosh.c: Likewise.
72371         * math/w_acoshf.c: Likewise.
72372         * math/w_acoshl.c: Likewise.
72373         * math/w_acosl.c: Likewise.
72374         * math/w_asin.c: Likewise.
72375         * math/w_asinf.c: Likewise.
72376         * math/w_asinl.c: Likewise.
72377         * math/w_atan2.c: Likewise.
72378         * math/w_atan2f.c: Likewise.
72379         * math/w_atan2l.c: Likewise.
72380         * math/w_atanh.c: Likewise.
72381         * math/w_atanhf.c: Likewise.
72382         * math/w_atanhl.c: Likewise.
72383         * math/w_cosh.c: Likewise.
72384         * math/w_coshf.c: Likewise.
72385         * math/w_coshl.c: Likewise.
72386         * math/w_dremf.c: Likewise.
72387         * math/w_exp10.c: Likewise.
72388         * math/w_exp10f.c: Likewise.
72389         * math/w_exp10l.c: Likewise.
72390         * math/w_exp2.c: Likewise.
72391         * math/w_exp2f.c: Likewise.
72392         * math/w_fmod.c: Likewise.
72393         * math/w_fmodf.c: Likewise.
72394         * math/w_fmodl.c: Likewise.
72395         * math/w_hypot.c: Likewise.
72396         * math/w_hypotf.c: Likewise.
72397         * math/w_hypotl.c: Likewise.
72398         * math/w_j0.c: Likewise.
72399         * math/w_j0f.c: Likewise.
72400         * math/w_j0l.c: Likewise.
72401         * math/w_j1.c: Likewise.
72402         * math/w_j1f.c: Likewise.
72403         * math/w_j1l.c: Likewise.
72404         * math/w_jn.c: Likewise.
72405         * math/w_jnf.c: Likewise.
72406         * math/w_jnl.c: Likewise.
72407         * math/w_lgamma.c: Likewise.
72408         * math/w_lgamma_r.c: Likewise.
72409         * math/w_lgammaf.c: Likewise.
72410         * math/w_lgammaf_r.c: Likewise.
72411         * math/w_lgammal.c: Likewise.
72412         * math/w_lgammal_r.c: Likewise.
72413         * math/w_log.c: Likewise.
72414         * math/w_log10.c: Likewise.
72415         * math/w_log10f.c: Likewise.
72416         * math/w_log10l.c: Likewise.
72417         * math/w_log2.c: Likewise.
72418         * math/w_log2f.c: Likewise.
72419         * math/w_log2l.c: Likewise.
72420         * math/w_logf.c: Likewise.
72421         * math/w_logl.c: Likewise.
72422         * math/w_pow.c: Likewise.
72423         * math/w_powf.c: Likewise.
72424         * math/w_powl.c: Likewise.
72425         * math/w_remainder.c: Likewise.
72426         * math/w_remainderf.c: Likewise.
72427         * math/w_remainderl.c: Likewise.
72428         * math/w_scalb.c: Likewise.
72429         * math/w_scalbf.c: Likewise.
72430         * math/w_scalbl.c: Likewise.
72431         * math/w_sinh.c: Likewise.
72432         * math/w_sinhf.c: Likewise.
72433         * math/w_sinhl.c: Likewise.
72434         * math/w_sqrt.c: Likewise.
72435         * math/w_sqrtf.c: Likewise.
72436         * math/w_sqrtl.c: Likewise.
72437         * math/w_tgamma.c: Likewise.
72438         * math/w_tgammaf.c: Likewise.
72439         * math/w_tgammal.c: Likewise.
72441         * po/ja.po: Update from translation team.
72443 2011-09-29  Andreas Jaeger  <aj@suse.de>
72445         [BZ #13179]
72446         * sunrpc/netname.c (netname2host): Fix logic.
72448         [BZ #6779]
72449         [BZ #6783]
72450         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
72451         correctly.
72452         * math/w_remainder.c (__remainder): Likewise.
72453         * math/w_remainderf.c (__remainderf): Likewise.
72454         * math/libm-test.inc (remainder_test): Add test cases.
72456 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
72458         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
72459         sdiv_qrnnd.
72461 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
72463         * string/test-memcmp.c: Avoid unncessary #defines.
72464         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
72466 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
72468         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
72469         Use new sse2 version for core i3 - i7 as it's faster
72470         than sse42 version.
72471         (bit_Prefer_PMINUB_for_stringop): New.
72472         * sysdeps/x86_64/rawmemchr.S: Update.
72473         Replace with faster SSE2 version.
72474         * sysdeps/x86_64/memrchr.S: New file.
72475         * sysdeps/x86_64/memchr.S: Update.
72476         Replace with faster SSE2 version.
72478 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
72480         * elf/dl-load.c (lose): Add cast to avoid warning.
72482 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
72484         * po/ca.po: Update from translation team.
72486         * inet/getnetgrent_r.c: Hook up nscd.
72487         * nscd/Makefile (routines): Add nscd_netgroup.
72488         (nscd-modules): Add netgroupcache.
72489         (CFLAGS-netgroupcache.c): Define.
72490         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
72491         (cache_search): Add const to second parameter.
72492         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
72493         INNETGR.
72494         (dbs): Add netgrdb entry.
72495         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
72496         (verify_persistent_db): Handle netgrdb.
72497         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
72498         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
72499         GETFDNETGR.
72500         (netgroup_response_header): Define.
72501         (innetgroup_response_header): Define.
72502         (datahead): Add netgroup_response_header and innetgroup_response_header
72503         elements.
72504         * nscd/nscd.conf: Add entries for netgroup cache.
72505         * nscd/nscd.h (dbtype): Add netgrdb.
72506         (_PATH_NSCD_NETGROUP_DB): Define.
72507         (netgroup_iov_disabled): Declare.
72508         (xmalloc, xcalloc, xrealloc): Move declarations here.
72509         (cache_search): Adjust prototype.
72510         Add netgroup-related prototypes.
72511         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
72512         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
72513         (__nscd_innetgr): Declare.
72514         * nscd/selinux.c (perms): Use access_vector_t as element type and
72515         add netgroup-related initializers.
72516         * nscd/netgroupcache.c: New file.
72517         * nscd/nscd_netgroup.c: New file.
72518         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
72519         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
72520         For four parameters use innetgr.
72521         * nss/nss_files/files-init.c: Add definition and callback for netgr.
72522         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
72523         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
72524         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
72526         * nscd/connections.c (register_traced_file): Don't register file
72527         for disabled databases.
72529 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
72531         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
72533         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
72534         from tree and freeing node.
72536 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
72538         * nss/nsswitch.c (__nss_database_lookup): Handle
72539         nss_parse_service_list out of memory case.
72541 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
72543         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
72544         out of memory case.
72546 2011-10-04  Andreas Schwab  <schwab@redhat.com>
72548         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
72549         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
72550         pass it down.
72551         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
72552         elf_machine_rela, elf_machine_lazy_rel.
72553         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
72554         (ELF_DYNAMIC_DO_REL): Likewise.
72555         (ELF_DYNAMIC_DO_RELA): Likewise.
72556         (ELF_DYNAMIC_RELOCATE): Likewise.
72557         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
72558         to ELF_DYNAMIC_DO_REL.
72559         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
72560         (dl_main): In trace mode always set __RTLD_NOIFUNC.
72561         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
72562         elf_machine_rela.
72563         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
72564         skip_ifunc, don't call ifunc function if non-zero.
72565         (elf_machine_rela): Likewise.
72566         (elf_machine_lazy_rel): Likewise.
72567         (elf_machine_lazy_rela): Likewise.
72568         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
72569         (elf_machine_lazy_rel): Likewise.
72570         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
72571         Likewise.
72572         (elf_machine_lazy_rel): Likewise.
72573         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
72574         Likewise.
72575         (elf_machine_lazy_rel): Likewise.
72576         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
72577         (elf_machine_lazy_rel): Likewise.
72578         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
72579         (elf_machine_lazy_rel): Likewise.
72580         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
72581         (elf_machine_lazy_rel): Likewise.
72582         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
72583         (elf_machine_lazy_rel): Likewise.
72584         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
72585         (elf_machine_lazy_rel): Likewise.
72586         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
72587         (elf_machine_lazy_rel): Likewise.
72589 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
72591         * nss/nss_files/files-init.c (_nss_files_init): Use static
72592         initialization for all the *_traced_file variables.
72594 2011-09-28  Andreas Schwab  <schwab@redhat.com>
72596         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
72598 2011-09-27  Roland McGrath  <roland@hack.frob.com>
72600         [BZ #13226]
72601         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
72603 2011-09-27  Andreas Schwab  <schwab@redhat.com>
72605         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
72606         Reread the line before reparsing it.
72608 2011-09-26  Andreas Schwab  <schwab@redhat.com>
72610         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
72612 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
72613             Maxim Kuvyrkov  <maxim@codesourcery.com>
72614             Joseph Myers  <joseph@codesourcery.com>
72616         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
72617         if needed for __stack_chk_guard.
72619 2011-09-19  Roland McGrath  <roland@hack.frob.com>
72621         * sysdeps/posix/spawni.c (script_execute): Always define it.
72622         It will be optimized away if unused.
72623         (maybe_script_execute): New function.
72624         (__spawni): Call it.
72626         * Makerules: Don't include tls.make.
72627         (config-tls): Always set to thread.
72628         * tls.make.c: File removed.
72630 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
72632         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
72633         * config.make.in (CPPFLAGS-config): New substituted variable.
72635 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
72637         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
72639         [BZ #13192]
72640         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
72641         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
72643 2011-09-15  Roland McGrath  <roland@hack.frob.com>
72645         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
72646         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
72647         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
72648         (CALL_FAIL): Likewise.
72649         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
72650         (CALL_FAIL): Macro removed.
72651         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
72653 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
72655         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
72656         for __FINITE_MATH_ONLY__ == 1.
72658 2011-09-15  Andreas Schwab  <schwab@redhat.com>
72660         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
72661         __ieee754_sqrt instead of sqrt.
72662         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
72663         __ieee754_sqrtf instead of sqrtf.
72664         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
72665         __floorf instead of floorf.
72666         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
72667         __floorf, __truncf instead of floorf, truncf.
72669 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
72671         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
72673         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
72674         __extern_always_inline.
72675         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
72676         32-bit.
72678 2011-09-14  Andreas Schwab  <schwab@redhat.com>
72680         * elf/rtld.c (dl_main): Also relocate in dependency order when
72681         doing symbol dependency testing.
72683 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
72685         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
72686         Always define `refsym'.
72688 2011-09-13  Andreas Schwab  <schwab@redhat.com>
72690         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
72691         (__FD_ELT): Renamed from __FDELT.
72692         * misc/bits/select2.h (__FD_ELT): Likewise.
72693         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
72694         __FD_MASK instead of __FDELT, __FDMASK.
72695         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
72696         Likewise.
72697         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
72698         Likewise.
72700         * elf/Makefile (gen-ldd): Fix pattern.
72702         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
72703         (init_tls): Likewise.
72705 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
72707         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
72709 2011-09-12  Andreas Schwab  <schwab@redhat.com>
72711         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
72712         `struct cmsghdr *' instead of `void *'.
72713         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
72714         Likewise.
72716 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
72718         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
72719         if non-absolute.
72720         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
72721         ldd_rewrite_script.
72723 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
72725         * configure.in: Remove --with-tls option.
72726         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
72727         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
72728         out in case it is missing.
72729         * sysdeps/ia64/elf/configure.in: Likewise.
72730         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
72731         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
72732         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
72733         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
72734         * sysdeps/sh/elf/configure.in: Likewise.
72735         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
72736         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
72737         * sysdeps/x86_64/elf/configure.in: Likewise.
72738         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
72739         * sysdeps/mach/hurd/tls.h: Likewise.
72741         [BZ #13067]
72742         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
72744         [BZ #13090]
72745         * configure.in: Fix use of AC_INIT.
72747         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
72749 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
72751         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
72752         __set_errno.
72753         * malloc/hooks.c: Likewise.
72755         [BZ #11929]
72756         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
72757         variables statically.
72758         (narenas): Initialize.
72759         (list_lock): Initialize.
72760         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
72761         initializtion of main_arena and list_lock.  Small cleanups.
72762         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
72763         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
72764         Add initializers to main_arena and mp_.
72765         (malloc_state): Remove pagesize member.  Change all users to use
72766         GLRO(dl_pagesize).
72768         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
72769         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
72770         is always initialized.
72772         * malloc/malloc.c: Removed unused configurations and dead code.
72773         * malloc/arena.c: Likewise.
72774         * malloc/hooks.c: Likewise.
72775         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
72777         * include/tls.h: Removed.  USE___THREAD must always be defined.
72778         * bits/libc-tsd.h: Don't handle !USE___THREAD.
72779         * elf/dl-libc.c: Likewise.
72780         * elf/dl-tsd.c: Likewise.
72781         * include/errno.h: Likewise.
72782         * include/netdb.h: Likewise.
72783         * include/resolv.h: Likewise.
72784         * inet/herrno-loc.c: Likewise.
72785         * inet/herrno.c: Likewise.
72786         * malloc/arena.c: Likewise.
72787         * malloc/hooks.c: Likewise.
72788         * malloc/malloc.c: Likewise.
72789         * resolv/res-state.c: Likewise.
72790         * resolv/res_libc.c: Likewise.
72791         * sysdeps/i386/dl-machine.h: Likewise.
72792         * sysdeps/ia64/dl-machine.h: Likewise.
72793         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
72794         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
72795         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
72796         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
72797         * sysdeps/sh/dl-machine.h: Likewise.
72798         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
72799         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
72800         * sysdeps/unix/i386/sysdep.S: Likewise.
72801         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
72802         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
72803         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
72804         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
72805         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
72806         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
72807         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
72808         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
72809         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
72810         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
72811         * sysdeps/unix/x86_64/sysdep.S: Likewise.
72812         * sysdeps/x86_64/dl-machine.h: Likewise.
72813         * tls.make.c: Likewise.
72815         * configure.in: Remove --with-__thread option.  Make tests for
72816         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
72817         tls_model attribute fail if no support is available.  Remove
72818         USE_IN_LIBIO.
72819         * Makeconfig: Adjust for dropped configure option.  All features are
72820         now mandatory.
72821         * Makerules: Likewise.
72822         * Versions.def: Likewise.
72823         * argp/argp-fmtstream.c: Likewise.
72824         * argp/argp-fmtstream.h: Likewise.
72825         * argp/argp-help.c: Likewise.
72826         * assert/assert.c: Likewise.
72827         * config.h.in: Likewise.
72828         * config.make.in: Likewise.
72829         * configure: Likewise.
72830         * configure.in: Likewise.
72831         * csu/Versions: Likewise.
72832         * csu/init.c: Likewise.
72833         * elf/tst-audit2.c: Likewise.
72834         * elf/tst-tls10.c: Likewise.
72835         * elf/tst-tls10.h: Likewise.
72836         * elf/tst-tls11.c: Likewise.
72837         * elf/tst-tls12.c: Likewise.
72838         * elf/tst-tls14.c: Likewise.
72839         * elf/tst-tlsmod11.c: Likewise.
72840         * elf/tst-tlsmod12.c: Likewise.
72841         * elf/tst-tlsmod13.c: Likewise.
72842         * elf/tst-tlsmod13a.c: Likewise.
72843         * elf/tst-tlsmod14a.c: Likewise.
72844         * elf/tst-tlsmod15b.c: Likewise.
72845         * elf/tst-tlsmod16a.c: Likewise.
72846         * elf/tst-tlsmod16b.c: Likewise.
72847         * elf/tst-tlsmod7.c: Likewise.
72848         * elf/tst-tlsmod8.c: Likewise.
72849         * elf/tst-tlsmod9.c: Likewise.
72850         * gmon/gmon.c: Likewise.
72851         * grp/fgetgrent_r.c: Likewise.
72852         * grp/putgrent.c: Likewise.
72853         * hurd/fopenport.c: Likewise.
72854         * include/libc-symbols.h: Likewise.
72855         * include/tls.h: Likewise.
72856         * intl/gettextP.h: Likewise.
72857         * intl/loadinfo.h: Likewise.
72858         * locale/global-locale.c: Likewise.
72859         * locale/localeinfo.h: Likewise.
72860         * mach/devstream.c: Likewise.
72861         * malloc/arena.c: Likewise.
72862         * malloc/set-freeres.c: Likewise.
72863         * misc/err.c: Likewise.
72864         * misc/getttyent.c: Likewise.
72865         * misc/mntent_r.c: Likewise.
72866         * posix/getopt.c: Likewise.
72867         * posix/wordexp.c: Likewise.
72868         * pwd/fgetpwent_r.c: Likewise.
72869         * resolv/Versions: Likewise.
72870         * resolv/res_hconf.c: Likewise.
72871         * shadow/fgetspent_r.c: Likewise.
72872         * shadow/putspent.c: Likewise.
72873         * stdio-common/printf_fphex.c: Likewise.
72874         * stdio-common/tmpfile.c: Likewise.
72875         * stdlib/abort.c: Likewise.
72876         * stdlib/fmtmsg.c: Likewise.
72877         * sunrpc/auth_unix.c: Likewise.
72878         * sunrpc/clnt_perr.c: Likewise.
72879         * sunrpc/clnt_tcp.c: Likewise.
72880         * sunrpc/clnt_udp.c: Likewise.
72881         * sunrpc/clnt_unix.c: Likewise.
72882         * sunrpc/openchild.c: Likewise.
72883         * sunrpc/svc_simple.c: Likewise.
72884         * sunrpc/svc_tcp.c: Likewise.
72885         * sunrpc/svc_udp.c: Likewise.
72886         * sunrpc/svc_unix.c: Likewise.
72887         * sunrpc/xdr.c: Likewise.
72888         * sunrpc/xdr_array.c: Likewise.
72889         * sunrpc/xdr_rec.c: Likewise.
72890         * sunrpc/xdr_ref.c: Likewise.
72891         * sunrpc/xdr_stdio.c: Likewise.
72893 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
72895         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
72897 2011-07-03  Andreas Jaeger  <aj@suse.de>
72899         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
72900         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
72901         regenerate with gen-libm-tests.pl.
72903 2010-05-12  Petr Baudis  <pasky@suse.cz>
72905         [BZ #11589]
72906         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
72907         around j0() zero points by switching to j1().
72908         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
72909         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
72910         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
72911         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
72913 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
72915         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
72916         instead of 0.
72917         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
72918         instead of 0.
72919         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
72920         Patch in part by Pavel Roskin <proski@gnu.org>.
72922         [BZ #13138]
72923         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
72924         realloc.
72925         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
72926         Free memory block if necessary.
72928         [BZ #12847]
72929         * libio/genops.c (INTDEF): For string streams the _lock pointer can
72930         be NULL.  Don't lock in this case.
72932 2011-09-09  Roland McGrath  <roland@hack.frob.com>
72934         * elf/elf.h (ELFOSABI_GNU): New macro.
72935         (ELFOSABI_LINUX): Define to that.
72937 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
72939         * string/strncat.c (strncat): Undef the symbol in case it has been
72940         defined in bits/string.h.
72942 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
72944         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
72946         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
72947         link map.
72949 2011-08-17  Andreas Jaeger  <aj@suse.de>
72951         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
72953 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
72954             Ian Lance Taylor  <iant@google.com>
72956         * math/libm-test.inc (lround_test): New testcase.
72957         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
72959 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
72961         * Makefile: Remove support for automatic cvs check-ins.
72962         * Makerules: Likewise.
72963         * config.make.in: Likewise.
72964         * configure.in: Likewise.
72965         * intl/Makefile: Likewise.
72966         * locale/Makefile: Likewise.
72967         * po/Makefile: Likewise.
72968         * posix/Makefile: Likewise.
72969         * sysdeps/gnu/Makefile: Likewise.
72970         * sysdeps/mach/hurd/Makefile: Likewise.
72971         * sysdeps/sparc/sparc32/Makefile: Likewise.
72973         [BZ #13118]
72974         * posix/Makefile (bug-regex32-ENV): Define.
72975         Patch by John Stanley <jpsinthemix@verizon.net>.
72977         * misc/Makefile (headers): Add bits/select2.h.
72978         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
72979         * misc/bits/select2.h: New file.
72980         * include/bits/select2.h: New file.
72981         * debug/Makefile (routines): Add fdelt_chk.
72982         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
72983         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
72984         FD_ISSET.
72985         * debug/fdelt_chk.c: New file.
72987         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
72988         * wcsmbs/test-wmemcmp.c: Likewise.
72989         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
72990         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
72992 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
72994         * string/Makefile (strop-tests): Add memcmp.
72995         * string/test-wmemcmp.c: New file.
72996         * string/test-memcmp.c: Add wmemcmp support.
72998 2011-09-08  Roland McGrath  <roland@hack.frob.com>
73000         [BZ #13153]
73001         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
73002         2011-07-19 change.
73004         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
73005         garbage value in a __mach_port_mod_refs call in the cases of the
73006         task-self and thread-self ports.
73008 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
73010         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
73012 2011-09-08  Andreas Schwab  <schwab@redhat.com>
73014         * elf/dl-load.c (lose): Check for non-null L.
73016 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
73018         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
73020         * elf/dl-libc.c (dlerror_run): Pass back error code from
73021         dl_catch_error.
73023         [BZ #13123]
73024         * elf/dl-load.c (lose): Free l_origin if it is valid.
73026         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
73027         names.
73028         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
73029         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
73030         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
73031         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
73032         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
73033         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
73035 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
73037         * sysdeps/powerpc/fpu/e_hypot.c: New file.
73038         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
73039         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
73040         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
73041         * sysdeps/powerpc/fpu/k_cosf.c: New file.
73042         * sysdeps/powerpc/fpu/k_sinf.c: New file.
73043         * sysdeps/powerpc/fpu/s_cosf.c: New file.
73044         * sysdeps/powerpc/fpu/s_sinf.c: New file.
73045         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
73046         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
73048 2011-08-15  Alan Modra  <amodra@gmail.com>
73050         [BZ #13092]
73051         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
73052         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
73053         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
73054         ppc_mcount to static-only-routines.
73055         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
73056         __mcount_internal.
73057         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
73058         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
73060 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
73062         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
73063         for finite and infinity parameters.
73065 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
73067         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
73068         and add nop instructions for throughput optimization.
73069         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
73071 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
73073         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
73074         aligned copy for power7 with vector-scalar instructions.
73075         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
73077 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
73079         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
73080         AVX check.
73082 2011-09-07  Andreas Schwab  <schwab@redhat.com>
73084         [BZ #13144]
73085         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
73086         last change.
73088 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
73090         * sysdeps/unix/sysv/linux/x86_64/init-first.c
73091         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
73092         syscall wrapper around clock_gettime in __vdso_clock_gettime.
73093         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
73094         clock_gettime.
73096 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
73098         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
73099         Forgot to demangle the pointer.
73101         * sysdeps/i386/sysdep.h: Define atom_text_section.
73102         * sysdeps/x86_64/sysdep.h: Likewise.
73103         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
73104         section with atom_text_section.
73105         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
73106         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
73107         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
73108         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
73109         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
73111         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
73112         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
73113         already be defined.  Change to take two parameters and don't assign
73114         result to variable.  Adjust all users.
73115         Define INTERNAL_GETTIME if not already defined.
73116         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
73117         call.
73118         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
73119         HAVE_CLOCK_GETTIME_VSYSCALL.
73120         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
73122         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
73123         gettimeofday vsyscall, just use time.
73125 2011-09-06  Andreas Schwab  <schwab@redhat.com>
73127         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
73128         <errno.h>.
73130 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
73132         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
73133         syscall on x86-64.
73134         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
73135         syscall.
73136         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
73137         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
73138         syscall if possible.
73140 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
73142         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
73143         e_ident.  Don't pass to find_mapsXX.
73144         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
73146 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
73148         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
73149         strchr-sse2-no-bsf strrchr-sse2-no-bsf
73150         * sysdeps/x86_64/multiarch/strchr.S: Update.
73151         Check bit_slow_BSF bit.
73152         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
73153         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
73154         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
73156 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
73158         [BZ #13134]
73159         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
73160         before glibc 2.15.
73161         (tryshell): Define.
73162         (__spawni): Change last parameter to be flag.  Test
73163         SPAWN_XFLAGS_USE_PATH flag to use path or not.
73164         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
73165         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
73166         * posix/spawni.c: Likewise.
73167         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
73168         * posix/spawnp.c: Likewise.  Change normal version to use
73169         SPAWN_XFLAGS_USE_PATH.
73170         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
73171         SPAWN_XFLAGS_TRY_SHELL.
73173         [BZ #13150]
73174         * posix/glob.h: Remove gcc 1.x support.
73176         [BZ #13068]
73177         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
73179 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
73181         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
73182         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
73183         strrchr-sse2-bsf
73184         * sysdeps/i386/i686/multiarch/strchr.S: New file.
73185         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
73186         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
73187         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
73188         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
73189         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
73191 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
73193         * sysdeps/x86_64/wcscmp.S: New file.
73195         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
73196         wcscmp-c wcscmp-sse2
73197         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
73198         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
73199         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
73200         * wcsmbs/wcscmp.c: Allow renaming.
73202 2011-09-05  David S. Miller  <davem@davemloft.net>
73204         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
73205         stack slot, rather than the struct return pointer slot.
73206         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
73207         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
73208         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
73209         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
73211 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
73213         * po/ja.po: Update from translation team.
73215         [BZ #13144]
73216         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
73217         kernel in 64-bit binaries.
73219 2011-09-01  David S. Miller  <davem@davemloft.net>
73221         * elf/elf.h (HWCAP_SPARC_*): Move to..
73222         * sysdeps/sparc/sysdep.h: this new file and add new values.
73223         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
73224         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
73225         _DL_HWCAP_COUNT to 24.
73226         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
73227         entries.
73228         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
73229         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
73230         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
73231         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
73232         instead of magic constants.
73233         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
73235 2011-08-31  David S. Miller  <davem@davemloft.net>
73237         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
73238         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
73239         Reimplement to do errno handling inline.
73240         (SYSCALL_ERROR_HANDLER): New macro.
73241         (__SYSCALL_STRING): Do not do errno handling in asm.
73242         (__CLONE_SYSCALL_STRING): Delete.
73243         (__INTERNAL_SYSCALL_STRING): Delete.
73244         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
73245         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
73246         (PSEUDO): Reimplement to do errno handling inline.
73247         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
73248         (SYSCALL_ERROR_HANDLER): New macro.
73249         (__SYSCALL_STRING): Do not do errno handling in asm.
73250         (__CLONE_SYSCALL_STRING): Delete.
73251         (__INTERNAL_SYSCALL_STRING): Delete.
73252         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
73253         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
73254         i386.
73255         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
73256         (inline_syscall*): Add 'err' argument.
73257         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
73258         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
73259         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
73260         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
73262         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
73263         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
73265 2011-08-30  Andreas Schwab  <schwab@redhat.com>
73267         * elf/rtld.c (dl_main): Relocate objects in dependency order.
73269 2011-08-29  Jiri Olsa <jolsa@redhat.com>
73271         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
73272         directive.
73274 2011-08-24  David S. Miller  <davem@davemloft.net>
73276         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
73278 2011-08-24  Andreas Schwab  <schwab@redhat.com>
73280         * elf/Makefile: Add rules to build and run unload8 test.
73281         * elf/unload8.c: New file.
73282         * elf/unload8mod1.c: New file.
73283         * elf/unload8mod1x.c: New file.
73284         * elf/unload8mod2.c: New file.
73285         * elf/unload8mod3.c: New file.
73287         * elf/dl-close.c (_dl_close_worker): Reset private search list if
73288         it wasn't used.
73290 2011-08-23  David S. Miller  <davem@davemloft.net>
73292         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
73293         subtract stack bias.
73294         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
73295         %sp not %fp in calculations.
73296         (_JMPBUF_UNWINDS_ADJ): Likewise.
73298         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
73299         (aio_suspend): Call it to force an exception region around the
73300         AIO_MISC_WAIT() invocation.
73302 2011-08-23  Andreas Schwab  <schwab@redhat.com>
73304         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
73305         backslash.
73307 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
73309         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
73310         protection macro.
73311         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
73312         and <dl-machine.h>.
73313         (Elf64_FuncDesc): Remove.
73315 2011-08-22  David S. Miller  <davem@davemloft.net>
73317         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
73318         sigaltstack check, add missing cfi directives.
73319         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
73320         missing cfi directives, and sigaltstack handling.
73322 2011-08-16  Andreas Schwab  <schwab@redhat.com>
73324         [BZ #11724]
73325         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
73326         object is seen twice.
73327         * elf/dl-fini.c (_dl_sort_fini): Likewise.
73329         * elf/Makefile (distribute): Add tst-initorder2.c.
73330         (tests): Add tst-initorder2.
73331         (modules-names): Add tst-initorder2a tst-initorder2b
73332         tst-initorder2c tst-initorder2d.  Add rules to build them.
73333         ($(objpfx)tst-initorder2.out): New rule.
73334         * elf/tst-initorder2.c: New file.
73335         * elf/tst-initorder2.exp: New file.
73337 2011-08-22  Andreas Schwab  <schwab@redhat.com>
73339         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
73341         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
73342         dependencies back to end of function.
73344         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
73345         $(elfobjdir)/ld.so.
73347 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
73349         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
73350         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
73351         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
73352         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
73353         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
73354         of __vdso_gettimeofday.
73355         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
73356         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
73357         attribute_hidden.
73358         (_libc_vdso_platform_setup): Remove initialization of
73359         __vdso_gettimeofday and __vdso_time.
73361 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
73363         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
73364         and fgetc_unlocked.
73365         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
73366         getc_unlocked.
73368         * elf/dl-open.c (add_to_global): Report additions to the global scope
73369         for LD_DEBUG=scopes.
73370         (dl_open_worker): Also print scope of newly loaded dependencies.
73371         (_dl_show_scope): Indicate if there is no scope.
73373         [BZ #13114]
73374         * stdio-common/Makefile (tests): Add bug24.
73375         * stdio-common/bug24.c: New file.
73377 2011-08-19  Andreas Jaeger  <aj@suse.de>
73379         [BZ #13114]
73380         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
73381         non-existant file when using close-on-exec mode.
73383 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
73385         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
73386         the very first instruction.
73388         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
73389         the CFI state in the end.
73390         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
73391         inclusion of dl-trampoline.h.
73392         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
73394 2011-08-19  Andreas Schwab  <schwab@redhat.com>
73396         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
73397         expectations for long double.
73399         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
73400         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
73402 2011-08-14  David S. Miller  <davem@davemloft.net>
73404         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
73405         artificual limit depends upon the system page size.
73407 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
73409         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
73410         * resolv/Makefile: Define CFLAGS-libresolv.
73412 2011-08-17  Andreas Schwab  <schwab@redhat.com>
73414         * nss/makedb.c (compute_tables): Make variables used in nested
73415         function static.
73417 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
73419         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
73420         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
73421         if buffer was too small.
73423         * elf/pldd.c (main): Attach to all threads in the process.
73424         Rewrite /proc handling to use *at functions.
73426 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
73428         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
73429         specifies first scope to show.
73430         (dl_open_worker): Update callers.  Move printing scope of new
73431         object to before the relocation.
73432         * elf/rtld.c (dl_main): Update _dl_show_scope call.
73433         * sysdeps/generic/ldsodefs.h: Update declaration.
73435         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
73436         string for the scope number.
73438 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
73440         * nscd/servicescache.c (cache_addserv): Make sure written is always
73441         initialized.
73443 2011-08-14  Roland McGrath  <roland@hack.frob.com>
73445         * sysdeps/i386/i486/bits/atomic.h
73446         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
73447         statement expression, so as to suppress "set but not used" warning.
73448         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
73450         * string/strncat.c (STRNCAT): Use prototype definition.
73452         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
73453         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
73454         -Iprograms here.
73455         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
73456         (localedef-modules): Add localedef.
73457         (locale-modules): Add locale.
73459         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
73460         * elf/rtld.c (dl_main): Invert order of assignment in last change,
73461         to avoid a warning.
73463 2011-08-14  David S. Miller  <davem@davemloft.net>
73465         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
73466         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
73468 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
73470         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73471         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
73472         * elf/rtld.c (dl_main): Set l_name of vDSO.
73473         Call _dl_show_scope when DL_DEBUG_SCOPES.
73474         (process_dl_debug): Recognize scopes flag and also set it for all.
73475         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
73476         Declare _dl_show_scope.
73478         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
73479         (do_dlopen): Pass caller_dlopen to dl_open.
73480         (__libc_dlopen_mode): Initialize caller_dlopen.
73482         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
73483         of libc.  Make tolower call locale-independent.  Optimize a bit by
73484         using isdigit instead of isalnum.
73485         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
73487 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
73489         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
73490         was a dependency or dynamically loaded.
73492 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
73494         * intl/l10nflist.c: Allow architecture-specific pop function.
73495         * sysdeps/x86_64/l10nflist.c: New file.
73497         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
73498         classification.
73500 2011-08-10  Andreas Schwab  <schwab@redhat.com>
73502         * include/dirent.h: Add libc_hidden_proto for scandirat and
73503         scandirat64.  Don't declare __scandirat64.
73504         * dirent/scandirat.c: Add libc_hidden_def.
73505         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
73506         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
73508 2011-08-10  David S. Miller  <davem@davemloft.net>
73510         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
73511         enum.
73512         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
73513         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
73514         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
73516 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
73518         * Versions.def [libc]: Add GLIBC_2.15.
73519         * dirent/Makefile (routines): Add scandirat and scandirat64.
73520         * dirent/Versions [libc]: Export scandirat and scandirat64 for
73521         GLIBC_2.15.
73522         * dirent/dirent.h: Declare scandirat and scandirat64.
73523         * dirent/scandirat.c: New file.
73524         * dirent/scandirat64.c: New file.
73525         * sysdeps/wordsize-64/scandirat.c: New file.
73526         * sysdeps/wordsize-64/scandirat64.c: New file.
73527         * dirent/opendir.c: Define opendirat.
73528         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
73529         using scandirat.
73530         * dirent/scandir64.c: Adjust for scandir.c change.
73531         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
73532         __scandirat64, and __scandir_cancel_handler.
73533         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
73534         additional parameter and use openat instead of open (outside of ld.so).
73535         Add new __opendir as wrapper around __opendirat.
73536         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
73537         here without requiring old scandirat implementation.
73539 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
73541         * dirent/scandir.c (cancel_handler): Renamed to
73542         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
73543         defined.  Adjust users.
73544         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
73545         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
73547 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
73549         * string/test-string.h (IMPL): Use __STRING to expand name and then
73550         stringify it.
73552         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
73553         of cleanups.
73555 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
73557         * string/Makefile: Update.
73558         (strop-tests): Append strncat.
73559         * string/test-wcscmp.c: New file.
73560         New comprehensive test for wcscmp.
73561         * string/test-strcmp.c: Update.
73562         (WIDE): New define.
73564 2011-07-22  Andreas Schwab  <schwab@redhat.com>
73566         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
73567         line.
73569 2011-07-26  Andreas Schwab  <schwab@redhat.com>
73571         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
73572         encoding to ACE if AI_IDN.
73574 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
73576         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
73577         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
73579 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
73581         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
73582         Fix overflow bug in strncat.
73583         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
73585         * string/test-strncat.c: Update.
73586         Add new tests for checking overflow bugs.
73588 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
73590         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
73591         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
73592         * sysdeps/i386/i686/multiarch/strcat.S: New file.
73593         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
73594         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
73595         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
73596         * sysdeps/i386/i686/multiarch/strncat.S: New file.
73597         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
73598         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
73600         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
73601         (USE_AS_STRCAT): Define.
73602         Add strcat and strncat support.
73603         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
73605 2011-07-25  Andreas Schwab  <schwab@redhat.com>
73607         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
73608         __n bigger than INT_MAX+1.
73609         (__strncmp_g): Likewise.
73611 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
73613         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
73614         * libio/stido.h: Likewise.
73616         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
73617         (AF_NFC): Define.
73618         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
73619         (AF_NFC): Define.
73621         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
73622         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
73623         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
73624         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
73625         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
73627         [BZ #13021]
73628         * scripts/test-installation.pl: Don't expect libnss_test1 to be
73629         installed.
73631         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
73632         typo.
73633         (_dl_x86_64_save_sse): Likewise.
73635 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
73637         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
73638         OSXSAVE.
73639         (_dl_x86_64_save_sse): Likewise.
73641         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
73643         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
73645 2011-07-21  Andreas Schwab  <schwab@redhat.com>
73647         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
73648         change.
73649         (_dl_x86_64_save_sse): Use correct AVX check.
73651 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
73653         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
73654         bug in strncpy/strncat.
73655         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
73657 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
73659         * string/tester.c (test_strcat): Add tests for different alignments
73660         of source and destination.
73661         (test_strncat): Likewise.
73663 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
73665         [BZ #12852]
73666         * posix/glob.c (glob): Check passed in values before using them in
73667         expressions to avoid some overflows.
73668         (glob_in_dir): Likewise.
73670         [BZ #13007]
73671         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
73672         check for AVX enablement so that we don't crash with old kernels and
73673         new hardware.
73674         * elf/tst-audit4.c: Add same checks here.
73675         * elf/tst-audit6.c: Likewise.
73677         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
73679 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
73681         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
73683 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
73685         * po/cs.po: Update from translation team.
73686         * po/bg.po: Likewise.
73688 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
73690         * misc/sys/cdefs.h: Add support for const attribute.
73691         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
73692         to gnu_dev_{major,minor,makedev} functions.
73694 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
73696         * intl/dcigettext.c (get_output_charset): Add missing bracket.
73698 2011-07-20  Andreas Schwab  <schwab@redhat.com>
73700         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
73701         strlen results.
73703 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
73705         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
73706         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
73707         register in order to avoid conflicts with the soft frame pointer
73708         being held in r11 when necessary.
73709         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
73710         (INTERNAL_VSYSCALL_NCS): Likewise.
73712 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
73714         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
73715         * elf/dl-fini.c (_dl_fini): Adjust caller.
73716         * elf/dl-close.c (_dl_close_worker): Likewise.
73717         * sysdeps/generic/ldsodefs.h: Adjust declaration.
73719 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
73721         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
73722         "aux_cache->nlibs < 0".
73724         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
73725         in the reload-count case.
73727 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
73729         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
73730         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
73731         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
73732         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
73733         * sysdeps/x86_64/multiarch/strcat.S: New file.
73734         * sysdeps/x86_64/multiarch/strncat.S: New file.
73735         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
73736         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
73737         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
73738         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
73739         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
73740         (USE_AS_STRCAT): Define.
73741         Add strcat and strncat support.
73742         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
73743         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
73744         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
73745         * string/strncat.c: Update.
73746         (USE_AS_STRNCAT): Define.
73747         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
73748         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
73749         and i7.
73750         * sysdeps/x86_64/multiarch/init-arch.h
73751         (bit_Prefer_PMINUB_for_stringop): New.
73752         (index_Prefer_PMINUB_for_stringop): Likewise.
73753         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
73754         bit_Prefer_PMINUB_for_stringop.
73756 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
73758         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
73759         buffer64.
73760         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
73761         of casting of buffer.
73762         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
73763         buffer32 and buffer64.
73764         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
73765         writes instead of casting of buffer.
73766         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
73767         buffer32.
73768         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
73769         casting of buffer.
73771 2011-07-19  Andreas Schwab  <schwab@redhat.com>
73773         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
73775 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
73777         * nscd/nscd.c (termination_handler): Don't do anything for a database
73778         if it has not yet been initialized.
73780 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
73782         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
73784 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
73786         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
73788 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
73790         * po/nl.po: Update from translation team.
73791         * po/sv.po: Likewise.
73793 2011-07-16  Roland McGrath  <roland@hack.frob.com>
73795         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
73796         now disallowed by GCC.
73798         * configure.in (use-default-link): Default to yes if a test -shared
73799         link meets our qualifications.
73800         * configure: Regenerated.
73802         * config.make.in (output-format): New variable.
73803         * configure.in: Check for ld --print-output-format support.
73804         * configure: Regenerated.
73805         * Makerules ($(common-objpfx)format.lds)
73806         [$(output-format) != unknown]: Just use $(output-format),
73807         instead of the linker-script munging.
73809 2011-07-14  Roland McGrath  <roland@hack.frob.com>
73811         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
73812         of $(common-objpfx)shlib.lds.
73813         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
73815         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
73816         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
73818         * configure.in (-z relro check): Adjust test code to add a large
73819         writable data section after it.
73820         * configure: Regenerated.
73822 2011-07-11  Roland McGrath  <roland@hack.frob.com>
73824         * configure.in (-z relro check): Fix test code to make the variable
73825         truly const.
73826         * configure: Regenerated.
73828 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
73830         * nscd/nscd.h (struct traced_file): Define.
73831         (struct database_dyn): Remove inotify_descr, reset_res, and filename
73832         elements.  Add traced_files.
73833         (inotify_fd): Declare.
73834         (register_traced_file): Declare.
73835         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
73836         (inotify_fd): Export.
73837         (resolv_conf_descr): Remove.
73838         (nscd_init): Move inotify descriptor creation to main.
73839         Don't register files for notification here.
73840         (register_traced_file): New function.
73841         (invalidate_cache): Don't use reset_res to determine whether to call
73842         res_init, go through the list of registered files.
73843         (main_loop_poll): The inotify descriptors are now stored in the
73844         structures for the traced files.
73845         (main_loop_epoll): Likewise.
73846         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
73847         to __nss_disable_nscd.
73848         * nscd/cache.c (prune_cache): There is no single inotify descriptor
73849         for a database anymore.  Check the records for all the registered
73850         files instead.
73851         * nss/Makefile (libnss_files-routines): Add files-init.
73852         (libnss_db-routines): Add db-init.
73853         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
73854         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
73855         * nss/nss_db/db-init.c: New file.
73856         * nss/nss_files/files-init.c: New file.
73857         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
73858         __nss_lookup_function.
73859         (__nss_lookup_function): Call nss_load_library.
73860         (nss_load_all_libraries): New function.
73861         (__nss_disable_nscd): Take parameter with callback function for files
73862         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
73863         used for the cached services.
73864         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
73865         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
73866         options for features to all the files in nscd.
73868         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
73870 2011-07-10  Roland McGrath  <roland@hack.frob.com>
73872         * csu/elf-init.c (__libc_csu_init): Comment typo.
73874 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
73876         * po/pl.po: Update from translation team.
73877         * po/ja.po: Likewise.
73878         * po/ru.po: Likewise.
73879         * po/ko.po: Likewise.
73880         * po/fr.po: Likewise.
73882 2011-07-09  Roland McGrath  <roland@hack.frob.com>
73884         * configure.in (.ctors/.dtors header and trailer check):
73885         Use an empirical test on a built program.
73886         * configure: Regenerated.
73888         * configure.in (-z relro check): Use an empirical test on a built DSO.
73889         Detect, but do not require, on ia64.
73890         * configure: Regenerated.
73892         * configure.in (READELF): Find it with AC_CHECK_TOOL.
73893         Update tests that use readelf to use $READELF instead.
73894         * configure: Regenerated.
73896 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
73898         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
73899         if the result is not used.
73901 2011-07-05  Andreas Jaeger  <aj@suse.de>
73903         [BZ#9696]
73904         * stdlib/tst-strtod.c: Add testcase.
73906 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
73908         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
73909         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
73910         The latter has a higher limit.  Take additional parameter to pass to
73911         the new function.
73912         (__pathconf): Pass file to __statfs_link_max.
73913         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
73914         __statfs_link_max.
73915         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
73916         __statfs_link_max.
73918         [BZ #12868]
73919         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
73920         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
73921         Handle Lustre.
73922         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
73923         (__statfs_filesize_max): Likewise.
73924         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
73926 2011-07-05  Andreas Jaeger  <aj@suse.de>
73928         * resolv/res_comp.c (dn_skipname): Remove unused variable.
73930 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
73932         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
73933         `status' variable.
73934         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
73935         Likewise.
73937 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
73939         * Makefile (strop-tests): Add strncat.
73940         * string/test-strncat.c: New file.
73942 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
73944         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
73946 2011-06-21  Andreas Jaeger  <aj@suse.de>
73948         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
73949         Copy rule from iconvdata/Makefile.
73951 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
73953         [BZ #12922]
73954         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
73955         but no long options are defined, just return 'W'.
73957 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
73959         [BZ #9696]
73960         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
73962 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
73964         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
73965         netgroups to read.
73966         (innetgr): Likewise.
73968 2011-07-05  Roland McGrath  <roland@hack.frob.com>
73970         * config.make.in (install_root): Default to $(DESTDIR).
73972 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
73974         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
73976 2011-07-02  Roland McGrath  <roland@hack.frob.com>
73978         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
73980         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
73981         containing directory rather than embedding absolute directory names.
73983         * scripts/check-local-headers.sh: Rewritten using awk.
73984         Match by word, not by line.  Print error messages for matches.
73985         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
73987         * Makerules [shlib-lds-flags empty]:
73988         ($(common-objpfx)libc_pic.opts): New target.
73989         ($(common-objpfx)libc_pic.os.clean): New target.
73990         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
73992         * config.make.in (OBJCOPY): New variable.
73993         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
73994         * configure: Regenerated.
73996         * config.make.in (use-default-link): New variable.
73997         * configure.in (use_default_link): Grok --with-default-link to set it.
73998         * configure: Regenerated.
73999         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
74000         (shlib-lds, shlib-lds-flags): Define to empty.
74002         * Makerules (shlib-lds): New variable.
74003         (shlib-lds-flags): New variable.
74004         (build-shlib, build-moduile, build-module-asneeded): Use it.
74005         ($(common-objpfx)libc.so): Use $(shlib-lds).
74006         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
74007         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
74009         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
74010         DT_FLAGS/DT_FLAGS_1 with zero flags.
74012         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
74013         linker script munging.
74015 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
74017         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
74018         as 128-bit value.
74019         * crypt/sha512.c (sha512_process_block): Perform total addition using
74020         128-bit if possible.
74021         (__sha512_finish_ctx): Likewise.
74022         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
74023         as 64-bit value.
74024         * crypt/sha256.c (SWAP64): Define.
74025         (sha256_process_block): Perform total addition using 64-bit if
74026         possible.
74027         (__sha256_finish_ctx): Likewise.
74029 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
74031         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
74032         * nscd/initgrcache.c (addinitgroupsX): Likewise.
74033         * nscd/hstcache.c (cache_addhst): Likewise.
74034         * nscd/grpcache.c (cache_addgr): Likewise.
74035         * nscd/aicache.c (addhstaiX): Likewise.
74036         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
74038 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
74040         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
74041         * nscd/initgrcache.c (addinitgroupsX): Likewise.
74042         * nscd/hstcache.c (cache_addhst): Likewise.
74043         * nscd/grpcache.c (cache_addgr): Likewise.
74044         * nscd/aicache.c (addhstaiX): Likewise.
74046 2011-07-01  Andreas Schwab  <schwab@redhat.com>
74048         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
74049         domain only when needed.
74051 2011-06-30  Andreas Schwab  <schwab@redhat.com>
74053         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
74054         is always restored.
74056 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
74058         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
74059         are re-adding the entry.
74060         * nscd/servicescache.c (cache_addserv): Likewise.
74062 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
74064         * sysdeps/generic/dl-irel.h: fix protection against multiple
74065         inclusions.
74066         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
74068 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
74070         [BZ #12935]
74071         * malloc/memusage.sh: Fix quoting in message.
74072         * debug/xtrace.sh: Likewise.
74074         * configure.in: Remove support for --experimental-malloc option, make
74075         it the default.
74076         * config.make.in: Likewise.
74077         * malloc/Makefile: Likewise.
74079 2011-06-27  Andreas Schwab  <schwab@redhat.com>
74081         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
74082         two-byte characters.
74084 2011-06-27  Roland McGrath  <roland@hack.frob.com>
74086         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
74087         AC_CACHE_CHECK invocation.
74088         * configure: Regenerated.
74090         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
74092 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
74094         [BZ #12350]
74095         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
74096         bit from old_res_options.
74098         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
74100         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
74101         value type for setfct.
74103 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
74105         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
74106         __gettimeofday instead of gettimeofday.
74108 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
74110         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
74112 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
74114         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
74116         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
74117         info.
74119 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
74121         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
74122         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
74123         strcpy-sse2-unaligned strncpy-sse2-unaligned
74124         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
74125         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
74126         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
74127         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
74128         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
74129         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
74130         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
74131         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
74132         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
74133         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
74134         (STRCPY): Support SSE2 and SSSE3 versions.
74136 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
74138         [BZ #12874]
74139         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
74140         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
74141         kernels which artificially limit size of requests.
74143 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
74145         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
74146         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
74147         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
74148         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
74149         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
74150         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
74151         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
74152         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
74153         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
74154         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
74155         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
74156         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
74157         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
74158         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
74159         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
74160         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
74161         Enable unaligned load optimization for Intel Core i3, i5 and i7
74162         processors.
74163         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
74164         Define.
74165         (index_Fast_Unaligned_Load): Define.
74166         (HAS_FAST_UNALIGNED_LOAD): Define.
74168 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
74170         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
74172 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
74174         [BZ #12907]
74175         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
74176         until it is clear that the information is realy needed.
74177         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
74179 2011-06-22  Andreas Schwab  <schwab@redhat.com>
74181         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
74183 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
74185         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
74186         /sys/devices/system/cpu/online if it is usable.
74188         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
74189         reading the information from the /proc filesystem to once a second.
74191 2011-06-21  Andreas Jaeger  <aj@suse.de>
74193         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
74194         NULL after inclusion of kernel headers.
74196 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
74198         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
74199         calls to internal_setent.
74201         [BZ #12885]
74202         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
74203         addresses using gethostbyname4_r ignore IPv4 addresses.
74205         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
74206         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
74208         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
74210 2011-06-20  David S. Miller  <davem@davemloft.net>
74212         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
74213         inclusions.
74214         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
74216         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
74217         (elf_irel): Use it.
74218         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
74219         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
74220         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
74221         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
74222         * sysdeps/x86_64/dl-irel.h: Likewise.
74224         * elf/dl-runtime.c: Use elf_ifunc_invoke.
74225         * elf/dl-sym.c: Likewise.
74227 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
74229         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
74230         need to dereference resplen2.
74232 2011-06-14  Andreas Schwab  <schwab@redhat.com>
74234         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
74236 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
74238         * Makeconfig: Define vardbdir and inst_vardbdir.
74239         * nss/Makefile: Add rules to install db-Makefile.
74241         * nss/nss_db/db-XXX.c: Cleanup.
74243         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
74244         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
74245         GLIBC_PRIVATE.
74246         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
74247         * nss/makedb.c: Implement -g option to specify that value strings
74248         are generated and should not be added to table iterated over for
74249         get*ent calls.
74250         * nss/nss_db/db-initgroups.c: New file.
74252         * nss/getent.c: Add support for initgroups lookups through getgrouplist
74253         interface.
74255         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
74256         (internal_getgrouplist): Adjust to name change.
74257         Update use_initgroups_entry if this is not the first call.
74258         * nss/databases.def: Add initgroups entry.
74260         * nss/makedb.c (compute_tables): Check result of multiple hash table
74261         sizes to minimize maximum chain length.
74263 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
74265         * Versions.def: Add entry for libnss_db.
74266         * shlib-versions: Likewise.
74267         * nss/Makefile: Add rules to build libnss_db.
74268         * nss/Versions: Add libnss_db information.  Organize libnss_files
74269         entries better.
74270         * nss/db-Makefile: Add gshadow support.  Change rules for the new
74271         makedb progra.  Some minor improvements to generate smaller files.
74272         * nss/nss_db/nss_db.h: Move NSS database header data structures to
74273         here from...
74274         * nss/makedb.c: ...here.
74275         Improve database format to be smaller and require less memory at
74276         runtime.
74277         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
74278         db anymore.
74279         * nss/nss_db/db-netgrp.c: Likewise.
74280         * nss/nss_db/db-open.c: Likewise.
74281         * nss/nss_files/flies-XXX.x: Adjust comments.
74282         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
74283         * nss/nss_files/files-grp.c: Likewise.
74284         * nss/nss_files/files-hosts.c: Likewise.
74285         * nss/nss_files/files-network.c: Likewise.
74286         * nss/nss_files/files-proto.c: Likewise.
74287         * nss/nss_files/files-pwd.c: Likewise.
74288         * nss/nss_files/files-rpc.c: Likewise.
74289         * nss/nss_files/files-service.c: Likewise.
74290         * nss/nss_files/files-sgrp.c: Likewise.
74291         * nss/nss_files/files-spwd.c: Likewise.
74292         * nss/nss_db/db-alias.c: Removed.
74293         * nss/nss_db/dummy-db.h: Removed.
74295 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
74297         * nss/makedb.c: Rewritten to not use database library.
74298         * nss/Makefile: Update to build new makedb program.
74300 2011-06-14  Andreas Jaeger  <aj@suse.de>
74302         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
74303         memset declaration.
74305 2011-06-10  Andreas Schwab  <schwab@redhat.com>
74307         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
74308         tmpbuf.
74310 2011-06-10  Roland McGrath  <roland@hack.frob.com>
74312         * Makerules (shlib.lds): Fail if the linker script comes out empty.
74313         * elf/Makefile ($(objpfx)ld.so): Likewise.
74315         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
74316         Don't list ld.so twice in dependencies.
74318         * posix/bug-regex31.c: Include <stdlib.h>.
74320         * nscd/hstcache.c (cache_addhst): Remove unused variable.
74322         * nis/nss_compat/compat-spwd.c
74323         (getspent_next_nss_netgr): Remove unused variable.
74324         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
74326         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
74327         nonmembers" output to use the right array.
74329         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
74331         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
74333         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
74334         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
74335         * catgets/gencat.c (read_input_file): Likewise.
74336         * locale/programs/locarchive.c (enlarge_archive): Likewise.
74338         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
74339         variable definition inside #if's controlling its use.
74341         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
74343         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
74345         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
74347         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
74348         unreachable code.
74350         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
74352         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
74353         * configure: Regenerated.
74355         * Makerules: Revert last change.
74356         * elf/Makefile: Likewise.
74358 2011-06-09  Roland McGrath  <roland@hack.frob.com>
74360         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
74361         * elf/Makefile ($(objpfx)librtld.os): Likewise.
74362         (reloc-link): Likewise.
74364 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
74366         * elf/Makefile: Add rules to build pldd.
74367         * elf/pldd.c: New file.
74368         * elf/pldd-xx.c: New file.
74370 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
74372         * version.h: Update for 2.15 development version.
74374 2011-06-07  David S. Miller  <davem@davemloft.net>
74376         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
74377         ifuncs.
74378         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
74379         elf_machine_lazy_rel): Likewise.
74380         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
74381         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
74382         elf_machine_lazy_rel): Likewise.
74383         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
74384         dl_hwcap via passed in argument.
74385         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
74386         Likewise.
74388 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
74390         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
74392 2011-06-06  Roland McGrath  <roland@hack.frob.com>
74394         [BZ #12849]
74395         * manual/fdl-1.1.texi: New file, verbatim from:
74396         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
74397         * manual/lgpl-2.1.texi: New file, verbatim from:
74398         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
74399         * manual/Makefile (licenses): New variable, list those new file names.
74400         (texis): Use it.
74401         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
74403         * manual/fdl.texi: File removed.
74404         * manual/lesser.texi: File removed.
74405         * manual/libc.texinfo (Copying, Documentation License):
74406         Use new @include file names, put @appendix directive before @include.
74408 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
74410         [BZ #12841]
74411         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
74412         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
74413         (mq_open): Add __NTH.
74415 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
74417         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
74418         Assume Intel Core i3/i5/i7 processor if AVX is available.
74420 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
74422         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
74423         typo.
74425 2011-05-31  Andreas Schwab  <schwab@redhat.com>
74427         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
74428         memory.  Use alloca_account.  Fix memory leak when retrying.
74430 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
74432         * version.h (RELEASE): Bump for 2.14 release.
74433         * include/features.h (__GLIBC_MINOR__): Bump to 14.
74435         * config.make.in (RANLIB): Remove entry.
74437 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
74439         * po/Makefile (po-sed-cmd): Add ksh to extensions.
74440         (libc.pot): Work around missing support for .ksh extension in xgettext.
74442         [BZ #12684]
74443         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
74444         if both request failed.
74445         (send_dg): In case of server errors clear resplen or *resplen2.
74447         [BZ #12454]
74448         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
74449         when there are multiple maps.
74450         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
74451         (_dl_fini): Remove test here.
74453         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
74455 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
74457         [BZ #12350]
74458         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
74459         bit from old_res_options.
74460         (gaih_inet): Likewise.
74462         [BZ #11099]
74463         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
74464         as signed.
74466         * resolv/res_init.c (res_setoptions): Make the code more compact.
74468         [BZ #11558]
74469         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
74470         set RES_USEVC.
74472         [BZ #11634]
74473         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
74475         * malloc/malloc.h: Mark malloc hook variables as deprecated.
74477         [BZ #11781]
74478         * malloc/malloc.h: Declare malloc hook variables as volatile.
74480         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
74481         in last patch.
74483         [BZ #11799]
74484         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
74485         raise in the comment.
74486         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
74487         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
74488         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
74490 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
74492         [BZ #12811]
74493         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
74494         grow the buffers more if it already has to be sufficient.
74495         (build_wcs_upper_buffer): Likewise.
74496         * posix/regexec.c (check_matching): Likewise.
74497         (clean_state_log_if_needed): Likewise.
74498         (extend_buffers): Don't enlarge buffers beyond size of the input
74499         buffer.
74500         Patches mostly by Emil Wojak <emil@wojak.eu>.
74501         * posix/bug-regex32.c: New file.
74502         * posix/Makefile (tests): Add bug-regex32.
74504         * locale/findlocale.c (_nl_find_locale): Return right away if
74505         _nl_explode_name failed.
74506         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
74508         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
74510         * debug/xtrace.sh: Unify messages.
74511         * malloc/memusage.sh: Likewise.
74513         [BZ #12813]
74514         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
74515         time symbol from vDSO.  Substitute with vsyscall if not available.
74516         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
74517         __vdso_time.
74519         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
74520         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
74521         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
74522         Add sendmmsg and internal_sendmmsg.
74523         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
74524         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
74525         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
74527         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
74528         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
74529         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
74531 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
74533         [BZ #12813]
74534         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
74535         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
74536         available.
74537         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
74538         __vdso_getcpu.
74540         [BZ #12814]
74541         * iconvdata/Makefile (tests): Add bug-iconv9.
74542         * iconvdata/bug-iconv9.c: New file.
74544 2011-05-27  Andreas Schwab  <schwab@redhat.com>
74546         [BZ #12814]
74547         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
74549 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
74551         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
74552         (struct user_regs_struct): Change intcs field back to cs.
74554 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
74556         * po/ja.po: Update from translation team.
74558 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
74560         [BZ #12795]
74561         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
74562         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
74564 2011-05-20  Andreas Schwab  <schwab@redhat.com>
74566         * stdlib/longlong.h: Update from GCC.
74568 2011-05-23  Andreas Schwab  <schwab@redhat.com>
74570         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
74571         parameter name.
74572         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
74573         Add parameter name.
74574         (__sysconf): Pass it down.
74576 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
74578         [BZ #12671]
74579         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
74580         some situations.
74581         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
74582         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
74583         add in in __libc_use_alloca calls.  Adjust callers.
74584         (glob): Use malloc in some situations.
74586         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
74587         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
74588         pltexit.
74590 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
74592         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
74593         and CLOCK_BOOTTIME_ALARM.
74595         [BZ #12782]
74596         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
74597         is returned.
74599         * string/_strerror.c (__strerror_r): Print negative errors as signed
74600         numbers.
74602         [BZ #12777]
74603         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
74604         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
74605         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
74607         * configure.in: Fix typo in redirection and correct removal of test
74608         files in two cases.
74610         [BZ #12788]
74611         * locale/setlocale.c (new_composite_name): Fix test to check for
74612         identical name of all categories.
74614         [BZ #12792]
74615         * libio/filedoalloc.c (local_isatty): New function.
74616         (_IO_file_doallocate): Use local_isatty.
74617         * stdio-common/perror.c (perror): In case a new stream is used
74618         forward the stream error.
74619         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
74620         error flag.
74622 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
74624         [BZ #11884]
74625         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
74626         alloca.
74627         * include/alloca.h (extend_alloca_account): Define.
74629         [BZ #11857]
74630         * posix/regex.h: Fix comments with documentation of user-accessible
74631         fields after compilation and describe correct free'ing of pattern
74632         after re_compile_pattern.
74633         Patch by Reuben Thomas <rrt@sc3d.org>.
74635 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
74637         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
74638         and -mno-altivec to prevent the compiler from using Altivec and/or
74639         VSX instructions when the corresponding registers are not available.
74641 2011-05-19  Andreas Schwab  <schwab@redhat.com>
74643         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
74645 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
74647         * libio/freopen.c (freopen): Use __dup2, not dup2.
74648         * libio/freopen64.c (freopen64): Likewise.
74650 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
74652         [BZ #12775]
74653         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
74654         * math/Makefile (tests): Add test-powl.
74655         (CFLAGS-test-powl.c): Define.
74656         * math/test-powl.c: New file.
74658 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
74660         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
74662 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
74664         [BZ #11837]
74665         * iconvdata/gb18030.c: Update to GB18020-2005.
74667 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
74669         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
74670         RE_SYNTAX_POSIX_AWK): Update to match recent development.
74671         Patch by Aharon Robbins <arnold@skeeve.com>.
74673         [BZ #11892]
74674         * stdlib/putenv.c (putenv): Don't always create copy of the variable
74675         on the stack.
74677         [BZ #11895]
74678         * misc/pselect.c (__pselect): Handle timeout value errors hidden
74679         through underflows.
74681         [BZ #12766]
74682         * misc/error.c (error_at_line): Ensure file_name and old_file_name
74683         point to strings before performing equality test for error_one_per_line
74684         mode.
74686         [BZ #11697]
74687         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
74689         [BZ #11820]
74690         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
74691         (struct user_fpregs_struct): Avoid __uint*_t types.
74693         [BZ #6420]
74694         * malloc/mtrace.c (tr_where): Add additional parameter to point to
74695         symbol info.  Use it instead of calling _dl_addr locally.
74696         (lock_and_info): New function.
74697         (tr_freehook): Call lock_and_info and pass symbol info as additional
74698         parameter to tr_where.
74699         (tr_mallochook): Likewise.
74700         (tr_reallochook): Likewise.
74701         (tr_memalignhook): Likewise.
74703         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
74704         used and couldn't be at all thread-safe.
74706 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
74708         * libio/freopen.c (freopen): Don't close old file descriptor
74709         before the new one is opened.  Instead dup the new file descriptor
74710         to the old one after the new stream is created.
74711         * libio/freopen64.c (freopen64): Likewise.
74712         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
74713         * libio/fileops.c (_IO_new_file_close_it): Handle new
74714         _IO_FLAGS2_NOCLOSE flag.
74715         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
74716         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
74717         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
74718         _IO_FLAGS2_NOCLOSE flag.
74719         * include/unistd.h: Add hidden_proto for dup3.
74720         Define __have_dup3.
74721         * io/dup3.c: Define hidden symbol.
74722         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
74724         [BZ #7101]
74725         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
74726         when an incomplete long option is used.
74727         * posix/tst-getopt_long1.c: New file.
74728         * posix/Makefile (tests): Add tst-getopt_long1.
74730         [BZ #10138]
74731         * scripts/config.guess: Update from autoconf-2.68.
74732         * scripts/config.sub: Likewise.
74734         [BZ #10157]
74735         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
74736         tests into ...
74737         (has_cpuclock): ...this.  New function.
74738         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
74739         macro here based on has_cpuclock code.
74741         [BZ #10149]
74742         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
74743         First byte (not low byte) is now always NUL.
74744         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
74746         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
74747         Use non-cancelable interfaces.
74749         [BZ #9809]
74750         * locale/iso-639.def: Add entry for Sorani.
74752         [BZ #11901]
74753         * include/stdlib.h: Move include protection to the right place.
74754         Define abort_msg_s.  Declare __abort_msg with it.
74755         * stdlib/abort.c (__abort_msg): Adjust type.
74756         * assert/assert.c (__assert_fail_base): New function.  Majority
74757         of code from __assert_fail.  Allocate memory for __abort_msg with
74758         mmap.
74759         (__assert_fail): Now call __assert_fail_base.
74760         * assert/assert-perr.c: Remove bulk of implementation.  Use
74761         __assert_fail_base.
74762         * include/assert.hL Declare __assert_fail_base.
74763         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
74764         mmap.
74765         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
74767 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
74769         [BZ #11952]
74770         [BZ #12453]
74771         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
74772         until all modules are registered in the DTV.
74773         * elf/Makefile: Add rules to build and run tst-tls19.
74774         * elf/tst-tls19.c: New file.
74775         * elf/tst-tls19mod1.c: New file.
74776         * elf/tst-tls19mod2.c: New file.
74777         * elf/tst-tls19mod3.c: New file.
74778         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
74780         [BZ #12083]
74781         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
74782         correctly.
74784         [BZ #12601]
74785         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
74786         two-byte sequence errors.
74787         * iconvdata/Makefile (tests): Add bug-iconv8.
74788         * iconvdata/bug-iconv8.c: New file.
74790         [BZ #12626]
74791         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
74792         buf2 definition.
74794         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
74796         [BZ #12432]
74797         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
74798         (dummy_getcfa): New function.
74799         (init): Get _Unwind_GetCFA address, use dummy if not found.
74800         (backtrace_helper): In recursion check, also check whether CFA changes.
74801         (__backtrace): Completely initialize arg.
74803         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
74804         storing incomplete byte sequence in state object.  Avoid testing for
74805         guaranteed too small input if we know there is enough data available.
74807 2011-05-11  Andreas Schwab  <schwab@redhat.com>
74809         * Makeconfig (+link-pie): Indent.
74810         * Rules (binaries-pie): Define if $(have-fpie) and
74811         $(build-shared).
74812         (binaries-shared): Also filter out $(binaries-pie).
74813         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
74814         * nscd/Makefile (others-pie): Add nscd.
74815         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
74816         ($(objpfx)nscd): Remove command override.
74817         * login/Makefile (others-pie): Add pt_chown.
74818         ($(objpfx)pt_chown): Remove command override.
74819         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
74820         remove command overrides.
74822 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
74824         * libio/tst_putwc.c: Fix error messages.
74826         [BZ #12724]
74827         * libio/fileops.c (_IO_new_file_close_it): Always flush when
74828         currently writing and seek to current position when not.
74829         * libio/Makefile (tests): Add bug-fclose1.
74830         * libio/bug-fclose1.c: New file.
74832 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
74834         [BZ #12511]
74835         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
74836         don't set DF_1_NODELETE here.
74837         (do_lookup_x): When entering new entry test for copy relocation
74838         and if necessary set DF_1_NODELETE flag.
74839         * elf/tst-unique4.cc: New file.
74840         * elf/tst-unique4.h: New file.
74841         * elf/tst-unique4lib.cc: New file.
74842         * elf/Makefile: Add rules to build and run tst-unique4.
74843         Patch by Piotr Bury <pbury@goahead.com>.
74845 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
74847         [BZ #12052]
74848         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
74850         [BZ #12625]
74851         * misc/mntent_r.c (addmntent): Flush the stream after the output
74853         [BZ #12393]
74854         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
74855         (is_trusted_path_normalize): Skip initial colon.  Append slash
74856         to empty buffer.  Duplicate is_trusted_path code but allow
74857         constructed patch to be prefix.
74858         (is_dst): Allow $ORIGIN followed by /.
74859         (_dl_dst_substitute): Correct clearing of check_for_trusted.
74860         Correct testing of result of is_trusted_path_normalize
74861         (decompose_rpath): Fix warning.
74863 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
74865         [BZ #11257]
74866         * grp/initgroups.c (internal_getgrouplist): When we found the service
74867         list through the initgroups entry in nsswitch.conf do not always
74868         continue on a successful lookup.  Don't always use the
74869         __nss_group_database value if it is set.
74870         * nss/nsswitch.conf (initgroups): Change action for successful db
74871         lookup to continue for compatibility.
74873 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
74875         [BZ #11532]
74876         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
74877         and CP774 modules.
74878         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
74879         and CP774 modules.
74880         * iconvdata/tst-tables.sh: Likewise.
74881         * iconvdata/cp770.c: New file.
74882         * iconvdata/cp771.c: New file.
74883         * iconvdata/cp772.c: New file.
74884         * iconvdata/cp773.c: New file.
74885         * iconvdata/cp774.c: New file.
74886         * iconvdata/testdata/CP770: New file.
74887         * iconvdata/testdata/CP770..UTF8: New file.
74888         * iconvdata/testdata/CP771: New file.
74889         * iconvdata/testdata/CP771..UTF8: New file.
74890         * iconvdata/testdata/CP772: New file.
74891         * iconvdata/testdata/CP772..UTF8: New file.
74892         * iconvdata/testdata/CP773: New file.
74893         * iconvdata/testdata/CP773..UTF8: New file.
74894         * iconvdata/testdata/CP774: New file.
74895         * iconvdata/testdata/CP774..UTF8: New file.
74897         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
74898         END CHARMAP line.
74899         * iconvdata/gen-8bit-gap.sh: Likewise.
74900         * iconvdata/gen-8bit.sh: Likewise.
74902         * locale/iso-639.def: Add ary entry.
74904         [BZ #11258]
74905         * locale/C-translit.h.in: Add U20A1 transliteration.
74907         [BZ #12178]
74908         * locale/iso-639.def: Add wae entry.
74909         Patch by Kevin Bortis <bortis@translate-wae.ch>.
74911         [BZ #12545]
74912         * locale/programs/localedef.c (construct_output_path): Use ssize_t
74913         for n.
74915         [BZ #12711]
74916         * locale/C-translit.h.in: Add entry for U20B9.
74917         Patch by pravin.d.s@gmail.com.
74919 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
74921         [BZ #12713]
74922         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
74923         ENAMETOOLONG use generic getcwd.
74924         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
74925         in rtld.  Use *stat64.
74926         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
74927         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
74928         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
74929         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
74930         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
74931         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
74932         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
74933         __fstatat64 macros.
74934         * include/dirent.h: Add libc_hidden_proto for rewinddir.
74935         * dirent/rewinddir.c: Add libc_hidden_def.
74936         * sysdeps/mach/hurd/rewinddir.c: Likewise.
74937         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
74939         * include/dirent.h (__alloc_dir): Add flags parameter.
74940         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
74941         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
74942         __alloc_dir.
74943         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
74944         from fdopendir if O_CLOEXEC is already set.
74946 2011-03-15  Alan Modra  <amodra@gmail.com>
74948         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
74949         l_tls_firstbyte_offset non-zero.  Save padding offset in
74950         l_tls_firstbyte_offset for later use.
74951         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
74952         freeing static tls block.
74954 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
74956         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
74957         where #ifdef was intended.  The intent is to prevent ARG_MAX from
74958         being defined by the kernel headers.
74960 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
74962         [BZ #12734]
74963         * resolv/resolv.h: Define RES_NOTLDQUERY.
74964         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
74965         no-tld-query and set RES_NOTLDQUERY.
74966         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
74967         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
74968         modern BIND to search name as TLD unless forbidden.
74970 2011-05-07  Petr Baudis  <pasky@suse.cz>
74971             Ulrich Drepper  <drepper@gmail.com>
74973         [BZ #12393]
74974         * elf/dl-load.c (fillin_rpath): Move trusted path check...
74975         (is_trusted_path): ...to here.
74976         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
74977         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
74978         using is_trusted_path_normalize() in setuid scripts.
74980 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
74982         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
74983         __BEGIN/__END_DECLS.
74985 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
74987         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
74988         NSS_STATUS_NOTFOUND if no record was found.
74990 2011-05-05  Andreas Schwab  <schwab@redhat.com>
74992         * sunrpc/Makefile (headers): Add rpc/netdb.h.
74993         (headers-not-in-tirpc): Remove rpc/netdb.h
74994         * resolv/netdb.h: Revert last change.
74996 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
74998         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
74999         circular dependency between libgcc.a and libc.a.
75001 2011-05-05  Andreas Schwab  <schwab@redhat.com>
75003         * resolv/netdb.h: Don't include <rpc/netdb.h>.
75004         * nis/Makefile: Don't install rpcsvc/*.
75005         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
75006         instead of <rpc/types.h>.
75007         (MAXHOSTNAMELEN): Define.
75009 2011-05-03  Andreas Schwab  <schwab@redhat.com>
75011         * elf/ldconfig.c (add_dir): Don't crash on empty path.
75013 2011-04-28  Maciej Babinski  <mbabinski@google.com>
75015         [BZ #12714]
75016         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
75017         gethostbyname4_r when IPv6 results are possible.
75019 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
75021         [BZ #12723]
75022         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
75023         _PC_PIPE_BUF handling.
75025 2011-04-30  Bruno Haible  <bruno@clisp.org>
75027         [BZ #12717]
75028         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
75029         * resolv/netdb.h (getnameinfo): Change type of flags parameter
75030         to 'int'.
75031         * inet/getnameinfo.c (getnameinfo): Likewise.
75033 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
75035         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
75036         to groups setting in database lookup.
75037         * nss/nsswitch.conf: Add initgroups entry.
75039 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
75041         [BZ #12685]
75042         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
75043         mode string.
75044         Patch by Eric Blake <eblake@redhat.com>.
75046 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
75048         * sunrpc/Makefile (need-export-routines): Add svc_run.
75049         (routines): Remove svc_run.
75050         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
75051         * sunrpc/clnt_perr.c (clnt_perrno): Export.
75052         * sunrpc/svc_run.c (svc_run): Likewise.
75053         * sunrpc/svc_udp.c (svcudp_create): Likewise.
75055 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
75057         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
75058         problem in reallocation in last patch.
75060 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
75062         * sunrpc/Makefile: Move inclusion of Rules.
75064 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
75066         * nss/nss_files/files-initgroups.c: New file.
75067         * nss/Makefile (libnss_files-routines): Add files-initgroups.
75068         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
75069         _nss_files_initgroups_dyn.
75071 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
75073         * elf/elf.h (R_ARM_IRELATIVE): Define.
75075 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
75077         * po/ru.po: Update from translation team.
75079 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
75081         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
75082         dependencies.
75084 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
75086         [BZ #12653]
75087         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
75088         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
75089         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
75090         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
75091         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
75093 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
75095         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
75096         differing bytes.
75097         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
75098         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
75099         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
75101 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
75103         [BZ #12420]
75104         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
75105         storing it.
75106         * stdlib/bug-getcontext.c: New file.
75107         * stdlib/Makefile: Add rules to build and run bug-getcontext.
75109 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
75111         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
75112         instructions into .machine "z9-109".
75113         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
75114         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
75116 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
75118         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
75119         between environment variables and auxiliary vector.
75121 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
75123         * Makefile: Add rules to build linkobj/libc.so.
75124         * include/libc-symbols.h: Define libc_hidden_nolink.
75125         * include/rpc/auth.h: Mark functions which are to be hidden.
75126         * include/rpc/auth_des.h: Likewise.
75127         * include/rpc/auth_unix.h: Likewise.
75128         * include/rpc/clnt.h: Likewise.
75129         * include/rpc/des_crypt.h: Likewise.
75130         * include/rpc/key_prot.h: Likewise.
75131         * include/rpc/pmap_clnt.h: Likewise.
75132         * include/rpc/pmap_prot.h: Likewise.
75133         * include/rpc/pmap_rmt.h: Likewise.
75134         * include/rpc/rpc_msg.h: Likewise.
75135         * include/rpc/svc.h: Likewise.
75136         * include/rpc/svc_auth.h: Likewise.
75137         * include/rpc/xdr.h: Likewise.
75138         * nis/Makefile: Link all DSOs against linkobj/libc.so.
75139         * nss/Makefile: Likewise.
75140         * sunrpc/Makefile: Don't install headers.  Build library with normal
75141         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
75142         * sunrpc/auth_des.c: Hide exported symbols by default, export some
75143         for the compat linking library.  Remove use of INTDEF/INTUSE.
75144         * sunrpc/auth_none.c: Likewise.
75145         * sunrpc/auth_unix.c: Likewise.
75146         * sunrpc/authdes_prot.c: Likewise.
75147         * sunrpc/authuxprot.c: Likewise.
75148         * sunrpc/clnt_gen.c: Likewise.
75149         * sunrpc/clnt_perr.c: Likewise.
75150         * sunrpc/clnt_raw.c: Likewise.
75151         * sunrpc/clnt_simp.c: Likewise.
75152         * sunrpc/clnt_tcp.c: Likewise.
75153         * sunrpc/clnt_udp.c: Likewise.
75154         * sunrpc/clnt_unix.c: Likewise.
75155         * sunrpc/des_crypt.c: Likewise.
75156         * sunrpc/des_soft.c: Likewise.
75157         * sunrpc/get_myaddr.c: Likewise.
75158         * sunrpc/key_call.c: Likewise.
75159         * sunrpc/key_prot.c: Likewise.
75160         * sunrpc/netname.c: Likewise.
75161         * sunrpc/pm_getmaps.c: Likewise.
75162         * sunrpc/pm_getport.c: Likewise.
75163         * sunrpc/pmap_clnt.c: Likewise.
75164         * sunrpc/pmap_prot.c: Likewise.
75165         * sunrpc/pmap_prot2.c: Likewise.
75166         * sunrpc/pmap_rmt.c: Likewise.
75167         * sunrpc/publickey.c: Likewise.
75168         * sunrpc/rpc_cmsg.c: Likewise.
75169         * sunrpc/rpc_common.c: Likewise.
75170         * sunrpc/rpc_dtable.c: Likewise.
75171         * sunrpc/rpc_prot.c: Likewise.
75172         * sunrpc/rpc_thread.c: Likewise.
75173         * sunrpc/rtime.c: Likewise.
75174         * sunrpc/svc.c: Likewise.
75175         * sunrpc/svc_auth.c: Likewise.
75176         * sunrpc/svc_authux.c: Likewise.
75177         * sunrpc/svc_raw.c: Likewise.
75178         * sunrpc/svc_run.c: Likewise.
75179         * sunrpc/svc_simple.c: Likewise.
75180         * sunrpc/svc_tcp.c: Likewise.
75181         * sunrpc/svc_udp.c: Likewise.
75182         * sunrpc/svc_unix.c: Likewise.
75183         * sunrpc/svcauth_des.c: Likewise.
75184         * sunrpc/xcrypt.c: Likewise.
75185         * sunrpc/xdr.c: Likewise.
75186         * sunrpc/xdr_array.c: Likewise.
75187         * sunrpc/xdr_float.c: Likewise.
75188         * sunrpc/xdr_intXX_t.c: Likewise.
75189         * sunrpc/xdr_mem.c: Likewise.
75190         * sunrpc/xdr_rec.c: Likewise.
75191         * sunrpc/xdr_ref.c: Likewise.
75192         * sunrpc/xdr_sizeof.c: Likewise.
75193         * sunrpc/xdr_stdio.c: Likewise.
75195 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
75197         [BZ #12650]
75198         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
75199         * sysdeps/ia64/dl-tls.h: Likewise.
75200         * sysdeps/powerpc/dl-tls.h: Likewise.
75201         * sysdeps/s390/dl-tls.h: Likewise.
75202         * sysdeps/sh/dl-tls.h: Likewise.
75203         * sysdeps/sparc/dl-tls.h: Likewise.
75204         * sysdeps/x86_64/dl-tls.h: Likewise.
75205         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
75207 2011-03-14  Andreas Schwab  <schwab@redhat.com>
75209         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
75210         rpath element also skip the following colon.
75211         (expand_dynamic_string_token): Add is_path parameter and pass
75212         down to DL_DST_REQUIRED and _dl_dst_substitute.
75213         (decompose_rpath): Call expand_dynamic_string_token with
75214         non-zero is_path.  Ignore empty rpaths.
75215         (_dl_map_object_from_fd): Call expand_dynamic_string_token
75216         with zero is_path.
75218 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
75220         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
75221         Make cancelable.
75223 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
75225         [BZ #12655]
75226         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
75227         Patch by Filipe David Manana <fdmanana@apache.org>.
75229 2011-04-07  Andreas Schwab  <schwab@redhat.com>
75231         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
75232         Maintain aligned stack.
75233         (CHECK_RSP): Remove unused macro.
75235 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
75237         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
75238         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
75240 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
75242         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
75244         * include/features.h: Mention __USE_XOPEN2K8 in comment.
75246 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
75248         [BZ #12518]
75249         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
75250         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
75251         * sysdeps/x86_64/memmove.c: New file.
75252         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
75253         (memcpy): Renamed to ...
75254         (__new_memcpy): This.
75255         (memcpy): Provide GLIBC_2_14 memcpy.
75256         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
75257         (memcpy): Provide GLIBC_2_2_5 memcpy.
75259 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
75261         [BZ #12631]
75262         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
75264 2011-03-30  Andreas Schwab  <schwab@redhat.com>
75266         * misc/syncfs.c: New file.
75267         * misc/Makefile (routines): Add syncfs.
75268         * posix/unistd.h: Declare syncfs.
75269         * sysdeps/unix/syscalls.list: Add syncfs.
75271 2011-04-01  Andreas Schwab  <schwab@redhat.com>
75273         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
75274         open_by_handle_at.
75275         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
75276         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
75277         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
75278         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
75279         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
75280         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
75281         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
75283 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
75285         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
75286         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
75287         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
75288         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
75289         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
75290         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
75291         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
75293         * io/Makefile: Compile fallocate.c, fallocate64.c, and
75294         sync_file_range.c with -fexceptions.
75295         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
75296         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
75297         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
75298         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
75299         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
75300         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
75301         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
75302         sync_file_range as cancellation point
75303         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
75304         now a wrapper around __call_sync_file_range with cancellation handling.
75305         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
75306         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
75307         function name to __call_sync_file_range.
75308         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
75309         Add call_sync_file_range.
75311 2011-04-01  Andreas Schwab  <schwab@redhat.com>
75313         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
75314         bits/timex.h.
75316 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
75318         * iconv/iconv.h: Fix typo in comment.
75319         * io/fcntl.h: Likewise.
75320         * libio/stdio.h: Likewise.
75321         * posix/spawn.h: Likewise.
75322         * posix/unistd.h: Likewise.
75323         * stdlib/stdlib.h: Likewise.
75324         * time/time.h: Likewise.
75325         * wcsmbs/wchar.h: Likewise.
75327         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
75328         open_by_handle): Add.
75329         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
75330         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
75331         Augment a few comments.
75332         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
75333         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
75334         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
75335         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
75336         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
75337         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
75338         open_by_handle.
75340         * io/fcntl.h (AT_EMPTY_PATH): Define.
75342 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
75344         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
75345         * sysdeps/unix/sysv/linux/bits/time.h: New file.
75346         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
75347         to...
75348         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
75349         * Versions.def: Add GLIBC_2.14.
75350         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
75351         Export.
75353 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
75355         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
75356         round counter.
75357         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
75359 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
75361         [BZ #12597]
75362         * string/test-strncmp.c (do_page_test): New function.
75363         (check2): Likewise.
75364         (test_main): Call check2.
75365         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
75367 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
75369         [BZ #12587]
75370         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
75371         Handle cache information in CPU leaf 4.
75372         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
75374 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
75376         [BZ #12583]
75377         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
75378         character representation.
75379         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
75381 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
75383         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
75384         END(__isnan) to END(__isnanf) to match function entry point/label
75385         EALIGN(__isnanf,...).
75387 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
75389         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
75391 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
75393         [BZ #12510]
75394         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
75395         copy from the symbol referenced in the relocation to initialize the
75396         used variable.
75397         Patch by Piotr Bury <pbury@goahead.com>.
75398         * elf/Makefile: Add rules to build and tst-unique3.
75399         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
75400         * elf/tst-unique3.cc: New file.
75401         * elf/tst-unique3.h: New file.
75402         * elf/tst-unique3lib.cc: New file.
75403         * elf/tst-unique3lib2.cc: New file.
75405         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
75407 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
75409         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
75410         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
75411         to _start.
75413 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
75415         * elf/dl-load.c (_dl_map_object): If we are looking for the first
75416         to-be-loaded object along a path to loader is ld.so.
75418 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
75419             Ulrich Drepper  <drepper@gmail.com>
75421         * sysdeps/x86_64/memset.S: After aligning destination, code
75422         branches to different locations depending on the value of
75423         misalignment, when multiarch is enabled. Fix this.
75425 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
75427         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
75428         Set _x86_64_preferred_memory_instruction for AMD processsors.
75429         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
75430         Set bit_Prefer_SSE_for_memop for AMD processors.
75432 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
75434         * libio/fmemopen.c (fmemopen): Optimize a bit.
75436 2011-03-03  Andreas Schwab  <schwab@redhat.com>
75438         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
75440 2011-03-03  Roland McGrath  <roland@redhat.com>
75442         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
75444 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
75446         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
75447         __bzero_ultra1 instead of __memset_ultra1.
75449 2011-02-23  Andreas Schwab  <schwab@redhat.com>
75450             Ulrich Drepper  <drepper@gmail.com>
75452         [BZ #12509]
75453         * include/link.h (struct link_map): Add l_orig_initfini.
75454         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
75455         returning unsuccessfully.
75456         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
75457         close of a file loaded at startup, restore the original l_initfini
75458         list.
75459         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
75460         list, store the pointer.
75461         * elf/Makefile ($(objpfx)noload-mem): New rule.
75462         (noload-ENV): Define.
75463         (tests): Add $(objpfx)noload-mem.
75464         * elf/noload.c: Include <memcheck.h>.
75465         (main): Call mtrace.  Close all opened handles.
75467 2011-02-17  Andreas Schwab  <schwab@redhat.com>
75469         [BZ #12454]
75470         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
75471         dependencies are missing.
75473 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
75475         Fix __if_freereq crash: Unlike the generic version which uses free,
75476         Hurd needs munmap.
75477         * sysdeps/mach/hurd/ifreq.h: New file.
75479 2011-01-27  Petr Baudis  <pasky@suse.cz>
75480             Ulrich Drepper  <drepper@gmail.com>
75482         [BZ 12445]#
75483         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
75484         to extend_alloca().
75485         * stdio-common/bug23.c: New file.
75486         * stdio-common/Makefile (tests): Add bug23.
75488 2010-09-28  Andreas Schwab  <schwab@redhat.com>
75489             Ulrich Drepper  <drepper@gmail.com>
75491         [BZ #12489]
75492         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
75493         before performing relro protection.  At old place add assertion
75494         to make sure nothing changed.
75496 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
75497             Glauber de Oliveira Costa  <glommer@gmail.com>
75499         * elf/elf.h: Add new ARM TLS relocs.
75501 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
75503         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
75504         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
75505         cast from r3.
75506         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
75507         'tests' variable.
75508         * sysdeps/wordsize-64/tst-writev.c: New file.
75510 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
75512         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
75513         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
75514         insns in _dl_start to prevent a TOC reference before relocs are
75515         resolved.
75517 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
75519         [BZ #12469]
75520         * Makeconfig: Remove RANLIB definition.
75521         * Makerules: Don't use RANLIB.
75522         * aclocal.m4: Remove ranlib test.
75523         * configure.in: No need to check for ranlib.
75524         * elf/rtld-Rules: Don't use RANLIB.
75526 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
75528         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
75529         protection macro.
75530         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
75531         inclusion protection macro.
75533         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
75534         SIGRTMIN and SIGRTMAX and print information in that case only when
75535         SIGRTMIN is defined.
75537 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
75539         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
75540         arginfo fn returning -1.
75542         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
75543         and thousands string is zero terminated.
75545 2011-02-03  Andreas Schwab  <schwab@redhat.com>
75547         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
75548         sysdeps/unix/sysv/linux/bits/socket.h.
75550 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
75552         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
75553         (__CPU_COUNT): Remove old macros.
75554         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
75555         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
75556         (__CPU_ALLOC, __CPU_FREE): Add macros.
75557         (__sched_cpualloc, __sched_cpufree): Add declarations.
75559 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
75561         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
75562         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
75563         * nscd/aicache.c (addhstaiX): Return timeout of added value.
75564         (readdhstai): Return value of addhstaiX call.
75565         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
75566         (addgrbyX): Return value returned by cache_addgr.
75567         (readdgrbyname): Return value returned by addgrbyX.
75568         (readdgrbygid): Likewise.
75569         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
75570         (addpwbyX): Return value returned by cache_addpw.
75571         (readdpwbyname): Return value returned by addhstbyX.
75572         (readdpwbyuid): Likewise.
75573         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
75574         (addservbyX): Return value returned by cache_addserv.
75575         (readdservbyname): Return value returned by addservbyX:
75576         (readdservbyport): Likewise.
75577         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
75578         (addhstbyX): Return value returned by cache_addhst.
75579         (readdhstbyname): Return value returned by addhstbyX.
75580         (readdhstbyaddr): Likewise.
75581         (readdhstbynamev6): Likewise.
75582         (readdhstbyaddrv6): Likewise.
75583         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
75584         (readdinitgroups): Return value returned by addinitgroupsX.
75585         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
75586         (prune_cache): Keep track of timeout value of re-added entries.
75587         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
75588         * nscd/nscd.h: Adjust prototypes of readd* functions.
75590 2011-02-04  Roland McGrath  <roland@redhat.com>
75592         * nis/nis_server.c (nis_servstate): Use the right name for 0.
75593         (nis_stats): Likewise.
75594         * nis/nis_modify.c (nis_modify): Likewise.
75595         * nis/nis_remove.c (nis_remove): Likewise.
75596         * nis/nis_add.c (nis_add): Likewise.
75598         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
75600         * posix/fnmatch_loop.c: Add some consts.
75602         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
75604 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
75606         [BZ #12460]
75607         * config.make.in (config-cflags-novzeroupper): Define.
75608         * configure.in: Substitute libc_cv_cc_novzeroupper.
75609         * elf/Makefile (AVX-CFLAGS): Define.
75610         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
75611         (CFLAGS-tst-auditmod4a.c): Likewise.
75612         (CFLAGS-tst-auditmod4b.c): Likewise.
75613         (CFLAGS-tst-auditmod6b.c): Likewise.
75614         (CFLAGS-tst-auditmod6c.c): Likewise.
75615         (CFLAGS-tst-auditmod7b.c): Likewise.
75616         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
75618 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
75620         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
75621         function to the callback.
75622         Patch partly by Jiri Olsa <jolsa@redhat.com>.
75624 2011-02-02  Andreas Schwab  <schwab@redhat.com>
75626         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
75627         of errno.
75629 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
75631         [BZ #11724]
75632         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
75633         of constructors.
75634         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
75635         of destructors.
75636         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
75638         [BZ #11724]
75639         * elf/Makefile: Add rules to build and run new test.
75640         * elf/tst-initorder.c: New file.
75641         * elf/tst-initorder.exp: New file.
75642         * elf/tst-initordera1.c: New file.
75643         * elf/tst-initordera2.c: New file.
75644         * elf/tst-initordera3.c: New file.
75645         * elf/tst-initordera4.c: New file.
75646         * elf/tst-initorderb1.c: New file.
75647         * elf/tst-initorderb2.c: New file.
75648         * elf/tst-order-a1.c: New file.
75649         * elf/tst-order-a2.c: New file.
75650         * elf/tst-order-a3.c: New file.
75651         * elf/tst-order-a4.c: New file.
75652         * elf/tst-order-b1.c: New file.
75653         * elf/tst-order-b2.c: New file.
75654         * elf/tst-order-main.c: New file.
75655         New test case by George Gensure <werkt0@gmail.com>.
75657 2010-10-01  Andreas Schwab  <schwab@redhat.com>
75659         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
75660         decoding ACE if AI_CANONIDN.
75662 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
75664         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
75666 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
75668         * version.h (RELEASE): Bump for 2.13 release.
75669         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
75671         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
75673         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
75674         MADV_NOHUGEPAGE.
75675         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
75676         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
75677         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
75678         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
75679         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
75680         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
75682         * posix/getconf.c: Update copyright year.
75683         * catgets/gencat.c: Likewise.
75684         * csu/version.c: Likewise.
75685         * debug/catchsegv.sh: Likewise.
75686         * debug/xtrace.sh: Likewise.
75687         * elf/ldconfig.c: Likewise.
75688         * elf/ldd.bash.in: Likewise.
75689         * elf/sprof.c (print_version): Likewise.
75690         * iconv/iconv_prog.c: Likewise.
75691         * iconv/iconvconfig.c: Likewise.
75692         * locale/programs/locale.c: Likewise.
75693         * locale/programs/localedef.c: Likewise.
75694         * malloc/memusage.sh: Likewise.
75695         * malloc/mtrace.pl: Likewise.
75696         * nscd/nscd.c (print_version): Likewise.
75697         * nss/getent.c: Likewise.
75699         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
75700         PF_CAIF, and PF_ALG.
75701         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
75703 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
75705         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
75706         (modules-names): Use them.
75707         (ifunc-test-modules, ifunc-pie-tests): Define.
75708         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
75709         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
75710         (test-extras): Likewise.
75711         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
75712         $(compile-command.c).
75713         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
75714         (all-built-dso): Define.
75715         (check-textrel.out, check-execstack.out): Depend on it.
75717         * configure.in: Don't override --enable-multi-arch.
75719 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
75721         [BZ #6812]
75722         * nscd/hstcache.c (tryagain): Define.
75723         (cache_addhst): Return tryagain not notfound for temporary errors.
75724         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
75725         failed.
75727 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
75729         [BZ #10563]
75730         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
75731         to make the syscall.
75732         * sysdeps/unix/sysv/linux/setgroups.c: New file.
75734         [BZ #12378]
75735         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
75736         and fall back to matching as normal character if the string ends before
75737         the matching ']' is found.  This is what POSIX requires.
75738         * posix/testfnm.c: Adjust test result.
75739         * posix/globtest.sh: Adjust test result.  Add new test.
75740         * posix/tst-fnmatch.input: Likewise.
75741         * posix/tst-fnmatch2.c: Add new test.
75743 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
75745         * elf/Makefile (check-execstack): Revert last change.  Depend on
75746         check-execstack.h.
75747         (check-execstack.h): New target.
75748         (generated): Add check-execstack.h.
75749         * elf/check-execstack.c: Include "check-execstack.h".
75750         (main): Revert last change.
75751         (handle_file): Return zero if GNU_STACK is absent and
75752         DEFAULT_STACK_PERMS doesn't include PF_X.
75754 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
75756         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
75757         in child fails because the descriptor is already closed.
75758         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
75759         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
75760         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
75762         [BZ #12397]
75763         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
75764         syscall.
75766         [BZ #10484]
75767         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
75768         temporary buffer used to handle multi lookups locally.
75769         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
75771 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
75773         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
75774         loader is ld.so.
75776 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
75778         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
75779         alignment for SSE2.
75781 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
75783         [BZ #12394]
75784         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
75785         characters.  When rounding increased number of integer digits recompute
75786         number of groups.
75787         * stdio-common/tst-grouping.c: New file.
75788         * stdio-common/Makefile: Add rules to build and run tst-grouping.
75790 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
75792         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
75793         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
75795         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
75796         void.
75797         * bits/select.h: Likewise.
75799 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
75801         * po/ja.po: Update from translation team.
75803 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
75805         [BZ #11155]
75806         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
75807         implementation just like for lxstat, fxstatat, et al.
75809 2010-12-27  Jim Meyering  <meyering@redhat.com>
75811         [BZ #12348]
75812         * posix/regexec.c (build_trtable): Return failure indication upon
75813         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
75815 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
75817         [BZ #12201]
75818         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
75819         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
75820         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
75821         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
75823         [BZ #12207]
75824         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
75826         [BZ #12204]
75827         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
75828         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
75830 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
75832         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
75833         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
75834         script has SORT_BY_INIT_PRIORITY.
75835         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
75836         NO_CTORS_DTORS_SECTIONS is defined.
75837         * elf/soinit.c: Likewise.
75838         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
75839         NO_CTORS_DTORS_SECTIONS is defined.
75840         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
75841         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
75842         * sysdeps/sh/init-first.c: Likewise.
75843         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
75845 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
75847         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
75848         always use the slow path.
75850 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
75852         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
75853         similar rule which adds the sysdep directories to the header search in
75854         order to pick up the correct platform stackinfo.h.
75855         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
75856         perform test if it is, otherwise return successfully without testing.
75857         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
75858         DEFAULT_STACK_PERMS define in stackinfo.h.
75859         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
75860         defined in stackinfo.h.
75861         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
75862         DEFAULT_STACK_PERMS defined in stackinfo.h.
75863         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
75864         * sysdeps/ia64/stackinfo.h: Likewise.
75865         * sysdeps/s390/stackinfo.h: Likewise.
75866         * sysdeps/sh/stackinfo.h: Likewise.
75867         * sysdeps/sparc/stackinfo.h: Likewise.
75868         * sysdeps/x86_64/stackinfo.h: Likewise.
75869         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
75870         PF_X for powerpc64.  Retain PF_X for powerpc32.
75872 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
75874         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
75875         accurately.
75876         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
75877         GETDENTS_64BIT_ALIGNED.
75879 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
75881         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
75883 2010-12-10  Andreas Schwab  <schwab@redhat.com>
75885         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
75886         _GNU_SOURCE.
75888         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
75889         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
75890         Remove __restrict.
75891         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
75892         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
75894 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
75896         [BZ #11655]
75897         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
75898         are initialized.
75900 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
75902         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
75904 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
75906         * po/it.po: Update from translation team.
75908 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
75910         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
75911         unused codes.
75913 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
75915         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
75917 2010-11-24  Andreas Schwab  <schwab@redhat.com>
75919         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
75920         specially.
75921         (gaih_getanswer_slice): Likewise.
75923 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
75925         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
75927 2010-05-31  Petr Baudis  <pasky@suse.cz>
75929         [BZ #11149]
75930         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
75931         silently even in the chroot mode.
75933 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
75935         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
75936         last patch a bit.  Pretty printing
75938 2010-05-31  Petr Baudis <pasky@suse.cz>
75940         [BZ #10085]
75941         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
75942         initialization of skip_initgroups_dyn.
75944 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
75946         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
75947         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
75949 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
75951         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
75953 2010-11-11  Andreas Schwab  <schwab@redhat.com>
75955         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
75956         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
75957         (tst-fnmatch-ENV): Set MALLOC_TRACE.
75958         ($(objpfx)tst-fnmatch-mem): New rule.
75959         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
75960         * posix/tst-fnmatch.c (main): Call mtrace.
75962 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
75964         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
75965         Support Intel processor model 6 and model 0x2c.
75967 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
75969         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
75970           signed comparison.
75972 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
75974         [BZ #12205]
75975         * string/test-strncasecmp.c (check_result): New function.
75976         (do_one_test): Use it.
75977         (check1): New function.
75978         (test_main): Use it.
75979         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
75980         Support strcasecmp and strncasecmp.
75982 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
75984         [BZ #12194]
75985         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
75986         * sysdeps/x86_64/bits/byteswap.h: Likewise.
75988 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
75990         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
75991         IFUNC support.
75992         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
75993         memset-x86-64.
75994         * sysdeps/x86_64/multiarch/bzero.S: New file.
75995         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
75996         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
75997         * sysdeps/x86_64/multiarch/memset.S: New file.
75998         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
75999         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
76000         Set bit_Prefer_SSE_for_memop for Intel processors.
76001         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
76002         Define.
76003         (index_Prefer_SSE_for_memop): Define.
76004         (HAS_PREFER_SSE_FOR_MEMOP): Define.
76006 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
76008         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
76009         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
76011 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
76013         [BZ #12191]
76014         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
76015         (__x86_64_raw_data_cache_size_half): Likewise.
76016         (__x86_64_raw_shared_cache_size): Likewise.
76017         (__x86_64_raw_shared_cache_size_half): Likewise.
76019         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
76020         (__x86_64_raw_data_cache_size_half): Likewise.
76021         (__x86_64_raw_shared_cache_size): Likewise.
76022         (__x86_64_raw_shared_cache_size_half): Likewise.
76023         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
76024         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
76025         and __x86_64_raw_shared_cache_size_half.  Round
76026         __x86_64_data_cache_size_half, __x86_64_data_cache_size
76027         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
76028         to multiple of 256 bytes.
76030 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
76032         [BZ #12167]
76033         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
76034         of inacessible symlinks.  Verify result of symlink before returning it.
76035         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
76036         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
76038 2010-10-28  Erich Ritz  <erichritz@gmail.com>
76040         * math/math.h (isinf): Fix typo in comment.
76042 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
76044         * po/da.po: Update from translation team.
76046 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
76048         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
76049         is added to the list.
76051 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
76052             Ulrich Drepper  <drepper@gmail.com>
76054         * elf/dl-object.c (_dl_new_object): Don't append the new object to
76055         the global list here.  Move code to...
76056         (_dl_add_to_namespace_list): ...here.  New function.
76057         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
76058         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
76059         * elf/dl-load.c (lose): Don't remove the element from the list.
76060         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
76061         (_dl_map_object): Likewise.
76063 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
76065         [BZ #12159]
76066         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
76067         into all bytes of SSE register.
76068         Patch by Richard Li <richardpku@gmail.com>.
76070 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
76072         [BZ #12140]
76073         * malloc/malloc.c (_int_free): Fill correct number of bytes when
76074         perturbing.
76076 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
76078         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
76079         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
76080         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
76081         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
76082         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
76083         submachine.
76084         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
76086 2010-10-22  Andreas Schwab  <schwab@redhat.com>
76088         * include/dlfcn.h (__RTLD_SECURE): Define.
76089         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
76090         mode & __RTLD_SECURE instead.
76091         (open_path): Rename preloaded parameter to secure.
76092         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
76093         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
76094         * elf/dl-deps.c (openaux): Likewise.
76095         * elf/rtld.c (struct map_args): Remove is_preloaded.
76096         (map_doit): Don't use it.
76097         (dl_main): Likewise.
76098         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
76099         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
76101 2010-09-09  Andreas Schwab  <schwab@redhat.com>
76103         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
76104         (sysd-rules-targets): Remove duplicates.
76105         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
76106         rtld-%.$o dependency.
76108 2010-10-18  Andreas Schwab  <schwab@redhat.com>
76110         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
76111         _dl_map_object do it.
76113 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
76115         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
76116         fast fma builtins, define the macros in the C99 standard.
76117         (FP_FAST_FMAF): Likewise.
76118         (FP_FAST_FMAL): Likewise.
76119         * sysdeps/x86_64/bits/mathdef.h: Likewise.
76121         * bits/mathdef.h: Update copyright year.
76122         * sysdeps/powerpc/bits/mathdef.h: Likewise.
76124 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
76126         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
76127         builtins, define the macros in the C99 standard.
76128         (FP_FAST_FMAF): Likewise.
76129         (FP_FAST_FMAL): Likewise.
76130         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
76131         multiply/add.
76132         (FP_FAST_FMAF): Likewise.
76134 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
76136         [BZ #3268]
76137         * math/libm-test.inc (fma_test): Some new testcases.
76138         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
76139         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
76140         y and infinite z.  Do multiplication by C already in long double.
76141         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
76142         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
76143         y and infinite z.  Do bitwise or of inexact bit into u.d.
76144         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
76145         * sysdeps/i386/fpu/s_fmaf.S: Removed.
76146         * sysdeps/i386/fpu/s_fma.S: Removed.
76147         * sysdeps/i386/fpu/s_fmal.S: Removed.
76149 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
76151         [BZ #3268]
76152         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
76153         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
76154         computation is not scheduled after fetestexcept.  Fix value
76155         of minimum denormal long double.
76157 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
76159         [BZ #3268]
76160         * math/libm-test.inc (fma_test): Add some more tests.
76161         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
76162         correctly.
76164 2010-10-15  Andreas Schwab  <schwab@redhat.com>
76166         * scripts/data/localplt-s390-linux-gnu.data: New file.
76167         * scripts/data/localplt-s390x-linux-gnu.data: New file.
76169 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
76171         [BZ #3268]
76172         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
76173         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
76174         instead of dbl-64.
76175         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
76176         inlines.
76177         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
76178         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
76179         if one of x and y is very large and the other is subnormal.
76180         * sysdeps/s390/fpu/s_fmaf.c: New file.
76181         * sysdeps/s390/fpu/s_fma.c: New file.
76182         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
76183         * sysdeps/powerpc/fpu/s_fma.S: New file.
76184         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
76185         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
76186         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
76188 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
76190         [BZ #3268]
76191         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
76192         fma tests.
76193         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
76194         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
76195         * sysdeps/i386/i686/multiarch/s_fma.c: Include
76196         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
76197         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
76198         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
76199         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
76201 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
76203         [BZ #12078]
76204         * posix/regcomp.c (parse_branch): One more memory leak plugged.
76205         * posix/bug-regex31.input: Add test case.
76207 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
76209         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
76210         * posix/bug-regex31.input: New file.
76212         [BZ #12078]
76213         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
76214         (parse_sub_exp): Fix last change, use postorder.
76216         * posix/bug-regex31.c: New file.
76217         * posix/Makefile: Add rules to build and run bug-regex31.
76219         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
76221         [BZ #12078]
76222         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
76224         [BZ #12108]
76225         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
76226         to have entries in sys_siglist.
76228         [BZ #12093]
76229         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
76230         be NULL.
76232 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
76234         [BZ #3268]
76235         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
76236         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
76237         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
76238         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
76239         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
76240         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
76241         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
76242         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
76243         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
76244         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
76245         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
76246         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
76247         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
76248         * math/ftestexcept.c (fetestexcept): Likewise.
76249         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
76250         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
76251         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
76252         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
76253         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
76254         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
76255         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
76257 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
76259         [BZ #12107]
76260         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
76261         newline.
76263 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
76265         * string/bug-strstr1.c: New file.
76266         * string/Makefile: Add rules to build and run bug-strstr1.
76268 2010-10-05  Eric Blake  <eblake@redhat.com>
76270         [BZ #12092]
76271         * string/str-two-way.h (two_way_long_needle): Always clear memory
76272         when skipping input due to the shift table.
76274 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
76276         [BZ #12005]
76277         * malloc/mcheck.c: Handle large requests.
76279         [BZ #12077]
76280         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
76281         for strncmp and strncasecmp.
76282         * string/stratcliff.c: Add tests for strcmp and strncmp.
76283         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
76285 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
76287         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
76288         __set_fpscr.
76290 2010-09-30  Andreas Jaeger  <aj@suse.de>
76292         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
76293         (CGROUP_SUPER_MAGIC): Define.
76294         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
76295         Handle btrfs and cgroup file systems.
76296         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
76297         Likewise.
76299 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
76301         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
76302         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
76304 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
76306         [BZ #12067]
76307         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
76308         trying to locate the ELF header.
76310 2010-09-27  Andreas Schwab  <schwab@redhat.com>
76312         [BZ #11611]
76313         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
76314         Mask out sign-bit copies when constructing f_fsid.
76316 2010-09-24  Petr Baudis <pasky@suse.cz>
76318         * debug/stack_chk_fail_local.c: Add missing licence exception.
76319         * debug/warning-nop.c: Likewise.
76321 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
76323         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
76324         implementing getdents64 using getdents syscall, set d_type if
76325         __ASSUME_GETDENTS32_D_TYPE.
76327 2010-09-16  Andreas Schwab  <schwab@redhat.com>
76329         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
76330         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
76332 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
76334         [BZ #12037]
76335         * posix/unistd.h: Undo change of feature selection for ftruncate from
76336         2010-01-11.
76338 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
76340         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
76341         detection.
76343 2010-09-20  Andreas Schwab  <schwab@redhat.com>
76345         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
76346         fanotify_mark.
76347         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
76349 2010-09-14  Andreas Schwab  <schwab@redhat.com>
76351         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
76352         variables after CHECK_SP call.
76353         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
76355 2010-09-13  Andreas Schwab  <schwab@redhat.com>
76356             Ulrich Drepper  <drepper@redhat.com>
76358         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
76359         re-relocationg ld.so.
76360         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
76361         _dl_init_paths call.
76362         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
76363         here anymore.
76365 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
76367         * resolv/res_init.c (__res_vinit): Count the default server we added.
76369 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
76370             Ulrich Drepper  <drepper@redhat.com>
76372         [BZ #11968]
76373         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
76374         (____longjmp_chk): Use %ebx for saving value across system call.
76375         Add unwind info.
76377 2010-09-06  Andreas Schwab  <schwab@redhat.com>
76379         * manual/Makefile: Don't mix pattern rules with normal rules.
76381 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
76383         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
76384         operation.
76385         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
76386         * libio/iofopncook.c (_IO_cookie_init): Likewise.
76387         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
76388         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
76389         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
76390         Likewise.
76392 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
76394         [BZ #11979]
76395         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
76396         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
76398 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
76400         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
76401         * sysdeps/x86_64/addmul_1.S: Likewise.
76402         * sysdeps/x86_64/lshift.S: Likewise.
76403         * sysdeps/x86_64/mul_1.S: Likewise.
76404         * sysdeps/x86_64/rshift.S: Likewise.
76405         * sysdeps/x86_64/sub_n.S: Likewise.
76406         * sysdeps/x86_64/submul_1.S: Likewise.
76408 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
76410         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
76411         Define __sched_param instead of SCHED_* and sched_param when
76412         <bits/sched.h> is included with __need_schedparam defined.
76413         * bits/sched.h [__need_schedparam]
76414         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
76415         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
76416         (__defined_schedparam): Define to 1.
76417         (__sched_param): New structure, identical to sched_param.
76418         (__need_schedparam): Undefine.
76420 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
76422         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
76423         (epoll_create1): Declare.
76425         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
76427 2010-08-31  Andreas Schwab  <schwab@redhat.com>
76429         [BZ #7066]
76430         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
76431         shifting retval into place.
76433 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
76435         * nis/rpcsvc/nis.h: Update copyright notice.
76436         * nis/rpcsvc/nis.x: Likewise.
76437         * nis/rpcsvc/nis_callback.h: Likewise.
76438         * nis/rpcsvc/nis_callback.x: Likewise.
76439         * nis/rpcsvc/nis_object.x: Likewise.
76440         * nis/rpcsvc/nis_tags.h: Likewise.
76441         * nis/rpcsvc/yp.h: Likewise.
76442         * nis/rpcsvc/yp.x: Likewise.
76443         * nis/rpcsvc/ypupd.h: Likewise.
76444         * nis/yp_xdr.c: Likewise.
76445         * nis/ypupdate_xdr.c: Likewise.
76447         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
76448         mainly the body of pmap_getport.  Add parameters to specify timeouts.
76449         (pmap_getport): Use __libc_rpc_getport.
76450         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
76451         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
76452         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
76454 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
76456         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
76457         fanotify_mark.
76459 2010-08-27  Roland McGrath  <roland@redhat.com>
76461         * sysdeps/i386/i686/multiarch/Makefile
76462         (CFLAGS-varshift.c): New variable.
76464 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
76466         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
76467         * sysdeps/i386/i686/multiarch/varshift.c: New file.
76469         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
76471         * sysdeps/x86_64/strlen.S: Minimal code improvement.
76473 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
76475         * sysdeps/x86_64/strlen.S: Unroll the loop.
76476         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
76477         strlen-sse2 strlen-sse2-bsf.
76478         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
76479         __strlen_no_bsf if bit_Slow_BSF is set.
76480         (__strlen_sse42): Removed.
76481         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
76482         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
76484 2010-08-25  Roland McGrath  <roland@redhat.com>
76486         * sysdeps/x86_64/multiarch/varshift.S: File removed.
76487         * sysdeps/x86_64/multiarch/varshift.c: New file.
76488         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
76489         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
76490         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
76491         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
76493 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
76495         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
76496         strlen-sse2 strlen-sse2-bsf.
76497         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
76498         __strlen_sse2_bsf if bit_Slow_BSF is unset.
76499         (__strlen_sse2): Removed.
76500         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
76501         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
76502         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
76503         bit_Slow_BSF for Atom.
76504         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
76505         (index_Slow_BSF): Define.
76506         (HAS_SLOW_BSF): Define.
76508 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
76510         [BZ #10851]
76511         * resolv/res_init.c (__res_vinit): When no server address at all
76512         is given default to loopback.
76514 2010-08-24  Roland McGrath  <roland@redhat.com>
76516         * configure.in: Remove config-name.h generation.
76517         * configure: Regenerated.
76518         * config-name.in: File removed.
76519         * scripts/config-uname.sh: New file.
76520         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
76521         ($(objdir)config-name.h): New target.
76523         * sunrpc/rpc_parse.h: Avoid nested comment.
76525 2010-08-24  Richard Henderson  <rth@redhat.com>
76526             Ulrich Drepper  <drepper@redhat.com>
76527             H.J. Lu  <hongjiu.lu@intel.com>
76529         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
76530         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
76531         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
76532         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
76533         _mm_alignr_epi8 with _mm_loadu_si128.
76534         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
76535         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
76536         (__m128i_shift_right): Removed.
76537         * sysdeps/i386/i686/multiarch/varshift.h: New file.
76538         * sysdeps/i386/i686/multiarch/varshift.S: New file.
76539         * sysdeps/x86_64/multiarch/varshift.h: New file.
76540         * sysdeps/x86_64/multiarch/varshift.S: New file.
76542 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
76544         * configure.in: Move assembler checks to before sysdep dir checking.
76546 2010-08-20  Petr Baudis  <pasky@suse.cz>
76548         * LICENSES: Sync the sunrpc license.
76550 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
76552         * sunrpc/auth_des.c: Update copyright notice once again.
76553         * sunrpc/auth_none.c: Likewise.
76554         * sunrpc/auth_unix.c: Likewise.
76555         * sunrpc/authdes_prot.c: Likewise.
76556         * sunrpc/authuxprot.c: Likewise.
76557         * sunrpc/bindrsvprt.c: Likewise.
76558         * sunrpc/clnt_gen.c: Likewise.
76559         * sunrpc/clnt_perr.c: Likewise.
76560         * sunrpc/clnt_raw.c: Likewise.
76561         * sunrpc/clnt_simp.c: Likewise.
76562         * sunrpc/clnt_tcp.c: Likewise.
76563         * sunrpc/clnt_udp.c: Likewise.
76564         * sunrpc/clnt_unix.c: Likewise.
76565         * sunrpc/des_crypt.c: Likewise.
76566         * sunrpc/des_soft.c: Likewise.
76567         * sunrpc/get_myaddr.c: Likewise.
76568         * sunrpc/getrpcport.c: Likewise.
76569         * sunrpc/key_call.c: Likewise.
76570         * sunrpc/key_prot.c: Likewise.
76571         * sunrpc/openchild.c: Likewise.
76572         * sunrpc/pm_getmaps.c: Likewise.
76573         * sunrpc/pm_getport.c: Likewise.
76574         * sunrpc/pmap_clnt.c: Likewise.
76575         * sunrpc/pmap_prot.c: Likewise.
76576         * sunrpc/pmap_prot2.c: Likewise.
76577         * sunrpc/pmap_rmt.c: Likewise.
76578         * sunrpc/rpc/auth.h: Likewise.
76579         * sunrpc/rpc/auth_unix.h: Likewise.
76580         * sunrpc/rpc/clnt.h: Likewise.
76581         * sunrpc/rpc/des_crypt.h: Likewise.
76582         * sunrpc/rpc/key_prot.h: Likewise.
76583         * sunrpc/rpc/netdb.h: Likewise.
76584         * sunrpc/rpc/pmap_clnt.h: Likewise.
76585         * sunrpc/rpc/pmap_prot.h: Likewise.
76586         * sunrpc/rpc/pmap_rmt.h: Likewise.
76587         * sunrpc/rpc/rpc.h: Likewise.
76588         * sunrpc/rpc/rpc_des.h: Likewise.
76589         * sunrpc/rpc/rpc_msg.h: Likewise.
76590         * sunrpc/rpc/svc.h: Likewise.
76591         * sunrpc/rpc/svc_auth.h: Likewise.
76592         * sunrpc/rpc/types.h: Likewise.
76593         * sunrpc/rpc/xdr.h: Likewise.
76594         * sunrpc/rpc_clntout.c: Likewise.
76595         * sunrpc/rpc_cmsg.c: Likewise.
76596         * sunrpc/rpc_common.c: Likewise.
76597         * sunrpc/rpc_cout.c: Likewise.
76598         * sunrpc/rpc_dtable.c: Likewise.
76599         * sunrpc/rpc_hout.c: Likewise.
76600         * sunrpc/rpc_main.c: Likewise.
76601         * sunrpc/rpc_parse.c: Likewise.
76602         * sunrpc/rpc_parse.h: Likewise.
76603         * sunrpc/rpc_prot.c: Likewise.
76604         * sunrpc/rpc_sample.c: Likewise.
76605         * sunrpc/rpc_scan.c: Likewise.
76606         * sunrpc/rpc_scan.h: Likewise.
76607         * sunrpc/rpc_svcout.c: Likewise.
76608         * sunrpc/rpc_tblout.c: Likewise.
76609         * sunrpc/rpc_util.c: Likewise.
76610         * sunrpc/rpc_util.h: Likewise.
76611         * sunrpc/rpcinfo.c: Likewise.
76612         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
76613         * sunrpc/rpcsvc/key_prot.x: Likewise.
76614         * sunrpc/rpcsvc/klm_prot.x: Likewise.
76615         * sunrpc/rpcsvc/mount.x: Likewise.
76616         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
76617         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
76618         * sunrpc/rpcsvc/rex.x: Likewise.
76619         * sunrpc/rpcsvc/rstat.x: Likewise.
76620         * sunrpc/rpcsvc/rusers.x: Likewise.
76621         * sunrpc/rpcsvc/sm_inter.x: Likewise.
76622         * sunrpc/rpcsvc/spray.x: Likewise.
76623         * sunrpc/rpcsvc/yppasswd.x: Likewise.
76624         * sunrpc/rtime.c: Likewise.
76625         * sunrpc/svc.c: Likewise.
76626         * sunrpc/svc_auth.c: Likewise.
76627         * sunrpc/svc_authux.c: Likewise.
76628         * sunrpc/svc_raw.c: Likewise.
76629         * sunrpc/svc_run.c: Likewise.
76630         * sunrpc/svc_simple.c: Likewise.
76631         * sunrpc/svc_tcp.c: Likewise.
76632         * sunrpc/svc_udp.c: Likewise.
76633         * sunrpc/svc_unix.c: Likewise.
76634         * sunrpc/svcauth_des.c: Likewise.
76635         * sunrpc/xcrypt.c: Likewise.
76636         * sunrpc/xdr.c: Likewise.
76637         * sunrpc/xdr_array.c: Likewise.
76638         * sunrpc/xdr_float.c: Likewise.
76639         * sunrpc/xdr_mem.c: Likewise.
76640         * sunrpc/xdr_rec.c: Likewise.
76641         * sunrpc/xdr_ref.c: Likewise.
76642         * sunrpc/xdr_sizeof.c: Likewise.
76643         * sunrpc/xdr_stdio.c: Likewise.
76645         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
76646         handling.
76648 2010-08-19  Andreas Schwab  <schwab@redhat.com>
76650         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
76652 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
76654         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
76655         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
76656         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
76657         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
76658         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
76659         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
76660         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
76661         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
76662         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
76663         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
76664         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
76665         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
76666         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
76667         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
76669 2010-07-26  Anton Blanchard  <anton@samba.org>
76671         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
76672         * malloc/arena.c (heap_trim): Likewise.
76674 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
76676         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
76677         here.  Not...
76678         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
76679         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
76681 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
76683         * sysdeps/i386/elf/Makefile: New file.
76685 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
76687         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
76688         from fanotify_init.
76689         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
76690         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
76692 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
76694         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
76695         of strncasecmp_l.
76696         * sysdeps/multiarch/strcmp.S: Likewise.
76698 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
76700         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
76701         strncase_l-nonascii.
76702         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
76703         Add strncase_l-ssse3.
76704         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
76705         * sysdeps/x86_64/strcmp.S: Likewise.
76706         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
76707         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
76708         * sysdeps/x86_64/strncase.S: New file.
76709         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
76710         * sysdeps/x86_64/strncase_l.S: New file.
76711         * string/Makefile (strop-tests): Add strncasecmp.
76712         * string/test-strncasecmp.c: New file.
76714         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
76715         warning.
76717         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
76718         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
76720 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
76722         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
76724 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
76726         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
76727         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
76728         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
76730 2010-05-01  Alan Modra  <amodra@gmail.com>
76732         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
76733         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
76734         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
76735         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
76736         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
76737         tidying.  Don't tail-call __sigjmp_save for static lib.
76738         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
76739         save location.
76740         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
76741         (CALL_MCOUNT): Add eh info, and nop after bl.
76742         (TAIL_CALL_SYSCALL_ERROR): New macro.
76743         (PSEUDO_RET): Use it.
76744         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
76745         Correct save location of integer regs and cr.
76746         (_dl_profile_resolve): Correct cr save location.  Delete nops
76747         after bl when SHARED.  Reduce cfi size a little by better
76748         placement of cfi directives.
76749         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
76750         make a stack frame.  Instead use parm save area as a temp.
76751         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
76752         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
76753         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
76754         Don't make a stack frame for parent, use parm save area.
76755         Increase child stack frame to 112 bytes.  Don't save unused reg,
76756         and adjust reg usage.  Set up cfi on error recovery and
76757         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
76758         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
76759         (__makecontext): Add dummy nop after jump to exit.
76760         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
76761         Use correct parm save area and cr save, reduce stack frame.
76762         Correct cfi for possible PSEUDO_RET frame setup.
76763         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
76764         Branch to local label emitted by PSEUDO_RET rather than
76765         __syscall_error.
76767 2010-08-12  Andreas Schwab  <schwab@redhat.com>
76769         [BZ #11904]
76770         * locale/programs/locale.c (print_assignment): New function.
76771         (show_locale_vars): Use it.
76773 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
76775         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
76776         field.
76777         (struct statfs64): Likewise.
76778         (_STATFS_F_FLAGS): Define.
76779         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
76780         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
76781         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
76782         (ST_VALID): Define locally.
76783         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
76784         __statvfs_getflags, use the provided value.
76785         * sysdeps/unix/sysv/linux/kernel-features.h: Define
76786         __ASSUME_STATFS_F_FLAGS.
76788         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
76790         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
76791         Add sys/fanotify.h.
76792         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
76793         fanotify_mask for GLIBC_2.13.
76794         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
76795         fanotify_init and fanotify_mark.
76796         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
76797         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
76799         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
76800         Add prlimit.
76801         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
76802         prlimit64 for GLIBC_2.13.
76803         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
76804         prlimit64.
76805         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
76806         syscall.
76807         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
76808         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
76809         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
76810         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
76811         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
76812         add prlimit alias.
76813         * sysdeps/unix/sysv/linux/prlimit.c: New file.
76815         [BZ #11903]
76816         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
76817         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
76819         * nss/Makefile: Add rules to build and run tst-nss-test1.
76820         * shlib-versions: Add entry for libnss_test1.
76821         * nss/nss_test1.c: New file.
76822         * nss/tst-nss-test1.c: New file.
76824         * nss/nsswitch.c (__nss_database_custom): Define new variable.
76825         (__nss_configure_lookup): Set appropriate entry in
76826         __nss_configure_lookup to true.
76827         * nss/nsswitch.h: Define enum with indeces of databases in
76828         databases and __nss_database_custom arrays.  Declare
76829         __nss_database_custom.
76830         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
76831         to avoid using nscd when custom rules are installed.
76832         * nss/getXXbyYY_r.c: Likewise.
76833         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
76835         * nss/nss_files/files-parse.c: Whitespace fixes.
76837 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
76839         [BZ #11883]
76840         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
76841         * posix/fnmatch_loop.c: Likewise.
76843 2010-07-17  Andi Kleen  <ak@linux.intel.com>
76845         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
76846         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
76847         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
76848         * Versions.def [GLIBC_2.13]: Add.
76850 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
76852         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
76853         Also fail if tpwd after pwuid call is NULL.
76855 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
76857         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
76858         when converting to ms.
76860 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
76862         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
76863         EOPNOTSUPP errors with ENOTTY.
76864         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
76865         EOPNOTSUPP errors with ENOTTY.
76867 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
76869         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
76870         Add strcasecmp_l-ssse3.
76871         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
76872         strcasecmp.
76873         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
76874         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
76875         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
76877 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
76879         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
76881         * string/Makefile (strop-tests): Add strcasecmp.
76882         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
76883         strcasecmp_l-nonascii.
76884         (gen-as-const-headers): Add locale-defines.sym.
76885         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
76886         * sysdeps/x86_64/strcasecmp.S: New file.
76887         * sysdeps/x86_64/strcasecmp_l.S: New file.
76888         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
76889         * sysdeps/x86_64/locale-defines.sym: New file.
76890         * string/test-strcasecmp.c: New file.
76892         * string/test-strcasestr.c: Test both ends of the range of characters.
76893         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
76895 2010-07-29  Roland McGrath  <roland@redhat.com>
76897         [BZ #11856]
76898         * manual/locale.texi (Yes-or-No Questions): Fix example code.
76900 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
76902         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
76903         for ld.so.
76905 2010-07-27  Andreas Schwab  <schwab@redhat.com>
76907         * manual/memory.texi (Malloc Tunable Parameters): Document
76908         M_PERTURB.
76910 2010-07-26  Roland McGrath  <roland@redhat.com>
76912         [BZ #11840]
76913         * configure.in (-fgnu89-inline check): Set and substitute
76914         gnu89_inline, not libc_cv_gnu89_inline.
76915         * configure: Regenerated.
76916         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
76918 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
76920         * string/test-strnlen.c: New file.
76921         * string/Makefile (strop-tests): Add strnlen.
76922         * string/tester.c (test_strnlen): Add a few more test cases.
76923         * string/tst-strlen.c: Better error reporting.
76925         * sysdeps/x86_64/strnlen.S: New file.
76927 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
76929         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
76930         lower-latency instructions.
76932 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
76934         * string/test-strcasestr.c: New file.
76935         * string/test-strstr.c: New file.
76936         * string/Makefile (strop-tests): Add strstr and strcasestr.
76937         * string/str-two-way.h: Don't undefine MAX.
76938         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
76940 2010-07-21  Andreas Schwab  <schwab@redhat.com>
76942         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
76943         strcasestr-nonascii.
76944         (CFLAGS-strcasestr-nonascii.c): Define.
76945         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
76946         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
76947         Remove unused attribute.
76949 2010-07-20  Roland McGrath  <roland@redhat.com>
76951         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
76952         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
76953         ld.so.cache was broken.  With it, there is no way to disable dsocaps
76954         like LD_HWCAP_MASK can disable hwcaps.
76956 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
76958         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
76960 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
76962         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
76963         call in strcasestr.
76964         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
76965         __strcasestr_sse42_nonascii.
76966         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
76967         strcasestr-nonascii.c.
76968         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
76970 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
76972         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
76973         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
76974         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
76975         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
76977 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
76979         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
76980         fcntl.
76982 2010-07-06  Andreas Schwab  <schwab@redhat.com>
76984         [BZ #11577]
76985         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
76986         dl_signal_cerror.
76988 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
76990         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
76991         _PC_PIPE_BUF using F_GETPIPE_SZ.
76993 2010-07-05  Roland McGrath  <roland@redhat.com>
76995         * manual/arith.texi (Rounding Functions): Fix rint description
76996         implicit in round description.
76998 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
77000         * elf/Makefile: Fix linking for a few tests to make recent linker
77001         happy.
77003 2010-06-30  Andreas Schwab  <schwab@redhat.com>
77005         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
77006         $(common-objpfx)libc_nonshared.a.
77008 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
77010         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
77011         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
77012         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
77013         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
77014         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
77015         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
77016         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
77017         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
77018         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
77019         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
77020         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
77021         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
77022         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
77023         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
77024         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
77025         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
77026         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
77027         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
77028         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
77029         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
77030         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
77031         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
77032         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
77033         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
77034         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
77035         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
77036         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
77037         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
77038         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
77039         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
77040         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
77041         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
77042         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
77043         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
77044         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
77045         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
77046         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
77047         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
77048         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
77049         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
77050         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
77051         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
77052         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
77053         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
77054         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
77055         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
77056         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
77057         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
77059 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
77061         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
77062         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
77063         * string/memmove.c (memmove): Renamed to ...
77064         (MEMMOVE): ...this.  Default to memmove.
77065         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
77066         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
77067         (END_CHK): Define.
77068         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
77069         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
77070         mempcpy-ssse3-back memmove-ssse3-back.
77071         * sysdeps/x86_64/multiarch/bcopy.S: New file .
77072         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
77073         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
77074         * sysdeps/x86_64/multiarch/memcpy.S: New file.
77075         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
77076         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
77077         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
77078         * sysdeps/x86_64/multiarch/memmove.c: New file.
77079         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
77080         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
77081         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
77082         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
77083         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
77084         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
77085         Define.
77086         (index_Fast_Copy_Backward): Define.
77087         (HAS_ARCH_FEATURE): Define.
77088         (HAS_FAST_REP_STRING): Define.
77089         (HAS_FAST_COPY_BACKWARD): Define.
77091 2010-06-21  Andreas Schwab  <schwab@redhat.com>
77093         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
77094         Restore proper fallback handling.
77096 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
77098         [BZ #11701]
77099         * posix/group_member.c (__group_member): Correct checking loop.
77101         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
77102         OOM in getpwuid_r correctly.  Return error number when the caller
77103         should return, otherwise -1.
77104         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
77105         call returning > 0 value.
77106         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
77108 2010-06-07  Andreas Schwab  <schwab@redhat.com>
77110         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
77111         libc_nonshared.a from targets in modules-names.
77113 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
77115         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
77116         requires it.
77118 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
77120         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
77121         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
77122         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
77123         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
77125 2010-06-02  Andreas Schwab  <schwab@redhat.com>
77127         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
77129 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
77131         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
77132         and F_GETPIPE_SZ.
77133         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
77134         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
77135         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
77136         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
77137         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
77138         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
77140 2010-06-14  Roland McGrath  <roland@redhat.com>
77142         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
77144 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
77146         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
77147         __REDIRECT followed by __THROW.
77148         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
77149         * posix/getopt.h (getopt): Likewise.
77151 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
77153         * hurd/lookup-at.c (__file_name_lookup_at): Accept
77154         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
77155         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
77156         in AT_FLAGS.
77157         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
77158         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
77160 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
77162         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
77164 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
77166         [BZ #11640]
77167         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
77168         Properly check family and model.
77170 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
77172         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
77174 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
77176         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
77178 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
77180         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
77181         symbol reference.
77183 2010-05-19  Andreas Schwab  <schwab@redhat.com>
77185         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
77186         symbol reference.
77188 2010-05-21  Andreas Schwab  <schwab@redhat.com>
77190         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
77191         and internal_recvmmsg.
77192         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
77193         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
77194         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
77195         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
77197         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
77198         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
77199         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
77201 2010-05-20  Andreas Schwab  <schwab@redhat.com>
77203         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
77205 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
77207         POWER7 optimizations.
77208         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
77209         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
77211 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
77213         * version.h: Update for 2.13 development version.
77215 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
77217         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
77218         exceptions.  Return 0.
77220 2010-05-07  Roland McGrath  <roland@redhat.com>
77222         * elf/ldconfig.c (main): Add a const.
77224 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
77226         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
77227         (args_options): Add no-idn option.
77228         (ahosts_keys_int): Add idn_flags to ai_flags.
77229         (parse_option): Handle 'i' option to clear idn_flags.
77231         * malloc/malloc.c (_int_free): Possible race in the most recently
77232         added check.  Only act on the data if no current modification
77233         happened.
77235 See ChangeLog.17 for earlier changes.